Frame 1
_global.goToUrl = function (url) {
var _local2 = false;
if (ExternalInterface.available == true) {
try {
ExternalInterface.call("window.open", url, "win", "");
_local2 = true;
} catch(error:Error) {
}
}
if (_local2 != true) {
_root.getURL(url, "_blank");
}
};
_global.sponsorURL = "http://www.turbogames.com";
_global.sponsorTipsURL = "http://www.turbogames.com";
Stage.scaleMode = "noScale";
_global.setVolume(0);
stop();
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("1192d7f2", this, 10301, true);
Frame 3
_global.saveInfo = SharedObject.getLocal("drunkenMasters");
if (_global.saveInfo.data.misc != undefined) {
_global.savedGamePresent = true;
}
_global.loadGame = function () {
trace("data Loaded");
_global.locked = _global.saveInfo.data.locked;
_global.gameStats = _global.saveInfo.data.gameStats;
_global.gameRecord = _global.saveInfo.data.gameRecord;
_global.configuration = _global.saveInfo.data.configuration;
_global.bonusRounds = _global.saveInfo.data.bonusRounds;
_global.newShitFlags = _global.saveInfo.data.newShitFlags;
_global.playerStats = _global.saveInfo.data.playerStats;
_global.specials = _global.saveInfo.data.specials;
_global.inventory = _global.saveInfo.data.inventory;
_global.roundData = _global.saveInfo.data.roundData;
_global.characters = _global.saveInfo.data.characters;
_global.flairUpgrades = _global.saveInfo.data.flairUpgrades;
_global.checklistItem00 = _global.saveInfo.data.checklistItem00;
_global.checklistItem01 = _global.saveInfo.data.checklistItem01;
_global.checklistItem02 = _global.saveInfo.data.checklistItem02;
_global.checklistItem03 = _global.saveInfo.data.checklistItem03;
_global.checklistItem04 = _global.saveInfo.data.checklistItem04;
_global.checklistItem05 = _global.saveInfo.data.checklistItem05;
_global.checklistItem06 = _global.saveInfo.data.checklistItem06;
_global.checklistItem10 = _global.saveInfo.data.checklistItem10;
_global.checklistItem11 = _global.saveInfo.data.checklistItem11;
_global.checklistItem12 = _global.saveInfo.data.checklistItem12;
_global.checklistItem13 = _global.saveInfo.data.checklistItem13;
_global.checklistItem14 = _global.saveInfo.data.checklistItem14;
_global.checklistItem15 = _global.saveInfo.data.checklistItem15;
_global.checklistItem16 = _global.saveInfo.data.checklistItem16;
_global.checklistItem20 = _global.saveInfo.data.checklistItem20;
_global.checklistItem21 = _global.saveInfo.data.checklistItem21;
_global.checklistItem22 = _global.saveInfo.data.checklistItem22;
_global.checklistItem23 = _global.saveInfo.data.checklistItem23;
_global.checklistItem24 = _global.saveInfo.data.checklistItem24;
_global.checklistItem30 = _global.saveInfo.data.checklistItem30;
_global.checklistItem31 = _global.saveInfo.data.checklistItem31;
_global.checklistItem32 = _global.saveInfo.data.checklistItem32;
_global.checklistItem33 = _global.saveInfo.data.checklistItem33;
_global.checklistItem34 = _global.saveInfo.data.checklistItem34;
_global.checklistItem40 = _global.saveInfo.data.checklistItem40;
_global.checklistItem41 = _global.saveInfo.data.checklistItem41;
_global.checklistItem42 = _global.saveInfo.data.checklistItem42;
_global.checklistItem43 = _global.saveInfo.data.checklistItem43;
_global.checklistItem44 = _global.saveInfo.data.checklistItem44;
_global.checklistItem50 = _global.saveInfo.data.checklistItem50;
_global.checklistItem51 = _global.saveInfo.data.checklistItem51;
_global.checklistItem52 = _global.saveInfo.data.checklistItem52;
_global.checklistItem53 = _global.saveInfo.data.checklistItem53;
_global.checklistItem54 = _global.saveInfo.data.checklistItem54;
_global.checklistItem60 = _global.saveInfo.data.checklistItem60;
_global.checklistItem61 = _global.saveInfo.data.checklistItem61;
_global.checklistItem62 = _global.saveInfo.data.checklistItem62;
_global.checklistItem63 = _global.saveInfo.data.checklistItem63;
_global.checklistItem64 = _global.saveInfo.data.checklistItem64;
_global.checklistItem70 = _global.saveInfo.data.checklistItem70;
_global.checklistItem71 = _global.saveInfo.data.checklistItem71;
_global.checklistItem72 = _global.saveInfo.data.checklistItem72;
_global.checklistItem73 = _global.saveInfo.data.checklistItem73;
_global.checklistItem74 = _global.saveInfo.data.checklistItem74;
_global.checklistItem80 = _global.saveInfo.data.checklistItem80;
_global.checklistItem81 = _global.saveInfo.data.checklistItem81;
_global.checklistItem82 = _global.saveInfo.data.checklistItem82;
_global.checklistItem83 = _global.saveInfo.data.checklistItem83;
_global.checklistItem84 = _global.saveInfo.data.checklistItem84;
_global.checklistItem90 = _global.saveInfo.data.checklistItem90;
_global.checklistItem91 = _global.saveInfo.data.checklistItem91;
_global.checklistItem92 = _global.saveInfo.data.checklistItem92;
_global.checklistItem93 = _global.saveInfo.data.checklistItem93;
_global.checklistItem94 = _global.saveInfo.data.checklistItem94;
_global.checklistItem100 = _global.saveInfo.data.checklistItem100;
_global.checklistItem101 = _global.saveInfo.data.checklistItem101;
_global.checklistItem102 = _global.saveInfo.data.checklistItem102;
_global.checklistItem103 = _global.saveInfo.data.checklistItem103;
_global.checklistItem104 = _global.saveInfo.data.checklistItem104;
_global.chalObjs = _global.saveInfo.data.chalObjs;
_global.startFromSaved = true;
};
_global.setVolume(100);
_global.musicTrack.playEurope();
this.preloader.backSplitter_mc.gotoAndPlay(2);
this.backgroundLayer.gotoAndStop(2);
stop();
Frame 4
stop();
_global.gameStartSelected = function () {
if (_global.savedGamePresent == true) {
_global.charSelectScreen.attachMovie("alertWindow", "alertWindow_mc", _global.charSelectScreen.getNextHighestDepth());
} else {
_root.play();
}
};
Frame 5
_global.demoMode.defaultValues = function () {
_global.demoMode.counterEnabled = true;
_global.demoMode.arenaMode = false;
};
_global.defaultConfiguration = function () {
_global.configuration = new Object();
_global.configuration.perf = new Object({aqs:true, bottleShine:true, tracers:false, sparkles:true, liquid:true, brokenGlassParticlesLimit:40, maxIndicators:2, animatedTransitions:true, qualityHardSet:undefined});
_global.configuration.sound = new Object({});
_global.configuration.ctrl = new Object({mouseGest:false});
_global.configuration.misc = new Object({});
};
_global.messageDisplay = function (messageType, pauseQue) {
switch (messageType) {
case "deluxe" :
_root.attachMovie("messageDisplayWindow", "msd", _root.getNextHighestDepth(), {_x:183.3, _y:15.9, messageID:messageType});
break;
case "ArenaMode" :
_root.attachMovie("messageDisplayWindow", "msd", _root.getNextHighestDepth(), {_x:183.3, _y:15.9, messageID:messageType});
}
};
_global.configDisplay = function () {
pausedBool = _global.gamePaused;
_global.gamePaused = true;
_root.attachMovie("windowConfiguration", "configWindow", _root.getNextHighestDepth(), {_x:10, _y:10, wasPaused:pausedBool});
};
_global.updateArenaStandings = function (winLoss) {
if (winLoss == true) {
_global.newShitFlags.train = true;
_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].specialUnlocked = true;
_global.gameStats.battleLadderProgress++;
_global.gameStats.arenaWins++;
if (_global.gameStats.battleLadderProgress == 1) {
_global.completeChecklistItem(3, 2, true);
}
if (_global.gameStats.battleLadderProgress == 4) {
_global.completeChecklistItem(5, 1, true);
}
if (_global.gameStats.battleLadderProgress == 8) {
_global.gameStats.totalCash = _global.gameStats.totalCash + 5000;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + 5000;
_global.completeChecklistItem(9, 0, true);
}
_global.transitionFrom("arenaFinish");
} else {
_global.gameStats.arenaLosses++;
_global.transitionFrom("arenaFinish");
}
};
_global.initializeBattleLadderNow = function () {
for (xi in _global.characters) {
if (_global.characters[xi].shortName != _global.gameStats.playerCharacter) {
_global.gameStats.battleLadder_arr.push({shortName:_global.characters[xi].shortName, sigName:_global.characters[xi].sigName, sigID:_global.characters[xi].sigID, specialUnlocked:false});
} else {
tempSigID = _global.characters[xi].sigID;
tempSigName = _global.characters[xi].sigName;
}
}
_global.gameStats.battleLadder_arr.push({shortName:_global.gameStats.playerCharacter, specialUnlocked:true, sigID:tempSigID, sigName:tempSigName});
_global.gameStats.battleLadderProgress = 0;
_global.gameStats.arenaWins = 0;
_global.gameStats.arenaLosses = 0;
_global.arenaModeScoreToBeat = 0;
_global.arenaModeDeviation = 0;
for (xii in _global.gameStats.battleLadder_arr) {
baseNum = Number(xii) + 1;
this.arenaModeScoreToBeat = baseNum * 1000;
this.arenaModeDeviation = baseNum * 100;
_global.gameStats.battleLadder_arr[xii].averageScore = _global.arenaModeScoreToBeat;
_global.gameStats.battleLadder_arr[xii].scoreDeviation = _global.arenaModeDeviation;
}
_global.gameStats.sigMoveArray = new Array(_global.gameStats.battleLadder_arr[9].shortName, _global.gameStats.battleLadder_arr[0].shortName, _global.gameStats.battleLadder_arr[1].shortName, _global.gameStats.battleLadder_arr[2].shortName, _global.gameStats.battleLadder_arr[3].shortName, _global.gameStats.battleLadder_arr[4].shortName, _global.gameStats.battleLadder_arr[5].shortName, _global.gameStats.battleLadder_arr[6].shortName, _global.gameStats.battleLadder_arr[7].shortName, _global.gameStats.battleLadder_arr[8].shortName);
};
_global.resetRoundVariables = function () {
_global.gamePaused = false;
_global.brokenGlassParticles = new Number(0);
_global.bottlesInPlay = new Number(0);
_global.realBottlesUp = new Number(0);
_global.glassId = new Number(0);
_global.combo.countDown = false;
_global.combo.comboReady = true;
_global.combo.bottlesUp = new Number(0);
_global.combo.finished = true;
_global.gameStats.terminalVelocity = _global.gameStats.terminalVelocity_arr[_global.gameStats.performanceRating];
_global.bottleValues.heldBottle = undefined;
_global.bottleValues.terminalVelocity = _global.gameStats.terminalVelocity;
_global.bottleValues.minimumYVelocity = new Number(-50);
_global.bottleValues.fixedGravity = new Number(1);
_global.bottleValues.gravity = _global.bottleValues.fixedGravity;
_global.playerStats.dexterity = _global.gameStats.dex;
_global.playerStats.strengthStat = _global.gameStats.str;
_global.playerStats.charisma = _global.gameStats.char;
_global.playerStats.specialStat = _global.gameStats.spec;
_global.specials.specialsActive = false;
_global.specials.yumiSpecial = false;
_global.specials.charonSpecial = false;
_global.specials.aprilSpecial = false;
_global.specials.dannySpecial = false;
_global.specials.natashaSpecial = false;
_global.specials.tipsMultiplier = new Number(1);
_global.specials.pointsToCash = false;
_global.combo.shotScoreBonus = 200 * _global.playerStats.specialStat;
_global.specials.yumiFallLimiter = _global.specials.yumiFloatSpeed[_global.playerStats.specialStat];
_global.limits.comboTime = _global.gameStats.comboTimeLimits[_global.playerStats.specialStat];
_global.playerStats.charismaTimeBonus = 1 + (_global.playerStats.charisma / 4);
_global.bottleValues.maximumYVelocity = _global.playerStats.strengthYVelocityLimits[_global.playerStats.strengthStat];
_global.bottleValues.maximumXVelocity = _global.playerStats.strengthYVelocityLimits[_global.playerStats.strengthStat];
_global.bottleValues.spinMultiplier = _global.playerStats.strengthSpinMultiplier[_global.playerStats.strengthStat];
_global.gameStats.roundScore = new Number(0);
_global.gameStats.roundCash = new Number(0);
};
_global.initializeGameRecord = function () {
if (_global.gameRecord == undefined) {
_global.gameRecord = new Object();
_global.gameRecord.highCombo = new Number(0);
_global.gameRecord.highBalanceTime = new Number(0);
_global.gameRecord.totalBalanceTime = new Number(0);
_global.gameRecord.bottlesBroken = new Number(0);
_global.gameRecord.glassesBroken = new Number(0);
_global.gameRecord.bottleCapsCaught = new Number(0);
_global.gameRecord.mostBottlesJuggled = new Number(0);
_global.gameRecord.balanceTransfers = new Number(0);
_global.gameRecord.mostFlips = new Number(0);
_global.gameRecord.totalFlips = new Number(0);
_global.gameRecord.totalScore = new Number(0);
_global.gameRecord.totalTips = new Number(0);
_global.gameRecord.bestDrink = new Object();
_global.gameRecord.totalHandSpins = new Number(0);
_global.gameRecord.totalGlassesCaught = new Number(0);
_global.gameRecord.mostGlassPopsInOneCombo = new Number(0);
_global.gameRecord.mostTransfersInOneCombo = new Number(0);
_global.gameRecord.totalGlassPops = new Number(0);
_global.gameRecord.mostPopsInARow = new Number(0);
_global.gameRecord.totalIceCubesCaught = new Number(0);
_global.gameRecord.totalSupermans = new Number(0);
_global.gameRecord.totalSupermanTrifectas = new Number(0);
_global.gameRecord.totalCoastToCoasts = new Number(0);
_global.gameRecord.totalFrozenCoasts = new Number(0);
_global.gameRecord.totalFrozenCoastTrifectas = new Number(0);
_global.gameRecord.vipCardsUsed = new Number(0);
_global.gameRecord.perfectDrinks = new Number(0);
_global.gameRecord.goodDrinks = new Number(0);
_global.gameRecord.okayDrinks = new Number(0);
_global.gameRecord.poorDrinks = new Number(0);
_global.gameRecord.badDrinks = new Number(0);
_global.gameRecord.drinksServed = new Number(0);
_global.gameRecord.sigsUsed = new Number(0);
_global.gameRecord.totalBouncedCubesCaught = new Number(0);
}
};
_global.startNewGame = function (savePresent) {
if (savePresent == false) {
_global.newShitFlags = new Object();
_global.bonusRounds = new Object();
_global.gameStats = new Object();
_global.roundData = new Object();
_global.gameStats.firstRunValues = new Object();
_global.characters = new Object();
_global.playerStats = new Object();
_global.gameStats.battleLadder_arr = new Array();
_global.configuration = new Object();
_global.configuration.perf = new Object();
_global.configuration.sound = new Object();
_global.configuration.ctrl = new Object();
_global.configuration.misc = new Object();
_global.specials = new Object();
_global.inventory = new Object();
}
_global.region = new Object();
_global.limits = new Object();
_global.bottleValues = new Object();
_global.glass_arr = new Array();
_global.combo = new Object();
_global.demoMode = new Object();
_global.transitionFlags = new Array();
_global.itemBonuses = new Object();
_global.ownerUpgrades = new Object();
_global.performance = new Object();
_global.specialEffects = new Object();
_global.options = new Object();
if (savePresent == false) {
_global.characters.luc = new Object({shortName:"luc", sigName:"Pick a Card", sigID:"pickACard"});
_global.characters.natasha = new Object({shortName:"natasha", sigName:"Iron Curtain", sigID:"ironCurtain"});
_global.characters.johnny = new Object({shortName:"johnny", sigName:"Righteous", sigID:"righteous"});
_global.characters.judge = new Object({shortName:"judge", sigName:"Peacemaker", sigID:"peacemaker"});
_global.characters.rey = new Object({shortName:"rey", sigName:"Revolucion", sigID:"revolucion"});
_global.characters.charon = new Object({shortName:"charon", sigName:"Priye Vodou", sigID:"priyeVodou"});
_global.characters.stunna = new Object({shortName:"stunna", sigName:"Shaboodalaboopee", sigID:"shaboodalaboopee"});
_global.characters.danny = new Object({shortName:"danny", sigName:"Criminal", sigID:"criminal"});
_global.characters.april = new Object({shortName:"april", sigName:"Heartbreaker", sigID:"heartbreaker"});
_global.characters.yumi = new Object({shortName:"yumi", sigName:"Silent Assassin", sigID:"silentAssassin"});
_global.gameStats.playerCharacter = _global.characterName;
_global.gameStats.firstRunValues.firstVersusMatch = false;
_global.gameStats.firstRunValues.levelUp = false;
_global.initializeBattleLadderNow();
_global.gameStats.comboTimeLimits = new Array(90, 110, 125, 135, 140, 145, 150, 155, 160, 165, 170, 175);
_global.gameStats.pointsToLevel = new Array(20, 35, 100, 135, 220, 265, 305, 350, 400, 550, 600, 660, 715, 770, 835, 900, 970, 1035, 1100, 1175, 1255, 1330, 1410, 1490, 1580, 1670, 1760, 1850, 1940, 2042, 2144, 2246, 2348, 2450, 2552, 2654, 2756, 2858, 2960, 3062, 4000);
_global.playerStats.strengthYVelocityLimits = new Array(15, 20, 25, 27.5, 30, 35, 40, 45, 50, 55, 60, 70);
_global.playerStats.strengthSpinMultiplier = new Array(1, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 2.75, 3, 3.25, 3.5, 3.5);
_global.playerStats.dexterityBalanceDenominator = new Array(0.9, 0.95, 1, 1.05, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.75, 1.95);
_global.playerStats.charismaCashMultiplier = new Array(1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.2);
_global.specials.yumiFloatSpeed = new Array(7, 7, 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4);
_global.specials.judgeAmmoArray = new Array(6, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17);
_global.specials.johnnySpecialTimeLimitArray = new Array(150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700);
_global.specials.yumiSpecialTimeLimitArray = new Array(450, 450, 500, 550, 600, 650, 700, 800, 900, 1000, 1100, 1200, 1400);
_global.specials.charonSpecialTimeLimitArray = new Array(450, 450, 450, 500, 550, 600, 650, 700, 800, 900, 1000, 1100, 1200, 1400);
_global.specials.aprilSpecialTimeLimitArray = new Array(600, 800, 1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 3000);
_global.specials.dannySpecialTimeLimitArray = new Array(300, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 450);
_global.specials.natashaSpecialTimeLimitArray = new Array(600, 800, 1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600, 3000);
_global.specials.stunnaMaxPills = new Array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
_global.specials.spinRotationIncrement = 10;
_global.specials.maximumSpinCharge = 10;
_global.specials.judgeMaxAmmunition = 13;
_global.specials.reyMaxShotgun = new Array(5, 7, 9, 11, 13, 15, 18, 20, 22, 24, 25, 30);
_global.playerStats.expLevel = 1;
_global.playerStats.experiencePoints = 0;
_global.playerStats.cashOnHand = 0;
_global.playerStats.maxVIPCards = 2;
_global.gameStats.char = _global.startStat.cha;
_global.gameStats.dex = _global.startStat.dex;
_global.gameStats.str = _global.startStat.str;
_global.gameStats.spec = _global.startStat.spe;
_global.gameStats.gameScore = 0;
_global.gameStats.totalCash = 0;
_global.gameStats.uniqueSigsUsed = new Array(false, false, false, false, false, false, false, false, false, false);
_global.gameStats.terminalVelocity_arr = new Array(-11, -12, -13, -15, -17, -20, -30, -10000);
_global.gameStats.performanceRating = 0;
_global.gameStats.maxPerformanceRating = 6;
_global.inventory.pourSpoutLevel = 0;
_global.inventory.liquorLevel = 0;
_global.newShitFlags.equip = false;
_global.newShitFlags.train = false;
_global.newShitFlags.versus = false;
_global.newShitFlags.checklist = false;
_global.newShitFlags.stats = false;
_global.newShitFlags.gameFinished = false;
_global.newShitFlags.tutorialFinished = false;
_global.newShitFlags.gameSavedSinceLastRound = false;
_global.performance.indicators = 0;
_global.performance.maxIndicators = 2;
_global.configuration.perf.tracers = false;
_global.configuration.perf.sparkles = true;
_global.bonusRounds.apopalypse = new Object({playerScore:0, medalValues:new Array(10, 20, 25, 30), medalPayouts:new Array(500, 750, 1000, 2500), highestMedalEarned:-1});
_global.bonusRounds.iceStorm = new Object({playerScore:0, medalValues:new Array(500, 1000, 3000, 6000), medalPayouts:new Array(500, 750, 1000, 2500), highestMedalEarned:-1});
_global.bonusRounds.speedRack = new Object({playerScore:0, medalValues:new Array(5, 10, 20, 25), medalPayouts:new Array(500, 750, 1000, 2500), highestMedalEarned:-1});
_global.bonusRounds.perfectPour = new Object({playerScore:0, medalValues:new Array(0.5, 0.2, 0.05, 0.01), medalPayouts:new Array(500, 750, 1000, 2500), highestMedalEarned:-1});
_global.defaultConfiguration();
_global.initializeGameRecord();
}
_global.itemBonuses.pourSpoutBonus = new Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1);
_global.itemBonuses.liquorQuality = new Array(1, 1.2, 1.4, 1.6, 1.8, 2, 2.3, 2.6, 2.9, 3, 4, 4.1);
_global.ownerUpgrades.totalValue = Number(0);
_global.inventory.vipCardCost = 10000;
_global.specialEffects.sparkCount = 0;
_global.specialEffects.sparkLimit = 100;
_global.combo.maxComboTimeLimit = 150;
_global.combo.flipTimeBonus = 15;
_global.combo.flipScoreBonus = 100;
_global.combo.popTimeBonus = 30;
_global.combo.catchTimeBonus = 200;
_global.combo.popScoreBonus = 100;
_global.combo.catchScoreBonus = 200;
_global.combo.balanceTime = 0;
_global.combo.highPourScoreBonus = 500;
_global.combo.highCubeBonus = 150;
_global.combo.bounceCubeBonus = 100;
_global.combo.frozenCoastBonus = 1500;
_global.combo.frozenCoastTrifectaBonus = 5000;
_global.combo.supermanBonus = 1000;
_global.combo.supermanTrifectaBonus = 2000;
_global.combo.balanceScoreBonus = 7;
_global.combo.highGarnishScoreBonus = 200;
_global.combo.coast2coastBonus = 450;
_global.combo.smashScoreBonus = 200;
_global.region.barTop = 208;
_global.region.barBottom = 228;
_global.region.barCenter = 212;
_global.demoMode.bonusRound = undefined;
_global.nextBonusMatch = undefined;
_global.resetRoundVariables();
};
_global.resizeHitAreasForDexterity = function (catchAreaInstance) {
catchAreaInstance.gotoAndStop(_global.playerStats.dexterity + Number(1));
};
_global.increasePlayerLevel = function () {
if ((_global.playerStats.experiencePoints >= _global.gameStats.pointsToLevel[_global.playerStats.expLevel - 1]) && (_global.playerStats.expLevel < 38)) {
_global.playerStats.expLevel++;
_global.transitionFlags.push("levelUp");
return(true);
}
return(false);
};
if (_global.startFromSaved != true) {
_global.startNewGame(false);
_global.gameStats.firstTime = true;
} else {
_global.startNewGame(true);
}
_global.trickFunctions = new Object();
_global.trickFunctions.caughtBottleCap = function () {
_global.roundStats.bottleCapsCaught++;
};
_global.checkChecklistItems = function () {
if (_global.roundStats.totalFlips >= 1) {
_global.completeChecklistItem(0, 2);
}
if (_global.roundStats.perfectDrinks >= 1) {
_global.completeChecklistItem(0, 4);
}
if (_global.roundStats.highBalanceTime >= 3) {
_global.completeChecklistItem(1, 0);
}
if (_global.gameRecord.drinksServed >= 20) {
_global.completeChecklistItem(1, 1);
}
if (_global.gameRecord.sigsUsed >= 1) {
_global.completeChecklistItem(1, 3);
}
if (_global.roundStats.mostFlips >= 4) {
_global.completeChecklistItem(1, 2);
}
if (_global.roundStats.totalHandSpins >= 1) {
_global.completeChecklistItem(1, 4);
}
if (_global.gameStats.roundScore > 1000) {
_global.completeChecklistItem(1, 5);
}
if (_global.roundData.vipCardMax == _global.roundData.vipCardCurrent) {
_global.completeChecklistItem(1, 6);
}
if (_global.roundStats.balanceTransfers >= 1) {
_global.completeChecklistItem(2, 0);
}
if (_global.roundStats.highCombo >= 2500) {
_global.completeChecklistItem(2, 1);
}
if (_global.gameRecord.highBalanceTime >= 5) {
_global.completeChecklistItem(2, 2);
}
if (_global.roundStats.mostFlips >= 5) {
_global.completeChecklistItem(2, 3);
}
if (_global.roundStats.mostBottlesJuggled >= 3) {
_global.completeChecklistItem(2, 4);
}
if (_global.roundStats.mostGlassPopsInOneCombo >= 3) {
_global.completeChecklistItem(3, 0);
}
this.bronzeCount = 0;
this.silvCount = 0;
this.goldCount = 0;
this.platCount = 0;
i = 0;
for (i in _global.bonusRounds) {
switch (_global.bonusRounds[i].highestMedalEarned) {
case -1 :
break;
case 0 :
this.bronzeCount++;
break;
case 1 :
this.bronzeCount++;
this.silvCount++;
break;
case 2 :
this.bronzeCount++;
this.silvCount++;
this.goldCount++;
break;
case 3 :
this.bronzeCount++;
this.silvCount++;
this.goldCount++;
this.platCount++;
}
if (this.bronzeCount >= 1) {
_global.completeChecklistItem(3, 1);
}
if (_global.roundStats.mostTransfersInOneCombo >= 1) {
_global.completeChecklistItem(3, 3);
}
if (_global.gameRecord.bottleCapsCaught >= 5) {
_global.completeChecklistItem(3, 4);
}
if (_global.roundStats.totalSupermans >= 1) {
_global.completeChecklistItem(4, 0);
}
if (_global.roundStats.highCombo >= 5000) {
_global.completeChecklistItem(4, 1);
}
if (this.silvCount >= 1) {
_global.completeChecklistItem(4, 2);
}
if ((_global.roundStats.bottlesBroken + _global.roundStats.glassesBroken) < 1) {
_global.completeChecklistItem(4, 3);
}
if (_global.gameRecord.highBalanceTime >= 10) {
_global.completeChecklistItem(4, 4);
}
if (_global.roundStats.highCombo >= 10000) {
_global.completeChecklistItem(5, 0);
}
if (this.goldCount >= 1) {
_global.completeChecklistItem(5, 2);
}
if (_global.roundStats.totalFrozenCoasts >= 1) {
_global.completeChecklistItem(5, 3);
}
if (_global.gameStats.totalCash >= 1000) {
_global.completeChecklistItem(5, 4);
}
if (this.platCount >= 1) {
_global.completeChecklistItem(6, 0);
}
if (_global.roundStats.totalSupermanTrifectas >= 1) {
_global.completeChecklistItem(6, 1);
}
if (_global.roundStats.highBalanceTime >= 30) {
_global.completeChecklistItem(6, 2);
}
if (this.bronzeCount >= 3) {
_global.completeChecklistItem(6, 3);
}
if (this.silvCount >= 3) {
_global.completeChecklistItem(7, 0);
}
if (_global.gameStats.totalCash >= 10000) {
_global.completeChecklistItem(7, 1);
}
if (_global.roundStats.mostGlassPopsInOneCombo >= 15) {
_global.completeChecklistItem(7, 2);
}
if ((_global.gameStats.roundScore >= 20000) && ((_global.roundStats.bottlesBroken + _global.roundStats.glassesBroken) < 1)) {
_global.completeChecklistItem(7, 3);
}
if (_global.roundStats.highBalanceTime >= 45) {
_global.completeChecklistItem(7, 4);
}
if (this.goldCount >= 3) {
_global.completeChecklistItem(8, 0);
}
if (_global.gameRecord.bottleCapsCaught >= 100) {
_global.completeChecklistItem(8, 1);
}
if (_global.roundStats.highCombo >= 20000) {
_global.completeChecklistItem(8, 2);
}
if (_global.gameStats.roundScore >= 50000) {
_global.completeChecklistItem(8, 3);
}
if ((_global.roundData.powerHour != 0) && (_global.roundStats.drinksServed >= 10)) {
_global.completeChecklistItem(8, 4);
}
if (_global.roundStats.totalFrozenCoastTrifectas >= 1) {
_global.completeChecklistItem(9, 1);
}
if (_global.roundStats.mostTransfersInOneCombo >= 4) {
_global.completeChecklistItem(9, 2);
}
sigUnused = false;
i = 0;
for (i in _global.gameStats.uniqueSigsUsed) {
if (_global.gameStats.uniqueSigsUsed[i] == false) {
sigUnused = true;
}
}
if (sigUnused == false) {
_global.completeChecklistItem(9, 3);
}
if (this.platCount >= 3) {
_global.completeChecklistItem(9, 4);
}
}
};
_global.appraiseBonusChallengeAfterShift = function () {
switch (_global.gameStats.playWeek.bCObject.idName) {
case "breakBottles" :
appraisalCount = _global.roundStats.bottlesBroken;
break;
case "balanceTransfers" :
appraisalCount = _global.roundStats.balanceTransfers;
break;
case "froCos" :
appraisalCount = _global.roundStats.totalFrozenCoasts;
break;
case "vipCards" :
appraisalCount = _global.roundData.vipCardMax - _global.roundData.vipCardCurrent;
break;
case "pointsPerShift" :
appraisalCount = _global.gameStats.roundScore;
break;
case "bottleCaps" :
appraisalCount = _global.roundStats.bottleCapsCaught;
break;
case "highCombo" :
appraisalCount = _global.roundStats.highCombo;
break;
case "sigMoves" :
appraisalCount = _global.roundStats.sigsUsed;
break;
case "iceTricks" :
appraisalCount = ((((_global.roundStats.totalBouncedCubesCaught + _global.roundStats.totalIceCubesCaught) + _global.roundStats.totalFrozenCoasts) + _global.roundStats.totalFrozenCoastTrifectas) + _global.roundStats.totalSupermans) + _global.roundStats.totalSupermanTrifectas;
}
_global.gameStats.playWeek.bCObject.appraisal(appraisalCount);
};
_global.bankRecords = function () {
if (_global.roundStats.highCombo > _global.gameRecord.highCombo) {
_global.gameRecord.highCombo = _global.roundStats.highCombo;
}
if (_global.roundStats.highBalanceTime > _global.gameRecord.highBalanceTime) {
_global.gameRecord.highBalanceTime = _global.roundStats.highBalanceTime;
}
_global.gameRecord.totalHandSpins = _global.gameRecord.totalHandSpins + _global.roundStats.totalHandSpins;
_global.gameRecord.totalBalanceTime = _global.gameRecord.totalBalanceTime + _global.roundStats.totalBalanceTime;
_global.gameRecord.bottlesBroken = _global.gameRecord.bottlesBroken + _global.roundStats.bottlesBroken;
_global.gameRecord.glassesBroken = _global.gameRecord.glassesBroken + _global.roundStats.glassesBroken;
_global.gameRecord.bottleCapsCaught = _global.gameRecord.bottleCapsCaught + _global.roundStats.bottleCapsCaught;
if (_global.roundStats.mostBottlesJuggled > _global.gameRecord.mostBottlesJuggled) {
_global.gameRecord.mostBottlesJuggled = _global.roundStats.mostBottlesJuggled;
}
_global.gameRecord.balanceTransfers = _global.gameRecord.balanceTransfers + _global.roundStats.balanceTransfers;
if (_global.roundStats.mostFlips > _global.gameRecord.mostFlips) {
_global.gameRecord.mostFlips = _global.roundStats.mostFlips;
}
_global.gameRecord.totalFlips = _global.gameRecord.totalFlips + _global.roundStats.totalFlips;
_global.gameRecord.totalScore = _global.gameRecord.totalScore + _global.gameStats.roundScore;
_global.gameRecord.totalTips = _global.gameRecord.totalTips + _global.roundStats.totalTips;
_global.gameRecord.totalGlassesCaught = _global.gameRecord.totalGlassesCaught + _global.roundStats.totalGlassesCaught;
if (_global.roundStats.mostGlassPopsInOneCombo > _global.gameRecord.mostGlassPopsInOneCombo) {
_global.gameRecord.mostGlassPopsInOneCombo = _global.roundStats.mostGlassPopsInOneCombo;
}
if (_global.roundStats.mostPopsInARow > _global.gameRecord.mostPopsInARow) {
_global.gameRecord.mostPopsInARow = _global.roundStats.mostPopsInARow;
}
_global.gameRecord.totalGlassPops = _global.gameRecord.totalGlassPops + _global.roundStats.totalGlassPops;
if (_global.roundStats.mostTransfersInOneCombo > _global.gameRecord.mostTransfersInOneCombo) {
_global.gameRecord.mostTransfersInOneCombo = _global.roundStats.mostTransfersInOneCombo;
}
_global.gameRecord.totalIceCubesCaught = _global.gameRecord.totalIceCubesCaught + _global.roundStats.totalIceCubesCaught;
_global.gameRecord.totalSupermans = _global.gameRecord.totalSupermans + _global.roundStats.totalSupermans;
_global.gameRecord.totalSupermanTrifectas = _global.gameRecord.totalSupermanTrifectas + _global.roundStats.totalSupermanTrifectas;
_global.gameRecord.totalCoastToCoasts = _global.gameRecord.totalCoastToCoasts + _global.roundStats.totalCoastToCoasts;
_global.gameRecord.totalFrozenCoasts = _global.gameRecord.totalFrozenCoasts + _global.roundStats.totalFrozenCoasts;
_global.gameRecord.totalFrozenCoastTrifectas = _global.gameRecord.totalFrozenCoastTrifectas + _global.roundStats.totalFrozenCoastTrifectas;
_global.gameRecord.vipCardsUsed = _global.gameRecord.vipCardsUsed + (_global.roundData.vipCardMax - _global.roundData.vipCardCurrent);
_global.gameRecord.perfectDrinks = _global.gameRecord.perfectDrinks + _global.roundStats.perfectDrinks;
_global.gameRecord.goodDrinks = _global.gameRecord.goodDrinks + _global.roundStats.goodDrinks;
_global.gameRecord.okayDrinks = _global.gameRecord.okayDrinks + _global.roundStats.okayDrinks;
_global.gameRecord.poorDrinks = _global.gameRecord.poorDrinks + _global.roundStats.poorDrinks;
_global.gameRecord.badDrinks = _global.gameRecord.badDrinks + _global.roundStats.badDrinks;
_global.gameRecord.drinksServed = _global.gameRecord.drinksServed + _global.roundStats.drinksServed;
_global.gameRecord.sigsUsed = _global.gameRecord.sigsUsed + _global.roundStats.sigsUsed;
_global.gameRecord.totalBouncedCubesCaught = _global.gameRecord.totalBouncedCubesCaught + _global.roundStats.totalBouncedCubesCaught;
_global.checkChecklistItems();
};
_global.goToUrl = function (url) {
var _local2 = false;
if (ExternalInterface.available == true) {
try {
ExternalInterface.call("window.open", url, "win", "");
_local2 = true;
} catch(error:Error) {
}
}
if (_local2 != true) {
_root.getURL(url, "_blank");
}
};
_global.controlFunctions = new Object();
_global.controlFunctions.restartTutorial = function (fromWhere) {
_global.tutorialDisplay.gotoAndStop(1);
_global.tutorialDisplay.servedAshley = null;
_global.tutorialDisplay.waiting = false;
_global.tutorialDisplay.receiveEvents = null;
_global.tutorialDisplay.overlay_mc.roFrank_mc.fat_mc._visible = true;
_global.tutorialDisplay.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
_global.tutorialDisplay.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
};
_global.controlFunctions.skipTutorialSection = function (fromWhere) {
trace("skipTutorialSection");
};
_global.controlFunctions.skipToTutorialSection = function (fromWhere, toSection) {
_global.locked.tutorialSectionsCompleted_arr[toSection + 1] = true;
_global.gameStats.firstTime = false;
_global.gotoTutorialSection("section" + toSection);
};
_global.controlFunctions.soundOffOn = function () {
if (_global.configuration.sound.muteAll == false) {
_global.musicTrack.killAll();
_global.configuration.sound.muteMusic = true;
_global.configuration.sound.muteAll = true;
} else {
_global.configuration.sound.muteAll = false;
_global.configuration.sound.muteMusic = true;
}
};
_global.controlFunctions.muteMusic = function () {
if (_global.configuration.sound.muteMusic == false) {
_global.musicTrack.killAll();
_global.configuration.sound.muteMusic = true;
} else {
_global.musicTrack.playRandomTrack;
_global.configuration.sound.muteMusic = false;
}
};
_global.controlFunctions.nextMusicTrack = function () {
trace("next track");
};
_global.controlFunctions.soundConfig = function () {
trace("soundConfig");
};
_global.controlFunctions.performanceConfig = function () {
_root.attachMovie("configureWindow", "configureWindow", _root.getNextHighestDepth());
};
_global.controlFunctions.controlsConfig = function () {
trace("controlsConfig");
};
_global.controlFunctions.quitToMainMenu = function (fromWhere) {
_root.gotoAndPlay(1);
};
_global.controlFunctions.quitToCalendar = function (fromWhere) {
if (_global.locked.tutorialSectionsCompleted_arr[4] != true) {
_global.gameStats.firstTime = false;
_global.locked.tutorialSectionsCompleted_arr[0] = true;
_global.locked.tutorialSectionsCompleted_arr[1] = true;
_global.locked.tutorialSectionsCompleted_arr[2] = true;
_global.locked.tutorialSectionsCompleted_arr[3] = true;
_global.locked.tutorialSectionsCompleted_arr[4] = true;
_global.newShitFlags.setCalendarToAdvance = false;
_global.newShitFlags.tutorialFinished = true;
_global.generateNewWeek();
_global.transitionFrom("tutorialComplete");
_global.pauseScreenScreen.removeMovieClip();
} else {
_global.endRound("quit");
_global.pauseScreenScreen.removeMovieClip();
}
};
_global.controlFunctions.loadAvailSite = function () {
_global.goToUrl("http://www.availds.com/");
};
_global.controlFunctions.loadSponsorSite = function () {
_global.goToUrl("http://www.turbogames.com/");
};
_global.controlFunctions.loadSponsorTips = function () {
_global.goToUrl("http://www.turbogames.com/dm-handbook.php");
};
_global.controlFunctions.cheatEnable = function (cheat) {
switch (cheat) {
case "unbreakable" :
if (_global.gameStats.performanceRating != 7) {
_global.lastRating = _global.gameStats.performanceRating;
}
_global.gameStats.performanceRating = 7;
break;
case "easyMoney" :
_global.gameStats.totalCash = _global.gameStats.totalCash + 5000;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + 5000;
}
};
if (_global.startFromSaved != true) {
_global.locked = new Object();
_global.locked.sigsLocked = true;
_global.locked.arenaLocked = true;
_global.locked.balanceAssist = true;
_global.locked.popUpIILocked = true;
_global.locked.handSpinIILocked = true;
_global.locked.bottlePopLocked = true;
_global.locked.handSpinIIILocked = true;
_global.locked.goldenSodaGun = true;
_global.locked.missingPages = true;
_global.locked.dmChecklist = true;
_global.locked.tutorialSectionsCompleted_arr = new Array(false, false, false, false, false);
_global.flairUpgrades = new Object();
_global.flairUpgrades.handSpinLevel = 0;
_global.flairUpgrades.popUpLevel = 0;
_global.flairUpgrades.balanceLevel = 0;
_global.flairUpgrades.okToPopBottles = true;
_global.locked.checklistRewardLocked0 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked1 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked2 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked3 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked4 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked5 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked6 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked7 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked8 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked9 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked10 = new Object({isLocked:true, newFlag:true});
_global.locked.checklistRewardLocked_arr = new Array(_global.locked.checklistRewardLocked0, _global.locked.checklistRewardLocked1, _global.locked.checklistRewardLocked2, _global.locked.checklistRewardLocked3, _global.locked.checklistRewardLocked4, _global.locked.checklistRewardLocked5, _global.locked.checklistRewardLocked6, _global.locked.checklistRewardLocked7, _global.locked.checklistRewardLocked8, _global.locked.checklistRewardLocked9, _global.locked.checklistRewardLocked10);
}
_global.getChecklistsComplete = function () {
i = 0;
completeCount = new Number(0);
for (i in _global.locked.checklistRewardLocked_arr) {
if (_global.locked.checklistRewardLocked_arr[i].isLocked == false) {
completeCount++;
}
}
return(completeCount);
};
_global.checkChecklistSetForCompletion = function (whichSet) {
this.testVar = 0;
this.checkArray = _global.checklistCompletion_arr[whichSet];
ct1 = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
trace(this.testVar);
if (this.testVar == 0) {
_global.locked.checklistRewardLocked_arr[whichSet].isLocked = false;
if (_global.locked.checklistRewardLocked_arr[whichSet].newFlag == true) {
if (whichSet == 0) {
trace("checklist0unlocked");
_global.locked.sigsLocked = false;
_global.newShitFlags.tricks = true;
}
if (whichSet == 1) {
_global.locked.balanceAssist = false;
_global.newShitFlags.tricks = true;
}
if (whichSet == 2) {
_global.locked.arenaLocked = false;
_global.newShitFlags.tricks = true;
}
if (whichSet == 3) {
_global.locked.popUpIILocked = false;
_global.newShitFlags.tricks = true;
}
if (whichSet == 4) {
_global.newShitFlags.stats = true;
}
if (whichSet == 5) {
_global.locked.handSpinIILocked = false;
_global.specials.maximumSpinCharge = 20;
_global.newShitFlags.tricks = true;
}
if (whichSet == 6) {
_global.locked.bottlePopLocked = false;
_global.newShitFlags.tricks = true;
}
if (whichSet == 7) {
_global.locked.handSpinIIILocked = false;
_global.specials.maximumSpinCharge = 30;
_global.newShitFlags.tricks = true;
}
if (whichSet == 8) {
_global.locked.goldenSodaGun = false;
_global.newShitFlags.equip = true;
}
if (whichSet == 9) {
_global.locked.dmChecklist = false;
_global.newShitFlags.checklist = true;
}
if (whichSet == 10) {
_global.locked.missingPages = false;
_global.newShitFlags.tricks = true;
}
_global.newShitFlags.checklist = true;
_global.locked.checklistRewardLocked_arr[whichSet].newFlag = false;
}
}
};
if (_global.startFromSaved != true) {
_global.checklistItem00 = new Object({desc:"Serve a beer", newFlag:true, achieved:false});
_global.checklistItem01 = new Object({desc:"Serve a shot", newFlag:true, achieved:false});
_global.checklistItem02 = new Object({desc:"Perform a Bottle Flip", newFlag:true, achieved:false});
_global.checklistItem03 = new Object({desc:"Use the Soda Gun", newFlag:true, achieved:false});
_global.checklistItem04 = new Object({desc:"Serve a 'Perfect Drink'", newFlag:true, achieved:false});
_global.checklistItem05 = new Object({desc:"Use the Ice Scoop", newFlag:true, achieved:false});
_global.checklistItem06 = new Object({desc:"Serve a Drink with a Garnish", newFlag:true, achieved:false});
_global.checklistItem10 = new Object({desc:"Balance for 3 sec", newFlag:true, achieved:false});
_global.checklistItem11 = new Object({desc:"Serve 20 Drinks", newFlag:true, achieved:false});
_global.checklistItem12 = new Object({desc:"Perform a 4 Flip Combo", newFlag:true, achieved:false});
_global.checklistItem13 = new Object({desc:"Perform a Signature Move", newFlag:true, achieved:false});
_global.checklistItem14 = new Object({desc:"Perform a Hand Spin", newFlag:true, achieved:false});
_global.checklistItem15 = new Object({desc:"Score 1,000 pts in a Round", newFlag:true, achieved:false});
_global.checklistItem16 = new Object({desc:"Complete a Shift without using a VIP Card", newFlag:true, achieved:false});
_global.checklistItem20 = new Object({desc:"Balance Transfer", newFlag:true, achieved:false});
_global.checklistItem21 = new Object({desc:"Perform a 2,500 point combo", newFlag:true, achieved:false});
_global.checklistItem22 = new Object({desc:"Balance a Bottle for 5 seconds", newFlag:true, achieved:false});
_global.checklistItem23 = new Object({desc:"Perform a 5 Flip Combo", newFlag:true, achieved:false});
_global.checklistItem24 = new Object({desc:"Perform a Combo with 3 Bottles in the Air", newFlag:true, achieved:false});
_global.checklistItem30 = new Object({desc:"Pop a Glass 3x in a Row", newFlag:true, achieved:false});
_global.checklistItem31 = new Object({desc:"Score Bronze in a Bonus Round", newFlag:true, achieved:false});
_global.checklistItem32 = new Object({desc:"Win a Versus Match", newFlag:true, achieved:false});
_global.checklistItem33 = new Object({desc:"Perform back-to-back Balance Transfers", newFlag:true, achieved:false});
_global.checklistItem34 = new Object({desc:"Catch 5 Bottle Caps", newFlag:true, achieved:false});
_global.checklistItem40 = new Object({desc:"Perform a Superman", newFlag:true, achieved:false});
_global.checklistItem41 = new Object({desc:"Perform a 5,000 point combo", newFlag:true, achieved:false});
_global.checklistItem42 = new Object({desc:"Score Silver in a Bonus Round", newFlag:true, achieved:false});
_global.checklistItem43 = new Object({desc:"Finish a Shift without Breaking any Bottles", newFlag:true, achieved:false});
_global.checklistItem44 = new Object({desc:"Balance a Bottle for 10 Seconds", newFlag:true, achieved:false});
_global.checklistItem50 = new Object({desc:"Perform a 10,000 Point Combo", newFlag:true, achieved:false});
_global.checklistItem51 = new Object({desc:"Win 5 Versus Matches", newFlag:true, achieved:false});
_global.checklistItem52 = new Object({desc:"Score Gold in a Bonus Round", newFlag:true, achieved:false});
_global.checklistItem53 = new Object({desc:"Perform a Frozen Coast", newFlag:true, achieved:false});
_global.checklistItem54 = new Object({desc:"Earn $1000 Total", newFlag:true, achieved:false});
_global.checklistItem60 = new Object({desc:"Earn Platinum in a Bonus Round", newFlag:true, achieved:false});
_global.checklistItem61 = new Object({desc:"Perform a Superman Trifecta", newFlag:true, achieved:false});
_global.checklistItem62 = new Object({desc:"Balance a Bottle for 30 Seconds", newFlag:true, achieved:false});
_global.checklistItem63 = new Object({desc:"Earn Bronze on all Bonus Rounds", newFlag:true, achieved:false});
_global.checklistItem64 = new Object({desc:"Finish a Week without using VIP Cards", newFlag:true, achieved:false});
_global.checklistItem70 = new Object({desc:"Earn Silver on all Bonus Rounds", newFlag:true, achieved:false});
_global.checklistItem71 = new Object({desc:"Earn $10,000 total", newFlag:true, achieved:false});
_global.checklistItem72 = new Object({desc:"Perform 15 Pop ups in a Row", newFlag:true, achieved:false});
_global.checklistItem73 = new Object({desc:"Score 20,000 points w/o breaking a bottle", newFlag:true, achieved:false});
_global.checklistItem74 = new Object({desc:"Balance a bottle for 45 seconds", newFlag:true, achieved:false});
_global.checklistItem80 = new Object({desc:"Earn Gold on all Bonus Rounds", newFlag:true, achieved:false});
_global.checklistItem81 = new Object({desc:"Catch 100 Bottle Caps", newFlag:true, achieved:false});
_global.checklistItem82 = new Object({desc:"Perform a 20,000 Point Combo", newFlag:true, achieved:false});
_global.checklistItem83 = new Object({desc:"Score 50,000 points in a Shift", newFlag:true, achieved:false});
_global.checklistItem84 = new Object({desc:"Serve 10 customers in a power hour", newFlag:true, achieved:false});
_global.checklistItem90 = new Object({desc:"Finish all Versus Matches", newFlag:true, achieved:false});
_global.checklistItem91 = new Object({desc:"Perform a Frozen Coast Trifecta", newFlag:true, achieved:false});
_global.checklistItem92 = new Object({desc:"Perform 4 Balance Transfers in a row", newFlag:true, achieved:false});
_global.checklistItem93 = new Object({desc:"Perform every Signature", newFlag:true, achieved:false});
_global.checklistItem94 = new Object({desc:"Earn Platinum on every Bonus Round", newFlag:true, achieved:false});
_global.checklistItem100 = new Object({desc:"Complete Checklists 1-10", newFlag:true, achieved:false});
_global.checklistItem101 = new Object({desc:"Get Promoted to Level 38", newFlag:true, achieved:false});
_global.checklistItem102 = new Object({desc:"Earn $100,000 total", newFlag:true, achieved:false});
_global.checklistItem103 = new Object({desc:"Perform 5 Balance Transfers in a row", newFlag:true, achieved:false});
_global.checklistItem104 = new Object({desc:"Do 2 Frozen Coast Trifectas in one combo", newFlag:true, achieved:false});
}
_global.checklistCompletion0_arr = new Array(_global.checklistItem00, _global.checklistItem01, _global.checklistItem02, _global.checklistItem03, _global.checklistItem04, _global.checklistItem05, _global.checklistItem06);
_global.checklistCompletion1_arr = new Array(_global.checklistItem10, _global.checklistItem11, _global.checklistItem12, _global.checklistItem13, _global.checklistItem14, _global.checklistItem15, _global.checklistItem16);
_global.checklistCompletion2_arr = new Array(_global.checklistItem20, _global.checklistItem21, _global.checklistItem22, _global.checklistItem23, _global.checklistItem24);
_global.checklistCompletion3_arr = new Array(_global.checklistItem30, _global.checklistItem31, _global.checklistItem32, _global.checklistItem33, _global.checklistItem34);
_global.checklistCompletion4_arr = new Array(_global.checklistItem40, _global.checklistItem41, _global.checklistItem42, _global.checklistItem43, _global.checklistItem44);
_global.checklistCompletion5_arr = new Array(_global.checklistItem50, _global.checklistItem51, _global.checklistItem52, _global.checklistItem53, _global.checklistItem54);
_global.checklistCompletion6_arr = new Array(_global.checklistItem60, _global.checklistItem61, _global.checklistItem62, _global.checklistItem63, _global.checklistItem64);
_global.checklistCompletion7_arr = new Array(_global.checklistItem70, _global.checklistItem71, _global.checklistItem72, _global.checklistItem73, _global.checklistItem74);
_global.checklistCompletion8_arr = new Array(_global.checklistItem80, _global.checklistItem81, _global.checklistItem82, _global.checklistItem83, _global.checklistItem84);
_global.checklistCompletion9_arr = new Array(_global.checklistItem90, _global.checklistItem91, _global.checklistItem92, _global.checklistItem93, _global.checklistItem94);
_global.checklistCompletion10_arr = new Array(_global.checklistItem100, _global.checklistItem101, _global.checklistItem102, _global.checklistItem103, _global.checklistItem104);
_global.checklistCompletion_arr = new Array(_global.checklistCompletion0_arr, _global.checklistCompletion1_arr, _global.checklistCompletion2_arr, _global.checklistCompletion3_arr, _global.checklistCompletion4_arr, _global.checklistCompletion5_arr, _global.checklistCompletion6_arr, _global.checklistCompletion7_arr, _global.checklistCompletion8_arr, _global.checklistCompletion9_arr, _global.checklistCompletion10_arr);
_global.completeChecklistItem = function (setNumber, itemNumber, independent) {
_global.roundStats.checklistAchievement_arr.push(_global.checklistCompletion_arr[setNumber][itemNumber]);
_global.checkChecklistSetForCompletion(setNumber);
if (independent == true) {
if (_global.checklistCompletion_arr[setNumber][itemNumber].newFlag == true) {
_global.checklistCompletion_arr[setNumber][itemNumber].achieved = true;
_global.checklistCompletion_arr[setNumber][itemNumber].newFlag = false;
_global.checkChecklistSetForCompletion(setNumber);
}
}
};
_global.nightlyCustomerCounts_arr = new Array(5, 7, 10, 12, 15, 18, 21, 15, 18, 21, 24, 27, 30);
_global.nightIDs_arr = new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
_global.shiftIsDaytime_arr = new Array(true, true, true, true, true, true, true, false, false, false, false, false, false);
_global.weeklyShiftSet0 = new Array(0, 1, 2, 3);
_global.weeklyShiftSet1 = new Array(1, 2, 3, 4);
_global.weeklyShiftSet2 = new Array(2, 3, 4, 5);
_global.weeklyShiftSet3 = new Array(3, 4, 5, 6);
_global.weeklyShiftSet4 = new Array(7, 8, 9, 10);
_global.weeklyShiftSet5 = new Array(8, 9, 10, 11);
_global.weeklyShiftSet6 = new Array(9, 10, 11, 12);
_global.weeklyShiftSet7 = new Array(10, 11, 6, 12);
_global.shiftSet_arr = new Array(_global.weeklyShiftSet0, _global.weeklyShiftSet1, _global.weeklyShiftSet2, _global.weeklyShiftSet3, _global.weeklyShiftSet4, _global.weeklyShiftSet5, _global.weeklyShiftSet6, _global.weeklyShiftSet7);
_global.saveGame = function () {
var _local2 = new Date();
_global.saveInfo.data.misc = _local2;
_global.saveInfo.data.gameStats = _global.gameStats;
if (_global.gameStats.performanceRating == 7) {
_global.saveInfo.data.gameStats.performanceRating = _global.lastRating;
}
_global.saveInfo.data.locked = _global.locked;
_global.saveInfo.data.gameRecord = _global.gameRecord;
_global.saveInfo.data.configuration = _global.configuration;
_global.saveInfo.data.bonusRounds = _global.bonusRounds;
_global.saveInfo.data.newShitFlags = _global.newShitFlags;
_global.saveInfo.data.playerStats = _global.playerStats;
_global.saveInfo.data.specials = _global.specials;
_global.saveInfo.data.inventory = _global.inventory;
_global.saveInfo.data.roundData = _global.roundData;
_global.saveInfo.data.characters = _global.characters;
_global.saveInfo.data.flairUpgrades = _global.flairUpgrades;
_global.saveInfo.data.checklistItem00 = _global.checklistItem00;
_global.saveInfo.data.checklistItem01 = _global.checklistItem01;
_global.saveInfo.data.checklistItem02 = _global.checklistItem02;
_global.saveInfo.data.checklistItem03 = _global.checklistItem03;
_global.saveInfo.data.checklistItem04 = _global.checklistItem04;
_global.saveInfo.data.checklistItem05 = _global.checklistItem05;
_global.saveInfo.data.checklistItem06 = _global.checklistItem06;
_global.saveInfo.data.checklistItem10 = _global.checklistItem10;
_global.saveInfo.data.checklistItem11 = _global.checklistItem11;
_global.saveInfo.data.checklistItem12 = _global.checklistItem12;
_global.saveInfo.data.checklistItem13 = _global.checklistItem13;
_global.saveInfo.data.checklistItem14 = _global.checklistItem14;
_global.saveInfo.data.checklistItem15 = _global.checklistItem15;
_global.saveInfo.data.checklistItem16 = _global.checklistItem16;
_global.saveInfo.data.checklistItem20 = _global.checklistItem20;
_global.saveInfo.data.checklistItem21 = _global.checklistItem21;
_global.saveInfo.data.checklistItem22 = _global.checklistItem22;
_global.saveInfo.data.checklistItem23 = _global.checklistItem23;
_global.saveInfo.data.checklistItem24 = _global.checklistItem24;
_global.saveInfo.data.checklistItem30 = _global.checklistItem30;
_global.saveInfo.data.checklistItem31 = _global.checklistItem31;
_global.saveInfo.data.checklistItem32 = _global.checklistItem32;
_global.saveInfo.data.checklistItem33 = _global.checklistItem33;
_global.saveInfo.data.checklistItem34 = _global.checklistItem34;
_global.saveInfo.data.checklistItem40 = _global.checklistItem40;
_global.saveInfo.data.checklistItem41 = _global.checklistItem41;
_global.saveInfo.data.checklistItem42 = _global.checklistItem42;
_global.saveInfo.data.checklistItem43 = _global.checklistItem43;
_global.saveInfo.data.checklistItem44 = _global.checklistItem44;
_global.saveInfo.data.checklistItem50 = _global.checklistItem50;
_global.saveInfo.data.checklistItem51 = _global.checklistItem51;
_global.saveInfo.data.checklistItem52 = _global.checklistItem52;
_global.saveInfo.data.checklistItem53 = _global.checklistItem53;
_global.saveInfo.data.checklistItem54 = _global.checklistItem54;
_global.saveInfo.data.checklistItem60 = _global.checklistItem60;
_global.saveInfo.data.checklistItem61 = _global.checklistItem61;
_global.saveInfo.data.checklistItem62 = _global.checklistItem62;
_global.saveInfo.data.checklistItem63 = _global.checklistItem63;
_global.saveInfo.data.checklistItem64 = _global.checklistItem64;
_global.saveInfo.data.checklistItem70 = _global.checklistItem70;
_global.saveInfo.data.checklistItem71 = _global.checklistItem71;
_global.saveInfo.data.checklistItem72 = _global.checklistItem72;
_global.saveInfo.data.checklistItem73 = _global.checklistItem73;
_global.saveInfo.data.checklistItem74 = _global.checklistItem74;
_global.saveInfo.data.checklistItem80 = _global.checklistItem80;
_global.saveInfo.data.checklistItem81 = _global.checklistItem81;
_global.saveInfo.data.checklistItem82 = _global.checklistItem82;
_global.saveInfo.data.checklistItem83 = _global.checklistItem83;
_global.saveInfo.data.checklistItem84 = _global.checklistItem84;
_global.saveInfo.data.checklistItem90 = _global.checklistItem90;
_global.saveInfo.data.checklistItem91 = _global.checklistItem91;
_global.saveInfo.data.checklistItem92 = _global.checklistItem92;
_global.saveInfo.data.checklistItem93 = _global.checklistItem93;
_global.saveInfo.data.checklistItem94 = _global.checklistItem94;
_global.saveInfo.data.checklistItem100 = _global.checklistItem100;
_global.saveInfo.data.checklistItem101 = _global.checklistItem101;
_global.saveInfo.data.checklistItem102 = _global.checklistItem102;
_global.saveInfo.data.checklistItem103 = _global.checklistItem103;
_global.saveInfo.data.checklistItem104 = _global.checklistItem104;
_global.saveInfo.data.chalObjs = _global.chalObjs;
_global.saveInfo.flush();
trace(_global.saveInfo.getSize());
_global.newShitFlags.gameSavedSinceLastRound = true;
return(true);
};
_global.determinePowerHourLength = function (phID) {
if (phID == 1) {
return(30);
}
if (phID == 2) {
return(45);
}
if ((phID > 2) && (phID < 10)) {
return(60);
}
if (phID >= 10) {
return(120);
}
};
_global.generateNewWeek = function () {
trace("new week generated");
if (_global.gameStats.playWeek == undefined) {
_global.gameStats.playWeek = new Object();
_global.gameStats.playWeek.hasPowerHour = false;
}
if (_global.gameStats.playWeek.weekNumber != undefined) {
newWeekNumber = _global.gameStats.playWeek.weekNumber;
newWeekNumber++;
} else {
_global.gameStats.playWeek.weekNumber = 1;
newWeekNumber = 1;
}
if (_global.gameStats.playWeek.powerHourID == undefined) {
newPowerHourID = 0;
} else {
newPowerHourID = _global.gameStats.playWeek.powerHourID;
}
if ((_global.gameStats.playWeek.hasPowerHour == undefined) || (_global.gameStats.playWeek.hasPowerHour == true)) {
newWeekPowerHour = false;
} else {
newPowerHourID++;
if (newPowerHourID == 21) {
newPowerHourID = 1;
}
newWeekPowerHour = true;
}
_global.gameStats.playWeek = new Object();
_global.gameStats.playWeek.weekNumber = newWeekNumber;
_global.gameStats.playWeek.hasPowerHour = newWeekPowerHour;
_global.gameStats.playWeek.powerHourID = newPowerHourID;
_global.gameStats.playWeek.powerHourTimeLimit = _global.determinePowerHourLength(_global.gameStats.playWeek.powerHourID);
_global.gameStats.playWeek.currentDay = 0;
_global.gameStats.playWeek.bonusUpheld = true;
_global.gameStats.playWeek.vipCardsUsed = 0;
_global.gameStats.playWeek.day1 = new Object();
_global.gameStats.playWeek.day2 = new Object();
_global.gameStats.playWeek.day3 = new Object();
_global.gameStats.playWeek.day4 = new Object();
_global.gameStats.playWeek.day4.isPowerHour = _global.gameStats.playWeek.hasPowerHour;
_global.gameStats.playWeek.daySet_arr = new Array(_global.gameStats.playWeek.day1, _global.gameStats.playWeek.day2, _global.gameStats.playWeek.day3, _global.gameStats.playWeek.day4);
if (_global.playerStats.expLevel < 5) {
tempSetID = 0;
}
if ((_global.playerStats.expLevel >= 5) && (_global.playerStats.expLevel < 10)) {
tempSetID = 1;
}
if ((_global.playerStats.expLevel >= 10) && (_global.playerStats.expLevel < 15)) {
tempSetID = 2;
}
if ((_global.playerStats.expLevel >= 15) && (_global.playerStats.expLevel < 20)) {
tempSetID = 3;
}
if ((_global.playerStats.expLevel >= 20) && (_global.playerStats.expLevel < 25)) {
tempSetID = 4;
}
if ((_global.playerStats.expLevel >= 25) && (_global.playerStats.expLevel < 30)) {
tempSetID = 5;
}
if ((_global.playerStats.expLevel >= 30) && (_global.playerStats.expLevel < 35)) {
tempSetID = 6;
}
if (_global.playerStats.expLevel >= 35) {
tempSetID = 7;
}
i = 0;
for (i in _global.gameStats.playWeek.daySet_arr) {
_global.gameStats.playWeek.daySet_arr[i].dayIDNumber = _global.shiftSet_arr[tempSetID][i];
}
i = 0;
for (i in _global.gameStats.playWeek.daySet_arr) {
_global.gameStats.playWeek.daySet_arr[i].isDaytime = _global.shiftIsDaytime_arr[_global.gameStats.playWeek.daySet_arr[i].dayIDNumber];
}
v = 0;
for (v in _global.gameStats.playWeek.daySet_arr) {
_global.gameStats.playWeek.daySet_arr[v].drinkSet = _global.setRandomDrinks();
}
v = 0;
for (v in _global.gameStats.playWeek.daySet_arr) {
_global.gameStats.playWeek.daySet_arr[v].promoString = _global.returnRandomNightTag(_global.gameStats.playWeek.daySet_arr[v].dayIDNumber);
}
v = 0;
for (v in _global.gameStats.playWeek.daySet_arr) {
_global.gameStats.playWeek.daySet_arr[v].expEarned = 0;
_global.gameStats.playWeek.daySet_arr[v].cashEarned = 0;
_global.gameStats.playWeek.daySet_arr[v].pointsScored = 0;
_global.gameStats.playWeek.daySet_arr[v].challengeStatus = "none";
}
if (_global.gameStats.playWeek.hasPowerHour == true) {
_global.gameStats.playWeek.daySet_arr[3].promoString = "Power hour!";
}
_global.gameStats.playWeek.bCObject = _global.randomizeBCObject();
};
_global.setRandomDrinks = function () {
tempLevelDecision = Math.round(_global.playerStats.expLevel / 4);
tempDrink_arr = new Array();
i = 0;
if (_global.playerStats.expLevel > 0) {
maxDrinks = 4;
for (i in _global.drinkArr.level1Array) {
tempDrink_arr.push(_global.drinkArr.level1Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel > 2) {
maxDrinks = 4;
for (i in _global.drinkArr.level2Array) {
tempDrink_arr.push(_global.drinkArr.level2Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 4) {
maxDrinks = 4;
for (i in _global.drinkArr.level3Array) {
tempDrink_arr.push(_global.drinkArr.level3Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 6) {
maxDrinks = 4;
for (i in _global.drinkArr.level4Array) {
tempDrink_arr.push(_global.drinkArr.level4Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 8) {
maxDrinks = 5;
for (i in _global.drinkArr.level5Array) {
tempDrink_arr.push(_global.drinkArr.level5Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 10) {
maxDrinks = 5;
for (i in _global.drinkArr.level6Array) {
tempDrink_arr.push(_global.drinkArr.level6Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 15) {
maxDrinks = 6;
for (i in _global.drinkArr.level7Array) {
tempDrink_arr.push(_global.drinkArr.level7Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 20) {
maxDrinks = 6;
for (i in _global.drinkArr.level8Array) {
tempDrink_arr.push(_global.drinkArr.level8Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 25) {
maxDrinks = 7;
for (i in _global.drinkArr.level9Array) {
tempDrink_arr.push(_global.drinkArr.level9Array[i]);
}
}
i = 0;
if (_global.playerStats.expLevel >= 30) {
maxDrinks = 7;
for (i in _global.drinkArr.level10Array) {
tempDrink_arr.push(_global.drinkArr.level10Array[i]);
}
}
tDrinksArray = new Array();
tElement1 = new Array();
tElement2 = new Array();
tElement3 = new Array();
tElement4 = new Array();
tElement5 = new Array();
tElement6 = new Array();
tElement7 = new Array();
tempRandID = new Number();
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement1 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tempRandID = new Number();
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement2 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tempRandID = new Number();
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement3 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tempRandID = new Number();
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement4 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tDrinksArray.push(tElement1[0], tElement2[0], tElement3[0], tElement4[0]);
if (maxDrinks >= 5) {
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement5 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tDrinksArray.push(tElement5[0]);
}
if (maxDrinks >= 6) {
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement6 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tDrinksArray.push(tElement6[0]);
}
if (maxDrinks >= 7) {
tempRandID = Math.round(Math.random() * (tempDrink_arr.length - 1));
tElement7 = tempDrink_arr.slice(tempRandID, tempRandID + 1);
tempDrink_arr.splice(tempRandID, 1);
tDrinksArray.push(tElement7[0]);
}
return(tDrinksArray);
};
_global.returnRandomNightTag = function (nightID) {
switch (nightID) {
case 0 :
tempTag_Arr = new Array("Champagne Brunch", "Morning Bingo", "Free Donuts!", "HDTV Football", "Seniors Drink Free", "Wine Tasting");
break;
case 1 :
tempTag_Arr = new Array("Casual Monday", "N.S.D.T. Tryouts", "Ditch day party", "Case o' the mondays", "quit your job day", "best tie contest");
break;
case 2 :
tempTag_Arr = new Array("hawaiian shirt day", "tuesday trivia", "free napkin day", "early bird special", "no sales tax today!", "crazy hat day");
break;
case 3 :
tempTag_Arr = new Array("coloring contest", "all week's 1/2 off!", "free ice today!", "free pool today!", "sex-anon meeting", "dollar pints");
break;
case 4 :
tempTag_Arr = new Array("so happy it's thurs", "naked volleyball", "strip poker all day!", "happy hour", "free darts day", "rum snorting class");
break;
case 5 :
tempTag_Arr = new Array("free condom day", "happy hour", "weekend kickoff", "arm wrestling day!", "leave work early!", "'cheers' marathon");
break;
case 6 :
tempTag_Arr = new Array("free aspirin day", "beer pong tourney", "junior college day", "flip cup tourney", "caturday(?)", "super happy hour");
break;
case 7 :
tempTag_Arr = new Array("century club nite!", "Monday funday", "karaoke night", "pole dance lessons", "drunken boxing!", "board game nite");
break;
case 8 :
tempTag_Arr = new Array("topless trivia nite!", "baby oil wrestling", "tipsy tuesday", "disco night", "battle of the bands", "single moms' nite!");
break;
case 9 :
tempTag_Arr = new Array("lock & key party", "no cover- ever!", "free advice nite!", "pimps & hos nite", "graffiti party", "whack wednesday");
break;
case 10 :
tempTag_Arr = new Array("dodgeball tourney", "lingerie contest", "wet tshirt contest", "buy one get one", "locals only nite", "free jukebox nite");
break;
case 11 :
tempTag_Arr = new Array("fantasy island", "around the world", "just got laid party", "80's night", "finally friday", "live dj");
break;
case 12 :
tempTag_Arr = new Array("foam party!", "college night!", "buck night!", "ladies' night!", "party of the year!", "drunken madness!");
}
tempTagReturn = tempTag_Arr[Math.round(Math.random() * 5)];
return(tempTagReturn);
};
_global.randomizeBCObject = function () {
challengeID = Math.round(Math.random() * 8);
difficultyLevel = 0;
if (_global.playerStats.expLevel >= 6) {
difficultyLevel = 1;
}
if (_global.playerStats.expLevel >= 10) {
difficultyLevel = 2;
}
if (_global.playerStats.expLevel >= 20) {
difficultyLevel = 3;
}
if (_global.playerStats.expLevel >= 30) {
difficultyLevel = 4;
}
_global.chalObjs = new Object();
_global.chalObjs.difficultyLevel = difficultyLevel;
_global.chalObjs.breakBottles = new Object({idName:"breakBottles", stillOk:true, descNamePre:"Break no more than", descNamePost:" bottles all week."});
_global.chalObjs.balanceTransfers = new Object({idName:"balanceTransfers", stillOk:true, descNamePre:"Do more than ", descNamePost:" balance transfer(s) per shift."});
_global.chalObjs.froCos = new Object({idName:"froCos", stillOk:true, descNamePre:"Do at least ", descNamePost:" Frozen Coast(s) this week."});
_global.chalObjs.vipCards = new Object({idName:"vipCards", stillOk:true, descNamePre:"Use no more than ", descNamePost:" VIP card(s) this week."});
_global.chalObjs.pointsPerShift = new Object({idName:"pointsPerShift", stillOk:true, descNamePre:"Score at least ", descNamePost:" points per shift."});
_global.chalObjs.bottleCaps = new Object({idName:"bottleCaps", stillOk:true, descNamePre:"Catch at least ", descNamePost:" bottlecaps this week."});
_global.chalObjs.highPour = new Object({idName:"highPour", stillOk:true, descNamePre:"Use the high pour at least ", descNamePost:" times this week."});
_global.chalObjs.highCombo = new Object({idName:"highCombo", stillOk:true, descNamePre:"Bank a ", descNamePost:" point combo or higher each shift."});
_global.chalObjs.sigMoves = new Object({idName:"sigMoves", stillOk:true, descNamePre:"Use less than ", descNamePost:" signatures this week."});
_global.chalObjs.iceTricks = new Object({idName:"iceTricks", stillOk:true, descNamePre:"Do at least ", descNamePost:" ice tricks per shift."});
_global.chalObjs.breakBottles.difficulty_arr = new Array(10, 7, 5, 2, 0);
_global.chalObjs.balanceTransfers.difficulty_arr = new Array(1, 2, 3, 5, 7);
_global.chalObjs.froCos.difficulty_arr = new Array(1, 3, 4, 8, 10);
_global.chalObjs.vipCards.difficulty_arr = new Array(4, 3, 2, 1, 0);
_global.chalObjs.pointsPerShift.difficulty_arr = new Array(2000, 5000, 10000, 15000, 20000);
_global.chalObjs.bottleCaps.difficulty_arr = new Array(5, 10, 15, 20, 30);
_global.chalObjs.highPour.difficulty_arr = new Array(10, 20, 30, 40, 50);
_global.chalObjs.highCombo.difficulty_arr = new Array(1000, 2000, 3000, 4000, 5000);
_global.chalObjs.sigMoves.difficulty_arr = new Array(8, 6, 4, 3, 2);
_global.chalObjs.iceTricks.difficulty_arr = new Array(2, 4, 6, 8, 10);
_global.chalObjs.breakBottles.score = 0;
_global.chalObjs.balanceTransfers.score = 0;
_global.chalObjs.froCos.score = 0;
_global.chalObjs.vipCards.score = 0;
_global.chalObjs.pointsPerShift.score = 0;
_global.chalObjs.highPour.score = 0;
_global.chalObjs.highCombo.score = 0;
_global.chalObjs.sigMoves.score = 0;
_global.chalObjs.iceTricks.score = 0;
_global.chalObjs.bottleCaps.score = 0;
_global.chalObjs.breakBottles.term = "cumulative";
_global.chalObjs.balanceTransfers.term = "passFail";
_global.chalObjs.froCos.term = "cumulative";
_global.chalObjs.vipCards.term = "cumulative";
_global.chalObjs.pointsPerShift.term = "passFail";
_global.chalObjs.highPour.term = "cumulative";
_global.chalObjs.highCombo.term = "passFail";
_global.chalObjs.sigMoves.term = "cumulative";
_global.chalObjs.iceTricks.term = "passFail";
_global.chalObjs.bottleCaps.term = "cumulative";
_global.chalObjs.breakBottles.appraisal = function (newCount) {
_global.chalObjs.breakBottles.score = _global.chalObjs.breakBottles.score + newCount;
if (_global.chalObjs.breakBottles.score <= _global.chalObjs.breakBottles.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.breakBottles.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
_global.chalObjs.breakBottles.stillOk = false;
}
};
_global.chalObjs.balanceTransfers.appraisal = function (newCount) {
if (newCount >= _global.chalObjs.balanceTransfers.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.balanceTransfers.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.chalObjs.balanceTransfers.stillOk = false;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
}
};
_global.chalObjs.froCos.appraisal = function (newCount) {
_global.chalObjs.froCos.score = _global.chalObjs.froCos.score + newCount;
if (_global.gameStats.playWeek.currentDay == 3) {
if (_global.chalObjs.froCos.score >= _global.chalObjs.froCos.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.froCos.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
_global.chalObjs.froCos.stillOk = false;
}
}
};
_global.chalObjs.vipCards.appraisal = function (newCount) {
_global.chalObjs.vipCards.score = _global.chalObjs.vipCards.score + newCount;
if (_global.chalObjs.vipCards.score <= _global.chalObjs.vipCards.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.vipCards.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
_global.chalObjs.vipCards.stillOk = false;
}
};
_global.chalObjs.pointsPerShift.appraisal = function (newCount) {
if (newCount >= _global.chalObjs.pointsPerShift.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.pointsPerShift.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.chalObjs.pointsPerShift.stillOk = false;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
}
};
_global.chalObjs.highPour.appraisal = function (newCount) {
_global.chalObjs.highPour.score = _global.chalObjs.highPour.score + newCount;
if (_global.gameStats.playWeek.currentDay == 3) {
if (_global.chalObjs.highPour.score >= _global.chalObjs.vipCards.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.highPour.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
_global.chalObjs.highPour.stillOk = false;
}
}
};
_global.chalObjs.highCombo.appraisal = function (newCount) {
if (newCount >= _global.chalObjs.highCombo.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.highCombo.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.chalObjs.highCombo.stillOk = false;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
}
};
_global.chalObjs.sigMoves.appraisal = function (newCount) {
_global.chalObjs.sigMoves.score = _global.chalObjs.sigMoves.score + newCount;
if (_global.gameStats.playWeek.currentDay == 3) {
if (_global.chalObjs.sigMoves.score <= _global.chalObjs.vipCards.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.sigMoves.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
_global.chalObjs.sigMoves.stillOk = false;
}
}
};
_global.chalObjs.iceTricks.appraisal = function (newCount) {
if (newCount >= _global.chalObjs.iceTricks.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.iceTricks.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.chalObjs.iceTricks.stillOk = false;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
}
};
_global.chalObjs.bottleCaps.appraisal = function (newCount) {
_global.chalObjs.bottleCaps.score = _global.chalObjs.bottleCaps.score + newCount;
if (_global.gameStats.playWeek.currentDay == 3) {
if (_global.chalObjs.bottleCaps.score >= _global.chalObjs.bottleCaps.difficulty_arr[_global.chalObjs.difficultyLevel]) {
_global.chalObjs.bottleCaps.stillOk = true;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "passed";
} else {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].challengeStatus = "failed";
_global.chalObjs.bottleCaps.stillOk = false;
}
}
};
_global.chalObjs.challenges_arr = new Array(_global.chalObjs.breakBottles, _global.chalObjs.balanceTransfers, _global.chalObjs.froCos, _global.chalObjs.vipCards, _global.chalObjs.pointsPerShift, _global.chalObjs.bottleCaps, _global.chalObjs.highCombo, _global.chalObjs.sigMoves, _global.chalObjs.iceTricks);
return(_global.chalObjs.challenges_arr[challengeID]);
};
_global.setMaxCustomers = function () {
custMax = 2;
if (_global.playerStats.expLevel >= 8) {
custMax = 3;
}
if (_global.playerStats.expLevel >= 24) {
custMax = 4;
}
return(custMax);
};
Frame 7
_global.initializeRoundStats = function () {
_global.roundStats = new Object();
_global.roundStats.checklistAchievement_arr = new Array();
_global.roundStats.highCombo = new Number(0);
_global.roundStats.highBalanceTime = new Number(0);
_global.roundStats.totalBalanceTime = new Number(0);
_global.roundStats.bottlesBroken = new Number(0);
_global.roundStats.glassesBroken = new Number(0);
_global.roundStats.bottleCapsCaught = new Number(0);
_global.roundStats.mostBottlesJuggled = new Number(0);
_global.roundStats.balanceTransfers = new Number(0);
_global.roundStats.mostFlips = new Number(0);
_global.roundStats.totalFlips = new Number(0);
_global.roundStats.totalScore = new Number(0);
_global.roundStats.totalTips = new Number(0);
_global.roundStats.bestDrink = new Object();
_global.roundStats.totalGlassesCaught = new Number(0);
_global.roundStats.totalHandSpins = new Number(0);
_global.roundStats.mostGlassPopsInOneCombo = new Number(0);
_global.roundStats.mostPopsInARow = new Number(0);
_global.roundStats.totalGlassPops = new Number(0);
_global.roundStats.mostTransfersInOneCombo = new Number(0);
_global.roundStats.totalIceCubesCaught = new Number(0);
_global.roundStats.totalSupermans = new Number(0);
_global.roundStats.totalSupermanTrifectas = new Number(0);
_global.roundStats.totalCoastToCoasts = new Number(0);
_global.roundStats.totalFrozenCoasts = new Number(0);
_global.roundStats.totalFrozenCoastTrifectas = new Number(0);
_global.roundStats.vipCardsUsed = new Number(0);
_global.roundStats.perfectDrinks = new Number(0);
_global.roundStats.goodDrinks = new Number(0);
_global.roundStats.okayDrinks = new Number(0);
_global.roundStats.poorDrinks = new Number(0);
_global.roundStats.badDrinks = new Number(0);
_global.roundStats.drinksServed = new Number(0);
_global.roundStats.sigsUsed = new Number(0);
_global.demoMode.bonusRound = undefined;
_global.roundStats.totalBouncedCubesCaught = new Number(0);
_global.newShitFlags.equip = false;
_global.newShitFlags.train = false;
_global.newShitFlags.versus = false;
_global.newShitFlags.checklist = false;
_global.newShitFlags.stats = false;
_global.newShitFlags.gameSavedSinceLastRound = false;
};
_global.roundStart = function (roundID) {
_global.resetRoundVariables();
_global.canPause = true;
_global.gamePaused = false;
_global.initializeRoundStats();
_global.roundData.powerHour = 0;
_global.roundData.disableSignatures = false;
_global.roundData.maxCustomers = _global.setMaxCustomers;
_global.roundData.customerRespawnSpacing = 30;
if (_global.gameStats.playWeek.currentDay == 3) {
if (_global.gameStats.playWeek.hasPowerHour == true) {
_global.roundData.powerHour = _global.gameStats.playWeek.powerHourID;
}
}
_global.roundData.characterDrinkArray = "";
if (_global.roundData.powerHour != 0) {
_global.roundData.customersToServe = 400;
switch (_global.roundData.powerHour) {
case 1 :
_global.roundData.characterTypeArray = new Array("sporty", "sporty");
_global.roundData.characterDrinkArray = new Array(_global.drinks.beer);
break;
case 2 :
_global.roundData.characterTypeArray = new Array("trailer", "trailer");
_global.roundData.characterDrinkArray = new Array(_global.drinks.beer, _global.drinks.whiskeySour, _global.drinks.threeWiseMen);
break;
case 3 :
_global.roundData.characterTypeArray = new Array("sorority", "sorority");
_global.roundData.characterDrinkArray = new Array(_global.drinks.beer, _global.drinks.blaster, _global.drinks.adiosMotherfucker);
break;
case 4 :
_global.roundData.characterTypeArray = new Array("nerd", "nerd");
_global.roundData.characterDrinkArray = new Array(_global.drinks.singaporeSling, _global.drinks.screwdriver, _global.drinks.kamikaze, _global.drinks.capeCod);
break;
case 5 :
_global.roundData.characterTypeArray = new Array("formal", "formal");
_global.roundData.characterDrinkArray = new Array(_global.drinks.vodkaBlaster, _global.drinks.kamikaze, _global.drinks.blaster, _global.drinks.beer, _global.drinks.lemonDrop, _global.drinks.surferOnAcid);
break;
case 6 :
_global.roundData.characterTypeArray = new Array("goth", "punk", "rocker");
_global.roundData.characterDrinkArray = new Array(_global.drinks.vodkaBlaster, _global.drinks.blaster, _global.drinks.b52, _global.drinks.tequilaShot, _global.drinks.vodkaShot, _global.drinks.whiskeyShot, _global.drinks.darkRumShot, _global.drinks.lightRumShot, _global.drinks.ginShot);
break;
case 7 :
_global.roundData.characterTypeArray = new Array("sorority", "sorority");
_global.roundData.characterDrinkArray = new Array(_global.drinks.vodkaBlaster, _global.drinks.kamikaze, _global.drinks.blaster, _global.drinks.beer, _global.drinks.lemonDrop, _global.drinks.surferOnAcid, _global.drinks.longIsland);
break;
case 8 :
_global.roundData.characterTypeArray = new Array("sporty", "sporty");
_global.roundData.characterDrinkArray = new Array(_global.drinks.beer, _global.drinks.kamikaze, _global.drinks.longIsland, _global.drinks.screwdriver);
break;
case 9 :
_global.roundData.characterTypeArray = new Array("office", "office");
_global.roundData.characterDrinkArray = new Array(_global.drinks.blackRussian, _global.drinks.manhattan, _global.drinks.cosmo, _global.drinks.martini, _global.drinks.martini, _global.drinks.ginAndTonic, _global.drinks.vodkaTonic);
break;
case 10 :
_global.roundData.characterTypeArray = new Array("punk", "redneck", "office", "rocker", "hoodrat");
_global.roundData.characterDrinkArray = new Array(_global.drinks.gravedigger, _global.drinks.lethalWeapon, _global.drinks.crowbar, _global.drinks.brainDestroyer, _global.drinks.zombie, _global.drinks.bacardiStinger);
break;
case 11 :
_global.roundData.characterTypeArray = new Array("trailer", "office");
_global.roundData.characterDrinkArray = new Array(_global.drinks.whiskeyShot, _global.drinks.manhattan, _global.drinks.cosmo, _global.drinks.martini, _global.drinks.martini, _global.drinks.ginAndTonic, _global.drinks.vodkaTonic);
break;
case 12 :
_global.roundData.characterTypeArray = new Array("punk", "hippie");
_global.roundData.characterDrinkArray = new Array(_global.drinks.baySpritzer, _global.drinks.capeCod, _global.drinks.keyWestScrewDriver, _global.drinks.bayBreeze, _global.drinks.cactusJuice, _global.drinks.ginAndTonic, _global.drinks.vodkaTonic);
break;
case 13 :
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority", "rocker", "raver", "goth", "punk", "nerd", "formal", "office", "plain", "sporty", "hippie");
_global.roundData.characterDrinkArray = new Array(_global.drinks.cinderella, _global.drinks.shirleyTemple, _global.drinks.redStar, _global.drinks.cranberryJuice);
break;
case 14 :
_global.roundData.characterTypeArray = new Array("nerd", "nerd");
_global.roundData.characterDrinkArray = new Array(_global.drinks.amarettoSour, _global.drinks.redStar, _global.drinks.wardEight, _global.drinks.orangeFire, _global.drinks.abbeyCocktail);
break;
case 15 :
_global.roundData.characterTypeArray = new Array("goth", "goth");
_global.roundData.characterDrinkArray = new Array(_global.drinks.gravedigger, _global.drinks.crowbar, _global.drinks.blackMagic, _global.drinks.blackRussian, _global.drinks.ginAndSin, _global.drinks.vodkaShot);
break;
case 16 :
_global.roundData.characterTypeArray = new Array("pregnant", "pregnant");
_global.roundData.characterDrinkArray = new Array(_global.drinks.cinderella, _global.drinks.shirleyTemple, _global.drinks.redStar, _global.drinks.coke);
break;
case 17 :
_global.roundData.characterTypeArray = new Array("office", "nerd");
_global.roundData.characterDrinkArray = new Array(_global.drinks.tomCollins, _global.drinks.daiquiri, _global.drinks.whiteRussian, _global.drinks.tokyoTea, _global.drinks.cubaLibre, _global.drinks.vodkaMartini);
break;
case 18 :
_global.roundData.characterTypeArray = new Array("raver", "raver");
_global.roundData.characterDrinkArray = new Array(_global.drinks.maiTai, _global.drinks.ginDaisy, _global.drinks.kamikaze, _global.drinks.daiquiri, _global.drinks.blaster, _global.drinks.vodkaBlaster, _global.drinks.redStar);
break;
case 19 :
_global.roundData.characterTypeArray = new Array("hoodrat", "hoodrat");
_global.roundData.characterDrinkArray = new Array(_global.drinks.ginAndJuice, _global.drinks.adiosMotherfucker, _global.drinks.longIsland, _global.drinks.caribouLou, _global.drinks.kamikaze, _global.drinks.screwdriver);
break;
case 20 :
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority", "rocker", "raver", "goth", "punk", "nerd", "formal", "office", "plain", "sporty", "hippie", "pregnant", "zombie");
_global.roundData.characterDrinkArray = new Array(_global.drinks.ginAndJuice, _global.drinks.adiosMotherfucker, _global.drinks.longIsland, _global.drinks.caribouLou, _global.drinks.kamikaze, _global.drinks.screwdriver);
}
_global.roundData.currentRound = "playShift";
_global.roundData.maxCustomers = 4;
_global.demoMode.counterEnabled = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
} else {
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority", "rocker", "raver", "goth", "punk", "nerd", "formal", "office", "plain", "sporty", "hippie", "pregnant");
_global.roundData.characterDrinkArray = Math.round(_global.drinkArr[_global.playerStats.expLevel / 5]);
}
_global.roundData.currentRound = undefined;
_global.roundData.customersToServe = 20;
_global.roundData.experienceGained = 0;
_global.roundData.customersServed = 0;
_global.gameStats.roundCash = 0;
_global.roundData.vipCardMax = _global.playerStats.maxVIPCards;
_global.roundData.vipCardCurrent = _global.roundData.vipCardMax;
trace("firsttime:" + _global.gameStats.firstTime);
if (_global.gameStats.firstTime == true) {
_global.roundData.currentRound = "t0";
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority", "rocker", "raver", "goth", "punk", "nerd", "formal", "office", "plain", "sporty", "hippie", "pregnant");
_global.roundData.characterDrinkArray = Math.round(_global.drinkArr[2]);
_global.roundData.customersToServe = 20;
_global.roundData.customersServed = 0;
_global.roundData.vipCardMax = 2;
_global.roundData.vipCardCurrent = 2;
_global.roundData.maxCustomers = 4;
_global.demoMode.counterEnabled = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
} else {
switch (roundID) {
case "tutorialSection1A" :
_global.roundData.currentRound = "tutorialSection1A";
_global.roundData.characterTypeArray = new Array("sporty", "sorority");
_global.roundData.characterDrinkArray = new Array(_global.drinks.beer);
_global.roundData.customersToServe = 10;
_global.roundData.customersServed = 0;
_global.roundData.maxCustomers = 4;
_global.demoMode.counterEnabled = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "tutorialSection2C" :
_global.roundData.currentRound = "tutorialSection2D";
_global.roundData.characterTypeArray = new Array("sporty", "sorority");
_global.roundData.characterDrinkArray = new Array(_global.drinks.beer);
_global.roundData.customersToServe = 10;
_global.roundData.customersServed = 0;
_global.roundData.maxCustomers = 4;
_global.demoMode.counterEnabled = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "tutorialSection3B" :
_global.roundData.currentRound = "tutorialSection3C";
_global.roundData.characterTypeArray = new Array("sporty", "sorority");
_global.roundData.characterDrinkArray = new Array(_global.drinks.vodkaShot, _global.drinks.whiskeyShot, _global.drinks.darkRumShot, _global.drinks.lightRumShot);
_global.roundData.customersToServe = 5;
_global.roundData.customersServed = 0;
_global.roundData.maxCustomers = 2;
_global.demoMode.counterEnabled = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "tutorialSection4B" :
_global.roundData.currentRound = "tutorialSection4C";
_global.roundData.characterTypeArray = new Array("sporty", "sorority");
_global.roundData.characterDrinkArray = new Array(_global.drinks.martini, _global.drinks.screwdriver, _global.drinks.capeCod, _global.drinks.fuzzyNavel);
_global.roundData.customersToServe = 5;
_global.roundData.customersServed = 0;
_global.roundData.maxCustomers = 2;
_global.demoMode.counterEnabled = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "playShift" :
_global.roundData.currentRound = "playShift";
if (_global.roundData.powerHour == 0) {
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority", "rocker", "raver", "goth", "punk", "nerd", "formal", "office", "plain", "sporty", "hippie");
_global.roundData.characterDrinkArray = _global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].drinkSet;
_global.roundData.customersToServe = _global.nightlyCustomerCounts_arr[_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].dayIDNumber];
_global.roundData.maxCustomers = 2;
}
_global.demoMode.counterEnabled = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "arenaMode" :
_global.roundData.currentRound = "arenaMode";
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority");
_global.roundData.customersToServe = 5;
_global.roundData.maxCustomers = 2;
_global.demoMode.counterEnabled = false;
_global.demoMode.arenaMode = true;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "bonusIceStorm" :
_global.roundData.currentRound = "bonusRound";
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority");
_global.roundData.customersToServe = 5;
_global.roundData.disableSignatures = true;
_global.roundData.maxCustomers = 0;
_global.demoMode.counterEnabled = true;
_global.demoMode.bonusRound = "iceStorm";
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "bonusPerfectPour" :
_global.roundData.currentRound = "bonusRound";
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority");
_global.roundData.customersToServe = 5;
_global.roundData.disableSignatures = true;
_global.roundData.maxCustomers = 0;
_global.demoMode.counterEnabled = false;
_global.demoMode.bonusRound = "perfectPour";
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
break;
case "bonusApopalypse" :
_global.roundData.currentRound = "bonusRound";
_global.roundData.characterTypeArray = new Array("hoodrat", "trailer", "sorority");
_global.roundData.customersToServe = 5;
_global.roundData.disableSignatures = true;
_global.roundData.maxCustomers = 0;
_global.demoMode.counterEnabled = false;
_global.demoMode.bonusRound = "apopalypse";
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
}
}
};
_global.roundData.tipIncrease = function (incAmount) {
_global.roundData.averageTip = _global.gameStats.roundCash / _global.roundData.customersServed;
_global.cashDisplay.bankScore(incAmount);
};
_global.endRound = function (reason) {
if (reason == "vipFail") {
_global.gamePaused = true;
_global.playerStats.experiencePoints = _global.playerStats.experiencePoints + _global.roundData.experienceGained;
_global.bankRecords();
_global.newShitFlags.setCalendarToAdvance = false;
_global.gameWindow.attachMovie("shiftFailedScreen", "shiftFailedScreen", _global.gameWindow.getNextHighestDepth(), {_x:0, _y:0});
}
if (reason == "timeOver") {
if (_global.roundData.vipCardCurrent > -1) {
_global.gamePaused = true;
_global.playerStats.experiencePoints = _global.playerStats.experiencePoints + _global.roundData.experienceGained;
_global.gameWindow.attachMovie("roundComplete", "roundComplete", _global.gameWindow.getNextHighestDepth(), {_x:360, _y:200});
_global.newShitFlags.setCalendarToAdvance = true;
_global.advanceRound();
}
}
if (reason == "quit") {
_global.gamePaused = true;
_global.playerStats.experiencePoints = _global.playerStats.experiencePoints + _global.roundData.experienceGained;
_global.bankRecords();
_global.newShitFlags.setCalendarToAdvance = false;
_global.transitionFrom("shiftQuit");
}
if (reason == "customersDone") {
trace("from Customers Done" + _global.roundData.vipCardCurrent);
if (_global.roundData.vipCardCurrent > -1) {
_global.gamePaused = true;
_global.playerStats.experiencePoints = _global.playerStats.experiencePoints + _global.roundData.experienceGained;
_global.gameWindow.attachMovie("roundComplete", "roundComplete", _global.gameWindow.getNextHighestDepth(), {_x:360, _y:200});
_global.newShitFlags.setCalendarToAdvance = true;
_global.advanceRound();
}
}
if (reason == "playerWinsArenaMatch") {
_global.demoMode.arenaMode = false;
_global.resetRoundVariables();
_global.gamePaused = true;
_global.gameWindow.attachMovie("arenaModeWinLossScreen", "arenaModeWinLossScreen", _global.gameWindow.getNextHighestDepth(), {wonRound:true, _x:-26, _y:-2});
}
if (reason == "playerLosesArenaMatch") {
_global.demoMode.arenaMode = false;
_global.resetRoundVariables();
_global.gamePaused = true;
_global.gameWindow.attachMovie("arenaModeWinLossScreen", "arenaModeWinLossScreen", _global.gameWindow.getNextHighestDepth(), {wonRound:false, _x:-26, _y:-2});
}
};
_global.roundData.failOne = function () {
failSafe = false;
this.failSafeRoundIDs = new Array("t0", "t1");
for (i in this.failSafeRoundIDs) {
if (_global.roundData.currentRound == this.failSafeRoundIDs[i]) {
failSafe = true;
}
}
if (failSafe == false) {
if (_global.roundData.vipCardCurrent > 0) {
_global.gameStats.playWeek.vipCardsUsed++;
_global.roundData.vipCardCurrent--;
_global.vipCardDisplay.reduce();
} else {
_global.roundData.vipCardCurrent--;
_global.endRound("vipFail");
}
}
};
_global.increaseXP = function (customerLevel) {
_global.roundData.experienceGained = _global.roundData.experienceGained + customerLevel;
};
_global.transitioner = this.transitioner_mc;
_global.clearFirstTransitionFlag = function () {
tempTransArray = new Array();
i = 0;
for (i in _global.transitionFlags) {
if (i != 0) {
tempTransArray.push(_global.transitionFlags[i]);
}
}
_global.transitionFlags = tempTransArray;
};
_global.transitionToNext = function () {
i = 0;
for (i in _global.transitionFlags) {
trace((i + ": ") + _global.transitionFlags[i]);
}
switch (_global.transitionFlags[0]) {
case "tutorial" :
if (_global.roundData.currentRound == "tutorialSection1A") {
_global.roundData.disableSignatures = true;
_global.roundData.currentRound = "t0";
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
}
if (_global.roundData.currentRound == "tutorialSection2A") {
_global.roundData.disableSignatures = true;
_global.roundData.currentRound = "tutorialSection2B";
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
}
if (_global.roundData.currentRound == "tutorialSection3A") {
_global.roundData.disableSignatures = true;
_global.roundData.currentRound = "tutorialSection3B";
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
}
if (_global.roundData.currentRound == "tutorialSection4A") {
_global.roundData.disableSignatures = true;
_global.roundData.currentRound = "tutorialSection4B";
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
}
if (_global.roundData.currentRound == "tutorialSection5A") {
_global.roundData.disableSignatures = true;
_global.roundData.currentRound = "tutorialSection5B";
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
}
break;
case "levelUp" :
_global.transitioner.windowType = "levelUp";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
break;
case "calendar" :
_global.checkChecklistSetForCompletion(0);
_global.checkChecklistSetForCompletion(1);
_global.checkChecklistSetForCompletion(2);
_global.checkChecklistSetForCompletion(3);
_global.checkChecklistSetForCompletion(4);
_global.checkChecklistSetForCompletion(5);
_global.checkChecklistSetForCompletion(6);
_global.checkChecklistSetForCompletion(7);
_global.checkChecklistSetForCompletion(8);
_global.checkChecklistSetForCompletion(9);
_global.checkChecklistSetForCompletion(10);
_global.transitioner.windowType = "calendar";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
break;
case "flairTutorials" :
_global.demoMode.counterEnabled = false;
_global.refuseCustomers = true;
_global.initializeRoundStats();
_global.resetRoundVariables();
_global.roundData.disableSignatures = true;
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
break;
case "sigTutorials" :
_global.demoMode.counterEnabled = false;
_global.refuseCustomers = true;
_global.initializeRoundStats();
_global.resetRoundVariables();
_global.roundData.disableSignatures = false;
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
break;
case "arenaMode" :
_global.refuseCustomers = true;
_global.initializeRoundStats();
_global.resetRoundVariables();
_global.demoMode.counterEnabled = false;
_global.demoMode.arenaMode = true;
_global.roundData.disableSignatures = true;
_global.transitioner.nextMode = "gamePlay";
_global.gamePaused = false;
_global.transitioner.windowType = "gameWindow";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
break;
case "arenaFinishMiniScreen" :
_global.transitioner.windowType = "miniScreenArenaWin";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
break;
case "weeklyReport" :
_global.transitioner.windowType = "weeklyReport";
_global.transitioner.gotoAndPlay(1);
_global.clearFirstTransitionFlag();
}
};
_global.transitionFrom = function (fromWhat) {
if (fromWhat == "arenaFinish") {
_global.demoMode.arenaMode = false;
_global.transitionFlags.push("calendar");
}
if (fromWhat == "shiftQuit") {
_global.roundData.currentRound = "";
_global.transitionFlags.push("calendar");
}
if (fromWhat == "shiftComplete") {
if (_global.roundData.currentRound == "tutorialSection1A") {
_global.transitionFlags.push("tutorial");
}
if (_global.roundData.currentRound == "tutorialSection2A") {
_global.transitionFlags.push("tutorial");
}
if (_global.roundData.currentRound == "tutorialSection3A") {
_global.transitionFlags.push("tutorial");
}
if (_global.roundData.currentRound == "tutorialSection4A") {
_global.transitionFlags.push("tutorial");
}
if (_global.roundData.currentRound == "tutorialSection5A") {
_global.transitionFlags.push("tutorial");
}
if (_global.roundData.currentRound == "tutorialSection6A") {
}
if (_global.roundData.currentRound == "playShift") {
if (_global.gameStats.playWeek.currentDay != 3) {
_global.gameStats.playWeek.currentDay++;
_global.transitionFlags.push("calendar");
} else {
_global.transitionFlags.push("weeklyReport");
}
}
}
if (fromWhat == "tutorialComplete") {
if (_global.newShitFlags.tutorialFinished == false) {
_global.newShitFlags.setCalendarToAdvance = false;
_global.newShitFlags.tutorialFinished = true;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + 50;
_global.generateNewWeek();
}
_global.transitionFlags.push("calendar");
}
if (fromWhat == "weeklyReport") {
if (_global.nextBonusMatch != undefined) {
_global.gameStats.playWeek.currentDay = 4;
switch (_global.nextBonusMatch) {
case "perfectPour" :
_global.roundStart("bonusPerfectPour");
break;
case "iceStorm" :
_global.roundStart("bonusIceStorm");
break;
case "apopalypse" :
_global.roundStart("bonusApopalypse");
}
} else {
_global.generateNewWeek();
_global.transitionFlags.push("calendar");
}
}
if (fromWhat == "calendarToFlairTutorial") {
_global.transitionFlags.push("flairTutorials");
}
if (fromWhat == "calendarToSigTutorial") {
_global.transitionFlags.push("sigTutorials");
}
if (fromWhat == "fromBonus") {
_global.generateNewWeek();
_global.transitionFlags.push("calendar");
}
if (fromWhat == "calendarToVersusMatch") {
_global.transitionFlags.push("arenaMode");
}
_global.transitionToNext();
};
_global.gotoTutorialSection = function (sectionID) {
_global.initializeRoundStats();
_global.resetRoundVariables();
_global.refuseCustomers = false;
switch (sectionID) {
case "section1" :
_global.roundData.currentRound = "t1A";
_global.demoMode.counterEnabled = false;
_global.roundData.maxCustomers = 0;
break;
case "section2" :
_global.roundData.currentRound = "tutorialSection2A";
_global.demoMode.counterEnabled = false;
_global.roundData.maxCustomers = 0;
break;
case "section3" :
_global.roundData.currentRound = "tutorialSection3A";
_global.demoMode.counterEnabled = false;
_global.roundData.maxCustomers = 0;
break;
case "section4" :
_global.roundData.currentRound = "tutorialSection4A";
_global.demoMode.counterEnabled = false;
_global.roundData.maxCustomers = 0;
break;
case "section5" :
_global.roundData.currentRound = "tutorialSection5A";
_global.demoMode.counterEnabled = false;
_global.roundData.maxCustomers = 0;
}
_global.transitionFrom("shiftComplete");
};
if (_global.startFromSaved == true) {
_global.transitionFrom("shiftQuit");
global.startFromSaved = false;
} else {
_global.roundStart();
trace("roundStarted");
}
_global.advanceRound = function () {
switch (_global.roundData.currentRound) {
case "tutorialSection1A" :
_global.roundData.currentRound = "tutorialSection2A";
_global.demoMode.counterEnabled = false;
break;
case "tutorialSection2D" :
_global.roundData.currentRound = "tutorialSection3A";
_global.demoMode.counterEnabled = false;
break;
case "tutorialSection3C" :
_global.roundData.currentRound = "tutorialSection4A";
_global.demoMode.counterEnabled = false;
break;
case "tutorialSection4C" :
_global.roundData.currentRound = "tutorialSection5A";
_global.demoMode.counterEnabled = false;
}
};
_global.calendarShiftSelected = function (dayInfo) {
_global.refuseCustomers = false;
_global.roundData.currentRound = "playShift";
_global.roundStart("playShift");
};
stop();
Frame 12
this.timer = 0;
this.onEnterFrame = function () {
this.timer++;
redir_txt.text = "Redirecting in 0:" + Math.round(30 - (this.timer / 30));
if (this.timer >= 450) {
getURL ("http://www.flashgamelicense.com", "_self");
this.onEnterFrame = null;
}
};
Symbol 6 MovieClip [bubbleScreen] Frame 1
this.xDir = 0;
this.onEnterFrame = function () {
this._y = this._y - this.upSpeed;
this._x = this._x + this.xDir;
if ((this.cTimer = 30)) {
this.changeDirection();
}
this.cTimer++;
if (this._y < 0) {
_parent.newBubble();
this.removeMovieClip();
}
};
this.changeDirection = function () {
this.xDir = -1 + (Math.random() * 2);
this.cTimer = Math.round(Math.random() * 30);
};
this.changeDirection();
Symbol 17 MovieClip Frame 1
this.onPress = function () {
_global.savedGamePresent = false;
_global.startFromSaved = false;
_global.saveInfo.clear();
_global.saveInfo = null;
_root.play();
_parent._parent.removeMovieClip();
};
Symbol 18 MovieClip Frame 1
this.onPress = function () {
_global.savedGamePresent = true;
_global.startFromSaved = true;
_global.loadGame();
_root.play();
_parent._parent.removeMovieClip();
};
Symbol 24 MovieClip Frame 1
switch (_global.saveInfo.data.gameStats.playerCharacter) {
case "luc" :
nameVar = "Luc";
break;
case "natasha" :
nameVar = "Natasha";
break;
case "johnny" :
nameVar = "Johnny";
break;
case "judge" :
nameVar = "Judge";
break;
case "rey" :
nameVar = "Rey";
break;
case "charon" :
nameVar = "Charon";
break;
case "stunna" :
nameVar = "Stunna";
break;
case "danny" :
nameVar = "Danny";
break;
case "april" :
nameVar = "April";
break;
case "yumi" :
nameVar = "Yumi";
break;
default :
nameVar = "None";
}
if (_global.saveInfo.data.playerStats.expLevel != undefined) {
lvlText = _global.saveInfo.data.playerStats.expLevel;
} else {
lvlText = "N/A";
}
savedGameInfo_txt.text = (((("Saved Game Info:" + _global.saveInfo.data.misc) + ". ") + nameVar) + " Level: ") + lvlText;
Symbol 26 MovieClip [alertWindow] Frame 34
stop();
Symbol 29 MovieClip Frame 1
this._visible = false;
Symbol 29 MovieClip Frame 2
this._visible = true;
Symbol 29 MovieClip Frame 10
stop();
Symbol 43 MovieClip Frame 1
this.gotoAndStop(_parent._name);
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 3
stop();
Symbol 43 MovieClip Frame 4
stop();
Symbol 43 MovieClip Frame 5
stop();
Symbol 43 MovieClip Frame 6
stop();
Symbol 43 MovieClip Frame 7
stop();
Symbol 43 MovieClip Frame 8
stop();
Symbol 43 MovieClip Frame 9
stop();
Symbol 43 MovieClip Frame 10
stop();
Symbol 43 MovieClip Frame 11
stop();
Symbol 44 MovieClip Frame 1
this.gotoAndStop(_parent._parent._name);
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 4
stop();
Symbol 44 MovieClip Frame 5
stop();
Symbol 44 MovieClip Frame 6
stop();
Symbol 44 MovieClip Frame 7
stop();
Symbol 44 MovieClip Frame 8
stop();
Symbol 44 MovieClip Frame 9
stop();
Symbol 44 MovieClip Frame 10
stop();
Symbol 44 MovieClip Frame 11
stop();
Symbol 46 MovieClip Frame 1
this.onPress = function () {
if (this.locked != true) {
_parent.checklistSelected(this._name);
}
};
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 1
this.onPress = function () {
if (this.disabled == false) {
_parent.checklistSelected(this._name);
}
};
this.onRollOver = function () {
if (this.disabled == false) {
this.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (this.disabled == false) {
this.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
if (this.disabled == false) {
this.gotoAndStop(1);
}
};
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
stop();
Symbol 54 MovieClip Frame 1
this.one.idNum = 1;
this.two.idNum = 2;
this.three.idNum = 3;
this.four.idNum = 4;
this.five.idNum = 5;
this.six.idNum = 6;
this.seven.idNum = 7;
this.eight.idNum = 8;
this.nine.idNum = 9;
this.ten.idNum = 10;
this.dm.idNum = 11;
this.button_arr = new Array(this.one, this.two, this.three, this.four, this.five, this.six, this.seven, this.eight, this.nine, this.ten, this.dm);
if (_global.locked.dmChecklist == true) {
this.dm.locked = true;
this.dm._visible = false;
}
this.checklistSelected = function (byID) {
this.one.gotoAndStop(1);
this.two.gotoAndStop(1);
this.three.gotoAndStop(1);
this.four.gotoAndStop(1);
this.five.gotoAndStop(1);
this.six.gotoAndStop(1);
this.seven.gotoAndStop(1);
this.eight.gotoAndStop(1);
this.nine.gotoAndStop(1);
this.ten.gotoAndStop(1);
this.dm.gotoAndStop(1);
if ((byID != "back_mc") && (byID != "next_mc")) {
this[byID].gotoAndStop(2);
this.currentSelection = this[byID].idNum;
_parent.clGroup_mc.gotoAndStop(this[byID].idNum);
}
if (byID == "back_mc") {
this.currentSelection--;
for (xi in this.button_arr) {
if (this.button_arr[xi].idNum == this.currentSelection) {
this.checklistSelected(this.button_arr[xi]._name);
}
}
}
if (byID == "next_mc") {
this.currentSelection++;
for (xi in this.button_arr) {
if (this.button_arr[xi].idNum == this.currentSelection) {
this.checklistSelected(this.button_arr[xi]._name);
}
}
}
if (this.currentSelection == 1) {
this.back_mc.disabled = true;
this.back_mc.gotoAndStop(3);
} else {
this.back_mc.disabled = false;
this.back_mc.gotoAndStop(1);
if (byID == "back_mc") {
this.back_mc.gotoAndStop(2);
}
}
if (((this.currentSelection == 10) && (_global.locked.dmChecklist == true)) || (this.currentSelection == 11)) {
this.next_mc.disabled = true;
this.next_mc.gotoAndStop(3);
} else {
this.next_mc.disabled = false;
this.next_mc.gotoAndStop(1);
if (byID == "next_mc") {
this.next_mc.gotoAndStop(2);
}
}
};
this.checklistSelected("one");
Symbol 58 MovieClip Frame 30
stop();
Symbol 74 MovieClip Frame 1
this.checkCompleted = function () {
if (this.completed == true) {
this.gotoAndPlay(2);
} else {
this.gotoAndStop(1);
}
};
if (this.completed == true) {
this.gotoAndPlay(2);
} else {
stop();
}
Symbol 74 MovieClip Frame 30
this.gotoAndPlay(2);
Symbol 79 MovieClip Frame 1
stop();
this._visible = false;
Symbol 79 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 1
this.checkMe = function () {
_global.checkChecklistSetForCompletion[0];
this.checkArray = _global.checklistCompletion0_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 2
this.checkMe = function () {
_global.checkChecklistSetForCompletion[1];
this.checkArray = _global.checklistCompletion1_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 3
this.checkMe = function () {
_global.checkChecklistSetForCompletion[2];
this.checkArray = _global.checklistCompletion2_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 4
this.checkMe = function () {
_global.checkChecklistSetForCompletion[3];
this.checkArray = _global.checklistCompletion3_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 5
this.checkMe = function () {
_global.checkChecklistSetForCompletion[4];
this.checkArray = _global.checklistCompletion4_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 6
this.checkMe = function () {
_global.checkChecklistSetForCompletion[5];
this.checkArray = _global.checklistCompletion5_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 7
this.checkMe = function () {
_global.checkChecklistSetForCompletion[6];
this.checkArray = _global.checklistCompletion6_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 8
this.checkMe = function () {
_global.checkChecklistSetForCompletion[7];
this.checkArray = _global.checklistCompletion7_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 9
this.checkMe = function () {
_global.checkChecklistSetForCompletion[8];
this.checkArray = _global.checklistCompletion8_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 10
this.checkMe = function () {
_global.checkChecklistSetForCompletion[9];
this.checkArray = _global.checklistCompletion9_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 205 MovieClip Frame 11
this.checkMe = function () {
_global.checkChecklistSetForCompletion[10];
this.checkArray = _global.checklistCompletion10_arr;
this.item0.completed = this.checkArray[0].achieved;
this.item0.checkCompleted();
this.item1.completed = this.checkArray[1].achieved;
this.item1.checkCompleted();
this.item2.completed = this.checkArray[2].achieved;
this.item2.checkCompleted();
this.item3.completed = this.checkArray[3].achieved;
this.item3.checkCompleted();
this.item4.completed = this.checkArray[4].achieved;
this.item4.checkCompleted();
this.item5.completed = this.checkArray[5].achieved;
this.item5.checkCompleted();
this.item6.completed = this.checkArray[6].achieved;
this.item6.checkCompleted();
this.testVar = 0;
for (ct1 in this.checkArray) {
if (this.checkArray[ct1].achieved != true) {
this.testVar++;
}
}
if (this.testVar == 0) {
this.reward_mc._visible = true;
this.complete_mc._visible = true;
} else {
this.reward_mc._visible = false;
this.complete_mc._visible = false;
}
};
this.checkMe();
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
stop();
Symbol 211 MovieClip Frame 3
stop();
Symbol 216 MovieClip Frame 1
this.hitArea = this.cigar_mc.cigarHit_mc;
this.onRollOver = function () {
this.cigar_mc.cigarHit_mc.gotoAndStop("over");
};
this.onRollOut = function () {
this.cigar_mc.cigarHit_mc.gotoAndStop("static");
};
this.onPress = function () {
this.cigar_mc.cigarHit_mc.gotoAndStop("press");
};
this.onReleaseOutside = function () {
this.cigar_mc.cigarHit_mc.gotoAndStop("over");
};
this.onRelease = function () {
_parent.gotoAndPlay("showFrank");
};
Symbol 217 MovieClip Frame 1
this.onPress = function () {
_parent.advanceStep();
};
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 3
stop();
Symbol 296 MovieClip Frame 4
stop();
Symbol 296 MovieClip Frame 5
stop();
Symbol 296 MovieClip Frame 6
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 7
stop();
Symbol 296 MovieClip Frame 8
stop();
Symbol 296 MovieClip Frame 9
stop();
Symbol 296 MovieClip Frame 10
stop();
Symbol 296 MovieClip Frame 11
stop();
Symbol 296 MovieClip Frame 12
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 13
stop();
Symbol 296 MovieClip Frame 14
stop();
Symbol 296 MovieClip Frame 15
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 16
stop();
Symbol 296 MovieClip Frame 17
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 18
stop();
Symbol 296 MovieClip Frame 19
stop();
Symbol 296 MovieClip Frame 20
stop();
Symbol 296 MovieClip Frame 21
stop();
Symbol 296 MovieClip Frame 22
stop();
Symbol 296 MovieClip Frame 23
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 24
stop();
Symbol 296 MovieClip Frame 25
stop();
Symbol 296 MovieClip Frame 26
stop();
Symbol 296 MovieClip Frame 27
stop();
Symbol 296 MovieClip Frame 28
stop();
Symbol 296 MovieClip Frame 29
stop();
Symbol 296 MovieClip Frame 30
stop();
Symbol 296 MovieClip Frame 31
stop();
Symbol 296 MovieClip Frame 32
stop();
Symbol 296 MovieClip Frame 33
stop();
Symbol 296 MovieClip Frame 34
stop();
Symbol 296 MovieClip Frame 35
stop();
Symbol 296 MovieClip Frame 36
_parent.endHelp();
stop();
Symbol 296 MovieClip Frame 37
stop();
Symbol 296 MovieClip Frame 38
stop();
Symbol 296 MovieClip Frame 39
stop();
Symbol 296 MovieClip Frame 40
stop();
Symbol 296 MovieClip Frame 41
_parent.endHelp();
stop();
Symbol 298 MovieClip Frame 1
this._visible = false;
Symbol 298 MovieClip Frame 2
this._visible = true;
Symbol 298 MovieClip Frame 20
stop();
Symbol 298 MovieClip Frame 81
this.helpEnded = false;
this.bubbleText.gotoAndStop(this._name);
Symbol 298 MovieClip Frame 85
this.stepCount = 0;
this.advanceStep = function () {
if (this.helpEnded != true) {
this.stepCount++;
this.bubbleText.nextFrame();
}
};
this.endHelp = function () {
if (this.helpEnded != true) {
this.helpEnded = true;
this.gotoAndPlay("hideFrank");
this.stepCount = 0;
}
};
stop();
Symbol 298 MovieClip Frame 95
stop();
Symbol 304 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onPress = function () {
this.gotoAndStop(1);
_parent.closeOut();
};
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 306 MovieClip [checkListsScreen] Frame 2
this.closeOut = function () {
this.gotoAndPlay("closeMe");
};
_global.newShitFlags.checklist = false;
_global.lockCalendarMenu(true);
Symbol 306 MovieClip [checkListsScreen] Frame 22
stop();
Symbol 306 MovieClip [checkListsScreen] Frame 23
_global.lockCalendarMenu(false);
Symbol 306 MovieClip [checkListsScreen] Frame 30
this.removeMovieClip();
Symbol 339 Button
on (release) {
getURL ("http://www.turbogames.com/", "_blank");
}
Instance of Symbol 337 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 341 Button
on (release) {
getURL ("http://www.turbogames.com", "_blank");
}
Symbol 351 MovieClip Frame 1
var CPMStarPoolID = 1051;
var CPMStarSubPoolID = 2;
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 30
_parent._visible = false;
stop();
Symbol 358 MovieClip Frame 1
this.bubbleCount = 0;
xB = 0;
this.newBubble = function (brandNew) {
this.bubbleCount++;
xRand = Math.random() * 340;
if (brandNew != true) {
yRand = 110;
} else {
yRand = (Math.random() * 100) + 10;
}
upS = (Math.random() * 1) + 1;
rSize = (Math.random() * 1) + 1;
rAlpha = rSize * 50;
rTime = Math.round(Math.random() * 30);
this.attachMovie("bubbleScreen", "bubble" + this.bubbleCount, this.getNextHighestDepth(), {_x:xRand, _y:yRand, upSpeed:upS, _width:rSize, _height:rSize, cTimer:rTime, _alpha:rAlpha});
};
while (this.bubbleCount < 100) {
this.newBubble(true);
}
Symbol 372 MovieClip Frame 1
this.onPress = function () {
_parent.gotoAndPlay(120);
};
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 119
stop();
Symbol 373 MovieClip Frame 121
_parent.playGameStart();
this._visible = false;
stop();
Symbol 376 MovieClip Frame 1
this.onLoad = function () {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
trace(PercentLoaded);
if (PercentLoaded != 100) {
_parent.preloaderImage_mc.gotoAndStop(PercentLoaded);
_parent.preloaderImage_mc.percent_txt.text = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
} else if (_parent.beenDoneAlready != true) {
_parent.preloaderImage_mc.gotoAndPlay("loaded");
_parent.beenDoneAlready = true;
}
};
this.onEnterFrame = function () {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.preloaderImage_mc.gotoAndStop(PercentLoaded);
_parent.preloaderImage_mc.percent_txt.text = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
} else if (_parent.beenDoneAlready != true) {
_parent.preloaderImage_mc.gotoAndPlay("loaded");
_parent.beenDoneAlready = true;
}
};
Symbol 377 MovieClip Frame 1
this.playGameStart = function () {
_parent.play();
};
stop();
Symbol 6607 MovieClip [__Packages.com.darronschall.DynamicRegistration] Frame 0
class com.darronschall.DynamicRegistration
{
var xreg, yreg, localToGlobal, _parent, _x, _y, _xscale, _yscale, _rotation, _xmouse, _ymouse;
function DynamicRegistration () {
}
static function initialize(target_mc) {
var p = _global.com.darronschall.DynamicRegistration.prototype;
target_mc.xreg = 0;
target_mc.yreg = 0;
target_mc.setRegistration = p.setRegistration;
target_mc.setPropRel = p.setPropRel;
with (target_mc) {
addProperty("_x2", p.get_x2, p.set_x2);
addProperty("_y2", p.get_y2, p.set_y2);
addProperty("_xscale2", p.get_xscale2, p.set_xscale2);
addProperty("_yscale2", p.get_yscale2, p.set_yscale2);
addProperty("_rotation2", p.get_rotation2, p.set_rotation2);
addProperty("_xmouse2", p.get_xmouse2, null);
addProperty("_ymouse2", p.get_ymouse2, null);
}
}
function setRegistration(x, y) {
xreg = x;
yreg = y;
}
function get_x2() {
var _local2 = {x:xreg, y:yreg};
localToGlobal(_local2);
_parent.globalToLocal(_local2);
return(_local2.x);
}
function set_x2(value) {
var _local2 = {x:xreg, y:yreg};
localToGlobal(_local2);
_parent.globalToLocal(_local2);
_x = _x + (value - _local2.x);
}
function get_y2() {
var _local2 = {x:xreg, y:yreg};
localToGlobal(_local2);
_parent.globalToLocal(_local2);
return(_local2.y);
}
function set_y2(value) {
var _local2 = {x:xreg, y:yreg};
localToGlobal(_local2);
_parent.globalToLocal(_local2);
_y = _y + (value - _local2.y);
}
function set_xscale2(value) {
setPropRel("_xscale", value);
}
function get_xscale2() {
return(_xscale);
}
function set_yscale2(value) {
setPropRel("_yscale", value);
}
function get_yscale2() {
return(_yscale);
}
function set_rotation2(value) {
setPropRel("_rotation", value);
}
function get_rotation2() {
return(_rotation);
}
function get_xmouse2() {
return(_xmouse - xreg);
}
function get_ymouse2() {
return(_ymouse - yreg);
}
function setPropRel(property, amount) {
var _local3 = {x:xreg, y:yreg};
localToGlobal(_local3);
_parent.globalToLocal(_local3);
this[property] = amount;
var _local2 = {x:xreg, y:yreg};
localToGlobal(_local2);
_parent.globalToLocal(_local2);
_x = _x - (_local2.x - _local3.x);
_y = _y - (_local2.y - _local3.y);
}
}
Symbol 445 MovieClip Frame 1
if (this.pigeonCount == undefined) {
this.pigeonCount = 0;
}
this.delayCount = 0;
this.launchPigeon = function () {
this.pigeonCount++;
startX = (Math.random() * 300) + -40;
startY = (Math.random() * 100) + 10;
sizeMultiplier = (Math.random() * 0.5) + 0.5;
newWidth = 113 * sizeMultiplier;
newHeight = 75 * sizeMultiplier;
newAlpha = 100 * sizeMultiplier;
newRotation = Math.round(Math.random() * 20);
xSpeed = sizeMultiplier * 5;
ySpeed = -(((3 / newRotation) + 1) + 1);
xLimit = 715;
yLimit = -500;
this.attachMovie("pigeonHolder", "pigeonHolder" + this.pigeonCount, this.getNextHighestDepth(), {_x:startX, _y:startY, _width:newWidth, _height:newHeight, _alpha:newAlpha, _rotation:newRotation, xSpeed:xSpeed, ySpeed:ySpeed, xLimit:xLimit, yLimit:yLimit});
};
this.launchPigeon();
this.launchPigeon();
this.launchPigeon();
this.onEnterFrame = function () {
this.delayCount++;
if (this.delayCount == 50) {
this.launchPigeon();
}
if (this.delayCount == 70) {
this.launchPigeon();
}
if (this.delayCount == 90) {
this.launchPigeon();
this.onEnterFrame = null;
}
};
Symbol 447 MovieClip Frame 1
_global.backgroundLayer = this;
stop();
Symbol 447 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 3
stop();
Symbol 447 MovieClip Frame 4
stop();
Symbol 459 MovieClip Frame 1
this.onPress = function () {
_global.goToUrl("http://www.turbogames.com/dm-handbook.php");
};
Symbol 466 MovieClip Frame 1
this.onRelease = function () {
if ((((_global.roundData.currentRound != "tutorialSection1A") && (_global.roundData.currentRound != "tutorialSection2D")) && (_global.roundData.currentRound != "tutorialSection3C")) && (_global.roundData.currentRound != "tutorialSection4C")) {
_global.transitionFrom("shiftQuit");
_parent._parent.removeMovieClip();
} else {
switch (_global.roundData.currentRound) {
case "tutorialSection1A" :
_global.gotoTutorialSection("section1");
break;
case "tutorialSection2D" :
_global.gotoTutorialSection("section2");
break;
case "tutorialSection3C" :
_global.gotoTutorialSection("section3");
break;
case "tutorialSection4C" :
_global.gotoTutorialSection("section4");
}
}
this.enabled = false;
_parent._parent.removeMovieClip();
};
Symbol 467 MovieClip Frame 1
this._visible = false;
Symbol 467 MovieClip Frame 2
this._visible = true;
Symbol 467 MovieClip Frame 60
stop();
Symbol 469 MovieClip [shiftFailedScreen] Frame 60
stop();
Symbol 471 MovieClip Frame 2
this.onPress = function () {
};
Symbol 471 MovieClip Frame 60
this.onPress = function () {
_parent.gotoAndPlay("fadeOut");
this.enabled = false;
};
stop();
Symbol 481 MovieClip Frame 1
trace(_global.bonusRounds[_global.demoMode.bonusRound].highestMedalEarned + 1);
this.gotoAndStop(_global.bonusRounds[_global.demoMode.bonusRound].highestMedalEarned + 1);
stop();
Symbol 481 MovieClip Frame 2
stop();
Symbol 481 MovieClip Frame 3
stop();
Symbol 481 MovieClip Frame 4
stop();
Symbol 481 MovieClip Frame 5
stop();
Symbol 482 MovieClip Frame 1
if (_global.bonusRounds[_global.demoMode.bonusRound].playerScore != 0) {
this.record_txt.text = _global.bonusRounds[_global.demoMode.bonusRound].playerScore;
} else {
this._visible = false;
}
Symbol 492 MovieClip Frame 1
prefix = "";
suffix = "";
switch (_global.demoMode.bonusRound) {
case "apopalypse" :
suffix = " in a row";
break;
case "iceStorm" :
suffix = " pts.";
break;
case "perfectPour" :
prefix = "+/-";
suffix = " oz.";
break;
case "speedRack" :
prefix = "";
suffix = "";
}
this.bron_txt.text = (prefix + _global.bonusRounds[_global.demoMode.bonusRound].medalValues[0]) + suffix;
this.silv_txt.text = (prefix + _global.bonusRounds[_global.demoMode.bonusRound].medalValues[1]) + suffix;
this.gold_txt.text = (prefix + _global.bonusRounds[_global.demoMode.bonusRound].medalValues[2]) + suffix;
this.plat_txt.text = (prefix + _global.bonusRounds[_global.demoMode.bonusRound].medalValues[3]) + suffix;
Symbol 498 MovieClip Frame 1
this.gotoAndStop(_global.demoMode.bonusRound);
stop();
Symbol 498 MovieClip Frame 2
stop();
Symbol 498 MovieClip Frame 3
stop();
Symbol 498 MovieClip Frame 4
stop();
Symbol 504 MovieClip Frame 1
this._visible = false;
Symbol 504 MovieClip Frame 60
this._visible = true;
Symbol 504 MovieClip Frame 80
stop();
Symbol 511 MovieClip Frame 1
this.gotoAndStop(_global.demoMode.bonusRound);
stop();
Symbol 511 MovieClip Frame 2
stop();
Symbol 511 MovieClip Frame 3
stop();
Symbol 511 MovieClip Frame 4
stop();
Symbol 514 MovieClip Frame 1
this._visible = false;
Symbol 514 MovieClip Frame 10
this._visible = true;
Symbol 514 MovieClip Frame 60
stop();
Symbol 526 MovieClip Frame 1
this._visible = false;
Symbol 526 MovieClip Frame 60
this._visible = true;
Symbol 526 MovieClip Frame 80
this.onPress = function () {
_global.bonusDisplay.cutOut();
};
stop();
Symbol 536 MovieClip Frame 1
this.gotoAndStop(_global.demoMode.bonusRound);
stop();
Symbol 536 MovieClip Frame 2
stop();
Symbol 536 MovieClip Frame 3
stop();
Symbol 536 MovieClip Frame 4
stop();
Symbol 540 MovieClip Frame 1
this.gotoAndStop(_global.demoMode.bonusRound);
stop();
Symbol 540 MovieClip Frame 2
stop();
Symbol 540 MovieClip Frame 3
stop();
Symbol 540 MovieClip Frame 4
stop();
Symbol 544 MovieClip Frame 1
this.gotoAndStop(_global.demoMode.bonusRound);
stop();
Symbol 544 MovieClip Frame 2
stop();
Symbol 544 MovieClip Frame 3
stop();
Symbol 544 MovieClip Frame 4
stop();
Symbol 547 MovieClip Frame 1
this._visible = false;
Symbol 547 MovieClip Frame 3
if (_global.bonusRounds[_global.demoMode.bonusRound].medalPayouts[_parent.finalRating] != undefined) {
this.small_txt.text = ("$" + _global.bonusRounds[_global.demoMode.bonusRound].medalPayouts[_parent.finalRating]) + " Bonus cash awarded";
} else {
this.small_txt.text = "$20 pity cash awarded.";
}
Symbol 547 MovieClip Frame 65
this._visible = true;
Symbol 547 MovieClip Frame 70
stop();
Symbol 563 MovieClip Frame 1
this.gotoAndStop(5 - _parent._parent.finalRating);
Symbol 563 MovieClip Frame 2
stop();
Symbol 563 MovieClip Frame 3
stop();
Symbol 563 MovieClip Frame 4
stop();
Symbol 563 MovieClip Frame 5
stop();
Symbol 563 MovieClip Frame 6
stop();
Symbol 565 MovieClip Frame 1
this._visible = false;
Symbol 565 MovieClip Frame 45
this._visible = true;
Symbol 565 MovieClip Frame 65
stop();
Symbol 566 MovieClip Frame 1
switch (_global.demoMode.bonusRound) {
case "iceStorm" :
this.higherIsBetter = true;
this.evalScore = _global.roundStats.totalScore;
this.targetScore_txt.text = this.evalScore;
this.breakScore = _global.bonusDisplay.breakCount * 500;
this.minusScore_txt.text = "-" + this.breakScore;
this.finalScore = this.evalScore - this.breakScore;
this.yourScore_txt.text = this.finalScore;
break;
case "perfectPour" :
this.higherIsBetter = false;
this.finalScore = 200000 /* 0x030D40 */;
this.finalsScores_arr = new Array();
this.finalsPrefixes_arr = new Array();
for (i in _global.glassContents_arr) {
if (Math.abs(_global.glassContents_arr[i] - 2) < this.finalScore) {
this.finalScore = Math.abs(_global.glassContents_arr[i] - 2);
}
if ((_global.glassContents_arr[i] - 2) > 0) {
this.finalsPrefixes_arr.push("+");
} else {
this.finalsPrefixes_arr.push("");
}
this.finalsScores_arr.push(_global.glassContents_arr[i] - 2);
}
this.targetScore_txt.text = (this.finalsPrefixes_arr[2] + this.finalsScores_arr[2]) + " oz.";
this.minusScore_txt.text = (this.finalsPrefixes_arr[1] + this.finalsScores_arr[1]) + " oz.";
this.yourScore_txt.text = (this.finalsPrefixes_arr[0] + this.finalsScores_arr[0]) + " oz.";
_global.glassContents_arr = undefined;
break;
case "apopalypse" :
_global.gamePaused = true;
this.higherIsBetter = true;
this.finalScore = _global.bonusScore;
this.minus_mc._visible = false;
this.final_mc._visible = false;
this.targetScore_txt.text = "";
this.minusScore_txt.text = this.finalScore;
this.yourScore_txt.text = "";
_global.bonusScore = undefined;
}
if (this.higherIsBetter == true) {
if (this.finalScore < _global.bonusRounds[_global.demoMode.bonusRound].medalValues[0]) {
this.finalRating = -1;
}
if (this.finalScore >= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[0]) {
this.finalRating = 0;
}
if (this.finalScore >= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[1]) {
this.finalRating = 1;
}
if (this.finalScore >= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[2]) {
this.finalRating = 2;
}
if (this.finalScore >= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[3]) {
this.finalRating = 3;
}
if (this.finalRating >= _global.bonusRounds[_global.demoMode.bonusRound].highestMedalEarned) {
_global.bonusRounds[_global.demoMode.bonusRound].highestMedalEarned = this.finalRating;
}
if (this.finalScore >= _global.bonusRounds[_global.demoMode.bonusRound].playerScore) {
_global.bonusRounds[_global.demoMode.bonusRound].playerScore = this.finalScore;
}
} else {
if (this.finalScore > _global.bonusRounds[_global.demoMode.bonusRound].medalValues[0]) {
this.finalRating = -1;
}
if (this.finalScore <= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[0]) {
this.finalRating = 0;
}
if (this.finalScore <= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[1]) {
this.finalRating = 1;
}
if (this.finalScore <= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[2]) {
this.finalRating = 2;
}
if (this.finalScore <= _global.bonusRounds[_global.demoMode.bonusRound].medalValues[3]) {
this.finalRating = 3;
}
if (this.finalRating > _global.bonusRounds[_global.demoMode.bonusRound].highestMedalEarned) {
_global.bonusRounds[_global.demoMode.bonusRound].highestMedalEarned = this.finalRating;
}
if (this.finalScore < _global.bonusRounds[_global.demoMode.bonusRound].playerScore) {
_global.bonusRounds[_global.demoMode.bonusRound].playerScore = this.finalScore;
}
}
trace("Bonus Cash=" + _global.bonusRounds[_global.demoMode.bonusRound].medalPayouts[this.finalRating]);
if (_global.bonusRounds[_global.demoMode.bonusRound].medalPayouts[this.finalRating] != undefined) {
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + _global.bonusRounds[_global.demoMode.bonusRound].medalPayouts[this.finalRating];
_global.gameRecord.totalTips = _global.gameRecord.totalTips + _global.bonusRounds[_global.demoMode.bonusRound].medalPayouts[this.finalRating];
} else {
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + 20;
_global.gameRecord.totalTips = _global.gameRecord.totalTips + 20;
}
_global.demo.bonusRound = undefined;
_global.checkChecklistItems();
Symbol 568 MovieClip Frame 1
this._visible = false;
Symbol 568 MovieClip Frame 2
this._visible = true;
Symbol 568 MovieClip Frame 34
stop();
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 1
_global.bonusDisplay = this;
this.ditchIce = false;
this.bonusRoundOver = function () {
if (_global.demoMode.bonusRound == "iceStorm") {
this.ditchIce = true;
for (i in _parent) {
if (_parent[i].released == true) {
_parent[i].removeMovieClip();
}
}
}
this.gotoAndStop("finalRun");
};
this.cutOut = function () {
this.gotoAndPlay("cutAndRemove");
};
_global.canPause = false;
_global.gamePaused = true;
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 10
stop();
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 29
this.gotoAndStop(_global.demoMode.bonusRound);
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 30
this.frozen = true;
this.breakCount = 0;
this.cubeCount = 0;
this.iceCount = 0;
this.sessionCount = 0;
this.goTimer = 0;
_global.iceScoop.iceStorm();
this.secondTimer = 0;
this.shootIce = function () {
this.sessionCount++;
this.randomStartX = (Math.random() * 600) + 50;
if (this.randomStartX >= 325) {
this.randomDirection = -1;
} else {
this.randomDirection = 1;
}
this.randomDirection2 = (this.sessionCount / 6) * (-this.randomDirection);
this.randomDirection1 = (this.sessionCount / 6) * this.randomDirection;
this.yMomentum = 10;
this.iceCount++;
this.cubeCount++;
_parent.attachMovie("bonusCube", "bonusCube" + this.iceCount, _parent.getNextHighestDepth(), {_x:this.randomStartX, _y:5, _visible:false, released:true, yMomentum:this.yMomentum, xMomentum:this.randomDirection1, _rotation:Math.round(Math.random() * 180)});
};
this.onEnterFrame = function () {
if (this.frozen == false) {
if (this.goTimer >= 30) {
this.shootIce();
this.shootIce();
this.shootIce();
if (this.secondTimer >= 20) {
this.shootIce();
this.shootIce();
}
if (this.secondTimer >= 25) {
this.shootIce();
this.shootIce();
}
this.secondTimer++;
this.goTimer = 0;
}
if (this.secondTimer >= 30) {
this.onEnterFrame = null;
}
this.goTimer++;
}
};
stop();
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 31
_global.gamePaused = false;
_global.bonusDisplay = this;
if (_global.glassContents_arr[0] == undefined) {
_global.glassContents_arr = new Array();
}
this.addValue = function (amount) {
_global.glassContents_arr.push(amount);
if (_global.glassContents_arr.length >= 3) {
trace(_global.glassContents_arr[0]);
this.bonusRoundOver();
}
};
stop();
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 32
this.frozen = true;
_global.bonusDisplay = this;
this.glassCount = 0;
this.secondTimer = 0;
this.sessionCount = 0;
this.popUpCount = 0;
this.goTimer = 0;
_global.gamePaused = false;
this.secondTimer = 0;
this.frozen = false;
_global.roundTimerDisplay.apopalypseUpdate();
this.popped = function () {
this.popUpCount++;
_global.roundTimerDisplay.apopalypseUpdate();
};
this.endApopalypse = function () {
_global.bonusScore = this.popUpCount;
this.frozen = true;
this.bonusRoundOver();
};
this.shootGlass = function () {
this.glassCount++;
_parent._parent.glassSpawnLayer_mc.attachMovie("drinkGlass", "drinkGlass" + this.glassCount, _parent._parent.glassSpawnLayer_mc.getNextHighestDepth(), {_x:10, _y:100, glassProperties:_global.glasses.oldFashioned, apopalypse:true});
};
this.onEnterFrame = function () {
if (this.frozen == false) {
if (this.goTimer >= 30) {
if (this.secondTimer == 1) {
this.shootGlass();
}
if (this.secondTimer == 2) {
this.handspin_mc.stop();
this.handspin_mc._visible = false;
}
if (this.secondTimer == 20) {
this.shootGlass();
}
if (this.secondTimer == 30) {
this.shootGlass();
}
if (this.secondTimer == 50) {
this.shootGlass();
}
if (this.secondTimer == 70) {
this.shootGlass();
}
this.secondTimer++;
this.goTimer = 0;
}
this.goTimer++;
}
};
stop();
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 35
this.backdrop_mc.enabled = false;
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 37
stop();
Symbol 569 MovieClip [bonusRoundDisplayCase] Frame 51
_global.transitionFrom("fromBonus");
this.removeMovieClip();
Symbol 574 MovieClip Frame 1
this._visible = false;
Symbol 574 MovieClip Frame 2
this._visible = true;
Symbol 574 MovieClip Frame 30
stop();
Symbol 575 MovieClip Frame 1
this._visible = false;
Symbol 575 MovieClip Frame 2
this._visible = true;
Symbol 575 MovieClip Frame 20
stop();
Symbol 575 MovieClip Frame 81
this.helpEnded = false;
this.bubbleText.gotoAndStop(this._name);
Symbol 575 MovieClip Frame 85
this.stepCount = 0;
this.advanceStep = function () {
if (this.helpEnded != true) {
this.stepCount++;
this.bubbleText.nextFrame();
}
};
this.endHelp = function () {
if (this.helpEnded != true) {
this.helpEnded = true;
this.gotoAndPlay("hideFrank");
this.stepCount = 0;
}
};
stop();
Symbol 575 MovieClip Frame 95
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 2
stop();
Symbol 588 MovieClip Frame 3
stop();
Symbol 588 MovieClip Frame 4
stop();
Symbol 588 MovieClip Frame 5
stop();
Symbol 588 MovieClip Frame 6
stop();
Symbol 588 MovieClip Frame 7
stop();
Symbol 588 MovieClip Frame 8
stop();
Symbol 588 MovieClip Frame 9
stop();
Symbol 588 MovieClip Frame 10
stop();
Symbol 588 MovieClip Frame 11
stop();
Symbol 591 MovieClip Frame 1
this.liquorTitle_mc.gotoAndStop(_global.inventory.liquorLevel + Number(1));
stop();
Symbol 591 MovieClip Frame 15
this.liquorTitle_mc.gotoAndStop(_global.inventory.liquorLevel + Number(1));
Symbol 601 MovieClip Frame 1
this.testCash = function () {
if (_global.playerStats.cashOnHand <= _parent._parent._parent._parent.liquorUpgradeCost[_global.inventory.liquorLevel + 1]) {
this.gotoAndStop(2);
}
};
this.testCash();
stop();
Symbol 601 MovieClip Frame 2
stop();
Symbol 603 MovieClip Frame 1
this.updateInfo = function () {
this.liquorUpgrades.drinkLevel_txt.text = _global.inventory.liquorLevel;
this.liquorUpgrades.tipBonus_txt.text = _parent._parent.liquorBonus[_global.inventory.liquorLevel];
this.liquorUpgrades.liquorUpgradeCost_txt.text = "$" + _parent._parent.liquorUpgradeCost[_global.inventory.liquorLevel + 1];
this.liquorUpgrades.upgradeCostLabel.testCash();
if (_global.inventory.liquorLevel == 10) {
this.liquorUpgrades.liquorUpgradeCost_txt.text = "Max";
this.liquorUpgrades.upgradeCostLabel._visible = false;
_parent.buyButton._visible = false;
_parent.buyButton.enabled = false;
}
};
this.updateInfo();
stop();
Symbol 603 MovieClip Frame 15
this.updateInfo();
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 2
stop();
Symbol 626 MovieClip Frame 3
stop();
Symbol 626 MovieClip Frame 4
stop();
Symbol 626 MovieClip Frame 5
stop();
Symbol 626 MovieClip Frame 6
stop();
Symbol 626 MovieClip Frame 7
stop();
Symbol 626 MovieClip Frame 8
stop();
Symbol 626 MovieClip Frame 9
stop();
Symbol 626 MovieClip Frame 10
stop();
Symbol 626 MovieClip Frame 11
stop();
Symbol 630 MovieClip Frame 1
this.supplierOrb_mc.gotoAndStop(_global.inventory.liquorLevel + Number(1));
stop();
Symbol 630 MovieClip Frame 15
this.supplierOrb_mc.gotoAndStop(_global.inventory.liquorLevel + Number(1));
Symbol 637 MovieClip Frame 1
this.onRelease = function () {
_parent._parent.upgradeLiquor();
this.testCash();
};
this.onRollOver = function () {
this.gotoAndStop(2);
this.testCash();
};
this.onRollOut = function () {
this.gotoAndStop(1);
this.testCash();
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
this.testCash();
};
this.testCash = function () {
if (_global.playerStats.cashOnHand <= _parent._parent.liquorUpgradeCost[_global.inventory.liquorLevel + 1]) {
this.gotoAndStop(3);
}
};
this.testCash();
stop();
Symbol 637 MovieClip Frame 2
stop();
Symbol 637 MovieClip Frame 3
stop();
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 2
stop();
Symbol 654 MovieClip Frame 3
stop();
Symbol 654 MovieClip Frame 4
stop();
Symbol 654 MovieClip Frame 5
stop();
Symbol 654 MovieClip Frame 6
stop();
Symbol 654 MovieClip Frame 7
stop();
Symbol 655 MovieClip Frame 1
this.bottleDisplay_mc.gotoAndStop(_global.gameStats.performanceRating + Number(1));
stop();
Symbol 655 MovieClip Frame 15
this.bottleDisplay_mc.gotoAndStop(_global.gameStats.performanceRating + Number(1));
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
Symbol 663 MovieClip Frame 3
stop();
Symbol 663 MovieClip Frame 4
stop();
Symbol 663 MovieClip Frame 5
stop();
Symbol 663 MovieClip Frame 6
stop();
Symbol 663 MovieClip Frame 7
stop();
Symbol 664 MovieClip Frame 1
this.liquorTitle_mc.gotoAndStop(_global.gameStats.performanceRating + Number(1));
stop();
Symbol 664 MovieClip Frame 15
this.liquorTitle_mc.gotoAndStop(_global.gameStats.performanceRating + Number(1));
Symbol 665 MovieClip Frame 1
this.onRelease = function () {
_parent._parent.upgradePerformance();
this.testCash();
};
this.onRollOver = function () {
this.gotoAndStop(2);
this.testCash();
};
this.onRollOut = function () {
this.gotoAndStop(1);
this.testCash();
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
this.testCash();
};
this.testCash = function () {
if (_global.playerStats.cashOnHand <= _parent._parent.performanceUpgradeCost[_global.gameStats.performanceRating + 1]) {
this.gotoAndStop(3);
}
};
this.testCash();
stop();
Symbol 665 MovieClip Frame 2
stop();
Symbol 665 MovieClip Frame 3
stop();
Symbol 669 MovieClip Frame 1
this.testCash = function () {
if (_global.playerStats.cashOnHand <= _parent._parent._parent._parent.performanceUpgradeCost[_global.gameStats.performanceRating + 1]) {
this.gotoAndStop(2);
}
};
this.testCash();
stop();
Symbol 669 MovieClip Frame 2
stop();
Symbol 671 MovieClip Frame 1
this.updateInfo = function () {
this.liquorUpgrades.tipBonus_txt.text = _parent._parent.performanceBottleBonus[_global.gameStats.performanceRating];
this.liquorUpgrades.liquorUpgradeCost_txt.text = "$" + _parent._parent.performanceUpgradeCost[_global.gameStats.performanceRating + 1];
this.liquorUpgrades.upgradeCostLabel.testCash();
if (_global.gameStats.performanceRating == _global.gameStats.maxPerformanceRating) {
this.liquorUpgrades.liquorUpgradeCost_txt.text = "Max";
this.liquorUpgrades.upgradeCostLabel._visible = false;
_parent.buyButton._visible = false;
_parent.buyButton.enabled = false;
}
};
this.updateInfo();
stop();
Symbol 671 MovieClip Frame 15
this.updateInfo();
Symbol 675 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 1
if (_global.playerStats.maxVIPCards == 2) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(30);
}
Symbol 678 MovieClip Frame 1
this.onRelease = function () {
_parent._parent.upgradeVIP();
this.testCash();
};
this.onRollOver = function () {
this.gotoAndStop(2);
this.testCash();
};
this.onRollOut = function () {
this.gotoAndStop(1);
this.testCash();
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
this.testCash();
};
this.testCash = function () {
if (_global.playerStats.cashOnHand <= _global.inventory.vipCardCost) {
this.gotoAndStop(3);
}
};
this.testCash();
stop();
Symbol 678 MovieClip Frame 2
stop();
Symbol 678 MovieClip Frame 3
stop();
Symbol 682 MovieClip Frame 1
this.updateInfo = function () {
this.liquorUpgrades.liquorUpgradeCost_txt.text = "$" + _global.inventory.vipCardCost;
this.liquorUpgrades.upgradeCostLabel.testCash();
if (_global.playerStats.maxVIPCards == 3) {
this.liquorUpgrades.liquorUpgradeCost_txt.text = "Max";
this.liquorUpgrades.upgradeCostLabel._visible = false;
_parent.buyButton._visible = false;
_parent.buyButton.enabled = false;
}
};
this.updateInfo();
stop();
Symbol 682 MovieClip Frame 15
this.updateInfo();
Symbol 685 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onPress = function () {
this.gotoAndStop(1);
_parent._parent.closeOut();
};
stop();
Symbol 685 MovieClip Frame 2
stop();
Symbol 686 MovieClip Frame 30
stop();
Symbol 688 MovieClip [equipmentScreen] Frame 3
this.liquorBonus = new Array("N/A", "+20%", "+40%", "+60%", "+80%", "+100%", "+130%", "+160%", "+190%", "+200%", "+300%", "+310%");
this.liquorUpgradeCost = new Array(0, 1000, 2500, 5000, 7500, 10000, 12500, 15000, 20000, 25000, 40000, 50000);
this.performanceBottleBonus = new Array("None", "Light", "Strong", "Heavy", "Industrial", "High Impact", "Bulletproof");
this.performanceUpgradeCost = new Array(0, 2500, 5000, 7500, 10000, 25000, 50000);
this.upgradeLiquor = function () {
if (_global.inventory.liquorLevel != 10) {
if (_global.playerStats.cashOnHand >= this.liquorUpgradeCost[_global.inventory.liquorLevel + 1]) {
_global.inventory.liquorLevel++;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - this.liquorUpgradeCost[_global.inventory.liquorLevel];
trace(this.liquorUpgradeCost[_global.inventory.liquorLevel]);
this.distributorModule_mc.liquorDisplay_mc.gotoAndPlay(2);
this.distributorModule_mc.liquorTitle_mc.gotoAndPlay(2);
this.distributorModule_mc.liquorInfoExtra.gotoAndPlay(2);
_global.cashDisplay_mc.updateCash();
}
}
};
this.upgradePerformance = function () {
if (_global.gameStats.performanceRating != 6) {
if (_global.playerStats.cashOnHand >= this.performanceUpgradeCost[_global.gameStats.performanceRating + 1]) {
_global.gameStats.performanceRating++;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - this.performanceUpgradeCost[_global.gameStats.performanceRating];
this.performanceUpModule_mc.bottleUpgrade_mc.gotoAndPlay(2);
this.performanceUpModule_mc.liquorTitle_mc.gotoAndPlay(2);
this.performanceUpModule_mc.liquorInfoExtra.gotoAndPlay(2);
_global.cashDisplay_mc.updateCash();
}
}
};
this.upgradeVIP = function () {
if (_global.playerStats.maxVIPCards != 3) {
if (_global.playerStats.cashOnHand >= _global.inventory.vipCardCost) {
_global.playerStats.maxVIPCards = 3;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - _global.inventory.vipCardCost;
this.vipModule_mc.bottleUpgrade_mc.gotoAndPlay(2);
this.vipModule_mc.liquorInfoExtra.gotoAndStop(2);
_global.cashDisplay_mc.updateCash();
}
}
};
this.closeOut = function () {
this.gotoAndPlay("leaveFrame");
};
_global.newShitFlags.equip = false;
_global.lockCalendarMenu(true);
Symbol 688 MovieClip [equipmentScreen] Frame 80
stop();
Symbol 688 MovieClip [equipmentScreen] Frame 81
_global.lockCalendarMenu(false);
Symbol 688 MovieClip [equipmentScreen] Frame 91
this.removeMovieClip();
Symbol 700 MovieClip Frame 1
this.nameSwap = function (oldName) {
extendedInfo = new Object();
switch (oldName) {
case "danny" :
extendedInfo.newName = "Danny Kieran";
extendedInfo.genderMale = true;
break;
case "april" :
extendedInfo.newName = "April Showers";
extendedInfo.genderMale = false;
break;
case "charon" :
extendedInfo.newName = "Charon St. Croix";
extendedInfo.genderMale = false;
break;
case "johnny" :
extendedInfo.newName = "J.Valentine";
extendedInfo.genderMale = true;
break;
case "judge" :
extendedInfo.newName = "The Judge";
extendedInfo.genderMale = true;
break;
case "luc" :
extendedInfo.newName = "Luc Brelan";
extendedInfo.genderMale = true;
break;
case "natasha" :
extendedInfo.newName = "N. Severnaya";
extendedInfo.genderMale = false;
break;
case "rey" :
extendedInfo.newName = "Rey Conquista";
extendedInfo.genderMale = true;
break;
case "stunna" :
extendedInfo.newName = "Stunna";
extendedInfo.genderMale = true;
break;
case "yumi" :
extendedInfo.genderMale = false;
extendedInfo.newName = "Yumi Nagata";
}
return(extendedInfo);
};
this.enemyName.text = this.nameSwap(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName).newName;
this.scoreText.text = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].averageScore;
Symbol 701 MovieClip Frame 1
this._visible = false;
if (_global.gameStats.battleLadderProgress >= 8) {
this.stop();
}
Symbol 701 MovieClip Frame 2
this._visible = true;
Symbol 701 MovieClip Frame 23
stop();
Symbol 706 MovieClip Frame 1
this._visible = false;
Symbol 706 MovieClip Frame 2
this._visible = true;
Symbol 706 MovieClip Frame 35
stop();
Symbol 727 MovieClip Frame 1
this.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
stop();
Symbol 727 MovieClip Frame 2
stop();
Symbol 727 MovieClip Frame 3
stop();
Symbol 727 MovieClip Frame 4
stop();
Symbol 727 MovieClip Frame 5
stop();
Symbol 727 MovieClip Frame 6
stop();
Symbol 727 MovieClip Frame 7
stop();
Symbol 727 MovieClip Frame 8
stop();
Symbol 727 MovieClip Frame 9
stop();
Symbol 727 MovieClip Frame 10
stop();
Symbol 728 MovieClip Frame 1
if (_global.gameStats.battleLadderProgress >= 8) {
this._visible = false;
this.stop();
}
this.enemyImage.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
Symbol 728 MovieClip Frame 15
stop();
Symbol 731 MovieClip Frame 1
this.onPress = function () {
_global.lockCalendarMenu(false);
if (_global.gameStats.battleLadderProgress < 8) {
_global.roundData.currentRound = "arenaMode";
_global.transitionFrom("calendarToVersusMatch");
this.enabled = false;
}
};
stop();
Symbol 731 MovieClip Frame 2
stop();
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 2
stop();
Symbol 752 MovieClip Frame 3
stop();
Symbol 752 MovieClip Frame 4
stop();
Symbol 752 MovieClip Frame 5
stop();
Symbol 752 MovieClip Frame 6
stop();
Symbol 752 MovieClip Frame 7
stop();
Symbol 752 MovieClip Frame 8
stop();
Symbol 752 MovieClip Frame 9
stop();
Symbol 752 MovieClip Frame 10
stop();
Symbol 754 MovieClip Frame 1
if (_global.gameStats.battleLadderProgress >= 8) {
this._visible = false;
}
image1 = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress - 1].shortName;
image2 = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName;
image3 = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress + 1].shortName;
image4 = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress + 2].shortName;
if ((_global.gameStats.battleLadderProgress + 3) != 9) {
image5 = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress + 3].shortName;
}
if (image1 != undefined) {
this.faceImage0.gotoAndStop(image1);
} else {
this.faceImage0._visible = false;
}
if (image2 != undefined) {
this.faceImage1.gotoAndStop(image2);
} else {
this.faceImage1._visible = false;
}
if (image3 != undefined) {
this.faceImage2.gotoAndStop(image3);
} else {
this.faceImage2._visible = false;
}
if (image4 != undefined) {
this.faceImage3.gotoAndStop(image4);
} else {
this.faceImage3._visible = false;
}
if (image5 != undefined) {
this.faceImage4.gotoAndStop(image5);
} else {
this.faceImage4._visible = false;
}
Symbol 755 MovieClip Frame 1
this._visible = false;
_global.lockCalendarMenu(true);
Symbol 755 MovieClip Frame 2
this._visible = true;
Symbol 755 MovieClip Frame 48
stop();
Symbol 762 MovieClip Frame 1
if (_global.gameStats.battleLadderProgress >= 8) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 763 MovieClip [screens_arenaModeMain] Frame 1
this.closeOut = function () {
_global.lockCalendarMenu(false);
this.removeMovieClip();
};
Symbol 763 MovieClip [screens_arenaModeMain] Frame 5
stop();
Symbol 765 MovieClip Frame 1
this._visible = false;
Symbol 765 MovieClip Frame 2
this._visible = true;
Symbol 765 MovieClip Frame 10
stop();
Symbol 769 MovieClip Frame 1
this.onRollOver = function () {
if (_parent.button_mc.currentState != "disabled") {
this.gotoAndPlay(2);
_parent.button_mc.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (_parent.button_mc.currentState != "disabled") {
this.gotoAndPlay(6);
_parent.button_mc.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
if (_parent.button_mc.currentState != "disabled") {
this.gotoAndPlay(6);
_parent.button_mc.gotoAndStop(1);
}
};
this.onPress = function () {
if (_parent.button_mc.currentState != "disabled") {
this.gotoAndPlay(6);
_parent._parent.trainingSelected(_parent.affinity);
}
};
stop();
Symbol 769 MovieClip Frame 5
stop();
Symbol 774 Button
on (release) {
getURL ("http://www.turbogames.com/dm-handbook.php", "_blank");
}
Symbol 778 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 778 MovieClip Frame 2
stop();
Symbol 778 MovieClip Frame 3
stop();
Symbol 778 MovieClip Frame 4
stop();
Symbol 787 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 787 MovieClip Frame 2
stop();
Symbol 787 MovieClip Frame 3
stop();
Symbol 787 MovieClip Frame 4
stop();
Symbol 796 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 796 MovieClip Frame 2
stop();
Symbol 796 MovieClip Frame 3
stop();
Symbol 796 MovieClip Frame 4
stop();
Symbol 797 MovieClip Frame 1
this.gotoAndStop(_parent.buttonState);
stop();
Symbol 797 MovieClip Frame 2
stop();
Symbol 797 MovieClip Frame 3
stop();
Symbol 798 MovieClip Frame 1
this.evaluateState = function () {
this.button_mc.buttonImage_mc.evaluateAffinity();
this.label_mc.evaluateAffinity();
this.upgrade_mc.gotoAndStop(2);
for (i in _global.gameStats.battleLadder_arr) {
if (_global.gameStats.battleLadder_arr[i].sigID == this.affinity) {
if (_global.gameStats.battleLadder_arr[i].specialUnlocked == false) {
this.upgrade_mc.gotoAndStop(1);
this.buttonState = "isDisabled";
this.clickTrain_mc._visible = false;
this.moduleBack_mc.enabled = false;
this.button_mc.currentState = "disabled";
}
}
}
};
this.evaluateState();
Symbol 802 MovieClip Frame 30
stop();
Symbol 807 MovieClip Frame 1
this.onRollOver = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(1);
}
};
this.onPress = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent._parent.trainingSelected(_parent.affinity);
}
};
Symbol 816 MovieClip Frame 1
stop();
Symbol 816 MovieClip Frame 2
stop();
Symbol 816 MovieClip Frame 3
stop();
Symbol 816 MovieClip Frame 4
stop();
Symbol 816 MovieClip Frame 5
stop();
Symbol 816 MovieClip Frame 6
stop();
Symbol 816 MovieClip Frame 7
stop();
Symbol 816 MovieClip Frame 8
stop();
Symbol 825 MovieClip Frame 1
this.evaluateState = function () {
this.gotoAndStop(this.currentState);
};
this.evaluateState();
this.onRollOver = function () {
if (this.currentState != "isDisabled") {
this.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (this.currentState != "isDisabled") {
this.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
if (this.currentState != "isDisabled") {
this.gotoAndStop(1);
}
};
this.onPress = function () {
if (this.currentState != "isDisabled") {
_parent.buyItem();
}
};
stop();
Symbol 825 MovieClip Frame 2
stop();
Symbol 825 MovieClip Frame 3
stop();
Symbol 840 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 840 MovieClip Frame 2
stop();
Symbol 840 MovieClip Frame 3
stop();
Symbol 840 MovieClip Frame 4
stop();
Symbol 840 MovieClip Frame 5
stop();
Symbol 840 MovieClip Frame 6
stop();
Symbol 840 MovieClip Frame 7
stop();
Symbol 840 MovieClip Frame 8
stop();
Symbol 840 MovieClip Frame 9
stop();
Symbol 840 MovieClip Frame 10
stop();
Symbol 840 MovieClip Frame 11
stop();
Symbol 840 MovieClip Frame 12
stop();
Symbol 840 MovieClip Frame 13
stop();
Symbol 840 MovieClip Frame 14
stop();
Symbol 867 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 867 MovieClip Frame 2
stop();
Symbol 867 MovieClip Frame 3
stop();
Symbol 867 MovieClip Frame 4
stop();
Symbol 867 MovieClip Frame 5
stop();
Symbol 867 MovieClip Frame 6
stop();
Symbol 867 MovieClip Frame 7
stop();
Symbol 867 MovieClip Frame 8
stop();
Symbol 867 MovieClip Frame 9
stop();
Symbol 867 MovieClip Frame 10
stop();
Symbol 867 MovieClip Frame 11
stop();
Symbol 867 MovieClip Frame 12
stop();
Symbol 867 MovieClip Frame 13
stop();
Symbol 867 MovieClip Frame 14
stop();
Symbol 894 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 894 MovieClip Frame 2
stop();
Symbol 894 MovieClip Frame 3
stop();
Symbol 894 MovieClip Frame 4
stop();
Symbol 894 MovieClip Frame 5
stop();
Symbol 894 MovieClip Frame 6
stop();
Symbol 894 MovieClip Frame 7
stop();
Symbol 894 MovieClip Frame 8
stop();
Symbol 894 MovieClip Frame 9
stop();
Symbol 894 MovieClip Frame 10
stop();
Symbol 894 MovieClip Frame 11
stop();
Symbol 894 MovieClip Frame 12
stop();
Symbol 894 MovieClip Frame 13
stop();
Symbol 894 MovieClip Frame 14
stop();
Symbol 897 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 897 MovieClip Frame 2
stop();
Symbol 897 MovieClip Frame 3
stop();
Symbol 897 MovieClip Frame 4
stop();
Symbol 897 MovieClip Frame 5
stop();
Symbol 897 MovieClip Frame 6
stop();
Symbol 897 MovieClip Frame 7
stop();
Symbol 897 MovieClip Frame 8
stop();
Symbol 897 MovieClip Frame 9
stop();
Symbol 897 MovieClip Frame 10
stop();
Symbol 897 MovieClip Frame 11
stop();
Symbol 897 MovieClip Frame 12
stop();
Symbol 897 MovieClip Frame 13
stop();
Symbol 897 MovieClip Frame 14
stop();
Symbol 898 MovieClip Frame 1
this.gotoAndStop(_parent.buttonState);
stop();
Symbol 898 MovieClip Frame 2
stop();
Symbol 898 MovieClip Frame 3
stop();
Symbol 905 MovieClip Frame 1
if ((this.affinity == "bottlePop") && (_global.locked.bottlePopLocked != false)) {
this.currentState = "disabled";
this.button_mc.currentState = "disabled";
this.locked_mc._visible = true;
} else {
this.locked_mc._visible = false;
}
this.evaluateState = function () {
this.button_mc.buttonImage_mc.evaluateAffinity();
this.label_mc.evaluateAffinity();
this.buy_mc.enabled = false;
this.buy_mc._visible = false;
this.buy_mc.currentState = "isStatic";
this.buy_mc.evaluateState();
this.upgrade_mc.gotoAndStop(this.affinity);
this.upgrade_mc._visible = false;
switch (this.affinity) {
case "popUp0" :
if ((_global.flairUpgrades.popUpLevel == 0) && (_global.locked.popUpIILocked != true)) {
this.buy_mc.currentState = "isStatic";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
}
if ((_global.flairUpgrades.popUpLevel == 0) && (_global.locked.popUpIILocked == true)) {
this.buy_mc.currentState = "isDisabled";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
this.upgrade_mc.gotoAndStop("popUp0Locked");
}
break;
case "balance0" :
if ((_global.flairUpgrades.balanceLevel == 0) && (_global.locked.balanceAssist != true)) {
this.buy_mc.currentState = "isStatic";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
}
if ((_global.flairUpgrades.balanceLevel == 0) && (_global.locked.balanceAssist == true)) {
this.buy_mc.currentState = "isDisabled";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
this.upgrade_mc.gotoAndStop("balance0Locked");
}
break;
case "handSpin0" :
if ((_global.flairUpgrades.handSpinLevel == 0) && (_global.locked.handSpinIILocked != true)) {
this.buy_mc.currentState = "isStatic";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
}
if ((_global.flairUpgrades.handSpinLevel == 0) && (_global.locked.handSpinIILocked == true)) {
this.buy_mc.currentState = "isDisabled";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
this.upgrade_mc.gotoAndStop("handSpin0Locked");
}
break;
case "handSpin1" :
if ((_global.flairUpgrades.handSpinLevel == 1) && (_global.locked.handSpinIIILocked != true)) {
this.buy_mc.currentState = "isStatic";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
}
if (!((_global.flairUpgrades.handSpinLevel == 1) && (_global.locked.handSpinIIILocked == true))) {
break;
}
this.buy_mc.currentState = "isDisabled";
this.buy_mc._visible = true;
this.buy_mc.enabled = true;
this.upgrade_mc._visible = true;
this.upgrade_mc.gotoAndStop("handSpin1Locked");
}
};
this.buyItem = function () {
switch (this.affinity) {
case "popUp0" :
if ((_global.flairUpgrades.popUpLevel == 0) && (_global.locked.popUpIILocked != true)) {
if (_global.playerStats.cashOnHand >= 5000) {
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - 5000;
_global.flairUpgrades.popUpLevel = 1;
this.affinity = "popUp1";
this.evaluateState();
}
}
break;
case "balance0" :
if ((_global.flairUpgrades.balanceLevel == 0) && (_global.locked.balanceAssist != true)) {
if (_global.playerStats.cashOnHand >= 1000) {
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - 1000;
_global.flairUpgrades.balanceLevel = 1;
this.affinity = "balance1";
this.evaluateState();
}
}
break;
case "handSpin0" :
if ((_global.flairUpgrades.handSpinLevel == 0) && (_global.locked.handSpinIILocked != true)) {
if (_global.playerStats.cashOnHand >= 2500) {
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - 250;
_global.flairUpgrades.handSpinLevel = 1;
this.affinity = "handSpin1";
this.evaluateState();
}
}
break;
case "handSpin1" :
if (!((_global.flairUpgrades.handSpinLevel == 1) && (_global.locked.handSpinIIILocked != true))) {
break;
}
if (_global.playerStats.cashOnHand < 10000) {
break;
}
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand - 10000;
_global.flairUpgrades.handSpinLevel = 2;
this.affinity = "handSpin2";
this.evaluateState();
}
};
this.evaluateState();
Symbol 909 MovieClip Frame 30
stop();
Symbol 910 MovieClip Frame 1
this.flips_mc.affinity = "flip";
this.balance_mc.affinity = "balance" + _global.flairUpgrades.balanceLevel;
this.handSpin_mc.affinity = "handSpin" + _global.flairUpgrades.handSpinLevel;
this.balanceTransfer_mc.affinity = "balanceTransfer";
this.popUp_mc.affinity = "popUp" + _global.flairUpgrades.popUpLevel;
this.bottlePop_mc.affinity = "bottlePop";
this.superman_mc.affinity = "superman";
this.highPour_mc.affinity = "highPour";
this.iceCatch_mc.affinity = "iceCatch";
this.coast2Coast_mc.affinity = "coast2Coast";
this.trainingSelected = function (whichTraining) {
trace(whichTraining);
if (((whichTraining == "handSpin0") || (whichTraining == "handSpin1")) || (whichTraining == "handSpin2")) {
whichTraining = "handSpin";
}
switch (whichTraining) {
case "flip" :
_global.roundData.currentRound = "tutorialFlip";
break;
case "balance0" :
_global.roundData.currentRound = "tutorialBalance";
break;
case "balance1" :
_global.roundData.currentRound = "tutorialBalance";
break;
case "handSpin" :
_global.roundData.currentRound = "tutorialHandSpin";
break;
case "balanceTransfer" :
_global.roundData.currentRound = "tutorialBalanceTransfer";
break;
case "popUp0" :
_global.roundData.currentRound = "tutorialGlassPop";
break;
case "popUp1" :
_global.roundData.currentRound = "tutorialGlassPop";
break;
case "bottlePop" :
_global.roundData.currentRound = "tutorialBottlePop";
break;
case "superman" :
_global.roundData.currentRound = "tutorialSuperman";
break;
case "highPour" :
_global.roundData.currentRound = "tutorialHighPour";
break;
case "iceCatch" :
_global.roundData.currentRound = "tutorialIceCatch";
break;
case "coast2Coast" :
_global.roundData.currentRound = "tutorialCoast2Coast";
}
_global.transitionFrom("calendarToFlairTutorial");
};
Symbol 910 MovieClip Frame 90
stop();
Symbol 910 MovieClip Frame 97
_parent.gotoAndPlay("dropIn");
stop();
Symbol 912 MovieClip Frame 1
this.onRollOver = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(1);
}
};
this.onPress = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent._parent.trainingSelected(_parent.affinity);
}
};
Symbol 919 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 919 MovieClip Frame 2
stop();
Symbol 919 MovieClip Frame 3
stop();
Symbol 919 MovieClip Frame 4
stop();
Symbol 919 MovieClip Frame 5
stop();
Symbol 930 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 930 MovieClip Frame 2
stop();
Symbol 930 MovieClip Frame 3
stop();
Symbol 930 MovieClip Frame 4
stop();
Symbol 930 MovieClip Frame 5
stop();
Symbol 941 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 941 MovieClip Frame 2
stop();
Symbol 941 MovieClip Frame 3
stop();
Symbol 941 MovieClip Frame 4
stop();
Symbol 941 MovieClip Frame 5
stop();
Symbol 942 MovieClip Frame 1
this.gotoAndStop(_parent.buttonState);
stop();
Symbol 942 MovieClip Frame 2
stop();
Symbol 950 MovieClip Frame 1
this._visible = false;
Symbol 950 MovieClip Frame 2
this._visible = true;
Symbol 950 MovieClip Frame 30
stop();
Symbol 951 MovieClip Frame 1
this.flips_mc.affinity = "section1";
this.balance_mc.affinity = "section2";
this.handSpin_mc.affinity = "section3";
this.balanceTransfer_mc.affinity = "section4";
this.popUp_mc.affinity = "section5";
this.trainingSelected = function (whichTraining) {
trace(whichTraining);
_global.gotoTutorialSection(whichTraining);
};
Symbol 951 MovieClip Frame 90
stop();
Symbol 951 MovieClip Frame 97
_parent.gotoAndPlay("dropIn");
stop();
Symbol 952 MovieClip Frame 1
this.onRollOver = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent.button_mc.gotoAndStop(1);
}
};
this.onPress = function () {
if (_parent.button_mc.currentState != "disabled") {
_parent._parent.trainingSelected(_parent.affinity, _parent.idNumber);
}
};
Symbol 964 MovieClip Frame 1
this.gotoAndStop(_parent._parent.affinity);
stop();
Symbol 964 MovieClip Frame 2
stop();
Symbol 964 MovieClip Frame 3
stop();
Symbol 964 MovieClip Frame 4
stop();
Symbol 964 MovieClip Frame 5
stop();
Symbol 964 MovieClip Frame 6
stop();
Symbol 964 MovieClip Frame 7
stop();
Symbol 964 MovieClip Frame 8
stop();
Symbol 964 MovieClip Frame 9
stop();
Symbol 964 MovieClip Frame 10
stop();
Symbol 975 MovieClip Frame 1
this.gotoAndStop(_parent._parent.affinity);
stop();
Symbol 975 MovieClip Frame 2
stop();
Symbol 975 MovieClip Frame 3
stop();
Symbol 975 MovieClip Frame 4
stop();
Symbol 975 MovieClip Frame 5
stop();
Symbol 975 MovieClip Frame 6
stop();
Symbol 975 MovieClip Frame 7
stop();
Symbol 975 MovieClip Frame 8
stop();
Symbol 975 MovieClip Frame 9
stop();
Symbol 975 MovieClip Frame 10
stop();
Symbol 976 MovieClip Frame 1
stop();
Symbol 976 MovieClip Frame 2
stop();
Symbol 987 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 987 MovieClip Frame 2
stop();
Symbol 987 MovieClip Frame 3
stop();
Symbol 987 MovieClip Frame 4
stop();
Symbol 987 MovieClip Frame 5
stop();
Symbol 987 MovieClip Frame 6
stop();
Symbol 987 MovieClip Frame 7
stop();
Symbol 987 MovieClip Frame 8
stop();
Symbol 987 MovieClip Frame 9
stop();
Symbol 987 MovieClip Frame 10
stop();
Symbol 1008 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 1008 MovieClip Frame 2
stop();
Symbol 1008 MovieClip Frame 3
stop();
Symbol 1008 MovieClip Frame 4
stop();
Symbol 1008 MovieClip Frame 5
stop();
Symbol 1008 MovieClip Frame 6
stop();
Symbol 1008 MovieClip Frame 7
stop();
Symbol 1008 MovieClip Frame 8
stop();
Symbol 1008 MovieClip Frame 9
stop();
Symbol 1008 MovieClip Frame 10
stop();
Symbol 1029 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 1029 MovieClip Frame 2
stop();
Symbol 1029 MovieClip Frame 3
stop();
Symbol 1029 MovieClip Frame 4
stop();
Symbol 1029 MovieClip Frame 5
stop();
Symbol 1029 MovieClip Frame 6
stop();
Symbol 1029 MovieClip Frame 7
stop();
Symbol 1029 MovieClip Frame 8
stop();
Symbol 1029 MovieClip Frame 9
stop();
Symbol 1029 MovieClip Frame 10
stop();
Symbol 1050 MovieClip Frame 1
this.evaluateAffinity = function () {
this.gotoAndStop(_parent._parent.affinity);
};
this.evaluateAffinity();
stop();
Symbol 1050 MovieClip Frame 2
stop();
Symbol 1050 MovieClip Frame 3
stop();
Symbol 1050 MovieClip Frame 4
stop();
Symbol 1050 MovieClip Frame 5
stop();
Symbol 1050 MovieClip Frame 6
stop();
Symbol 1050 MovieClip Frame 7
stop();
Symbol 1050 MovieClip Frame 8
stop();
Symbol 1050 MovieClip Frame 9
stop();
Symbol 1050 MovieClip Frame 10
stop();
Symbol 1051 MovieClip Frame 1
this.gotoAndStop(_parent.buttonState);
stop();
Symbol 1051 MovieClip Frame 2
stop();
Symbol 1051 MovieClip Frame 3
stop();
Symbol 1052 MovieClip Frame 1
this.evaluateState = function () {
this.button_mc.buttonImage_mc.evaluateAffinity();
this.label_mc.evaluateAffinity();
this.upgrade_mc.gotoAndStop(2);
for (i in _global.gameStats.battleLadder_arr) {
if (_global.gameStats.battleLadder_arr[i].sigID == this.affinity) {
if (_global.gameStats.battleLadder_arr[i].specialUnlocked == false) {
this.upgrade_mc.gotoAndStop(1);
this.buttonState = "isDisabled";
this.clickTrain_mc._visible = false;
this.moduleBack_mc.enabled = false;
this.button_mc.currentState = "disabled";
}
}
}
};
this.evaluateState();
Symbol 1056 MovieClip Frame 30
stop();
Symbol 1057 MovieClip Frame 1
this.flips_mc.affinity = _global.gameStats.battleLadder_arr[0].sigID;
this.flips_mc.idNumber = 0;
this.balance_mc.affinity = _global.gameStats.battleLadder_arr[1].sigID;
this.balance_mc.idNumber = 1;
this.handSpin_mc.affinity = _global.gameStats.battleLadder_arr[2].sigID;
this.handSpin_mc.idNumber = 2;
this.balanceTransfer_mc.affinity = _global.gameStats.battleLadder_arr[3].sigID;
this.balanceTransfer_mc.idNumber = 3;
this.popUp_mc.affinity = _global.gameStats.battleLadder_arr[4].sigID;
this.popUp_mc.idNumber = 4;
this.superman_mc.affinity = _global.gameStats.battleLadder_arr[5].sigID;
this.superman_mc.idNumber = 5;
this.highPour_mc.affinity = _global.gameStats.battleLadder_arr[6].sigID;
this.highPour_mc.idNumber = 6;
this.iceCatch_mc.affinity = _global.gameStats.battleLadder_arr[7].sigID;
this.iceCatch_mc.idNumber = 7;
this.coast2Coast_mc.affinity = _global.gameStats.battleLadder_arr[8].sigID;
this.coast2Coast_mc.idNumber = 8;
this.bottlePop_mc.affinity = _global.gameStats.battleLadder_arr[9].sigID;
this.bottlePop_mc.idNumber = 9;
this.trainingSelected = function (whichTraining, idNumber) {
_global.trainingSignatureMoveSigID = whichTraining;
_global.roundData.currentRound = "signatureTrain";
_global.trainingSignatureMoveSigNumber = idNumber;
_global.transitionFrom("calendarToSigTutorial");
};
Symbol 1057 MovieClip Frame 90
stop();
Symbol 1057 MovieClip Frame 97
_parent.gotoAndPlay("dropIn");
Symbol 1058 MovieClip [trainingScreen] Frame 1
this.employeeHandbook_mc.affinity = "handbook";
this.flairing_mc.affinity = "flair";
this.signatures_mc.affinity = "sigs";
this.tutorials_mc.affinity = "tutorial";
this.trainingSelected = function (whichTraining) {
if (whichTraining != "handbook") {
this.switchTo = whichTraining;
this.gotoAndPlay("pullOut");
} else {
_global.controlFunctions.loadSponsorTips();
}
};
Symbol 1058 MovieClip [trainingScreen] Frame 3
this.closeOut = function () {
if ((((this._currentframe != 98) && (this._currentframe != 99)) && (this._currentframe != 100)) && (this._currentframe != 101)) {
this.gotoAndPlay("closeOut");
} else {
this.screen_mc.gotoAndPlay("closeOut");
}
};
_global.newShitFlags.train = false;
_global.lockCalendarMenu(true);
Symbol 1058 MovieClip [trainingScreen] Frame 91
stop();
Symbol 1058 MovieClip [trainingScreen] Frame 97
this.gotoAndPlay(this.switchTo);
Symbol 1058 MovieClip [trainingScreen] Frame 98
stop();
Symbol 1058 MovieClip [trainingScreen] Frame 99
stop();
Symbol 1058 MovieClip [trainingScreen] Frame 100
stop();
Symbol 1058 MovieClip [trainingScreen] Frame 101
stop();
Symbol 1058 MovieClip [trainingScreen] Frame 102
_global.lockCalendarMenu(false);
Symbol 1058 MovieClip [trainingScreen] Frame 108
this.removeMovieClip();
Symbol 1060 MovieClip Frame 1
this._visible = false;
Symbol 1060 MovieClip Frame 2
this._visible = true;
Symbol 1060 MovieClip Frame 10
stop();
Symbol 1064 MovieClip Frame 30
stop();
Symbol 1081 MovieClip Frame 1
level_txt.text = _global.playerStats.expLevel;
week_txt.text = _global.gameStats.playWeek.weekNumber;
cashEarned_txt.text = "$" + _global.gameRecord.totalTips;
shiftSetID = "";
if (_global.playerStats.expLevel < 5) {
shiftSetID = "Sun. - Wed. Day Shift";
}
if ((_global.playerStats.expLevel >= 5) && (_global.playerStats.expLevel < 10)) {
shiftSetID = "Mon. - Thu. Day Shift";
}
if ((_global.playerStats.expLevel >= 10) && (_global.playerStats.expLevel < 15)) {
shiftSetID = "Tue. - Fri. Day Shift";
}
if ((_global.playerStats.expLevel >= 15) && (_global.playerStats.expLevel < 20)) {
shiftSetID = "Wed. - Sat. Day Shift";
}
if ((_global.playerStats.expLevel >= 20) && (_global.playerStats.expLevel < 25)) {
shiftSetID = "Mon. - Thu. Night Shift";
}
if ((_global.playerStats.expLevel >= 25) && (_global.playerStats.expLevel < 30)) {
shiftSetID = "Tue. - Fri. Night Shift";
}
if ((_global.playerStats.expLevel >= 30) && (_global.playerStats.expLevel < 35)) {
shiftSetID = "Wed. - Sat. Night Shift";
}
if (_global.playerStats.expLevel >= 35) {
shiftSetID = "Thu-Sat Double Shift";
}
shift_txt.text = shiftSetID;
totalChecklistsComplete = _global.getChecklistsComplete();
checklists_txt.text = totalChecklistsComplete + "/10";
versus_txt.text = (_global.gameStats.arenaWins + " - ") + _global.gameStats.arenaLosses;
Symbol 1103 MovieClip Frame 1
customers_txt.text = _global.gameRecord.drinksServed;
vipCards_txt.text = _global.gameRecord.vipCardsUsed;
good_txt.text = _global.gameRecord.goodDrinks;
perfect_txt.text = _global.gameRecord.perfectDrinks;
bottles_txt.text = _global.gameRecord.bottlesBroken;
glasses_txt.text = _global.gameRecord.glassesBroken;
okay_txt.text = _global.gameRecord.okayDrinks;
poor_txt.text = _global.gameRecord.poorDrinks;
bad_txt.text = _global.gameRecord.badDrinks;
Symbol 1169 MovieClip Frame 1
if (_global.locked.checklistRewardLocked4.isLocked == true) {
this.gotoAndStop(2);
} else {
pointsTotal_txt.text = _global.gameRecord.totalScore;
mostTransfers_txt.text = _global.gameRecord.mostTransfersInOneCombo;
balanceTrans_txt.text = _global.gameRecord.balanceTransfers;
fcTrifectas_txt.text = _global.gameRecord.totalFrozenCoastTrifectas;
frozenCoasts_txt.text = _global.gameRecord.totalFrozenCoasts;
supermanTrifectas_txt.text = _global.gameRecord.totalSupermanTrifectas;
totalSuperman_txt.text = _global.gameRecord.totalSupermans;
coast2Coasts_txt.text = _global.gameRecord.totalCoastToCoasts;
bounceCubes_txt.text = (totalCubes_txt.text = _global.gameRecord.totalIceCubesCaught);
mostPops_txt.text = _global.gameRecord.mostGlassPopsInOneCombo;
totalGlassPops_txt.text = _global.gameRecord.totalGlassPops;
totalGlasses_txt.text = _global.gameRecord.totalGlassesCaught;
bottleCaps_txt.text = _global.gameRecord.bottleCapsCaught;
totalBalance_txt.text = Math.round(_global.gameRecord.totalBalanceTime) + " sec.";
flips_txt.text = _global.gameRecord.totalFlips;
longBalance_txt.text = Math.round(_global.gameRecord.highBalanceTime) + " sec.";
bestCombo_txt.text = _global.gameRecord.highCombo;
bottlesUp_txt.text = _global.gameRecord.mostBottlesJuggled;
}
stop();
Symbol 1169 MovieClip Frame 2
stop();
Symbol 1170 MovieClip Frame 1
this._visible = false;
Symbol 1170 MovieClip Frame 2
this._visible = true;
Symbol 1170 MovieClip Frame 25
stop();
Symbol 1171 MovieClip [statsScreen] Frame 2
this.closeOut = function () {
this.gotoAndPlay("closeMe");
};
_global.lockCalendarMenu(true);
_global.newShitFlags.stats = false;
Symbol 1171 MovieClip [statsScreen] Frame 52
stop();
Symbol 1171 MovieClip [statsScreen] Frame 53
_global.lockCalendarMenu(false);
Symbol 1171 MovieClip [statsScreen] Frame 60
this.removeMovieClip();
Symbol 1194 MovieClip Frame 1
stop();
Symbol 1194 MovieClip Frame 2
stop();
Symbol 1194 MovieClip Frame 3
stop();
Symbol 1194 MovieClip Frame 4
stop();
Symbol 1194 MovieClip Frame 5
stop();
Symbol 1194 MovieClip Frame 6
stop();
Symbol 1194 MovieClip Frame 7
stop();
Symbol 1194 MovieClip Frame 8
stop();
Symbol 1194 MovieClip Frame 9
stop();
Symbol 1194 MovieClip Frame 10
stop();
Symbol 1211 MovieClip Frame 1
this.gotoAndStop(_parent.sigID);
this.sigName_mc.gotoAndStop(_global.gameStats.battleLadder_arr[_parent.sigID].sigID);
this.onPress = function () {
_parent.gotoAndPlay("closeFrame");
};
stop();
Symbol 1211 MovieClip Frame 2
stop();
Symbol 1211 MovieClip Frame 3
stop();
Symbol 1211 MovieClip Frame 4
stop();
Symbol 1211 MovieClip Frame 5
stop();
Symbol 1211 MovieClip Frame 6
stop();
Symbol 1211 MovieClip Frame 7
stop();
Symbol 1211 MovieClip Frame 8
stop();
Symbol 1211 MovieClip Frame 9
stop();
Symbol 1211 MovieClip Frame 10
stop();
Symbol 1212 MovieClip Frame 1
stop();
Symbol 1212 MovieClip Frame 2
this.sigGroup_mc.gotoAndStop(this.sigID);
Symbol 1212 MovieClip Frame 5
stop();
Symbol 1212 MovieClip Frame 16
stop();
Symbol 1213 MovieClip Frame 1
this.gotoAndStop(_global.gameStats.playerCharacter);
stop();
Symbol 1213 MovieClip Frame 2
stop();
Symbol 1213 MovieClip Frame 3
stop();
Symbol 1213 MovieClip Frame 4
stop();
Symbol 1213 MovieClip Frame 5
stop();
Symbol 1213 MovieClip Frame 6
stop();
Symbol 1213 MovieClip Frame 7
stop();
Symbol 1213 MovieClip Frame 8
stop();
Symbol 1213 MovieClip Frame 9
stop();
Symbol 1213 MovieClip Frame 10
stop();
Symbol 1222 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 2
stop();
Symbol 1237 MovieClip Frame 1
this.gotoAndStop(_parent._parent.buttonImageID);
stop();
Symbol 1237 MovieClip Frame 2
stop();
Symbol 1237 MovieClip Frame 3
stop();
Symbol 1237 MovieClip Frame 4
stop();
Symbol 1237 MovieClip Frame 5
stop();
Symbol 1237 MovieClip Frame 6
stop();
Symbol 1237 MovieClip Frame 7
stop();
Symbol 1252 MovieClip Frame 1
this.gotoAndStop(_parent._parent.buttonImageID);
stop();
Symbol 1252 MovieClip Frame 2
stop();
Symbol 1252 MovieClip Frame 3
stop();
Symbol 1252 MovieClip Frame 4
stop();
Symbol 1252 MovieClip Frame 5
stop();
Symbol 1252 MovieClip Frame 6
stop();
Symbol 1252 MovieClip Frame 7
stop();
Symbol 1253 MovieClip Frame 1
stop();
Symbol 1253 MovieClip Frame 2
stop();
Symbol 1253 MovieClip Frame 18
this.gotoAndPlay(3);
Symbol 1254 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onPress = function () {
if ((this._xmouse >= 301) && (this._xmouse <= 384)) {
_global.controlFunctions.restartTutorial("fromPause");
}
if ((this._xmouse >= 474) && (this._xmouse <= 483)) {
_global.controlFunctions.skipToTutorialSection("fromPause", 1);
}
if ((this._xmouse >= 484) && (this._xmouse <= 498)) {
_global.controlFunctions.skipToTutorialSection("fromPause", 2);
}
if ((this._xmouse >= 500) && (this._xmouse <= 510)) {
_global.controlFunctions.skipToTutorialSection("fromPause", 3);
}
if ((this._xmouse >= 512) && (this._xmouse <= 523)) {
_global.controlFunctions.skipToTutorialSection("fromPause", 4);
}
if ((this._xmouse >= 524) && (this._xmouse <= 534)) {
_global.controlFunctions.skipToTutorialSection("fromPause", 5);
}
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
};
this.buttonImageID = "tutorialBut";
if (_global.locked.tutorialSectionsCompleted_arr[4] == true) {
this._visible = false;
this.enabled = false;
}
Symbol 1255 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1255 MovieClip Frame 15
stop();
Symbol 1260 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onPress = function () {
if ((this._xmouse >= 179) && (this._xmouse <= 304)) {
_parent._parent._parent.gotoAndPlay("showOverlay");
}
if ((this._xmouse >= 408) && (this._xmouse <= 418)) {
_parent._parent._parent.sigHelper(1);
}
if ((this._xmouse >= 421) && (this._xmouse <= 431)) {
_parent._parent._parent.sigHelper(2);
}
if ((this._xmouse >= 434) && (this._xmouse <= 444)) {
_parent._parent._parent.sigHelper(3);
}
if ((this._xmouse >= 445) && (this._xmouse <= 455)) {
_parent._parent._parent.sigHelper(4);
}
if ((this._xmouse >= 457) && (this._xmouse <= 467)) {
_parent._parent._parent.sigHelper(5);
}
if ((this._xmouse >= 470) && (this._xmouse <= 480)) {
_parent._parent._parent.sigHelper(6);
}
if ((this._xmouse >= 483) && (this._xmouse <= 493)) {
_parent._parent._parent.sigHelper(7);
}
if ((this._xmouse >= 497) && (this._xmouse <= 507)) {
_parent._parent._parent.sigHelper(8);
}
if ((this._xmouse >= 510) && (this._xmouse <= 520)) {
_parent._parent._parent.sigHelper(9);
}
if ((this._xmouse >= 522) && (this._xmouse <= 540)) {
_parent._parent._parent.sigHelper(10);
}
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
};
this.buttonImageID = "helpBut";
Symbol 1261 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1261 MovieClip Frame 15
stop();
Symbol 1265 MovieClip Frame 1
if (_global.configuration.sound.muteAll == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
stop();
Symbol 1265 MovieClip Frame 2
stop();
Symbol 1269 MovieClip Frame 1
if (_global.configuration.sound.muteMusic == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
stop();
Symbol 1269 MovieClip Frame 2
stop();
Symbol 1271 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onPress = function () {
if ((this._xmouse >= 179) && (this._xmouse <= 304)) {
if (_global.configuration.sound.muteAll == true) {
_global.configuration.sound.muteAll = false;
this.muteAll_mc.gotoAndStop(1);
} else {
_global.configuration.sound.muteAll = true;
this.muteAll_mc.gotoAndStop(2);
}
}
if ((this._xmouse >= 463) && (this._xmouse <= 478)) {
_global.controlFunctions.muteMusic();
if (_global.configuration.sound.muteMusic == false) {
this.music_mc.gotoAndStop(2);
} else {
this.music_mc.gotoAndStop(1);
}
}
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
};
this.buttonImageID = "soundBut";
Symbol 1272 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1272 MovieClip Frame 15
stop();
Symbol 1275 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onPress = function () {
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
if ((this._xmouse >= 174) && (this._xmouse <= 212)) {
_global.controlFunctions.soundConfig();
}
if ((this._xmouse >= 228) && (this._xmouse <= 294)) {
_global.controlFunctions.performanceConfig();
}
if ((this._xmouse >= 312) && (this._xmouse <= 363)) {
_global.controlFunctions.controlsConfig();
}
};
this.buttonImageID = "configBut";
Symbol 1276 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1276 MovieClip Frame 15
stop();
Symbol 1288 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onPress = function () {
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
};
this.buttonImageID = "cheatBut";
Symbol 1289 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1289 MovieClip Frame 15
stop();
Symbol 1293 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onPress = function () {
if ((this._xmouse >= 176) && (this._xmouse <= 296)) {
_global.controlFunctions.quitToCalendar("fromPause");
}
if ((this._xmouse >= 319) && (this._xmouse <= 416)) {
_global.controlFunctions.quitToMainMenu("fromPause");
}
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
};
this.buttonImageID = "quitBut";
Symbol 1294 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1294 MovieClip Frame 15
stop();
Symbol 1298 MovieClip Frame 1
this.onRollOver = function () {
this.buttonImage.gotoAndStop(2);
};
this.onRollOut = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.isExtended = false;
_parent.gotoAndPlay("retract");
}
};
this.onReleaseOutside = function () {
this.buttonImage.gotoAndStop(1);
if (_parent.isExtended != false) {
_parent.gotoAndPlay("retract");
}
};
this.onRelease = function () {
if ((this._xmouse >= 178) && (this._xmouse < 384)) {
_global.controlFunctions.loadSponsorSite();
}
if ((this._xmouse >= 401) && (this._xmouse < 541)) {
_global.controlFunctions.loadAvailSite();
}
if (_parent.isExtended != true) {
_parent.isExtended = true;
this.buttonImage.gotoAndPlay(3);
_parent.gotoAndPlay("extend");
}
};
this.buttonImageID = "moreGamesBut";
Symbol 1299 MovieClip Frame 1
this.isExtended = false;
stop();
Symbol 1299 MovieClip Frame 15
stop();
Symbol 1308 MovieClip Frame 1
if (_global.roundData.currentRound != "playShift") {
this._visible = false;
}
this.tips_txt.text = "$" + _global.gameStats.roundCash;
this.highCombo_txt.text = Math.round(_global.roundStats.highCombo);
if (_global.gameStats.playWeek.bCObject == undefined) {
bonChal = "None";
} else {
bonChal = (_global.gameStats.playWeek.bCObject.descNamePre + _global.gameStats.playWeek.bCObject.difficulty_arr[_global.chalObjs.difficultyLevel]) + _global.gameStats.playWeek.bCObject.descNamePost;
}
if (_global.gameStats.playWeek.bCObject.stillOk == false) {
bonChal = "Already failed.";
}
this.bC_txt.text = bonChal;
Symbol 1352 MovieClip Frame 1
this.onPress = function () {
_parent.gotoAndPlay("hideOverlay");
};
Symbol 1353 MovieClip [pauseScreenSymbol] Frame 2
this.sigHelper = function (sigNumber) {
this.sigOverlay_mc.sigID = sigNumber;
this.sigOverlay_mc.gotoAndPlay(2);
};
_global.sodaGunSelector.gotoAndStop(1);
_global.sodaGunSprite.removeMovieClip();
_global.pauseScreenScreen = this;
Symbol 1353 MovieClip [pauseScreenSymbol] Frame 40
_global.canPause = true;
stop();
Symbol 1353 MovieClip [pauseScreenSymbol] Frame 46
_global.gamePaused = false;
_global.canPause = true;
this.removeMovieClip();
Symbol 1353 MovieClip [pauseScreenSymbol] Frame 55
stop();
Symbol 1353 MovieClip [pauseScreenSymbol] Frame 60
this.gotoAndStop(40);
Symbol 1355 MovieClip Frame 1
this.weekName_txt.text = "Week " + _global.gameStats.playWeek.weekNumber;
trace("Week from shit Week " + _global.gameStats.playWeek.weekNumber);
stop();
Symbol 1367 MovieClip Frame 1
this.gotoAndStop(_global.nightIDs_arr[_parent.dayInfo.dayIDNumber]);
stop();
Symbol 1367 MovieClip Frame 2
stop();
Symbol 1367 MovieClip Frame 3
stop();
Symbol 1367 MovieClip Frame 4
stop();
Symbol 1367 MovieClip Frame 5
stop();
Symbol 1367 MovieClip Frame 6
stop();
Symbol 1367 MovieClip Frame 7
stop();
Symbol 1375 MovieClip Frame 1
stop();
Symbol 1375 MovieClip Frame 2
stop();
Symbol 1375 MovieClip Frame 3
stop();
Symbol 1400 MovieClip Frame 1
stop();
Symbol 1400 MovieClip Frame 2
this.onPress = function () {
trace("pressed");
_global.startNextShift();
this.enabled = false;
};
stop();
Symbol 1403 MovieClip Frame 1
if (_parent.dayInfo.isDaytime == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
stop();
Symbol 1403 MovieClip Frame 2
stop();
Symbol 1406 MovieClip Frame 1
this.customerCount_txt.text = _global.nightlyCustomerCounts_arr[this.dayInfo.dayIDNumber] + " Customers";
if (_parent._parent.dayState == "finished") {
this.gotoAndStop(2);
}
if (_parent._parent.dayState == "current") {
this.shiftButton.gotoAndStop(2);
this.onPress = function () {
_global.calendarShiftSelected(this.dayInfo);
this.enabled = false;
};
if (this.dayInfo.isPowerHour == true) {
_parent._parent.gotoAndStop(2);
}
} else {
this.shiftButton.enabled = false;
}
switch (this.dayInfo.drinkSet.length) {
case 4 :
this.drink0_txt.text = "";
this.drink1_txt.text = this.dayInfo.drinkSet[0].drinkTitle;
this.drink2_txt.text = this.dayInfo.drinkSet[1].drinkTitle;
this.drink3_txt.text = this.dayInfo.drinkSet[2].drinkTitle;
this.drink4_txt.text = this.dayInfo.drinkSet[3].drinkTitle;
this.drink5_txt.text = "";
this.drink6_txt.text = "";
break;
case 5 :
this.drink0_txt.text = "";
this.drink1_txt.text = this.dayInfo.drinkSet[0].drinkTitle;
this.drink2_txt.text = this.dayInfo.drinkSet[1].drinkTitle;
this.drink3_txt.text = this.dayInfo.drinkSet[2].drinkTitle;
this.drink4_txt.text = this.dayInfo.drinkSet[3].drinkTitle;
this.drink5_txt.text = this.dayInfo.drinkSet[4].drinkTitle;
this.drink6_txt.text = "";
break;
case 6 :
this.drink0_txt.text = this.dayInfo.drinkSet[0].drinkTitle;
this.drink1_txt.text = this.dayInfo.drinkSet[1].drinkTitle;
this.drink2_txt.text = this.dayInfo.drinkSet[2].drinkTitle;
this.drink3_txt.text = this.dayInfo.drinkSet[3].drinkTitle;
this.drink4_txt.text = this.dayInfo.drinkSet[4].drinkTitle;
this.drink5_txt.text = this.dayInfo.drinkSet[5].drinkTitle;
this.drink6_txt.text = "";
break;
case 7 :
this.drink0_txt.text = this.dayInfo.drinkSet[0].drinkTitle;
this.drink1_txt.text = this.dayInfo.drinkSet[1].drinkTitle;
this.drink2_txt.text = this.dayInfo.drinkSet[2].drinkTitle;
this.drink3_txt.text = this.dayInfo.drinkSet[3].drinkTitle;
this.drink4_txt.text = this.dayInfo.drinkSet[4].drinkTitle;
this.drink5_txt.text = this.dayInfo.drinkSet[5].drinkTitle;
this.drink6_txt.text = this.dayInfo.drinkSet[6].drinkTitle;
}
if (this.dayInfo.isPowerHour == true) {
this.drink0_txt.text = "";
this.drink1_txt.text = "TBA";
this.drink2_txt.text = "";
this.drink3_txt.text = "";
this.drink4_txt.text = "";
this.drink5_txt.text = "";
this.drink6_txt.text = "";
this.customerCount_txt.text = "2 minutes";
}
this.nightName_txt.text = this.dayInfo.promoString;
this.exp_txt.text = this.dayInfo.expEarned;
this.pts_txt.text = this.dayInfo.pointsScored;
this.cash_txt.text = this.dayInfo.cashEarned;
switch (this.dayInfo.challengeStatus) {
case "passed" :
this.challenge_mc.gotoAndStop(1);
break;
case "failed" :
this.challenge_mc.gotoAndStop(2);
break;
default :
this.challenge_mc.gotoAndStop(3);
}
stop();
Symbol 1406 MovieClip Frame 2
stop();
Symbol 1407 MovieClip Frame 1
if (this.slideUp != true) {
stop();
}
Symbol 1407 MovieClip Frame 103
stop();
Symbol 1412 MovieClip Frame 1
stop();
Symbol 1419 MovieClip Frame 1
this.idNumber = 0;
this.spawnBottle = function () {
this.idNumber++;
this.rotSpeed = (Math.random() * 10) + 5;
this.rotSize = (Math.random() * 0.25) + 0.75;
this.yVelocity = -((Math.random() * 5) + 3);
this.xVelocity = -((Math.random() * 2) + 0.75);
this.startX = -28 + (Math.random() * 189);
this.freeRand = Math.random();
if (this.freeRand > 0.5) {
this.rotSpeed = -this.rotSpeed;
}
if (this.startX < 80) {
this.xVelocity = -this.xVelocity;
}
this.newWidth = 18.3 * this.rotSize;
this.newHeight = 64.5 * this.rotSize;
this.attachMovie("mmPowerHourBottlePopper", "popper_mc" + this.idNumber, this.getNextHighestDepth(), {rotSpeed:this.rotSpeed, _x:this.startX, _y:350, _width:this.newWidth, _height:this.newHeight, yVelocity:this.yVelocity, xVelocity:this.xVelocity});
};
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
Symbol 1423 MovieClip Frame 1
this.hourNumber_txt.text = _global.gameStats.playWeek.powerHourID + "/20";
switch (_global.gameStats.playWeek.powerHourTimeLimit) {
case 30 :
timeText = "00:30";
break;
case 45 :
timeText = "00:45";
break;
case 60 :
timeText = "01:00";
break;
case 120 :
timeText = "02:00";
}
this.timeLimit_txt.text = timeText;
this.onPress = function () {
_global.calendarShiftSelected(this.dayInfo);
this.enabled = false;
};
Symbol 1425 MovieClip Frame 1
stop();
Symbol 1425 MovieClip Frame 2
stop();
Symbol 1430 MovieClip Frame 1
challengeCount = _global.gameStats.playWeek.bCObject.difficulty_arr[_global.chalObjs.difficultyLevel];
challengeScore = _global.gameStats.playWeek.bCObject.score;
if (challengeCount == 0) {
pluralS = "";
} else {
pluralS = "s";
}
challengeDiff = challengeCount - challengeScore;
if (challengeDiff < 0) {
challengeDiff = 0;
}
switch (_global.gameStats.playWeek.bCObject.idName) {
case "breakBottles" :
this.task_txt.htmlText = ((("If you can get through this week and break fewer than " + challengeCount) + " bottles, you\u2019ll pass this week\u2019s bonus challenge. <font color = '#FFCC00'>You've broken ") + challengeScore) + " so far.</font>";
break;
case "balanceTransfers" :
this.task_txt.htmlText = ((("How many balance transfers can you pull off in a shift? Transfer that baby " + challengeCount) + " time") + pluralS) + " per shift to get this week\u2019s bonus.";
break;
case "froCos" :
this.task_txt.htmlText = ((((("The Frozen Coast is a tough trick to pull off. To get this week\u2019s bonus round, you\u2019ll need to do it " + challengeCount) + " time") + pluralS) + ". <font color = '#FFCC00'>(") + challengeDiff) + " to go.)</font>";
break;
case "vipCards" :
this.task_txt.htmlText = ((("You know VIP cards are expensive\u2013 this week, they\u2019re more expensive than ever. Use more than " + challengeCount) + ", and you\u2019ll fail the challenge. <font color = '#FFCC00'>(") + challengeDiff) + " left.)</font>";
break;
case "pointsPerShift" :
this.task_txt.htmlText = ("Score at least " + challengeCount) + " points per shift if you want to see this week\u2019s bonus round.";
break;
case "highCombo" :
this.task_txt.htmlText = ("What\u2019s the highest combo you\u2019ve ever pulled off? This week, you\u2019ll need to do a " + challengeCount) + " point combo\u2013 every shift.";
break;
case "sigMoves" :
this.task_txt.htmlText = ((("You\u2019re probably enjoying those signature tricks. That\u2019s too bad, because to pass this week\u2019s challenge, you can only use " + challengeCount) + ". <font color = '#FFCC00'>(") + challengeDiff) + " left.)</font>";
break;
case "iceTricks" :
this.task_txt.htmlText = ("Ice is the foundation of any refreshing beverage. Do " + challengeCount) + " ice catch tricks every shift to pass this week's bonus challenge.";
break;
case "bottleCaps" :
this.task_txt.htmlText = ((("Catching those damn bottle caps is tough. Catch " + challengeCount) + " this week. (Hint: you don\u2019t actually have to serve the beers you open) <font color = '#FFCC00'>(") + challengeDiff) + " to go.)</font>";
}
Symbol 1433 MovieClip Frame 1
this.onRelease = function () {
_global.controlFunctions.loadSponsorTips();
};
Symbol 1439 MovieClip Frame 1
_global.cashDisplay_mc = this;
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
this.spendCash = false;
this.cashDisplay.text = "$" + this.trailingZeros(_global.playerStats.cashOnHand);
this.updateCash = function () {
cashString = this.cashDisplay.text;
newCash = cashString.substr(1);
this.incrementAmt = (newCash - _global.playerStats.cashOnHand) / 20;
this.displayedCash = newCash;
this.spendCash = true;
};
this.countDownCash = function () {
if (this.displayedCash >= _global.playerStats.cashOnHand) {
this.cashDisplay.text = "$" + this.trailingZeros(this.displayedCash);
this.displayedCash = this.displayedCash - this.incrementAmt;
} else {
this.cashDisplay.text = "$" + this.trailingZeros(_global.playerStats.cashOnHand);
this.spendCash = false;
}
};
this.onEnterFrame = function () {
if (this.spendCash == true) {
this.countDownCash();
}
};
Symbol 1444 MovieClip Frame 1
stop();
Symbol 1444 MovieClip Frame 10
if (_parent.extensionState != "cancelExtension") {
_parent.extend();
} else {
_parent.extensionState = "retracted";
this.gotoAndStop(1);
}
Symbol 1461 MovieClip Frame 1
stop();
if (_parent.menuItem != undefined) {
this.gotoAndStop(_parent.menuItem);
} else {
this.gotoAndStop(_parent._parent.menuItem);
}
Symbol 1461 MovieClip Frame 2
stop();
Symbol 1461 MovieClip Frame 3
stop();
Symbol 1461 MovieClip Frame 4
stop();
Symbol 1461 MovieClip Frame 5
stop();
Symbol 1461 MovieClip Frame 6
stop();
Symbol 1461 MovieClip Frame 7
stop();
Symbol 1461 MovieClip Frame 8
stop();
Symbol 1461 MovieClip Frame 9
stop();
Symbol 1461 MovieClip Frame 10
stop();
Symbol 1478 MovieClip Frame 1
stop();
if (_parent.menuItem != undefined) {
this.gotoAndStop(_parent.menuItem);
} else {
this.gotoAndStop(_parent._parent.menuItem);
}
Symbol 1478 MovieClip Frame 2
stop();
Symbol 1478 MovieClip Frame 3
stop();
Symbol 1478 MovieClip Frame 4
stop();
Symbol 1478 MovieClip Frame 5
stop();
Symbol 1478 MovieClip Frame 6
stop();
Symbol 1478 MovieClip Frame 7
stop();
Symbol 1478 MovieClip Frame 8
stop();
Symbol 1478 MovieClip Frame 9
stop();
Symbol 1478 MovieClip Frame 10
stop();
Symbol 1479 MovieClip Frame 10
stop();
Symbol 1479 MovieClip Frame 20
stop();
Symbol 1485 MovieClip Frame 1
stop();
if (_parent.menuItem != undefined) {
this.gotoAndStop(_parent.menuItem);
} else {
this.gotoAndStop(_parent._parent.menuItem);
}
Symbol 1485 MovieClip Frame 2
stop();
Symbol 1485 MovieClip Frame 3
stop();
Symbol 1485 MovieClip Frame 4
stop();
Symbol 1485 MovieClip Frame 5
stop();
Symbol 1485 MovieClip Frame 6
stop();
Symbol 1485 MovieClip Frame 7
stop();
Symbol 1485 MovieClip Frame 8
stop();
Symbol 1485 MovieClip Frame 9
stop();
Symbol 1485 MovieClip Frame 10
stop();
Symbol 1486 MovieClip Frame 1
stop();
Symbol 1486 MovieClip Frame 2
stop();
Symbol 1486 MovieClip Frame 3
stop();
Symbol 1486 MovieClip Frame 4
stop();
Symbol 1497 MovieClip Frame 1
stop();
this.gotoAndStop(_parent._parent.menuItem);
Symbol 1497 MovieClip Frame 2
stop();
Symbol 1497 MovieClip Frame 3
stop();
Symbol 1497 MovieClip Frame 4
stop();
Symbol 1497 MovieClip Frame 5
stop();
Symbol 1497 MovieClip Frame 6
stop();
Symbol 1497 MovieClip Frame 7
stop();
Symbol 1497 MovieClip Frame 8
stop();
Symbol 1497 MovieClip Frame 9
stop();
Symbol 1497 MovieClip Frame 10
stop();
Symbol 1500 MovieClip Frame 1
stop();
this.gotoAndStop(_parent._parent.menuItem);
Symbol 1500 MovieClip Frame 2
stop();
Symbol 1500 MovieClip Frame 3
stop();
Symbol 1500 MovieClip Frame 4
stop();
Symbol 1500 MovieClip Frame 5
stop();
Symbol 1500 MovieClip Frame 6
stop();
Symbol 1500 MovieClip Frame 7
stop();
Symbol 1500 MovieClip Frame 8
stop();
Symbol 1500 MovieClip Frame 9
stop();
Symbol 1500 MovieClip Frame 10
stop();
Symbol 1501 MovieClip Frame 1
stop();
Symbol 1501 MovieClip Frame 2
stop();
Symbol 1501 MovieClip Frame 3
stop();
Symbol 1502 MovieClip Frame 1
this.menuItem = _parent._name;
this.button_mc.menuItem = _parent._name;
if (_parent.itemState != undefined) {
this.button_mc.gotoAndStop(_parent.itemState);
} else {
this.button_mc.gotoAndStop(1);
}
if (_parent.itemState != "disabled") {
this.label_mc.gotoAndStop(1);
} else {
this.label_mc.gotoAndStop(3);
}
switch (this.menuItem) {
case "checklist" :
this.extendHeight = 227;
break;
case "equip" :
this.extendHeight = 116;
break;
case "moreGames" :
this.extendHeight = 239;
break;
case "save" :
if (_parent.itemState != "disabled") {
this.extendHeight = 108;
} else {
this.extendHeight = 128;
}
break;
case "train" :
this.extendHeight = 121;
break;
case "stats" :
this.extendHeight = 128;
break;
case "versus" :
this.extendHeight = 162;
break;
case "credits" :
this.extendHeight = 161;
break;
case "cheats" :
this.extendHeight = 147;
break;
case "configure" :
this.extendHeight = 215;
}
this.extendHeight = -((54 + this.extendHeight) + 20);
this.extensionState = "retracted";
this.onRelease = function () {
if (_parent.itemState != "disabled") {
this.label_mc.gotoAndStop(1);
_parent._parent.itemSelected(_parent._name);
}
};
this.onRollOver = function () {
if ((_parent.itemState != "newShit") && (_parent.itemState != "disabled")) {
this.button_mc.gotoAndStop(2);
this.button_mc.buttonImage.gotoAndPlay("extend");
}
if (this.extensionState == "cancelExtension") {
this.extensionState = "retracted";
this.backing_mc.gotoAndPlay(1);
}
if (this.extensionState == "retracted") {
this.backing_mc.gotoAndPlay(1);
}
if (this.extensionState == "retracting") {
this.extend();
}
};
this.onRollOut = function () {
if ((_parent.itemState != "newShit") && (_parent.itemState != "disabled")) {
this.button_mc.gotoAndStop(2);
this.button_mc.buttonImage.gotoAndPlay("retract");
}
if (this.extensionState == "retracted") {
this.extensionState = "cancelExtension";
}
if (this.extensionState == "extended") {
this.retract();
}
if (this.extensionState == "extending") {
this.retract();
}
};
this.onReleaseOutside = function () {
if ((_parent.itemState != "newShit") && (_parent.itemState != "disabled")) {
this.button_mc.gotoAndStop(2);
this.button_mc.buttonImage.gotoAndPlay("retract");
}
if (this.extensionState == "retracted") {
this.extensionState = "cancelExtension";
}
if (this.extensionState == "extended") {
this.retract();
}
if (this.extensionState == "extending") {
this.retract();
}
if (_parent.itemState != "disabled") {
this.label_mc.gotoAndStop(1);
}
};
this.onPress = function () {
if (_parent.itemState != "disabled") {
this.label_mc.gotoAndStop(2);
}
};
this.extend = function () {
this.extensionState = "extending";
this.onEnterFrame = null;
this.onEnterFrame = function () {
heightDifference = this._y - this.extendHeight;
if (this.heightDifference > 50) {
this._y = this._y - 15;
}
if ((this.heightDifference <= 50) || (this.heightDifference > 5)) {
this._y = this._y - 10;
}
if (this.heightDifference <= 5) {
this._y = this.extendHeight;
this.extensionState = "extended";
this.onEnterFrame = null;
}
};
};
this.retract = function () {
this.extensionState = "retracting";
this.onEnterFrame = null;
this.onEnterFrame = function () {
heightDifference = this._y;
if (this.heightDifference < 0) {
this._y = this._y + 15;
} else {
this._y = 0;
this.extensionState = "retracted";
this.onEnterFrame = null;
}
};
};
if (this.enabled != false) {
_global.calendarMenuItem_arr.push(this);
}
Symbol 1504 MovieClip Frame 1
this._visible = false;
Symbol 1504 MovieClip Frame 2
this._visible = true;
Symbol 1504 MovieClip Frame 20
stop();
Symbol 1504 MovieClip Frame 81
this.helpEnded = false;
this.bubbleText.gotoAndStop(this._name);
Symbol 1504 MovieClip Frame 85
this.stepCount = 0;
this.advanceStep = function () {
if (this.helpEnded != true) {
this.stepCount++;
this.bubbleText.nextFrame();
}
};
this.endHelp = function () {
if (this.helpEnded != true) {
this.helpEnded = true;
this.gotoAndPlay("hideFrank");
this.stepCount = 0;
}
};
stop();
Symbol 1504 MovieClip Frame 95
stop();
Symbol 1512 MovieClip Frame 1
this.onRelease = function () {
_global.controlFunctions.loadAvailSite();
};
Symbol 1513 MovieClip Frame 1
if ((_global.newShitFlags.gameFinished == false) && (_global.playerStats.expLevel < 37)) {
this._visible = false;
} else {
_global.newShitFlags.gameFinished = true;
this._visible = true;
}
this.closeOut = function () {
this._visible = false;
};
this.cheat_txt.onChanged = function (txt) {
newText = this.text;
if ((newText == "easymoney") || (newText == "EASYMONEY")) {
this._parent.cheatActivated_mc.gotoAndPlay(2);
_global.controlFunctions.cheatEnable("easyMoney");
this.text = "";
}
if ((newText == "unbreakable") || (newText == "UNBREAKABLE")) {
this._parent.cheatActivated_mc.gotoAndPlay(2);
_global.controlFunctions.cheatEnable("unbreakable");
this.text = "";
}
};
Symbol 1521 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1521 MovieClip Frame 2
this._visible = true;
Symbol 1524 MovieClip Frame 1
this._visible = false;
this.closeOut = function () {
this._visible = false;
};
this.cheat_txt.onChanged = function (txt) {
newText = this.text;
if ((newText == "easymoney") || (newText == "EASYMONEY")) {
this._parent.cheatActivated_mc.gotoAndPlay(2);
_global.controlFunctions.cheatEnable("easyMoney");
this.text = "";
}
if ((newText == "unbreakable") || (newText == "UNBREAKABLE")) {
this._parent.cheatActivated_mc.gotoAndPlay(2);
_global.controlFunctions.cheatEnable("unbreakable");
this.text = "";
}
};
Symbol 1525 MovieClip [mainGameMenuWindow] Frame 1
this.refreshCalendarWeek = function () {
this.calendar_mc.day1_mc.module_mc.startShift_mc.dayInfo = _global.gameStats.playWeek.daySet_arr[0];
this.calendar_mc.day2_mc.module_mc.startShift_mc.dayInfo = _global.gameStats.playWeek.daySet_arr[1];
this.calendar_mc.day3_mc.module_mc.startShift_mc.dayInfo = _global.gameStats.playWeek.daySet_arr[2];
this.calendar_mc.day4_mc.module_mc.startShift_mc.dayInfo = _global.gameStats.playWeek.daySet_arr[3];
this.calendarArray_arr = new Array(this.calendar_mc.day1_mc, this.calendar_mc.day2_mc, this.calendar_mc.day3_mc, this.calendar_mc.day4_mc);
};
this.refreshCalendarWeek();
this.advanceOrRefreshCalender = function (advance) {
if (advance == true) {
this.calendar_mc[("day" + _global.gameStats.playWeek.currentDay) + "_mc"].module_mc.slideUp = true;
}
switch (_global.gameStats.playWeek.currentDay) {
case 0 :
this.calendarArray_arr[0].dayState = "current";
this.calendarArray_arr[1].dayState = "pending";
this.calendarArray_arr[2].dayState = "pending";
this.calendarArray_arr[3].dayState = "pending";
break;
case 1 :
this.calendarArray_arr[0].dayState = "finished";
this.calendarArray_arr[1].dayState = "current";
this.calendarArray_arr[2].dayState = "pending";
this.calendarArray_arr[3].dayState = "pending";
break;
case 2 :
this.calendarArray_arr[0].dayState = "finished";
this.calendar_mc.day1_mc.module_mc.gotoAndStop("end");
this.calendarArray_arr[1].dayState = "finished";
this.calendarArray_arr[2].dayState = "current";
this.calendarArray_arr[3].dayState = "pending";
break;
case 3 :
this.calendarArray_arr[0].dayState = "finished";
this.calendarArray_arr[1].dayState = "finished";
this.calendar_mc.day1_mc.module_mc.gotoAndStop("end");
this.calendar_mc.day2_mc.module_mc.gotoAndStop("end");
this.calendarArray_arr[2].dayState = "finished";
this.calendarArray_arr[3].dayState = "current";
}
};
if (_global.newShitFlags.setCalendarToAdvance == true) {
this.advanceOrRefreshCalender(true);
} else {
this.advanceOrRefreshCalender(false);
}
_global.calendarMenuInstance = this;
this.updateButtonStates = function () {
if (_global.newShitFlags.train == true) {
this.train.itemState = "newShit";
} else {
this.train.itemState = "static";
}
if (_global.newShitFlags.equip == true) {
this.equip.itemState = "newShit";
} else {
this.equip.itemState = "static";
}
if (_global.newShitFlags.versus == true) {
this.versus.itemState = "newShit";
} else if (_global.locked.arenaLocked != false) {
this.versus.itemState = "disabled";
} else {
this.versus.itemState = "static";
}
if (_global.newShitFlags.checklist == true) {
this.checklist.itemState = "newShit";
} else {
this.checklist.itemState = "static";
}
if (_global.newShitFlags.stats == true) {
this.stats.itemState = "newShit";
} else {
this.stats.itemState = "static";
}
if (_global.newShitFlags.gameSavedSinceLastRound == true) {
this.save.itemState = "disabled";
} else {
this.save.itemState = "static";
}
this.buttons_arr = new Array(this.checklist, this.equip, this.moreGames, this.save, this.train, this.stats, this.versus, this.credits, this.cheats, this.configure);
for (i in this.buttons_arr) {
if (this.buttons_arr[i].itemState == undefined) {
this.buttons_arr[i].itemState = "static";
}
if (this.buttons_arr[i].module_mc.extensionState != "retracted") {
this.buttons_arr[i].module_mc.retract();
}
}
};
_global.lockCalendarMenu = function (lockIt) {
if (lockIt == true) {
for (zxt in _global.calendarMenuItem_arr) {
_global.calendarMenuItem_arr[zxt].enabled = false;
}
} else {
for (zxt in _global.calendarMenuItem_arr) {
_global.calendarMenuItem_arr[zxt].enabled = true;
}
}
};
_global.lockCalendarMenu(false);
this.updateButtonStates();
_global.calendarMenuItem_arr = new Array();
this.itemSelected = function (caller) {
switch (caller) {
case "save" :
testSave = _global.saveGame();
if (testSave == true) {
this.save.itemState = "disabled";
this.save.module_mc.button_mc.gotoAndStop(4);
this.save.module_mc.label_mc.gotoAndStop(3);
}
break;
case "stats" :
this.attachMovie("statsScreen", "statsScreen", this.getNextHighestDepth(), {_x:0, _y:0});
break;
case "checklist" :
this.attachMovie("checkListsScreen", "checkListsScreen", this.getNextHighestDepth(), {_x:0, _y:0});
break;
case "train" :
this.attachMovie("trainingScreen", "trainingScreen", this.getNextHighestDepth(), {_x:0, _y:0});
break;
case "versus" :
this.attachMovie("screens_arenaModeMain", "screens_arenaModeMain", this.getNextHighestDepth(), {_x:0, _y:0});
break;
case "equip" :
this.attachMovie("equipmentScreen", "equipmentScreen", this.getNextHighestDepth(), {_x:10, _y:10});
break;
case "credits" :
_root.attachMovie("creditsScreen", "creditsScreen", _root.getNextHighestDepth(), {_x:360, _y:200});
break;
case "configure" :
_global.controlFunctions.performanceConfig();
break;
case "moreGames" :
_global.controlFunctions.loadSponsorSite();
break;
case "cheats" :
this.cheatsScreen._visible = true;
}
};
Symbol 1528 MovieClip Frame 1
this._visible = false;
Symbol 1528 MovieClip Frame 2
this._visible = true;
Symbol 1528 MovieClip Frame 59
stop();
Symbol 1528 MovieClip Frame 88
stop();
Symbol 1537 MovieClip Frame 1
this.gotoAndStop(_parent._parent._parent._name);
stop();
Symbol 1537 MovieClip Frame 2
stop();
Symbol 1537 MovieClip Frame 3
stop();
Symbol 1537 MovieClip Frame 4
stop();
Symbol 1538 MovieClip Frame 1
this.gotoAndStop(_parent._parent._parent._parent._name);
stop();
Symbol 1538 MovieClip Frame 2
stop();
Symbol 1538 MovieClip Frame 3
stop();
Symbol 1538 MovieClip Frame 4
stop();
Symbol 1545 MovieClip Frame 1
this.gotoAndStop(_parent._parent._parent._parent._name);
stop();
Symbol 1545 MovieClip Frame 2
stop();
Symbol 1545 MovieClip Frame 3
stop();
Symbol 1545 MovieClip Frame 4
stop();
Symbol 1555 MovieClip Frame 1
this.gotoAndStop(_parent._parent._parent._parent._name);
stop();
Symbol 1555 MovieClip Frame 2
stop();
Symbol 1555 MovieClip Frame 3
stop();
Symbol 1555 MovieClip Frame 4
stop();
Symbol 1556 MovieClip Frame 15
stop();
Symbol 1557 MovieClip Frame 1
_parent.barPiece.affinity = _parent._parent.affinity;
stop();
Symbol 1557 MovieClip Frame 2
stop();
Symbol 1557 MovieClip Frame 3
stop();
Symbol 1562 MovieClip Frame 1
this.gotoAndStop(_parent._parent._parent._name);
stop();
Symbol 1562 MovieClip Frame 2
stop();
Symbol 1562 MovieClip Frame 3
stop();
Symbol 1562 MovieClip Frame 4
stop();
Symbol 1568 MovieClip Frame 1
this.gotoAndStop(_parent._parent._parent._name);
stop();
Symbol 1568 MovieClip Frame 2
stop();
Symbol 1568 MovieClip Frame 3
stop();
Symbol 1568 MovieClip Frame 4
stop();
Symbol 1570 MovieClip Frame 1
stop();
Symbol 1570 MovieClip Frame 10
stop();
Symbol 1575 MovieClip Frame 1
if (this.danceBitch != true) {
stop();
}
Symbol 1575 MovieClip Frame 5
_parent.playNext(this.idNumber);
this.danceBitch = false;
Symbol 1576 MovieClip Frame 1
if (this.danceBitch != true) {
stop();
}
Symbol 1576 MovieClip Frame 5
_parent.playNext(this.idNumber);
this.danceBitch = false;
Symbol 1577 MovieClip Frame 1
upgradeLine1.idNumber = 2;
upgradeLine2.idNumber = 3;
upgradeLine3.idNumber = 4;
upgradeLine4.idNumber = 5;
upgradeLine5.idNumber = 6;
upgradeLine6.idNumber = 7;
upgradeLine7.idNumber = 8;
upgradeLine8.idNumber = 9;
upgradeLine9.idNumber = 10;
upgradeLine10.idNumber = 1;
this.playNext = function (idNumber) {
if (this.isActivated == true) {
this["upgradeLine" + idNumber].gotoAndPlay(2);
}
};
this.activateStrip = function () {
if (this.isActivated != true) {
this.isActivated = true;
this.playNext(1);
}
};
this.setNotches = function () {
_parent.maxLevelDisplay_mc._visible = false;
switch (_parent._parent.affinity) {
case 10 :
_parent.maxLevelDisplay_mc._visible = true;
this.upgradeLine10._visible = true;
this.upgradeLine9._visible = true;
this.upgradeLine8._visible = true;
this.upgradeLine7._visible = true;
this.upgradeLine6._visible = true;
this.upgradeLine5._visible = true;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 9 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = true;
this.upgradeLine8._visible = true;
this.upgradeLine7._visible = true;
this.upgradeLine6._visible = true;
this.upgradeLine5._visible = true;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 8 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = true;
this.upgradeLine7._visible = true;
this.upgradeLine6._visible = true;
this.upgradeLine5._visible = true;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 7 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = true;
this.upgradeLine6._visible = true;
this.upgradeLine5._visible = true;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 6 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = true;
this.upgradeLine5._visible = true;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 5 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = false;
this.upgradeLine5._visible = true;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 4 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = false;
this.upgradeLine5._visible = false;
this.upgradeLine4._visible = true;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 3 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = false;
this.upgradeLine5._visible = false;
this.upgradeLine4._visible = false;
this.upgradeLine3._visible = true;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 2 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = false;
this.upgradeLine5._visible = false;
this.upgradeLine4._visible = false;
this.upgradeLine3._visible = false;
this.upgradeLine2._visible = true;
this.upgradeLine1._visible = true;
break;
case 1 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = false;
this.upgradeLine5._visible = false;
this.upgradeLine4._visible = false;
this.upgradeLine3._visible = false;
this.upgradeLine2._visible = false;
this.upgradeLine1._visible = true;
break;
case 0 :
this.upgradeLine10._visible = false;
this.upgradeLine9._visible = false;
this.upgradeLine8._visible = false;
this.upgradeLine7._visible = false;
this.upgradeLine6._visible = false;
this.upgradeLine5._visible = false;
this.upgradeLine4._visible = false;
this.upgradeLine3._visible = false;
this.upgradeLine2._visible = false;
this.upgradeLine1._visible = false;
}
};
this.setNotches();
Symbol 1582 MovieClip Frame 1
if (this._parent.affinity >= 10) {
this.buttonPiece.isAvailable = false;
}
this.onRollOver = function () {
if (this.buttonPiece.isAvailable == true) {
this.barPiece.activateStrip();
this.buttonPiece.gotoAndStop(2);
}
};
this.onRollOut = function () {
if (this.buttonPiece.isAvailable == true) {
this.barPiece.isActivated = false;
this.buttonPiece.gotoAndStop(1);
}
};
this.onRelease = function () {
if (this.buttonPiece.isAvailable == true) {
this.labelPiece.gotoAndPlay(2);
this.buttonPiece.sparky.gotoAndPlay(2);
this.buttonPiece.gotoAndStop(1);
_parent._parent.selectionMade(this._parent);
_parent._parent.attachMovie("levelUpExploder", "levelUpExploder", _parent._parent.getNextHighestDepth(), {_x:_parent._x + 14, _y:_parent._y + 14});
this.enabled = false;
}
};
this.onReleaseOutside = function () {
if (this.buttonPiece.isAvailable == true) {
this.barPiece.isActivated = false;
this.buttonPiece.gotoAndStop(1);
}
};
Symbol 1583 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1583 MovieClip Frame 2
this._visible = true;
Symbol 1583 MovieClip Frame 8
_parent.slideInNextBar(this._name);
Symbol 1583 MovieClip Frame 149
this.gotoAndPlay(29);
Symbol 1583 MovieClip Frame 156
_parent.removeNextModule();
Symbol 1583 MovieClip Frame 163
stop();
Symbol 1583 MovieClip Frame 174
this.distanceToMoveY = (262 - this._y) / 10;
this.distanceToMoveX = (87 - this._x) / 20;
this.onEnterFrame = function () {
if (Math.abs(262 - this._y) > 3) {
this._y = this._y + this.distanceToMoveY;
} else {
this._y = 262;
if (Math.abs(87 - this._x) > 2) {
this._x = this._x + this.distanceToMoveX;
} else {
this._x = 87;
_parent.finalMovementDone();
this.onEnterFrame = null;
}
}
};
stop();
Symbol 1586 MovieClip Frame 1
stop();
Symbol 1586 MovieClip Frame 2
stop();
Symbol 1587 MovieClip Frame 1
this.doneButton.onRollOver = function () {
this.doneButton.gotoAndStop(2);
};
this.doneButton.onRollOut = function () {
this.doneButton.gotoAndStop(1);
};
this.doneButton.onReleaseOutside = function () {
this.doneButton.gotoAndStop(1);
};
this.doneButton.onRelease = function () {
_global.transitionToNext();
};
Symbol 1588 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1588 MovieClip Frame 17
this._visible = true;
Symbol 1588 MovieClip Frame 30
stop();
Symbol 1600 MovieClip Frame 1
this._visible = false;
Symbol 1600 MovieClip Frame 2
this._visible = true;
Symbol 1600 MovieClip Frame 60
stop();
Symbol 1602 MovieClip Frame 1
this._visible = false;
Symbol 1602 MovieClip Frame 2
this._visible = true;
Symbol 1602 MovieClip Frame 30
_parent.strength_mc.gotoAndPlay(2);
Symbol 1602 MovieClip Frame 240
this.gotoAndPlay(120);
Symbol 1616 MovieClip Frame 1
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
this.newLevel_txt.text = _global.playerStats.expLevel;
this.ptsToPromo_txt.text = _global.gameStats.pointsToLevel[_global.playerStats.expLevel];
this.newBaseTip_txt.text = "$" + this.trailingZeros(((_global.playerStats.expLevel * _global.itemBonuses.liquorQuality[_global.inventory.liquorLevel]) * _global.playerStats.charismaCashMultiplier[_global.playerStats.charisma]) + _global.ownerUpgrades.totalValue);
this.newVipBonus_txt.text = ("$" + _global.playerStats.expLevel) + ".00 each";
shiftSetID = "No shift change";
if (_global.playerStats.expLevel == 5) {
shiftSetID = "You're promoted to the Mon-Thu Day Shift!";
}
if (_global.playerStats.expLevel == 10) {
shiftSetID = "You're promoted to the Tue-Fri Day Shift!";
}
if (_global.playerStats.expLevel == 15) {
shiftSetID = "You're promoted to the Wed-Sat Day Shift!";
}
if (_global.playerStats.expLevel == 20) {
shiftSetID = "You're promoted to the Mon-Thu Night Shift!";
}
if (_global.playerStats.expLevel == 25) {
shiftSetID = "You're promoted to the Tue-Fri Night Shift!";
}
if (_global.playerStats.expLevel == 30) {
shiftSetID = "You're promoted to the Wed-Sat Night Shift!";
}
if (_global.playerStats.expLevel == 35) {
shiftSetID = "You're promoted to the Thu-Sat Double Shift!";
}
this.newUnlocks_txt.text = shiftSetID;
Symbol 1617 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1617 MovieClip Frame 2
this._visible = true;
Symbol 1617 MovieClip Frame 20
stop();
Symbol 1645 MovieClip Frame 1
stop();
Symbol 1645 MovieClip Frame 2
stop();
Symbol 1645 MovieClip Frame 3
stop();
Symbol 1645 MovieClip Frame 4
stop();
Symbol 1645 MovieClip Frame 5
stop();
Symbol 1645 MovieClip Frame 6
stop();
Symbol 1645 MovieClip Frame 7
stop();
Symbol 1645 MovieClip Frame 8
stop();
Symbol 1645 MovieClip Frame 9
stop();
Symbol 1645 MovieClip Frame 10
stop();
Symbol 1646 MovieClip Frame 1
if (_global.gameStats.firstRunValues.levelUp == true) {
this.stop();
}
Symbol 1646 MovieClip Frame 85
this.stepCount = 0;
if (_global.gameStats.firstRunValues.levelUp == true) {
this.bubbleText.gotoAndStop(3);
this.stepCount = 4;
}
this.advanceStep = function () {
switch (this.stepCount) {
case 0 :
if (_global.gameStats.firstRunValues.levelUp == false) {
this.bubbleText.gotoAndStop(2);
this.stepCount = 3;
} else {
this.bubbleText.gotoAndStop(3);
this.stepCount = 4;
}
break;
case 8 :
if (_global.gameStats.firstRunValues.levelUp == false) {
this.bubbleText.gotoAndStop(8);
this.stepCount = 9;
} else {
this.stepCount = 0;
this.gotoAndPlay("hideFrank");
}
break;
case 11 :
_global.gameStats.firstRunValues.levelUp = true;
this.stepCount = 0;
this.gotoAndPlay("hideFrank");
break;
default :
this.stepCount++;
this.bubbleText.gotoAndStop(this.stepCount - 1);
}
};
stop();
Symbol 1646 MovieClip Frame 95
stop();
Symbol 1647 MovieClip Frame 1
this._visible = false;
Symbol 1647 MovieClip Frame 2
this._visible = true;
Symbol 1647 MovieClip Frame 48
stop();
Symbol 1648 MovieClip [levelUpWindow] Frame 2
this.strengthStat = _global.gameStats.str;
this.dexterityStat = _global.gameStats.dex;
this.charismaStat = _global.gameStats.char;
this.specialStat = _global.gameStats.spec;
trace("strength stat" + _global.gameStats.str);
this.applyUpgrade = function (whichStat) {
switch (whichStat) {
case "strength_mc" :
this.strengthStat++;
_global.gameStats.str = this.strengthStat;
break;
case "dexterity" :
this.dexterityStat++;
_global.gameStats.dex = this.dexterityStat;
break;
case "charisma" :
this.charismaStat++;
_global.gameStats.char = this.charismaStat;
break;
case "special" :
this.specialStat++;
_global.gameStats.spec = this.specialStat;
}
_global.playerStats.charisma = _global.gameStats.char;
_global.playerStats.dexterity = _global.gameStats.dex;
_global.playerStats.strengthStat = _global.gameStats.str;
_global.playerStats.specialStat = _global.gameStats.spec;
};
this.finalMovementDone = function () {
this.promoDetails.play();
this.doneButtonBar.play();
};
stop();
this.canSelect = true;
this.barRemovalID = 0;
this.selectionMade = function (caller) {
this.canSelect = false;
this.character_mc.gotoAndStop(32);
this.selectedTrait = caller._name;
this.assessState();
this.chooseUpgradeText.gotoAndPlay("rollOut");
caller.affinity++;
this.applyUpgrade(caller._name);
trace("selection made");
caller.module_mc.buttonPiece.gotoAndStop(2);
caller.module_mc.barPiece.setNotches();
this.removeNextModule();
};
this.assessState = function () {
for (i in this.buttonArray) {
this.buttonArray[i].module_mc.buttonPiece.isAvailable = this.canSelect;
if (this.canSelect == false) {
this.buttonArray[i].module_mc.buttonPiece.gotoAndStop(3);
}
}
};
this.slideInNextBar = function (caller) {
switch (caller) {
case "strength_mc" :
this.dexterity.gotoAndPlay(2);
break;
case "dexterity" :
this.charisma.gotoAndPlay(2);
break;
case "charisma" :
this.special.gotoAndPlay(2);
break;
case "special" :
}
};
this.buttonArray = new Array(this.strength_mc, this.dexterity, this.special, this.charisma);
this.strength_mc.affinity = this.strengthStat;
this.dexterity.affinity = this.dexterityStat;
this.special.affinity = this.specialStat;
this.charisma.affinity = this.charismaStat;
this.assessState();
this.removeNextModule = function () {
this.barRemovalArray = new Array("strength_mc", "dexterity", "charisma", "special");
if (this.selectedTrait == this.barRemovalArray[this.barRemovalID]) {
this.selectionID = this.barRemovalID;
this.barRemovalID++;
}
this[this.barRemovalArray[this.barRemovalID]].gotoAndPlay("removePiece");
this.barRemovalID++;
if (this.barRemovalID >= 4) {
this[this.barRemovalArray[this.selectionID]].gotoAndPlay("moveToCenter");
}
};
this.sfx = new Object();
this.sfx.exclamation3 = new Sound(this);
this.sfx.exclamation4 = new Sound(this);
this.sfx.exclamation3alt = new Sound(this);
this.sfx.exclamation5alt = new Sound(this);
this.sfx.exclamation3.attachSound("exclamations3");
this.sfx.exclamation3alt.attachSound("exclamations3alt");
this.sfx.exclamation4.attachSound("exclamations4");
this.sfx.exclamation5alt.attachSound("exclamations5alt");
this.playExclamation = function (skillLevel) {
switch (skillLevel) {
case 0 :
this.sfx.exclamation3.start();
break;
case 1 :
this.sfx.exclamation4.start();
break;
case 2 :
this.sfx.exclamation3alt.start();
break;
case 3 :
this.sfx.exclamation5alt.start();
}
};
randomVocal = Math.round(Math.random() * 3);
this.playExclamation(randomVocal);
Symbol 1651 MovieClip Frame 1
this.onPress = function () {
};
Instance of Symbol 1653 MovieClip in Symbol 1654 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 1661 MovieClip Frame 1
this._visible = false;
Symbol 1661 MovieClip Frame 2
this._visible = true;
Symbol 1661 MovieClip Frame 20
soundRand = Math.random() * 1;
if (soundRand >= 0.5) {
soundTag = "win2";
} else {
soundTag = "win3";
}
this.greatJob = new Sound(this);
this.greatJob.attachSound(soundTag);
this.greatJob.start();
Symbol 1661 MovieClip Frame 25
_parent.tipsDisplay.play();
stop();
Symbol 1664 MovieClip Frame 1
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
this.cashIncrement = this.trailingZeros(_global.gameStats.roundCash / 60);
if (this.cashIncrement < 0.05) {
this.cashIncrement = 0.05;
}
this.displayedCash = 0;
this.onEnterFrame = function () {
if (_parent.activated == true) {
if (this.displayedCash < _global.gameStats.roundCash) {
this.displayedCash = this.displayedCash + Number(this.cashIncrement);
this.tips_txt.text = "$" + this.trailingZeros(this.displayedCash);
} else {
this.displayedCash = this.trailingZeros(_global.gameStats.roundCash);
this.tips_txt.text = "$" + this.displayedCash;
_parent.play();
_parent.activated = false;
}
}
};
Symbol 1667 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1667 MovieClip Frame 2
this._visible = true;
Symbol 1667 MovieClip Frame 10
this.activated = true;
stop();
Symbol 1667 MovieClip Frame 47
_parent.vipDisplay.play();
Symbol 1667 MovieClip Frame 50
stop();
Symbol 1671 MovieClip Frame 1
this.onRelease = function () {
_global.transitionFrom("shiftComplete");
this.enabled = false;
};
Symbol 1672 MovieClip Frame 1
stop();
Symbol 1672 MovieClip Frame 60
stop();
Symbol 1675 MovieClip Frame 1
stop();
Symbol 1675 MovieClip Frame 3
this.vipReadout.vipBonus_txt.text = "$" + (_parent._parent.vipCount * _global.playerStats.expLevel);
Symbol 1686 MovieClip Frame 1
this._visible = false;
Symbol 1686 MovieClip Frame 2
this._visible = true;
Symbol 1686 MovieClip Frame 10
_parent.adjustBonus();
if (_global.roundData.vipCardCurrent <= 1) {
_parent.runComplete();
stop();
}
Symbol 1686 MovieClip Frame 18
_parent.adjustBonus();
if (_global.roundData.vipCardCurrent <= 2) {
_parent.runComplete();
stop();
}
Symbol 1686 MovieClip Frame 26
_parent.adjustBonus();
_parent.runComplete();
stop();
Symbol 1689 MovieClip Frame 40
_parent.runComplete();
Symbol 1689 MovieClip Frame 63
_parent.runComplete();
Symbol 1689 MovieClip Frame 76
stop();
Symbol 1690 MovieClip Frame 1
if (_global.roundData.vipCardCurrent == 0) {
this.gotoAndStop(2);
}
this.adjustBonus = function () {
_parent.vipCount++;
this.vipBonus.play();
};
this.runComplete = function () {
_parent.play();
};
stop();
Symbol 1691 MovieClip Frame 1
stop();
Symbol 1691 MovieClip Frame 2
this.vipCount = 0;
stop();
Symbol 1691 MovieClip Frame 26
this.vipCount = 0;
Symbol 1691 MovieClip Frame 38
_parent.achievementShifter.play();
Symbol 1691 MovieClip Frame 49
stop();
Symbol 1702 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1702 MovieClip Frame 2
this._visible = true;
stop();
Symbol 1702 MovieClip Frame 3
this._visible = true;
stop();
Symbol 1702 MovieClip Frame 4
this._visible = true;
stop();
Symbol 1702 MovieClip Frame 5
this._visible = true;
stop();
Symbol 1702 MovieClip Frame 6
this._visible = true;
stop();
Symbol 1702 MovieClip Frame 7
this._visible = true;
this.achieve_txt.text = this.displayText;
stop();
Symbol 1703 MovieClip Frame 1
this.display_arr = new Array(this.sc0, this.sc1, this.sc2, this.sc3, this.sc4, this.sc5, this.sc6, this.sc7, this.sc8);
this.achievement_arr = new Array();
levelTest = _global.increasePlayerLevel();
if (levelTest == true) {
this.achievement_arr.push("levelUp");
}
for (xii in _global.roundStats.checklistAchievement_arr) {
if (_global.roundStats.checklistAchievement_arr[xii].newFlag == true) {
this.achievement_arr.push(_global.roundStats.checklistAchievement_arr[xii].desc);
}
_global.roundStats.checklistAchievement_arr[xii].achieved = true;
_global.roundStats.checklistAchievement_arr[xii].newFlag = false;
}
for (i in this.achievement_arr) {
switch (this.achievement_arr[i]) {
case "levelUp" :
this.display_arr[i].gotoAndStop(2);
break;
case "newItem" :
this.display_arr[i].gotoAndStop(3);
break;
case "newTrick" :
this.display_arr[i].gotoAndStop(4);
break;
case "checklist" :
this.display_arr[i].gotoAndStop(5);
break;
case "arenaMode" :
this.display_arr[i].gotoAndStop(6);
break;
default :
this.display_arr[i].gotoAndStop(7);
this.display_arr[i].displayText = "Checklist Item: " + this.achievement_arr[i];
}
}
Symbol 1715 MovieClip Frame 1
if (_global.playerStats.expLevel >= 38) {
this.gotoAndStop(2);
}
this.experiencePercentage = _global.playerStats.experiencePoints / _global.gameStats.pointsToLevel[_global.playerStats.expLevel - 1];
this.experienceBarFiller._width = 193 * this.experiencePercentage;
if (this.experienceBarFiller._width > 194) {
this.experienceBarFiller._width = 193;
}
pointsToPromotion_txt.text = (_global.gameStats.pointsToLevel[_global.playerStats.expLevel - 1] - _global.playerStats.experiencePoints) + " points to next promotion";
percentDisplay_txt.text = Math.round(this.experiencePercentage * 100) + "%";
if (Math.round(this.experiencePercentage * 100) > 100) {
percentDisplay_txt.text = "100%";
}
if (this.experienceBarFiller._width >= percentDisplay_txt._width) {
percentDisplay_txt._x = this.experienceBarFiller._width - percentDisplay_txt._width;
}
stop();
Symbol 1724 MovieClip Frame 1
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
xpPts_txt.text = _global.roundData.experienceGained;
custSrv_txt.text = _global.roundData.customersServed;
avgTip_txt.text = "$" + this.trailingZeros(_global.roundData.averageTip);
cashEarn_txt.text = "$" + this.trailingZeros((_global.roundData.vipCardCurrent * _global.playerStats.expLevel) + _global.gameStats.roundCash);
pointsScored_txt.text = Math.round(_global.gameStats.roundScore);
if (_global.roundStats.highCombo > 0) {
bestCombo_txt.text = _global.roundStats.highCombo;
} else {
bestCombo_txt.text = "N/A";
}
Symbol 1726 MovieClip Frame 1
this.onPress = function () {
if (_parent._parent.cornerHead.headDown == false) {
_parent._parent.cornerHead.frankHead.speechBubble.whichFramesNext = this._name;
_parent._parent.cornerHead.frankHead.speechBubble.advance();
}
};
this.onRollOut = function () {
if (_parent._parent.cornerHead.headDown == false) {
if (_parent._parent.cornerHead.frankHead.speechBubble.whichFramesNext == 3) {
_parent._parent.cornerHead.frankHead.speechBubble.advance();
}
}
};
Symbol 1727 MovieClip Frame 1
stop();
Symbol 1727 MovieClip Frame 40
_parent.cornerHead.play();
_parent.done_mc.play();
stop();
Instance of Symbol 1726 MovieClip "custServ" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "avgTip" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "totalCash" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "points" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "expPoints" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "promo" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "tips" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "vips" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Instance of Symbol 1726 MovieClip "achieve" in Symbol 1727 MovieClip Frame 40
/* no clip actions */
Symbol 1735 MovieClip Frame 1
this._visible = false;
Symbol 1735 MovieClip Frame 2
this._visible = true;
Symbol 1735 MovieClip Frame 11
_parent.speechText.gotoAndPlay(2);
Symbol 1735 MovieClip Frame 20
stop();
Symbol 1735 MovieClip Frame 35
_parent.advance();
stop();
Symbol 1737 MovieClip Frame 1
stop();
Symbol 1737 MovieClip Frame 120
_parent.speechBubble.gotoAndPlay("closeBubble");
Symbol 1740 MovieClip Frame 1
stop();
Symbol 1740 MovieClip Frame 150
_parent.speechBubble.gotoAndPlay("closeBubble");
Symbol 1743 MovieClip Frame 1
stop();
Symbol 1743 MovieClip Frame 120
stop();
Symbol 1746 MovieClip Frame 1
if (_global.roundData.currentRound == "tutorialSection2A") {
stop();
} else {
this.gotoAndStop(2);
}
Symbol 1746 MovieClip Frame 2
stop();
Symbol 1747 MovieClip Frame 1
stop();
Symbol 1747 MovieClip Frame 120
stop();
Symbol 1750 MovieClip Frame 1
stop();
Symbol 1750 MovieClip Frame 120
stop();
Symbol 1753 MovieClip Frame 1
stop();
Symbol 1753 MovieClip Frame 120
stop();
Symbol 1756 MovieClip Frame 1
stop();
Symbol 1756 MovieClip Frame 120
stop();
Symbol 1759 MovieClip Frame 1
stop();
Symbol 1759 MovieClip Frame 120
stop();
Symbol 1762 MovieClip Frame 1
stop();
Symbol 1762 MovieClip Frame 120
stop();
Symbol 1765 MovieClip Frame 1
stop();
Symbol 1765 MovieClip Frame 120
stop();
Symbol 1768 MovieClip Frame 1
stop();
Symbol 1768 MovieClip Frame 120
stop();
Symbol 1771 MovieClip Frame 1
stop();
Symbol 1771 MovieClip Frame 120
stop();
Symbol 1772 MovieClip Frame 1
this.advance = function () {
if (this.whichFramesNext != undefined) {
this.gotoAndStop(this.whichFramesNext);
}
};
this.whichFramesNext = 2;
stop();
Symbol 1772 MovieClip Frame 2
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 3
_parent._parent.okToClose = true;
_parent._parent._parent.okToClose = true;
this.whichFramesNext = undefined;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 4
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 5
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 6
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 7
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 8
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 9
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 10
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 11
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1772 MovieClip Frame 12
this.whichFramesNext = 3;
this.speechBubble.gotoAndPlay(2);
stop();
Symbol 1773 MovieClip Frame 50
stop();
Symbol 1774 MovieClip Frame 1
if (_global.roundData.currentRound == "tutorialSection2A") {
this._visible = true;
} else {
this._visible = false;
}
stop();
Symbol 1774 MovieClip Frame 2
this.headDown = true;
Symbol 1774 MovieClip Frame 35
this.headDown = false;
this.onPress = function () {
if (this.okToClose == true) {
this.headDown = true;
this.gotoAndPlay(45);
}
};
stop();
Symbol 1774 MovieClip Frame 36
this.onPress = function () {
};
Symbol 1774 MovieClip Frame 80
stop();
Symbol 1775 MovieClip [roundComplete] Frame 1
_global.roundStats.totalTips = _global.gameStats.roundCash + (_global.roundData.vipCardCurrent * _global.playerStats.expLevel);
if (_global.gameStats.playWeek.bCObject.stillOk == true) {
_global.appraiseBonusChallengeAfterShift();
}
if (_global.gameStats.playWeek != undefined) {
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].expEarned = _global.roundData.experienceGained;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].pointsScored = _global.roundStats.totalScore;
_global.gameStats.playWeek.daySet_arr[_global.gameStats.playWeek.currentDay].cashEarned = _global.roundStats.totalTips;
}
if ((_global.gameStats.playWeek.vipCardsUsed == 0) && (_global.gameStats.playWeek.currentDay == 3)) {
_global.completeChecklistItem(6, 4);
}
_global.gameStats.totalCash = _global.gameStats.totalCash + _global.roundStats.totalTips;
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + (_global.roundData.vipCardCurrent * _global.playerStats.expLevel);
_global.bankRecords();
this.vipCount = 0;
_global.canPause = false;
Symbol 1783 MovieClip Frame 1
stop();
Symbol 1788 MovieClip Frame 1
stop();
Symbol 1788 MovieClip Frame 2
stop();
Symbol 1788 MovieClip Frame 3
stop();
Symbol 1797 MovieClip Frame 1
stop();
Symbol 1797 MovieClip Frame 2
stop();
Symbol 1797 MovieClip Frame 3
stop();
Symbol 1798 MovieClip Frame 1
_global.roundTimerDisplay = this;
this.playedLastCall = false;
if (_global.demoMode.arenaMode == true) {
this._visible = false;
}
if (_global.demoMode.bonusRound == "perfectPour") {
this._visible = false;
}
this.frameCount = 0;
this.timerNumbers_mc.timerNumbers.text = this.timeRemaining;
this.displayRemainingCustomers = function () {
if ((_global.roundData.powerHour == 0) && (_global.demoMode.bonusRound != "iceStorm")) {
this.customersRemaining = _global.roundData.customersToServe - _global.roundData.customersServed;
this.flasher_mc.gotoAndPlay(2);
if ((this.customersRemaining < 100) && (this.customersRemaining > 9)) {
this.timerNumbers_mc.gotoAndStop(2);
}
if ((this.customersRemaining < 10) && (this.customersRemaining != 0)) {
this.timerNumbers_mc.gotoAndStop(3);
}
if (this.customersRemaining > -1) {
this.timerNumbers_mc.timerNumbers.text = this.customersRemaining;
}
if (this.customersRemaining == 0) {
this.countDownToEnd = 0;
if ((_global.demoMode.counterEnabled == true) && (_global.refuseCustomers != true)) {
if (_global.roundData.vipCardCurrent > -1) {
_global.endRound("customersDone");
}
}
}
}
};
this.apopalypseUpdate = function () {
this.flasher_mc.gotoAndPlay(2);
if ((_global.bonusDisplay.popUpCount < 100) && (_global.bonusDisplay.popUpCount > 9)) {
this.timerNumbers_mc.gotoAndStop(2);
this.timerNumbers_mc.timerNumbers.text = _global.bonusDisplay.popUpCount;
}
if ((_global.bonusDisplay.popUpCount < 10) && (_global.bonusDisplay.popUpCount != 0)) {
this.timerNumbers_mc.gotoAndStop(3);
this.timerNumbers_mc.timerNumbers.text = _global.bonusDisplay.popUpCount;
}
if (_global.bonusDisplay.popUpCount > -1) {
this.timerNumbers_mc.timerNumbers.text = _global.bonusDisplay.popUpCount;
}
};
if (_global.roundData.powerHour != 0) {
this.timeRemaining = _global.gameStats.playWeek.powerHourTimeLimit;
this.timerDisplayMode = "powerHour";
} else {
this.timerDisplayLabel.gotoAndStop(2);
this.customersRemaining = _global.roundData.customersToServe;
this.displayRemainingCustomers();
}
if (_global.demoMode.bonusRound == "apopalypse") {
this.timerDisplayMode = "apopalypse";
this.timerDisplayLabel.gotoAndStop(3);
}
if (_global.demoMode.bonusRound == "iceStorm") {
this.timeRemaining = 30;
this.timerDisplayMode = "powerHour";
this.timerDisplayLabel.gotoAndStop(1);
}
this.onEnterFrame = function () {
if ((_global.gamePaused != true) && (this.timerDisplayMode == "powerHour")) {
if (this.frameCount == 30) {
this.timeRemaining--;
if (this.timeRemaining > 99) {
this.timerNumbers_mc.gotoAndStop(1);
}
if ((this.timeRemaining < 100) && (this.timeRemaining > 9)) {
this.timerNumbers_mc.gotoAndStop(2);
}
if (((this.timeRemaining == 10) && (_global.demoMode.bonusRound != "iceStorm")) && (this.playedLastCall == false)) {
this.playedLastCall = true;
_global.sfxLayer.playLastCall();
}
if (((this.timeRemaining == 10) && (_global.demoMode.bonusRound == "iceStorm")) && (this.playedLastCall == false)) {
this.playedLastCall = true;
_global.sfxLayer.playHurryUp();
}
if ((this.timeRemaining <= 5) && (this.timeRemaining >= 0)) {
_global.sfxLayer.playNumbers(this.timeRemaining);
}
if ((this.timeRemaining < 10) && (this.timeRemaining != 0)) {
this.flasher_mc.gotoAndPlay(2);
this.timerNumbers_mc.gotoAndStop(3);
}
if (this.timeRemaining == 0) {
if (_global.demoMode.bonusRound != "iceStorm") {
if (_global.roundData.vipCardCurrent > -1) {
_global.endRound("timeOver");
}
this.onEnterFrame = null;
} else {
_global.bonusDisplay.bonusRoundOver();
_global.comboDisplay.endCombo(true);
this.onEnterFrame = null;
}
}
this.timerNumbers_mc.timerNumbers.text = this.timeRemaining;
this.frameCount = 0;
}
this.frameCount++;
} else if (this.timerDisplayMode != "powerHour") {
this.onEnterFrame = null;
}
};
Symbol 1801 MovieClip Frame 1
this.customerCount = 0;
this.respawnSpacer = 0;
this.customerArray = new Array();
this.seatIndex1 = new Object({avail:true, xVal:285});
this.seatIndex2 = new Object({avail:true, xVal:145});
this.seatIndex3 = new Object({avail:true, xVal:425});
this.seatIndex4 = new Object({avail:true, xVal:5});
this.seatIndex5 = new Object({avail:true, xVal:565});
this.seatArray = new Array(this.seatIndex1, this.seatIndex2, this.seatIndex3, this.seatIndex4, this.seatIndex5);
this.resetCharismaBonus = function () {
for (i in this.customerArray) {
this.customerArray[i].body_mc.resetCharismaBonus();
}
};
this.shockAndAmaze = function () {
for (i in this.customerArray) {
this.customerArray[i].body_mc.shockAndAmaze();
}
};
this.stealTips = function () {
for (i in this.customerArray) {
this.customerArray[i].body_mc.startStealing();
}
};
this.entertainCustomer = function (scoreAmount, success) {
if ((success == true) || (success == false)) {
for (i in this.customerArray) {
this.customerArray[i].body_mc.endCombo(success);
}
} else {
for (i in this.customerArray) {
if (this.customerArray[i].body_mc.served != true) {
this.customerArray[i].body_mc.entertain(scoreAmount);
}
}
}
};
this.defineCustomer = function () {
infoHolder = new Object();
xxo = Math.round(Math.random() * (_global.roundData.characterDrinkArray.length - 1));
infoHolder.drinkOrder = _global.roundData.characterDrinkArray[xxo];
infoHolder.custLevel = _global.playerStats.expLevel;
if (_global.roundData.powerHour > 10) {
randLevelBonus = new Number(Math.round(Math.random() * 3));
infoHolder.custLevel = randLevelBonus + _global.playerStats.expLevel;
}
return(infoHolder);
};
this.addCustomer = function (specialCustomer) {
if (specialCustomer == undefined) {
if (_global.refuseCustomers != true) {
searching = "yes";
forceSeat = 0;
testSeat = Math.round(Math.random() * 4);
forceSeat++;
if (this.seatArray[testSeat].avail == true) {
this.seatArray[testSeat].avail = false;
searching = testSeat;
}
if (searching == "yes") {
for (i in this.seatArray) {
if (this.seatArray[i].avail == true) {
if (searching == "yes") {
this.seatArray[i].avail = false;
searching = i;
}
}
}
}
if (searching == "yes") {
trace("error!");
}
definition = new Object();
definition = this.defineCustomer();
definition._x = this.seatArray[searching].xVal;
definition._y = 32;
definition.seatIndex = searching;
this.attachMovie("newCustomer", "newCustomer" + searching, this.getNextHighestDepth(), definition);
this.customerArray.push(this["newCustomer" + searching]);
if (_global.specials.aprilSpecial == true) {
this["newCustomer" + searching].body_mc.shockAndAmaze();
}
if (_global.specials.dannySpecial == true) {
this["newCustomer" + searching].body_mc.startStealing();
}
}
} else {
switch (specialCustomer) {
case "smashley" :
this.attachMovie("newCustomer", "smashley", this.getNextHighestDepth(), {_x:287, _y:32, specialCharacter:"smashley", drinkOrder:_global.drinks.beer, custLevel:1});
break;
case "smashley2" :
this.attachMovie("newCustomer", "smashley", this.getNextHighestDepth(), {_x:287, _y:32, specialCharacter:"smashley", drinkOrder:_global.drinks.vodkaShot, custLevel:1});
break;
case "smashley3" :
this.attachMovie("newCustomer", "smashley", this.getNextHighestDepth(), {_x:287, _y:32, specialCharacter:"smashley", drinkOrder:_global.drinks.capeCod, custLevel:1});
break;
case "smashley4" :
this.attachMovie("newCustomer", "smashley", this.getNextHighestDepth(), {_x:287, _y:32, specialCharacter:"smashley", drinkOrder:_global.drinks.martini, custLevel:1});
break;
case "smashley5" :
this.attachMovie("newCustomer", "smashley", this.getNextHighestDepth(), {_x:287, _y:32, specialCharacter:"smashley", drinkOrder:_global.drinks.blaster, custLevel:1});
}
}
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
for (i in this.customerArray) {
this.customerArray[i].body_mc.timeLapse();
}
if (this.customerCount < _global.roundData.maxCustomers) {
if (this.respawnSpacer == _global.roundData.customerRespawnSpacing) {
if (_global.roundData.powerHour == 0) {
if ((_global.roundData.customersServed + this.customerCount) < _global.roundData.customersToServe) {
this.addCustomer();
this.customerCount++;
this.respawnSpacer = 0;
}
} else {
this.addCustomer();
this.customerCount++;
this.respawnSpacer = 0;
}
} else {
this.respawnSpacer++;
}
}
}
};
Symbol 1805 MovieClip Frame 1
this.music = new Object();
this.music.endSpecialSound = new Sound(this);
this.music.endSpecialSound.attachSound("specialFinish");
this.endSpecial = function () {
this.music.endSpecialSound.start();
};
Symbol 1806 MovieClip Frame 1
this.vocals = new Object();
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature01");
this.playSig = function (character) {
switch (character) {
case "judge" :
this.vocals.peacemaker.start();
break;
case "yumi" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature10");
this.vocals.peacemaker.start();
break;
case "charon" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature09");
this.vocals.peacemaker.start();
break;
case "danny" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature02");
this.vocals.peacemaker.start();
break;
case "stunna" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature03");
this.vocals.peacemaker.start();
break;
case "natasha" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature04");
this.vocals.peacemaker.start();
break;
case "luc" :
break;
case "april" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature06");
this.vocals.peacemaker.start();
break;
case "johnny" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature07");
this.vocals.peacemaker.start();
break;
case "rey" :
this.vocals.peacemaker = new Sound(this);
this.vocals.peacemaker.attachSound("signature08");
this.vocals.peacemaker.start();
}
};
Symbol 1807 MovieClip Frame 1
_global.sfxLayer = this;
this.sfx = new Object();
this.sfx.popSound = new Sound(this);
this.sfx.balanceSound = new Sound(this);
this.sfx.popSound.attachSound("bottlePop");
this.sfx.balanceSound.attachSound("balanceCatch");
this.sfx.firstSpin = new Sound(this);
this.sfx.secondSpin = new Sound(this);
this.sfx.thirdSpin = new Sound(this);
this.sfx.firstSpin.attachSound("spin1");
this.sfx.secondSpin.attachSound("spin2");
this.sfx.thirdSpin.attachSound("spin3");
this.sfx.stealChange = new Sound(this);
this.sfx.stealChange.attachSound("stealChange");
this.sfx.glassClink = new Sound(this);
this.sfx.glassClink.attachSound("glassClink");
this.sfx.sodaGunIn = new Sound(this);
this.sfx.sodaGunOut = new Sound(this);
this.sfx.sodaGunIn.attachSound("sodaGunIn");
this.sfx.sodaGunOut.attachSound("sodaGunOut");
this.sfx.sodaGunSelect = new Sound(this);
this.sfx.sodaGunSelect.attachSound("gunSelect");
this.sfx.hurry = new Sound(this);
this.sfx.hurry.attachSound("hurryUpVocal");
this.sfx.cubeBounce0 = new Sound(this);
this.sfx.cubeBounce1 = new Sound(this);
this.sfx.cubeBounce2 = new Sound(this);
this.sfx.cubeBounce3 = new Sound(this);
this.sfx.cubeBounce0.attachSound("iceCubeBounce1");
this.sfx.cubeBounce1.attachSound("iceCubeBounce2");
this.sfx.cubeBounce2.attachSound("iceCubeBounce3");
this.sfx.cubeBounce3.attachSound("iceCubeBounce4");
this.sfx.lastCall = new Sound(this);
this.sfx.lastCall.attachSound("lastCallVocal");
this.sfx.popCap0 = new Sound(this);
this.sfx.popCap1 = new Sound(this);
this.sfx.popCap2 = new Sound(this);
this.sfx.popCap0.attachSound("beerBottleOpen1");
this.sfx.popCap1.attachSound("beerBottleOpen2");
this.sfx.popCap2.attachSound("beerBottleOpen3");
this.sfx.numbers5 = new Sound(this);
this.sfx.numbers4 = new Sound(this);
this.sfx.numbers3 = new Sound(this);
this.sfx.numbers2 = new Sound(this);
this.sfx.numbers1 = new Sound(this);
this.sfx.numbers0 = new Sound(this);
this.sfx.numbers5.attachSound("numbers5");
this.sfx.numbers4.attachSound("numbers4");
this.sfx.numbers3.attachSound("numbers3");
this.sfx.numbers2.attachSound("numbers2");
this.sfx.numbers1.attachSound("numbers1");
this.sfx.numbers0.attachSound("numbers0");
this.sfx.pickup0 = new Sound(this);
this.sfx.pickup1 = new Sound(this);
this.sfx.pickup2 = new Sound(this);
this.sfx.pickup3 = new Sound(this);
this.sfx.pickup0.attachSound("pickup0");
this.sfx.pickup1.attachSound("pickup1");
this.sfx.pickup2.attachSound("pickup2");
this.sfx.pickup3.attachSound("pickup3");
this.playBottlePickup = function () {
xR = Math.round(Math.random() * 3);
this.sfx["pickup" + xR].start();
};
this.sfx.removeBeer0 = new Sound(this);
this.sfx.removeBeer1 = new Sound(this);
this.sfx.removeBeer0.attachSound("removeBeer0");
this.sfx.removeBeer1.attachSound("removeBeer1");
this.playBeerPickup = function () {
xR = Math.round(Math.random() * 1);
this.sfx["removeBeer" + xR].start();
};
this.playLastCall = function () {
this.sfx.lastCall.start();
};
this.playHurryUp = function () {
this.sfx.hurry.start();
};
this.playNumbers = function (num) {
this.sfx["numbers" + num].start();
};
this.sfx.scoopIce0 = new Sound(this);
this.sfx.scoopIce1 = new Sound(this);
this.sfx.scoopIce2 = new Sound(this);
this.sfx.scoopIce0.attachSound("scoopIce0");
this.sfx.scoopIce1.attachSound("scoopIce1");
this.sfx.scoopIce2.attachSound("scoopIce2");
this.playScoopIce = function () {
xR = Math.round(Math.random() * 2);
this.sfx["scoopIce" + xR].start();
};
i = 0;
do {
this.sfx["cubeInGlass" + i] = new Sound(this);
this.sfx["cubeInGlass" + i].attachSound("iceCubeInGlass" + Number(i + 1));
i++;
} while (i < 4);
i = 0;
do {
this.sfx["garnishInGlass" + i] = new Sound(this);
this.sfx["garnishInGlass" + i].attachSound("garnishSplashIn" + i);
i++;
} while (i < 3);
i = 0;
do {
this.sfx["smashDrinkGlass" + i] = new Sound(this);
this.sfx["smashDrinkGlass" + i].attachSound("glasswareBreak" + i);
i++;
} while (i < 4);
this.playBeerBottleOpen = function () {
xR = Math.round(Math.random() * 2);
this.sfx["popCap" + xR].start();
};
this.playSmashGlass = function () {
xR = Math.round(Math.random() * 2) + Number(1);
this.sfx["smashDrinkGlass" + xR].start();
};
this.playSodaGun = function (comingOut) {
if (comingOut == true) {
this.sfx.sodaGunIn.start();
} else {
this.sfx.sodaGunOut.start();
}
};
this.playSodaGunSelect = function () {
this.sfx.sodaGunSelect.start();
};
this.bottlePourCode = function (first) {
};
this.playCubeInGlass = function () {
xR = Math.round(Math.random() * 3);
this.sfx["cubeInGlass" + xR].start();
};
this.playGarnishInGlass = function () {
sR = Math.round(Math.random() * 2);
this.sfx["garnishInGlass" + sR].start();
};
this.playCubeBounce = function () {
soundRand = Math.round(Math.random() * 3);
this.sfx["cubeBounce" + soundRand].start();
};
this.playCubeCatch = function () {
};
this.playGlassSetOnBar = function () {
xR = Math.round(Math.random() * 3);
this.sfx["pickup" + xR].start();
};
this.playPop = function () {
this.sfx.popSound.start();
};
this.playBalance = function () {
this.sfx.balanceSound.start();
};
this.playSpin = function (whichOne) {
if (whichOne == 1) {
this.sfx.firstSpin.start();
}
if (whichOne == 2) {
this.sfx.secondSpin.start();
}
if (whichOne == 3) {
this.sfx.thirdSpin.start();
}
};
this.sfx.successSound = new Sound(this);
this.sfx.successSound.attachSound("successSound");
this.sfx.failSound = new Sound(this);
this.sfx.failSound.attachSound("failSound");
Symbol 1809 MovieClip Frame 1
_global.safeReleaseZone = this;
this._visible = false;
Symbol 1810 MovieClip Frame 1
_global.effectsLayer = this;
Symbol 1812 MovieClip Frame 1
this._visible = false;
_global.iceBucket = this;
Symbol 1815 MovieClip Frame 1
if (((_global.demoMode.bonusRound == "perfectPour") || (_global.demoMode.bonusRound == "iceStorm")) || (_global.demoMode.bonusRound == "apopalypse")) {
this._visible = false;
}
Symbol 1816 MovieClip Frame 1
if ((((_global.demoMode.bonusRound == "iceStorm") || (_global.demoMode.bonusRound == "apopalypse")) || (_global.demoMode.bonusRound == "perfectPour")) || (_global.demoMode.bonusRound == "speedRack")) {
this._visible = false;
this.enabled = false;
}
if (this.enabled != false) {
_global.disable_arr.push(this);
}
this.onPress = function () {
if (_global.judgeSpecial != true) {
_parent._parent.attachMovie("garnish", "garnish_mc", _parent._parent.getNextHighestDepth(), {_x:_root._xmouse, _y:_root._ymouse, garnishType:this.garnishType});
}
};
Symbol 1817 MovieClip Frame 1
this.cherryBowl_mc.garnishType = "cherry";
this.oliveBowl_mc.garnishType = "olive";
this.limeBowl_mc.garnishType = "lime";
this.lemonBowl_mc.garnishType = "lemon";
Symbol 1819 MovieClip [iceCube] Frame 1
this.bounceCount = 0;
this.highToss = 0;
this.isIce = true;
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (this.released == true) {
if (this.justReleased != true) {
this.justReleased = true;
this.putInPlay(true);
}
if (this._y <= 0) {
if ((this.highToss == false) && (this._y <= -100)) {
this.highToss = true;
}
if ((this.indicated != true) && (_parent.indicated == undefined)) {
_parent.indicated = this;
this.indicated = true;
_parent.attachMovie("bottleIndicator", this._name + "bottleIndicator_mc", _parent.getNextHighestDepth(), {_x:this._x, drinkOwner:this});
}
} else {
if (_parent.indicated == this) {
_parent.indicated = undefined;
}
this.indicated = false;
}
if ((this._y >= 200) && (this._y <= 240)) {
this.bounce();
}
for (i in _global.glass_arr) {
if (this.hitTest(_global.glass_arr[i].glassImage_mc)) {
if (this.yMomentum < 0) {
this.catchInGlass(_global.glass_arr[i]);
} else {
this.xMomentum = _global.glass_arr[i].xMomentum;
}
}
}
if (this._y <= 344) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this.spinMomentum = (2 * this.xMomentum) + ((this.xMomentum + 1) / Math.abs(this.xMomentum + 1));
this._rotation = this._rotation + this.spinMomentum;
} else {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this.spinMomentum = (2 * this.xMomentum) + ((this.xMomentum + 1) / Math.abs(this.xMomentum + 1));
this._rotation = this._rotation + this.spinMomentum;
this.bounce();
}
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
}
}
};
this.catchInGlass = function (glass) {
if ((glass.iceCount >= 3) || (glass.glassProperties.takesIce == false)) {
this.bounce();
} else {
if (this.bounceCount > 0) {
_global.comboDisplay.updateCombo("bounceCube");
}
if ((this.bounceCount == 0) && (this.highToss == true)) {
if (glass.released == false) {
_global.comboDisplay.updateCombo("highCube");
} else {
glassXMo = Math.abs(glass.xMomentum);
glassYMo = Math.abs(glass.yMomentum);
if ((glassXMo + GlassYMo) >= 5) {
if (glass.bouncedOffWallsCount < 1) {
glass.glassFlashPop_mc.play();
glass.flyingIceCatch++;
} else {
glass.glassFlashPop_mc.play();
glass.superFlyCatch++;
}
}
}
}
glass.addIce();
this.putInPlay(false);
this.removeMovieClip();
}
};
this.removeIce = function () {
this.putInPlay(false);
this.removeMovieClip();
};
this.bounce = function () {
if (this.yMomentum < 0) {
this.bounceCount++;
this.yMomentum = (-this.yMomentum) / 2;
_global.sfxLayer.playCubeBounce();
if (this.bounceCount == 3) {
this.removeIce();
}
}
};
this.putInPlay = function (inOrOut) {
if (this.inPlay != inOrOut) {
this.inPlay = inOrOut;
if (inOrOut == true) {
_global.bottlesInPlay++;
} else {
_global.bottlesInPlay--;
}
}
_root.quadText_txt.text = _global.bottlesInPlay;
};
Symbol 1824 MovieClip Frame 1
if (_global.character.equipped.sodaGun == "golden") {
this.gotoAndStop(2);
}
stop();
Symbol 1824 MovieClip Frame 2
stop();
Symbol 1832 MovieClip Frame 1
if (_global.locked.goldenSodaGun == false) {
this.gotoAndStop(2);
}
stop();
Symbol 1832 MovieClip Frame 2
stop();
Symbol 1835 MovieClip Frame 1
stop();
Symbol 1835 MovieClip Frame 15
if ((_parent.hintArrow == true) && (this.initiator._parent != undefined)) {
this.gotoAndPlay(2);
}
Symbol 1838 MovieClip Frame 1
this.activeSelection = false;
_global.sodaGunSelector = this;
if ((((_global.demoMode.bonusRound == "iceStorm") || (_global.demoMode.bonusRound == "apopalypse")) || (_global.demoMode.bonusRound == "perfectPour")) || (_global.demoMode.bonusRound == "speedRack")) {
this._visible = false;
this.enabled = false;
}
if (this.enabled != false) {
_global.disable_arr.push(this);
}
this.onPress = function () {
if (this.hintArrow == true) {
this.hintArrow = false;
}
if (this.activeSelection == false) {
_global.sfxLayer.playSodaGun(true);
this.gotoAndPlay(2);
this.activeSelection = true;
_root.attachMovie("sodaGunButtonSet", "sodaGunButtonSet_mc", _root.getNextHighestDepth(), {_x:336, _y:256});
}
if (_global.tutorialDisplay.waiting == "forSodaClick") {
_global.tutorialDisplay.receiveEvents("sodaClicked");
}
};
this.onRollOver = function () {
_global.sodaGroup.noItemsSelected = false;
_global.sodaGroup.onEnterFrame = null;
};
this.onRollOut = function () {
_global.sodaGroup.noItemsSelected = true;
_global.sodaGroup.finished();
};
stop();
Symbol 1838 MovieClip Frame 30
stop();
Symbol 1844 MovieClip Frame 1
stop();
Symbol 1844 MovieClip Frame 2
this.iceCountdown = 0;
Symbol 1844 MovieClip Frame 5
this.onEnterFrame = function () {
_parent.addIce();
};
Symbol 1844 MovieClip Frame 11
this.onEnterFrame = null;
Symbol 1844 MovieClip Frame 15
stop();
Symbol 1846 MovieClip Frame 1
this._visible = false;
Symbol 1850 MovieClip Frame 1
stop();
_global.iceScoop = this;
if (this.enabled != false) {
_global.disable_arr.push(this);
}
this.pickedUp = false;
this.released = false;
this.homeX = this._x;
this.homeY = this._y;
this.iceFilled = false;
this.iceCount = 0;
this.homeRotation = -30;
this._rotation = this.homeRotation;
this.hitRegion = this.iceScoopImage_mc;
this.hitArea = this.hitRegion;
this.spinMomentum = 0;
this.spinCharge = 0;
this.setDown = true;
this.readyToPour = true;
this.pouring = false;
this.glass = undefined;
this.xMomentum = 0;
this.yMomentum = 0;
this.lastXMomentum = new Array(0, 0);
this.lastYMomentum = new Array(0, 0);
this.momentumSpacer = 0;
if ((_global.demoMode.bonusRound == "perfectPour") || (_global.demoMode.bonusRound == "apopalypse")) {
this._visible = false;
this.enabled = false;
}
this.onPress = function () {
if (_global.judgeSpecial != true) {
iceCountdown = 0;
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
this.momentumChanged = false;
this.pickedUp = true;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.catchArea_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
}
};
this.onRelease = function () {
this.toss();
};
this.onReleaseOutside = function () {
this.toss();
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
wh = this.whichHand;
if (this.released == true) {
if (this.safeRelease == true) {
if (this.hitRegion.hitTest(_global.safeReleaseZone) == false) {
this.safeRelease = false;
}
}
if (this._y <= 0) {
if (this.indicated != true) {
this.indicated = true;
}
} else {
this.indicated = false;
}
}
if (this.pouring == true) {
}
if (this.pickedUp == true) {
if (this.iceFilled == true) {
this.pickUpTimer++;
for (i in _global.glass_arr) {
if (this.dropArea_mc.hitTest(_global.glass_arr[i].fillStart_mc)) {
if ((this._y + 30) < _global.glass_arr[i]._y) {
if ((this.dropping != true) && (_global.glass_arr[i].iceCount < 3)) {
this._rotation = this._rotation - 30;
this.dropping = true;
this.separateIce("drop");
}
}
}
}
}
if ((this._rotation != this.homeRotation) && (this.dropping != true)) {
this._rotation = this.homeRotation;
}
if (this.hitRegion.hitTest(_global.iceBucket) && (this.iceCount < 3)) {
if (this.iceFilled == false) {
this.dropping = false;
this.iceFilled = true;
_global.sfxLayer.playScoopIce();
this.hitRegion.play();
}
}
if (this.pouring == true) {
if (this.rider != undefined) {
this.rider.popTimer = 5;
this.riderRelease();
}
this.spinCharge = 0;
if (wh == 1) {
if (this._rotation > -150) {
this._rotation = this._rotation - 20;
} else {
this._rotation = -150;
}
} else if (this._rotation < 150) {
this._rotation = this._rotation + 20;
} else {
this._rotation = 150;
}
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this._x = _root._xmouse;
this._y = _root._ymouse;
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
if (this.pickUpTimer >= 15) {
if (((Math.abs(this.lastYMomentum[0]) - Math.abs(this.yMomentum)) > 10) && (this.momentumChanged != true)) {
this.mouseGesture();
this.momentumChanged = true;
}
if (((Math.abs(this.lastYMomentum[0]) - Math.abs(this.yMomentum)) < 10) && (this.momentumChanged == true)) {
this.momentumChanged = false;
}
}
this.spinMomentum = (2 * this.xMomentum) + ((this.spinCharge * (this.xMomentum + 1)) / Math.abs(this.xMomentum + 1));
}
if (this.released == true) {
this._rotation = this._rotation + this.spinMomentum;
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
if (this._y <= 344) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
} else {
if ((this.yMomentum < _global.bottleValues.terminalVelocity) && (this.safeRelease == false)) {
this.shatter();
}
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
_parent.quadText_txt.text = "Bottles" + _global.combo.bottlesUp;
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this._rotation = 0;
this.hitArea = this.bottleImage_mc;
this.reRack();
}
}
if (this.released == true) {
if (this.spinMomentum > 0) {
if ((this._rotation >= 100) && (this.topSpinCount == this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount != this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
} else {
if ((this._rotation >= 100) && (this.topSpinCount != this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount == this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
}
}
}
};
this.pour = function () {
};
this.addIce = function () {
_global.completeChecklistItem(0, 5);
iceCountdown++;
if ((iceCountdown == 2) && (this.iceCount <= 2)) {
this.iceCount++;
this.iceScoopImage_mc.scoop_mc.attachMovie("iceCube", "iceCube_mc" + this.iceCount, this.iceScoopImage_mc.scoop_mc.getNextHighestDepth(), {_x:(this.iceCount * 12) + 20, _y:15 + (Math.random() * -10), _rotation:Math.random() * 180, cubeNumber:this.iceCount, scooper:this, released:false});
iceCountdown = 0;
}
};
this.separateIce = function (method) {
this.freeCube(this.iceScoopImage_mc.scoop_mc.iceCube_mc1, method);
this.freeCube(this.iceScoopImage_mc.scoop_mc.iceCube_mc2, method);
this.freeCube(this.iceScoopImage_mc.scoop_mc.iceCube_mc3, method);
if (this.iceCount == 0) {
this.pickUpTimer = 0;
this.iceFilled = false;
this.hitRegion.play();
}
};
this.freeCube = function (cubeObj, method) {
if (cubeObj != undefined) {
if (method == "toss") {
_parent.attachMovie("iceCube", "iceCube_mc" + this.iceCount, _parent.getNextHighestDepth(), {_x:(this._x - (this.iceCount * 12)) + 20, _y:(this._y - 15) + (Math.random() * -10), released:true, yMomentum:this.yMomentum + (this.iceCount * 2), xMomentum:this.xMomentum, _rotation:cubeObj._rotation});
}
if (method == "drop") {
_parent.attachMovie("iceCube", "iceCube_mc" + this.iceCount, _parent.getNextHighestDepth(), {_x:this._x + this.dropArea_mc._x, _y:(this._y - (this.iceCount * 12)) + 20, released:true, yMomentum:0, xMomentum:0, _rotation:cubeObj._rotation});
}
if (method == "fling") {
_parent.attachMovie("iceCube", "iceCube_mc" + this.iceCount, _parent.getNextHighestDepth(), {_x:(this._x - (this.iceCount * 12)) + 20, _y:(this._y - 15) + (Math.random() * -10), released:true, yMomentum:this.lastYMomentum[0] + (this.iceCount * 2), xMomentum:this.xMomentum, _rotation:cubeObj._rotation});
}
method = "setDown";
if (method) {
}
cubeObj.removeMovieClip();
this.iceCount--;
}
};
this.mouseGesture = function () {
if (this.lastYMomentum[0] > this.yMomentum) {
this.separateIce("fling");
}
};
this.toss = function () {
this.whichHand = 0;
if (this.setDown == true) {
_global.combo.bottlesUp++;
_parent.quadText_txt.text = "Bottles" + _global.combo.bottlesUp;
this.setDown = false;
}
if (this.iceCount > 0) {
this.hitRegion.play();
this.separateIce("toss");
}
this.popCount = 0;
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
if (this.bottleImage_mc.hitTest(_global.safeReleaseZone)) {
this.safeRelease = true;
} else {
this.safeRelease = false;
}
};
this.comboPop = function () {
_global.comboDisplay.updateCombo("pop");
};
this.comboCatch = function () {
_global.comboDisplay.updateCombo("catch");
};
this.reRack = function () {
for (i in this.iceScoopImage_mc.scoop_mc) {
if (this.iceScoopImage_mc.scoop_mc[i].isIce == true) {
this.iceScoopImage_mc.scoop_mc[i].removeMovieClip();
}
}
this.hitArea = this.hitRegion;
this.iceCount = 0;
this.iceFilled = false;
this.iceCountdown = 0;
this.iceScoopImage_mc.gotoAndStop(1);
this.spinCharge = 0;
this._x = this.homeX;
this._y = this.homeY;
this._rotation = this.homeRotation;
iceCountdown = 0;
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
this.momentumChanged = false;
this.pickedUp = false;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.bottleImage_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
};
this.iceStorm = function () {
this.onEnterFrame = null;
this.enabled = false;
this._rotation = 0;
this.gotoAndPlay(2);
};
Symbol 1850 MovieClip Frame 51
_global.gamePaused = false;
_global.bonusDisplay.frozen = false;
stop();
Symbol 1863 MovieClip Frame 1
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (_global.comboDisplay.comboActive == true) {
comboTimer_mc._width = (_global.comboDisplay.timer / _global.combo.maxComboTimeLimit) * 146;
}
}
};
stop();
Symbol 1863 MovieClip Frame 15
scoreInc = 10;
this.onEnterFrame = function () {
if (_parent.currentScore != _parent.displayedScore) {
if (_parent.currentScore > _parent.displayedScore) {
_parent.displayedScore = _parent.displayedScore + scoreInc;
} else {
_parent.displayedScore = _parent.currentScore;
}
runningScore_txt.text = Math.round(_parent.displayedScore);
if (_parent.displayedScore < 1000) {
scoreInc = 10;
extra = 10;
}
if (_parent.displayedScore > 1000) {
scoreInc = 100;
extra = 20;
}
if (_parent.displayedScore > 10000) {
scoreInc = 1000;
extra = 30;
}
if (_parent.displayedScore > 100000) {
scoreInc = 10000;
extra = 40;
}
if (_parent.displayedScore > 1000000) {
scoreInc = 100000 /* 0x0186A0 */;
extra = 50;
}
runningScoreBackdrop._width = 20 + extra;
}
};
Symbol 1863 MovieClip Frame 30
stop();
Symbol 1863 MovieClip Frame 31
this.onEnterFrame = null;
Symbol 1863 MovieClip Frame 55
this.gotoAndStop(1);
Symbol 1867 MovieClip Frame 1
this.advance = function () {
switch (this.currState) {
case "cue" :
if (_parent.launched != true) {
this.currState = "slideIn";
this.readOutItem_mc.comboItemName_txt.text = _parent.tag;
_parent.launched = true;
}
break;
case "slideIn" :
this.currState = "firstSlide";
break;
case "firstSlide" :
this.currState = "secondSlide";
break;
case "secondSlide" :
this.currState = "thirdSlide";
break;
case "thirdSlide" :
this.currState = "lastSlide";
break;
case "lastSlide" :
this.currState = "cue";
}
this.gotoAndPlay(this.currState);
};
stop();
Symbol 1867 MovieClip Frame 11
stop();
Symbol 1867 MovieClip Frame 17
stop();
Symbol 1867 MovieClip Frame 23
stop();
Symbol 1867 MovieClip Frame 29
stop();
Symbol 1867 MovieClip Frame 36
stop();
Symbol 1867 MovieClip Frame 37
stop();
Symbol 1868 MovieClip Frame 1
if (_global.demoMode.bonusRound == "apopalypse") {
this._visible = false;
}
this.CRDs = new Array(CRD1, CRD2, CRD3, CRD4, CRD5, CRD6);
this.reload = function () {
for (i in this.CRDs) {
this.CRDs[i].gotoAndPlay("cue");
this.CRDs[i].currState = "cue";
}
};
this.slideIn = function (trick, balanceTime) {
this.launched = false;
switch (trick) {
case "flip" :
this.tag = _parent.flipsCount + "x Flips";
break;
case "balanceTransfer" :
switch (balanceTime) {
case 1 :
_parent.playExclamation(1);
break;
case 2 :
_parent.playExclamation(4);
break;
case 3 :
_parent.playExclamation(7);
}
this.tag = "Balance transfer!";
break;
case "balance" :
this.tag = "Balancing!";
break;
case "garnish" :
this.tag = "Great Finish!";
break;
case "balanceTime" :
switch (balanceTime) {
case 5 :
this.tag = "GREAT BALANCE!";
break;
case 7 :
this.tag = "Keep it up!";
break;
case 9 :
_parent.playExclamation(1);
this.tag = "Awesome!";
break;
case 15 :
this.tag = "no way!";
break;
case 20 :
_parent.playExclamation(2);
this.tag = "TWENTY SECONDS!";
break;
case 30 :
_parent.playExclamation(3);
this.tag = "THIRTY SECONDS!";
break;
case 45 :
_parent.playExclamation(4);
this.tag = "WTF!?!?!";
break;
case 60 :
_parent.playExclamation(5);
this.tag = "ONE MINUTE!";
break;
case 75 :
this.tag = "You're cheating";
break;
case 90 :
_parent.playExclamation(6);
this.tag = "Seriously";
break;
case 120 :
_parent.playExclamation(7);
this.tag = "This is scary";
break;
case 150 :
this.tag = "I'm leaving";
break;
default :
this.tag = balanceTime + " seconds";
}
break;
case "johnnySmash" :
switch (_parent.smashCount) {
case 1 :
this.tag = "Righteous!";
break;
case 5 :
this.tag = "Smashing!";
_parent.playExclamation(2);
break;
case 10 :
this.tag = "Killer!";
_parent.playExclamation(3);
break;
case 15 :
this.tag = "Reckless!";
_parent.playExclamation(4);
break;
case 20 :
this.tag = "Insane!";
_parent.playExclamation(7);
break;
default :
this.tag = _parent.smashCount + " Broken!";
}
break;
case "shotDown" :
switch (_parent.shotCount) {
case 1 :
this.tag = "Nice Shooting!";
break;
case 5 :
_parent.playExclamation(1);
this.tag = "Great Shot!";
break;
case 10 :
_parent.playExclamation(3);
this.tag = "Deadeye!";
break;
case 15 :
_parent.playExclamation(5);
this.tag = "Sharpshooter!";
break;
case 20 :
_parent.playExclamation(7);
this.tag = "Sniper!";
break;
default :
this.tag = _parent.shotCount + " Bottles";
}
break;
case "pop" :
switch (_parent.popCount) {
case 1 :
this.tag = "Pop up!";
break;
case 5 :
this.tag = "That's crazy!";
_parent.playExclamation(1);
break;
case 10 :
this.tag = "Stop already!";
_parent.playExclamation(3);
break;
case 20 :
this.tag = "WTF?! WHY??";
_parent.playExclamation(5);
break;
default :
this.tag = _parent.popCount + "x Popups";
}
break;
case "frozenCoast" :
if (balanceTime == 1) {
this.tag = "Frozen Coast!!!";
_parent.playExclamation(5);
} else {
this.tag = "Frozen Coast x2!!!";
_parent.playExclamation(6);
}
break;
case "frozenCoastTrifecta" :
this.tag = "Sub Zero!";
_parent.playExclamation(7);
break;
case "superman" :
if (balanceTime == 1) {
this.tag = "superman!";
_parent.playExclamation(3);
} else {
this.tag = "superman x2!";
_parent.playExclamation(4);
}
break;
case "supermanTrifecta" :
this.tag = "TRIFECTA!!!";
_parent.playExclamation(7);
break;
case "bounceCube" :
switch (_parent.bounceCubeCount) {
case 1 :
this.tag = "that's gross!";
break;
case 3 :
_parent.playExclamation(3);
this.tag = "Disgusting!";
break;
case 10 :
_parent.playExclamation(5);
this.tag = "Unsanitary!";
break;
case 20 :
_parent.playExclamation(7);
this.tag = "FDA Violation!";
break;
default :
this.tag = _parent.bounceCubeCount + "x Bounced Ice";
}
break;
case "highCube" :
switch (_parent.highCubeCount) {
case 1 :
this.tag = "Caught it!";
break;
case 3 :
_parent.playExclamation(2);
this.tag = "Cool catch!";
break;
case 10 :
_parent.playExclamation(6);
this.tag = "Frosty!";
break;
case 20 :
_parent.playExclamation(7);
this.tag = "Iceman!";
break;
default :
this.tag = _parent.highCubeCount + " Ice Cubes";
}
break;
case "highPour" :
this.tag = "High Pour!";
break;
case "coast2coast" :
switch (_parent.coastCount) {
case 1 :
this.tag = "Coast To Coast!";
break;
case 3 :
_parent.playExclamation(2);
this.tag = "Coasting!";
break;
case 10 :
this.tag = "Traveler!";
break;
case 20 :
_parent.playExclamation(7);
this.tag = "Explorer!";
break;
default :
this.tag = _parent.coastCount + "x Coast2Coasts";
}
}
for (i in this.CRDs) {
this.CRDs[i].advance();
}
};
this.reload();
this.stop();
Symbol 1869 MovieClip Frame 1
_global.comboDisplay = this;
this.experienceDrag = Math.round(_global.playerStats.expLevel / 10) + Number(1);
_global.combo.bottlesUp = 0;
_global.combo.balanceTime = 0;
_global.combo.countDown = false;
_global.combo.comboReady = true;
_global.combo.finished = true;
this.zeroCounts = function () {
this.popsInARow = new Number(0);
this.catchCount = new Number(0);
this.flipsCount = new Number(0);
this.balanceTransferCount = new Number(0);
this.coastCount = new Number(0);
this.highPourCount = new Number(0);
this.shotCount = new Number(0);
this.bounceCubeCount = new Number(0);
this.highCubeCount = new Number(0);
this.smashCount = new Number(0);
this.popCount = new Number(0);
this.garnishCount = new Number(0);
this.timer = new Number(0);
this.balanceMultiplier = new Number(0);
this.balanceTimer = new Number(0);
this.superManCount = new Number(0);
this.sTrifectaCount = new Number(0);
this.fcCount = new Number(0);
this.subZeroCount = new Number(0);
this.backToBackTransfers = new Number(0);
};
this.zeroCounts();
this.comboActive = false;
this.currentScore = new Number(0);
this.displayedScore = new Number(0);
this.comboDisplayGraphics_mc._visible = false;
this.updateBalance = function (milestone) {
if (_global.combo.comboReady == true) {
switch (milestone) {
case "start" :
this.balanceMultiplier = 0;
this.activateCombo();
this.comboShifter_mc.slideIn("balance");
this.balanceTimer = 0;
break;
case "increment" :
_global.combo.balanceTime++;
this.balanceTimer++;
if (this.balanceTimer == 30) {
_global.specials.specialBar.increase(50);
this.increaseScore((_global.combo.balanceScoreBonus * this.balanceMultiplier) * 30);
this.balanceTimer = 0;
}
if ((_global.combo.balanceTime / 30) == Math.round(_global.combo.balanceTime / 30)) {
this.balanceMultiplier++;
this.comboShifter_mc.slideIn("balanceTime", _global.combo.balanceTime / 30);
}
break;
case "stop" :
}
}
};
this.updateCombo = function (comboType, extraInfo) {
if (comboType == "shatter") {
if ((_global.johnnySpecial == true) || (extraInfo == "johnnySmashed")) {
this.smashCount++;
this.increaseScore((_global.combo.smashScoreBonus * (this.smashCount / 2)) * (_global.playerStats.specialStat / 2));
this.comboShifter_mc.slideIn("johnnySmash");
}
if (_global.demoMode.bonusRound == "iceStorm") {
_global.bonusDisplay.breakCount++;
}
if (((((_global.judgeSpecial != true) && (_global.johnnySpecial != true)) && (extraInfo != "johnnySmashed")) && (this.comboActive == true)) && (_global.demoMode.bonusRound != "iceStorm")) {
this.endCombo(false);
}
} else if (_global.combo.comboReady == true) {
this.activateCombo();
switch (comboType) {
case "flip" :
if (_global.demoMode.bonusRound != "iceStorm") {
specialIncreaseAmt = 5;
this.flipsCount++;
this.comboShifter_mc.slideIn("flip");
this.increaseTimer(_global.combo.flipTimeBonus - Math.round(this.flipsCount / 5));
this.increaseScore(_global.combo.flipScoreBonus - Math.round(this.flipsCount / 5));
break;
}
case "coast2coast" :
specialIncreaseAmt = 5;
this.coastCount++;
this.increaseScore(_global.combo.coast2coastBonus * this.coastCount);
this.comboShifter_mc.slideIn("coast2coast");
case "pop" :
if (_global.demoMode.bonusRound == "apopalypse") {
_global.bonusDisplay.popped();
}
specialIncreaseAmt = 5;
if (extraInfo > this.popsInARow) {
this.popsInARow = extraInfo;
}
this.popCount++;
this.popScoreDecay = Math.round(this.popCount / 10);
if (this.popScoreDecay < 1) {
this.popScoreDecay = 1;
}
this.increaseScore(_global.combo.popScoreBonus / this.popScoreDecay);
this.comboShifter_mc.slideIn("pop");
this.increaseTimer(_global.combo.popTimeBonus);
break;
case "catch" :
specialIncreaseAmt = 10;
this.catchCount++;
this.increaseScore(_global.combo.catchScoreBonus);
this.increaseTimer(_global.combo.catchTimeBonus);
this.comboShifter_mc.slideIn("catch");
break;
case "garnish" :
if (_global.demoMode.bonusRound != "iceStorm") {
specialIncreaseAmt = 5;
this.increaseScore(_global.combo.highGarnishScoreBonus);
this.garnishCount++;
this.comboShifter_mc.slideIn("garnish");
} else {
transBonus = (extraInfo * extraInfo) * 15;
if (this.backToBackTransfers < extraInfo) {
this.backToBackTransfers = extraInfo;
}
specialIncreaseAmt = transBonus;
this.balanceTransferCount++;
this.increaseScore(transBonus * 300);
this.comboShifter_mc.slideIn("balanceTransfer", extraInfo);
break;
if (_global.demoMode.bonusRound != "iceStorm") {
specialIncreaseAmt = 5;
this.increaseScore(_global.combo.highPourScoreBonus);
this.highPourCount++;
this.comboShifter_mc.slideIn("highPour");
} else {
this.shotCount++;
this.comboShifter_mc.slideIn("shotDown");
this.increaseScore(_global.combo.shotScoreBonus);
break;
this.highCubeCount++;
specialIncreaseAmt = 5;
this.comboShifter_mc.slideIn("highCube");
this.increaseScore(_global.combo.highCubeBonus);
break;
this.bounceCubeCount++;
specialIncreaseAmt = 5;
this.comboShifter_mc.slideIn("bounceCube");
this.increaseScore(_global.combo.bounceCubeBonus);
break;
specialIncreaseAmt = 25 * extraInfo;
xFigure = new Number(extraInfo);
this.fcCount = this.fcCount + xFigure;
this.comboShifter_mc.slideIn("frozenCoast", extraInfo);
this.increaseScore(_global.combo.frozenCoastBonus * extraInfo);
break;
this.subZeroCount++;
specialIncreaseAmt = 100;
this.comboShifter_mc.slideIn("frozenCoastTrifecta");
this.increaseScore(_global.combo.frozenCoastTrifectaBonus);
break;
specialIncreaseAmt = 10 * extraInfo;
xFigure = new Number(extraInfo);
this.superManCount = this.superManCount + xFigure;
this.comboShifter_mc.slideIn("superman", extraInfo);
this.increaseScore(_global.combo.supermanBonus * extraInfo);
break;
specialIncreaseAmt = 50;
this.sTrifectaCount++;
this.comboShifter_mc.slideIn("supermanTrifecta");
this.increaseScore(_global.combo.supermanTrifectaBonus);
}
}
case "balanceTransfer" :
transBonus = (extraInfo * extraInfo) * 15;
if (this.backToBackTransfers < extraInfo) {
this.backToBackTransfers = extraInfo;
}
specialIncreaseAmt = transBonus;
this.balanceTransferCount++;
this.increaseScore(transBonus * 300);
this.comboShifter_mc.slideIn("balanceTransfer", extraInfo);
break;
case "highPour" :
if (_global.demoMode.bonusRound != "iceStorm") {
specialIncreaseAmt = 5;
this.increaseScore(_global.combo.highPourScoreBonus);
this.highPourCount++;
this.comboShifter_mc.slideIn("highPour");
} else {
this.shotCount++;
this.comboShifter_mc.slideIn("shotDown");
this.increaseScore(_global.combo.shotScoreBonus);
break;
this.highCubeCount++;
specialIncreaseAmt = 5;
this.comboShifter_mc.slideIn("highCube");
this.increaseScore(_global.combo.highCubeBonus);
break;
this.bounceCubeCount++;
specialIncreaseAmt = 5;
this.comboShifter_mc.slideIn("bounceCube");
this.increaseScore(_global.combo.bounceCubeBonus);
break;
specialIncreaseAmt = 25 * extraInfo;
xFigure = new Number(extraInfo);
this.fcCount = this.fcCount + xFigure;
this.comboShifter_mc.slideIn("frozenCoast", extraInfo);
this.increaseScore(_global.combo.frozenCoastBonus * extraInfo);
break;
this.subZeroCount++;
specialIncreaseAmt = 100;
this.comboShifter_mc.slideIn("frozenCoastTrifecta");
this.increaseScore(_global.combo.frozenCoastTrifectaBonus);
break;
specialIncreaseAmt = 10 * extraInfo;
xFigure = new Number(extraInfo);
this.superManCount = this.superManCount + xFigure;
this.comboShifter_mc.slideIn("superman", extraInfo);
this.increaseScore(_global.combo.supermanBonus * extraInfo);
break;
specialIncreaseAmt = 50;
this.sTrifectaCount++;
this.comboShifter_mc.slideIn("supermanTrifecta");
this.increaseScore(_global.combo.supermanTrifectaBonus);
}
case "shotDown" :
this.shotCount++;
this.comboShifter_mc.slideIn("shotDown");
this.increaseScore(_global.combo.shotScoreBonus);
break;
case "highCube" :
this.highCubeCount++;
specialIncreaseAmt = 5;
this.comboShifter_mc.slideIn("highCube");
this.increaseScore(_global.combo.highCubeBonus);
break;
case "bounceCube" :
this.bounceCubeCount++;
specialIncreaseAmt = 5;
this.comboShifter_mc.slideIn("bounceCube");
this.increaseScore(_global.combo.bounceCubeBonus);
break;
case "frozenCoast" :
specialIncreaseAmt = 25 * extraInfo;
xFigure = new Number(extraInfo);
this.fcCount = this.fcCount + xFigure;
this.comboShifter_mc.slideIn("frozenCoast", extraInfo);
this.increaseScore(_global.combo.frozenCoastBonus * extraInfo);
break;
case "frozenCoastTrifecta" :
this.subZeroCount++;
specialIncreaseAmt = 100;
this.comboShifter_mc.slideIn("frozenCoastTrifecta");
this.increaseScore(_global.combo.frozenCoastTrifectaBonus);
break;
case "superman" :
specialIncreaseAmt = 10 * extraInfo;
xFigure = new Number(extraInfo);
this.superManCount = this.superManCount + xFigure;
this.comboShifter_mc.slideIn("superman", extraInfo);
this.increaseScore(_global.combo.supermanBonus * extraInfo);
break;
case "supermanTrifecta" :
specialIncreaseAmt = 50;
this.sTrifectaCount++;
this.comboShifter_mc.slideIn("supermanTrifecta");
this.increaseScore(_global.combo.supermanTrifectaBonus);
}
if (this.denySpecial != true) {
_global.specials.specialBar.increase(specialIncreaseAmt / this.experienceDrag);
}
}
};
this.increaseTimer = function (amount) {
this.timer = this.timer + (amount * Math.pow(_global.combo.bottlesUp, 2));
if (this.timer > _global.combo.maxComboTimeLimit) {
this.timer = _global.combo.maxComboTimeLimit;
}
};
this.increaseScore = function (amount) {
_parent.seatPositions_mc.entertainCustomer(amount);
if (_global.realBottlesUp > 0) {
this.currentScore = this.currentScore + (amount * Math.pow(_global.realBottlesUp, 2));
} else {
this.currentScore = this.currentScore + amount;
}
};
this.activateCombo = function () {
if (_global.combo.comboReady == true) {
if ((this.comboActive == false) && (_global.combo.finished == true)) {
_global.specials.specialBar.setRevertPoint();
this.comboTimerActivated = false;
this.denySpecial = false;
this.currentScore = 0;
this.displayedScore = 0;
if (_global.demoMode.bonusRound != "apopalypse") {
this.comboDisplayGraphics_mc._visible = true;
this.comboDisplayGraphics_mc.gotoAndPlay(2);
}
this.timer = _global.combo.maxComboTimeLimit;
this.comboActive = true;
}
}
};
this.endCombo = function (success) {
if (_global.demoMode.arenaMode != true) {
this.reactivationTimer = 0;
if (success == true) {
_parent.seatPositions_mc.entertainCustomer(0, true);
this.bankCombo(false);
this.comboDisplayGraphics_mc.gotoAndPlay("pass");
this.comboShifter_mc.reload();
this.comboShifter_mc.gotoAndPlay("fail");
if (this.timerClock != undefined) {
this.timerClock.removeMovieClip();
}
this.compareWithChecklist();
} else {
if (_global.combo.comboReady == true) {
_global.combo.comboReady = false;
}
_global.specials.specialBar.revert();
this.comboShifter_mc.reload();
_parent.seatPositions_mc.entertainCustomer(0, false);
this.comboDisplayGraphics_mc.gotoAndPlay("fail");
this.comboShifter_mc.gotoAndPlay("fail");
if (this.timerClock != undefined) {
this.timerClock.removeMovieClip();
}
}
_global.combo.balanceTime = 30;
this.balanceMultiplier = 1;
this.currentScore = 0;
this.displayedScore = 0;
this.zeroCounts();
this.comboActive = false;
this.denySpecial = false;
_global.combo.finished = true;
} else {
this.reactivationTimer = 0;
if (success == true) {
this.bankCombo(true);
_global.arenaController.playerScore = Math.round(this.currentScore);
this.comboDisplayGraphics_mc.gotoAndPlay("pass");
this.comboShifter_mc.reload();
this.comboShifter_mc.gotoAndPlay("fail");
if (this.timerClock != undefined) {
this.timerClock.removeMovieClip();
}
_global.arenaController.stepAhead("comboSuccessful");
} else {
if (_global.combo.comboReady == true) {
_global.combo.comboReady = false;
}
_global.specials.specialBar.revert();
this.comboShifter_mc.reload();
_parent.seatPositions_mc.entertainCustomer(0, false);
this.comboDisplayGraphics_mc.gotoAndPlay("fail");
this.comboShifter_mc.gotoAndPlay("fail");
if (this.timerClock != undefined) {
this.timerClock.removeMovieClip();
}
_global.arenaController.playerScore = 0;
_global.arenaController.stepAhead("comboFailed");
}
_global.combo.balanceTime = 30;
this.balanceMultiplier = 1;
this.currentScore = 0;
this.displayedScore = 0;
this.zeroCounts();
this.comboActive = false;
this.denySpecial = false;
_global.combo.finished = true;
}
};
this.bankCombo = function (isArenaMode) {
if (_global.specials.pointsToCash != false) {
_global.roundData.tipIncrease(this.trailingZeros(this.currentScore / 100));
}
_global.roundStats.totalScore = _global.roundStats.totalScore + Math.round(this.currentScore);
if (Math.round(_global.combo.balanceTime / 30) > _global.roundStats.highBalanceTime) {
_global.roundStats.highBalanceTime = Math.round(_global.combo.balanceTime / 30);
}
if (this.currentScore > _global.roundStats.highCombo) {
_global.roundStats.highCombo = this.currentScore;
}
if (this.popsInARow > _global.roundStats.mostPopsInARow) {
_global.roundStats.mostPopsInARow = this.popsInARow;
}
_global.roundStats.totalBalanceTime = _global.roundStats.totalBalanceTime + Math.round(_global.combo.balanceTime / 30);
_global.roundStats.balanceTransfers = _global.roundStats.balanceTransfers + this.balanceTransferCount;
if (this.flipsCount > _global.roundStats.mostFlips) {
_global.roundStats.mostFlips = this.flipsCount;
}
_global.roundStats.totalFlips = _global.roundStats.totalFlips + this.flipsCount;
_global.roundStats.totalGlassesCaught = _global.roundStats.totalGlassesCaught + this.catchCount;
if (this.popCount > _global.roundStats.mostGlassPopsInOneCombo) {
_global.roundStats.mostGlassPopsInOneCombo = this.popCount;
}
_global.roundStats.totalGlassPops = _global.roundStats.totalGlassPops + this.popCount;
if (this.backToBackTransfers > _global.roundStats.mostTransfersInOneCombo) {
_global.roundStats.mostTransfersInOneCombo = this.backToBackTransfers;
}
_global.roundStats.totalIceCubesCaught = _global.roundStats.totalIceCubesCaught + this.highCubeCount;
_global.roundStats.totalSupermans = _global.roundStats.totalSupermans + this.superManCount;
_global.roundStats.totalSupermanTrifectas = _global.roundStats.totalSupermanTrifectas + this.sTrifectaCount;
_global.roundStats.totalCoastToCoasts = _global.roundStats.totalCoastToCoasts + this.coastCount;
_global.roundStats.totalFrozenCoasts = _global.roundStats.totalFrozenCoasts + this.fcCount;
_global.roundStats.totalFrozenCoastTrifectas = _global.roundStats.totalFrozenCoastTrifectas + this.subZeroCount;
_global.roundStats.totalBouncedCubesCaught = _global.roundStats.totalBouncedCubesCaught + this.bounceCubeCount;
if (isArenaMode == false) {
_global.tutorialDisplay.checkScore(this.currentScore);
_parent.scoreDisplay_mc.bankScore(this.currentScore);
}
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (_global.combo.comboReady == false) {
if (this.reactivationTimer < 30) {
this.reactivationTimer++;
} else {
_global.combo.comboReady = true;
}
}
if (this.comboActive == true) {
if (_global.bottlesInPlay == 0) {
_global.combo.countDown = true;
if (this.comboTimerActivated != true) {
this.comboTimerActivated = true;
if (_global.demoMode.bonusRound != "apopalypse") {
_parent.mouseEffectsLayer.attachMovie("comboTimer", "comboTimer_mc", _parent.mouseEffectsLayer.getNextHighestDepth(), {_x:_root._xmouse + 20, _y:_root._ymouse + 20});
this.timerClock = _parent.mouseEffectsLayer.comboTimer_mc;
}
}
} else {
_global.combo.countDown = false;
}
if (this.timer < 1) {
}
}
}
};
this.compareWithChecklist = function () {
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
stop();
this.sfx = new Object();
this.sfx.exclamation1 = new Sound(this);
this.sfx.exclamation2 = new Sound(this);
this.sfx.exclamation3 = new Sound(this);
this.sfx.exclamation4 = new Sound(this);
this.sfx.exclamation5 = new Sound(this);
this.sfx.exclamation6 = new Sound(this);
this.sfx.exclamation7 = new Sound(this);
this.sfx.exclamation3alt = new Sound(this);
this.sfx.exclamation5alt = new Sound(this);
this.sfx.exclamation7alt = new Sound(this);
this.sfx.exclamation1.attachSound("exclamations1");
this.sfx.exclamation2.attachSound("exclamations2");
this.sfx.exclamation3.attachSound("exclamations3");
this.sfx.exclamation3alt.attachSound("exclamations3alt");
this.sfx.exclamation4.attachSound("exclamations4");
this.sfx.exclamation5.attachSound("exclamations5");
this.sfx.exclamation5alt.attachSound("exclamations5alt");
this.sfx.exclamation6.attachSound("exclamations6");
this.sfx.exclamation7.attachSound("exclamations7");
this.sfx.exclamation7.attachSound("exclamations7alt");
this.playExclamation = function (skillLevel) {
whichRand = Math.round(Math.random());
switch (skillLevel) {
case 1 :
this.sfx.exclamation1.start();
break;
case 2 :
this.sfx.exclamation2.start();
break;
case 3 :
if (whichRand == 0) {
this.sfx.exclamation3.start();
} else {
this.sfx.exclamation3alt.start();
}
break;
case 4 :
this.sfx.exclamation4.start();
break;
case 5 :
if (whichRand == 0) {
this.sfx.exclamation5.start();
} else {
this.sfx.exclamation5alt.start();
}
break;
case 6 :
this.sfx.exclamation6.start();
break;
case 7 :
if (whichRand == 0) {
this.sfx.exclamation7.start();
} else {
this.sfx.exclamation7alt.start();
}
}
};
Symbol 1869 MovieClip Frame 2
stop();
Symbol 1870 MovieClip Frame 1
_global.vipCardDisplay = this;
this.vipCardArray = new Array();
this.vipXLocArray = new Array();
this.vipXLocArray.push(0, 28, 57, 86);
i = 0;
if (_global.roundData.currentRound == "bonusRound") {
this._visible = false;
}
while (i < _global.roundData.vipCardMax) {
newX = this.vipXLocArray[i];
this.attachMovie("vipCardItem", "vipInstance" + i, this.getNextHighestDepth(), {_x:newX});
this.vipCardArray.push(this["vipInstance" + i]);
i++;
}
this.reduce = function () {
this.vipCardArray[_global.roundData.vipCardCurrent].gotoAndPlay(2);
};
Symbol 1872 MovieClip Frame 1
this._visible = false;
this.enabled = false;
this.onPress = function () {
_global.gamePaused = true;
_parent.pauseScreen_mc.play();
};
Symbol 1886 MovieClip Frame 1
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 2
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 3
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 4
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 5
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 6
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 7
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 8
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 9
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 10
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 11
this._visible = false;
stop();
Symbol 1886 MovieClip Frame 12
this._visible = false;
stop();
Symbol 1889 MovieClip Frame 1
stop();
Symbol 1933 MovieClip Frame 1
_parent._parent._parent.liquidAnim = this;
Symbol 1933 MovieClip Frame 2
this.liquidState = "static";
this.settle = function () {
if (this.liquidState != "settling") {
this.liquidState = "settling";
this.gotoAndPlay("settling");
}
};
this.spin = function (frame) {
if (this.liquidState == "static") {
this.gotoAndStop(frame);
}
};
this.pour = function (dir) {
if (this.liquidState != "pouring") {
this.liquidState = "pouring";
dir = "left";
if (dir) {
this.gotoAndPlay("pourLeft");
} else {
this.gotoAndPlay("pourRight");
}
}
};
this.liquidState = "static";
stop();
Symbol 1933 MovieClip Frame 392
this.gotoAndPlay("pourLeft");
Symbol 1933 MovieClip Frame 412
this.gotoAndPlay("pourRight");
Symbol 1933 MovieClip Frame 513
this.gotoAndStop(2);
Symbol 1964 MovieClip Frame 1
_parent._parent._parent.liquidAnim = this;
Symbol 1964 MovieClip Frame 2
this.liquidState = "static";
this.settle = function () {
if (this.liquidState != "settling") {
this.liquidState = "settling";
this.gotoAndPlay("settling");
}
};
this.spin = function (frame) {
if (this.liquidState == "static") {
this.gotoAndStop(frame);
}
};
this.pour = function (dir) {
if (this.liquidState != "pouring") {
this.liquidState = "pouring";
dir = "left";
if (dir) {
this.gotoAndPlay("pourLeft");
} else {
this.gotoAndPlay("pourRight");
}
}
};
this.liquidState = "static";
stop();
Symbol 1964 MovieClip Frame 392
this.gotoAndPlay("pourLeft");
Symbol 1964 MovieClip Frame 412
this.gotoAndPlay("pourRight");
Symbol 1964 MovieClip Frame 513
this.gotoAndStop(2);
Symbol 1965 MovieClip Frame 1
this._visible = _global.configuration.perf.liquid;
stop();
Symbol 1965 MovieClip Frame 2
stop();
Symbol 1965 MovieClip Frame 3
stop();
Symbol 1987 MovieClip Frame 1
this.shiner_mc._visible = _global.configuration.perf.bottleShine;
this.gotoAndStop(_parent._name);
this.liquor_mc.gotoAndStop("grenadine");
stop();
Symbol 1987 MovieClip Frame 2
this.liquor_mc._visible = false;
stop();
Symbol 1987 MovieClip Frame 3
this.liquor_mc.gotoAndStop("cream");
stop();
Symbol 1987 MovieClip Frame 4
this.liquor_mc._visible = false;
stop();
Symbol 1987 MovieClip Frame 5
this.liquor_mc.gotoAndStop("oneFiftyOne");
stop();
Symbol 1987 MovieClip Frame 6
this.liquor_mc.gotoAndStop("cream");
stop();
Symbol 1987 MovieClip Frame 7
this.liquor_mc._visible = false;
stop();
Symbol 1987 MovieClip Frame 8
this.liquor_mc.gotoAndStop("cream");
stop();
Symbol 1987 MovieClip Frame 9
this.liquor_mc._visible = false;
stop();
Symbol 2028 MovieClip Frame 1
stop();
Symbol 2032 MovieClip Frame 1
stop();
this.activeLaunch = false;
this.launched = false;
if (this.frozen != true) {
_parent.bottle_arr.push(this);
} else {
this.enabled = false;
}
if (this.enabled != false) {
_global.disable_arr.push(this);
}
this.checkedIn = true;
this.miniLiquor = true;
this.highPour = false;
this.leftWall = false;
this.popMeTimer = 0;
this.popped = false;
this.popMeCount = 0;
this.rightWall = false;
this.inPlay = false;
this.reBalanceTimer = 0;
this.balancing = false;
this.traceEffects = 0;
this.enabled = true;
this.pickedUp = false;
this.bottleImage_mc.shiner_mc.gotoAndStop(1);
this.readyToStop = false;
this.liquidCount = 0;
this.hitArea = this.bottleImage_mc;
this.released = false;
this.homeX = this._x;
this.homeY = this._y;
this.balanceTransfer = 0;
this.popCount = 0;
this.gestureRecord = new Array(0, 0, 0, 0, 0, 0);
this.spinMomentum = 0;
this.spinCharge = 0;
this.setDown = true;
this.readyToPour = true;
this.pouring = false;
this.glass = undefined;
this.xMomentum = 0;
this.yMomentum = 0;
this.beenShotTimer = 10;
this.lastXMomentum = new Array(0, 0);
this.lastYMomentum = new Array(0, 0);
this.momentumSpacer = 0;
this.playPickup = true;
if (((_global.demoMode.bonusRound == "iceStorm") || (_global.demoMode.bonusRound == "perfectPour")) || (_global.demoMode.bonusRound == "apopalypse")) {
this._visible = false;
this.enabled = false;
}
this.onPress = function () {
if (this.playPickup == true) {
_global.sfxLayer.playBottlePickup();
this.playPickup = false;
}
if (this.hintArrow == true) {
this.hintArrow = false;
}
this.coast2coast("reset");
if (this.frozen == true) {
this.enabled = false;
return(undefined);
}
if (this.activeLaunch != true) {
this.catchArea_mc.gotoAndStop(1);
if (this.pouring == true) {
this.glass.stopFill();
this.endPour();
this.hitArea = this.catchArea_mc;
}
if ((_global.bottleValues.heldBottle == undefined) && (_global.bottleValues.heldBottle2 != this)) {
this.putInPlay(false);
_global.bottleValues.heldBottle = this;
this.whichHand = 1;
this.pourSpout_mc.gotoAndStop(1);
}
if ((_global.bottleValues.heldBottle != undefined) && (_global.bottleValues.heldBottle != this)) {
this.putInPlay(false);
_global.bottleValues.heldBottle2 = this;
this.whichHand = -1;
this.pourSpout_mc.gotoAndStop(2);
}
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
if (this.balancing != true) {
this.balanceTransferCheck(false);
this._rotation = 0;
this.pickedUp = true;
}
this.momentumChanged = false;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.catchArea_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
} else if ((_parent.judgeRevolver_mc.empty != true) && (this.frozen != true)) {
this.shotDown();
}
};
this.onRelease = function () {
if ((this.pouring == false) || (this.snapBack == true)) {
this.putInPlay(true);
this.toss();
} else {
this.putInPlay(true);
this.hitArea = this.bottleImage_mc;
this.balancing = false;
this.pickedUp = false;
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onReleaseOutside = function () {
if ((this.pouring == false) || (this.snapBack == true)) {
this.putInPlay(true);
this.toss();
} else {
this.putInPlay(true);
this.hitArea = this.bottleImage_mc;
this.balancing = false;
this.pickedUp = false;
}
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if ((this.pickedUp == true) || (this.released == true)) {
if (this._rotation <= 0) {
shineRot = Math.abs(this._rotation);
liqRot = shineRot;
} else {
shineRot = 360 - this._rotation;
liqRot = shineRot;
}
this.liquidAnim.spin(liqRot);
}
if (this.balancing != true) {
if (this.released == true) {
if (this.popped != false) {
this.popMeTimer++;
if (this.popMeTimer == 10) {
this.popped = false;
this.popMeTimer = 0;
}
}
if (this.bottleImage_mc.hitTest(_global.bottleValues.heldBottle.bottleImage_mc)) {
if ((((_global.bottleValues.heldBottle.pouring != true) && (_global.bottleValues.heldBottle.balancing != true)) && (_global.bottleValues.heldBottle.spinCharge != 0)) && (this.activeLaunch != true)) {
this.popMe(_global.bottleValues.heldBottle.spinCharge);
}
}
if (this.bottleImage_mc.hitTest(_global.bottleValues.heldBottle2.bottleImage_mc)) {
if ((((_global.bottleValues.heldBottle2.pouring != true) && (_global.bottleValues.heldBottle.balancing != true)) && (_global.bottleValues.heldBottle.spinCharge != 0)) && (this.activeLaunch != true)) {
this.popMe(_global.bottleValues.heldBottle.spinCharge);
}
}
wh = this.whichHand;
if (this.safeRelease == true) {
if (this.bottleImage_mc.hitTest(_global.safeReleaseZone) == false) {
this.safeRelease = false;
}
}
if (this._y <= 0) {
if (this.indicated != true) {
this.indicated = true;
_parent.attachMovie("bottleIndicator", this._name + "bottleIndicator_mc", _parent.getNextHighestDepth(), {_x:this._x, _y:0, drinkOwner:this});
}
} else {
this.indicated = false;
}
}
}
if (this.balancing == true) {
this.comboBalance("increment");
if (Math.abs(this._rotation2) < 90) {
this.balanceRelease();
this.toss();
}
this.balanceBoard_mc.gotoAndPlay(2);
this.stallCount++;
this._x2 = _parent._xmouse;
this._y2 = _parent._ymouse;
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x2) / 2;
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y2) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
}
this.lastLastX = this.lastX;
this.lastX = this._x2;
this.lastLastY = this.lastY;
this.lastY = this._y2;
if (rotCountDown > 5) {
rotCountDown = rotCountDown - 0.5;
}
distanceFromVertical = 180 - Math.abs(this._rotation2);
if (this._rotation2 < 0) {
rMult = 1;
} else {
rMult = -1;
}
if (this.stallCount > 15) {
if ((180 - Math.abs(this._rotation2)) < 5) {
randomFall = (rMult * (Math.random() * 1)) / 2;
}
fallDirection = randomFall + (rMult * (distanceFromVertical / 8));
this.lastLastRot = this.lastRot;
this.lastRot = this._rotation2;
this._rotation2 = (this._rotation2 + (fallDirection * _global.bottleValues.gravity)) + (this.xMomentum / 2);
}
}
if (this.pouring == true) {
if ((this._y < 10) && (this.highPour != true)) {
this.highPour = true;
this.comboHighPour();
}
if ((this.glass.filling == true) || (this.glass.doubleFilled == true)) {
this.readyToStop = true;
_global.pouringLiquidScript(this, "miniBottle");
}
}
if ((this.pouring == true) && (this.pickedUp == false)) {
if (this.rider != undefined) {
this.rider.popTimer = 5;
this.riderRelease();
}
this.spinCharge = 0;
if (wh == 1) {
if (this._rotation > -150) {
this._rotation = this._rotation - 20;
} else {
this._rotation = -150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("left");
}
} else if (this._rotation < 150) {
this._rotation = this._rotation + 20;
} else {
this._rotation = 150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("right");
}
}
if (this.pickedUp == true) {
wh = this.whichHand;
if ((Math.abs(this.xMomentum) > 2) || (Math.abs(this.yMomentum) > 2)) {
this.readyToPour = false;
} else if (this.snapBack != true) {
this.readyToPour = true;
}
if (this.pouring == true) {
if (this.rider != undefined) {
this.rider.popTimer = 5;
this.riderRelease();
}
this.spinCharge = 0;
if (wh == 1) {
if (this._rotation > -150) {
this._rotation = this._rotation - 20;
} else {
this._rotation = -150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("left");
}
} else if (this._rotation < 150) {
this._rotation = this._rotation + 20;
} else {
this._rotation = 150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("right");
}
}
if (this.snapBack == true) {
wh = this.whichHand;
this.liquidAnim.liquidState = "static";
if (wh == 1) {
if (this._rotation < -30) {
this._rotation = this._rotation + 20;
} else {
this._rotation = -30;
this.readyToPour = true;
this.psHitArea_mc._height = 50;
this.snapBack = false;
this.checkedIn = true;
}
} else if (this._rotation > 30) {
this._rotation = this._rotation - 20;
} else {
this._rotation = 30;
this.psHitArea_mc._height = 50;
this.readyToPour = true;
this.snapBack = false;
this.checkedIn = true;
}
}
if (this.rider != undefined) {
if (this.spinCharge != 0) {
this.rider.popTimer = 5;
this.riderRelease();
}
if (this.whichHand == 1) {
this.rider._x = this._x - this.rider.glassProperties.rideX;
this.rider._y = this._y - this.rider.glassProperties.rideY;
} else {
this.rider._x = this._x + this.rider.glassProperties.rideX;
this.rider._y = this._y - this.rider.glassProperties.rideY;
}
this.rider._rotation = this._rotation - 180;
if ((this.spinCharge == 0) && (this.caughtIt != true)) {
this.rider.swapDepths(this);
this.caughtIt = true;
this.comboCatch();
}
}
if (this.spinCharge == 0) {
wh = this.whichHand;
if (wh == 1) {
if (this._rotation > -30) {
this._rotation = this._rotation - 2;
}
} else if (this._rotation < 30) {
this._rotation = this._rotation + 2;
}
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
if (this.spinCharge != 0) {
this.tracer();
}
}
this._x = _parent._xmouse;
this._y = _parent._ymouse;
if (this.spinCharge != 0) {
if ((this.lastY != this._y) || (this.lastX != this._x)) {
}
}
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
this.pickUpTimer++;
if (this.pickUpTimer >= 15) {
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) > 10) && (this.momentumChanged != true)) {
this.mouseGesture();
this.momentumChanged = true;
}
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) < 10) && (this.momentumChanged == true)) {
this.momentumChanged = false;
}
}
this.spinMomentum = (_global.bottleValues.spinMultiplier * this.xMomentum) + ((this.spinCharge * (this.xMomentum + 1)) / Math.abs(this.xMomentum + 1));
if (this.spinCharge != 0) {
this._rotation = this._rotation + this.spinCharge;
}
if ((this._y < 0) && (this.pouring == true)) {
this._y = 0;
}
}
if (this.released == true) {
if (((_global.shotgunCount > 0) && (this.beenShotTimer > 10)) && (Key.isDown(32) == true)) {
_global.shotgunFire(this);
}
if ((_global.shotgunCount > 0) && (this.beenShotTimer < 12)) {
this.beenShotTimer++;
}
if (this.reBalanceTimer > 0) {
this.reBalanceTimer--;
}
this._rotation = this._rotation + this.spinMomentum;
if (this._x <= 0) {
if (this.frozen != true) {
this.coast2coast("left");
this._x = 1;
this.xMomentum = -this.xMomentum;
}
}
if (this._x >= 720) {
if (this.frozen != true) {
this.coast2coast("right");
this._x = 719;
this.xMomentum = -this.xMomentum;
}
}
if (this._y <= 344) {
if (this.frozen != true) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - (0.5 * _global.bottleValues.gravity);
if (this.yMomentum < _global.bottleValues.minimumYVelocity) {
this.yMomentum = _global.bottleValues.minimumYVelocity;
}
this._x = this._x - this.xMomentum;
if ((_global.specials.yumiSpecial == true) && (this._y > 0)) {
if (this.yMomentum < (-_global.specials.yumiFallLimiter)) {
this.yMomentum = -_global.specials.yumiFallLimiter;
}
}
}
} else if (_global.specials.natashaSpecial != true) {
if ((this.yMomentum < _global.bottleValues.terminalVelocity) && (this.safeRelease == false)) {
this.shatter();
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
this.pickedUp = false;
this.released = false;
this.setDown = true;
this.hitArea = this.bottleImage_mc;
} else {
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this.play();
this.hitArea = this.bottleImage_mc;
}
} else if ((this.yMomentum < -3) && (this.safeRelease == false)) {
this._y = 343;
this.yMomentum = -this.yMomentum;
_parent.sfxLayer_mc.playPop();
} else {
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this.play();
this.hitArea = this.bottleImage_mc;
}
}
if (this.released == true) {
if (this.spinMomentum > 0) {
if ((this._rotation >= 100) && (this.topSpinCount == this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount != this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
} else {
if ((this._rotation >= 100) && (this.topSpinCount != this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount == this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
}
}
}
};
this.toss = function () {
if (this.highPour == true) {
this.highPour = false;
}
this.balancing = false;
this.whichHand = 0;
if (this.setDown == true) {
_global.combo.bottlesUp++;
this.setDown = false;
}
this.popCount = 0;
if (_global.bottleValues.heldBottle == this) {
_global.bottleValues.heldBottle = undefined;
}
if (_global.bottleValues.heldBottle2 == this) {
_global.bottleValues.heldBottle2 = undefined;
}
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
if (this.rider != undefined) {
this.riderRelease();
}
if (this.bottleImage_mc.hitTest(_global.safeReleaseZone)) {
this.safeRelease = true;
} else {
this.safeRelease = false;
}
};
this.riderRelease = function () {
this.rider.pickedUp = false;
this.rider.onBottle = false;
this.rider.released = true;
this.rider.yMomentum = (Math.random() * 7) + 7;
if (this.rider.getDepth() > this.getDepth()) {
this.rider.swapDepths(this);
}
if (this.spinCharge != 0) {
this.rider.xMomentum = ((Math.random() * 10) - 5) * this.popCount;
this.popCount++;
if (_global.configuration.perf.sparkles != false) {
_global.effectsLayer.attachMovie("bounceFlash", "bounceFlash" + popCount, _global.effectsLayer.getNextHighestDepth(), {_x:this.rider._x, _y:this.rider._y});
}
this.comboPop();
} else {
this.rider.xMomentum = this.xMomentum;
}
this.caughtIt = false;
this.rider = undefined;
};
this.popMe = function (spinVal) {
if (this.popped == false) {
this.popped = true;
_parent.sfxLayer_mc.playPop();
if (this.yMomentum <= 0) {
this.popMeCount++;
yyyRand = -(Math.random() * 10);
this.yMomentum = (yyyRand - (this.yMomentum / 2)) + spinVal;
xxxRand = ((Math.random() * 10) - 5) * (this.popMeCount / 2);
this.xMomentum = this.xMomentum + xxxRand;
this.spinMomentum = (Math.random() * 30) - 15;
}
}
};
this.comboSpin = function () {
if (this.activeLaunch == false) {
if (((this.topSpinCount + this.bottomSpinCount) / 2) == Math.round((this.topSpinCount + this.bottomSpinCount) / 2)) {
if (this.safeRelease != true) {
_global.comboDisplay.updateCombo("flip");
}
}
}
};
this.coast2coast = function (triggerID) {
switch (triggerID) {
case "left" :
this.leftWall = true;
break;
case "right" :
this.rightWall = true;
break;
case "reset" :
this.leftWall = false;
this.rightWall = false;
}
if ((this.leftWall == true) && (this.rightWall == true)) {
this.leftWall = false;
this.rightWall = false;
_global.comboDisplay.updateCombo("coast2coast");
}
};
this.comboPop = function () {
_parent.sfxLayer_mc.playPop();
_global.comboDisplay.updateCombo("pop");
};
this.comboCatch = function () {
_parent.sfxLayer_mc.playPop();
_global.comboDisplay.updateCombo("catch");
};
this.comboBalance = function (milestone) {
if (milestone == "start") {
_parent.sfxLayer_mc.playBalance();
}
_global.comboDisplay.updateBalance(milestone);
};
this.comboHighPour = function () {
_global.comboDisplay.updateCombo("highPour");
};
this.shatter = function () {
if (this.launched != true) {
_parent.playEffect("bottleShot");
_global.comboDisplay.updateCombo("shatter");
}
this.enabled = false;
_parent.attachMovie("bottleShatterAnimation", "bottleShatterAnimation" + this._name, _parent.getNextHighestDepth(), {_x:this._x + 246, _y:this._y - 72, pwner:this});
this.spinCharge = 0;
if ((_global.judgeSpecial != true) && (_global.johnnySpecial != true)) {
_global.roundStats.glassesBroken++;
}
};
this.reRack = function () {
this.popMeCount = 0;
this.leftWall = false;
this.rightWall = false;
if (this.highPour == true) {
this.highPour = false;
}
this.putInPlay(false);
if ((_global.bottlesInPlay == 0) && (this.activeLaunch != true)) {
_global.combo.comboReady = true;
if (_global.comboDisplay.comboActive == true) {
_global.comboDisplay.endCombo(true);
}
}
if (this.activeLaunch == true) {
_parent.testJudgeFinished(this);
}
this.liquidAnim.settle();
this.spinCharge = 0;
this._x = this.homeX;
this._y = this.homeY;
this.pourSpout_mc.gotoAndStop(1);
};
this.beginPour = function (targetGlass) {
if (this.readyToPour == true) {
this.putInPlay(true);
this.pouring = true;
this.glass = targetGlass;
if (this.glass.bottle == undefined) {
this.sfx.liquorPour0.start();
this.glass.bottle = this;
} else {
this.sfx.liquorPour1.start();
this.glass.bottle2 = this;
}
this.readyToPour = false;
}
};
this.endPour = function (targetGlass) {
this.putInPlay(false);
if (this.glass.bottle == this) {
this.sfx.liquorPour0.stop();
this.glass.filling = undefined;
this.glass.currentIngredient = null;
this.glass.bottle = null;
}
if (this.glass.bottle2 == this) {
this.sfx.liquorPour1.stop();
this.glass.doubleFilled = undefined;
this.glass.currentIngredient2 = null;
this.glass.bottle2 = null;
}
this.glass.stopFilling = true;
this.snapBack = true;
this.readyToPour = false;
this.pouring = false;
this.glass = undefined;
};
this.mouseGesture = function () {
if (this.lastXMomentum[0] < 0) {
quad = 4;
if (this.lastYMomentum[0] > 10) {
quad = 3;
}
if (this.lastYMomentum[0] < -10) {
quad = 5;
}
}
if (this.lastXMomentum[0] > 0) {
quad = 0;
if (this.lastYMomentum[0] > 10) {
quad = 1;
}
if (this.lastYMomentum[0] < -10) {
quad = 7;
}
}
_parent.quadText_txt.text = quad;
this.gestureRecord[5] = this.gestureRecord[4];
this.gestureRecord[4] = this.gestureRecord[3];
this.gestureRecord[3] = this.gestureRecord[2];
this.gestureRecord[2] = this.gestureRecord[1];
this.gestureRecord[1] = this.gestureRecord[0];
this.gestureRecord[0] = quad;
if ((this.gestureRecord[1] == 5) && (this.gestureRecord[0] == 1)) {
this.specialMove("spinCharge");
}
if (((this.gestureRecord[2] == 0) && (this.gestureRecord[1] == 5)) && (this.gestureRecord[0] == 3)) {
}
if (((((this.gestureRecord[0] == 1) && (this.gestureRecord[1] == 5)) && (this.gestureRecord[2] == 0)) && (this.gestureRecord[3] == 3)) && (this.gestureRecord[4] == 7)) {
_parent.callSpecial("judge");
}
};
this.specialMove = function (specialType) {
if (!(specialType === "spinCharge")) {
} else if (this.spinCharge < _global.specials.maximumSpinCharge) {
if (_global.combo.comboTimerInstance.activation == true) {
_global.combo.comboTimerInstance.extendTime();
}
this.spinCharge = this.spinCharge + _global.specials.spinRotationIncrement;
if (this.spinCharge == _global.specials.spinRotationIncrement) {
_parent.sfxLayer_mc.playSpin(1);
}
if (this.spinCharge == (_global.specials.spinRotationIncrement * 2)) {
_parent.sfxLayer_mc.playSpin(2);
}
if (this.spinCharge == (_global.specials.spinRotationIncrement * 3)) {
_parent.sfxLayer_mc.playSpin(3);
}
this.particleSpray("Sparklers", this);
if (this.rider != undefined) {
this.riderRelease();
}
}
};
this.tracer = function () {
if (_global.configuration.perf.tracers != false) {
xSpace4 = this.lastXMomentum[0];
xSpace3 = this.lastXMomentum[0] / 2;
xSpace2 = this.xMomentum / 2;
xSpace1 = this.xMomentum;
ySpace4 = this.lastYMomentum[0];
ySpace3 = this.lastYMomentum[0] / 2;
ySpace2 = this.yMomentum / 2;
ySpace1 = this.yMomentum;
tracerX = new Array(xSpace4, xSpace3, xSpace2, xSpace1);
tracerY = new Array(xSpace4, ySpace3, ySpace2, ySpace1);
for (i in tracerX) {
this.traceEffects++;
if (_global.configuration.perf.sparkles != false) {
_global.effectsLayer.attachMovie("bottleTracer", (this._name + "effect") + this.traceEffects, _global.effectsLayer.getNextHighestDepth(), {_x:this._x + tracerX[i], _y:this._y + tracerY[i], fading:true, _rotation:this._rotation - ((this.spinCharge + 1) / (i + 1))});
_global.effectsLayer[(this._name + "effect") + this.traceEffects].tracer_mc.gotoAndStop(this.bottleImage_mc._currentframe);
}
}
}
};
this.particleSpray = function (character, caller) {
switch (character) {
case "Severnaya" :
xtime = 0;
do {
_parent.attachMovie("symbolParticle", "symbolParticle_mc" + xtime, _parent.getNextHighestDepth(), {_x:this._x, _y:this._y, _rotation:36 * xtime, homePoint:caller, increment:xtime});
xtime++;
} while (xtime < 11);
break;
case "Danny" :
xtime = 0;
do {
_parent.attachMovie("irishParticle", "irishParticle_mc" + xtime, _parent.getNextHighestDepth(), {homePoint:caller, increment:xtime});
xtime++;
} while (xtime < 11);
break;
case "Sparklers" :
if (_global.configuration.perf.sparkles == false) {
break;
}
_global.effectsLayer.attachMovie("fireworksExplosion", this._name + "fireworksExplosion", _global.effectsLayer.getNextHighestDepth(), {_x:this._x - 160, _y:this._y - 120, _width:320, _height:240});
}
};
this.spraySparks = function (quadrant) {
if (_global.configuration.perf.sparkles != false) {
xC = 0;
xpos = this.lastX;
ypos = this.lastY;
xAdj = (Math.random() * 10) + 5;
yRand = 0;
xRand = 0;
rSize = (Math.random() * 10) + 5;
_global.effectsLayer.attachMovie("particleSpark", "particleSpark" + xC, _global.effectsLayer.getNextHighestDepth(), {_x:xpos + xAdj, _y:ypos, _width:rSize, _height:rSize, xMomentum:xRand, yMomentum:yRand, reference:this, isStatic:true});
}
};
this.balanceRelease = function () {
this.comboBalance("stop");
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
this.reBalanceTimer = 30;
this.spinMomentum = (this.spinMomentum = (_global.bottleValues.spinMultiplier * this.xMomentum) + (this.lastRot - this.lastLastRot));
this.pickedUp = false;
this.balancing = false;
};
this.launch = function () {
this.balancing = false;
this.activeLaunch = true;
this.launched = true;
this.whichHand = 0;
_global.combo.bottlesUp++;
this.setDown = false;
this.popCount = 0;
this.pickedUp = false;
this.released = true;
this.catchArea_mc.gotoAndStop(2);
this.hitArea = this.catchArea_mc;
this.yMomentum = 20 + (Math.random() * 5);
this.spinMomentum = 5 + (Math.random() * 20);
};
this.shotDown = function () {
_global.comboDisplay.updateCombo("shotDown");
this.enabled = false;
if (_global.configuration.perf.sparkles != false) {
_parent.attachMovie("bottleShot", "bottleShot" + this._name, _parent.getNextHighestDepth(), {_x:this._x, _y:this._y});
}
this.catchArea_mc.gotoAndStop(1);
this._rotation = 0;
this.setDown = true;
this.yMomentum = 0;
this.spinMomentum = 0;
this.xMomentum = 0;
this.launched = false;
this.reRack();
_global.missedShot = false;
};
this.balanceTransferCheck = function (transferOrReset) {
if (transferOrReset == true) {
this.balanceTransfer++;
} else {
this.balanceTransfer = 0;
}
if (this.balanceTransfer >= 2) {
_global.comboDisplay.updateCombo("balanceTransfer", this.balanceTransfer - 1);
}
};
this.putInPlay = function (inOrOut) {
if (this.inPlay != inOrOut) {
this.inPlay = inOrOut;
if (inOrOut == true) {
_global.bottlesInPlay++;
_global.realBottlesUp++;
} else {
_global.bottlesInPlay--;
_global.realBottlesUp--;
}
}
_parent.quadText_txt.text = _global.bottlesInPlay;
};
this.sfx = new Object();
if ((this._name == "salt_mc") || (this._name == "sugar_mc")) {
this.sfx.liquorPour0 = new Sound(this);
this.sfx.liquorPour0.attachSound("granularPour");
this.sfx.liquorPour1 = new Sound(this);
this.sfx.liquorPour1.attachSound("granularPour");
} else {
this.sfx.liquorPour0 = new Sound(this);
this.sfx.liquorPour0.attachSound("liquorPour0");
this.sfx.liquorPour1 = new Sound(this);
this.sfx.liquorPour1.attachSound("liquorPour0");
}
Symbol 2032 MovieClip Frame 2
this.onEnterFrame = null;
this.onPress = null;
this.onRelease = null;
this.onReleaseOutside = null;
this.bottleImage_mc.innerFlash_mc.gotoAndPlay(2);
Symbol 2032 MovieClip Frame 15
this._rotation = 0;
this.bottleImage_mc.shiner_mc.gotoAndStop(1);
this.reRack();
Symbol 2032 MovieClip Frame 16
this.bottleImage_mc.innerFlash_mc.gotoAndPlay(20);
Symbol 2035 MovieClip Frame 1
if (((_global.demoMode.bonusRound == "iceStorm") || (_global.demoMode.bonusRound == "perfectPour")) || (_global.demoMode.bonusRound == "apopalypse")) {
this._visible = false;
}
Symbol 2039 MovieClip Frame 1
stop();
Symbol 2039 MovieClip Frame 2
stop();
Symbol 2042 MovieClip Frame 1
this._visible = _global.configuration.perf.liquid;
stop();
Symbol 2042 MovieClip Frame 2
stop();
Symbol 2042 MovieClip Frame 3
stop();
Symbol 2042 MovieClip Frame 4
stop();
Symbol 2042 MovieClip Frame 5
stop();
Symbol 2042 MovieClip Frame 6
stop();
Symbol 2042 MovieClip Frame 7
stop();
Symbol 2042 MovieClip Frame 8
stop();
Symbol 2042 MovieClip Frame 9
stop();
Symbol 2042 MovieClip Frame 10
stop();
Symbol 2072 MovieClip Frame 1
stop();
Symbol 2124 MovieClip Frame 1
stop();
Symbol 2161 MovieClip Frame 1
stop();
Symbol 2194 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 1
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 1
this.shiner_mc._visible = _global.configuration.perf.bottleShine;
this.gotoAndStop(_parent._name);
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 2
this.liquor_mc.gotoAndStop("clear");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 3
this.liquor_mc.gotoAndStop("white");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 4
this.liquor_mc.gotoAndStop("white");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 5
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 6
this.liquor_mc.gotoAndStop("clear");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 7
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 8
this.liquor_mc.gotoAndStop("clear");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 9
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 10
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 11
_parent.shine_mc._y = _parent.shine_mc._y + 10;
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 12
this.liquor_mc.gotoAndStop("brown");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 13
this.liquor_mc.gotoAndStop("green");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 14
this.liquor_mc.gotoAndStop("orangeJuice");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 15
this.liquor_mc.gotoAndStop("lemonJuice");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 16
this.liquor_mc.gotoAndStop("limeJuice");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 17
this.liquor_mc.gotoAndStop("cranJuice");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 18
this.liquor_mc.gotoAndStop("pineJuice");
stop();
Symbol 2240 MovieClip [largerBottleImage] Frame 19
this.liquor_mc.gotoAndStop("brown");
stop();
Symbol 2241 MovieClip Frame 1
stop();
Symbol 2244 MovieClip [largerBottle] Frame 1
stop();
this.shiner_mc.bottleImage_mc.shiner_mc._visible = _global.configuration.perf.bottleShine;
if (this.enabled != false) {
_global.disable_arr.push(this);
}
this.activeLaunch = false;
this.launched = false;
if (this.frozen != true) {
_parent.bottle_arr.push(this);
} else {
this.enabled = false;
}
this.johnnySmashed = false;
this.checkedIn = true;
this.highPour = false;
this.leftWall = false;
this.popMeTimer = 0;
this.popped = false;
this.popMeCount = 0;
this.rightWall = false;
this.inPlay = false;
this.reBalanceTimer = 0;
this.beenShotTimer = 10;
this.balancing = false;
this.traceEffects = 0;
this.enabled = true;
this.pickedUp = false;
this.bottleImage_mc.shiner_mc.gotoAndStop(1);
this.readyToStop = false;
this.liquidCount = 0;
this.hitArea = this.bottleImage_mc;
this.released = false;
this.homeX = this._x;
this.homeY = this._y;
this.balanceTransfer = 0;
this.popCount = 0;
this.gestureRecord = new Array(0, 0, 0, 0, 0, 0);
this.spinMomentum = 0;
this.spinCharge = 0;
this.setDown = true;
this.readyToPour = true;
this.pouring = false;
this.glass = undefined;
this.xMomentum = 0;
this.yMomentum = 0;
this.lastXMomentum = new Array(0, 0);
this.lastYMomentum = new Array(0, 0);
this.momentumSpacer = 0;
this.stallCount = 0;
this.playPickup = true;
if ((_global.demoMode.bonusRound == "perfectPour") && (this.ing.shortName != "Gin")) {
this._visible = false;
this.enabled = false;
}
if (((_global.demoMode.bonusRound == "apopalypse") && (this.ing.shortName != "Gin")) && (this.ing.shortName != "Meln")) {
this._visible = false;
this.enabled = false;
}
if (_global.demoMode.bonusRound == "iceStorm") {
this._visible = false;
this.enabled = false;
}
this.onPress = function () {
if (_global.tutorialDisplay.waiting == "forBottleClick") {
_global.tutorialDisplay.receiveEvents("bottleClicked");
}
if (this.playPickup == true) {
_global.sfxLayer.playBottlePickup();
this.playPickup = false;
}
if (this.hintArrow == true) {
this.hintArrow = false;
}
this.coast2coast("reset");
if (this.frozen == true) {
this.enabled = false;
return(undefined);
}
if (this.activeLaunch != true) {
this.catchArea_mc.gotoAndStop(1);
if (this.pouring == true) {
this.glass.stopFill();
this.endPour();
this.hitArea = this.catchArea_mc;
}
if ((_global.bottleValues.heldBottle == undefined) && (_global.bottleValues.heldBottle2 != this)) {
this.putInPlay(false);
_global.bottleValues.heldBottle = this;
this.whichHand = 1;
this.pourSpout_mc.gotoAndStop(1);
}
if ((_global.bottleValues.heldBottle != undefined) && (_global.bottleValues.heldBottle != this)) {
this.putInPlay(false);
_global.bottleValues.heldBottle2 = this;
this.whichHand = -1;
this.pourSpout_mc.gotoAndStop(2);
}
rotAbs = Math.abs(this._rotation);
if (_global.flairUpgrades.balanceLevel == 1) {
if (rotAbs > 140) {
rotAbs = 161;
}
}
if ((rotAbs > 160) && (this.reBalanceTimer < 1)) {
if (_global.tutorialDisplay.waiting == "forBalance") {
_global.tutorialDisplay.receiveEvents("balanceStart");
}
this.balanceTransferCheck(true);
this.putInPlay(true);
if (_global.configuration.perf.sparkles != false) {
bvSpinner_mc.gotoAndPlay(2);
}
com.darronschall.DynamicRegistration.initialize(this);
this.comboBalance("start");
this.readyToPour = false;
this.setRegistration(0, -57);
rotCountDown = 100;
this.balancing = true;
this._rotation = 180;
this.spinMomentum = 0;
this.spinCharge = 0;
this.startedBalancing = true;
this.snapBack = true;
}
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
if (this.balancing != true) {
this.balanceTransferCheck(false);
this._rotation = 0;
this.pickedUp = true;
}
this.momentumChanged = false;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.catchArea_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
} else if ((_parent.judgeRevolver_mc.empty != true) && (this.frozen != true)) {
this.shotDown();
}
};
this.onRelease = function () {
if (_global.johnnySpecial == true) {
this.johnnySmashed = true;
}
if (this.balancing == true) {
this.putInPlay(true);
this.balanceRelease();
}
if ((this.pouring == false) || (this.snapBack == true)) {
this.putInPlay(true);
this.toss();
} else {
this.putInPlay(true);
this.hitArea = this.bottleImage_mc;
this.balancing = false;
this.pickedUp = false;
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onReleaseOutside = function () {
if (_global.johnnySpecial == true) {
this.johnnySmashed = true;
}
if (this.balancing == true) {
this.putInPlay(true);
this.balanceRelease();
}
if ((this.pouring == false) || (this.snapBack == true)) {
this.putInPlay(true);
this.toss();
} else {
this.putInPlay(true);
this.hitArea = this.bottleImage_mc;
this.balancing = false;
this.pickedUp = false;
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if ((this.pickedUp == true) || (this.released == true)) {
if (this._rotation <= 0) {
shineRot = Math.abs(this._rotation);
liqRot = shineRot;
} else {
shineRot = 360 - this._rotation;
liqRot = shineRot;
}
this.bottleImage_mc.shiner_mc.gotoAndStop(shineRot + 1);
this.liquidAnim.spin(liqRot);
}
if (this.balancing != true) {
if (this.released == true) {
if (this.popped != false) {
this.popMeTimer++;
if (this.popMeTimer == 10) {
this.popped = false;
this.popMeTimer = 0;
}
}
if (this.bottleImage_mc.hitTest(_global.bottleValues.heldBottle.bottleImage_mc)) {
if ((((_global.bottleValues.heldBottle.pouring != true) && (_global.bottleValues.heldBottle.balancing != true)) && (_global.bottleValues.heldBottle.spinCharge != 0)) && (this.activeLaunch != true)) {
this.popMe(_global.bottleValues.heldBottle.spinCharge);
}
}
if (this.bottleImage_mc.hitTest(_global.bottleValues.heldBottle2.bottleImage_mc)) {
if ((((_global.bottleValues.heldBottle2.pouring != true) && (_global.bottleValues.heldBottle.balancing != true)) && (_global.bottleValues.heldBottle.spinCharge != 0)) && (this.activeLaunch != true)) {
this.popMe(_global.bottleValues.heldBottle.spinCharge);
}
}
wh = this.whichHand;
if (this.safeRelease == true) {
if (this.bottleImage_mc.hitTest(_global.safeReleaseZone) == false) {
this.safeRelease = false;
}
}
if (this._y <= 0) {
if (this.indicated != true) {
this.indicated = true;
_parent.attachMovie("bottleIndicator", this._name + "bottleIndicator_mc", _parent.getNextHighestDepth(), {_x:this._x, drinkOwner:this});
}
} else {
this.indicated = false;
}
}
}
if (this.balancing == true) {
this.comboBalance("increment");
if (Math.abs(this._rotation2) < 90) {
this.balanceRelease();
this.toss();
}
this.balanceBoard_mc.gotoAndPlay(2);
this.stallCount++;
this._x2 = _parent._xmouse;
this._y2 = _parent._ymouse;
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x2) / 2;
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y2) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this.lastLastX = this.lastX;
this.lastX = this._x2;
this.lastLastY = this.lastY;
this.lastY = this._y2;
if (rotCountDown > 5) {
rotCountDown = rotCountDown - 0.5;
}
distanceFromVertical = 180 - Math.abs(this._rotation2);
if (this._rotation2 < 0) {
rMult = 1;
} else {
rMult = -1;
}
if (this.stallCount > 15) {
if ((180 - Math.abs(this._rotation2)) < 5) {
randomFall = (rMult * (Math.random() * (this.stallCount / 600))) / 2;
}
fallDirection = randomFall + (rMult * (distanceFromVertical / 8));
this.lastLastRot = this.lastRot;
this.lastRot = this._rotation2;
this._rotation2 = (this._rotation2 + (fallDirection * (_global.bottleValues.gravity / _global.playerStats.dexterityBalanceDenominator[_global.playerStats.dexterity]))) + (this.xMomentum / 2);
}
}
if (this.pouring == true) {
if ((this._y < 10) && (this.highPour != true)) {
this.highPour = true;
this.comboHighPour();
}
if ((this.glass.filling == true) || (this.glass.doubleFilled == true)) {
this.readyToStop = true;
_global.pouringLiquidScript(this);
}
}
if ((this.pouring == true) && (this.pickedUp == false)) {
if (this.rider != undefined) {
this.rider.popTimer = 5;
this.riderRelease();
}
this.spinCharge = 0;
if (wh == 1) {
if (this._rotation > -150) {
this._rotation = this._rotation - 20;
} else {
this._rotation = -150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("left");
}
} else if (this._rotation < 150) {
this._rotation = this._rotation + 20;
} else {
this._rotation = 150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("right");
}
}
if (this.pickedUp == true) {
wh = this.whichHand;
if ((Math.abs(this.xMomentum) > 2) || (Math.abs(this.yMomentum) > 2)) {
this.readyToPour = false;
} else if (this.snapBack != true) {
this.readyToPour = true;
}
if (this.pouring == true) {
if (this.rider != undefined) {
this.rider.popTimer = 5;
this.riderRelease();
}
this.spinCharge = 0;
if (wh == 1) {
if (this._rotation > -150) {
this._rotation = this._rotation - 20;
} else {
this._rotation = -150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("left");
}
} else if (this._rotation < 150) {
this._rotation = this._rotation + 20;
} else {
this._rotation = 150;
this.glass.filling = true;
this.psHitArea_mc._height = 5;
this.liquidAnim.pour("right");
}
}
if (this.snapBack == true) {
wh = this.whichHand;
this.liquidAnim.liquidState = "static";
if (wh == 1) {
if (this._rotation < -30) {
this._rotation = this._rotation + 20;
} else {
this._rotation = -30;
this.readyToPour = true;
this.psHitArea_mc._height = 50;
this.checkedIn = true;
this.snapBack = false;
}
} else if (this._rotation > 30) {
this._rotation = this._rotation - 20;
} else {
this._rotation = 30;
this.psHitArea_mc._height = 50;
this.readyToPour = true;
this.checkedIn = true;
this.snapBack = false;
}
}
if (this.rider != undefined) {
if ((this.spinCharge != 0) || (_global.demoMode.bonusRound == "apopalyse")) {
this.rider.popTimer = 5;
this.riderRelease();
}
if (this.whichHand == 1) {
this.rider._x = this._x - this.rider.glassProperties.rideX;
this.rider._y = this._y - this.rider.glassProperties.rideY;
} else {
this.rider._x = this._x + this.rider.glassProperties.rideX;
this.rider._y = this._y - this.rider.glassProperties.rideY;
}
this.rider._rotation = this._rotation - 180;
if (((this.spinCharge == 0) && (this.caughtIt != true)) && (_global.demoMode.bonusRound != "apopalyse")) {
this.rider.swapDepths(this);
this.caughtIt = true;
this.comboCatch();
}
}
if (this.spinCharge == 0) {
wh = this.whichHand;
if (wh == 1) {
if (this._rotation > -30) {
this._rotation = this._rotation - 2;
}
} else if (this._rotation < 30) {
this._rotation = this._rotation + 2;
}
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this._x = _root._xmouse;
this._y = _root._ymouse;
if (this.spinCharge != 0) {
if ((this.lastY != this._y) || (this.lastX != this._x)) {
}
}
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
this.pickUpTimer++;
if (this.pickUpTimer >= 15) {
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) > 10) && (this.momentumChanged != true)) {
this.mouseGesture();
this.momentumChanged = true;
}
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) < 10) && (this.momentumChanged == true)) {
this.momentumChanged = false;
}
}
this.spinMomentum = (_global.bottleValues.spinMultiplier * this.xMomentum) + ((this.spinCharge * (this.xMomentum + 1)) / Math.abs(this.xMomentum + 1));
if (this.spinCharge != 0) {
this._rotation = this._rotation + this.spinCharge;
}
if ((this._y < 0) && (this.pouring == true)) {
this._y = 0;
}
}
if (this.released == true) {
if (this.reBalanceTimer > 0) {
this.reBalanceTimer--;
}
if (((_global.shotgunCount > 0) && (this.beenShotTimer > 10)) && (Key.isDown(32) == true)) {
_global.shotgunFire(this);
}
if ((_global.shotgunCount > 0) && (this.beenShotTimer < 12)) {
this.beenShotTimer++;
}
this._rotation = this._rotation + this.spinMomentum;
if (this._x <= 0) {
if (this.frozen != true) {
this.coast2coast("left");
this._x = 1;
this.xMomentum = -this.xMomentum;
}
}
if (this._x >= 720) {
if (this.frozen != true) {
this.coast2coast("right");
this._x = 719;
this.xMomentum = -this.xMomentum;
}
}
if (this._y <= 344) {
if (this.frozen != true) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - (0.5 * _global.bottleValues.gravity);
if (this.yMomentum < _global.bottleValues.minimumYVelocity) {
this.yMomentum = _global.bottleValues.minimumYVelocity;
}
this._x = this._x - this.xMomentum;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
}
if ((_global.specials.yumiSpecial == true) && (this._y > 0)) {
if (this.yMomentum < (-_global.specials.yumiFallLimiter)) {
this.yMomentum = -_global.specials.yumiFallLimiter;
}
}
} else if (_global.specials.natashaSpecial != true) {
if ((this.yMomentum < _global.bottleValues.terminalVelocity) && (this.safeRelease == false)) {
this.shatter();
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
this.pickedUp = false;
this.released = false;
this.setDown = true;
this.hitArea = this.bottleImage_mc;
} else {
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this.play();
this.hitArea = this.bottleImage_mc;
}
} else if ((this.yMomentum < -3) && (this.safeRelease == false)) {
this._y = 343;
this.yMomentum = -this.yMomentum;
_parent.sfxLayer_mc.playPop();
} else {
this._y = 344;
_global.combo.bottlesUp--;
if ((_global.combo.finished == false) && (_global.combo.bottlesUp == 0)) {
_global.combo.finished = true;
}
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this.play();
this.hitArea = this.bottleImage_mc;
}
}
if (this.released == true) {
if (this.spinMomentum > 0) {
if ((this._rotation >= 100) && (this.topSpinCount == this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount != this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
} else {
if ((this._rotation >= 100) && (this.topSpinCount != this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount == this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
}
}
}
};
this.toss = function () {
if (this.highPour == true) {
this.highPour = false;
}
this.balancing = false;
this.whichHand = 0;
if (this.setDown == true) {
_global.combo.bottlesUp++;
this.setDown = false;
}
this.popCount = 0;
if (_global.bottleValues.heldBottle == this) {
_global.bottleValues.heldBottle = undefined;
}
if (_global.bottleValues.heldBottle2 == this) {
_global.bottleValues.heldBottle2 = undefined;
}
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
if (this.rider != undefined) {
this.riderRelease();
}
if (this.bottleImage_mc.hitTest(_global.safeReleaseZone)) {
this.safeRelease = true;
} else {
this.safeRelease = false;
}
};
this.riderRelease = function () {
this.rider.pickedUp = false;
this.rider.onBottle = false;
this.rider.released = true;
this.rider.yMomentum = (Math.random() * 7) + 7;
if (this.rider.getDepth() > this.getDepth()) {
this.rider.swapDepths(this);
}
if (this.spinCharge != 0) {
if (_global.flairUpgrades.popUpLevel == 0) {
this.rider.xMomentum = ((Math.random() * 10) - 5) * this.popCount;
} else {
if (Math.random() >= 0.25) {
xMomVar = this.xMomentum;
if (this.xMomentum == 0) {
xMomVar = 1;
}
} else {
xMomVar = this.popCount;
}
this.rider.xMomentum = ((Math.random() * 6) - 3) * xMomVar;
}
if (_global.demoMode.bonusRound == "apopalypse") {
this.rider.xMomentum = (Math.random() * 20) - 10;
this.rider.yMomentum = (Math.random() * 20) + 10;
}
this.popCount++;
if (_global.configuration.perf.sparkles != false) {
_global.effectsLayer.attachMovie("bounceFlash", "bounceFlash" + popCount, _global.effectsLayer.getNextHighestDepth(), {_x:this.rider._x, _y:this.rider._y});
}
this.comboPop();
} else {
this.rider.xMomentum = this.xMomentum;
}
this.caughtIt = false;
this.rider = undefined;
};
this.popMe = function (spinVal) {
if (this.popped == false) {
this.popped = true;
_parent.sfxLayer_mc.playPop();
if (this.yMomentum <= 0) {
this.popMeCount++;
yyyRand = -(Math.random() * 10);
this.yMomentum = (yyyRand - (this.yMomentum / 2)) + spinVal;
xxxRand = ((Math.random() * 10) - 5) * (this.popMeCount / 2);
this.xMomentum = this.xMomentum + xxxRand;
this.spinMomentum = (Math.random() * 30) - 15;
}
}
};
this.comboSpin = function () {
if (this.activeLaunch == false) {
if (((this.topSpinCount + this.bottomSpinCount) / 2) == Math.round((this.topSpinCount + this.bottomSpinCount) / 2)) {
if (this.safeRelease != true) {
this.rebalanceTimer = 0;
_global.comboDisplay.updateCombo("flip");
}
}
}
};
this.coast2coast = function (triggerID) {
switch (triggerID) {
case "left" :
this.leftWall = true;
break;
case "right" :
this.rightWall = true;
break;
case "reset" :
this.leftWall = false;
this.rightWall = false;
}
if ((this.leftWall == true) && (this.rightWall == true)) {
this.leftWall = false;
this.rightWall = false;
_global.comboDisplay.updateCombo("coast2coast");
}
};
this.comboPop = function () {
_parent.sfxLayer_mc.playPop();
_global.comboDisplay.updateCombo("pop", this.popCount);
};
this.comboCatch = function () {
_parent.sfxLayer_mc.playPop();
_global.comboDisplay.updateCombo("catch");
};
this.comboBalance = function (milestone) {
if (milestone == "start") {
_parent.sfxLayer_mc.playBalance();
}
_global.comboDisplay.updateBalance(milestone);
};
this.comboHighPour = function () {
_global.comboDisplay.updateCombo("highPour");
};
this.shatter = function () {
this.putInPlay(false);
if (this.johnnySmashed != true) {
if ((_global.judgeSpecial != true) && (_global.johnnySpecial != true)) {
_global.roundStats.bottlesBroken++;
}
if (this.launched != true) {
_parent.playEffect("bottleShot");
_global.comboDisplay.updateCombo("shatter");
}
} else {
_parent.playEffect("bottleShot");
_global.comboDisplay.updateCombo("shatter", "johnnySmashed");
}
this.enabled = false;
_parent.attachMovie("bottleShatterAnimation", "bottleShatterAnimation" + this._name, _parent.getNextHighestDepth(), {_x:this._x + 246, _y:this._y - 72, pwner:this});
this.spinCharge = 0;
};
this.reRack = function () {
this.stallCount = 0;
this.popMeCount = 0;
this.leftWall = false;
this.rightWall = false;
if (this.highPour == true) {
this.highPour = false;
}
this.putInPlay(false);
if ((_global.bottlesInPlay == 0) && (this.activeLaunch != true)) {
_global.combo.comboReady = true;
if (_global.comboDisplay.comboActive == true) {
_global.comboDisplay.endCombo(true);
}
}
if (this.activeLaunch == true) {
_parent.testJudgeFinished(this);
}
this.liquidAnim.settle();
this.spinCharge = 0;
this._x = this.homeX;
this._y = this.homeY;
this.pourSpout_mc.gotoAndStop(1);
};
this.beginPour = function (targetGlass) {
if (this.readyToPour == true) {
this.putInPlay(true);
this.pouring = true;
this.glass = targetGlass;
if (this.glass.bottle == undefined) {
this.sfx.liquorPour0.start();
this.glass.bottle = this;
} else {
this.sfx.liquorPour1.start();
this.glass.bottle2 = this;
}
this.readyToPour = false;
}
};
this.endPour = function (targetGlass) {
this.putInPlay(false);
if (this.glass.bottle == this) {
this.sfx.liquorPour0.stop();
this.glass.filling = undefined;
this.glass.currentIngredient = null;
this.glass.bottle = null;
}
if (this.glass.bottle2 == this) {
this.sfx.liquorPour1.stop();
this.glass.doubleFilled = undefined;
this.glass.currentIngredient2 = null;
this.glass.bottle2 = null;
}
this.glass.stopFilling = true;
this.snapBack = true;
this.readyToPour = false;
this.pouring = false;
this.glass = undefined;
};
this.mouseGesture = function () {
if (this.lastXMomentum[0] < 0) {
quad = 4;
if (this.lastYMomentum[0] > 10) {
quad = 3;
}
if (this.lastYMomentum[0] < -10) {
quad = 5;
}
}
if (this.lastXMomentum[0] > 0) {
quad = 0;
if (this.lastYMomentum[0] > 10) {
quad = 1;
}
if (this.lastYMomentum[0] < -10) {
quad = 7;
}
}
_parent.quadText_txt.text = quad;
this.gestureRecord[5] = this.gestureRecord[4];
this.gestureRecord[4] = this.gestureRecord[3];
this.gestureRecord[3] = this.gestureRecord[2];
this.gestureRecord[2] = this.gestureRecord[1];
this.gestureRecord[1] = this.gestureRecord[0];
this.gestureRecord[0] = quad;
if ((this.gestureRecord[1] == 5) && (this.gestureRecord[0] == 1)) {
this.specialMove("spinCharge");
}
if (((this.gestureRecord[2] == 0) && (this.gestureRecord[1] == 5)) && (this.gestureRecord[0] == 3)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[3]);
}
if (((this.gestureRecord[2] == 4) && (this.gestureRecord[1] == 7)) && (this.gestureRecord[0] == 1)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[6]);
}
if ((this.gestureRecord[1] == 7) && (this.gestureRecord[0] == 5)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[0]);
}
if (((this.gestureRecord[2] == 0) && (this.gestureRecord[1] == 4)) && (this.gestureRecord[0] == 7)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[1]);
}
if (((this.gestureRecord[2] == 7) && (this.gestureRecord[1] == 4)) && (this.gestureRecord[0] == 1)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[2]);
}
if (((this.gestureRecord[2] == 5) && (this.gestureRecord[1] == 7)) && (this.gestureRecord[0] == 5)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[4]);
}
if (((this.gestureRecord[2] == 5) && (this.gestureRecord[1] == 7)) && (this.gestureRecord[0] == 3)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[5]);
}
if (((this.gestureRecord[2] == 0) && (this.gestureRecord[1] == 5)) && (this.gestureRecord[0] == 0)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[7]);
}
if ((((this.gestureRecord[3] == 4) && (this.gestureRecord[2] == 7)) && (this.gestureRecord[1] == 0)) && (this.gestureRecord[0] == 3)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[8]);
}
if (((((this.gestureRecord[0] == 1) && (this.gestureRecord[1] == 5)) && (this.gestureRecord[2] == 0)) && (this.gestureRecord[3] == 3)) && (this.gestureRecord[4] == 7)) {
_parent.callSpecial(_global.gameStats.sigMoveArray[9]);
}
};
this.specialMove = function (specialType) {
if (!(specialType === "spinCharge")) {
} else if (this.spinCharge < _global.specials.maximumSpinCharge) {
_global.roundStats.totalHandSpins++;
if (_global.combo.comboTimerInstance.activation == true) {
_global.combo.comboTimerInstance.extendTime();
}
this.spinCharge = this.spinCharge + _global.specials.spinRotationIncrement;
if (this.spinCharge == _global.specials.spinRotationIncrement) {
_parent.sfxLayer_mc.playSpin(1);
if (_global.tutorialDisplay.waiting == "forHandSpin") {
_global.tutorialDisplay.receiveEvents("handSpin");
}
}
if (this.spinCharge == (_global.specials.spinRotationIncrement * 2)) {
_parent.sfxLayer_mc.playSpin(2);
}
if (this.spinCharge == (_global.specials.spinRotationIncrement * 3)) {
_parent.sfxLayer_mc.playSpin(3);
}
this.particleSpray("Sparklers", this);
if (this.rider != undefined) {
this.riderRelease();
}
}
};
this.tracer = function () {
if (_global.configuration.perf.tracers != false) {
xSpace4 = this.lastXMomentum[0];
xSpace3 = this.lastXMomentum[0] / 2;
xSpace2 = this.xMomentum / 2;
xSpace1 = this.xMomentum;
ySpace4 = this.lastYMomentum[0];
ySpace3 = this.lastYMomentum[0] / 2;
ySpace2 = this.yMomentum / 2;
ySpace1 = this.yMomentum;
tracerX = new Array(xSpace4, xSpace3, xSpace2, xSpace1);
tracerY = new Array(xSpace4, ySpace3, ySpace2, ySpace1);
for (i in tracerX) {
this.traceEffects++;
if (_global.configuration.perf.sparkles != false) {
_global.effectsLayer.attachMovie("bottleTracer", (this._name + "effect") + this.traceEffects, _global.effectsLayer.getNextHighestDepth(), {_x:this._x + tracerX[i], _y:this._y + tracerY[i], fading:true, _rotation:this._rotation - ((this.spinCharge + 1) / (i + 1))});
_global.effectsLayer[(this._name + "effect") + this.traceEffects].tracer_mc.gotoAndStop(this.bottleImage_mc._currentframe);
}
}
}
};
this.particleSpray = function (character, caller) {
switch (character) {
case "Severnaya" :
xtime = 0;
do {
_parent.attachMovie("symbolParticle", "symbolParticle_mc" + xtime, _parent.getNextHighestDepth(), {_x:this._x, _y:this._y, _rotation:36 * xtime, homePoint:caller, increment:xtime});
xtime++;
} while (xtime < 11);
break;
case "Danny" :
xtime = 0;
do {
_parent.attachMovie("irishParticle", "irishParticle_mc" + xtime, _parent.getNextHighestDepth(), {homePoint:caller, increment:xtime});
xtime++;
} while (xtime < 11);
break;
case "Sparklers" :
if (_global.configuration.perf.sparkles == false) {
break;
}
_global.effectsLayer.attachMovie("fireworksExplosion", this._name + "fireworksExplosion", _global.effectsLayer.getNextHighestDepth(), {_x:this._x - 160, _y:this._y - 120, _width:320, _height:240});
}
};
this.spraySparks = function (quadrant) {
if (_global.configuration.perf.sparkles != false) {
xC = 0;
xpos = this.lastX;
ypos = this.lastY;
xAdj = (Math.random() * 10) + 5;
yRand = 0;
xRand = 0;
rSize = (Math.random() * 10) + 5;
_global.effectsLayer.attachMovie("particleSpark", "particleSpark" + xC, _global.effectsLayer.getNextHighestDepth(), {_x:xpos + xAdj, _y:ypos, _width:rSize, _height:rSize, xMomentum:xRand, yMomentum:yRand, reference:this, isStatic:true});
}
};
this.balanceRelease = function () {
this.comboBalance("stop");
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
this.reBalanceTimer = 30;
this.spinMomentum = ((_global.bottleValues.spinMultiplier / 2) * this.xMomentum) + (this.lastRot - this.lastLastRot);
this.pickedUp = false;
this.balancing = false;
};
this.launch = function () {
this.balancing = false;
this.activeLaunch = true;
this.launched = true;
this.whichHand = 0;
_global.combo.bottlesUp++;
this.setDown = false;
this.popCount = 0;
this.pickedUp = false;
this.released = true;
this.catchArea_mc.gotoAndStop(2);
this.hitArea = this.catchArea_mc;
this.yMomentum = 20 + (Math.random() * 5);
this.spinMomentum = 5 + (Math.random() * 20);
};
this.shotDown = function () {
_global.comboDisplay.updateCombo("shotDown");
this.enabled = false;
if (_global.configuration.perf.sparkles != false) {
_parent.attachMovie("bottleShot", "bottleShot" + this._name, _parent.getNextHighestDepth(), {_x:this._x, _y:this._y});
}
this.catchArea_mc.gotoAndStop(1);
this._rotation = 0;
this.setDown = true;
this.yMomentum = 0;
this.spinMomentum = 0;
this.xMomentum = 0;
this.launched = false;
this.reRack();
_global.missedShot = false;
};
this.balanceTransferCheck = function (transferOrReset) {
if (transferOrReset == true) {
this.balanceTransfer++;
} else {
this.balanceTransfer = 0;
}
if (this.balanceTransfer >= 2) {
_global.comboDisplay.updateCombo("balanceTransfer", this.balanceTransfer - 1);
}
};
this.putInPlay = function (inOrOut) {
if (this.inPlay != inOrOut) {
this.inPlay = inOrOut;
if (inOrOut == true) {
_global.bottlesInPlay++;
_global.realBottlesUp++;
if (_global.realBottlesUp > _global.roundStats.mostBottlesJuggled) {
_global.roundStats.mostBottlesJuggled = _global.realBottlesUp;
}
} else {
_global.bottlesInPlay--;
_global.realBottlesUp--;
}
}
_parent.quadText_txt.text = _global.bottlesInPlay;
};
this.sfx = new Object();
this.sfx.liquorPour0 = new Sound(this);
this.sfx.liquorPour0.attachSound("liquorPour0");
this.sfx.liquorPour1 = new Sound(this);
this.sfx.liquorPour1.attachSound("liquorPour0");
Symbol 2244 MovieClip [largerBottle] Frame 2
this.onEnterFrame = null;
this.onPress = null;
this.onRelease = null;
this.onReleaseOutside = null;
this.bottleImage_mc.innerFlash_mc.gotoAndPlay(2);
Symbol 2244 MovieClip [largerBottle] Frame 15
this._rotation = 0;
this.bottleImage_mc.shiner_mc.gotoAndStop(1);
this.reRack();
Symbol 2244 MovieClip [largerBottle] Frame 16
this.bottleImage_mc.innerFlash_mc.gotoAndPlay(20);
Symbol 2247 MovieClip Frame 1
stop();
Symbol 2247 MovieClip Frame 2
stop();
Symbol 2247 MovieClip Frame 3
stop();
Symbol 2248 MovieClip Frame 1
this.changeText = function (textID) {
this.textCue = textID;
};
this.onEnterFrame = function () {
this.scroller._x = this.scroller._x - this.xOffset;
this.scroller2._x = this.scroller2._x - this.xOffset;
if (this.scroller._x < (-1 * this.scroller._width)) {
this.scroller.gotoAndStop(this.textCue);
this.scroller._x = (this.scroller2._x + this.scroller2._width) + 5;
}
if (this.scroller2._x < (-1 * this.scroller2._width)) {
this.scroller2.gotoAndStop(this.textCue);
this.scroller2._x = (this.scroller._x + this.scroller._width) + 5;
}
};
_global.charSelect.subHeadScroller = this;
this.changeText("standardCharSelect");
this.xOffset = 4;
stop();
stop();
Symbol 2249 MovieClip Frame 1
this._visible = false;
Symbol 2254 MovieClip Frame 1
this.addText_txt.text = "+" + Math.round(_parent.addAmount);
Symbol 2255 MovieClip Frame 1
this.bankScore = function (amtToBank) {
if (_global.gameStats.roundScore != undefined) {
this.addAmount = new Number(amtToBank);
_global.gameStats.roundScore = _global.gameStats.roundScore + Math.round(this.addAmount);
this.newScoreText = this.zeroFill(_global.gameStats.roundScore, 9, false);
play();
} else {
_global.gameStats.roundScore = 0;
}
};
this.bankScore(0);
this.zeroFill = function (num, places, trailing) {
var _local2 = String(num);
var _local3 = _local2.length;
var _local1 = 0;
while (_local1 < (places - _local3)) {
if (trailing) {
_local2 = _local2 + "0";
} else {
_local2 = "0" + _local2;
}
_local1++;
}
return(_local2);
};
if (((_global.demoMode.bonusRound == "perfectPour") || (_global.demoMode.bonusRound == "speedRack")) || (_global.demoMode.bonusRound == "apopalypse")) {
this._visible = false;
}
stop();
Symbol 2255 MovieClip Frame 6
this.scoreText_mc.scoreText_txt.text = this.newScoreText;
Symbol 2259 MovieClip Frame 1
_global.cashDisplay = this;
this.bankScore = function (amtToBank) {
this.addAmount = amtToBank;
_global.gameStats.roundCash = _global.gameStats.roundCash + (amtToBank / 1);
_global.playerStats.cashOnHand = _global.playerStats.cashOnHand + (amtToBank / 1);
this.newScoreText = "$" + _global.gameStats.roundCash;
play();
};
this.bankScore(0);
stop();
this._visible = false;
Symbol 2259 MovieClip Frame 6
this.cashText_mc.scoreText_txt.text = this.newScoreText;
Symbol 2277 MovieClip Frame 20
_parent._parent.updateStatus();
Symbol 2293 MovieClip Frame 5
_parent._parent.updateStatus();
Symbol 2294 MovieClip Frame 1
stop();
Symbol 2294 MovieClip Frame 2
stop();
Symbol 2294 MovieClip Frame 3
stop();
Symbol 2294 MovieClip Frame 4
stop();
Symbol 2294 MovieClip Frame 5
stop();
Symbol 2294 MovieClip Frame 6
stop();
Symbol 2294 MovieClip Frame 7
stop();
Symbol 2294 MovieClip Frame 8
stop();
Symbol 2295 MovieClip Frame 1
function animateIncrease(increase) {
xx = _global.specials.specialBar;
if (increase != false) {
inc = 60;
if (Math.abs(xx.fillPercentage - xx.displayedFill) > 2) {
xx.displayedFill = xx.displayedFill + (xx.fillDistance / inc);
xx.fillMask_mc._width = 120 * (xx.displayedFill / 100);
} else {
if (xx.fillPercentage > 100) {
xx.fillPercentage = 100;
xx.fillMask_mc._width = 120;
if (xx.hit100 == false) {
xx.specialReadyPlay();
xx.hit100 = true;
}
}
if (xx.fillPercentage < 0) {
xx.fillPercentage = 0;
xx.fillMask_mc._width = 0;
xx.hit0 = true;
}
xx.displayedFill = xx.fillPercentage;
if ((xx.fillPercentage < 100) && (xx.hit100 == true)) {
xx.hit100 = false;
}
xx.fillMask_mc.width = 120 * (xx.displayedFill / 100);
xx.changing = false;
xx.updateStatus();
clearInterval(newInt);
}
} else {
inc = 2;
if (xx.displayedFill > xx.fillPercentage) {
xx.displayedFill = xx.displayedFill + (xx.fillDistance / inc);
xx.fillMask_mc._width = 120 * (xx.displayedFill / 100);
} else {
if (xx.fillPercentage < 0) {
xx.fillPercentage = 0;
xx.fillMask_mc._width = 0;
xx.hit0 = true;
}
xx.updateStatus();
xx.changing = false;
clearInterval(newInt);
}
}
}
_global.specials.specialBar = this;
this.totalIncrease = new Number();
this.fillPercentage = new Number();
this.revertPoint = new Number();
this.displayedFill = new Number();
this.changing = false;
this.hit0 = false;
this.hit100 = false;
this.sfxSpecialReady1 = new Sound(this);
this.sfxSpecialReady1.attachSound("statistic2");
this.specialReadyPlay = function () {
this.sfxSpecialReady1.start();
};
this.zero = function () {
this.displayedFill = 0;
this.fillPercentage = 0;
this.fillMask_mc._width = 0;
};
this.setRevertPoint = function () {
this.revertPoint = this.fillPercentage;
};
this.revert = function () {
this.increase(-this.fillPercentage);
};
this.increase = function (percentage) {
if (_global.roundData.disableSignatures != true) {
if (percentage > 0) {
if (_global.specials.specialsActive != true) {
this.fillPercentage = this.fillPercentage + (percentage / (_global.roundStats.sigsUsed + 1));
this.startChange(true);
}
} else {
this.fillPercentage = this.fillPercentage + percentage;
this.startChange(false);
}
}
};
this.startChange = function (increase) {
this.fillDistance = this.fillPercentage - this.displayedFill;
if (this.changing == false) {
this.changing = true;
this.updateStatus();
newInt = setInterval(animateIncrease, 10, [increase]);
}
};
this.updateStatus = function () {
if (this.changing == false) {
switch (this.fillPercentage) {
case 0 :
if (this.hit0 == false) {
this._visible = false;
this.smFill_mc.gotoAndStop("empty");
} else {
this.hit0 = true;
this.smFill_mc.gotoAndStop("hitEmpty");
}
break;
case 100 :
if (this.hit100 == true) {
this.smFill_mc.gotoAndStop("max");
} else {
this.hit100 = true;
this.smFill_mc.gotoAndStop("hitMax");
}
break;
default :
if (_global.specials.specialsActive != false) {
break;
}
this.smFill_mc.gotoAndStop("static");
}
} else if (this.fillDistance > 0) {
if (this.fillPercentage < 100) {
if (this._visible == false) {
this._visible = true;
}
if (_global.specials.specialsActive == false) {
this.smFill_mc.gotoAndStop("filling");
}
}
} else {
this.smFill_mc.gotoAndStop("draining");
}
};
this.zero();
this._visible = false;
this.updateStatus();
Symbol 2308 MovieClip Frame 1
stop();
Symbol 2309 MovieClip Frame 1
_global.blastLayer = this;
this.blastSound1 = new Sound();
this.blastSound1.attachSound("shotGun1");
this.blastSound2 = new Sound();
this.blastSound2.attachSound("shotGun2");
this.playBlast = function () {
soundXrand = Math.random();
if (soundXrand > 0.5) {
this.blastSound1.start();
} else {
this.blastSound2.start();
}
};
Symbol 2331 MovieClip Frame 1
this.onPress = function () {
this.reload();
};
if (this._visible == false) {
this.stop();
}
this.hitArea = this.jrHit;
this.rotator = function () {
this.chamber++;
this.loadedRounds--;
if (this.chamber <= 6) {
_global.ammoCount--;
if (_global.ammoCount == 0) {
this.ammo_txt.text = "--";
}
this.ammo_txt.text = _global.ammoCount;
this.gotoAndPlay("cycle" + chamber);
} else {
this.reload();
}
};
this.reload = function () {
this.judgeRb.round1._visible = false;
this.judgeRb.round2._visible = false;
this.judgeRb.round3._visible = false;
this.judgeRb.round4._visible = false;
this.judgeRb.round5._visible = false;
this.judgeRb.round6._visible = false;
this.ammo_txt.text = _global.ammoCount;
if (_global.ammoCount > 0) {
if (_global.ammoCount >= 6) {
this.loadedRounds = 6;
this.chamber = 0;
this.gotoAndPlay("cycle0");
} else {
this.loadedRounds = _global.ammoCount;
this.chamber = 6 - _global.ammoCount;
switch (_global.ammoCount) {
case 5 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
this.judgeRb.round4._visible = true;
this.judgeRb.round5._visible = true;
break;
case 4 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
this.judgeRb.round4._visible = true;
break;
case 3 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
break;
case 2 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
break;
case 1 :
this.judgeRb.round1._visible = true;
break;
case 0 :
}
this.gotoAndPlay("cycle0");
}
} else {
this.ammo_txt.text = "--";
}
};
this.fadeOut = function () {
this.gotoAndPlay("fadeOut");
};
Symbol 2331 MovieClip Frame 4
if (_global.ammoCount >= 6) {
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
this.judgeRb.round4._visible = true;
this.judgeRb.round5._visible = true;
this.judgeRb.round6._visible = true;
} else {
switch (_global.ammoCount) {
case 5 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
this.judgeRb.round4._visible = true;
this.judgeRb.round5._visible = true;
break;
case 4 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
this.judgeRb.round4._visible = true;
break;
case 3 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
this.judgeRb.round3._visible = true;
break;
case 2 :
this.judgeRb.round1._visible = true;
this.judgeRb.round2._visible = true;
break;
case 1 :
this.judgeRb.round1._visible = true;
break;
case 0 :
}
}
Symbol 2331 MovieClip Frame 7
this.empty = false;
stop();
Symbol 2331 MovieClip Frame 8
this.empty = false;
Symbol 2331 MovieClip Frame 12
this.judgeRb.round1._visible = false;
stop();
Symbol 2331 MovieClip Frame 13
this.empty = false;
Symbol 2331 MovieClip Frame 17
this.judgeRb.round1._visible = false;
this.judgeRb.round2._visible = false;
stop();
Symbol 2331 MovieClip Frame 18
this.empty = false;
Symbol 2331 MovieClip Frame 22
this.judgeRb.round1._visible = false;
this.judgeRb.round2._visible = false;
this.judgeRb.round3._visible = false;
stop();
Symbol 2331 MovieClip Frame 23
this.empty = false;
Symbol 2331 MovieClip Frame 27
this.judgeRb.round1._visible = false;
this.judgeRb.round2._visible = false;
this.judgeRb.round3._visible = false;
this.judgeRb.round4._visible = false;
stop();
Symbol 2331 MovieClip Frame 28
this.empty = false;
Symbol 2331 MovieClip Frame 32
this.judgeRb.round1._visible = false;
this.judgeRb.round2._visible = false;
this.judgeRb.round3._visible = false;
this.judgeRb.round4._visible = false;
this.judgeRb.round5._visible = false;
stop();
Symbol 2331 MovieClip Frame 37
this.judgeRb.round1._visible = false;
this.judgeRb.round2._visible = false;
this.judgeRb.round3._visible = false;
this.judgeRb.round4._visible = false;
this.judgeRb.round5._visible = false;
this.judgeRb.round6._visible = false;
this.empty = true;
stop();
Symbol 2331 MovieClip Frame 44
this._visible = false;
Symbol 2335 MovieClip Frame 1
this.displayedCount = 0;
this.slideStartOut = false;
this.onEnterFrame = function () {
if (this.displayedCount != _global.shotgunCount) {
this.displayedCount = _global.shotgunCount;
this.ammo_txt.text = _global.shotgunCount;
}
if ((_global.shotgunCount < 1) && (this.slideStartOut == false)) {
this.slideStartOut = true;
_parent.gotoAndPlay("slideOut");
_parent._parent.endSpecial();
}
};
Symbol 2336 MovieClip Frame 1
_global.shotgunShellCounter = this;
stop();
Symbol 2336 MovieClip Frame 35
stop();
Symbol 2341 MovieClip Frame 1
stop();
Symbol 2342 MovieClip Frame 1
this.displayedCount = 0;
this.slideStartOut = false;
this.onEnterFrame = function () {
if (this.displayedCount != _global.specialsFunctionList.thizzCount) {
this.displayedCount = _global.specialsFunctionList.thizzCount;
this.ammo_txt.text = _global.specialsFunctionList.thizzCount;
}
if ((_global.specialsFunctionList.thizzCount < 1) && (this.slideStartOut == false)) {
this.slideStartOut = true;
_parent.gotoAndPlay("slideOut");
_parent._parent.endSpecial();
}
};
Symbol 2343 MovieClip Frame 1
_global.thizzPillCounter = this;
stop();
Symbol 2343 MovieClip Frame 35
stop();
Symbol 2350 MovieClip Frame 1
this.onMouseDown = null;
this.onEnterFrame = null;
stop();
Symbol 2350 MovieClip Frame 2
this.onMouseDown = function () {
if (this.reticule.hitTest(_parent.judgeRevolver_mc) == false) {
_global.missedShot = true;
_parent.judgeFire();
this.timer = 0;
}
};
this.onEnterFrame = function () {
if (_global.missedShot == true) {
this.timer++;
}
if ((_global.missedShot == true) && (this.timer == 2)) {
this.timer = 0;
_global.missedShot = false;
}
};
stop();
Symbol 2352 MovieClip Frame 1
this.onEnterFrame = null;
stop();
Symbol 2352 MovieClip Frame 2
this.reduceSpecialBarTimer = 0;
this.onEnterFrame = function () {
this.reduceSpecialBarTimer++;
_global.specials.specialTimer--;
switch (this.activeSpecial) {
case "yumi" :
this.reductionAmount = -100 / _global.specials.yumiSpecialTimeLimitArray[_global.playerStats.specialStat];
break;
case "charon" :
this.reductionAmount = -100 / _global.specials.charonSpecialTimeLimitArray[_global.gameStats.spec];
break;
case "april" :
this.reductionAmount = -100 / _global.specials.aprilSpecialTimeLimitArray[_global.playerStats.specialStat];
break;
case "johnny" :
this.reductionAmount = -100 / _global.specials.johnnySpecialTimeLimitArray[_global.playerStats.specialStat];
break;
case "danny" :
this.reductionAmount = -100 / _global.specials.dannySpecialTimeLimitArray[_global.playerStats.specialStat];
break;
case "natasha" :
this.reductionAmount = -100 / _global.specials.natashaSpecialTimeLimitArray[_global.playerStats.specialStat];
break;
case "luc" :
this.reductionAmount = -0.166666666666667;
}
if (this.reduceSpecialBarTimer == 20) {
if (this.reductionAmount != undefined) {
_global.specials.specialBar.increase(this.reductionAmount * this.reduceSpecialBarTimer);
this.reduceSpecialBarTimer = 0;
}
}
if (_global.specials.specialBar.displayedFill <= 1) {
switch (this.activeSpecial) {
case "yumi" :
_global.bottleValues.gravity = _global.bottleValues.fixedGravity;
_global.specials.yumiSpecial = false;
break;
case "charon" :
_global.playerStats.specialStat = _global.gameStats.spec;
_global.playerStats.charisma = _global.gameStats.char;
_global.playerStats.dexterity = _global.gameStats.dex;
_global.playerStats.strengthStat = _global.gameStats.str;
_global.specials.charonSpecial = false;
_global.bottleValues.maximumYVelocity = _global.playerStats.strengthYVelocityLimits[_global.playerStats.strengthStat];
_global.bottleValues.maximumXVelocity = _global.playerStats.strengthYVelocityLimits[_global.playerStats.strengthStat];
_global.bottleValues.spinMultiplier = _global.playerStats.strengthSpinMultiplier[_global.playerStats.strengthStat];
_global.playerStats.charismaTimeBonus = 1 + (_global.playerStats.charisma / 4);
_parent.seatPositions_mc.resetCharismaBonus();
break;
case "april" :
_global.specials.aprilSpecial = false;
break;
case "johnny" :
_global.bottleValues.terminalVelocity = _global.gameStats.terminalVelocity;
_global.johnnySpecial = false;
_global.comboDisplay.endCombo(true);
break;
case "danny" :
_global.specials.dannySpecial = false;
break;
case "natasha" :
_global.specials.natashaSpecial = false;
break;
case "luc" :
_global.specials.lucSpecial = false;
_global.specials.tipsMultiplier = 1;
_global.specials.pointsToCash;
}
_global.comboDisplay.denySpecial = true;
_parent.endSpecial();
_global.specials.specialBar.increase(-50);
this.gotoAndStop(1);
}
};
Symbol 2355 MovieClip Frame 56
stop();
Symbol 2356 MovieClip Frame 25
stop();
Symbol 2356 MovieClip Frame 65
stop();
Symbol 2359 MovieClip Frame 1
this.bubbleCount = 0;
xB = 0;
this.newBubble = function (brandNew) {
this.bubbleCount++;
xRand = Math.random() * 720;
if (brandNew != true) {
yRand = 400;
} else {
yRand = (Math.random() * 300) + 10;
}
upS = (Math.random() * 4) + 2;
rSize = (Math.random() * 6) + 2;
rAlpha = rSize * 10;
rTime = Math.round(Math.random() * 30);
attachMovie("bubbleScreen", "bubble" + this.bubbleCount, this.getNextHighestDepth(), {_x:xRand, _y:yRand, upSpeed:upS, _width:rSize, _height:rSize, cTimer:rTime, _alpha:rAlpha});
};
if (_parent.ready == true) {
while (this.bubbleCount < 50) {
this.newBubble(true);
}
}
Symbol 2361 MovieClip Frame 1
stop();
Symbol 2361 MovieClip Frame 40
ps_mc.ready = true;
Symbol 2361 MovieClip Frame 60
this.onPress = function () {
_global.gamePaused = false;
this.gotoAndStop(1);
};
stop();
Symbol 2396 MovieClip Frame 30
_parent.fire();
Symbol 2428 MovieClip Frame 30
_parent.fire();
Symbol 2442 MovieClip Frame 30
_parent.fire();
Symbol 2448 MovieClip Frame 5
stop();
Symbol 2460 MovieClip Frame 30
_parent.fire();
Symbol 2463 MovieClip Frame 1
this.onPress = function () {
if (_parent.bonusPayout != undefined) {
_global.specials.lucSpecial = _parent.bonusPayout;
_parent._parent.fire();
}
};
Symbol 2482 MovieClip Frame 1
_parent._parent.bonusInfo_mc.play();
this.gotoAndStop(_parent._parent.bonusPayout);
stop();
Symbol 2482 MovieClip Frame 2
stop();
Symbol 2482 MovieClip Frame 3
stop();
Symbol 2482 MovieClip Frame 4
stop();
Symbol 2482 MovieClip Frame 5
stop();
Symbol 2482 MovieClip Frame 6
stop();
Symbol 2482 MovieClip Frame 7
stop();
Symbol 2493 MovieClip Frame 1
this.chosen = function () {
play();
_parent.enabler(false);
};
this.onPress = function () {
this.chosen();
this.enabled = false;
};
stop();
Symbol 2493 MovieClip Frame 2
this.onPress = null;
Symbol 2493 MovieClip Frame 11
_parent.clearer(this);
_parent.gotoAndPlay(this._name);
_parent.cardTitle.gotoAndPlay(2);
stop();
Symbol 2493 MovieClip Frame 18
stop();
Symbol 2493 MovieClip Frame 23
stop();
Symbol 2500 MovieClip Frame 1
this.gotoAndPlay(_parent._parent.bonusPayout);
Symbol 2500 MovieClip Frame 2
stop();
Symbol 2500 MovieClip Frame 3
stop();
Symbol 2500 MovieClip Frame 4
stop();
Symbol 2500 MovieClip Frame 5
stop();
Symbol 2500 MovieClip Frame 6
stop();
Symbol 2500 MovieClip Frame 7
stop();
Symbol 2501 MovieClip Frame 1
stop();
Symbol 2501 MovieClip Frame 15
stop();
Symbol 2508 MovieClip Frame 1
this.sfx = new Sound();
this.sfx.attachSound("specialLucclockCountdown");
this.milliseconds_txt.text = "00\"";
this.seconds_txt.text = "05'";
this.secTime = 5;
this.milTime = 2;
this.onEnterFrame = function () {
if (this.secTime > -1) {
this.milTime = this.milTime - 2;
if (this.milTime <= 0) {
this.sfx.start();
this.milTime = 60;
this.secTime = this.secTime - 1;
this.seconds_txt.text = this.trailingZeros(this.secTime) + "'";
}
this.milliseconds_txt.text = this.trailingZeros(this.milTime) + "\"";
}
if ((this.secTime <= 0) && (this.milTime == 60)) {
this.seconds_txt.text = "00'";
this.milliseconds_txt.text = "00\"";
xxx = Math.round(Math.random() * 2) + 1;
_parent["card" + xxx].chosen();
}
aRand = Math.round(Math.random() * 20);
if (aRand == 3) {
this._alpha = 0;
} else {
this._alpha = 100;
}
};
this.trailingZeros = function (num) {
if (num < 10) {
cropped = "0" + num;
} else {
cropped = num;
}
return(cropped);
};
Symbol 2510 MovieClip Frame 1
this.enabler = function (val) {
this.card1.enabled = val;
this.card2.enabled = val;
this.card3.enabled = val;
};
this.clearer = function (exempt) {
clearArr = new Array(this.card1, this.card2, this.card3);
for (i in clearArr) {
if (clearArr[i] != exempt) {
clearArr[i].gotoAndPlay("fadeOut");
}
}
};
this.defineCardBonus = function () {
onePercentOdds = Math.random() * 13;
if (_global.gameStats.spec > onePercentOdds) {
onePercent = true;
if (onePercentOdds >= 6) {
firstCard = false;
} else {
firstCard = true;
}
} else {
onePercent = false;
}
suckerCard = Math.round(Math.random() * 2);
this.payoutArray = new Array("none", "none", "none");
switch (suckerCard) {
case 0 :
this.payoutArray[0] = "sucker";
break;
case 1 :
this.payoutArray[1] = "sucker";
break;
case 2 :
this.payoutArray[2] = "sucker";
}
this.bonusArray = new Array("twoTimes", "twoTimes", "twoTimes", "twoTimes", "twoTimes", "twoTimes", "twoTimes", "twoTimes", "threeTimes", "threeTimes", "threeTimes", "threeTimes", "threeTimes", "fourTimes", "fourTimes", "fourTimes", "fourTimes", "fiveTimes");
if (onePercent == true) {
for (i in this.payoutArray) {
if (this.payoutArray[i] != "sucker") {
if (this.payoutArray[i] != "onePercent") {
if (firstCard == true) {
firstCard = false;
} else {
this.payoutArray[i] = "onePercent";
this.firstCard = true;
}
}
}
}
}
for (i in this.payoutArray) {
if (this.payoutArray[i] == "none") {
this.payoutArray[i] = this.bonusArray[Math.round(Math.random() * 17)];
}
}
};
Symbol 2510 MovieClip Frame 38
this.defineCardBonus();
Symbol 2510 MovieClip Frame 42
stop();
this.enabler(true);
Symbol 2510 MovieClip Frame 43
this.bonusPayout = this.payoutArray[0];
Symbol 2510 MovieClip Frame 54
card1.gotoAndPlay("flip");
stop();
stop();
Symbol 2510 MovieClip Frame 55
this.bonusPayout = this.payoutArray[1];
Symbol 2510 MovieClip Frame 66
card2.gotoAndPlay("flip");
stop();
Symbol 2510 MovieClip Frame 67
this.bonusPayout = this.payoutArray[2];
Symbol 2510 MovieClip Frame 78
card3.gotoAndPlay("flip");
stop();
Symbol 2523 MovieClip Frame 30
_parent.fire();
Symbol 2584 MovieClip Frame 25
stop();
Symbol 2587 MovieClip Frame 30
_parent.fire();
Symbol 2608 MovieClip Frame 75
_parent.fire();
Symbol 2615 MovieClip Frame 100
stop();
Symbol 2621 MovieClip Frame 100
stop();
Symbol 2642 MovieClip Frame 11
stop();
Symbol 2643 MovieClip Frame 100
stop();
Symbol 2645 MovieClip Frame 105
_parent.fire();
this.stop();
Symbol 2659 MovieClip Frame 1
this.gotoAndPlay(Math.round(Math.random() * 4) + Number(1));
Symbol 2663 MovieClip Frame 105
_parent.fire();
Symbol 2664 MovieClip Frame 1
this.invoke = function (characterName) {
this.character = characterName;
this.gotoAndStop(characterName);
};
this.fire = function () {
_global.combo.comboReady = true;
_parent.activateSpecial(this.character);
_global.gamePaused = false;
this.gotoAndStop(1);
};
stop();
Symbol 2664 MovieClip Frame 3
stop();
Symbol 2664 MovieClip Frame 4
stop();
Symbol 2664 MovieClip Frame 5
stop();
Symbol 2664 MovieClip Frame 6
stop();
Symbol 2664 MovieClip Frame 7
stop();
Symbol 2664 MovieClip Frame 8
stop();
Symbol 2664 MovieClip Frame 9
stop();
Symbol 2664 MovieClip Frame 10
stop();
Symbol 2664 MovieClip Frame 11
stop();
Symbol 2664 MovieClip Frame 12
stop();
Symbol 2672 MovieClip Frame 1
this._visible = false;
Symbol 2678 MovieClip Frame 2
if (_parent._parent._parent._name == "flairTutorial") {
this.thinHigh_mc._visible = true;
}
Symbol 2684 MovieClip Frame 25
this.waitText_mc.stop();
stop();
Symbol 2685 MovieClip Frame 1
stop();
Symbol 2685 MovieClip Frame 2
stop();
Symbol 2703 MovieClip Frame 1
stop();
Symbol 2703 MovieClip Frame 2
stop();
Symbol 2720 MovieClip Frame 1
stop();
Symbol 2720 MovieClip Frame 2
_parent.bc_mc._visible = false;
Symbol 2720 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 2721 MovieClip [beerBottleCap] Frame 1
this.bounceCount = 0;
this.yMomentum = (Math.random() * 5) + 5;
this.xMomentum = (Math.random() * 10) - 5;
this.spinMomentum = (Math.random() * 180) - 90;
this.onPress = function () {
if (_global.gamePaused != true) {
_global.trickFunctions.caughtBottleCap();
this.released = false;
this.catch_mc.gotoAndPlay(2);
}
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (this.released == true) {
if (this.justReleased != true) {
this.justReleased = true;
}
if (this._y <= 390) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this._rotation = this._rotation + this.spinMomentum;
} else {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this._rotation = this._rotation + this.spinMomentum;
this.bounce();
}
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
}
}
};
this.removeIce = function () {
this.removeMovieClip();
};
this.bounce = function () {
if (this.yMomentum < 0) {
this.bounceCount++;
this.yMomentum = (-this.yMomentum) / 2;
if (this.bounceCount == 3) {
this.removeIce();
}
}
};
Symbol 2722 MovieClip Frame 1
stop();
Symbol 2730 MovieClip Frame 1
stop();
Symbol 2730 MovieClip Frame 136
this.gotoAndPlay(2);
Symbol 2738 MovieClip Frame 1
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.servedAshley = function (caller) {
};
this.waitingOnBeerDoubleClick = false;
this.waiting = false;
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.onEnterFrame = null;
this._parent.nextFrame();
};
this.startCounter = 0;
this.onEnterFrame = function () {
if (this.startCounter > 300) {
this.nextFrame();
this.onEnterFrame = null;
}
this.startCounter++;
};
stop();
Symbol 2738 MovieClip Frame 2
_global.musicTrack.playJazz();
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 3
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 4
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 5
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 6
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 7
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
_parent._parent._parent._parent.seatPositions_mc.addCustomer("smashley");
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
_parent._parent._parent.keyHint_mc._visible = true;
stop();
Symbol 2738 MovieClip Frame 8
_global.tutorialDisplay = this;
this.waitingOnBeerDoubleClick = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 9
this.showMe_mc._visible = false;
_global.tutorialDisplay = this;
this.waitingOnBeerDoubleClick = false;
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
this.nextFrame();
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc._visible = true;
this._parent.showMe_mc.play();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 10
this.showMe_mc._visible = false;
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
caller.tipText_mc.tipReading = "+$1.00";
caller.tipText_mc.play();
_global.roundData.tipIncrease(1);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
this.nextFrame();
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc._visible = true;
this._parent.showMe_mc.play();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 11
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.servedAshley = function (caller) {
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 12
_global.roundData.currentRound = "t3";
this.helpTutorialButton_mc._visible = false;
this.helpTutorialButton_mc.enabled = false;
this.onEnterFrame = function () {
_global.roundData.maxCustomers = 0;
_parent._parent._parent._parent.seatPositions_mc.smashley.body_mc.reduction = 1;
_parent._parent._parent._parent.seatPositions_mc.smashley.body_mc.timeLapse();
if (_parent._parent._parent._parent.seatPositions_mc.smashley.body_mc.moodBar <= 5) {
this.indicator_mc._visible = false;
this.helpTutorialButton_mc._visible = true;
this.helpTutorialButton_mc.enabled = true;
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 13
this.helpTutorialButton_mc.onRelease = function () {
if (_global.locked.tutorialSectionsCompleted_arr[4] == true) {
this._parent.gotoAndStop(15);
} else {
this._parent.nextFrame();
}
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 14
_global.locked.tutorialSectionsCompleted_arr[0] = true;
this.helpTutorialButton_mc.onRelease = function () {
if (_global.locked.tutorialSectionsCompleted_arr[4] == true) {
_global.transitionFrom("tutorialComplete");
} else {
_global.gameStats.firstTime = false;
_global.roundStart("tutorialSection1A");
}
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2738 MovieClip Frame 15
this.helpTutorialButton_mc.onRelease = function () {
this.enabled = false;
_global.transitionFrom("tutorialComplete");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2740 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_global.roundData.customersToServe = 0;
_global.roundData.maxCustomers = 0;
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 2742 MovieClip Frame 2
if (_global.roundData.currentRound == "t1B") {
this.gotoAndPlay(159);
}
_parent.keyHint_mc._visible = false;
Symbol 2742 MovieClip Frame 159
_global.musicTrack.killAll();
Symbol 2742 MovieClip Frame 160
stop();
Symbol 2748 MovieClip Frame 1
this.onPress = function () {
_parent.gotoAndPlay("clear");
this.enabled = false;
};
Symbol 2761 MovieClip Frame 1
stop();
Symbol 2761 MovieClip Frame 2
stop();
Symbol 2761 MovieClip Frame 3
stop();
Symbol 2762 MovieClip Frame 1
this.changeText = function (textID) {
this.textCue = textID;
};
this.onEnterFrame = function () {
this.scroller._x = this.scroller._x - this.xOffset;
this.scroller2._x = this.scroller2._x - this.xOffset;
if (this.scroller._x < (-1 * this.scroller._width)) {
this.scroller.gotoAndStop(this.textCue);
this.scroller._x = (this.scroller2._x + this.scroller2._width) + 5;
}
if (this.scroller2._x < (-1 * this.scroller2._width)) {
this.scroller2.gotoAndStop(this.textCue);
this.scroller2._x = (this.scroller._x + this.scroller._width) + 5;
}
};
_global.charSelect.subHeadScroller = this;
this.changeText("standardCharSelect");
this.xOffset = 4;
stop();
stop();
Symbol 2768 MovieClip Frame 1
this.borderMask_mc.cacheAsBitmap = true;
this.border_mc.cacheAsBitmap = true;
this.border_mc.setMask(this.borderMask_mc);
Symbol 2768 MovieClip Frame 20
this.gotoAndPlay(2);
Symbol 2772 MovieClip Frame 1
this.playerImage.gotoAndStop(_global.gameStats.battleLadder_arr[9].shortName);
this.enemyImage.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
this.catcher.enabled = false;
Symbol 2772 MovieClip Frame 20
this.nameSwap = function (oldName) {
extendedInfo = new Object();
switch (oldName) {
case "danny" :
extendedInfo.newName = "Danny";
extendedInfo.genderMale = true;
break;
case "april" :
extendedInfo.newName = "April";
extendedInfo.genderMale = false;
break;
case "charon" :
extendedInfo.newName = "Charon";
extendedInfo.genderMale = false;
break;
case "johnny" :
extendedInfo.newName = "Johnny";
extendedInfo.genderMale = true;
break;
case "judge" :
extendedInfo.newName = "Judge";
extendedInfo.genderMale = true;
break;
case "luc" :
extendedInfo.newName = "Luc";
extendedInfo.genderMale = true;
break;
case "natasha" :
extendedInfo.newName = "Natasha";
extendedInfo.genderMale = false;
break;
case "rey" :
extendedInfo.newName = "Rey";
extendedInfo.genderMale = true;
break;
case "stunna" :
extendedInfo.newName = "Stunna";
extendedInfo.genderMale = true;
break;
case "yumi" :
extendedInfo.genderMale = false;
extendedInfo.newName = "Yumi";
}
return(extendedInfo);
};
this.playerName.text = this.nameSwap(_global.gameStats.battleLadder_arr[9].shortName).newName;
this.enemyName.text = this.nameSwap(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName).newName;
_parent._parent.playerName = this.playerName.text;
_parent._parent.enemyFullName = this.enemyName.text;
_parent._parent.enemyIsMale = this.nameSwap(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName).genderMale;
Symbol 2772 MovieClip Frame 26
this.catcher.enabled = true;
Symbol 2772 MovieClip Frame 40
stop();
Symbol 2772 MovieClip Frame 70
_parent._parent.stepAhead("intro");
stop();
Symbol 2775 MovieClip Frame 1
this.nameSwap = function (oldName) {
var _local1;
switch (oldName) {
case "danny" :
_local1 = "Danny";
break;
case "april" :
_local1 = "April";
break;
case "charon" :
_local1 = "Charon";
break;
case "johnny" :
_local1 = "JV";
break;
case "judge" :
_local1 = "Judge";
break;
case "luc" :
_local1 = "Luc";
break;
case "natasha" :
_local1 = "Natasha";
break;
case "rey" :
_local1 = "Rey";
break;
case "stunna" :
_local1 = "Stunna";
break;
case "yumi" :
_local1 = "Yumi";
}
return(_local1);
};
this.enemyName.text = this.nameSwap(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName) + "'s Score";
Symbol 2777 MovieClip Frame 1
this.nameSwap = function (oldName) {
var _local1;
switch (oldName) {
case "danny" :
_local1 = "Danny";
break;
case "april" :
_local1 = "April";
break;
case "charon" :
_local1 = "Charon";
break;
case "johnny" :
_local1 = "JV";
break;
case "judge" :
_local1 = "Judge";
break;
case "luc" :
_local1 = "Luc";
break;
case "natasha" :
_local1 = "Natasha";
break;
case "rey" :
_local1 = "Rey";
break;
case "stunna" :
_local1 = "Stunna";
break;
case "yumi" :
_local1 = "Yumi";
}
return(_local1);
};
if (_parent._parent._parent.playerScore == undefined) {
this._visible = false;
}
this.yourScore.text = "Your Score: " + _parent._parent._parent.playerScore;
Symbol 2781 MovieClip Frame 1
this.enemyScore.text = _parent._parent._parent.enemyScore;
Symbol 2788 MovieClip Frame 1
var hisHer;
if (_parent._parent._parent.enemyIsMale == true) {
hisHer = "his";
} else {
hisHer = "her";
}
this.newText.text = (((" " + _parent._parent._parent.enemyFullName) + " started the round. You need to beat ") + hisHer) + " score with your next combo. When you\u2019re ready, click anywhere to start your turn.";
stop();
Symbol 2788 MovieClip Frame 2
var hisHer;
if (_parent._parent._parent.enemyIsMale == true) {
hisHer = "his";
} else {
hisHer = "her";
}
this.newText.text = (((" " + _parent._parent._parent.enemyFullName) + " beat your score and set a new high score. Get out there and beat ") + hisHer) + " score!";
stop();
Symbol 2788 MovieClip Frame 3
var hisHer;
if (_parent._parent._parent.enemyIsMale == true) {
hisHer = "He";
} else {
hisHer = "She";
}
this.newText.text = (((" " + _parent._parent._parent.enemyFullName) + " couldn\u2019t beat your score! ") + hisHer) + " gets a letter, and you get to set a new high score.";
stop();
Symbol 2790 MovieClip Frame 1
this.enemyImage.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
this.catcher.enabled = false;
_global.comboDisplay.gotoAndStop(2);
Symbol 2790 MovieClip Frame 30
if (_parent._parent.runStage == "enemySetNewScore") {
this.details_mc.gotoAndStop(1);
}
if (_parent._parent.runStage == "enemySuccessfulRebuttal") {
this.details_mc.gotoAndStop(2);
}
if (_parent._parent.runStage == "enemyFailedRebuttal") {
this.details_mc.gotoAndStop(3);
}
Symbol 2790 MovieClip Frame 40
this.catcher.enabled = true;
stop();
Symbol 2790 MovieClip Frame 60
_parent._parent.stepAhead("fromEnemy");
stop();
Symbol 2811 MovieClip Frame 1
stop();
Symbol 2811 MovieClip Frame 2
stop();
Symbol 2811 MovieClip Frame 3
stop();
Symbol 2811 MovieClip Frame 4
stop();
Symbol 2811 MovieClip Frame 5
stop();
Symbol 2811 MovieClip Frame 6
stop();
Symbol 2821 MovieClip Frame 1
this.nameText.text = _parent._parent._parent.enemyFullName;
if (_parent._parent._parent.enemyScore != undefined) {
this.lastCombo.text = "Last combo:" + _parent._parent._parent.enemyScore;
} else {
this.lastCombo.text = "";
}
this.letterSet.gotoAndStop(_parent._parent._parent.enemyLetters);
this.gotoAndStop(_parent._parent._parent.enemyFullName);
stop();
Symbol 2821 MovieClip Frame 2
stop();
Symbol 2821 MovieClip Frame 3
stop();
Symbol 2821 MovieClip Frame 4
stop();
Symbol 2821 MovieClip Frame 5
stop();
Symbol 2821 MovieClip Frame 6
stop();
Symbol 2821 MovieClip Frame 7
stop();
Symbol 2821 MovieClip Frame 8
stop();
Symbol 2821 MovieClip Frame 9
stop();
Symbol 2821 MovieClip Frame 10
stop();
Symbol 2824 MovieClip Frame 1
this.playerName.text = _parent._parent._parent.playerName;
if (_parent._parent._parent.playerScore != undefined) {
this.lastCombo.text = "Last combo:" + _parent._parent._parent.playerScore;
} else {
this.lastCombo.text = "";
}
this.letterSet.gotoAndStop(_parent._parent._parent.playerLetters);
this.gotoAndStop(_parent._parent._parent.playerName);
stop();
Symbol 2824 MovieClip Frame 2
stop();
Symbol 2824 MovieClip Frame 3
stop();
Symbol 2824 MovieClip Frame 4
stop();
Symbol 2824 MovieClip Frame 5
stop();
Symbol 2824 MovieClip Frame 6
stop();
Symbol 2824 MovieClip Frame 7
stop();
Symbol 2824 MovieClip Frame 8
stop();
Symbol 2824 MovieClip Frame 9
stop();
Symbol 2824 MovieClip Frame 10
stop();
Symbol 2825 MovieClip Frame 2
_global.comboDisplay.gotoAndStop(1);
Symbol 2825 MovieClip Frame 30
_global.gamePaused = false;
stop();
Symbol 2825 MovieClip Frame 44
_parent._parent.stepAhead("playOver");
Symbol 2830 MovieClip Frame 1
this.nameSwap = function (oldName) {
var _local1;
switch (oldName) {
case "danny" :
_local1 = "Danny";
break;
case "april" :
_local1 = "April";
break;
case "charon" :
_local1 = "Charon";
break;
case "johnny" :
_local1 = "JV";
break;
case "judge" :
_local1 = "Judge";
break;
case "luc" :
_local1 = "Luc";
break;
case "natasha" :
_local1 = "Natasha";
break;
case "rey" :
_local1 = "Rey";
break;
case "stunna" :
_local1 = "Stunna";
break;
case "yumi" :
_local1 = "Yumi";
}
return(_local1);
};
if (_parent._parent._parent.enemyScore == undefined) {
this._visible = false;
}
this.yourScore.text = (this.nameSwap(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName) + "'s Score: ") + _parent._parent._parent.enemyScore;
Symbol 2832 MovieClip Frame 1
this.enemyScore.text = _parent._parent._parent.playerScore;
Symbol 2838 MovieClip Frame 1
var hisHer;
if (_parent._parent._parent.enemyIsMale == true) {
hisHer = "his";
} else {
hisHer = "her";
}
this.newText.text = (" You blew the combo! " + _parent._parent._parent.enemyFullName) + " is gonna start this round. Click to continue.";
stop();
Symbol 2838 MovieClip Frame 2
var hisHer;
if (_parent._parent._parent.enemyIsMale == true) {
hisHer = "his";
} else {
hisHer = "her";
}
this.newText.text = (((" You set the new score to beat. Now " + _parent._parent._parent.enemyFullName) + "\u2019s gotta beat yours. Click anywhere to see ") + hisHer) + " new score.";
stop();
Symbol 2838 MovieClip Frame 3
var hisHer;
if (_parent._parent._parent.enemyIsMale == true) {
hisHer = "He";
} else {
hisHer = "She";
}
this.newText.text = (" You didn\u2019t beat " + _parent._parent._parent.enemyFullName) + "\u2019s score. Now you\u2019re getting a letter.";
stop();
Symbol 2840 MovieClip Frame 1
this.enemyImage.gotoAndStop(_global.gameStats.battleLadder_arr[9].shortName);
this.catcher.enabled = false;
_global.comboDisplay.gotoAndStop(2);
Symbol 2840 MovieClip Frame 30
if (_parent._parent.runStage == "playerFailedRebuttal") {
this.details_mc.gotoAndStop(3);
}
if (_parent._parent.runStage == "playerFailedSetScore") {
this.details_mc.gotoAndStop(1);
}
if ((_parent._parent.runStage == "playerSuccessfulSetScore") || (_parent._parent.runStage == "playerSuccessfulRebuttal")) {
this.details_mc.gotoAndStop(2);
}
Symbol 2840 MovieClip Frame 40
this.catcher.enabled = true;
stop();
Symbol 2840 MovieClip Frame 60
_parent._parent.stepAhead("fromPlayer");
Symbol 2841 MovieClip Frame 1
stop();
Symbol 2841 MovieClip Frame 2
stop();
Symbol 2841 MovieClip Frame 3
stop();
Symbol 2841 MovieClip Frame 4
stop();
Symbol 2869 MovieClip Frame 1
stop();
Symbol 2869 MovieClip Frame 2
stop();
Symbol 2870 MovieClip Frame 1
stop();
Symbol 2870 MovieClip Frame 80
this.gotoAndPlay(2);
Symbol 2905 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.servedAshley = function (caller) {
};
this.waitingOnBeerDoubleClick = false;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 2905 MovieClip Frame 2
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 3
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 4
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 5
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 6
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 7
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.checkScore = function (score) {
if (score >= 100) {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 8
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.checkScore = function (score) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 9
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.checkScore = function (score) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 10
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.waiting = "forBottleClick";
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
if (events == "bottleClicked") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 11
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = "forBalance";
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
if (events == "balanceStart") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 12
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 13
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
if (_global.locked.tutorialSectionsCompleted_arr[4] == true) {
this._parent.gotoAndStop(15);
} else {
this._parent.nextFrame();
}
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 14
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
_global.locked.tutorialSectionsCompleted_arr[1] = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.roundStart("tutorialSection2C");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2905 MovieClip Frame 15
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2907 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 2916 MovieClip Frame 1
this._visible = false;
stop();
Symbol 2916 MovieClip Frame 2
this._visible = true;
Symbol 2916 MovieClip Frame 107
this.gotoAndPlay(2);
Symbol 2931 MovieClip Frame 1
this.contents = 0;
this.onEnterFrame = function () {
if (this.contents < 2) {
this.contents = this.contents + 0.02;
this.ozOmeter_txt.text = "Vodk " + this.trailingZeros(this.contents);
} else {
_parent.play();
this.onEnterFrame = null;
}
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
Symbol 2944 MovieClip Frame 1
this._visible = false;
stop();
Symbol 2944 MovieClip Frame 2
this._visible = true;
Symbol 2944 MovieClip Frame 107
stop();
Symbol 2944 MovieClip Frame 213
this.gotoAndPlay(2);
Symbol 2947 MovieClip Frame 1
this._visible = false;
stop();
Symbol 2947 MovieClip Frame 2
this._visible = true;
Symbol 2947 MovieClip Frame 107
this.gotoAndPlay(2);
Symbol 2966 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.servedAshley = function (caller) {
};
this.waitingOnBeerDoubleClick = false;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.onEnterFrame = null;
this._parent.nextFrame();
};
stop();
Symbol 2966 MovieClip Frame 2
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 3
_parent._parent._parent.seatPositions_mc.addCustomer("smashley2");
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 4
_global.tutorialDisplay = this;
this.waiting = true;
this.receiveEvents = function (events) {
if (events == "setGlass") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 5
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 6
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.waiting = "forVodka";
this.receiveEvents = function (events) {
if (events == "foundVodka") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 7
this.waiting = "forVodkaFill";
this.receiveEvents = function (events, amount) {
if (events == "filledVodka") {
this.fillAmount = amount;
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 8
this.waiting = "forVodkaServe";
this.pourAmount_txt.text = this.fillAmount + " ounces? Not bad for your first time. With some practice, you will";
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
caller.tipText_mc.tipReading = "+$.80";
caller.tipText_mc.play();
_global.roundData.tipIncrease(1);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
caller.drinkRating_mc.play();
caller.drinkRating_mc.rating = 3;
this.nextFrame();
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 9
this.waiting = false;
this.servedAshley = function (caller) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 10
this.waiting = false;
this.servedAshley = function (caller) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 11
this.waiting = false;
this.servedAshley = function (caller) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 12
this.waiting = false;
this.servedAshley = function (caller) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 13
this.waiting = false;
this.servedAshley = function (caller) {
};
this.helpTutorialButton_mc.onRelease = function () {
if (_global.locked.tutorialSectionsCompleted_arr[4] == true) {
this._parent.gotoAndStop(15);
} else {
this._parent.nextFrame();
}
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 14
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
_global.locked.tutorialSectionsCompleted_arr[2] = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.gameStats.firstTime = false;
_global.roundStart("tutorialSection3B");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2966 MovieClip Frame 15
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 2968 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 2977 MovieClip Frame 1
this._visible = false;
stop();
Symbol 2977 MovieClip Frame 2
this._visible = true;
Symbol 2977 MovieClip Frame 107
this.gotoAndPlay(2);
Symbol 2987 MovieClip Frame 1
this._visible = false;
stop();
Symbol 2987 MovieClip Frame 2
this._visible = true;
Symbol 2987 MovieClip Frame 126
this.gotoAndPlay(2);
Symbol 2991 MovieClip Frame 1
this.contents = 0;
this.onEnterFrame = function () {
if (this.contents < 1.5) {
this.contents = this.contents + 0.02;
this.ozOmeter_txt.text = "Vodk " + this.trailingZeros(this.contents);
} else {
_parent.play();
this.onEnterFrame = null;
}
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
Symbol 2994 MovieClip Frame 1
this._visible = false;
stop();
Symbol 2994 MovieClip Frame 2
this._visible = true;
Symbol 2994 MovieClip Frame 107
stop();
Symbol 2994 MovieClip Frame 212
this.gotoAndPlay(2);
Symbol 2999 MovieClip Frame 1
this.contents = 0;
this.onEnterFrame = function () {
if (this.contents < 7.5) {
this.contents = this.contents + 0.02;
this.ozOmeter_txt.text = "CrJ " + this.trailingZeros(this.contents);
} else {
_parent.play();
this.onEnterFrame = null;
}
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
Symbol 3001 MovieClip Frame 1
this.ozOmeter_txt.text = "Vodk 1.50";
Symbol 3003 MovieClip Frame 1
this._visible = false;
this.bottle_mc.gotoAndStop(2);
stop();
Symbol 3003 MovieClip Frame 2
this._visible = true;
this.bottle_mc.gotoAndStop(2);
Symbol 3003 MovieClip Frame 107
stop();
Symbol 3003 MovieClip Frame 212
this.gotoAndPlay(2);
Symbol 3008 MovieClip Frame 1
stop();
Symbol 3008 MovieClip Frame 2
stop();
Symbol 3012 MovieClip Frame 1
this._visible = false;
stop();
Symbol 3012 MovieClip Frame 2
this._visible = true;
Symbol 3012 MovieClip Frame 107
this.gotoAndPlay(2);
Symbol 3026 MovieClip Frame 1
this._visible = false;
stop();
Symbol 3026 MovieClip Frame 2
this._visible = true;
Symbol 3026 MovieClip Frame 107
this.gotoAndPlay(2);
Symbol 3029 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.servedAshley = function (caller) {
};
this.waitingOnBeerDoubleClick = false;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3029 MovieClip Frame 2
_parent._parent._parent.seatPositions_mc.addCustomer("smashley3");
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 3
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = true;
_global.tutorialDisplay = this;
this.waitingOnBeerDoubleClick = true;
this.waitingOnBeerDoubleClick = false;
stop();
Symbol 3029 MovieClip Frame 4
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = true;
this.waiting = true;
this.receiveEvents = function (events) {
if (events == "setGlass") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 5
this.waiting = false;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 6
this.waiting = "forIce";
this.receiveEvents = function (events) {
if (events == "foundIce") {
this.waiting = false;
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 7
this.waiting = "forVodkaFill";
this.receiveEvents = function (events, amount) {
if (events == "filledVodka") {
this.nextFrame();
}
};
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 8
this.waiting = "forCranFill";
this.receiveEvents = function (events) {
if (events == "filledCran") {
this.nextFrame();
}
};
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 9
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.waiting = "forVodkaServe";
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
caller.tipText_mc.tipReading = "+$1.80";
caller.tipText_mc.play();
_global.roundData.tipIncrease(1);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
caller.drinkRating_mc.play();
caller.drinkRating_mc.rating = 3;
this.nextFrame();
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 10
this.waiting = true;
this.receiveEvents = function (events, glassType) {
if (events == "setGlass") {
if (glassType == "cocktail") {
this.nextFrame();
} else {
this.switcher_mc.gotoAndStop(2);
}
}
};
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
_parent._parent._parent.seatPositions_mc.smashley.removeMovieClip();
_parent._parent._parent.seatPositions_mc.addCustomer("smashley4");
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 11
this.waiting = false;
this.receiveEvents = null;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 12
this.waiting = false;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 13
this.waiting = false;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 14
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = "forGarnish";
this.receiveEvents = function (events) {
if (events == "foundGarnish") {
if (_global.locked.tutorialSectionsCompleted_arr[4] == true) {
this._parent.gotoAndStop(16);
} else {
this._parent.nextFrame();
}
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3029 MovieClip Frame 15
_global.locked.tutorialSectionsCompleted_arr[3] = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.gameStats.firstTime = false;
_global.roundStart("tutorialSection4B");
};
this.waiting = "forVodkaServe";
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
caller.tipText_mc.tipReading = "+$1.80";
caller.tipText_mc.play();
_global.roundData.tipIncrease(1);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
caller.drinkRating_mc.play();
caller.drinkRating_mc.rating = 3;
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
stop();
Symbol 3029 MovieClip Frame 16
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3031 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3109 MovieClip [fireworksExplosion] Frame 29
this.removeMovieClip();
Symbol 3110 MovieClip Frame 1
this._visible = false;
stop();
Symbol 3110 MovieClip Frame 2
this._visible = true;
Symbol 3110 MovieClip Frame 161
this.gotoAndPlay(2);
Symbol 3114 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.servedAshley = function (caller) {
};
this.waitingOnBeerDoubleClick = false;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3114 MovieClip Frame 2
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = true;
this.receiveEvents = function (events) {
if (events == "setGlass") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 3
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.help1_mc._visible = false;
this.help2_mc._visible = false;
this.waiting = "forSodaClick";
this.receiveEvents = function (events) {
if (events == "sodaClicked") {
help2_mc._visible = true;
this.waiting = "forWaterClick";
}
if (events == "waterClicked") {
this.waiting = false;
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.help1_mc._visible = true;
this._parent.help2_mc._visible = false;
this._parent.waiting = "forSodaClick";
};
stop();
Symbol 3114 MovieClip Frame 4
_global.tutorialDisplay = this;
this.waiting = false;
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 5
this.waiting = false;
this.receiveEvents = function (events) {
};
_global.checklistItem03.newFlag = false;
_global.checklistItem03.achieved = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 6
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = true;
_parent._parent._parent.seatPositions_mc.addCustomer("smashley5");
this.waiting = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 7
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
caller.tipText_mc.tipReading = "+$.80";
caller.tipText_mc.play();
_global.roundData.tipIncrease(1);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
caller.drinkRating_mc.play();
caller.drinkRating_mc.rating = 3;
this.nextFrame();
};
this.helpTutorialButton_mc.onRelease = function () {
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 8
this.waiting = false;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.servedAshley = function (caller) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 9
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 10
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.waiting = "forHandSpin";
this.receiveEvents = function (eventLabel) {
if (eventLabel == "handSpin") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 11
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.waiting = false;
this.receiveEvents = null;
_global.checklistItem14.newFlag = false;
_global.checklistItem14.achieved = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3114 MovieClip Frame 12
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
_global.locked.tutorialSectionsCompleted_arr[4] = true;
this.waiting = false;
this.receiveEvents = null;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3116 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3137 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = true;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = false;
this.overlay_mc.roFrank_mc.thinLow_mc._visible = false;
this.servedAshley = function (caller) {
};
this.waitingOnBeerDoubleClick = false;
this.waiting = false;
this.checkScore = function (score) {
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.onEnterFrame = null;
this._parent.nextFrame();
};
stop();
Symbol 3137 MovieClip Frame 2
_parent._parent._parent.seatPositions_mc.addCustomer("smashley3");
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3137 MovieClip Frame 3
this.helpTutorialButton_mc.onRelease = function () {
this._parent.onEnterFrame = null;
this._parent.nextFrame();
};
stop();
Symbol 3137 MovieClip Frame 4
_global.tutorialDisplay = this;
this.waiting = true;
this.receiveEvents = function (events) {
if (events == "setGlass") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3137 MovieClip Frame 5
this.waiting = "forVodka";
this.receiveEvents = function (events) {
if (events == "foundVodka") {
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3137 MovieClip Frame 6
this.waiting = false;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3137 MovieClip Frame 7
this.waiting = "forVodkaFill";
this.receiveEvents = function (events, amount) {
if (events == "filledVodka") {
this.fillAmount = amount;
this.nextFrame();
}
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3137 MovieClip Frame 8
this.waiting = "forVodkaServe";
this.pourAmount_txt.text = this.fillAmount + " ounces? Not bad for your first time. With some practice, you'll";
this.servedAshley = function (caller) {
caller.glass = _global.heldGlass;
caller.glass.putInPlay(false);
caller.tipText_mc.tipReading = "+$.80";
caller.tipText_mc.play();
_global.roundData.tipIncrease(1);
_global.heldGlass = undefined;
caller.glass.enabled = false;
caller.glass.setOnBar = false;
caller.glass.removeMovieClip();
_global.sfxLayer.sfx.successSound.start();
caller.drinkRating_mc.play();
caller.drinkRating_mc.rating = 3;
this.nextFrame();
};
this.receiveEvents = function (events) {
};
this.helpTutorialButton_mc.onRelease = function () {
this._parent.showMe_mc.gotoAndPlay(2);
};
this.helpTutorialButton_mc.onRollOver = function () {
this.gotoAndStop(2);
};
this.helpTutorialButton_mc.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 3137 MovieClip Frame 9
stop();
Symbol 3139 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3157 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3157 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3157 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3157 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
if (_global.flairUpgrades.balanceLevel == 1) {
this._parent.nextFrame();
} else {
_global.transitionFrom("tutorialComplete");
}
};
stop();
Symbol 3157 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3159 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3163 MovieClip Frame 80
this.gotoAndPlay(1);
Symbol 3172 MovieClip Frame 1
stop();
Symbol 3187 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3187 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3187 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3187 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3187 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3189 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3201 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3201 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3201 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3201 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3201 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.showMe_mc.gotoAndPlay(2);
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3203 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3216 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3216 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3216 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
if (_global.flairUpgrades.handSpinLevel > 0) {
this._parent.nextFrame();
} else {
this._parent.gotoAndStop(8);
}
};
stop();
Symbol 3216 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3216 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
if (_global.flairUpgrades.handSpinLevel > 1) {
this._parent.nextFrame();
} else {
this._parent.gotoAndStop(8);
}
};
stop();
Symbol 3216 MovieClip Frame 6
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3216 MovieClip Frame 7
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3216 MovieClip Frame 8
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3218 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3239 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 6
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 7
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 8
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 9
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
if (_global.flairUpgrades.popUpLevel > 0) {
this._parent.nextFrame();
} else {
_global.transitionFrom("tutorialComplete");
}
};
stop();
Symbol 3239 MovieClip Frame 10
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3239 MovieClip Frame 11
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3241 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3247 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3247 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3247 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3247 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3249 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3261 MovieClip Frame 10
stop();
Symbol 3280 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 6
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 7
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 8
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 9
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3280 MovieClip Frame 10
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3282 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3310 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3310 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3310 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3310 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3312 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3329 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3329 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3329 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3329 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3329 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3329 MovieClip Frame 6
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3329 MovieClip Frame 7
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3331 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3338 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3338 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3338 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3338 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3340 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3346 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3346 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3346 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3346 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3348 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3360 MovieClip Frame 1
this.gotoAndStop(_global.trainingSignatureMoveSigID);
stop();
Symbol 3360 MovieClip Frame 2
stop();
Symbol 3360 MovieClip Frame 3
stop();
Symbol 3360 MovieClip Frame 4
stop();
Symbol 3360 MovieClip Frame 5
stop();
Symbol 3360 MovieClip Frame 6
stop();
Symbol 3360 MovieClip Frame 7
stop();
Symbol 3360 MovieClip Frame 8
stop();
Symbol 3360 MovieClip Frame 9
stop();
Symbol 3360 MovieClip Frame 10
stop();
Symbol 3374 MovieClip Frame 1
xx = Number(_global.trainingSignatureMoveSigNumber);
yy = Number(1);
zz = xx + yy;
this.gotoAndStop(zz);
stop();
Symbol 3374 MovieClip Frame 2
stop();
Symbol 3374 MovieClip Frame 3
stop();
Symbol 3374 MovieClip Frame 4
stop();
Symbol 3374 MovieClip Frame 5
stop();
Symbol 3374 MovieClip Frame 6
stop();
Symbol 3374 MovieClip Frame 7
stop();
Symbol 3374 MovieClip Frame 8
stop();
Symbol 3374 MovieClip Frame 9
stop();
Symbol 3374 MovieClip Frame 10
stop();
Symbol 3385 MovieClip Frame 1
this.gotoAndStop(_global.trainingSignatureMoveSigID);
stop();
Symbol 3385 MovieClip Frame 2
stop();
Symbol 3385 MovieClip Frame 3
stop();
Symbol 3385 MovieClip Frame 4
stop();
Symbol 3385 MovieClip Frame 5
stop();
Symbol 3385 MovieClip Frame 6
stop();
Symbol 3385 MovieClip Frame 7
stop();
Symbol 3385 MovieClip Frame 8
stop();
Symbol 3385 MovieClip Frame 9
stop();
Symbol 3385 MovieClip Frame 10
stop();
Symbol 3396 MovieClip Frame 1
this.gotoAndStop(_global.trainingSignatureMoveSigID);
stop();
Symbol 3396 MovieClip Frame 2
stop();
Symbol 3396 MovieClip Frame 3
stop();
Symbol 3396 MovieClip Frame 4
stop();
Symbol 3396 MovieClip Frame 5
stop();
Symbol 3396 MovieClip Frame 6
stop();
Symbol 3396 MovieClip Frame 7
stop();
Symbol 3396 MovieClip Frame 8
stop();
Symbol 3396 MovieClip Frame 9
stop();
Symbol 3396 MovieClip Frame 10
stop();
Symbol 3398 MovieClip Frame 1
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3398 MovieClip Frame 2
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
_global.specials.specialBar.increase(100);
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3398 MovieClip Frame 3
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3398 MovieClip Frame 4
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
this._parent.nextFrame();
};
stop();
Symbol 3398 MovieClip Frame 5
_global.roundTimerDisplay._visible = false;
_global.tutorialDisplay = this;
this.overlay_mc.roFrank_mc.fat_mc._visible = false;
this.overlay_mc.roFrank_mc.thinHigh_mc._visible = true;
this.helpTutorialButton_mc.onRelease = function () {
_global.transitionFrom("tutorialComplete");
};
stop();
Symbol 3400 MovieClip Frame 12
for (i in _parent._parent._parent.seatPositions_mc.customerArray) {
_parent._parent._parent.seatPositions_mc.customerArray[i].removeMovieClip();
}
stop();
Symbol 3401 MovieClip Frame 1
_global.roundControllerSymbol = this;
if (_global.roundData.disableSignatures == true) {
_parent.blastLayer.attachMovie("signatureUnavailable", "signatureUnavailable_mc", _parent.blastLayer.getNextHighestDepth(), {_x:1, _y:378});
}
if (_global.roundData.currentRound == "t1A") {
trace("t1a");
_global.roundData.currentRound = "t1B";
_global.musicTrack.playJazz();
this.gotoAndStop(2);
}
if (_global.roundData.currentRound == "t0") {
_global.roundData.maxCustomers = 4;
_global.roundData.currentRound = "t1";
_parent.blastLayer.attachMovie("roundOverlayReady", "roundOverlayReady_mc", _parent.blastLayer.getNextHighestDepth(), {_x:289, _y:147});
this.gotoAndStop(2);
}
if (_global.roundData.currentRound == "tutorialSection1A") {
_global.roundData.maxCustomers = 4;
}
if (_global.roundData.currentRound == "tutorialSection2B") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(4);
}
if (_global.roundData.currentRound == "tutorialSection3B") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(5);
}
if (_global.roundData.currentRound == "tutorialSection4B") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(6);
}
if (_global.roundData.currentRound == "tutorialSection5B") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(7);
}
if (_global.roundData.currentRound == "tutorialBalance") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(9);
}
if (_global.roundData.currentRound == "tutorialGlassCatch") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(10);
}
if (_global.roundData.currentRound == "tutorialBalanceTransfer") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(11);
}
if (_global.roundData.currentRound == "tutorialHandSpin") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(12);
}
if (_global.roundData.currentRound == "tutorialGlassPop") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(13);
}
if (_global.roundData.currentRound == "tutorialBottlePop") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(14);
}
if (_global.roundData.currentRound == "tutorialSuperman") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(15);
}
if (_global.roundData.currentRound == "tutorialHighPour") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(16);
}
if (_global.roundData.currentRound == "tutorialIceCatch") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(17);
}
if (_global.roundData.currentRound == "tutorialCoast2Coast") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(18);
}
if (_global.roundData.currentRound == "tutorialFlip") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = true;
this.gotoAndStop(19);
}
if (_global.roundData.currentRound == "signatureTrain") {
_global.musicTrack.playJazz();
_global.roundData.disableSignatures = false;
this.gotoAndStop(20);
}
if (_global.demoMode.arenaMode == true) {
if (_global.gameStats.firstRunValues.firstVersusMatch == false) {
}
_parent.blastLayer.attachMovie("signatureUnavailable", "signatureUnavailable_mc", _parent.blastLayer.getNextHighestDepth(), {_x:1, _y:378});
_global.roundData.maxCustomers = 0;
_global.roundData.disableSignatures = true;
this.gotoAndStop(3);
}
stop();
Symbol 3401 MovieClip Frame 2
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 3
_global.canPause = false;
_global.vipCardDisplay._visible = false;
_global.cashDisplay._visible = false;
_parent.scoreDisplay_mc._visible = false;
this.playerLetters = 1;
this.enemyLetters = 1;
this.playerScore = undefined;
this.enemyScore = undefined;
this.enemyRebuttal = false;
this.runStage = 1;
this.playerResults = 0;
_global.arenaController = this;
this.stepAhead = function (stepLabel) {
switch (stepLabel) {
case "intro" :
this.setNewEnemyScore();
this.runStage = "enemySetNewScore";
this.roundControl_mc.gotoAndStop(2);
break;
case "playOver" :
this.roundControl_mc.gotoAndStop("player");
_global.gamePaused = true;
break;
case "comboSuccessful" :
if (this.compareScores() == true) {
if (this.runStage == "playerRebuttal") {
this.runStage = "playerSuccessfulRebuttal";
}
if (this.runStage == "playerSetScore") {
this.runStage = "playerSuccessfulSetScore";
}
} else {
this.runStage = "playerFailedRebuttal";
}
this.playerResults = "successfulCombo";
this.roundControl_mc.roundControl_mc.gotoAndPlay(31);
break;
case "comboFailed" :
if (this.runStage == "playerRebuttal") {
this.runStage = "playerFailedRebuttal";
}
if (this.runStage == "playerSetScore") {
this.runStage = "playerFailedSetScore";
}
this.playerResults = "failedCombo";
this.roundControl_mc.roundControl_mc.gotoAndPlay(31);
break;
case "fromPlayer" :
this.setNewEnemyScore();
if (this.runStage == "playerFailedRebuttal") {
this.addLetterToPlayer(true);
this.runStage = "enemySetNewScore";
}
if (this.runStage == "playerFailedSetScore") {
this.runStage = "enemySetNewScore";
}
if (this.runStage == "playerSuccessfulRebuttal") {
if (this.compareScores() == true) {
this.addLetterToPlayer(false);
this.runStage = "enemyFailedRebuttal";
} else {
this.runStage = "enemySuccessfulRebuttal";
}
}
if (this.runStage == "playerSuccessfulSetScore") {
if (this.compareScores() == true) {
this.addLetterToPlayer(false);
this.runStage = "enemyFailedRebuttal";
} else {
this.runStage = "enemySuccessfulRebuttal";
}
}
this.roundControl_mc.gotoAndStop(2);
break;
case "fromEnemy" :
if (this.runStage == "enemySetNewScore") {
this.playerScore = undefined;
this.runStage = "playerRebuttal";
}
if (this.runStage == "enemySuccessfulRebuttal") {
this.runStage = "playerRebuttal";
}
if (this.runStage == "enemyFailedRebuttal") {
this.enemyScore = undefined;
this.playerScore = undefined;
this.runStage = "playerSetScore";
}
this.roundControl_mc.gotoAndStop(3);
this.roundActive = true;
}
};
this.setNewEnemyScore = function () {
var _local3 = Math.random();
if (_local3 >= 0.5) {
_local3 = 1;
} else {
_local3 = -1;
}
this.enemyScore = Math.round(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].averageScore + ((Math.random() * _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].scoreDeviation) * _local3));
};
this.addLetterToPlayer = function (whichPlayerBoolean) {
if (whichPlayerBoolean == true) {
this.playerLetters++;
if (this.playerLetters == 6) {
this.playerWonMatch(false);
}
} else {
this.enemyLetters++;
if (this.enemyLetters == 6) {
this.playerWonMatch(true);
}
}
};
this.playerWonMatch = function (whichWon) {
if (whichWon == true) {
this._visible = false;
_global.endRound("playerWinsArenaMatch");
} else {
this._visible = false;
_global.endRound("playerLosesArenaMatch");
}
};
this.compareScores = function () {
if (this.enemyScore == undefined) {
return(true);
}
if (this.playerScore >= this.enemyScore) {
return(true);
}
if (this.playerScore < this.enemyScore) {
return(false);
}
};
stop();
Symbol 3401 MovieClip Frame 4
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 5
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 6
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 7
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 8
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 9
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 10
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 11
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 12
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 13
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 14
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 15
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 16
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 17
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 18
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 19
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3401 MovieClip Frame 20
stop();
visibility = true;
this.onEnterFrame = function () {
if (Key.isDown(72) && (this.hiding != true)) {
this.hiding = true;
visibility = !visibility;
_global.tutorialDisplay._visible = visibility;
}
if ((Key.isDown(72) == false) && (this.hiding != false)) {
this.hiding = false;
}
};
Symbol 3402 MovieClip [mainGameWindow] Frame 1
_global.traceInfo = new Object();
_global.ing = new Object();
_global.ing.tequila = new Object({shortName:"Teqi"});
_global.ing.tequila.fullTitle = "Tequila";
_global.ing.tequila.measure = "oz.";
_global.ing.tequila.ingClass = "liquor";
_global.ing.tequila.liquorColor = 16750865 /* 0xFF9911 */;
_global.ing.tequila.liquorAlpha = 25;
_global.ing.tequila.glassColor = "clear";
_global.ing.tripleSec = new Object({shortName:"TrpS"});
_global.ing.tripleSec.fullTitle = "Triple Sec";
_global.ing.tripleSec.measure = "oz.";
_global.ing.tripleSec.ingClass = "liqueur";
_global.ing.tripleSec.liquorColor = 13421772 /* 0xCCCCCC */;
_global.ing.tripleSec.liquorAlpha = 25;
_global.ing.tripleSec.glassColor = "brown";
_global.ing.gin = new Object({shortName:"Gin"});
_global.ing.gin.fullTitle = "Gin";
_global.ing.gin.measure = "oz.";
_global.ing.gin.ingClass = "liquor";
_global.ing.gin.liquorColor = 13421772 /* 0xCCCCCC */;
_global.ing.gin.liquorAlpha = 25;
_global.ing.gin.glassColor = "green";
_global.ing.ssMix = new Object();
_global.ing.ssMix.fullTitle = "Sweet & Sour";
_global.ing.ssMix.measure = "oz.";
_global.ing.ssMix.ingClass = "mixer";
_global.ing.ssMix.liquorColor = 13421772 /* 0xCCCCCC */;
_global.ing.ssMix.liquorAlpha = 25;
_global.ing.ssMix.glassColor = "clear";
_global.ing.limeWedge = new Object();
_global.ing.limeWedge.fullTitle = "Lime";
_global.ing.limeWedge.measure = "slice";
_global.ing.limeWedge.ingClass = "garnish";
_global.ing.vodka = new Object({shortName:"Vodk"});
_global.ing.vodka.fullTitle = "Vodka";
_global.ing.vodka.measure = "oz.";
_global.ing.vodka.ingClass = "liquor";
_global.ing.vodka.liquorColor = 13421772 /* 0xCCCCCC */;
_global.ing.vodka.liquorAlpha = 25;
_global.ing.vodka.glassColor = "blue";
_global.ing.coconutRum = new Object({shortName:"CRm"});
_global.ing.coconutRum.fullTitle = "Coconut Rum";
_global.ing.coconutRum.measure = "oz.";
_global.ing.coconutRum.ingClass = "liqueur";
_global.ing.coconutRum.liquorColor = 13421772 /* 0xCCCCCC */;
_global.ing.coconutRum.liquorAlpha = 25;
_global.ing.coconutRum.glassColor = "clear";
_global.ing.lightRum = new Object({shortName:"LRm"});
_global.ing.lightRum.fullTitle = "Light Rum";
_global.ing.lightRum.measure = "oz.";
_global.ing.lightRum.ingClass = "liquor";
_global.ing.lightRum.liquorColor = 13421772 /* 0xCCCCCC */;
_global.ing.lightRum.liquorAlpha = 25;
_global.ing.lightRum.glassColor = "clear";
_global.ing.darkRum = new Object({shortName:"DRm"});
_global.ing.darkRum.fullTitle = "Dark Rum";
_global.ing.darkRum.measure = "oz.";
_global.ing.darkRum.ingClass = "liquor";
_global.ing.darkRum.liquorColor = 13395456 /* 0xCC6600 */;
_global.ing.darkRum.liquorAlpha = 25;
_global.ing.darkRum.glassColor = "clear";
_global.ing.whiskey = new Object({shortName:"Wsky"});
_global.ing.whiskey.fullTitle = "Whiskey";
_global.ing.whiskey.measure = "oz.";
_global.ing.whiskey.ingClass = "liquor";
_global.ing.whiskey.liquorColor = 13395456 /* 0xCC6600 */;
_global.ing.whiskey.liquorAlpha = 50;
_global.ing.whiskey.glassColor = "clear";
_global.ing.amaretto = new Object({shortName:"Amar"});
_global.ing.amaretto.fullTitle = "Amaretto";
_global.ing.amaretto.measure = "oz.";
_global.ing.amaretto.ingClass = "liqueur";
_global.ing.amaretto.liquorColor = 13395456 /* 0xCC6600 */;
_global.ing.amaretto.liquorAlpha = 50;
_global.ing.amaretto.glassColor = "clear";
_global.ing.scotch = new Object({shortName:"Scot"});
_global.ing.scotch.fullTitle = "Scotch";
_global.ing.scotch.measure = "oz.";
_global.ing.scotch.ingClass = "liquor";
_global.ing.scotch.liquorColor = 13395456 /* 0xCC6600 */;
_global.ing.scotch.liquorAlpha = 50;
_global.ing.scotch.glassColor = "clear";
_global.ing.bourbon = new Object({shortName:"Brbn"});
_global.ing.bourbon.fullTitle = "Bourbon";
_global.ing.bourbon.measure = "oz.";
_global.ing.bourbon.ingClass = "liquor";
_global.ing.bourbon.liquorColor = 13395456 /* 0xCC6600 */;
_global.ing.bourbon.liquorAlpha = 50;
_global.ing.bourbon.glassColor = "clear";
_global.ing.coffeeLiqueur = new Object({shortName:"Cof"});
_global.ing.coffeeLiqueur.fullTitle = "Coffee Liqueur";
_global.ing.coffeeLiqueur.measure = "oz.";
_global.ing.coffeeLiqueur.ingClass = "liqueur";
_global.ing.coffeeLiqueur.liquorColor = 3342336 /* 0x330000 */;
_global.ing.coffeeLiqueur.liquorAlpha = 50;
_global.ing.coffeeLiqueur.glassColor = "brown";
_global.ing.melonLiqueur = new Object({shortName:"Meln"});
_global.ing.melonLiqueur.fullTitle = "Melon Liqueur";
_global.ing.melonLiqueur.measure = "oz.";
_global.ing.melonLiqueur.ingClass = "liqueur";
_global.ing.melonLiqueur.liquorColor = 39168;
_global.ing.melonLiqueur.liquorAlpha = 50;
_global.ing.melonLiqueur.glassColor = "clear";
_global.ing.orangeJuice = new Object({shortName:"OJ"});
_global.ing.orangeJuice.fullTitle = "Orange Juice";
_global.ing.orangeJuice.measure = "oz.";
_global.ing.orangeJuice.ingClass = "mixer";
_global.ing.orangeJuice.liquorColor = 16763904 /* 0xFFCC00 */;
_global.ing.orangeJuice.liquorAlpha = 90;
_global.ing.orangeJuice.glassColor = "clear";
_global.ing.lemonJuice = new Object({shortName:"LemJ"});
_global.ing.lemonJuice.fullTitle = "Lemon Juice";
_global.ing.lemonJuice.measure = "oz.";
_global.ing.lemonJuice.ingClass = "mixer";
_global.ing.lemonJuice.liquorColor = 16777164 /* 0xFFFFCC */;
_global.ing.lemonJuice.liquorAlpha = 90;
_global.ing.lemonJuice.glassColor = "clear";
_global.ing.limeJuice = new Object({shortName:"Lime"});
_global.ing.limeJuice.fullTitle = "Lime Juice";
_global.ing.limeJuice.measure = "oz.";
_global.ing.limeJuice.ingClass = "mixer";
_global.ing.limeJuice.liquorColor = 16777164 /* 0xFFFFCC */;
_global.ing.limeJuice.liquorAlpha = 90;
_global.ing.limeJuice.glassColor = "clear";
_global.ing.cranJuice = new Object({shortName:"CrJ"});
_global.ing.cranJuice.fullTitle = "Cranberry Juice";
_global.ing.cranJuice.measure = "oz.";
_global.ing.cranJuice.ingClass = "mixer";
_global.ing.cranJuice.liquorColor = 10027008 /* 0x990000 */;
_global.ing.cranJuice.liquorAlpha = 85;
_global.ing.cranJuice.glassColor = "clear";
_global.ing.pineJuice = new Object({shortName:"Pine"});
_global.ing.pineJuice.fullTitle = "Pineapple Juice";
_global.ing.pineJuice.measure = "oz.";
_global.ing.pineJuice.ingClass = "mixer";
_global.ing.pineJuice.liquorColor = 16777164 /* 0xFFFFCC */;
_global.ing.pineJuice.liquorAlpha = 90;
_global.ing.pineJuice.glassColor = "clear";
_global.ing.licorice = new Object({shortName:"Lico"});
_global.ing.licorice.fullTitle = "Licorice Liqueur";
_global.ing.licorice.measure = "oz.";
_global.ing.licorice.ingClass = "liqueur";
_global.ing.licorice.liquorColor = 3355392 /* 0x333300 */;
_global.ing.licorice.liquorAlpha = 90;
_global.ing.licorice.glassColor = "green";
_global.ing.grenadine = new Object({shortName:"Gren"});
_global.ing.grenadine.fullTitle = "Grenadine";
_global.ing.grenadine.measure = "oz.";
_global.ing.grenadine.ingClass = "smallMixer";
_global.ing.grenadine.liquorColor = 13369344 /* 0xCC0000 */;
_global.ing.grenadine.liquorAlpha = 75;
_global.ing.grenadine.glassColor = "clear";
_global.ing.oneFiftyOne = new Object({fullTitle:"150 Proof Rum", measure:"oz.", ingClass:"liquor", liquorColor:10040064, liquorAlpha:50, shortName:"150P"});
_global.ing.bitters = new Object({fullTitle:"Bitters", measure:"oz.", ingClass:"smallMixer", liquorColor:13395507, liquorAlpha:50, shortName:"Bitr"});
_global.ing.cream = new Object({fullTitle:"Cream", measure:"oz.", ingClass:"smallMixer", liquorColor:16777215, liquorAlpha:100, shortName:"Crem"});
_global.ing.salt = new Object({fullTitle:"Salt", measure:"oz.", ingClass:"smallMixer", liquorColor:16777215, liquorAlpha:100, shortName:"Salt"});
_global.ing.sugar = new Object({fullTitle:"Sugar", measure:"oz.", ingClass:"smallMixer", liquorColor:16777215, liquorAlpha:100, shortName:"Sugr"});
_global.ing.dryVermouth = new Object({fullTitle:"Dry Vermouth", measure:"oz.", ingClass:"liqueur", liquorColor:16777215, liquorAlpha:25, shortName:"DryV"});
_global.ing.sweetVermouth = new Object({fullTitle:"Sweet Vermouth", measure:"oz.", ingClass:"liqueur", liquorColor:16777215, liquorAlpha:25, shortName:"SwtV"});
_global.ing.peachSchnapps = new Object({fullTitle:"Peach Schnapps", measure:"oz.", ingClass:"liqueur", liquorColor:16777215, liquorAlpha:25, shortName:"PchS"});
this.oneFiftyOne_mc.ing = _global.ing.oneFiftyOne;
this.bitters_mc.ing = _global.ing.bitters;
this.cream_mc.ing = _global.ing.cream;
this.salt_mc.ing = _global.ing.salt;
this.sugar_mc.ing = _global.ing.sugar;
this.dVermouth_mc.ing = _global.ing.dryVermouth;
this.sVermouth_mc.ing = _global.ing.sweetVermouth;
this.peachSchnapps_mc.ing = _global.ing.peachSchnapps;
_global.ing.coke = new Object({fullTitle:"Cola", measure:"oz.", ingClass:"gun", liquorColor:3348992, liquorAlpha:90, shortName:"Cola"});
_global.ing.energy = new Object({fullTitle:"Energy Drink", measure:"oz.", ingClass:"gun", liquorColor:15644693, liquorAlpha:40, shortName:"Engy"});
_global.ing.tonic = new Object({fullTitle:"Tonic Water", measure:"oz.", ingClass:"gun", liquorColor:16249053, liquorAlpha:60, shortName:"Tonc"});
_global.ing.water = new Object({fullTitle:"Water", measure:"oz.", ingClass:"gun", liquorColor:16777215, liquorAlpha:30, shortName:"H2O"});
_global.ing.soda = new Object({fullTitle:"Soda Water", measure:"oz.", ingClass:"gun", liquorColor:16777215, liquorAlpha:40, shortName:"Soda"});
_global.ing.lemonLime = new Object({fullTitle:"Lemon Lime Soda", measure:"oz.", ingClass:"gun", liquorColor:16777215, liquorAlpha:50, shortName:"L+L"});
_global.ing.beer = new Object({fullTitle:"Beer", measure:"oz.", ingClass:"Beer", liquorColor:16777215, liquorAlpha:50});
this.vodka_mc.ing = _global.ing.vodka;
this.coconutRum_mc.ing = _global.ing.coconutRum;
this.lightRum_mc.ing = _global.ing.lightRum;
this.darkRum_mc.ing = _global.ing.darkRum;
this.whiskey_mc.ing = _global.ing.whiskey;
this.amaretto_mc.ing = _global.ing.amaretto;
this.scotch_mc.ing = _global.ing.scotch;
this.bourbon_mc.ing = _global.ing.bourbon;
this.coffeeLiqueur_mc.ing = _global.ing.coffeeLiqueur;
this.melonLiqueur_mc.ing = _global.ing.melonLiqueur;
this.tequila_mc.ing = _global.ing.tequila;
this.tripleSec_mc.ing = _global.ing.tripleSec;
this.gin_mc.ing = _global.ing.gin;
this.tripleSec_mc.bottleImage_mc.gotoAndStop(2);
this.gin_mc.bottleImage_mc.gotoAndStop(8);
this.vodka_mc.bottleImage_mc.gotoAndStop(6);
this.coconutRum_mc.bottleImage_mc.gotoAndStop(3);
this.lightRum_mc.bottleImage_mc.gotoAndStop(4);
this.darkRum_mc.bottleImage_mc.gotoAndStop(5);
this.whiskey_mc.bottleImage_mc.gotoAndStop(7);
this.grenadine_mc.ing = _global.ing.grenadine;
this.licorice_mc.ing = _global.ing.licorice;
this.pineJuice_mc.ing = _global.ing.pineJuice;
this.cranJuice_mc.ing = _global.ing.cranJuice;
this.limeJuice_mc.ing = _global.ing.limeJuice;
this.lemonJuice_mc.ing = _global.ing.lemonJuice;
this.orangeJuice_mc.ing = _global.ing.orangeJuice;
_global.drinks = new Object();
ingArray = [[_global.ing.gin, _global.ing.orangeJuice], [1.5, 3.5]];
_global.drinks.ginAndJuice = {ingredients:ingArray, prep:"stir", glassType:"oldFashioned", drinkTitle:"Gin and Juice"};
ingArray = new Array();
ingArray = [[_global.ing.coffeeLiqueur, _global.ing.vodka], [0.75, 1.5]];
_global.drinks.blackRussian = {ingredients:ingArray, prep:"shake", glassType:"oldFashioned", drinkTitle:"Black Russian"};
ingArray = new Array();
ingArray = [[_global.ing.coffeeLiqueur, _global.ing.vodka, _global.ing.lemonJuice], [0.75, 1.5, 0.5]];
_global.drinks.blackMagic = {ingredients:ingArray, prep:"shake", glassType:"oldFashioned", drinkTitle:"Black Magic"};
ingArray = new Array();
ingArray = [[_global.ing.lemonLime, _global.ing.grenadine, _global.ing.limeJuice], [4, 1, 1]];
_global.drinks.shirleyTemple = {ingredients:ingArray, prep:"shake", glassType:"oldFashioned", drinkTitle:"Shirley Temple", garnish:"cherry", specialType:"nonAlcoholic", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.limeJuice, _global.ing.tripleSec, _global.ing.vodka], [1, 1, 1]];
_global.drinks.kamikaze = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"cocktail", drinkTitle:"Kamikaze", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.orangeJuice, _global.ing.vodka], [4, 1.5]];
_global.drinks.screwdriver = {ingredients:ingArray, prep:"stir", glassType:"oldFashioned", drinkTitle:"Screwdriver", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.cranJuice, _global.ing.orangeJuice, _global.ing.peachSchnapps, _global.ing.vodka], [3, 3, 1, 1]];
_global.drinks.sexOnTheBeach = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Sex on the Beach", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.sweetVermouth, _global.ing.whiskey, _global.ing.bitters], [0.5, 1.5, 0.25]];
_global.drinks.manhattan = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"cocktail", drinkTitle:"Manhattan", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.grenadine, _global.ing.orangeJuice, _global.ing.tequila, _global.ing.limeJuice], [0.75, 3, 1.5, 0.25]];
_global.drinks.tequilaSunrise = {ingredients:ingArray, prep:"shake", glassType:"collins", drinkTitle:"Tequila Sunrise", garnish:"lime", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.pineJuice, _global.ing.coconutRum, _global.ing.darkRum], [4, 1.5, 1.5]];
_global.drinks.pinaColada = {ingredients:ingArray, prep:"shake", glassType:"collins", drinkTitle:"Pina Colada", garnish:"cherry", specialType:null, specialInstr:"A true Pina Colada would call for Coconut Cream instead of Coconut Rum- but we drink a little harder around here."};
ingArray = new Array();
ingArray = [[_global.ing.limeJuice, _global.ing.vodka, _global.ing.tripleSec, _global.ing.cranJuice], [0.5, 1.5, 1, 1]];
_global.drinks.cosmo = {ingredients:ingArray, prep:"shake", glassType:"cocktail", drinkTitle:"Cosmopolitan", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.dryVermouth], [2, 0.5]];
_global.drinks.martini = {ingredients:ingArray, prep:"stirAndStrain", glassType:"cocktail", drinkTitle:"Martini", garnish:"olive", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lightRum, _global.ing.sugar, _global.ing.limeJuice], [0.5, 1.5, 0.5]];
_global.drinks.daiquiri = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"cocktail", drinkTitle:"Daiquiri", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.melonLiqueur, _global.ing.sugar, _global.ing.lemonJuice], [2, 1, 0.5]];
_global.drinks.grinch = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"cocktail", drinkTitle:"Grinch", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.soda, _global.ing.grenadine, _global.ing.lemonJuice, _global.ing.orangeJuice, _global.ing.pineJuice], [2, 0.25, 1, 1, 1]];
_global.drinks.cinderella = {ingredients:ingArray, prep:"shake", glassType:"highball", drinkTitle:"Cinderella", garnish:"lemon", specialType:"nonAlcoholic", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.tonic], [1.5, 7.5]];
_global.drinks.ginAndTonic = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Gin And Tonic", garnish:"lime", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.lightRum, _global.ing.tequila, _global.ing.gin, _global.ing.limeJuice, _global.ing.lemonLime], [0.5, 0.5, 0.5, 0.5, 2, 2]];
_global.drinks.adiosMotherfucker = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Adios, Motherf*cker", garnish:null, specialType:null, specialInstr:null, shortName:"AMF"};
ingArray = new Array();
ingArray = [[_global.ing.grenadine, _global.ing.gin, _global.ing.limeJuice, _global.ing.soda], [0.5, 1, 5, 5]];
_global.drinks.singaporeSling = {ingredients:ingArray, prep:null, glassType:"collins", drinkTitle:"Singapore Sling", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.coffeeLiqueur, _global.ing.cream], [2, 1, 2.5]];
_global.drinks.whiteRussian = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"White Russian", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.pineJuice, _global.ing.orangeJuice, _global.ing.sugar, _global.ing.lightRum, _global.ing.darkRum, _global.ing.limeJuice, _global.ing.oneFiftyOne], [1, 1, 1, 1.5, 2, 1, 0.5]];
_global.drinks.zombie = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"collins", drinkTitle:"Zombie X", garnish:null, specialType:"flaming", specialInstr:"Float 151 on top, and ignite before serving"};
ingArray = new Array();
ingArray = [[_global.ing.amaretto, _global.ing.coke, _global.ing.oneFiftyOne], [2, 5, 2]];
_global.drinks.bacardiStinger = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Stinger", garnish:null, specialType:"flaming", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.cream, _global.ing.coffeeLiqueur, _global.ing.amaretto, _global.ing.oneFiftyOne], [1, 1, 1, 0.5]];
_global.drinks.brainDestroyer = {ingredients:ingArray, prep:null, glassType:"shooter", drinkTitle:"Brain Destroyer", garnish:null, specialType:"flaming", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.whiskey, _global.ing.oneFiftyOne, _global.ing.tequila], [0.5, 0.5, 0.5]];
_global.drinks.crowbar = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"shotglass", drinkTitle:"Crowbar", garnish:null, specialType:"flaming", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.whiskey, _global.ing.oneFiftyOne], [0.75, 0.75]];
_global.drinks.gravedigger = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Gravedigger", garnish:null, specialType:"flaming", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.oneFiftyOne, _global.ing.lemonLime, _global.ing.salt], [2, 1, 10, 0.1]];
_global.drinks.lethalWeapon = {ingredients:ingArray, prep:"stir", glassType:"collins", drinkTitle:"Lethal Weapon", garnish:null, specialType:"flaming", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.amaretto, _global.ing.limeJuice, _global.ing.lemonJuice, _global.ing.lemonLime], [1.5, 1.5, 1.5, 0.5]];
_global.drinks.ozone = {ingredients:ingArray, prep:"stir", glassType:"oldFashioned", drinkTitle:"Ozone", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.grenadine, _global.ing.gin, _global.ing.lightRum, _global.ing.darkRum, _global.ing.amaretto, _global.ing.tripleSec, _global.ing.pineJuice, _global.ing.orangeJuice], [1, 0.25, 1, 1, 0.5, 1, 1, 3.5, 3.5]];
_global.drinks.hurricane = {ingredients:ingArray, prep:null, glassType:"collins", drinkTitle:"Hurricane", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.coffeeLiqueur, _global.ing.tonic], [2, 2, 2]];
_global.drinks.mindEraser = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Mind Eraser", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.tripleSec, _global.ing.lemonJuice], [1.5, 1.5, 1.5]];
_global.drinks.lemonDrop = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"shooter", drinkTitle:"Lemon Drop", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.licorice, _global.ing.coconutRum, _global.ing.pineJuice], [1.5, 1.5, 1.5]];
_global.drinks.surferOnAcid = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"shooter", drinkTitle:"Surfer on Acid", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.licorice, _global.ing.energy], [1.5, 4]];
_global.drinks.blaster = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"RedStar Blaster", garnish:null, specialType:"noIce", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.coffeeLiqueur, _global.ing.amaretto, _global.ing.cream], [1.5, 1.5, 1.5]];
_global.drinks.b52 = {ingredients:ingArray, prep:null, glassType:"shooter", drinkTitle:"B-52", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.oneFiftyOne, _global.ing.coconutRum, _global.ing.pineJuice], [1.5, 1.5, 5]];
_global.drinks.caribouLou = {ingredients:ingArray, prep:"shake", glassType:"highball", drinkTitle:"Caribou Lou", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.tequila, _global.ing.amaretto, _global.ing.limeJuice], [1, 0.5, 4.5]];
_global.drinks.cactusJuice = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Cactus Juice", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.melonLiqueur, _global.ing.limeJuice, _global.ing.lemonLime], [1.5, 1.5, 3]];
_global.drinks.midoriSour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Melon Sour", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.tequila, _global.ing.lightRum, _global.ing.gin, _global.ing.tripleSec, _global.ing.limeJuice, _global.ing.coke], [2, 2, 2, 2, 2, 2.5, 0.5]];
_global.drinks.longIsland = {ingredients:ingArray, prep:"shake", glassType:"collins", drinkTitle:"Long Island Iced Tea", garnish:"lemon", specialType:null, specialInstr:null, shortName:"Long Island"};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.orangeJuice, _global.ing.lemonJuice, _global.ing.grenadine], [1.5, 1, 1, 0.05]];
_global.drinks.ginAndSin = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"cocktail", drinkTitle:"Gin and Sin"};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.tonic], [1.5, 7.5]];
_global.drinks.vodkaTonic = {ingredients:ingArray, prep:null, glassType:"highball", drinkTitle:"Vodka Tonic", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.energy], [1.5, 4]];
_global.drinks.vodkaBlaster = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Vodka RedStar", garnish:null, specialType:"noIce", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.limeJuice, _global.ing.orangeJuice], [2.5, 1.5, 5]];
_global.drinks.keyWestScrewDriver = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Key West Screwdriver", garnish:null, specialType:null, specialInstr:null, shortName:"K.W. Screwdriver"};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.cranJuice, _global.ing.pineJuice], [3, 1, 1]];
_global.drinks.bayBreeze = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Bay Breeze", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.cranJuice], [1.5, 7.5]];
_global.drinks.capeCod = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Cape Cod", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.coconutRum, _global.ing.lemonLime, _global.ing.grenadine, _global.ing.limeJuice], [1.5, 4.5, 0.5, 1.5]];
_global.drinks.baySpritzer = {ingredients:ingArray, prep:"stir", glassType:"highball", drinkTitle:"Bay Spritzer", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.lemonJuice, _global.ing.sugar, _global.ing.soda], [2, 1.5, 1, 8]];
_global.drinks.vodkaCollins = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"collins", drinkTitle:"Vodka Collins", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.tequila, _global.ing.tripleSec, _global.ing.limeJuice], [1.5, 0.5, 1]];
_global.drinks.margarita = {ingredients:ingArray, prep:"shakeAndStrain", glassType:"cocktail", drinkTitle:"Margarita", garnish:"lime", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.lightRum, _global.ing.gin, _global.ing.tequila, _global.ing.tripleSec, _global.ing.melonLiqueur], [0.5, 0.5, 0.5, 0.5, 0.5, 1]];
_global.drinks.tokyoTea = {ingredients:ingArray, prep:"shake", glassType:"highball", drinkTitle:"Tokyo Tea", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lightRum, _global.ing.coke, _global.ing.limeJuice], [3, 5.5, 0.5]];
ingArray = new Array();
ingArray = [[_global.ing.tequila], [2]];
_global.drinks.tequilaShot = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Tequila Shot", garnish:"lime", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka], [2]];
_global.drinks.vodkaShot = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Vodka Shot", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.whiskey], [2]];
_global.drinks.whiskeyShot = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Whiskey Shot", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.darkRum], [2]];
_global.drinks.darkRumShot = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Dark Rum Shot", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lightRum], [2]];
_global.drinks.lightRumShot = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Light Rum Shot", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin], [2]];
_global.drinks.ginShot = {ingredients:ingArray, prep:null, glassType:"shotglass", drinkTitle:"Shot of Gin", garnish:"lime", specialType:null, specialInstr:null};
ingArray = [[_global.ing.lightRum, _global.ing.coke], [3, 6]];
_global.drinks.rumAndCola = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Rum and Cola", garnish:null, specialType:null, specialInstr:null};
ingArray = [[_global.ing.peachSchnapps, _global.ing.orangeJuice], [1.5, 3]];
_global.drinks.fuzzyNavel = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Fuzzy Navel", garnish:null, specialType:null, specialInstr:null};
ingArray = [[_global.ing.whiskey, _global.ing.sugar, _global.ing.bitters, _global.ing.soda], [1.5, 0.25, 0.5, 1]];
_global.drinks.oldFashioned = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Old Fashioned", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = [[_global.ing.gin, _global.ing.grenadine, _global.ing.cream], [1.5, 0.5, 1.5]];
_global.drinks.pinkLady = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Pink Lady", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = [[_global.ing.lightRum, _global.ing.sugar, _global.ing.orangeJuice, _global.ing.grenadine, _global.ing.darkRum], [3, 0.25, 2, 0.25, 0.5]];
_global.drinks.plantersPunch = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Planter's Punch", garnish:null, specialType:null, specialInstr:null};
ingArray = [[_global.ing.scotch, _global.ing.sweetVermouth], [2, 0.5]];
_global.drinks.robRoy = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Rob Roy", garnish:null, specialType:null, specialInstr:null};
ingArray = [[_global.ing.gin, _global.ing.lemonJuice, _global.ing.soda], [3, 2, 8]];
_global.drinks.tomCollins = {ingredients:ingArray, prep:null, glassType:"collins", drinkTitle:"Tom Collins", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.dryVermouth], [2, 0.5]];
_global.drinks.vodkaMartini = {ingredients:ingArray, prep:"stirAndStrain", glassType:"cocktail", drinkTitle:"Vodka Martini", garnish:"olive", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.whiskey, _global.ing.lemonJuice, _global.ing.sugar], [3, 2, 0.5]];
_global.drinks.whiskeySour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Whiskey Sour", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.amaretto, _global.ing.lemonJuice, _global.ing.sugar], [3, 2, 0.5]];
_global.drinks.amarettoSour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Amaretto Sour", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.lemonJuice, _global.ing.sugar], [3, 2, 0.5]];
_global.drinks.vodkaSour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Vodka Sour", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.tequila, _global.ing.lemonJuice, _global.ing.sugar], [3, 2, 0.5]];
_global.drinks.tequilaSour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Tequila Sour", garnish:"lime", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.lemonJuice, _global.ing.sugar], [3, 2, 0.5]];
_global.drinks.ginSour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Gin Sour", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lightRum, _global.ing.limeJuice, _global.ing.grenadine, _global.ing.soda], [3, 3, 1, 4]];
_global.drinks.firemansSour = {ingredients:ingArray, prep:null, glassType:"collins", drinkTitle:"Fireman's Sour", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lightRum, _global.ing.lemonJuice, _global.ing.sugar], [3, 2, 0.5]];
_global.drinks.rumSour = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Rum Sour", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lemonJuice, _global.ing.sugar, _global.ing.grenadine, _global.ing.scotch], [0.5, 0.25, 0.25, 2]];
_global.drinks.wardEight = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Ward Eight", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.soda, _global.ing.orangeJuice], [1.5, 6, 0.5]];
_global.drinks.bulldog = {ingredients:ingArray, prep:null, glassType:"highball", drinkTitle:"Bulldog", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.bourbon, _global.ing.soda], [2, 4]];
_global.drinks.bourbonAndSoda = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Bourbon and Soda", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.bourbon, _global.ing.water], [2, 4]];
_global.drinks.bourbonAndBranch = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Bourbon and Branch", garnish:null, specialType:null, specialInstr:null, shortName:"Bourbon & Branch"};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.dryVermouth], [2, 0.5]];
_global.drinks.gibson = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Gibson", garnish:"olive", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.vodka, _global.ing.tripleSec, _global.ing.dryVermouth, _global.ing.orangeJuice, _global.ing.pineJuice, _global.ing.cranJuice], [1.5, 1.5, 0.75, 3, 2, 2]];
_global.drinks.orangeFire = {ingredients:ingArray, prep:null, glassType:"collins", drinkTitle:"Orange Fire", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.bitters, _global.ing.orangeJuice], [1.5, 0.5, 1]];
_global.drinks.abbeyCocktail = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Abbey Cocktail", garnish:"cherry", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.limeJuice, _global.ing.sugar, _global.ing.gin], [1, 0.25, 1.5]];
_global.drinks.gimlet = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Gimlet", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.lightRum, _global.ing.darkRum, _global.ing.amaretto, _global.ing.tripleSec, _global.ing.orangeJuice, _global.ing.pineJuice], [2, 2, 0.5, 1, 1, 1]];
_global.drinks.maiTai = {ingredients:ingArray, prep:null, glassType:"highball", drinkTitle:"Mai Tai", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.coffeeLiqueur, _global.ing.vodka, _global.ing.coke], [3, 1.5, 4.5]];
_global.drinks.coloradoBulldog = {ingredients:ingArray, prep:null, glassType:"highball", drinkTitle:"Colorado Bulldog", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.whiskey, _global.ing.lemonLime], [1.5, 4]];
_global.drinks.sevenAndSeven = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"7 & 7", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.amaretto, _global.ing.melonLiqueur, _global.ing.cranJuice], [1.5, 1.5, 1.5]];
_global.drinks.brokenDownGolfCart = {ingredients:ingArray, prep:null, glassType:"shooter", drinkTitle:"Broken Down Golf Cart", garnish:null, specialType:null, specialInstr:null, shortName:"Broken Golfcart"};
ingArray = new Array();
ingArray = [[_global.ing.tripleSec, _global.ing.dryVermouth, _global.ing.vodka, _global.ing.cranJuice], [0.25, 0.25, 1.5, 1.5]];
_global.drinks.crantini = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Crantini", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.dryVermouth], [1.5, 1.5]];
_global.drinks.fiftyFifty = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Fifty-Fifty", garnish:"olive", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.grenadine, _global.ing.lemonJuice, _global.ing.sugar], [2, 1.5, 1, 0.5]];
_global.drinks.ginDaisy = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Gin Daisy", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.scotch, _global.ing.bourbon, _global.ing.whiskey], [1.5, 1.5, 1.5]];
_global.drinks.threeWiseMen = {ingredients:ingArray, prep:null, glassType:"shooter", drinkTitle:"Three Wise Men", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.gin, _global.ing.dryVermouth, _global.ing.grenadine], [1.5, 0.5, 0.25]];
_global.drinks.society = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Society Cocktail", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.tequila, _global.ing.tripleSec, _global.ing.grenadine, _global.ing.orangeJuice, _global.ing.lemonJuice], [1.5, 0.25, 0.5, 0.5, 0.5]];
_global.drinks.chapala = {ingredients:ingArray, prep:null, glassType:"cocktail", drinkTitle:"Chapala", garnish:"lemon", specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.beer], [12]];
_global.drinks.beer = {ingredients:ingArray, prep:null, glassType:"beer", drinkTitle:"Beer", garnish:null, specialType:null, specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.coke], [6]];
_global.drinks.coke = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Cola", garnish:"lemon", specialType:"nonAlcoholic", specialInstr:null};
ingArray = [[_global.ing.energy], [6]];
_global.drinks.redStar = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"RedStar", garnish:null, specialType:"nonAlcoholic", specialInstr:null};
ingArray = new Array();
ingArray = [[_global.ing.cranJuice], [6]];
_global.drinks.cranberryJuice = {ingredients:ingArray, prep:null, glassType:"oldFashioned", drinkTitle:"Cranberry Juice", garnish:null, specialType:"nonAlcoholic", specialInstr:null};
_global.drinkArr = new Object();
_global.drinkArr.level1Array = new Array();
_global.drinkArr.level2Array = new Array();
_global.drinkArr.level3Array = new Array();
_global.drinkArr.level4Array = new Array();
_global.drinkArr.level5Array = new Array();
_global.drinkArr.level6Array = new Array();
_global.drinkArr.level7Array = new Array();
_global.drinkArr.level8Array = new Array();
_global.drinkArr.level9Array = new Array();
_global.drinkArr.level10Array = new Array();
_global.drinkArr.nonAlcoholic = new Array();
_global.drinkArr.flamingDrinks = new Array();
_global.drinkArr.otherDrinksError = new Array();
for (i in _global.drinks) {
ingredientCount = 0;
for (j in _global.drinks[i].ingredients[0]) {
ingredientCount++;
}
if (_global.drinks[i].specialType == "flaming") {
ingredientCount = "flaming";
}
switch (ingredientCount) {
case 1 :
if (_global.drinks[i] != _global.drinks.shotOfWater) {
_global.drinkArr.level1Array.push(_global.drinks[i]);
break;
}
case 2 :
_global.drinkArr.level2Array.push(_global.drinks[i]);
break;
case 3 :
_global.drinkArr.level3Array.push(_global.drinks[i]);
break;
case 4 :
_global.drinkArr.level4Array.push(_global.drinks[i]);
break;
case 5 :
_global.drinkArr.level5Array.push(_global.drinks[i]);
break;
case 6 :
_global.drinkArr.level6Array.push(_global.drinks[i]);
break;
case 7 :
_global.drinkArr.level7Array.push(_global.drinks[i]);
break;
case 8 :
_global.drinkArr.level8Array.push(_global.drinks[i]);
break;
case 9 :
_global.drinkArr.level9Array.push(_global.drinks[i]);
break;
case 10 :
_global.drinkArr.level10Array.push(_global.drinks[i]);
break;
case "flaming" :
_global.drinkArr.flamingDrinks.push(_global.drinks[i]);
break;
default :
_global.drinkArr.otherDrinksError.push(_global.drinks[i]);
}
if (_global.drinks[i].specialType == "nonAlcoholic") {
_global.drinkArr.nonAlcoholic.push(_global.drinks[i]);
}
}
_global.traceInfo.drinkArrayContents = function () {
for (i in _global.drinkArr) {
for (j in _global.drinkArr[i]) {
trace((i + ": ") + _global.drinkArr[i][j].drinkTitle);
}
}
};
_global.canPause = true;
_global.disable_arr = new Array();
this.pauseListener = new Object();
this.pauseListener.onKeyDown = function () {
if (Key.isDown(16)) {
if (_global.canPause == true) {
if (_global.gamePaused == true) {
_global.canPause = false;
_global.pauseScreen.gotoAndPlay(41);
for (itemNo in _global.disable_arr) {
_global.disable_arr[itemNo].enabled = true;
}
} else {
_global.canPause = false;
_global.gameWindow.attachMovie("pauseScreenSymbol", "pauseScreenSymbol", _global.gameWindow.getNextHighestDepth(), {_x:0, _y:0});
_global.pauseScreen = _global.gameWindow.pauseScreenSymbol;
_global.gamePaused = true;
for (itemNo in _global.disable_arr) {
_global.disable_arr[itemNo].enabled = false;
}
}
}
}
};
Key.addListener(this.pauseListener);
_global.specialLayer = this.specialLayer_mc;
_global.specialAnimationFinished = function () {
this.specialLayer_mc.gotoAndStop(1);
};
_global.glasses = new Object();
_global.glasses.shotglass = new Object();
_global.glasses.shotglass.glassType = "shotglass";
_global.glasses.shotglass.capacity = 2;
_global.glasses.shotglass.rideX = 25;
_global.glasses.shotglass.rideY = 45;
_global.glasses.shotglass.takesIce = false;
_global.glasses.shotglass.fillLine = 2;
_global.glasses.shotglass.fillHeight = 20;
_global.glasses.cocktail = new Object();
_global.glasses.cocktail.glassType = "cocktail";
_global.glasses.cocktail.capacity = 3.5;
_global.glasses.cocktail.rideX = 40;
_global.glasses.cocktail.rideY = 60;
_global.glasses.cocktail.takesIce = false;
_global.glasses.cocktail.fillLine = -7;
_global.glasses.cocktail.fillHeight = 0;
_global.glasses.oldFashioned = new Object();
_global.glasses.oldFashioned.glassType = "oldFashioned";
_global.glasses.oldFashioned.capacity = 9;
_global.glasses.oldFashioned.rideX = 25;
_global.glasses.oldFashioned.rideY = 50;
_global.glasses.oldFashioned.fillLine = 0;
_global.glasses.oldFashioned.fillHeight = 22;
_global.glasses.highball = new Object();
_global.glasses.highball.glassType = "highball";
_global.glasses.highball.capacity = 12;
_global.glasses.highball.rideX = 25;
_global.glasses.highball.rideY = 40;
_global.glasses.highball.fillLine = -7;
_global.glasses.highball.fillHeight = 20;
_global.glasses.collins = new Object();
_global.glasses.collins.glassType = "collins";
_global.glasses.collins.capacity = 16;
_global.glasses.collins.rideX = 25;
_global.glasses.collins.rideY = 45;
_global.glasses.collins.fillLine = -11;
_global.glasses.collins.fillHeight = 20;
_global.glasses.shooter = new Object();
_global.glasses.shooter.glassType = "shooter";
_global.glasses.shooter.capacity = 4.5;
_global.glasses.shooter.rideX = 25;
_global.glasses.shooter.rideY = 45;
_global.glasses.shooter.takesIce = false;
_global.glasses.shooter.fillLine = 2;
_global.glasses.shooter.fillHeight = 20;
_global.glasses.beer = new Object();
_global.glasses.beer.glassType = "beer";
_global.glasses.beer.capacity = 12;
_global.glasses.beer.takesIce = false;
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
_root.menu = my_cm;
this.onEnterFrame = function () {
if (Key.isDown(13) == true) {
if (_global.gamePaused == false) {
_global.gamePaused = true;
this.pauseScreen_mc.play();
}
}
};
this.bottle_arr = new Array();
this.launchCount = 0;
this.thizzCount = 0;
_global.shotgunCount = 0;
_global.specialsFunctionList = this;
this.chooseBottle = function () {
bCount = this.bottle_arr.length;
iR = Math.round(Math.random() * bCount);
return(iR);
};
this.judgeSpecialLaunchBottle = function () {
iRand = this.chooseBottle();
if (((this.bottle_arr[iRand].launched == false) && (this.bottle_arr[iRand] != undefined)) && (this.bottle_arr[iRand].setDown == true)) {
clearInterval(this.intID);
this.launchCount++;
this.bottle_arr[iRand].launch();
lastDownHoldout = bottle_arr[iRand];
this.ttRand = Math.round(Math.random() * 2500);
if (this.launchCount <= _global.specials.judgeAmmoArray[_global.playerStats.specialStat]) {
this.intID = setInterval(this, "judgeSpecialLaunchBottle", ttRand);
// unexpected jump
}
this.lastDown = lastDownHoldout;
_quality = this.preQual;
return(undefined);
}
this.judgeSpecialLaunchBottle();
};
this.judgeFire = function () {
this.judgeRevolver_mc.rotator();
if (this.judgeRevolver_mc.empty != true) {
this.playEffect("ricochet");
ricoCount++;
this.effectsLayer.attachMovie("ricochet", "ricochet" + ricoCount, this.effectsLayer.getNextHighestDepth(), {_x:_root._xmouse, _y:_root._ymouse});
}
if (this.judgeAmmo <= 0) {
this.judgeEndSpecial();
}
};
_global.shotgunFire = function (callerObj) {
if (_global.blastLayer.shotgunCount != undefined) {
_global.blastLayer.shotgunCount++;
} else {
_global.blastLayer.shotgunCount = 0;
}
callerObj.spinMomentum = callerObj.spinMomentum * 1.25;
callerObj.beenShotTimer = 0;
_global.blastLayer.playBlast();
_global.blastLayer.attachMovie("shotgunBlast", "shotgunBlast_mc" + _global.blastLayer.shotgunCount, _global.blastLayer.getNextHighestDepth(), {_width:400, _height:202, _x:callerObj._x, _y:309});
if (callerObj.yMomentum <= 2) {
callerObj.yMomentum = _global.bottleValues.maximumYVelocity * 2;
}
_global.shotgunCount--;
};
this.activateStunnaSpecial = function () {
_global.specials.specialBar.increase(-100);
this.thizzCount = _global.specials.stunnaMaxPills[_global.gameStats.spec];
_global.thizzPillCounter.play();
};
this.activateReySpecial = function () {
_global.specials.specialBar.increase(-100);
_global.shotgunCount = _global.specials.reyMaxShotgun[_global.gameStats.spec];
_global.shotgunShellCounter.play();
};
this.activateJudgeSpecial = function () {
_global.ammoCount = _global.specials.judgeMaxAmmunition;
this.judgeRevolver_mc._visible = true;
this.judgeRevolver_mc.reload();
ricoCount = 0;
this.launchCount = 0;
this.lastDown = undefined;
for (i in this.bottle_arr) {
if (this.bottle_arr[i].setDown == false) {
this.bottle_arr[i].launch();
this.launchCount++;
}
}
_global.judgeSpecial = true;
this.judgeAmmo = _global.specials.judgeAmmoArray[_global.playerStats.specialStat];
Mouse.hide();
this.pistolHairs_mc.gotoAndStop(2);
startDrag (pistolHairs_mc, true);
this.preQual = _quality;
this.judgeSpecialLaunchBottle();
};
this.judgeEndSpecial = function () {
for (i in this.bottle_arr) {
if (this.bottle_arr[i].activeLaunch == true) {
this.bottle_arr[i].activeLaunch = false;
}
}
_global.comboDisplay.endCombo(true);
Mouse.show();
this.pistolHairs_mc.gotoAndStop(1);
stopDrag();
this.judgeRevolver_mc._visible = false;
_global.judgeSpecial = false;
this.endSpecial();
_global.specials.specialBar.increase(-100);
};
this.callSpecial = function (characterSpecial) {
for (i in _global.gameStats.battleLadder_arr) {
if ((characterSpecial == _global.gameStats.battleLadder_arr[i].shortName) && (_global.gameStats.battleLadder_arr[i].specialUnlocked == true)) {
if ((_global.specials.specialBar.fillPercentage >= 100) && (_global.specials.specialsActive != true)) {
this.specialLayer_mc.invoke(characterSpecial);
_global.gamePaused = true;
}
}
}
};
this.activateSpecial = function (characterSpecial) {
_global.roundStats.sigsUsed++;
_global.specials.specialsActive = true;
switch (characterSpecial) {
case "johnny" :
_global.gameStats.uniqueSigsUsed[0] = true;
_global.johnnySpecial = true;
_global.specials.specialTimer = _global.specials.johnnySpecialTimeLimitArray[_global.playerStats.specialStat];
_global.bottleValues.terminalVelocity = -1;
this.specialsTimer_mc.gotoAndStop(2);
this.specialsTimer_mc.activeSpecial = "johnny";
break;
case "yumi" :
_global.gameStats.uniqueSigsUsed[1] = true;
_global.specials.specialTimer = _global.specials.yumiSpecialTimeLimitArray[_global.playerStats.specialStat];
_global.bottleValues.gravity = _global.bottleValues.gravity / 2;
this.specialsTimer_mc.gotoAndStop(2);
_global.specials.yumiSpecial = true;
this.specialsTimer_mc.activeSpecial = "yumi";
break;
case "charon" :
_global.gameStats.uniqueSigsUsed[2] = true;
_global.specials.specialTimer = _global.specials.charonSpecialTimeLimitArray[_global.playerStats.specialStat];
_global.playerStats.specialStat = 10;
_global.playerStats.charisma = 10;
_global.playerStats.dexterity = 10;
_global.playerStats.strengthStat = 10;
_global.bottleValues.maximumYVelocity = _global.playerStats.strengthYVelocityLimits[_global.playerStats.strengthStat];
_global.bottleValues.maximumXVelocity = _global.playerStats.strengthYVelocityLimits[_global.playerStats.strengthStat];
_global.bottleValues.spinMultiplier = _global.playerStats.strengthSpinMultiplier[_global.playerStats.strengthStat];
_global.playerStats.charismaTimeBonus = 1 + (_global.playerStats.charisma / 4);
this.seatPositions_mc.resetCharismaBonus();
this.specialsTimer_mc.gotoAndStop(2);
_global.specials.charonSpecial = true;
this.specialsTimer_mc.activeSpecial = "charon";
break;
case "april" :
_global.gameStats.uniqueSigsUsed[3] = true;
_global.specials.specialTimer = _global.specials.aprilSpecialTimeLimitArray[_global.playerStats.specialStat];
_global.specials.aprilSpecial = true;
this.seatPositions_mc.shockAndAmaze();
this.specialsTimer_mc.gotoAndStop(2);
this.specialsTimer_mc.activeSpecial = "april";
break;
case "danny" :
_global.gameStats.uniqueSigsUsed[4] = true;
_global.specials.specialTimer = _global.specials.dannySpecialTimeLimitArray[_global.playerStats.specialStat];
_global.specials.dannySpecial = true;
this.seatPositions_mc.stealTips();
this.specialsTimer_mc.gotoAndStop(2);
this.specialsTimer_mc.activeSpecial = "danny";
break;
case "judge" :
_global.gameStats.uniqueSigsUsed[5] = true;
this.activateJudgeSpecial();
break;
case "rey" :
_global.gameStats.uniqueSigsUsed[6] = true;
this.activateReySpecial();
break;
case "natasha" :
_global.gameStats.uniqueSigsUsed[7] = true;
_global.specials.specialTimer = _global.specials.natashaSpecialTimeLimitArray[_global.playerStats.specialStat];
_global.specials.natashaSpecial = true;
this.specialsTimer_mc.gotoAndStop(2);
this.specialsTimer_mc.activeSpecial = "natasha";
break;
case "stunna" :
_global.gameStats.uniqueSigsUsed[8] = true;
this.activateStunnaSpecial();
break;
case "luc" :
_global.gameStats.uniqueSigsUsed[9] = true;
switch (_global.specials.lucSpecial) {
case "sucker" :
_global.specials.specialBar.increase(-100);
this.endSpecial();
break;
case "onePercent" :
_global.specials.pointsToCash = true;
_global.specials.specialTimer = 600;
this.specialsTimer_mc.gotoAndStop(2);
this.specialsTimer_mc.activeSpecial = "luc";
break;
case "twoTimes" :
_global.specials.tipsMultiplier = 2;
_global.specials.specialBar.increase(-100);
this.endSpecial();
break;
case "threeTimes" :
_global.specials.tipsMultiplier = 3;
_global.specials.specialBar.increase(-100);
this.endSpecial();
break;
case "fourTimes" :
_global.specials.tipsMultiplier = 4;
_global.specials.specialBar.increase(-100);
this.endSpecial();
break;
case "fiveTimes" :
_global.specials.tipsMultiplier = 5;
_global.specials.specialBar.increase(-100);
this.endSpecial();
}
}
this.vocalLayer_mc.playSig(characterSpecial);
};
this.testJudgeFinished = function (bottle) {
if (bottle == this.lastDown) {
this.judgeEndSpecial();
}
};
this.judgeRevolver_mc._visible = false;
this.playEffect = function (id) {
switch (id) {
case "ricochet" :
sfxRand = Math.round(Math.random() * 1);
this["ricochet" + sfxRand].start();
break;
case "bottleShot" :
sfxRand = Math.round(Math.random() * 2);
this["bottleBreak" + sfxRand].start();
}
};
this.loadSoundEffects = function () {
this.createEmptyMovieClip("sfxricochets", this.getNextHighestDepth());
this.ricochet0 = new Sound(this.sfxricochets);
this.ricochet0.attachSound("ps0");
this.ricochet1 = new Sound(this.sfxricochets);
this.ricochet1.attachSound("ps1");
this.createEmptyMovieClip("sfxbreaks", this.getNextHighestDepth());
this.bottleBreak0 = new Sound(this.sfxbreaks);
this.bottleBreak0.attachSound("BottleBreak0");
this.bottleBreak1 = new Sound(this.sfxbreaks);
this.bottleBreak1.attachSound("BottleBreak1");
this.bottleBreak2 = new Sound(this.sfxbreaks);
this.bottleBreak2.attachSound("BottleBreak2");
};
this.loadSoundEffects();
this.endSpecial = function () {
_global.gameStats.terminalVelocity = _global.gameStats.terminalVelocity_arr[_global.gameStats.performanceRating];
_global.bottleValues.terminalVelocity = _global.gameStats.terminalVelocity;
this.musicLayer_mc.endSpecial();
_global.specials.specialsActive = false;
};
this.useThizz = function () {
_global.thizzPillCounter.shotgunShellDisplay_mc.smileyDisplay_mc.gotoAndPlay(2);
this.thizzCount--;
};
_global.pouringLiquidScript = function (bottle, nameID) {
lastDrop = null;
if (nameID == "miniBottle") {
if (bottle.whichHand == 1) {
xx = bottle._x - 18;
}
if (bottle.whichHand == -1) {
xx = bottle._x + 13;
}
yy = bottle._y + 28;
lastDrop = bottle._parent[("liquidPour_mc" + bottle._name) + bottle.liquidCount];
bottle.liquidCount++;
bottle._parent.attachMovie("liquidPour", ("liquidPour_mc" + bottle._name) + bottle.liquidCount, bottle._parent.getNextHighestDepth(), {_x:xx, _y:yy, destination:bottle.glass, precursor:lastDrop, liquidColor:bottle.ing.liquorColor, _alpha:bottle.ing.liquorAlpha, soda:true, _width:4});
}
if (nameID == "sodaGun") {
xx = bottle._x - 15;
yy = bottle._y + 27;
lastDrop = bottle._parent[("liquidPour_mc" + bottle._name) + bottle.liquidCount];
bottle.liquidCount++;
bottle._parent.attachMovie("liquidPour", ("liquidPour_mc" + bottle._name) + bottle.liquidCount, bottle._parent.getNextHighestDepth(), {_x:xx, _y:yy, destination:bottle.glass, precursor:lastDrop, liquidColor:bottle.ing.liquorColor, _alpha:bottle.ing.liquorAlpha, soda:true, _width:4});
}
if (nameID == undefined) {
if (bottle.whichHand == 1) {
xx = bottle._x - 31;
}
if (bottle.whichHand == -1) {
xx = bottle._x + 20;
}
lastDrop = bottle._parent["liquidPour_mc" + bottle.liquidCount];
bottle.liquidCount++;
bottle._parent.attachMovie("liquidPour", "liquidPour_mc" + bottle.liquidCount, bottle._parent.getNextHighestDepth(), {_x:xx, _y:bottle._y + 52, destination:bottle.glass, precursor:lastDrop, liquidColor:bottle.ing.liquorColor, _alpha:bottle.ing.liquorAlpha});
}
};
_global.iceBucket = this.iceBucket_mc;
this.spawnGlass = function (glassTypeId) {
_global.glassId = _global.glassId + 1;
switch (glassTypeId) {
case "shotglass" :
glFrame = 5;
gtX = 20;
gP = _global.glasses.shotglass;
break;
case "shooter" :
glFrame = 6;
gtX = 48;
gP = _global.glasses.shooter;
break;
case "cocktail" :
glFrame = 4;
gtX = 81;
gP = _global.glasses.cocktail;
break;
case "oldFashioned" :
glFrame = 1;
gtX = 113;
gP = _global.glasses.oldFashioned;
break;
case "highball" :
glFrame = 2;
gtX = 145;
gP = _global.glasses.highball;
break;
case "collins" :
glFrame = 3;
gtX = 180;
gP = _global.glasses.collins;
}
this.glassSpawnLayer_mc.attachMovie("drinkGlass", "drinkGlass" + _global.glassId, this.glassSpawnLayer_mc.getNextHighestDepth(), {_x:gtX, _y:260, glassProperties:gP});
this.glassSpawnLayer_mc["drinkGlass" + _global.glassId].glassImage_mc.gotoAndStop(glFrame);
};
if ((((_global.demoMode.bonusRound != "perfectPour") && (_global.demoMode.bonusRound != "apopalypse")) && (_global.demoMode.bonusRound != "iceStorm")) && (_global.demoMode.bonusRound != "speedRack")) {
this.spawnGlass("shooter");
this.spawnGlass("shotglass");
this.spawnGlass("cocktail");
this.spawnGlass("oldFashioned");
this.spawnGlass("highball");
this.spawnGlass("collins");
this.glassSpawnLayer_mc.attachMovie("beerBottle", "beerBottle" + _global.glassId, this.glassSpawnLayer_mc.getNextHighestDepth(), {_x:338, _y:395, glassProperties:_global.glasses.beer});
}
if (_global.demoMode.bonusRound == "perfectPour") {
this.glassSpawnLayer_mc.attachMovie("drinkGlass", "drinkGlass_pp1", this.glassSpawnLayer_mc.getNextHighestDepth(), {_x:230, _y:200, glassProperties:_global.glasses.shotglass, released:true, enabled:false, preventEnable:true});
this.glassSpawnLayer_mc.attachMovie("drinkGlass", "drinkGlass_pp2", this.glassSpawnLayer_mc.getNextHighestDepth(), {_x:330, _y:200, glassProperties:_global.glasses.shotglass, released:true, enabled:false, preventEnable:true});
this.glassSpawnLayer_mc.attachMovie("drinkGlass", "drinkGlass_pp3", this.glassSpawnLayer_mc.getNextHighestDepth(), {_x:430, _y:200, glassProperties:_global.glasses.shotglass, released:true, enabled:false, preventEnable:true});
}
if (_global.demoMode.bonusRound == "iceStorm") {
this.spawnGlass("oldFashioned");
this.spawnGlass("highball");
this.spawnGlass("collins");
}
Symbol 3454 MovieClip [fillStart] Frame 1
this._visible = false;
Symbol 3457 MovieClip Frame 1
this.cashStolen.text = "+$" + _parent.cashAmount;
Symbol 3458 MovieClip [cashStolenPopper] Frame 16
this.removeMovieClip();
Symbol 3465 MovieClip [vipCardItem] Frame 1
this.valid = true;
stop();
Symbol 3465 MovieClip [vipCardItem] Frame 31
this.removeMovieClip();
Symbol 3468 MovieClip Frame 1
Symbol 3469 MovieClip Frame 1
this.gotoAndPlay(15 - this.increment);
this.onEnterFrame = function () {
this._x = this.homePoint._x;
this._y = this.homePoint._y;
};
Symbol 3469 MovieClip Frame 15
this.onEnterFrame = null;
this.countdown = 0;
this.onEnterFrame = function () {
this.countdown++;
this._y = this._y + (countdown / 20);
};
Symbol 3469 MovieClip Frame 44
this.removeMovieClip();
Symbol 3507 MovieClip [pigeonHolder] Frame 1
this.gotoAndPlay(Math.round((Math.random() * 17) + 1));
this.onEnterFrame = function () {
this._x = this._x + this.xSpeed;
this._y = this._y + this.ySpeed;
if ((this._y <= this.yLimit) || (this._x >= this.xLimit)) {
_parent.launchPigeon();
this.removeMovieClip();
}
};
Symbol 3510 MovieClip [mmPowerHourBottlePopper] Frame 1
this.onEnterFrame = function () {
if (this._y < 360) {
this._x = this._x + this.xVelocity;
this._y = this._y + this.yVelocity;
this.yVelocity = this.yVelocity + 0.1;
this._rotation = this._rotation + this.rotSpeed;
if (this._x < -28) {
this._x = -27;
this.xVelocity = -this.xVelocity;
this.rotSpeed = -this.rotSpeed;
}
} else {
_parent.spawnBottle();
this.removeMovieClip();
this.onEnterFrame = eval (null)();
}
};
Symbol 3512 MovieClip [introBottlePopper] Frame 1
this.onEnterFrame = function () {
if (this._y < 480) {
this._x = this._x + this.xVelocity;
this._y = this._y + this.yVelocity;
this.yVelocity = this.yVelocity + 0.1;
this._rotation = this._rotation + this.rotSpeed;
if (this._x < 8) {
this._x = 9;
this.xVelocity = -this.xVelocity;
this.rotSpeed = -this.rotSpeed;
}
if (this._x > 727) {
this._x = 726;
this.xVelocity = -this.xVelocity;
this.rotSpeed = -this.rotSpeed;
}
} else {
_parent.spawnBottle();
this.removeMovieClip();
this.onEnterFrame = eval (null)();
}
};
Symbol 3513 MovieClip Frame 1
stop();
Symbol 3513 MovieClip Frame 15
if (_parent.hintArrow == true) {
this.gotoAndPlay(2);
}
Symbol 3520 MovieClip Frame 1
if (this.lifeSpan == undefined) {
if (_global.configuration.perf.sparkles != false) {
if (_global.brokenGlassParticles <= _global.configuration.perf.brokenGlassParticlesLimit) {
this._visible = true;
_global.brokenGlassParticles++;
this.trackAsParticle = true;
} else {
this._visible = false;
this.trackAsParticle = false;
}
} else {
this._visible = false;
this.trackAsParticle = false;
}
this._rotation = Math.random() * 180;
this.lifeCountDown = 0;
this.lifeSpan = 30 + (Math.random() * 15);
this.spin = 20 - (Math.random() * 40);
this.xMomentum = Math.random() * 5;
this.xMomPos = Math.random();
this.sizeRand = Math.random() * 2;
this._height = this._height - this.sizeRand;
this._width = this._width - this.sizeRand;
this.yMomentum = -5 - (Math.random() * 10);
this.bounceCount = 0;
if (this.xMomPos > 0.5) {
xMomPos = -1;
} else {
xMomPos = 1;
}
this.xMomentum = this.xMomentum * xMomPos;
this.xMomentum = this.xMomentum - (_parent.xMomentum / 2);
}
this.onEnterFrame = function () {
this.lifeCountDown++;
glintRand = Math.random() * 50;
if (glintRand > 49) {
this.play();
}
if (this.lifeCountDown > this.lifeSpan) {
if (this.trackAsParticle == true) {
this.trackAsParticle = false;
_global.brokenGlassParticles--;
}
this._visible = false;
this.onEnterFrame = null;
}
if (this.bounceCount > 3) {
this.lifeCountDown = this.lifeSpan;
}
if (this._y > 0) {
this.bounceCount++;
this.spin = this.spin + this.xMomentum;
this._y = 0;
this.yMomentum = -(this.yMomentum / 2);
this.xMomentum = (3 * this.xMomentum) / 4;
}
this._rotation = this._rotation + this.spin;
this._x = this._x + this.xMomentum;
this._y = this._y + this.yMomentum;
this.yMomentum = this.yMomentum + 1;
};
stop();
Symbol 3523 MovieClip [beerBottle] Frame 1
_global.beerBottleInstance = this;
this.hintArrow = false;
this.bottleCount = 0;
this.garnishCount = 0;
this.fillWarning_mc._visible = false;
this.inPlay = false;
this.garnish = null;
this.iceCount = 0;
this.fillBottle1 = false;
this.fillBottle2 = false;
this.pickedUp = false;
this.contents = new Array(_global.ing.beer);
this.contentsAmount = new Array();
this.contentsAmount.push(12);
this.totalContents = 12;
this.popTimer = 0;
this._rotation = 20;
this.homeX = this._x;
this.homeY = this._y;
this.hitArea = this.glassImage_mc;
this.released = false;
this.gestureRecord = new Array(0, 0, 0, 0, 0, 0);
this.spinCharge = 0;
this.spinMomentum = 0;
this.empty = true;
this.stopFilling = false;
this.setDown = true;
this.xMomentum = 0;
this.yMomentum = 0;
this.lastXMomentum = new Array(0, 0);
this.lastYMomentum = new Array(0, 0);
this.momentumSpacer = 0;
this.capacity = 12;
this.beenShotTimer = 10;
this.glassType = "beer";
this.enabled = true;
this.playPickup = true;
this.onPress = function () {
if (this.playPickup == true) {
_global.sfxLayer.playBeerPickup();
this.playPickup = false;
} else if (this.setOnBar == true) {
_global.sfxLayer.playBottlePickup();
}
if (this.allBottlesGone() == true) {
this.putInPlay(false);
_global.heldGlass = this;
if (this.fillStart_mc != undefined) {
this.fillStart_mc.removeMovieClip();
}
for (i in _global.glass_arr) {
if (_global.glass_arr[i] == this) {
allowed = false;
}
}
if (allowed != false) {
_global.glass_arr.push(this);
}
this.hintArrow = false;
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
this._rotation = 0;
this.momentumChanged = false;
this.pickedUp = true;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.catchArea_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
this.setOnBar = false;
}
};
this.onRelease = function () {
if (this.allBottlesGone() == true) {
if (this.setDown == true) {
this.setDown = false;
}
this.putInPlay(true);
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
this.respawn();
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onReleaseOutside = function () {
if (this.allBottlesGone() == true) {
if (this.setDown == true) {
this.setDown = false;
}
this.putInPlay(true);
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
this.respawn();
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (this.overFill == true) {
if (this.fillWarning_mc._visible == false) {
this.fillWarning_mc._visible = true;
this.fillWarning_mc.overFillTime = 0;
} else {
this.fillWarning_mc.overFillTime++;
}
}
if (this.filling != undefined) {
this.fillIt();
}
if (this.doubleFilled != undefined) {
this.fillItAgain();
}
if (this.stopFilling == true) {
this.stopFilling == false;
}
if (this.popTimer != 0) {
this.popTimer--;
}
if (this.released == true) {
if (this._y <= 0) {
if (this.indicated != true) {
this.indicated = true;
_parent.attachMovie("bottleIndicator", this._name + "bottleIndicator_mc", _parent.getNextHighestDepth(), {_x:this._x, drinkOwner:this});
}
} else {
this.indicated = false;
}
}
if (this.pickedUp == true) {
if (this._rotation > -30) {
if (this.empty != false) {
this._rotation = this._rotation - 2;
}
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this._x = _root._xmouse;
this._y = _root._ymouse;
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
this.pickUpTimer++;
if (this.pickUpTimer >= 15) {
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) > 10) && (this.momentumChanged != true)) {
this.mouseGesture();
this.momentumChanged = true;
}
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) < 10) && (this.momentumChanged == true)) {
this.momentumChanged = false;
}
}
this.spinMomentum = _global.bottleValues.spinMultiplier * this.xMomentum;
}
if (this.released == true) {
if (((_global.shotgunCount > 0) && (this.beenShotTimer > 10)) && (Key.isDown(32) == true)) {
_global.shotgunFire(this);
}
if ((_global.shotgunCount > 0) && (this.beenShotTimer < 12)) {
this.beenShotTimer++;
}
if (this.spinMomentum > 0) {
if ((this._rotation >= 100) && (this.topSpinCount == this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount != this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
} else {
if ((this._rotation >= 100) && (this.topSpinCount != this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount == this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
}
if (this.empty != false) {
if ((this._rotation > 170) && (this._rotation < 175)) {
this.glassImage_mc.glassFlareAnim.play();
}
this._rotation = this._rotation + this.spinMomentum;
}
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
if ((this._y >= _global.region.barTop) && (this._y <= _global.region.barBottom)) {
if ((this.yMomentum > _global.bottleValues.terminalVelocity) && (this.yMomentum < 0)) {
this.setGlassOnBar();
}
}
if (this._y <= 360) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - (0.5 * _global.bottleValues.gravity);
if (this.yMomentum < _global.bottleValues.minimumYVelocity) {
this.yMomentum = _global.bottleValues.minimumYVelocity;
}
this._x = this._x - this.xMomentum;
if ((_global.specials.yumiSpecial == true) && (this._y > 0)) {
if (this.yMomentum < (-_global.specials.yumiFallLimiter)) {
this.yMomentum = -_global.specials.yumiFallLimiter;
}
}
} else if (_global.specials.natashaSpecial != true) {
if (this.yMomentum < _global.bottleValues.terminalVelocity) {
this.shattered = true;
this.shatter();
}
this._y = 321;
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this._rotation = 0;
this.hitArea = this.glassImage_mc;
if (this.shattered != true) {
this.enabled = false;
this.gotoAndPlay("disappear");
}
this.reRack();
} else if ((this.yMomentum < -3) && (this.safeRelease == false)) {
this._y = 343;
this.yMomentum = -this.yMomentum;
_parent.sfxLayer_mc.playPop();
} else {
this._y = 321;
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this._rotation = 0;
this.hitArea = this.glassImage_mc;
if (this.shattered != true) {
this.enabled = false;
this.gotoAndPlay("disappear");
}
this.reRack();
}
}
}
};
this.mouseGesture = function () {
if (this.lastXMomentum[0] < 0) {
quad = 4;
if (this.lastYMomentum[0] > 10) {
quad = 3;
}
if (this.lastYMomentum[0] < -10) {
quad = 5;
}
}
if (this.lastXMomentum[0] > 0) {
quad = 0;
if (this.lastYMomentum[0] > 10) {
quad = 1;
}
if (this.lastYMomentum[0] < -10) {
quad = 7;
}
}
this.gestureRecord[5] = this.gestureRecord[4];
this.gestureRecord[4] = this.gestureRecord[3];
this.gestureRecord[3] = this.gestureRecord[2];
this.gestureRecord[2] = this.gestureRecord[1];
this.gestureRecord[1] = this.gestureRecord[0];
this.gestureRecord[0] = quad;
if ((this.gestureRecord[1] == 5) && (this.gestureRecord[0] == 1)) {
this.specialMove("spinCharge");
}
if (((this.gestureRecord[2] == 0) && (this.gestureRecord[1] == 5)) && (this.gestureRecord[0] == 3)) {
}
};
this.specialMove = function (specialType) {
if (!(specialType === "spinCharge")) {
} else if (this.spinCharge < _global.specials.maximumSpinCharge) {
if (_global.combo.comboTimerInstance.activation == true) {
_global.combo.comboTimerInstance.extendTime();
}
this.spinCharge = this.spinCharge + _global.specials.spinRotationIncrement;
if (this.spinCharge == _global.specials.spinRotationIncrement) {
_parent.sfxLayer_mc.playSpin(1);
}
if (this.spinCharge == (_global.specials.spinRotationIncrement * 2)) {
_parent.sfxLayer_mc.playSpin(2);
}
if (this.spinCharge == (_global.specials.spinRotationIncrement * 3)) {
_parent.sfxLayer_mc.playSpin(3);
}
this.particleSpray("Sparklers", this);
if (this.rider != undefined) {
this.riderRelease();
}
}
};
this.startFill = function (whichBottle) {
whichBottle.beginPour(this);
this.colorful = new Color(this.glassImage_mc.glassFill_mc);
if (whichBottle == this.bottle) {
this.currentIngredient = null;
currEng = null;
this.beingFilled = true;
for (i in this.contents) {
if (whichBottle.ing == this.contents[i]) {
currEng = this.contents[i];
}
}
if (currEng != undefined) {
this.currentIngredient = currEng;
} else {
this.currentIngredient = whichBottle.ing;
this.currentIngredient.amount = 0;
this.contents.push(this.currentIngredient);
}
if (this.contentsColor == undefined) {
this.contentsColor = this.currentIngredient.liquorColor;
}
}
if (whichBottle == this.bottle2) {
this.currentIngredient2 = null;
currEng2 = null;
this.doubleFilled = true;
if (this.ozOmeter_mc2 == undefined) {
this.attachMovie("ozOmeter", "ozOmeter_mc2", this.getNextHighestDepth(), {_y:-20});
}
for (i in this.contents) {
if (whichBottle.ing == this.contents[i]) {
currEng2 = this.contents[i];
}
}
if (currEng2 != undefined) {
this.currentIngredient2 = currEng2;
} else {
this.currentIngredient2 = whichBottle.ing;
this.currentIngredient2.amount = 0;
this.contents.push(this.currentIngredient2);
}
}
_parent.contents2Text.text = "";
if (whichBottle == this.bottle) {
_parent.contents2Text.text = (("bottle1:" + this.bottle.ing.fullTitle) + " bottle2:") + this.bottle2.ing.fullTitle;
}
if (whichBottle == this.bottle2) {
_parent.contents2Text.text = (("bottle1:" + this.bottle.ing.fullTitle) + " bottle2:") + this.bottle2.ing.fullTitle;
}
};
this.stopFill = function (whichBottle) {
this.beingFilled = false;
whichBottle.endPour(this);
if (this.allBottlesGone() == true) {
this.fillStart_mc.fillZone_mc.removeMovieClip();
}
};
this.fillIt = function () {
if ((this.bottle != undefined) && (this.full != true)) {
if (this.empty == true) {
this.empty = false;
}
_parent.contentsText.text = "Filling #1";
for (i in this.contents) {
_parent.contentsText.text = (((_parent.contentsText.text + this.contents[i].fullTitle) + ",") + this.trailingZeros(this.contents[i].amount)) + " ";
}
this.currentIngredient.amount = this.currentIngredient.amount + 0.017;
amt = this.trailingZeros(this.currentIngredient.amount);
this.ozOmeter_mc.ozOmeter_txt.text = amt + "oz. ";
this.totalContents = this.totalContents + 0.017;
if (this.glassImage_mc.glassFill_mc._y > this.glassProperties.fillLine) {
this.glassImage_mc.glassFill_mc._y = this.glassProperties.fillHeight + ((this.totalContents / this.capacity) * (this.glassProperties.fillLine - this.glassProperties.fillHeight));
}
_root.totalContents_txt.text = this.totalContents;
_root.capacity_txt.text = this.capacity;
if (this.glassImage_mc.glassFill_mc._y < (this.glassImage_mc.ice_mc._y - 5)) {
this.glassImage_mc.ice_mc._y = this.glassImage_mc.glassFill_mc._y + 5;
}
if (this.totalContents >= this.capacity) {
if (this.bottle.attributeOverfill == true) {
this.stopFill(_global.bottleValues.heldBottle);
this.full = true;
this.fillBottle1 = false;
this.bottleCount--;
} else {
this.overFill = true;
}
}
this.changeColor(currentIngredient);
this.colorful.setRGB(this.contentsColor);
}
};
this.fillItAgain = function () {
if ((this.bottle2 != undefined) && (this.full != true)) {
if (this.empty == true) {
this.empty = false;
}
_parent.contentsText.text = "Filling #2";
for (i in this.contents) {
_parent.contentsText.text = (((_parent.contentsText.text + this.contents[i].fullTitle) + ",") + this.trailingZeros(this.contents[i].amount)) + " ";
}
this.currentIngredient2.amount = this.currentIngredient2.amount + 0.017;
amt = this.trailingZeros(this.currentIngredient2.amount);
this.ozOmeter_mc2.ozOmeter_txt.text = amt + "oz. ";
this.totalContents = this.totalContents + 0.017;
if (this.glassImage_mc.glassFill_mc._y < this.glassProperties.fillLine) {
this.glassImage_mc.glassFill_mc._y = this.glassProperties.fillHeight + ((this.totalContents / this.capacity) * (this.glassProperties.fillLine - this.glassProperties.fillHeight));
}
if (this.glassImage_mc.glassFill_mc._y < (this.glassImage_mc.ice_mc._y - 5)) {
this.glassImage_mc.ice_mc._y = this.glassImage_mc.glassFill_mc._y + 5;
}
this.changeColor(currentIngredient2);
this.colorful.setRGB(this.contentsColor);
} else if (this.totalContents >= this.capacity) {
}
};
this.reRack = function () {
this.spinCharge = 0;
for (i in _global.glass_arr) {
if (_global.glass_arr[i] == this) {
_global.glass_arr.splice(i, 1);
}
}
this.putInPlay(false);
if ((_global.bottlesInPlay == 0) && (this.activeLaunch != true)) {
_global.combo.comboReady = true;
if (_global.comboDisplay.comboActive == true) {
_global.comboDisplay.endCombo(true);
}
}
};
this.shatter = function () {
if (_global.heldGlass == this) {
_global.heldGlass = undefined;
}
if (this.fillStart_mc != undefined) {
this.fillStart_mc.removeMovieClip();
}
if ((_global.judgeSpecial != true) && (_global.johnnySpecial != true)) {
_global.roundStats.bottlesBroken++;
}
this.enabled = false;
this.setOnBar = false;
this.rerack();
_global.sfxLayer.playSmashGlass();
_global.comboDisplay.updateCombo("shatter");
this.gotoAndPlay(16);
};
this.setGlassOnBar = function () {
if (this.glassImage_mc.bottleCap_mc._visible != false) {
this.glassImage_mc.bottleCap_mc._visible = false;
this.empty = false;
_global.sfxLayer.playBeerBottleOpen();
_parent.attachMovie("beerBottleCap", "beerBottleCap1", _parent.getNextHighestDepth(), {_x:this._x, _y:this._y - 35, released:true});
}
this.putInPlay(false);
if ((_global.bottlesInPlay == 0) && (this.activeLaunch != true)) {
_global.combo.comboReady = true;
if (_global.comboDisplay.comboActive == true) {
_global.comboDisplay.endCombo(true);
}
}
if ((this.totalContents < (this.capacity / 4)) && (_global.heldGlass == this)) {
_global.heldGlass = undefined;
}
if (this.yMomentum < _global.bottleValues.terminalVelocity) {
this.shatter();
} else {
_global.sfxLayer.playGlassSetOnBar();
}
this._y = _global.region.barCenter - 20;
this.released = false;
this.setOnBar = true;
this._rotation = 0;
this.hitArea = this.glassImage_mc;
};
this.okToAddAnotherBottle = function () {
if ((this.bottle == undefined) || (this.bottle2 == undefined)) {
return(true);
}
return(false);
};
this.allBottlesGone = function () {
if ((this.bottle == undefined) && (this.bottle2 == undefined)) {
return(true);
}
return(false);
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
this.addIce = function () {
this.empty = false;
if (this.iceCount == 0) {
this.glassImage_mc.ice_mc.gotoAndPlay("oneCube");
}
if (this.iceCount == 1) {
this.glassImage_mc.ice_mc.gotoAndPlay("twoCube");
}
if (this.iceCount == 2) {
this.glassImage_mc.ice_mc.gotoAndPlay("threeCube");
}
if (this.iceCount < 3) {
_global.sfxLayer.playCubeInGlass();
}
this.capacity--;
this.iceCount++;
};
this.respawn = function () {
if (this.respawned != true) {
_global.glassId++;
this.respawned = true;
_parent.attachMovie("beerBottle", "beerBottle" + _global.glassId, _parent.getNextHighestDepth(), {_x:this.homeX, _y:this.homeY, glassProperties:this.glassProperties, newGlass:true});
_parent["beerBottle" + _global.glassId].gotoAndPlay(2);
}
};
this.changeColor = function (ingredient) {
oldCol = this.contentsColor;
newCol = ingredient.liquorColor;
nAmt = ingredient.amount / this.totalContents;
var _local2 = this.hexToRGB(oldCol);
var _local3 = this.hexToRGB(newCol);
rOffSet = (_local3.r - _local2.r) * nAmt;
gOffSet = (_local3.g - _local2.g) * nAmt;
bbOffSet = (_local3.bb - _local2.bb) * nAmt;
rTest = Math.abs(rOffSet);
gTest = Math.abs(gOffSet);
bbTest = Math.abs(bbOffSet);
mixedR = _local2.r;
mixedG = _local2.g;
mixedB = _local2.bb;
if (rTest > 10) {
mixedR = _local2.r + (rOffSet / 30);
}
if (gTest > 10) {
mixedG = _local2.g + (gOffSet / 30);
}
if (bbTest > 10) {
mixedB = _local2.bb + (bbOffSet / 30);
}
this.contentsColor = this.rgbToHex(mixedR, mixedG, mixedB);
};
this.hexToRGB = function (hex) {
var _local2 = (hex & 16711680) >> 16;
var _local4 = (hex & 65280) >> 8;
var _local3 = hex & 255;
return({r:_local2, g:_local4, bb:_local3});
};
this.rgbToHex = function (r, g, bb) {
return(((r << 16) | (g << 8)) | bb);
};
if (this.newGlass != true) {
stop();
}
this.comboSpin = function () {
if (((this.topSpinCount + this.bottomSpinCount) / 2) == Math.round((this.topSpinCount + this.bottomSpinCount) / 2)) {
_global.comboDisplay.updateCombo("flip");
}
};
this.putInPlay = function (inOrOut) {
if (this.inPlay != inOrOut) {
this.inPlay = inOrOut;
if (inOrOut == true) {
_global.bottlesInPlay++;
_global.realBottlesUp++;
} else {
_global.bottlesInPlay--;
_global.realBottlesUp--;
}
}
_root.quadText_txt.text = _global.bottlesInPlay;
};
Symbol 3523 MovieClip [beerBottle] Frame 2
this.onEnterFrame = null;
this.enabled = false;
Symbol 3523 MovieClip [beerBottle] Frame 15
this.newGlass = false;
this.gotoAndStop(1);
Symbol 3523 MovieClip [beerBottle] Frame 16
if (this.empty == false) {
this.glassImage._visible = true;
} else {
this.glassImage._visible = false;
}
Symbol 3523 MovieClip [beerBottle] Frame 60
this.removeMovieClip();
Symbol 3523 MovieClip [beerBottle] Frame 70
this.removeMovieClip();
Symbol 3525 MovieClip [bonusCube] Frame 1
this.bounceCount = 0;
this.highToss = 0;
this._visible = false;
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (this.released == true) {
if (this.justReleased != true) {
this.justReleased = true;
this.putInPlay(true);
}
if (_global.bonusDisplay.ditchIce == true) {
this.removeIce();
}
if (this._y <= 0) {
if ((this.highToss == false) && (this._y <= 0)) {
this.highToss = true;
}
} else {
if (_parent.indicated == this) {
_parent.indicated = undefined;
}
if (this.yMomentum < 0) {
this._visible = true;
}
this.indicated = false;
}
if ((this._y >= 200) && (this._y <= 240)) {
this.bounce();
}
for (i in _global.glass_arr) {
if (this.hitTest(_global.glass_arr[i].glassImage_mc)) {
if (this.yMomentum < 0) {
this.catchInGlass(_global.glass_arr[i]);
} else {
this.xMomentum = _global.glass_arr[i].xMomentum;
}
}
}
if (this._y <= 344) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this.spinMomentum = (2 * this.xMomentum) + ((this.xMomentum + 1) / Math.abs(this.xMomentum + 1));
this._rotation = this._rotation + this.spinMomentum;
} else {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this.spinMomentum = (2 * this.xMomentum) + ((this.xMomentum + 1) / Math.abs(this.xMomentum + 1));
this._rotation = this._rotation + this.spinMomentum;
this.bounce();
}
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
}
}
};
this.catchInGlass = function (glass) {
if ((glass.iceCount >= 3) || (glass.glassProperties.takesIce == false)) {
this.bounce();
} else {
if (this.bounceCount > 0) {
_global.comboDisplay.updateCombo("bounceCube");
}
if ((this.bounceCount == 0) && (this.highToss == true)) {
if (glass.released == false) {
_global.comboDisplay.updateCombo("highCube");
} else {
glassXMo = Math.abs(glass.xMomentum);
glassYMo = Math.abs(glass.yMomentum);
if ((glassXMo + GlassYMo) >= 5) {
if (glass.bouncedOffWallsCount < 1) {
glass.glassFlashPop_mc.play();
glass.flyingIceCatch++;
} else {
glass.glassFlashPop_mc.play();
glass.superFlyCatch++;
}
}
}
}
glass.addIce();
this.putInPlay(false);
this.removeMovieClip();
}
};
this.removeIce = function () {
_global.bonusDisplay.cubeCount--;
this.putInPlay(false);
this.removeMovieClip();
};
this.bounce = function () {
if (this.yMomentum < 0) {
this.bounceCount++;
this.yMomentum = (-this.yMomentum) / 2;
_global.sfxLayer.playCubeBounce();
if (this.bounceCount == 3) {
this.removeIce();
}
}
};
this.putInPlay = function (inOrOut) {
if (this.inPlay != inOrOut) {
this.inPlay = inOrOut;
if (inOrOut == true) {
_global.bottlesInPlay++;
} else {
_global.bottlesInPlay--;
}
}
_root.quadText_txt.text = _global.bottlesInPlay;
};
Symbol 3528 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + this.spin;
};
Symbol 3532 MovieClip [bottleIndicator] Frame 1
this.alert = false;
this.indiAlert._visible = false;
this.enabled = false;
this.timeTillDown = Math.round(drinkOwner.yMomentum / 7);
this.trackStrike = false;
if ((drinkOwner.pouring != undefined) && (drinkOwner.miniLiquor != true)) {
if (_global.performance.indicators <= _global.configuration.perf.maxIndicators) {
_global.performance.indicators++;
this.counted = true;
this.miniBottle_mc.attachMovie("largerBottle", drinkOwner._name, this.bottleIndicatorCircle_mc.miniBottle_mc.getNextHighestDepth(), {frozen:true, spinMomentum:drinkOwner.spinMomentum, _height:3 * (drinkOwner._height / 8), _width:3 * (drinkOwner._width / 8), released:true, spinCharge:drinkOwner.spinCharge, enabled:false, _alpha:50, setDown:false, xMomentum:drinkOwner.xMomentum, yMomentum:drinkOwner.yMomentum});
}
this.miniBottle_mc.spin = drinkOwner.spinMomentum;
this.miniBottle_mc._rotation = drinkOwner._rotation;
this.miniBottle_mc[drinkOwner._name].pourSpout_mc._visible = false;
this.miniBottle_mc[drinkOwner._name].bottleImage_mc.shiner_mc._visible = false;
this.miniBottle_mc[drinkOwner._name].bottleImage_mc.liquor_mc._visible = false;
}
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
this._x = drinkOwner._x;
if (drinkOwner._y >= 0) {
if (this.counted == true) {
_global.performance.indicators--;
}
this.removeMovieClip();
}
if (drinkOwner.yMomentum > 0) {
if (this.trackStrike == true) {
this.recalculate();
this.trackStrike = false;
}
}
if (drinkOwner.yMomentum < 0) {
if (this.trackStrike == false) {
this.trackStrike = true;
}
}
if (drinkOwner._y >= -1000) {
this.miniBottle_mc[drinkOwner._name]._width = 50 - Math.abs(drinkOwner._y / 50);
this.miniBottle_mc[drinkOwner._name]._height = 50 - Math.abs(drinkOwner._y / 50);
this.bottleIndicatorCircle_mc._width = 65 - Math.abs(drinkOwner._y / 50);
this.bottleIndicatorCircle_mc._height = 65 - Math.abs(drinkOwner._y / 50);
this.miniBottle_mc._y = (this.bottleIndicatorCircle_mc._height / 2) + 8;
this.indicatorCountdown_txt._y = (this.bottleIndicatorCircle_mc._height / 2) - 4;
}
if (drinkOwner.yMomentum < 0) {
if ((drinkOwner._y >= (drinkOwner.yMomentum * 30)) && (this.alert == false)) {
this.alert = true;
this.bottleIndicatorCircle_mc.play();
}
}
if (this.timeTillDown > 1) {
if (this.indiAlert._visible == true) {
this.indiAlert._visible = false;
}
this.indicatorCountdown_txt.text = Math.round(this.timeTillDown);
} else {
this.indiAlert._visible = true;
this.indicatorCountdown_txt.text = "";
}
this.timeTillDown = this.timeTillDown - (0.0333333333333333 * _global.bottleValues.gravity);
}
};
this.recalculate = function () {
this.indiAlert._visible = false;
this.alert = false;
this.timeTillDown = Math.round(drinkOwner.yMomentum / 7);
};
Symbol 3537 MovieClip Frame 1
stop();
Symbol 3537 MovieClip Frame 2
stop();
Symbol 3537 MovieClip Frame 3
stop();
Symbol 3537 MovieClip Frame 4
stop();
Symbol 3538 MovieClip Frame 1
if (this.lifeSpan == undefined) {
this._visible = _global.configuration.perf.sparkles;
if (_global.configuration.perf.sparkles != false) {
if (_global.brokenGlassParticles <= _global.configuration.perf.brokenGlassParticlesLimit) {
this._visible = true;
_global.brokenGlassParticles++;
this.trackAsParticle = true;
} else {
this._visible = false;
this.trackAsParticle = false;
}
} else {
this._visible = false;
this.trackAsParticle = false;
}
this.shard.gotoAndStop(_parent.pwner.ing.glassColor);
this._rotation = Math.random() * 180;
this.lifeCountDown = 0;
this.lifeSpan = 30 + (Math.random() * 30);
this.spin = 20 - (Math.random() * 40);
this.xMomentum = Math.random() * 5;
this.xMomPos = Math.random();
this.sizeRand = Math.random() * 2;
this._height = this._height + this.sizeRand;
this._width = this._width + this.sizeRand;
this.yMomentum = -10 - (Math.random() * 10);
this.bounceCount = 0;
if (this.xMomPos > 0.5) {
xMomPos = -1;
} else {
xMomPos = 1;
}
this.xMomentum = this.xMomentum * xMomPos;
this.xMomentum = this.xMomentum - (_parent.pwner.xMomentum / 2);
}
this.onEnterFrame = function () {
this.lifeCountDown++;
glintRand = Math.random() * 90;
if (glintRand > 89) {
this.play();
}
if (this.lifeCountDown > this.lifeSpan) {
if (this.trackAsParticle == true) {
this.trackAsParticle = false;
_global.brokenGlassParticles--;
}
this._visible = false;
this.onEnterFrame = null;
}
if (this.bounceCount > 3) {
this.lifeCountDown = this.lifeSpan;
}
if (this._y > 130) {
this.bounceCount++;
this.spin = this.spin + this.xMomentum;
this._y = 130;
this.yMomentum = -(this.yMomentum / 2);
this.xMomentum = (3 * this.xMomentum) / 4;
}
this._rotation = this._rotation + this.spin;
this._x = this._x + this.xMomentum;
this._y = this._y + this.yMomentum;
this.yMomentum = this.yMomentum + 1;
};
stop();
Symbol 3541 MovieClip [bottleShatterAnimation] Frame 1
this.pwner._alpha = 0;
Symbol 3541 MovieClip [bottleShatterAnimation] Frame 4
if (_global.johnnySpecial == true) {
this.onEnterFrame = null;
this.pwner.gotoAndPlay(15);
this.pwner._alpha = 100;
this.pwner.spinMomentum = 0;
this.pwner.yMomentum = 0;
this.pwner.xMomentum = 0;
this.pwner._rotation = 0;
this.removeMovieClip();
}
Symbol 3541 MovieClip [bottleShatterAnimation] Frame 60
this.onEnterFrame = null;
this.pwner.gotoAndPlay(15);
this.pwner._alpha = 100;
this.pwner.spinMomentum = 0;
this.pwner.yMomentum = 0;
this.pwner.xMomentum = 0;
this.pwner._rotation = 0;
this.removeMovieClip();
Symbol 3549 MovieClip [bottleShot] Frame 1
_parent.playEffect("bottleShot");
Symbol 3549 MovieClip [bottleShot] Frame 6
this.removeMovieClip();
Symbol 3559 MovieClip Frame 1
stop();
Symbol 3559 MovieClip Frame 2
stop();
Symbol 3559 MovieClip Frame 3
stop();
Symbol 3559 MovieClip Frame 4
stop();
Symbol 3559 MovieClip Frame 5
stop();
Symbol 3559 MovieClip Frame 6
stop();
Symbol 3559 MovieClip Frame 7
stop();
Symbol 3559 MovieClip Frame 8
stop();
Symbol 3559 MovieClip Frame 9
stop();
Symbol 3559 MovieClip Frame 10
stop();
Symbol 3559 MovieClip Frame 11
stop();
Symbol 3559 MovieClip Frame 12
stop();
Symbol 3559 MovieClip Frame 13
stop();
Symbol 3559 MovieClip Frame 14
stop();
Symbol 3559 MovieClip Frame 15
stop();
Symbol 3559 MovieClip Frame 16
stop();
Symbol 3559 MovieClip Frame 17
stop();
Symbol 3559 MovieClip Frame 18
stop();
Symbol 3559 MovieClip Frame 19
stop();
Symbol 3560 MovieClip [bottleTracer] Frame 1
this.timer = 0;
this.trueColor = new Color(this);
this.onEnterFrame = function () {
this.timer++;
switch (this.timer) {
case 1 :
this.trueColor.setRGB(51);
break;
case 2 :
this.trueColor.setRGB(102);
break;
case 3 :
this.trueColor.setRGB(26367);
break;
case 4 :
this.trueColor.setRGB(21998);
break;
case 5 :
this.trueColor.setRGB(17629);
break;
case 6 :
this.trueColor.setRGB(13260);
break;
case 7 :
this.trueColor.setRGB(26367);
break;
case 6 :
this.trueColor.setRGB(26367);
}
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
Symbol 3563 MovieClip [bounceFlash] Frame 20
this.removeMovieClip();
Symbol 3566 MovieClip Frame 1
this.startTimer = function () {
this.comboTimeIncrement = 360 / _global.limits.comboTime;
this.warningPlayed = false;
this.tooLate = false;
timer1 = 0;
timeMask.gotoAndStop(1);
secondHalf._visible = false;
this.activation = true;
_global.combo.comboTimerInstance = this;
this.clickDownSound = new Sound(this);
this.clickDownSound.attachSound("timerCountdown3");
this.clickDownSound.start(0, 5);
this.endTimerSound = new Sound(this);
this.endTimerSound.attachSound("timerExpired");
};
this.onEnterFrame = function () {
if (_global.gamePaused == true) {
_parent._visible = false;
this.endTimerSound.stop();
this.clickDownSound.stop();
}
if ((_global.gamePaused == false) && (_global.specials.specialsActive == false)) {
_parent._x = _root._xmouse + 20;
_parent._y = _root._ymouse + 20;
if (_global.combo.countDown == true) {
if (_parent._visible == false) {
_parent._visible = true;
this.clickDownSound.start(0, 5);
}
} else if (_parent._visible == true) {
_parent._visible = false;
this.clickDownSound.stop();
}
if ((this.activation == true) && (_global.combo.countDown == true)) {
timer1 = timer1 + this.comboTimeIncrement;
if (timer1 < 180) {
firstHalf._rotation = timer1 - 180;
}
if (timer1 > 180) {
secondHalf._visible = true;
secondHalf._rotation = timer1 - 180;
}
if ((timer1 > 270) && (this.warningPlayed == false)) {
this.warningPlayed = true;
_parent.play();
}
if (timer1 > 360) {
this.tooLate = true;
this.clickDownSound.stop();
_global.combo.comboReady = false;
_parent.deActivate();
this.endTimerSound.start();
this.onEnterFrame = null;
}
}
if (this.activation == false) {
this.startTimer();
}
} else {
_parent._visible = false;
_parent.removeMovieClip();
}
};
this.extendTime = function () {
if (this.tooLate != true) {
this.warningPlayed = false;
timer1 = 0;
_parent.gotoAndStop(1);
timeMask.gotoAndStop(1);
secondHalf._visible = false;
}
};
this.tooLate = false;
this.activation = false;
Symbol 3572 MovieClip [comboTimer] Frame 1
this.deActivate = function () {
if (this.deActivated != true) {
this.deActivated = true;
this.gotoAndPlay("shakeAndRemove");
}
};
stop();
Symbol 3572 MovieClip [comboTimer] Frame 30
stop();
Symbol 3572 MovieClip [comboTimer] Frame 31
_global.comboDisplay.endCombo(true);
Symbol 3572 MovieClip [comboTimer] Frame 40
this.removeMovieClip();
Symbol 3579 MovieClip Frame 1
stop();
Symbol 3579 MovieClip Frame 35
stop();
Symbol 3579 MovieClip Frame 69
stop();
Symbol 3579 MovieClip Frame 106
stop();
Symbol 3579 MovieClip Frame 143
stop();
Symbol 3581 MovieClip Frame 1
stop();
Symbol 3581 MovieClip Frame 12
stop();
Symbol 3581 MovieClip Frame 23
stop();
Symbol 3581 MovieClip Frame 40
stop();
Symbol 3593 MovieClip Frame 14
if (_parent._parent.filling == true) {
this.gotoAndPlay(1);
}
Symbol 3593 MovieClip Frame 26
if (_parent._parent.allBottlesGone() == true) {
this.gotoAndPlay(25);
}
Symbol 3601 MovieClip Frame 1
stop();
Symbol 3618 MovieClip Frame 1
this.gotoAndStop(_parent.glassType);
stop();
Symbol 3618 MovieClip Frame 2
stop();
Symbol 3618 MovieClip Frame 3
stop();
Symbol 3618 MovieClip Frame 4
stop();
Symbol 3618 MovieClip Frame 5
stop();
Symbol 3618 MovieClip Frame 6
stop();
Symbol 3629 MovieClip Frame 1
stop();
Symbol 3629 MovieClip Frame 11
stop();
Symbol 3632 MovieClip Frame 1
if (this.lifeSpan == undefined) {
if (_global.configuration.perf.sparkles != false) {
if (_global.brokenGlassParticles <= _global.configuration.perf.brokenGlassParticlesLimit) {
this._visible = true;
_global.brokenGlassParticles++;
this.trackAsParticle = true;
} else {
this._visible = false;
this.trackAsParticle = false;
}
} else {
this._visible = false;
this.trackAsParticle = false;
}
this._rotation = Math.random() * 180;
this.lifeCountDown = 0;
this.lifeSpan = 30 + (Math.random() * 15);
this.spin = 20 - (Math.random() * 40);
this.xMomentum = Math.random() * 5;
this.xMomPos = Math.random();
this.sizeRand = Math.random() * 2;
this._height = this._height - this.sizeRand;
this._width = this._width - this.sizeRand;
this.yMomentum = -5 - (Math.random() * 10);
this.bounceCount = 0;
if (this.xMomPos > 0.5) {
xMomPos = -1;
} else {
xMomPos = 1;
}
this.xMomentum = this.xMomentum * xMomPos;
this.xMomentum = this.xMomentum - (_parent.xMomentum / 2);
}
this.onEnterFrame = function () {
this.lifeCountDown++;
glintRand = Math.random() * 50;
if (glintRand > 49) {
this.play();
}
if (this.lifeCountDown > this.lifeSpan) {
if (this.trackAsParticle == true) {
this.trackAsParticle = false;
_global.brokenGlassParticles--;
}
this._visible = false;
this.onEnterFrame = null;
}
if (this.bounceCount > 3) {
this.lifeCountDown = this.lifeSpan;
}
if (this._y > 0) {
this.bounceCount++;
this.spin = this.spin + this.xMomentum;
this._y = 0;
this.yMomentum = -(this.yMomentum / 2);
this.xMomentum = (3 * this.xMomentum) / 4;
}
this._rotation = this._rotation + this.spin;
this._x = this._x + this.xMomentum;
this._y = this._y + this.yMomentum;
this.yMomentum = this.yMomentum + 1;
};
stop();
Symbol 3634 MovieClip [drinkGlass] Frame 1
this.bottleCount = 0;
this.flyingIceCatch = 0;
this.bouncedOffWallsCount = 0;
this.superFlyCatch = 0;
this.garnishCount = 0;
this.fillWarning_mc._visible = false;
this.inPlay = false;
this.garnish = null;
this.iceCount = 0;
this.fillBottle1 = false;
this.fillBottle2 = false;
this.hintArrow = false;
this.pickedUp = false;
this.contents = new Array();
this.contentsAmount = new Array();
this.oZoMeterArray = new Array();
this.totalContents = 0;
this.popTimer = 0;
this.ozOmeterCt = 0;
this.homeX = this._x;
this.homeY = this._y;
this.hitArea = this.glassImage_mc;
this.released = false;
this.gestureRecord = new Array(0, 0, 0, 0, 0, 0);
this.spinMomentum = 0;
this.empty = true;
this.stopFilling = false;
this.setDown = true;
this.xMomentum = 0;
this.yMomentum = 0;
this.lastXMomentum = new Array(0, 0);
this.lastYMomentum = new Array(0, 0);
this.momentumSpacer = 0;
this.beenShotTimer = 10;
this.capacity = this.glassProperties.capacity;
this.glassType = this.glassProperties.glassType;
if (this.apopalypse == true) {
this.spinMomentum = 20;
this.released = true;
this.enabled = false;
this.xMomentum = 10;
this.yMomentum = 30;
}
switch (this.glassType) {
case "collins" :
_parent._parent.collins = this;
break;
case "shotglass" :
_parent._parent.shotglass = this;
break;
case "shooter" :
_parent._parent.shooter = this;
break;
case "highball" :
_parent._parent.highball = this;
break;
case "oldFashioned" :
_parent._parent.oldFashioned = this;
break;
case "cocktail" :
_parent._parent.cocktail = this;
}
if (this.preventEnable != true) {
this.enabled = true;
} else {
this.released = true;
}
if (this.enabled != false) {
_global.disable_arr.push(this);
}
this.onPress = function () {
if (this.setDown == true) {
_global.sfxLayer.playBottlePickup();
} else {
this.testForSuperman();
}
this.hintArrow = false;
for (i in this.oZoMeterArray) {
this.oZoMeterArray[i]._visible = false;
}
if (this.allBottlesGone() == true) {
this.putInPlay(false);
_global.heldGlass = this;
if (this.fillStart_mc != undefined) {
this.fillStart_mc.removeMovieClip();
}
for (i in _global.glass_arr) {
if (_global.glass_arr[i] == this) {
allowed = false;
}
}
if (allowed != false) {
_global.glass_arr.push(this);
}
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
this._rotation = 0;
this.momentumChanged = false;
this.pickedUp = true;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.catchArea_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
this.setOnBar = false;
}
};
this.onRelease = function () {
if (this.allBottlesGone() == true) {
if (this.setDown == true) {
this.setDown = false;
}
this.putInPlay(true);
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
this.respawn();
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onReleaseOutside = function () {
if (this.allBottlesGone() == true) {
if (this.setDown == true) {
this.setDown = false;
}
this.putInPlay(true);
this.pickedUp = false;
this.released = true;
this.hitArea = this.catchArea_mc;
this.respawn();
}
_global.resizeHitAreasForDexterity(this.catchArea_mc);
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (this.overFill == true) {
if ((this.fillWarning_mc._visible == false) && (_global.demoMode.bonusRound != "perfectPour")) {
this.fillWarning_mc._visible = true;
this.fillWarning_mc.overFillTime = 0;
} else {
this.fillWarning_mc.overFillTime++;
}
}
if (this.filling != undefined) {
this.fillIt();
}
if (this.doubleFilled != undefined) {
this.fillItAgain();
}
if (this.stopFilling == true) {
this.stopFilling == false;
}
if (this.popTimer != 0) {
this.popTimer--;
}
if (this.released == true) {
if (((_global.shotgunCount > 0) && (this.beenShotTimer > 10)) && (Key.isDown(32) == true)) {
_global.shotgunFire(this);
}
if ((_global.shotgunCount > 0) && (this.beenShotTimer < 12)) {
this.beenShotTimer++;
}
if (this.glassImage_mc.glassPopArea_mc.hitTest(_global.bottleValues.heldBottle.bottleImage_mc)) {
if (((_global.bottleValues.heldBottle.pouring != true) && (_global.bottleValues.heldBottle.balancing != true)) && (this.empty == true)) {
if (this.popTimer == 0) {
if (this.onBottle != true) {
this.onBottle = true;
this.released = false;
this.pickedUp = false;
_global.bottleValues.heldBottle.rider = this;
}
}
}
}
if (this.glassImage_mc.glassPopArea_mc.hitTest(_global.bottleValues.heldBottle2.bottleImage_mc)) {
if (((_global.bottleValues.heldBottle2.pouring != true) && (_global.bottleValues.heldBottle.balancing != true)) && (this.empty == true)) {
if (this.popTimer == 0) {
if (this.onBottle != true) {
this.onBottle = true;
this.released = false;
this.pickedUp = false;
_global.bottleValues.heldBottle2.rider = this;
}
}
}
}
if (this._y <= 0) {
if (this.indicated != true) {
this.indicated = true;
_parent.attachMovie("bottleIndicator", this._name + "bottleIndicator_mc", _parent.getNextHighestDepth(), {_x:this._x, drinkOwner:this});
}
} else {
this.indicated = false;
}
}
if (this.pickedUp == true) {
if (this._rotation > -30) {
if (this.empty != false) {
this._rotation = this._rotation - 2;
}
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
if (this.xMomentum < (-_global.bottleValues.maximumXVelocity)) {
this.xMomentum = -_global.bottleValues.maximumXVelocity;
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this._x = _root._xmouse;
this._y = _root._ymouse;
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
this.pickUpTimer++;
if (this.pickUpTimer >= 15) {
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) > 10) && (this.momentumChanged != true)) {
this.mouseGesture();
this.momentumChanged = true;
}
if (((Math.abs(this.lastXMomentum[0]) - Math.abs(this.xMomentum)) < 10) && (this.momentumChanged == true)) {
this.momentumChanged = false;
}
}
this.spinMomentum = _global.bottleValues.spinMultiplier * this.xMomentum;
}
if (this.released == true) {
if (this.released == true) {
if (this.spinMomentum > 0) {
if ((this._rotation >= 100) && (this.topSpinCount == this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount != this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
} else {
if ((this._rotation >= 100) && (this.topSpinCount != this.bottomSpinCount)) {
this.topSpinCount++;
this.comboSpin();
}
if ((this._rotation < -100) && (this.topSpinCount == this.bottomSpinCount)) {
this.bottomSpinCount++;
this.comboSpin();
}
}
}
if (this.empty != false) {
if ((this._rotation > 170) && (this._rotation < 175)) {
this.glassImage_mc.glassFlareAnim.play();
}
this._rotation = this._rotation + this.spinMomentum;
}
if (this._x <= 0) {
this._x = 1;
this.bouncedOffWallsCount++;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.bouncedOffWallsCount++;
this.xMomentum = -this.xMomentum;
}
if ((this._y >= _global.region.barTop) && (this._y <= _global.region.barBottom)) {
if (this.yMomentum > _global.bottleValues.terminalVelocity) {
if (this.apopalypse != true) {
this.setGlassOnBar();
}
}
}
if (this._y <= 344) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - (0.5 * _global.bottleValues.gravity);
if (this.yMomentum < _global.bottleValues.minimumYVelocity) {
this.yMomentum = _global.bottleValues.minimumYVelocity;
}
this._x = this._x - this.xMomentum;
if ((_global.specials.yumiSpecial == true) && (this._y > 0)) {
if (this.yMomentum < (-_global.specials.yumiFallLimiter)) {
this.yMomentum = -_global.specials.yumiFallLimiter;
}
}
} else if (_global.specials.natashaSpecial != true) {
if (this.yMomentum < _global.bottleValues.terminalVelocity) {
this.shattered = true;
this.shatter();
}
this._y = 344;
this.spinMomentum = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this._rotation = 0;
this.hitArea = this.glassImage_mc;
if (this.shattered != true) {
this.enabled = false;
this.gotoAndPlay("disappear");
}
this.reRack();
} else if (this.yMomentum < -3) {
this._y = 343;
_parent.sfxLayer_mc.playPop();
this.yMomentum = (-this.yMomentum) * 0.7;
} else {
this_y = 344;
this.yMomentum = 0;
this.xMomentum = 0;
this.pickedUp = false;
this.released = false;
this.setDown = true;
this._rotation = 0;
this.hitArea = this.glassImage_mc;
this.enabled = false;
this.gotoAndPlay("disappear");
}
}
if ((this.setOnBar == true) && (this.fillBottle1 != true)) {
if (this.okToAddAnotherBottle()) {
if (this.fillStart_mc.hitTest(_global.bottleValues.heldBottle.psHitArea_mc)) {
if ((_global.bottleValues.heldBottle.readyToPour == true) && (_global.bottleValues.heldBottle.checkedIn != false)) {
if (this.full != true) {
_global.bottleValues.heldBottle.checkedIn = false;
this.startFill(_global.bottleValues.heldBottle);
this.fillBottle1 = true;
this.bottleCount++;
}
}
}
}
}
if ((this.setOnBar == true) && (this.fillBottle1 == true)) {
if (this.fillStart_mc.hitTest(_global.bottleValues.heldBottle.psHitArea_mc) == false) {
if (_global.bottleValues.heldBottle.readyToStop == true) {
if (_global.demoMode.bonusRound == "perfectPour") {
_global.bonusDisplay.addValue(this.trailingZeros(this.totalContents));
this.fillStart_mc.removeMovieClip();
}
this.stopFill(_global.bottleValues.heldBottle);
this.fillBottle1 = false;
this.bottleCount--;
}
}
}
if ((this.setOnBar == true) && (this.fillBottle2 != true)) {
if (this.okToAddAnotherBottle()) {
if (this.fillStart_mc.hitTest(_global.bottleValues.heldBottle2.psHitArea_mc)) {
if ((_global.bottleValues.heldBottle2.readyToPour == true) && (_global.bottleValues.heldBottle2.checkedIn != false)) {
if (this.full != true) {
_global.bottleValues.heldBottle2.checkedIn = false;
this.startFill(_global.bottleValues.heldBottle2);
this.fillBottle2 = true;
this.bottleCount++;
}
}
}
}
}
if ((this.setOnBar == true) && (this.fillBottle2 == true)) {
if (this.fillStart_mc.hitTest(_global.bottleValues.heldBottle2.psHitArea_mc) == false) {
this.stopFill(_global.bottleValues.heldBottle2);
this.fillBottle2 = false;
this.bottleCount--;
}
}
}
};
this.startFill = function (whichBottle) {
for (i in this.oZoMeterArray) {
this.oZoMeterArray[i]._visible = true;
}
whichBottle.beginPour(this);
this.colorful = new Color(this.glassImage_mc.glassFill_mc);
if (whichBottle == this.bottle) {
this.currentIngredient = null;
currEng = null;
if (this.fillStart_mc.fillZone_mc == undefined) {
this.fillStart_mc.attachMovie("fillZone", "fillZone_mc", this.fillStart_mc.getNextHighestDepth());
}
if (this["ozOmeter" + whichBottle.ing.fullTitle] == undefined) {
this.ozOmeterCt++;
this.attachMovie("ozOmeter", "ozOmeter" + whichBottle.ing.fullTitle, this.getNextHighestDepth(), {_y:this.ozOmeterCt * -12, startFr:whichBottle.ing.ingClass});
this.oZoMeterArray.push(this["ozOmeter" + whichBottle.ing.fullTitle]);
}
this.beingFilled = true;
for (i in this.contents) {
if (whichBottle.ing == this.contents[i]) {
currEng = this.contents[i];
currAmt = i;
}
}
if (currEng != undefined) {
this.currentIngredient = currEng;
this.currentAmountID = currAmt;
} else {
this.currentIngredient = whichBottle.ing;
this.currentAmountID = this.contents.push(this.currentIngredient) - 1;
this.contentsAmount.push(0);
}
if (this.contentsColor == undefined) {
this.contentsColor = this.currentIngredient.liquorColor;
}
}
if (whichBottle == this.bottle2) {
this.currentIngredient2 = null;
currEng2 = null;
currAmt = null;
this.doubleFilled = true;
if (this["ozOmeter" + whichBottle.ing.fullTitle] == undefined) {
this.ozOmeterCt++;
this.attachMovie("ozOmeter", "ozOmeter" + whichBottle.ing.fullTitle, this.getNextHighestDepth(), {_y:this.ozOmeterCt * -12, startFr:whichBottle.ing.ingClass});
this.oZoMeterArray.push(this["ozOmeter" + whichBottle.ing.fullTitle]);
}
for (i in this.contents) {
if (whichBottle.ing == this.contents[i]) {
currEng2 = this.contents[i];
currAmt = i;
}
}
if (currEng2 != undefined) {
this.currentIngredient2 = currEng2;
this.currentAmountID2 = currAmt;
} else {
this.currentIngredient2 = whichBottle.ing;
this.contentsAmount.push(0);
this.currentAmountID2 = this.contents.push(this.currentIngredient2) - 1;
}
}
_parent.contents2Text.text = "";
if (whichBottle == this.bottle) {
_parent.contents2Text.text = (("bottle1:" + this.bottle.ing.fullTitle) + " bottle2:") + this.bottle2.ing.fullTitle;
}
if (whichBottle == this.bottle2) {
_parent.contents2Text.text = (("bottle1:" + this.bottle.ing.fullTitle) + " bottle2:") + this.bottle2.ing.fullTitle;
}
};
this.stopFill = function (whichBottle) {
this.beingFilled = false;
whichBottle.endPour(this);
if (this.allBottlesGone() == true) {
this.fillStart_mc.fillZone_mc.removeMovieClip();
}
if (_global.tutorialDisplay.waiting == "forVodkaFill") {
if (this.totalContents >= 1.25) {
_global.tutorialDisplay.receiveEvents("filledVodka", this.trailingZeros(this.totalContents));
}
}
if (_global.tutorialDisplay.waiting == "forCranFill") {
if (this.totalContents >= 7) {
_global.tutorialDisplay.receiveEvents("filledCran");
}
}
};
this.fillIt = function () {
if ((this.bottle != undefined) && (this.full != true)) {
if (this.empty == true) {
this.empty = false;
}
_parent.contentsText.text = "Filling #1";
for (i in this.contents) {
_parent.contentsText.text = (((_parent.contentsText.text + this.contents[i].fullTitle) + ",") + this.trailingZeros(this.contents[i].amount)) + " ";
}
this.contentsAmount[this.currentAmountID] = this.contentsAmount[this.currentAmountID] + 0.017;
amt = this.trailingZeros(this.contentsAmount[this.currentAmountID]);
this["ozOmeter" + this.bottle.ing.fullTitle].ozOmeter_txt.text = ((this.bottle.ing.shortName + " ") + amt) + "\u2125";
this.totalContents = this.totalContents + 0.017;
if (this.glassImage_mc.glassFill_mc._y > this.glassProperties.fillLine) {
this.glassImage_mc.glassFill_mc._y = this.glassProperties.fillHeight + ((this.totalContents / this.capacity) * (this.glassProperties.fillLine - this.glassProperties.fillHeight));
}
_root.totalContents_txt.text = this.totalContents;
_root.capacity_txt.text = this.capacity;
if (this.glassImage_mc.glassFill_mc._y < (this.glassImage_mc.ice_mc._y - 5)) {
this.glassImage_mc.ice_mc._y = this.glassImage_mc.glassFill_mc._y + 5;
}
if (this.totalContents >= this.capacity) {
if (this.bottle.attributeOverfill == true) {
this.stopFill(_global.bottleValues.heldBottle);
this.full = true;
this.fillBottle1 = false;
this.bottleCount--;
} else {
this.overFill = true;
}
}
this.changeColor(currentIngredient, this.currentAmountID);
this.colorful.setRGB(this.contentsColor);
}
};
this.fillItAgain = function () {
if ((this.bottle2 != undefined) && (this.full != true)) {
if (this.empty == true) {
this.empty = false;
}
_parent.contentsText.text = "Filling #2";
for (i in this.contents) {
_parent.contentsText.text = (((_parent.contentsText.text + this.contents[i].fullTitle) + ",") + this.trailingZeros(this.contents[i].amount)) + " ";
}
this.contentsAmount[this.currentAmountID2] = this.contentsAmount[this.currentAmountID2] + 0.017;
amt = this.trailingZeros(this.contentsAmount[this.currentAmountID2]);
this["ozOmeter" + this.bottle2.ing.fullTitle].ozOmeter_txt.text = ((this.bottle2.ing.shortName + " ") + amt) + "\u2125";
this.totalContents = this.totalContents + 0.017;
if (this.glassImage_mc.glassFill_mc._y < this.glassProperties.fillLine) {
this.glassImage_mc.glassFill_mc._y = this.glassProperties.fillHeight + ((this.totalContents / this.capacity) * (this.glassProperties.fillLine - this.glassProperties.fillHeight));
}
if (this.glassImage_mc.glassFill_mc._y < (this.glassImage_mc.ice_mc._y - 5)) {
this.glassImage_mc.ice_mc._y = this.glassImage_mc.glassFill_mc._y + 5;
}
this.changeColor(currentIngredient2, this.currentAmountID2);
this.colorful.setRGB(this.contentsColor);
} else if (this.totalContents >= this.capacity) {
if (this.bottle.attributeOverfill == true) {
this.stopFill(_global.bottleValues.heldBottle);
this.full = true;
this.fillBottle1 = false;
this.bottleCount--;
} else {
this.overFill = true;
}
}
};
this.reRack = function () {
this.spinCharge = 0;
for (i in _global.glass_arr) {
if (_global.glass_arr[i] == this) {
_global.glass_arr.splice(i, 1);
}
}
this.putInPlay(false);
};
this.shatter = function () {
if (this.apopalypse == true) {
_global.bonusDisplay.endApopalypse();
}
if (_global.heldGlass == this) {
_global.heldGlass = undefined;
}
if (this.fillStart_mc != undefined) {
this.fillStart_mc.removeMovieClip();
}
if ((_global.judgeSpecial != true) && (_global.johnnySpecial != true)) {
_global.roundStats.bottlesBroken++;
}
this.enabled = false;
this.setOnBar = false;
this.gotoAndPlay(16);
_global.sfxLayer.playSmashGlass();
_global.comboDisplay.updateCombo("shatter");
this.rerack();
};
this.setGlassOnBar = function () {
if (this.apopalypse == true) {
_global.bonusDisplay.endApopalypse();
}
this.flyingIceCatch = 0;
this.superFlyCatch = 0;
this.bouncedOffWallsCount = 0;
if ((this.totalContents < (this.capacity / 4)) && (_global.heldGlass == this)) {
_global.heldGlass = undefined;
}
this.putInPlay(false);
if (this.yMomentum < _global.bottleValues.terminalVelocity) {
this.shatter();
} else {
_global.sfxLayer.playGlassSetOnBar();
this.attachMovie("fillStart", "fillStart_mc", this.getNextHighestDepth());
}
this._y = _global.region.barCenter;
this.released = false;
this.setOnBar = true;
this._rotation = 0;
this.hitArea = this.glassImage_mc;
if (_global.tutorialDisplay.waiting == true) {
_global.tutorialDisplay.receiveEvents("setGlass", this.glassType);
}
};
this.okToAddAnotherBottle = function () {
if ((this.bottle == undefined) || (this.bottle2 == undefined)) {
return(true);
}
return(false);
};
this.allBottlesGone = function () {
if ((this.bottle == undefined) && (this.bottle2 == undefined)) {
return(true);
}
return(false);
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
this.addIce = function () {
this.empty = false;
if (_global.tutorialDisplay.waiting == "forIce") {
_global.tutorialDisplay.receiveEvents("foundIce");
}
if (this.iceCount == 0) {
this.glassImage_mc.ice_mc.gotoAndPlay("oneCube");
}
if (this.iceCount == 1) {
this.glassImage_mc.ice_mc.gotoAndPlay("twoCube");
}
if (this.iceCount == 2) {
this.glassImage_mc.ice_mc.gotoAndPlay("threeCube");
}
if (this.iceCount < 3) {
_global.sfxLayer.playCubeInGlass();
}
this.capacity--;
this.iceCount++;
};
this.addGarnish = function (garnish) {
if (_global.tutorialDisplay.waiting == "forGarnish") {
_global.tutorialDisplay.receiveEvents("foundGarnish");
}
this.garnishCount = 1;
this.garnish = garnish;
this.glassImage_mc.garnish_mc.gotoAndPlay(garnish);
_global.sfxLayer.playGarnishInGlass();
};
this.respawn = function () {
if (this.respawned != true) {
_global.glassId++;
this.respawned = true;
_parent.attachMovie("drinkGlass", "drinkGlass" + _global.glassId, _parent.getNextHighestDepth(), {_x:this.homeX, _y:this.homeY, glassProperties:this.glassProperties, newGlass:true});
switch (this.glassProperties.glassType) {
case "shotglass" :
glFrame = 5;
break;
case "cocktail" :
glFrame = 4;
break;
case "oldFashioned" :
glFrame = 1;
break;
case "highball" :
glFrame = 2;
break;
case "collins" :
glFrame = 3;
}
_parent["drinkGlass" + _global.glassId].glassImage_mc.gotoAndStop(glFrame);
_parent["drinkGlass" + _global.glassId].gotoAndPlay(2);
}
};
this.changeColor = function (ingredient, ingID) {
oldCol = this.contentsColor;
newCol = ingredient.liquorColor;
nAmt = this.contentsAmount[ingID] / this.totalContents;
var _local2 = this.hexToRGB(oldCol);
var _local3 = this.hexToRGB(newCol);
rOffSet = (_local3.r - _local2.r) * nAmt;
gOffSet = (_local3.g - _local2.g) * nAmt;
bbOffSet = (_local3.bb - _local2.bb) * nAmt;
rTest = Math.abs(rOffSet);
gTest = Math.abs(gOffSet);
bbTest = Math.abs(bbOffSet);
mixedR = _local2.r;
mixedG = _local2.g;
mixedB = _local2.bb;
if (rTest > 10) {
mixedR = _local2.r + (rOffSet / 30);
}
if (gTest > 10) {
mixedG = _local2.g + (gOffSet / 30);
}
if (bbTest > 10) {
mixedB = _local2.bb + (bbOffSet / 30);
}
this.contentsColor = this.rgbToHex(mixedR, mixedG, mixedB);
};
this.hexToRGB = function (hex) {
var _local2 = (hex & 16711680) >> 16;
var _local4 = (hex & 65280) >> 8;
var _local3 = hex & 255;
return({r:_local2, g:_local4, bb:_local3});
};
this.rgbToHex = function (r, g, bb) {
return(((r << 16) | (g << 8)) | bb);
};
if (this.newGlass != true) {
stop();
}
this.comboSpin = function () {
if (((this.topSpinCount + this.bottomSpinCount) / 2) == Math.round((this.topSpinCount + this.bottomSpinCount) / 2)) {
_global.comboDisplay.updateCombo("flip");
}
};
this.putInPlay = function (inOrOut) {
if (this.inPlay != inOrOut) {
this.inPlay = inOrOut;
if (inOrOut == true) {
_global.bottlesInPlay++;
} else {
_global.bottlesInPlay--;
}
}
_root.quadText_txt.text = _global.bottlesInPlay;
};
this.testForSuperman = function () {
if (this.flyingIceCatch >= 1) {
if (this.flyingIceCatch < 3) {
_global.comboDisplay.updateCombo("superman", this.flyingIceCatch);
} else {
_global.comboDisplay.updateCombo("supermanTrifecta", this.flyingIceCatch);
}
}
if (this.superFlyCatch >= 1) {
if (this.superFlyCatch < 3) {
_global.comboDisplay.updateCombo("frozenCoast", this.superFlyCatch);
} else {
_global.comboDisplay.updateCombo("frozenCoastTrifecta", this.superFlyCatch);
}
}
this.flyingIceCatch = 0;
this.superFlyCatch = 0;
this.bouncedOffWallsCount = 0;
};
Symbol 3634 MovieClip [drinkGlass] Frame 2
this.onEnterFrame = null;
this.enabled = false;
Symbol 3634 MovieClip [drinkGlass] Frame 15
this.newGlass = false;
this.gotoAndStop(1);
Symbol 3634 MovieClip [drinkGlass] Frame 16
if (this.empty == false) {
this.glassImage._visible = true;
} else {
this.glassImage._visible = false;
}
Symbol 3634 MovieClip [drinkGlass] Frame 60
this.removeMovieClip();
Symbol 3634 MovieClip [drinkGlass] Frame 70
this.removeMovieClip();
Symbol 3650 MovieClip Frame 1
stop();
Symbol 3650 MovieClip Frame 2
stop();
Symbol 3651 MovieClip Frame 30
stop();
Symbol 3661 MovieClip Frame 1
stop();
Symbol 3661 MovieClip Frame 2
stop();
Symbol 3661 MovieClip Frame 3
stop();
Symbol 3661 MovieClip Frame 4
stop();
Symbol 3661 MovieClip Frame 5
stop();
Symbol 3661 MovieClip Frame 6
stop();
Symbol 3661 MovieClip Frame 7
stop();
Symbol 3661 MovieClip Frame 8
stop();
Symbol 3661 MovieClip Frame 9
stop();
Symbol 3661 MovieClip Frame 10
stop();
Symbol 3662 MovieClip Frame 40
_parent.playWinnerQuote();
stop();
Symbol 3678 MovieClip Frame 1
this.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
stop();
Symbol 3678 MovieClip Frame 2
stop();
Symbol 3678 MovieClip Frame 3
stop();
Symbol 3678 MovieClip Frame 4
stop();
Symbol 3678 MovieClip Frame 5
stop();
Symbol 3678 MovieClip Frame 6
stop();
Symbol 3678 MovieClip Frame 7
stop();
Symbol 3678 MovieClip Frame 8
stop();
Symbol 3678 MovieClip Frame 9
stop();
Symbol 3678 MovieClip Frame 10
stop();
Symbol 3683 MovieClip Frame 1
if (_parent._parent.wonRound == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
Symbol 3683 MovieClip Frame 2
stop();
Symbol 3684 MovieClip Frame 1
this.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
stop();
Symbol 3684 MovieClip Frame 2
stop();
Symbol 3684 MovieClip Frame 3
stop();
Symbol 3684 MovieClip Frame 4
stop();
Symbol 3684 MovieClip Frame 5
stop();
Symbol 3684 MovieClip Frame 6
stop();
Symbol 3684 MovieClip Frame 7
stop();
Symbol 3684 MovieClip Frame 8
stop();
Symbol 3684 MovieClip Frame 9
stop();
Symbol 3684 MovieClip Frame 10
stop();
Symbol 3685 MovieClip Frame 1
if (_parent._parent.wonRound == false) {
this._visible = false;
}
Symbol 3685 MovieClip Frame 48
stop();
Symbol 3686 MovieClip Frame 60
stop();
Symbol 3689 MovieClip Frame 1
this.onPress = function () {
if (_parent._parent.wonRound == true) {
_global.updateArenaStandings(true);
_parent._parent.removeMovieClip();
} else {
_global.updateArenaStandings(false);
_parent._parent.removeMovieClip();
}
};
stop();
Symbol 3689 MovieClip Frame 2
stop();
Symbol 3690 MovieClip Frame 90
stop();
Symbol 3691 MovieClip [arenaModeWinLossScreen] Frame 1
_global.canPause = false;
this.playVictory = function (win) {
if (win == true) {
this.announcerXVoice = "win" + Math.round(Math.random());
} else {
this.announcerXVoice = "loss" + Math.round(Math.random());
}
this.announcerVoice = new Sound(this);
this.announcerVoice.attachSound(this.announcerXVoice);
this.announcerVoice.start();
if (win == false) {
this.largeWinLossBar_mc.largeWinLossBar_mc.gotoAndStop(2);
this.playerImage_mc.playerImage_mc.gotoAndStop(_global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName);
} else {
this.playerImage_mc.playerImage_mc.gotoAndStop(_global.gameStats.playerCharacter);
}
};
this.playWinnerQuote = function () {
this.winnerQuote = new Sound(this);
if (this.wonRound == true) {
switchData = _global.gameStats.playerCharacter;
} else {
switchData = _global.gameStats.battleLadder_arr[_global.gameStats.battleLadderProgress].shortName;
}
switch (switchData) {
case "april" :
quoteTag = 0;
break;
case "charon" :
quoteTag = 1;
break;
case "danny" :
quoteTag = 2;
break;
case "johnny" :
quoteTag = 3;
break;
case "luc" :
quoteTag = 4;
break;
case "natasha" :
quoteTag = 5;
break;
case "rey" :
quoteTag = 6;
break;
case "judge" :
quoteTag = 7;
break;
case "yumi" :
quoteTag = 8;
}
this.winnerQuote.attachSound("winVocal" + quoteTag);
this.winnerQuote.start();
};
this.playVictory(this.wonRound);
Symbol 3702 MovieClip Frame 1
stop();
Symbol 3702 MovieClip Frame 2
stop();
Symbol 3702 MovieClip Frame 3
stop();
Symbol 3702 MovieClip Frame 4
stop();
Symbol 3702 MovieClip Frame 5
stop();
Symbol 3702 MovieClip Frame 6
stop();
Symbol 3702 MovieClip Frame 7
stop();
Symbol 3702 MovieClip Frame 8
stop();
Symbol 3702 MovieClip Frame 9
stop();
Symbol 3702 MovieClip Frame 10
stop();
Symbol 3702 MovieClip Frame 11
stop();
Symbol 3702 MovieClip Frame 12
stop();
Symbol 3702 MovieClip Frame 13
stop();
Symbol 3702 MovieClip Frame 14
stop();
Symbol 3702 MovieClip Frame 15
stop();
Symbol 3702 MovieClip Frame 16
stop();
Symbol 3702 MovieClip Frame 17
stop();
Symbol 3702 MovieClip Frame 18
stop();
Symbol 3702 MovieClip Frame 19
stop();
Symbol 3702 MovieClip Frame 20
stop();
Symbol 3702 MovieClip Frame 21
stop();
Symbol 3702 MovieClip Frame 22
stop();
Symbol 3702 MovieClip Frame 23
stop();
Symbol 3702 MovieClip Frame 24
stop();
Symbol 3702 MovieClip Frame 25
stop();
Symbol 3702 MovieClip Frame 26
stop();
Symbol 3702 MovieClip Frame 27
stop();
Symbol 3702 MovieClip Frame 28
stop();
Symbol 3702 MovieClip Frame 29
stop();
Symbol 3702 MovieClip Frame 30
stop();
Symbol 3702 MovieClip Frame 31
stop();
Symbol 3702 MovieClip Frame 32
stop();
Symbol 3702 MovieClip Frame 33
stop();
Symbol 3702 MovieClip Frame 34
stop();
Symbol 3702 MovieClip Frame 35
stop();
Symbol 3702 MovieClip Frame 36
stop();
Symbol 3702 MovieClip Frame 37
stop();
Symbol 3702 MovieClip Frame 38
stop();
Symbol 3702 MovieClip Frame 39
stop();
Symbol 3713 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 3713 MovieClip Frame 2
stop();
Symbol 3713 MovieClip Frame 3
stop();
Symbol 3713 MovieClip Frame 4
stop();
Symbol 3713 MovieClip Frame 5
stop();
Symbol 3725 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 6, 6, 7, 8, 9, 10);
this.probability = 10;
break;
case "trailer" :
this.shirtDesign_arr = new Array(4, 5, 6, 10, 11, 11);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3);
this.probability = 5;
break;
case "rocker" :
this.shirtDesign_arr = new Array(4, 5, 6, 7, 8, 10, 11);
this.probability = 20;
break;
case "raver" :
this.shirtDesign_arr = new Array(2, 3, 7);
this.probability = 15;
break;
case "goth" :
this.shirtDesign_arr = new Array(4, 8, 10);
this.probability = 10;
break;
case "punk" :
this.shirtDesign_arr = new Array(4, 5, 6, 7, 8, 10);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 1);
this.probability = 20;
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 1);
this.probability = 5;
case "office" :
this.shirtDesign_arr = new Array(1, 1);
this.probability = 0;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 10, 11);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(2, 3, 5, 6, 11);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 2, 3);
this.probability = 20;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 4);
this.probability = 15;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 3725 MovieClip Frame 2
stop();
Symbol 3725 MovieClip Frame 3
stop();
Symbol 3725 MovieClip Frame 4
stop();
Symbol 3725 MovieClip Frame 5
stop();
Symbol 3725 MovieClip Frame 6
stop();
Symbol 3725 MovieClip Frame 7
stop();
Symbol 3725 MovieClip Frame 8
stop();
Symbol 3725 MovieClip Frame 9
stop();
Symbol 3725 MovieClip Frame 10
stop();
Symbol 3725 MovieClip Frame 11
stop();
Symbol 3725 MovieClip Frame 12
stop();
Symbol 3732 MovieClip Frame 1
if (_parent._parent._parent.sleeve1 == undefined) {
_parent._parent._parent.sleeve1 = this;
} else {
_parent._parent._parent.sleeve2 = this;
}
Symbol 3732 MovieClip Frame 2
stop();
Symbol 3732 MovieClip Frame 3
stop();
Symbol 3732 MovieClip Frame 4
stop();
Symbol 3732 MovieClip Frame 5
stop();
Symbol 3732 MovieClip Frame 6
stop();
Symbol 3743 MovieClip Frame 1
stop();
Symbol 3743 MovieClip Frame 2
stop();
Symbol 3743 MovieClip Frame 3
stop();
Symbol 3743 MovieClip Frame 4
stop();
Symbol 3743 MovieClip Frame 5
stop();
Symbol 3743 MovieClip Frame 6
stop();
Symbol 3743 MovieClip Frame 7
stop();
Symbol 3743 MovieClip Frame 8
stop();
Symbol 3743 MovieClip Frame 9
stop();
Symbol 3743 MovieClip Frame 10
stop();
Symbol 3743 MovieClip Frame 11
stop();
Symbol 3743 MovieClip Frame 12
stop();
Symbol 3743 MovieClip Frame 13
stop();
Symbol 3743 MovieClip Frame 14
stop();
Symbol 3743 MovieClip Frame 15
stop();
Symbol 3743 MovieClip Frame 16
stop();
Symbol 3748 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 3748 MovieClip Frame 2
stop();
Symbol 3748 MovieClip Frame 3
stop();
Symbol 3748 MovieClip Frame 4
stop();
Symbol 3748 MovieClip Frame 5
stop();
Symbol 3793 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 10, 11, 12, 13, 15, 19);
this.probability = 30;
break;
case "trailer" :
this.shirtDesign_arr = new Array(9, 8, 13, 15, 17, 18, 19);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(7, 2, 13, 18);
this.probability = 5;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 5, 6, 7, 8, 9, 13, 16, 17, 18, 19);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(2, 6, 7, 11, 12, 13, 18);
this.probability = 15;
break;
case "goth" :
this.shirtDesign_arr = new Array(5, 6, 9, 13, 17, 18);
this.probability = 20;
break;
case "punk" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 13, 14, 16, 17, 18, 19);
this.probability = 20;
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 7, 11, 12, 13, 14, 14);
this.probability = 20;
break;
case "formal" :
this.shirtDesign_arr = new Array(2, 7, 13);
this.probability = 5;
case "office" :
this.shirtDesign_arr = new Array(12, 13);
this.probability = 0;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 11, 13);
this.probability = 10;
break;
case "hippie" :
this.shirtDesign_arr = new Array(2, 5, 11, 12, 6, 19);
this.probability = 10;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 11, 12, 6);
this.probability = 15;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 3793 MovieClip Frame 2
stop();
Symbol 3793 MovieClip Frame 3
stop();
Symbol 3793 MovieClip Frame 4
stop();
Symbol 3793 MovieClip Frame 5
stop();
Symbol 3793 MovieClip Frame 6
stop();
Symbol 3793 MovieClip Frame 7
stop();
Symbol 3793 MovieClip Frame 8
stop();
Symbol 3793 MovieClip Frame 9
stop();
Symbol 3793 MovieClip Frame 10
stop();
Symbol 3793 MovieClip Frame 11
stop();
Symbol 3793 MovieClip Frame 12
stop();
Symbol 3793 MovieClip Frame 13
stop();
Symbol 3793 MovieClip Frame 14
stop();
Symbol 3793 MovieClip Frame 15
stop();
Symbol 3793 MovieClip Frame 16
stop();
Symbol 3793 MovieClip Frame 17
stop();
Symbol 3793 MovieClip Frame 18
stop();
Symbol 3793 MovieClip Frame 19
stop();
Symbol 3793 MovieClip Frame 20
stop();
Symbol 3793 MovieClip Frame 21
stop();
Symbol 3793 MovieClip Frame 22
stop();
Symbol 3822 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 11, 13, 14);
this.probability = 40;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 3, 9);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(13, 14, 8);
this.probability = 20;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 6, 7, 12);
this.probability = 30;
break;
case "raver" :
this.shirtDesign_arr = new Array(5, 6, 7, 8);
this.probability = 20;
break;
case "goth" :
this.shirtDesign_arr = new Array(2, 4, 7, 9, 12, 14);
this.probability = 20;
break;
case "punk" :
this.shirtDesign_arr = new Array(7, 3, 9, 12);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(3, 7, 9);
this.probability = 10;
break;
case "formal" :
this.shirtDesign_arr = new Array(13, 14);
this.probability = 10;
case "office" :
this.shirtDesign_arr = new Array(15, 15);
this.probability = 5;
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 3, 12, 13, 14);
this.probability = 5;
break;
case "sporty" :
this.shirtDesign_arr = new Array(3, 2);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(12, 6, 8);
this.probability = 30;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 11, 13, 14);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 3822 MovieClip Frame 2
stop();
Symbol 3822 MovieClip Frame 3
stop();
Symbol 3822 MovieClip Frame 4
stop();
Symbol 3822 MovieClip Frame 5
stop();
Symbol 3822 MovieClip Frame 6
stop();
Symbol 3822 MovieClip Frame 7
stop();
Symbol 3822 MovieClip Frame 8
stop();
Symbol 3822 MovieClip Frame 9
stop();
Symbol 3822 MovieClip Frame 10
stop();
Symbol 3822 MovieClip Frame 11
stop();
Symbol 3822 MovieClip Frame 12
stop();
Symbol 3822 MovieClip Frame 13
stop();
Symbol 3822 MovieClip Frame 14
stop();
Symbol 3822 MovieClip Frame 15
stop();
Symbol 4021 MovieClip Frame 1
stoprand = Math.round(Math.random() * 3) + 1;
this.gotoAndStop(stoprand);
stop();
Symbol 4021 MovieClip Frame 2
stop();
Symbol 4021 MovieClip Frame 3
stop();
Symbol 4021 MovieClip Frame 4
stop();
Symbol 4022 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 4022 MovieClip Frame 2
stop();
Symbol 4022 MovieClip Frame 3
stop();
Symbol 4022 MovieClip Frame 4
stop();
Symbol 4022 MovieClip Frame 5
stop();
Symbol 4022 MovieClip Frame 6
stop();
Symbol 4022 MovieClip Frame 7
stop();
Symbol 4022 MovieClip Frame 8
stop();
Symbol 4022 MovieClip Frame 9
stop();
Symbol 4022 MovieClip Frame 10
stop();
Symbol 4022 MovieClip Frame 11
stop();
Symbol 4022 MovieClip Frame 12
stop();
Symbol 4022 MovieClip Frame 13
stop();
Symbol 4022 MovieClip Frame 14
stop();
Symbol 4022 MovieClip Frame 15
stop();
Symbol 4022 MovieClip Frame 16
stop();
Symbol 4022 MovieClip Frame 17
stop();
Symbol 4022 MovieClip Frame 18
stop();
Symbol 4022 MovieClip Frame 19
stop();
Symbol 4022 MovieClip Frame 20
stop();
Symbol 4022 MovieClip Frame 21
stop();
Symbol 4022 MovieClip Frame 22
stop();
Symbol 4022 MovieClip Frame 23
stop();
Symbol 4022 MovieClip Frame 24
stop();
Symbol 4022 MovieClip Frame 25
stop();
Symbol 4022 MovieClip Frame 26
stop();
Symbol 4022 MovieClip Frame 27
stop();
Symbol 4022 MovieClip Frame 28
stop();
Symbol 4022 MovieClip Frame 29
stop();
Symbol 4022 MovieClip Frame 30
stop();
Symbol 4022 MovieClip Frame 31
stop();
Symbol 4022 MovieClip Frame 32
stop();
Symbol 4022 MovieClip Frame 33
stop();
Symbol 4022 MovieClip Frame 34
stop();
Symbol 4022 MovieClip Frame 35
stop();
Symbol 4022 MovieClip Frame 36
stop();
Symbol 4022 MovieClip Frame 37
stop();
Symbol 4022 MovieClip Frame 38
stop();
Symbol 4022 MovieClip Frame 39
stop();
Symbol 4022 MovieClip Frame 40
stop();
Symbol 4022 MovieClip Frame 41
stop();
Symbol 4022 MovieClip Frame 42
stop();
Symbol 4022 MovieClip Frame 43
stop();
Symbol 4022 MovieClip Frame 44
stop();
Symbol 4022 MovieClip Frame 45
stop();
Symbol 4022 MovieClip Frame 46
stop();
Symbol 4022 MovieClip Frame 47
stop();
Symbol 4022 MovieClip Frame 48
stop();
Symbol 4022 MovieClip Frame 49
stop();
Symbol 4022 MovieClip Frame 50
stop();
Symbol 4022 MovieClip Frame 51
stop();
Symbol 4022 MovieClip Frame 52
stop();
Symbol 4022 MovieClip Frame 53
stop();
Symbol 4022 MovieClip Frame 54
stop();
Symbol 4022 MovieClip Frame 55
stop();
Symbol 4022 MovieClip Frame 56
stop();
Symbol 4022 MovieClip Frame 57
stop();
Symbol 4022 MovieClip Frame 58
stop();
Symbol 4022 MovieClip Frame 59
stop();
Symbol 4022 MovieClip Frame 60
stop();
Symbol 4022 MovieClip Frame 61
stop();
Symbol 4022 MovieClip Frame 62
stop();
Symbol 4022 MovieClip Frame 63
stop();
Symbol 4022 MovieClip Frame 64
stop();
Symbol 4022 MovieClip Frame 65
stop();
Symbol 4022 MovieClip Frame 66
stop();
Symbol 4022 MovieClip Frame 67
stop();
Symbol 4022 MovieClip Frame 68
stop();
Symbol 4022 MovieClip Frame 69
stop();
Symbol 4022 MovieClip Frame 70
stop();
Symbol 4022 MovieClip Frame 71
stop();
Symbol 4022 MovieClip Frame 72
stop();
Symbol 4022 MovieClip Frame 73
stop();
Symbol 4022 MovieClip Frame 74
stop();
Symbol 4022 MovieClip Frame 75
stop();
Symbol 4022 MovieClip Frame 76
stop();
Symbol 4022 MovieClip Frame 77
stop();
Symbol 4022 MovieClip Frame 78
stop();
Symbol 4022 MovieClip Frame 79
stop();
Symbol 4022 MovieClip Frame 80
stop();
Symbol 4022 MovieClip Frame 81
stop();
Symbol 4022 MovieClip Frame 82
stop();
Symbol 4022 MovieClip Frame 83
stop();
Symbol 4022 MovieClip Frame 84
stop();
Symbol 4022 MovieClip Frame 85
stop();
Symbol 4022 MovieClip Frame 86
stop();
Symbol 4022 MovieClip Frame 87
stop();
Symbol 4022 MovieClip Frame 88
stop();
Symbol 4022 MovieClip Frame 89
stop();
Symbol 4022 MovieClip Frame 90
stop();
Symbol 4022 MovieClip Frame 91
stop();
Symbol 4022 MovieClip Frame 92
stop();
Symbol 4022 MovieClip Frame 93
stop();
Symbol 4022 MovieClip Frame 94
stop();
Symbol 4022 MovieClip Frame 95
stop();
Symbol 4022 MovieClip Frame 96
stop();
Symbol 4022 MovieClip Frame 97
stop();
Symbol 4022 MovieClip Frame 98
stop();
Symbol 4022 MovieClip Frame 99
stop();
Symbol 4223 MovieClip Frame 1
stoprand = Math.round(Math.random() * 3) + 1;
this.gotoAndStop(stoprand);
stop();
Symbol 4223 MovieClip Frame 2
stop();
Symbol 4223 MovieClip Frame 3
stop();
Symbol 4223 MovieClip Frame 4
stop();
Symbol 4224 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 4224 MovieClip Frame 2
stop();
Symbol 4224 MovieClip Frame 3
stop();
Symbol 4224 MovieClip Frame 4
stop();
Symbol 4224 MovieClip Frame 5
stop();
Symbol 4224 MovieClip Frame 6
stop();
Symbol 4224 MovieClip Frame 7
stop();
Symbol 4224 MovieClip Frame 8
stop();
Symbol 4224 MovieClip Frame 9
stop();
Symbol 4224 MovieClip Frame 10
stop();
Symbol 4224 MovieClip Frame 11
stop();
Symbol 4224 MovieClip Frame 12
stop();
Symbol 4224 MovieClip Frame 13
stop();
Symbol 4224 MovieClip Frame 14
stop();
Symbol 4224 MovieClip Frame 15
stop();
Symbol 4224 MovieClip Frame 16
stop();
Symbol 4224 MovieClip Frame 17
stop();
Symbol 4224 MovieClip Frame 18
stop();
Symbol 4224 MovieClip Frame 19
stop();
Symbol 4224 MovieClip Frame 20
stop();
Symbol 4224 MovieClip Frame 21
stop();
Symbol 4224 MovieClip Frame 22
stop();
Symbol 4224 MovieClip Frame 23
stop();
Symbol 4224 MovieClip Frame 24
stop();
Symbol 4224 MovieClip Frame 25
stop();
Symbol 4224 MovieClip Frame 26
stop();
Symbol 4224 MovieClip Frame 27
stop();
Symbol 4224 MovieClip Frame 28
stop();
Symbol 4224 MovieClip Frame 29
stop();
Symbol 4224 MovieClip Frame 30
stop();
Symbol 4224 MovieClip Frame 31
stop();
Symbol 4224 MovieClip Frame 32
stop();
Symbol 4224 MovieClip Frame 33
stop();
Symbol 4224 MovieClip Frame 34
stop();
Symbol 4224 MovieClip Frame 35
stop();
Symbol 4224 MovieClip Frame 36
stop();
Symbol 4224 MovieClip Frame 37
stop();
Symbol 4224 MovieClip Frame 38
stop();
Symbol 4224 MovieClip Frame 39
stop();
Symbol 4224 MovieClip Frame 40
stop();
Symbol 4224 MovieClip Frame 41
stop();
Symbol 4224 MovieClip Frame 42
stop();
Symbol 4224 MovieClip Frame 43
stop();
Symbol 4224 MovieClip Frame 44
stop();
Symbol 4224 MovieClip Frame 45
stop();
Symbol 4224 MovieClip Frame 46
stop();
Symbol 4224 MovieClip Frame 47
stop();
Symbol 4224 MovieClip Frame 48
stop();
Symbol 4224 MovieClip Frame 49
stop();
Symbol 4224 MovieClip Frame 50
stop();
Symbol 4224 MovieClip Frame 51
stop();
Symbol 4224 MovieClip Frame 52
stop();
Symbol 4224 MovieClip Frame 53
stop();
Symbol 4224 MovieClip Frame 54
stop();
Symbol 4224 MovieClip Frame 55
stop();
Symbol 4224 MovieClip Frame 56
stop();
Symbol 4224 MovieClip Frame 57
stop();
Symbol 4224 MovieClip Frame 58
stop();
Symbol 4224 MovieClip Frame 59
stop();
Symbol 4224 MovieClip Frame 60
stop();
Symbol 4224 MovieClip Frame 61
stop();
Symbol 4224 MovieClip Frame 62
stop();
Symbol 4224 MovieClip Frame 63
stop();
Symbol 4224 MovieClip Frame 64
stop();
Symbol 4224 MovieClip Frame 65
stop();
Symbol 4224 MovieClip Frame 66
stop();
Symbol 4224 MovieClip Frame 67
stop();
Symbol 4224 MovieClip Frame 68
stop();
Symbol 4224 MovieClip Frame 69
stop();
Symbol 4224 MovieClip Frame 70
stop();
Symbol 4224 MovieClip Frame 71
stop();
Symbol 4224 MovieClip Frame 72
stop();
Symbol 4224 MovieClip Frame 73
stop();
Symbol 4224 MovieClip Frame 74
stop();
Symbol 4224 MovieClip Frame 75
stop();
Symbol 4224 MovieClip Frame 76
stop();
Symbol 4224 MovieClip Frame 77
stop();
Symbol 4224 MovieClip Frame 78
stop();
Symbol 4224 MovieClip Frame 79
stop();
Symbol 4224 MovieClip Frame 80
stop();
Symbol 4224 MovieClip Frame 81
stop();
Symbol 4224 MovieClip Frame 82
stop();
Symbol 4224 MovieClip Frame 83
stop();
Symbol 4224 MovieClip Frame 84
stop();
Symbol 4224 MovieClip Frame 85
stop();
Symbol 4224 MovieClip Frame 86
stop();
Symbol 4224 MovieClip Frame 87
stop();
Symbol 4224 MovieClip Frame 88
stop();
Symbol 4224 MovieClip Frame 89
stop();
Symbol 4224 MovieClip Frame 90
stop();
Symbol 4224 MovieClip Frame 91
stop();
Symbol 4224 MovieClip Frame 92
stop();
Symbol 4224 MovieClip Frame 93
stop();
Symbol 4224 MovieClip Frame 94
stop();
Symbol 4224 MovieClip Frame 95
stop();
Symbol 4224 MovieClip Frame 96
stop();
Symbol 4224 MovieClip Frame 97
stop();
Symbol 4224 MovieClip Frame 98
stop();
Symbol 4224 MovieClip Frame 99
stop();
Symbol 4423 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 4423 MovieClip Frame 2
stop();
Symbol 4423 MovieClip Frame 3
stop();
Symbol 4423 MovieClip Frame 4
stop();
Symbol 4423 MovieClip Frame 5
stop();
Symbol 4423 MovieClip Frame 6
stop();
Symbol 4423 MovieClip Frame 7
stop();
Symbol 4423 MovieClip Frame 8
stop();
Symbol 4423 MovieClip Frame 9
stop();
Symbol 4423 MovieClip Frame 10
stop();
Symbol 4423 MovieClip Frame 11
stop();
Symbol 4423 MovieClip Frame 12
stop();
Symbol 4423 MovieClip Frame 13
stop();
Symbol 4423 MovieClip Frame 14
stop();
Symbol 4423 MovieClip Frame 15
stop();
Symbol 4423 MovieClip Frame 16
stop();
Symbol 4423 MovieClip Frame 17
stop();
Symbol 4423 MovieClip Frame 18
stop();
Symbol 4423 MovieClip Frame 19
stop();
Symbol 4423 MovieClip Frame 20
stop();
Symbol 4423 MovieClip Frame 21
stop();
Symbol 4423 MovieClip Frame 22
stop();
Symbol 4423 MovieClip Frame 23
stop();
Symbol 4423 MovieClip Frame 24
stop();
Symbol 4423 MovieClip Frame 25
stop();
Symbol 4423 MovieClip Frame 26
stop();
Symbol 4423 MovieClip Frame 27
stop();
Symbol 4423 MovieClip Frame 28
stop();
Symbol 4423 MovieClip Frame 29
stop();
Symbol 4423 MovieClip Frame 30
stop();
Symbol 4423 MovieClip Frame 31
stop();
Symbol 4423 MovieClip Frame 32
stop();
Symbol 4423 MovieClip Frame 33
stop();
Symbol 4423 MovieClip Frame 34
stop();
Symbol 4423 MovieClip Frame 35
stop();
Symbol 4423 MovieClip Frame 36
stop();
Symbol 4423 MovieClip Frame 37
stop();
Symbol 4423 MovieClip Frame 38
stop();
Symbol 4423 MovieClip Frame 39
stop();
Symbol 4423 MovieClip Frame 40
stop();
Symbol 4423 MovieClip Frame 41
stop();
Symbol 4423 MovieClip Frame 42
stop();
Symbol 4423 MovieClip Frame 43
stop();
Symbol 4423 MovieClip Frame 44
stop();
Symbol 4423 MovieClip Frame 45
stop();
Symbol 4423 MovieClip Frame 46
stop();
Symbol 4423 MovieClip Frame 47
stop();
Symbol 4423 MovieClip Frame 48
stop();
Symbol 4423 MovieClip Frame 49
stop();
Symbol 4423 MovieClip Frame 50
stop();
Symbol 4423 MovieClip Frame 51
stop();
Symbol 4423 MovieClip Frame 52
stop();
Symbol 4423 MovieClip Frame 53
stop();
Symbol 4423 MovieClip Frame 54
stop();
Symbol 4423 MovieClip Frame 55
stop();
Symbol 4423 MovieClip Frame 56
stop();
Symbol 4423 MovieClip Frame 57
stop();
Symbol 4423 MovieClip Frame 58
stop();
Symbol 4423 MovieClip Frame 59
stop();
Symbol 4423 MovieClip Frame 60
stop();
Symbol 4423 MovieClip Frame 61
stop();
Symbol 4423 MovieClip Frame 62
stop();
Symbol 4423 MovieClip Frame 63
stop();
Symbol 4423 MovieClip Frame 64
stop();
Symbol 4423 MovieClip Frame 65
stop();
Symbol 4423 MovieClip Frame 66
stop();
Symbol 4423 MovieClip Frame 67
stop();
Symbol 4423 MovieClip Frame 68
stop();
Symbol 4423 MovieClip Frame 69
stop();
Symbol 4423 MovieClip Frame 70
stop();
Symbol 4423 MovieClip Frame 71
stop();
Symbol 4423 MovieClip Frame 72
stop();
Symbol 4423 MovieClip Frame 73
stop();
Symbol 4423 MovieClip Frame 74
stop();
Symbol 4423 MovieClip Frame 75
stop();
Symbol 4423 MovieClip Frame 76
stop();
Symbol 4423 MovieClip Frame 77
stop();
Symbol 4423 MovieClip Frame 78
stop();
Symbol 4423 MovieClip Frame 79
stop();
Symbol 4423 MovieClip Frame 80
stop();
Symbol 4423 MovieClip Frame 81
stop();
Symbol 4423 MovieClip Frame 82
stop();
Symbol 4423 MovieClip Frame 83
stop();
Symbol 4423 MovieClip Frame 84
stop();
Symbol 4423 MovieClip Frame 85
stop();
Symbol 4423 MovieClip Frame 86
stop();
Symbol 4423 MovieClip Frame 87
stop();
Symbol 4423 MovieClip Frame 88
stop();
Symbol 4423 MovieClip Frame 89
stop();
Symbol 4423 MovieClip Frame 90
stop();
Symbol 4423 MovieClip Frame 91
stop();
Symbol 4423 MovieClip Frame 92
stop();
Symbol 4423 MovieClip Frame 93
stop();
Symbol 4423 MovieClip Frame 94
stop();
Symbol 4423 MovieClip Frame 95
stop();
Symbol 4423 MovieClip Frame 96
stop();
Symbol 4423 MovieClip Frame 97
stop();
Symbol 4423 MovieClip Frame 98
stop();
Symbol 4423 MovieClip Frame 99
stop();
Symbol 4620 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 4620 MovieClip Frame 2
stop();
Symbol 4620 MovieClip Frame 3
stop();
Symbol 4620 MovieClip Frame 4
stop();
Symbol 4620 MovieClip Frame 5
stop();
Symbol 4620 MovieClip Frame 6
stop();
Symbol 4620 MovieClip Frame 7
stop();
Symbol 4620 MovieClip Frame 8
stop();
Symbol 4620 MovieClip Frame 9
stop();
Symbol 4620 MovieClip Frame 10
stop();
Symbol 4620 MovieClip Frame 11
stop();
Symbol 4620 MovieClip Frame 12
stop();
Symbol 4620 MovieClip Frame 13
stop();
Symbol 4620 MovieClip Frame 14
stop();
Symbol 4620 MovieClip Frame 15
stop();
Symbol 4620 MovieClip Frame 16
stop();
Symbol 4620 MovieClip Frame 17
stop();
Symbol 4620 MovieClip Frame 18
stop();
Symbol 4620 MovieClip Frame 19
stop();
Symbol 4620 MovieClip Frame 20
stop();
Symbol 4620 MovieClip Frame 21
stop();
Symbol 4620 MovieClip Frame 22
stop();
Symbol 4620 MovieClip Frame 23
stop();
Symbol 4620 MovieClip Frame 24
stop();
Symbol 4620 MovieClip Frame 25
stop();
Symbol 4620 MovieClip Frame 26
stop();
Symbol 4620 MovieClip Frame 27
stop();
Symbol 4620 MovieClip Frame 28
stop();
Symbol 4620 MovieClip Frame 29
stop();
Symbol 4620 MovieClip Frame 30
stop();
Symbol 4620 MovieClip Frame 31
stop();
Symbol 4620 MovieClip Frame 32
stop();
Symbol 4620 MovieClip Frame 33
stop();
Symbol 4620 MovieClip Frame 34
stop();
Symbol 4620 MovieClip Frame 35
stop();
Symbol 4620 MovieClip Frame 36
stop();
Symbol 4620 MovieClip Frame 37
stop();
Symbol 4620 MovieClip Frame 38
stop();
Symbol 4620 MovieClip Frame 39
stop();
Symbol 4620 MovieClip Frame 40
stop();
Symbol 4620 MovieClip Frame 41
stop();
Symbol 4620 MovieClip Frame 42
stop();
Symbol 4620 MovieClip Frame 43
stop();
Symbol 4620 MovieClip Frame 44
stop();
Symbol 4620 MovieClip Frame 45
stop();
Symbol 4620 MovieClip Frame 46
stop();
Symbol 4620 MovieClip Frame 47
stop();
Symbol 4620 MovieClip Frame 48
stop();
Symbol 4620 MovieClip Frame 49
stop();
Symbol 4620 MovieClip Frame 50
stop();
Symbol 4620 MovieClip Frame 51
stop();
Symbol 4620 MovieClip Frame 52
stop();
Symbol 4620 MovieClip Frame 53
stop();
Symbol 4620 MovieClip Frame 54
stop();
Symbol 4620 MovieClip Frame 55
stop();
Symbol 4620 MovieClip Frame 56
stop();
Symbol 4620 MovieClip Frame 57
stop();
Symbol 4620 MovieClip Frame 58
stop();
Symbol 4620 MovieClip Frame 59
stop();
Symbol 4620 MovieClip Frame 60
stop();
Symbol 4620 MovieClip Frame 61
stop();
Symbol 4620 MovieClip Frame 62
stop();
Symbol 4620 MovieClip Frame 63
stop();
Symbol 4620 MovieClip Frame 64
stop();
Symbol 4620 MovieClip Frame 65
stop();
Symbol 4620 MovieClip Frame 66
stop();
Symbol 4620 MovieClip Frame 67
stop();
Symbol 4620 MovieClip Frame 68
stop();
Symbol 4620 MovieClip Frame 69
stop();
Symbol 4620 MovieClip Frame 70
stop();
Symbol 4620 MovieClip Frame 71
stop();
Symbol 4620 MovieClip Frame 72
stop();
Symbol 4620 MovieClip Frame 73
stop();
Symbol 4620 MovieClip Frame 74
stop();
Symbol 4620 MovieClip Frame 75
stop();
Symbol 4620 MovieClip Frame 76
stop();
Symbol 4620 MovieClip Frame 77
stop();
Symbol 4620 MovieClip Frame 78
stop();
Symbol 4620 MovieClip Frame 79
stop();
Symbol 4620 MovieClip Frame 80
stop();
Symbol 4620 MovieClip Frame 81
stop();
Symbol 4620 MovieClip Frame 82
stop();
Symbol 4620 MovieClip Frame 83
stop();
Symbol 4620 MovieClip Frame 84
stop();
Symbol 4620 MovieClip Frame 85
stop();
Symbol 4620 MovieClip Frame 86
stop();
Symbol 4620 MovieClip Frame 87
stop();
Symbol 4620 MovieClip Frame 88
stop();
Symbol 4620 MovieClip Frame 89
stop();
Symbol 4620 MovieClip Frame 90
stop();
Symbol 4620 MovieClip Frame 91
stop();
Symbol 4620 MovieClip Frame 92
stop();
Symbol 4620 MovieClip Frame 93
stop();
Symbol 4620 MovieClip Frame 94
stop();
Symbol 4620 MovieClip Frame 95
stop();
Symbol 4620 MovieClip Frame 96
stop();
Symbol 4620 MovieClip Frame 97
stop();
Symbol 4620 MovieClip Frame 98
stop();
Symbol 4620 MovieClip Frame 99
stop();
Symbol 4817 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 4817 MovieClip Frame 2
stop();
Symbol 4817 MovieClip Frame 3
stop();
Symbol 4817 MovieClip Frame 4
stop();
Symbol 4817 MovieClip Frame 5
stop();
Symbol 4817 MovieClip Frame 6
stop();
Symbol 4817 MovieClip Frame 7
stop();
Symbol 4817 MovieClip Frame 8
stop();
Symbol 4817 MovieClip Frame 9
stop();
Symbol 4817 MovieClip Frame 10
stop();
Symbol 4817 MovieClip Frame 11
stop();
Symbol 4817 MovieClip Frame 12
stop();
Symbol 4817 MovieClip Frame 13
stop();
Symbol 4817 MovieClip Frame 14
stop();
Symbol 4817 MovieClip Frame 15
stop();
Symbol 4817 MovieClip Frame 16
stop();
Symbol 4817 MovieClip Frame 17
stop();
Symbol 4817 MovieClip Frame 18
stop();
Symbol 4817 MovieClip Frame 19
stop();
Symbol 4817 MovieClip Frame 20
stop();
Symbol 4817 MovieClip Frame 21
stop();
Symbol 4817 MovieClip Frame 22
stop();
Symbol 4817 MovieClip Frame 23
stop();
Symbol 4817 MovieClip Frame 24
stop();
Symbol 4817 MovieClip Frame 25
stop();
Symbol 4817 MovieClip Frame 26
stop();
Symbol 4817 MovieClip Frame 27
stop();
Symbol 4817 MovieClip Frame 28
stop();
Symbol 4817 MovieClip Frame 29
stop();
Symbol 4817 MovieClip Frame 30
stop();
Symbol 4817 MovieClip Frame 31
stop();
Symbol 4817 MovieClip Frame 32
stop();
Symbol 4817 MovieClip Frame 33
stop();
Symbol 4817 MovieClip Frame 34
stop();
Symbol 4817 MovieClip Frame 35
stop();
Symbol 4817 MovieClip Frame 36
stop();
Symbol 4817 MovieClip Frame 37
stop();
Symbol 4817 MovieClip Frame 38
stop();
Symbol 4817 MovieClip Frame 39
stop();
Symbol 4817 MovieClip Frame 40
stop();
Symbol 4817 MovieClip Frame 41
stop();
Symbol 4817 MovieClip Frame 42
stop();
Symbol 4817 MovieClip Frame 43
stop();
Symbol 4817 MovieClip Frame 44
stop();
Symbol 4817 MovieClip Frame 45
stop();
Symbol 4817 MovieClip Frame 46
stop();
Symbol 4817 MovieClip Frame 47
stop();
Symbol 4817 MovieClip Frame 48
stop();
Symbol 4817 MovieClip Frame 49
stop();
Symbol 4817 MovieClip Frame 50
stop();
Symbol 4817 MovieClip Frame 51
stop();
Symbol 4817 MovieClip Frame 52
stop();
Symbol 4817 MovieClip Frame 53
stop();
Symbol 4817 MovieClip Frame 54
stop();
Symbol 4817 MovieClip Frame 55
stop();
Symbol 4817 MovieClip Frame 56
stop();
Symbol 4817 MovieClip Frame 57
stop();
Symbol 4817 MovieClip Frame 58
stop();
Symbol 4817 MovieClip Frame 59
stop();
Symbol 4817 MovieClip Frame 60
stop();
Symbol 4817 MovieClip Frame 61
stop();
Symbol 4817 MovieClip Frame 62
stop();
Symbol 4817 MovieClip Frame 63
stop();
Symbol 4817 MovieClip Frame 64
stop();
Symbol 4817 MovieClip Frame 65
stop();
Symbol 4817 MovieClip Frame 66
stop();
Symbol 4817 MovieClip Frame 67
stop();
Symbol 4817 MovieClip Frame 68
stop();
Symbol 4817 MovieClip Frame 69
stop();
Symbol 4817 MovieClip Frame 70
stop();
Symbol 4817 MovieClip Frame 71
stop();
Symbol 4817 MovieClip Frame 72
stop();
Symbol 4817 MovieClip Frame 73
stop();
Symbol 4817 MovieClip Frame 74
stop();
Symbol 4817 MovieClip Frame 75
stop();
Symbol 4817 MovieClip Frame 76
stop();
Symbol 4817 MovieClip Frame 77
stop();
Symbol 4817 MovieClip Frame 78
stop();
Symbol 4817 MovieClip Frame 79
stop();
Symbol 4817 MovieClip Frame 80
stop();
Symbol 4817 MovieClip Frame 81
stop();
Symbol 4817 MovieClip Frame 82
stop();
Symbol 4817 MovieClip Frame 83
stop();
Symbol 4817 MovieClip Frame 84
stop();
Symbol 4817 MovieClip Frame 85
stop();
Symbol 4817 MovieClip Frame 86
stop();
Symbol 4817 MovieClip Frame 87
stop();
Symbol 4817 MovieClip Frame 88
stop();
Symbol 4817 MovieClip Frame 89
stop();
Symbol 4817 MovieClip Frame 90
stop();
Symbol 4817 MovieClip Frame 91
stop();
Symbol 4817 MovieClip Frame 92
stop();
Symbol 4817 MovieClip Frame 93
stop();
Symbol 4817 MovieClip Frame 94
stop();
Symbol 4817 MovieClip Frame 95
stop();
Symbol 4817 MovieClip Frame 96
stop();
Symbol 4817 MovieClip Frame 97
stop();
Symbol 4817 MovieClip Frame 98
stop();
Symbol 4817 MovieClip Frame 99
stop();
Symbol 4900 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 4900 MovieClip Frame 2
stop();
Symbol 4900 MovieClip Frame 3
stop();
Symbol 4900 MovieClip Frame 4
stop();
Symbol 4900 MovieClip Frame 5
stop();
Symbol 4900 MovieClip Frame 6
stop();
Symbol 4900 MovieClip Frame 7
stop();
Symbol 4900 MovieClip Frame 8
stop();
Symbol 4900 MovieClip Frame 9
stop();
Symbol 4900 MovieClip Frame 10
stop();
Symbol 4900 MovieClip Frame 11
stop();
Symbol 4900 MovieClip Frame 12
stop();
Symbol 4900 MovieClip Frame 13
stop();
Symbol 4900 MovieClip Frame 14
stop();
Symbol 4900 MovieClip Frame 15
stop();
Symbol 4900 MovieClip Frame 16
stop();
Symbol 4900 MovieClip Frame 17
stop();
Symbol 4900 MovieClip Frame 18
stop();
Symbol 4900 MovieClip Frame 19
stop();
Symbol 4900 MovieClip Frame 20
stop();
Symbol 4900 MovieClip Frame 21
stop();
Symbol 4900 MovieClip Frame 22
stop();
Symbol 4900 MovieClip Frame 23
stop();
Symbol 4900 MovieClip Frame 24
stop();
Symbol 4900 MovieClip Frame 25
stop();
Symbol 4900 MovieClip Frame 26
stop();
Symbol 4900 MovieClip Frame 27
stop();
Symbol 4900 MovieClip Frame 28
stop();
Symbol 4900 MovieClip Frame 29
stop();
Symbol 4900 MovieClip Frame 30
stop();
Symbol 4900 MovieClip Frame 31
stop();
Symbol 4900 MovieClip Frame 32
stop();
Symbol 4900 MovieClip Frame 33
stop();
Symbol 4900 MovieClip Frame 34
stop();
Symbol 4900 MovieClip Frame 35
stop();
Symbol 4900 MovieClip Frame 36
stop();
Symbol 4900 MovieClip Frame 37
stop();
Symbol 4900 MovieClip Frame 38
stop();
Symbol 4900 MovieClip Frame 39
stop();
Symbol 4900 MovieClip Frame 40
stop();
Symbol 4900 MovieClip Frame 41
stop();
Symbol 4900 MovieClip Frame 42
stop();
Symbol 4900 MovieClip Frame 43
stop();
Symbol 4900 MovieClip Frame 44
stop();
Symbol 4900 MovieClip Frame 45
stop();
Symbol 4900 MovieClip Frame 46
stop();
Symbol 4900 MovieClip Frame 47
stop();
Symbol 4900 MovieClip Frame 48
stop();
Symbol 4900 MovieClip Frame 49
stop();
Symbol 4900 MovieClip Frame 50
stop();
Symbol 4900 MovieClip Frame 51
stop();
Symbol 4900 MovieClip Frame 52
stop();
Symbol 4900 MovieClip Frame 53
stop();
Symbol 4900 MovieClip Frame 54
stop();
Symbol 4900 MovieClip Frame 55
stop();
Symbol 4900 MovieClip Frame 56
stop();
Symbol 4900 MovieClip Frame 57
stop();
Symbol 4900 MovieClip Frame 58
stop();
Symbol 4900 MovieClip Frame 59
stop();
Symbol 4900 MovieClip Frame 60
stop();
Symbol 4900 MovieClip Frame 61
stop();
Symbol 4900 MovieClip Frame 62
stop();
Symbol 4900 MovieClip Frame 63
stop();
Symbol 4900 MovieClip Frame 64
stop();
Symbol 4900 MovieClip Frame 65
stop();
Symbol 4900 MovieClip Frame 66
stop();
Symbol 4900 MovieClip Frame 67
stop();
Symbol 4900 MovieClip Frame 68
stop();
Symbol 4900 MovieClip Frame 69
stop();
Symbol 4900 MovieClip Frame 70
stop();
Symbol 4900 MovieClip Frame 71
stop();
Symbol 4900 MovieClip Frame 72
stop();
Symbol 4900 MovieClip Frame 73
stop();
Symbol 4900 MovieClip Frame 74
stop();
Symbol 4900 MovieClip Frame 75
stop();
Symbol 4900 MovieClip Frame 76
stop();
Symbol 4900 MovieClip Frame 77
stop();
Symbol 4900 MovieClip Frame 78
stop();
Symbol 4900 MovieClip Frame 79
stop();
Symbol 4900 MovieClip Frame 80
stop();
Symbol 4900 MovieClip Frame 81
stop();
Symbol 4900 MovieClip Frame 82
stop();
Symbol 4900 MovieClip Frame 83
stop();
Symbol 4900 MovieClip Frame 84
stop();
Symbol 4900 MovieClip Frame 85
stop();
Symbol 4900 MovieClip Frame 86
stop();
Symbol 4900 MovieClip Frame 87
stop();
Symbol 4900 MovieClip Frame 88
stop();
Symbol 4900 MovieClip Frame 89
stop();
Symbol 4900 MovieClip Frame 90
stop();
Symbol 4900 MovieClip Frame 91
stop();
Symbol 4900 MovieClip Frame 92
stop();
Symbol 4900 MovieClip Frame 93
stop();
Symbol 4900 MovieClip Frame 94
stop();
Symbol 4900 MovieClip Frame 95
stop();
Symbol 4900 MovieClip Frame 96
stop();
Symbol 4900 MovieClip Frame 97
stop();
Symbol 4900 MovieClip Frame 98
stop();
Symbol 4900 MovieClip Frame 99
stop();
Symbol 4900 MovieClip Frame 100
stop();
Symbol 4900 MovieClip Frame 101
stop();
Symbol 5003 MovieClip Frame 1
switch (_parent._parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 11, 18, 25, 26, 27, 33, 35, 38, 44, 45, 47, 54, 57, 59, 73, 98, 98, 98, 99, 99);
break;
case "trailer" :
this.shirtDesign_arr = new Array(5, 20, 22, 21, 26, 31, 39, 40, 41, 46, 48, 49, 50, 51, 53, 52, 56, 29, 59, 60, 68, 70, 74, 75, 76, 77, 82, 83, 84, 85, 86, 89, 90, 97, 97);
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 32, 30, 37, 56, 92, 93, 93, 94, 94, 95, 95, 96, 96);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 7, 9, 10, 14, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 30, 32, 33, 35, 41, 44, 45, 46, 47, 48, 50, 53, 54, 58, 59, 61, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 78, 79, 82, 84, 87, 88, 90, 92);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 9, 10, 11, 15, 18, 22, 23, 25, 29, 32, 33, 36, 40, 56, 60, 66, 69, 70, 71, 52, 72, 76, 79, 80, 81, 86);
break;
case "goth" :
this.shirtDesign_arr = new Array(28, 29, 35, 42, 43, 47, 52, 53, 72, 88, 91);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 22, 24, 27, 33, 35, 41, 42, 44, 47, 50, 61, 62, 63, 66, 67, 69, 73, 78, 97);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 4, 5, 6, 14, 15, 16, 24, 26, 28, 34, 40, 41, 45, 52, 55, 72, 79, 85, 86, 87, 89, 88);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 41, 45, 46, 47, 48, 49, 50, 51, 52, 55, 56, 58, 59, 60, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 98, 99);
break;
case "sporty" :
this.shirtDesign_arr = new Array(99, 99, 99);
break;
case "hippie" :
this.shirtDesign_arr = new Array(11, 13, 18, 24, 25, 27, 33, 41, 44, 55, 60, 61, 64, 71, 76);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5003 MovieClip Frame 2
stop();
Symbol 5003 MovieClip Frame 3
stop();
Symbol 5003 MovieClip Frame 4
stop();
Symbol 5003 MovieClip Frame 5
stop();
Symbol 5003 MovieClip Frame 6
stop();
Symbol 5003 MovieClip Frame 7
stop();
Symbol 5003 MovieClip Frame 8
stop();
Symbol 5003 MovieClip Frame 9
stop();
Symbol 5003 MovieClip Frame 10
stop();
Symbol 5003 MovieClip Frame 11
stop();
Symbol 5003 MovieClip Frame 12
stop();
Symbol 5003 MovieClip Frame 13
stop();
Symbol 5003 MovieClip Frame 14
stop();
Symbol 5003 MovieClip Frame 15
stop();
Symbol 5003 MovieClip Frame 16
stop();
Symbol 5003 MovieClip Frame 17
stop();
Symbol 5003 MovieClip Frame 18
stop();
Symbol 5003 MovieClip Frame 19
stop();
Symbol 5003 MovieClip Frame 20
stop();
Symbol 5003 MovieClip Frame 21
stop();
Symbol 5003 MovieClip Frame 22
stop();
Symbol 5003 MovieClip Frame 23
stop();
Symbol 5003 MovieClip Frame 24
stop();
Symbol 5003 MovieClip Frame 25
stop();
Symbol 5003 MovieClip Frame 26
stop();
Symbol 5003 MovieClip Frame 27
stop();
Symbol 5003 MovieClip Frame 28
stop();
Symbol 5003 MovieClip Frame 29
stop();
Symbol 5003 MovieClip Frame 30
stop();
Symbol 5003 MovieClip Frame 31
stop();
Symbol 5003 MovieClip Frame 32
stop();
Symbol 5003 MovieClip Frame 33
stop();
Symbol 5003 MovieClip Frame 34
stop();
Symbol 5003 MovieClip Frame 35
stop();
Symbol 5003 MovieClip Frame 36
stop();
Symbol 5003 MovieClip Frame 37
stop();
Symbol 5003 MovieClip Frame 38
stop();
Symbol 5003 MovieClip Frame 39
stop();
Symbol 5003 MovieClip Frame 40
stop();
Symbol 5003 MovieClip Frame 41
stop();
Symbol 5003 MovieClip Frame 42
stop();
Symbol 5003 MovieClip Frame 43
stop();
Symbol 5003 MovieClip Frame 44
stop();
Symbol 5003 MovieClip Frame 45
stop();
Symbol 5003 MovieClip Frame 46
stop();
Symbol 5003 MovieClip Frame 47
stop();
Symbol 5003 MovieClip Frame 48
stop();
Symbol 5003 MovieClip Frame 49
stop();
Symbol 5003 MovieClip Frame 50
stop();
Symbol 5003 MovieClip Frame 51
stop();
Symbol 5003 MovieClip Frame 52
stop();
Symbol 5003 MovieClip Frame 53
stop();
Symbol 5003 MovieClip Frame 54
stop();
Symbol 5003 MovieClip Frame 55
stop();
Symbol 5003 MovieClip Frame 56
stop();
Symbol 5003 MovieClip Frame 57
stop();
Symbol 5003 MovieClip Frame 58
stop();
Symbol 5003 MovieClip Frame 59
stop();
Symbol 5003 MovieClip Frame 60
stop();
Symbol 5003 MovieClip Frame 61
stop();
Symbol 5003 MovieClip Frame 62
stop();
Symbol 5003 MovieClip Frame 63
stop();
Symbol 5003 MovieClip Frame 64
stop();
Symbol 5003 MovieClip Frame 65
stop();
Symbol 5003 MovieClip Frame 66
stop();
Symbol 5003 MovieClip Frame 67
stop();
Symbol 5003 MovieClip Frame 68
stop();
Symbol 5003 MovieClip Frame 69
stop();
Symbol 5003 MovieClip Frame 70
stop();
Symbol 5003 MovieClip Frame 71
stop();
Symbol 5003 MovieClip Frame 72
stop();
Symbol 5003 MovieClip Frame 73
stop();
Symbol 5003 MovieClip Frame 74
stop();
Symbol 5003 MovieClip Frame 75
stop();
Symbol 5003 MovieClip Frame 76
stop();
Symbol 5003 MovieClip Frame 77
stop();
Symbol 5003 MovieClip Frame 78
stop();
Symbol 5003 MovieClip Frame 79
stop();
Symbol 5003 MovieClip Frame 80
stop();
Symbol 5003 MovieClip Frame 81
stop();
Symbol 5003 MovieClip Frame 82
stop();
Symbol 5003 MovieClip Frame 83
stop();
Symbol 5003 MovieClip Frame 84
stop();
Symbol 5003 MovieClip Frame 85
stop();
Symbol 5003 MovieClip Frame 86
stop();
Symbol 5003 MovieClip Frame 87
stop();
Symbol 5003 MovieClip Frame 88
stop();
Symbol 5003 MovieClip Frame 89
stop();
Symbol 5003 MovieClip Frame 90
stop();
Symbol 5003 MovieClip Frame 91
stop();
Symbol 5003 MovieClip Frame 92
stop();
Symbol 5003 MovieClip Frame 93
stop();
Symbol 5003 MovieClip Frame 94
stop();
Symbol 5003 MovieClip Frame 95
stop();
Symbol 5003 MovieClip Frame 96
stop();
Symbol 5003 MovieClip Frame 97
stop();
Symbol 5003 MovieClip Frame 98
stop();
Symbol 5003 MovieClip Frame 99
stop();
Symbol 5004 MovieClip Frame 1
switch (_parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 4, 5, 6, 7, 8);
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 3, 5, 7);
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 6, 7, 8);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6, 7, 8);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 8);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 7);
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8);
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 2);
break;
case "office" :
this.shirtDesign_arr = new Array(1, 2);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 2, 3, 6, 7);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5004 MovieClip Frame 2
stop();
Symbol 5004 MovieClip Frame 3
stop();
Symbol 5004 MovieClip Frame 4
stop();
Symbol 5004 MovieClip Frame 5
stop();
Symbol 5004 MovieClip Frame 6
stop();
Symbol 5004 MovieClip Frame 7
stop();
Symbol 5004 MovieClip Frame 8
stop();
Symbol 5017 MovieClip Frame 1
switch (_parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 4, 5, 6);
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 3, 5);
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 6);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 5, 6);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6);
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 2);
break;
case "office" :
this.shirtDesign_arr = new Array(1, 2);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 2, 3, 6);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
_parent._parent._parent.sleeve1.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent._parent.sleeve2.gotoAndStop(this.shirtDesign_arr[desRand]);
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5017 MovieClip Frame 2
stop();
Symbol 5017 MovieClip Frame 3
stop();
Symbol 5017 MovieClip Frame 4
stop();
Symbol 5017 MovieClip Frame 5
stop();
Symbol 5017 MovieClip Frame 6
stop();
Symbol 5044 MovieClip Frame 1
stopRand = Math.round(Math.random() * 4) + 1;
this.gotoAndStop(stopRand);
stop();
Symbol 5044 MovieClip Frame 2
stop();
Symbol 5044 MovieClip Frame 3
stop();
Symbol 5044 MovieClip Frame 4
stop();
Symbol 5044 MovieClip Frame 5
stop();
Symbol 5051 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 1, 2, 2, 4, 5, 6, 7, 11);
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 1, 2, 2, 4, 4);
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2, 8, 9, 10, 11, 6, 7, 12);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 1, 1, 1, 2, 4, 5, 6, 7);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 2, 4, 5, 6, 7, 9, 8, 10, 11, 12);
break;
case "goth" :
this.shirtDesign_arr = new Array(2, 4, 5, 7, 8);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 4, 5);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 2, 6, 7, 13, 14, 15, 16);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(13, 14, 15);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 2);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 2, 4, 6);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
_parent._parent.rightUpperArm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent.leftUpperArm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent.leftForearm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent.rightForearm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5051 MovieClip Frame 2
stop();
Symbol 5051 MovieClip Frame 3
stop();
Symbol 5051 MovieClip Frame 4
stop();
Symbol 5051 MovieClip Frame 5
stop();
Symbol 5051 MovieClip Frame 6
stop();
Symbol 5051 MovieClip Frame 7
stop();
Symbol 5051 MovieClip Frame 8
stop();
Symbol 5051 MovieClip Frame 9
stop();
Symbol 5051 MovieClip Frame 10
stop();
Symbol 5051 MovieClip Frame 11
stop();
Symbol 5051 MovieClip Frame 12
stop();
Symbol 5051 MovieClip Frame 13
stop();
Symbol 5051 MovieClip Frame 14
stop();
Symbol 5051 MovieClip Frame 15
stop();
Symbol 5051 MovieClip Frame 16
stop();
Symbol 5060 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5060 MovieClip Frame 2
stop();
Symbol 5060 MovieClip Frame 3
stop();
Symbol 5060 MovieClip Frame 4
stop();
Symbol 5060 MovieClip Frame 5
stop();
Symbol 5066 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 3, 4);
this.probability = 10;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 3, 4);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 4);
this.probability = 5;
break;
case "rocker" :
this.shirtDesign_arr = new Array(2, 3, 4);
this.probability = 5;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 1, 1);
this.probability = 5;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 1, 1);
this.probability = 5;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 4);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 1, 1, 2);
this.probability = 4;
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 1, 1, 1, 2);
this.probability = 5;
case "office" :
this.shirtDesign_arr = new Array(1, 1, 1, 1, 1);
this.probability = 5;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 1, 1, 1, 1);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 1, 4, 1, 1);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 1, 1, 4, 1);
this.probability = 5;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 1, 1, 1);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1, 1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5066 MovieClip Frame 2
stop();
Symbol 5066 MovieClip Frame 3
stop();
Symbol 5066 MovieClip Frame 4
stop();
Symbol 5066 MovieClip Frame 5
stop();
Symbol 5079 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 3, 9, 10);
this.probability = 10;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 3, 7, 9, 10, 13);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 7, 8, 9, 10, 13);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 7, 8, 12, 13);
this.probability = 25;
break;
case "raver" :
this.shirtDesign_arr = new Array(2, 3, 4, 6, 11, 12);
this.probability = 15;
break;
case "goth" :
this.shirtDesign_arr = new Array(5, 7, 8, 10);
this.probability = 5;
break;
case "punk" :
this.shirtDesign_arr = new Array(5, 6, 7, 13);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(10, 10);
this.probability = 5;
break;
case "formal" :
this.shirtDesign_arr = new Array(9, 10);
this.probability = 10;
case "office" :
this.shirtDesign_arr = new Array(9, 10);
this.probability = 10;
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 7, 8, 9, 10, 13);
this.probability = 5;
break;
case "sporty" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 13);
this.probability = 20;
break;
case "hippie" :
this.shirtDesign_arr = new Array(12, 7);
this.probability = 10;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1, 2);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5079 MovieClip Frame 2
stop();
Symbol 5079 MovieClip Frame 3
stop();
Symbol 5079 MovieClip Frame 4
stop();
Symbol 5079 MovieClip Frame 5
stop();
Symbol 5079 MovieClip Frame 6
stop();
Symbol 5079 MovieClip Frame 7
stop();
Symbol 5079 MovieClip Frame 8
stop();
Symbol 5079 MovieClip Frame 9
stop();
Symbol 5079 MovieClip Frame 10
stop();
Symbol 5079 MovieClip Frame 11
stop();
Symbol 5079 MovieClip Frame 12
stop();
Symbol 5079 MovieClip Frame 13
stop();
Symbol 5079 MovieClip Frame 14
stop();
Symbol 5083 MovieClip Frame 1
stop();
Symbol 5083 MovieClip Frame 2
stop();
Symbol 5083 MovieClip Frame 3
stop();
Symbol 5083 MovieClip Frame 4
stop();
Symbol 5083 MovieClip Frame 5
stop();
Symbol 5083 MovieClip Frame 6
stop();
Symbol 5083 MovieClip Frame 7
stop();
Symbol 5083 MovieClip Frame 8
stop();
Symbol 5083 MovieClip Frame 9
stop();
Symbol 5083 MovieClip Frame 10
stop();
Symbol 5083 MovieClip Frame 11
stop();
Symbol 5083 MovieClip Frame 12
stop();
Symbol 5083 MovieClip Frame 13
stop();
Symbol 5083 MovieClip Frame 14
stop();
Symbol 5083 MovieClip Frame 15
stop();
Symbol 5083 MovieClip Frame 16
stop();
Symbol 5088 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5088 MovieClip Frame 2
stop();
Symbol 5088 MovieClip Frame 3
stop();
Symbol 5088 MovieClip Frame 4
stop();
Symbol 5088 MovieClip Frame 5
stop();
Symbol 5108 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 5, 8, 9, 10, 11, 12, 13, 14, 17, 18);
this.probability = 10;
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 3, 8, 9, 10, 11, 12, 13, 14, 15, 18, 18);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 8, 9, 10, 11, 12, 14, 19);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 18);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 4, 8, 9, 10, 11, 12, 13, 14, 18);
this.probability = 10;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18);
this.probability = 60;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 18);
this.probability = 30;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 6, 8, 9, 10, 11, 12, 13, 14);
this.probability = 10;
break;
case "formal" :
this.shirtDesign_arr = new Array(2, 3, 6, 18);
this.probability = 20;
case "office" :
this.shirtDesign_arr = new Array(2, 3, 6, 18);
this.probability = 10;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14, 18);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 9, 10, 11, 12, 8, 13, 14);
this.probability = 10;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 9, 10, 11, 12, 13, 14, 18);
this.probability = 10;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 6, 8, 10, 11, 12, 14);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5108 MovieClip Frame 2
stop();
Symbol 5108 MovieClip Frame 3
stop();
Symbol 5108 MovieClip Frame 4
stop();
Symbol 5108 MovieClip Frame 5
stop();
Symbol 5108 MovieClip Frame 6
stop();
Symbol 5108 MovieClip Frame 7
stop();
Symbol 5108 MovieClip Frame 8
stop();
Symbol 5108 MovieClip Frame 9
stop();
Symbol 5108 MovieClip Frame 10
stop();
Symbol 5108 MovieClip Frame 11
stop();
Symbol 5108 MovieClip Frame 12
stop();
Symbol 5108 MovieClip Frame 13
stop();
Symbol 5108 MovieClip Frame 14
stop();
Symbol 5108 MovieClip Frame 15
stop();
Symbol 5108 MovieClip Frame 16
stop();
Symbol 5108 MovieClip Frame 17
stop();
Symbol 5108 MovieClip Frame 18
stop();
Symbol 5108 MovieClip Frame 19
stop();
Symbol 5113 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5113 MovieClip Frame 2
stop();
Symbol 5113 MovieClip Frame 3
stop();
Symbol 5113 MovieClip Frame 4
stop();
Symbol 5113 MovieClip Frame 5
stop();
Symbol 5124 MovieClip Frame 1
this.gotoAndStop(Math.round(Math.random() * 4) + 1);
stop();
Symbol 5124 MovieClip Frame 2
stop();
Symbol 5124 MovieClip Frame 3
stop();
Symbol 5124 MovieClip Frame 4
stop();
Symbol 5124 MovieClip Frame 5
stop();
Symbol 5143 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7);
this.probability = 25;
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 5, 7, 8);
this.probability = 30;
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 3);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8);
this.probability = 25;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 7);
this.probability = 10;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 6, 7, 4);
this.probability = 10;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 8);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 3, 7);
this.probability = 10;
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 2);
this.probability = 10;
case "office" :
this.shirtDesign_arr = new Array(1, 2, 3, 4);
this.probability = 10;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 7, 8, 9);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6);
this.probability = 10;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8);
this.probability = 20;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(9, 9);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5143 MovieClip Frame 2
stop();
Symbol 5143 MovieClip Frame 3
stop();
Symbol 5143 MovieClip Frame 4
stop();
Symbol 5143 MovieClip Frame 5
stop();
Symbol 5143 MovieClip Frame 6
stop();
Symbol 5143 MovieClip Frame 7
stop();
Symbol 5143 MovieClip Frame 8
stop();
Symbol 5143 MovieClip Frame 9
stop();
Symbol 5160 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 5, 8, 9);
this.probability = 25;
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 7, 8);
this.probability = 60;
break;
case "sorority" :
this.shirtDesign_arr = new Array(5, 9);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 8);
this.probability = 25;
break;
case "raver" :
this.shirtDesign_arr = new Array(6, 8);
this.probability = 10;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 5);
this.probability = 10;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 8);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 6, 8);
this.probability = 10;
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 7);
this.probability = 10;
case "office" :
this.shirtDesign_arr = new Array(1, 5);
this.probability = 10;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 7, 8, 9, 10);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 5);
this.probability = 10;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 6, 7, 8);
this.probability = 20;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(9, 9);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5160 MovieClip Frame 2
stop();
Symbol 5160 MovieClip Frame 3
stop();
Symbol 5160 MovieClip Frame 4
stop();
Symbol 5160 MovieClip Frame 5
stop();
Symbol 5160 MovieClip Frame 6
stop();
Symbol 5160 MovieClip Frame 7
stop();
Symbol 5160 MovieClip Frame 8
stop();
Symbol 5160 MovieClip Frame 9
stop();
Symbol 5179 MovieClip Frame 1
stop();
Symbol 5179 MovieClip Frame 2
stop();
Symbol 5179 MovieClip Frame 3
stop();
Symbol 5179 MovieClip Frame 4
stop();
Symbol 5179 MovieClip Frame 5
stop();
Symbol 5179 MovieClip Frame 6
stop();
Symbol 5179 MovieClip Frame 7
stop();
Symbol 5179 MovieClip Frame 8
stop();
Symbol 5179 MovieClip Frame 9
stop();
Symbol 5179 MovieClip Frame 10
stop();
Symbol 5206 MovieClip Frame 1
stop();
Symbol 5206 MovieClip Frame 2
stop();
Symbol 5206 MovieClip Frame 3
stop();
Symbol 5206 MovieClip Frame 4
stop();
Symbol 5206 MovieClip Frame 5
stop();
Symbol 5206 MovieClip Frame 6
stop();
Symbol 5206 MovieClip Frame 7
stop();
Symbol 5206 MovieClip Frame 8
stop();
Symbol 5206 MovieClip Frame 9
if (angryEyes.cacheAsBitmap != true) {
angryEyes.cacheAsBitmap = true;
}
stop();
Symbol 5206 MovieClip Frame 10
stop();
Symbol 5215 MovieClip Frame 1
stop();
Symbol 5215 MovieClip Frame 2
this.onEnterFrame = function () {
if (_global.specials.specialsActive) {
this.play();
this.onEnterFrame = null;
}
};
Symbol 5215 MovieClip Frame 9
if (_global.specials.specialsActive != true) {
_parent.eyes._visible = true;
this.gotoAndStop(1);
} else {
this.gotoAndPlay(2);
}
Symbol 5228 MovieClip Frame 1
switch (_parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(3, 5, 8);
this.probability = 10;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 2, 2, 3, 11);
this.probability = 15;
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 3, 3);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(2, 10, 11);
this.probability = 10;
break;
case "raver" :
this.shirtDesign_arr = new Array(3, 10);
this.probability = 10;
break;
case "goth" :
this.shirtDesign_arr = new Array(10, 10);
this.probability = 10;
break;
case "punk" :
this.shirtDesign_arr = new Array(2, 10, 10, 11);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(3, 10);
this.probability = 50;
break;
case "formal" :
this.shirtDesign_arr = new Array(3, 10);
this.probability = 5;
break;
case "office" :
this.shirtDesign_arr = new Array(3, 10);
this.probability = 20;
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 3, 10);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(2, 2, 8);
this.probability = 10;
break;
case "hippie" :
this.shirtDesign_arr = new Array(2, 2, 2, 8);
this.probability = 15;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(7, 10);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5228 MovieClip Frame 2
stop();
Symbol 5228 MovieClip Frame 3
stop();
Symbol 5228 MovieClip Frame 4
stop();
Symbol 5228 MovieClip Frame 5
stop();
Symbol 5228 MovieClip Frame 6
stop();
Symbol 5228 MovieClip Frame 7
stop();
Symbol 5228 MovieClip Frame 8
stop();
Symbol 5228 MovieClip Frame 9
stop();
Symbol 5228 MovieClip Frame 10
stop();
Symbol 5228 MovieClip Frame 11
stop();
Symbol 5228 MovieClip Frame 12
stop();
Symbol 5228 MovieClip Frame 13
stop();
Symbol 5228 MovieClip Frame 14
stop();
Symbol 5228 MovieClip Frame 15
stop();
Symbol 5239 MovieClip Frame 1
switch (_parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 8, 9);
this.probability = 50;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 4);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(3, 9);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 9);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 7, 10, 8);
this.probability = 50;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 9);
this.probability = 80;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 9);
this.probability = 50;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 2, 4);
this.probability = 50;
break;
case "formal" :
this.shirtDesign_arr = new Array(3, 9);
this.probability = 10;
case "office" :
this.shirtDesign_arr = new Array(12, 13);
this.probability = 0;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 7, 8, 9, 10);
this.probability = 20;
break;
case "sporty" :
this.shirtDesign_arr = new Array(9);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 4, 6, 9);
this.probability = 20;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 8, 9);
this.probability = 15;
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5239 MovieClip Frame 2
stop();
Symbol 5239 MovieClip Frame 3
stop();
Symbol 5239 MovieClip Frame 4
stop();
Symbol 5239 MovieClip Frame 5
stop();
Symbol 5239 MovieClip Frame 6
stop();
Symbol 5239 MovieClip Frame 7
stop();
Symbol 5239 MovieClip Frame 8
stop();
Symbol 5239 MovieClip Frame 9
stop();
Symbol 5239 MovieClip Frame 10
stop();
Symbol 5239 MovieClip Frame 11
stop();
Symbol 5251 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 6);
if (_parent._parent._parent.raceIndex == 4) {
this.shirtDesign_arr.push(4, 5);
}
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 6);
break;
case "sorority" :
this.shirtDesign_arr = new Array(6, 6);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 6, 6);
break;
case "raver" :
this.shirtDesign_arr = new Array(6, 6);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 6, 6);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 6, 6, 6);
break;
case "nerd" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
case "office" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
case "plain" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
case "sporty" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
case "hippie" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(6, 6, 6);
break;
default :
this.shirtDesign_arr = new Array(2);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5251 MovieClip Frame 2
stop();
Symbol 5251 MovieClip Frame 3
stop();
Symbol 5251 MovieClip Frame 4
stop();
Symbol 5251 MovieClip Frame 5
stop();
Symbol 5251 MovieClip Frame 6
stop();
Symbol 5286 MovieClip Frame 1
this.gotoAndStop(Math.round(Math.random() * 4) + 1);
Symbol 5286 MovieClip Frame 2
stop();
Symbol 5286 MovieClip Frame 3
stop();
Symbol 5286 MovieClip Frame 4
stop();
Symbol 5286 MovieClip Frame 5
stop();
Symbol 5286 MovieClip Frame 6
stop();
Symbol 5293 MovieClip Frame 1
this.gotoAndStop(Math.round(Math.random() * 3) + 1);
Symbol 5293 MovieClip Frame 2
stop();
Symbol 5293 MovieClip Frame 3
stop();
Symbol 5293 MovieClip Frame 4
stop();
Symbol 5328 MovieClip Frame 1
switch (_parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 5, 6, 10, 16, 34, 35, 21);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(37, 28, 4);
}
if (_parent._parent.raceIndex == 1) {
this.shirtDesign_arr.push(2, 3, 17, 18, 24);
}
if (_parent._parent.raceIndex == 2) {
this.shirtDesign_arr.push(2, 3, 17, 18, 24);
}
if (_parent._parent.raceIndex == 4) {
this.shirtDesign_arr.push(7, 24, 17, 5, 5, 5);
}
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 5, 6, 19, 20, 21, 22, 23);
if ((_parent._parent.raceIndex != 3) && (_parent._parent.raceIndex != 4)) {
this.shirtDesign_arr.push(2, 3, 7, 8, 9, 15, 29, 18, 39, 39);
}
break;
case "sorority" :
this.shirtDesign_arr = new Array(6, 2);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(4, 7, 10, 17, 34, 35, 38);
}
if (_parent._parent.raceIndex == 1) {
this.shirtDesign_arr.push(2, 3, 8, 9, 15, 17, 26, 29, 30, 33);
}
if (_parent._parent.raceIndex == 2) {
this.shirtDesign_arr.push(2, 3, 8, 9, 15, 17, 26, 29, 30, 33);
}
if (_parent._parent.raceIndex == 4) {
this.shirtDesign_arr.push(2, 3, 8, 9, 15, 17, 26, 29, 30, 33);
}
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 28, 14, 15, 19, 20, 21, 22, 33, 31, 32, 30, 26);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(16, 16, 16, 16, 10, 10, 10, 10, 10, 10, 10, 4, 4, 4, 4);
}
break;
case "raver" :
this.shirtDesign_arr = new Array(2, 5, 6, 14, 25, 31, 32, 34, 33, 35);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(10, 4);
}
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 3, 5, 6, 13, 14, 17, 27, 28, 31, 30, 33, 36, 36, 36);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 5, 6, 12, 13, 25, 27, 28, 33, 38);
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 17);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(4, 6, 6, 8, 10, 34, 35, 37, 37, 37, 37);
} else {
this.shirtDesign_arr.push(2, 3, 8, 9, 14, 15, 29, 30, 33);
}
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 2);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(4, 17, 10, 34, 5, 35);
} else {
this.shirtDesign_arr.push(3, 8, 9, 14, 15, 17, 26, 29, 30, 33);
}
break;
case "office" :
this.shirtDesign_arr = new Array(2, 6);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(34, 10, 17);
} else {
this.shirtDesign_arr.push(8, 9, 3, 29, 33);
}
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 4, 6);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(10, 5, 6, 1, 17, 34, 35);
} else {
this.shirtDesign_arr.push(2, 3, 7, 8, 9, 10, 33, 36, 37, 38);
}
break;
case "sporty" :
this.shirtDesign_arr = new Array(38, 6, 1);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(4, 5, 6, 10, 16, 28, 34, 35, 21);
} else {
this.shirtDesign_arr.push(2, 3, 5, 6, 7, 17, 21, 24, 28, 29);
}
break;
case "hippie" :
this.shirtDesign_arr = new Array(8, 10, 4, 16, 29, 30, 32, 33, 34, 35, 5);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 4);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(5, 6, 7, 8);
} else {
this.shirtDesign_arr.push(5, 8, 6, 7);
}
break;
default :
this.shirtDesign_arr = new Array(2);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
_parent.hairUnder.gotoAndStop(this.shirtDesign_arr[desRand]);
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5328 MovieClip Frame 2
stop();
Symbol 5328 MovieClip Frame 3
stop();
Symbol 5328 MovieClip Frame 4
stop();
Symbol 5328 MovieClip Frame 5
stop();
Symbol 5328 MovieClip Frame 6
stop();
Symbol 5328 MovieClip Frame 7
stop();
Symbol 5328 MovieClip Frame 8
stop();
Symbol 5328 MovieClip Frame 9
stop();
Symbol 5328 MovieClip Frame 10
stop();
Symbol 5328 MovieClip Frame 11
stop();
Symbol 5328 MovieClip Frame 12
stop();
Symbol 5328 MovieClip Frame 13
stop();
Symbol 5328 MovieClip Frame 14
stop();
Symbol 5328 MovieClip Frame 15
stop();
Symbol 5328 MovieClip Frame 16
stop();
Symbol 5328 MovieClip Frame 17
stop();
Symbol 5328 MovieClip Frame 18
stop();
Symbol 5328 MovieClip Frame 19
stop();
Symbol 5328 MovieClip Frame 20
stop();
Symbol 5328 MovieClip Frame 21
stop();
Symbol 5328 MovieClip Frame 22
stop();
Symbol 5328 MovieClip Frame 23
stop();
Symbol 5328 MovieClip Frame 24
stop();
Symbol 5328 MovieClip Frame 25
stop();
Symbol 5328 MovieClip Frame 26
stop();
Symbol 5328 MovieClip Frame 27
stop();
Symbol 5328 MovieClip Frame 28
stop();
Symbol 5328 MovieClip Frame 29
stop();
Symbol 5328 MovieClip Frame 30
stop();
Symbol 5328 MovieClip Frame 31
stop();
Symbol 5328 MovieClip Frame 32
stop();
Symbol 5328 MovieClip Frame 33
stop();
Symbol 5328 MovieClip Frame 34
stop();
Symbol 5328 MovieClip Frame 35
stop();
Symbol 5328 MovieClip Frame 36
stop();
Symbol 5328 MovieClip Frame 37
stop();
Symbol 5328 MovieClip Frame 38
stop();
Symbol 5328 MovieClip Frame 39
stop();
Symbol 5329 MovieClip Frame 1
stop();
Symbol 5331 MovieClip Frame 1
this.clickCount = 0;
this.onRelease = function () {
if (_parent._parent._parent.drinkOrder.drinkTitle != "Beer") {
if (this.clickCount == 1) {
this.clickCount = 2;
_parent.recipe_mc.popUp();
}
if (this.clickCount == 0) {
this.clickCount = 1;
}
} else {
if (this.clickCount == 1) {
this.clickCount = 2;
_global.beerBottleInstance.hintArrow_mc.play();
_global.beerBottleInstance.hintArrow = true;
if (_global.tutorialDisplay.waitingOnBeerDoubleClick == true) {
_global.tutorialDisplay.nextFrame();
}
}
if (this.clickCount == 0) {
this.clickCount = 1;
}
}
};
this.onRollOut = function () {
this.clickCount = 0;
};
Symbol 5340 MovieClip Frame 1
this.onPress = function () {
_parent._parent.gotoAndPlay(11);
};
Symbol 5349 MovieClip Frame 1
stop();
Symbol 5349 MovieClip Frame 2
stop();
Symbol 5349 MovieClip Frame 3
stop();
Symbol 5349 MovieClip Frame 4
stop();
Symbol 5349 MovieClip Frame 5
stop();
Symbol 5354 MovieClip Frame 1
this.onPress = function () {
if (!(_parent._parent.indicating === undefined)) {
_parent._parent.indicating.hintArrow = false;
}
for (i in _parent._parent._parent._parent._parent._parent._parent._parent.bottle_arr) {
if (_parent._parent._parent._parent._parent._parent._parent._parent.bottle_arr[i].ing.fullTitle == _parent.ing.fullTitle) {
_parent._parent._parent._parent._parent._parent._parent._parent.bottle_arr[i].hintArrow = true;
_parent._parent._parent._parent._parent._parent._parent._parent.bottle_arr[i].hintArrow_mc.gotoAndPlay(2);
_parent._parent._parent._parent._parent._parent._parent._parent.bottle_arr[i].hintArrow_mc.initiator = this;
_parent._parent.indicating = _parent._parent._parent._parent._parent._parent._parent._parent.bottle_arr[i];
}
}
if ((((((_parent.ing.fullTitle == "Lemon Lime Soda") || (_parent.ing.fullTitle == "Cola")) || (_parent.ing.fullTitle == "Tonic Water")) || (_parent.ing.fullTitle == "Energy Drink")) || (_parent.ing.fullTitle == "Water")) || (_parent.ing.fullTitle == "Water")) {
_global.sodaGunSelector.hintArrow = true;
_global.sodaGunSelector.hintArrow_mc.initiator = this;
_global.sodaGunSelector.hintArrow_mc.gotoAndPlay(2);
_global.sodaGunButtonIndicated = _parent.ing.fullTitle;
_parent._parent.indicating = _global.sodaGunSelector;
} else {
_global.sodaGunButtonIndicated = null;
}
if (_global.tutorialDisplay.waiting == "forVodka") {
_global.tutorialDisplay.receiveEvents("foundVodka");
}
};
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 5354 MovieClip Frame 2
stop();
Symbol 5360 MovieClip Frame 1
this.hcIng1._visible = false;
this.hcIng2._visible = false;
this.hcIng3._visible = false;
this.hcIng4._visible = false;
this.hcIng5._visible = false;
this.hcIng6._visible = false;
this.hcIng7._visible = false;
this.mixingGuide = function (drinkTitle) {
i = 0;
j = 0;
ingCt = 1;
for (i in _global.drinks) {
if (drinkTitle == _global.drinks[i].drinkTitle) {
nameText = _global.drinks[i].drinkTitle;
ingList = _global.drinks[i].ingredients[0];
ingAmt = _global.drinks[i].ingredients[1];
ingredientText = "";
if (_global.drinks[i].ingredients.length >= 7) {
this.clickClose_mc._visible = false;
}
for (j in _global.drinks[i].ingredients[0]) {
tagTag = "hcIng" + ingCt;
this[tagTag]._visible = true;
this[tagTag].ingredients_txt.text = (((ingAmt[j] + " ") + ingList[j].measure) + " ") + ingList[j].fullTitle;
this[tagTag].ing = _global.drinks[i].ingredients[0][j];
ingCt++;
}
glassID = _global.drinks[i].glassType;
_parent._parent._parent._parent._parent._parent[glassID].hintArrow = true;
_parent._parent._parent._parent._parent._parent[glassID].hintArrow_mc.play();
_parent._parent._parent._parent._parent._parent[glassID].hintArrow_mc.initiator = this;
switch (glassID) {
case "oldFashioned" :
glassText = "Old Fashioned";
break;
case "shooter" :
glassText = "Shooter";
break;
case "shotglass" :
glassText = "Shotglass";
break;
case "collins" :
glassText = "Collins";
break;
case "highball" :
glassText = "Highball";
break;
case "cocktail" :
glassText = "Cocktail";
}
switch (_global.drinks[i].garnish) {
case "cherry" :
garnishText = 1;
break;
case "olive" :
garnishText = 2;
break;
case "lemon" :
garnishText = 3;
break;
case "lime" :
garnishText = 4;
break;
default :
garnishText = 5;
}
this.glassType_txt.text = glassText;
this.garnish_mc.gotoAndStop(garnishText);
}
}
};
this.mixingGuide(_parent._parent._parent._parent.drinkOrder.drinkTitle);
Symbol 5362 MovieClip Frame 1
this.popUp = function () {
this.gotoAndPlay(2);
};
stop();
Symbol 5362 MovieClip Frame 10
stop();
Symbol 5363 MovieClip Frame 1
if (_parent._parent.drinkOrder.shortName != undefined) {
this.drinkText.text = _parent._parent.drinkOrder.shortName;
} else {
this.drinkText.text = _parent._parent.drinkOrder.drinkTitle;
}
if (this.drinkText.text == "undefined") {
this.drinkText.text = "";
}
this.levelText.text = _parent._parent.custLevel;
Symbol 5366 MovieClip Frame 1
stop();
Symbol 5366 MovieClip Frame 30
_parent._parent.play();
stop();
Symbol 5371 MovieClip Frame 1
if (_global.specials.dannySpecial != true) {
_parent.gotoAndStop(1);
}
Symbol 5371 MovieClip Frame 29
if (_global.specials.dannySpecial != true) {
_parent.gotoAndStop(1);
}
Symbol 5371 MovieClip Frame 60
if (_global.specials.dannySpecial != true) {
_parent.gotoAndStop(1);
}
Symbol 5372 MovieClip Frame 1
this.onPress = null;
Symbol 5372 MovieClip Frame 2
this.cashCount = 0;
this.onPress = function () {
if (_parent.timesRobbed == undefined) {
_parent.timesRobbed = 0;
}
_parent.timesRobbed++;
this.cashCount++;
_global.sfxLayer.sfx.stealChange.start();
cAmt = ((_parent.custLevel * (_global.playerStats.specialStat + Number(1))) / 12) + (Math.random() * (_parent.custLevel / 20));
if (_parent.timesRobbed > 10) {
cAmt = cAmt / _parent.timesRobbed;
}
cAmt = this.trailingZeros(cAmt);
_global.cashDisplay.bankScore(cAmt);
_parent.attachMovie("cashStolenPopper", "cashStolenPopper" + this.cashCount, this.getNextHighestDepth(), {_x:this._x + 22, _y:this._y - 18, cashAmount:cAmt});
this._y = Math.random() * 128;
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
stop();
Symbol 5404 MovieClip Frame 1
stop();
Symbol 5404 MovieClip Frame 2
stop();
Symbol 5404 MovieClip Frame 3
stop();
Symbol 5404 MovieClip Frame 4
stop();
Symbol 5404 MovieClip Frame 5
stop();
Symbol 5404 MovieClip Frame 6
stop();
Symbol 5404 MovieClip Frame 7
stop();
Symbol 5404 MovieClip Frame 8
stop();
Symbol 5404 MovieClip Frame 9
stop();
Symbol 5404 MovieClip Frame 10
stop();
Symbol 5404 MovieClip Frame 11
stop();
Symbol 5404 MovieClip Frame 12
stop();
Symbol 5404 MovieClip Frame 13
stop();
Symbol 5404 MovieClip Frame 14
stop();
Symbol 5404 MovieClip Frame 15
stop();
Symbol 5404 MovieClip Frame 16
stop();
Symbol 5404 MovieClip Frame 17
stop();
Symbol 5404 MovieClip Frame 18
stop();
Symbol 5404 MovieClip Frame 19
stop();
Symbol 5404 MovieClip Frame 20
stop();
Symbol 5404 MovieClip Frame 21
stop();
Symbol 5404 MovieClip Frame 22
stop();
Symbol 5404 MovieClip Frame 23
stop();
Symbol 5404 MovieClip Frame 24
stop();
Symbol 5404 MovieClip Frame 25
stop();
Symbol 5404 MovieClip Frame 26
stop();
Symbol 5404 MovieClip Frame 27
stop();
Symbol 5404 MovieClip Frame 28
stop();
Symbol 5404 MovieClip Frame 29
stop();
Symbol 5404 MovieClip Frame 30
stop();
Symbol 5404 MovieClip Frame 31
stop();
Symbol 5404 MovieClip Frame 32
stop();
Symbol 5404 MovieClip Frame 33
stop();
Symbol 5404 MovieClip Frame 34
stop();
Symbol 5404 MovieClip Frame 35
stop();
Symbol 5404 MovieClip Frame 36
stop();
Symbol 5404 MovieClip Frame 37
stop();
Symbol 5404 MovieClip Frame 38
stop();
Symbol 5404 MovieClip Frame 39
stop();
Symbol 5404 MovieClip Frame 40
stop();
Symbol 5404 MovieClip Frame 41
stop();
Symbol 5404 MovieClip Frame 42
stop();
Symbol 5404 MovieClip Frame 43
stop();
Symbol 5404 MovieClip Frame 44
stop();
Symbol 5404 MovieClip Frame 45
stop();
Symbol 5404 MovieClip Frame 46
stop();
Symbol 5404 MovieClip Frame 47
stop();
Symbol 5404 MovieClip Frame 48
stop();
Symbol 5424 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 3, 6, 8, 9, 12, 13, 14, 15, 18);
this.probability = 50;
break;
case "trailer" :
this.shirtDesign_arr = new Array(4, 10, 12, 2, 3);
this.probability = 50;
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 6, 8, 9, 12, 13, 14, 15, 16, 17, 18);
this.probability = 50;
break;
case "rocker" :
this.shirtDesign_arr = new Array(4, 5, 7, 12);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(10, 11, 5, 6, 7);
this.probability = 50;
break;
case "goth" :
this.shirtDesign_arr = new Array(2, 3, 6, 6, 7, 4, 5, 9, 12, 13, 14, 15);
this.probability = 50;
break;
case "punk" :
this.shirtDesign_arr = new Array(4, 10, 6);
this.probability = 15;
break;
case "nerd" :
this.shirtDesign_arr = new Array(4, 6, 9, 10, 13, 15, 18);
this.probability = 50;
break;
case "formal" :
this.shirtDesign_arr = new Array(2, 3, 8, 3, 13, 14, 15, 16, 17, 18);
this.probability = 50;
break;
case "office" :
this.shirtDesign_arr = new Array(6, 9, 15, 16, 17, 18);
this.probability = 50;
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18);
this.probability = 50;
break;
case "sporty" :
this.shirtDesign_arr = new Array(4, 10, 9, 13);
this.probability = 20;
break;
case "hippie" :
this.shirtDesign_arr = new Array(4, 5, 7, 13, 18);
this.probability = 50;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18);
this.probability = 50;
break;
default :
this.shirtDesign_arr = new Array(2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18);
this.probability = 50;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
if (_parent.activated != true) {
_parent.earringLeft.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent.earringRight.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent.activated = true;
}
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5424 MovieClip Frame 2
stop();
Symbol 5424 MovieClip Frame 3
stop();
Symbol 5424 MovieClip Frame 4
stop();
Symbol 5424 MovieClip Frame 5
stop();
Symbol 5424 MovieClip Frame 6
stop();
Symbol 5424 MovieClip Frame 7
stop();
Symbol 5424 MovieClip Frame 8
stop();
Symbol 5424 MovieClip Frame 9
stop();
Symbol 5424 MovieClip Frame 10
stop();
Symbol 5424 MovieClip Frame 11
stop();
Symbol 5424 MovieClip Frame 12
stop();
Symbol 5424 MovieClip Frame 13
stop();
Symbol 5424 MovieClip Frame 14
stop();
Symbol 5424 MovieClip Frame 15
stop();
Symbol 5424 MovieClip Frame 16
stop();
Symbol 5424 MovieClip Frame 17
stop();
Symbol 5424 MovieClip Frame 18
stop();
Symbol 5433 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5433 MovieClip Frame 2
stop();
Symbol 5433 MovieClip Frame 3
stop();
Symbol 5433 MovieClip Frame 4
stop();
Symbol 5433 MovieClip Frame 5
stop();
Symbol 5451 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 3, 6, 8, 9, 10, 13, 15, 16);
this.probability = 20;
break;
case "trailer" :
this.shirtDesign_arr = new Array(3, 4, 7, 9, 13, 14, 16);
this.probability = 20;
break;
case "sorority" :
this.shirtDesign_arr = new Array(10, 14);
this.probability = 5;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15, 16);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 14, 9);
this.probability = 15;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 8, 10, 11, 12, 13, 15, 16);
this.probability = 40;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 4, 8, 9, 10, 11, 13, 14, 15, 16);
this.probability = 50;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 4, 5, 9, 14, 13);
this.probability = 20;
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 4, 5, 9, 10, 14);
this.probability = 5;
case "office" :
this.shirtDesign_arr = new Array(12, 13);
this.probability = 0;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(7, 9);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(10, 11, 12, 13, 5, 14);
this.probability = 20;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(13, 14, 11, 12, 13, 9);
this.probability = 15;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5451 MovieClip Frame 2
stop();
Symbol 5451 MovieClip Frame 3
stop();
Symbol 5451 MovieClip Frame 4
stop();
Symbol 5451 MovieClip Frame 5
stop();
Symbol 5451 MovieClip Frame 6
stop();
Symbol 5451 MovieClip Frame 7
stop();
Symbol 5451 MovieClip Frame 8
stop();
Symbol 5451 MovieClip Frame 9
stop();
Symbol 5451 MovieClip Frame 10
stop();
Symbol 5451 MovieClip Frame 11
stop();
Symbol 5451 MovieClip Frame 12
stop();
Symbol 5451 MovieClip Frame 13
stop();
Symbol 5451 MovieClip Frame 14
stop();
Symbol 5451 MovieClip Frame 15
stop();
Symbol 5451 MovieClip Frame 16
stop();
Symbol 5451 MovieClip Frame 17
stop();
Symbol 5456 MovieClip Frame 1
if (_parent.allowBands == false) {
this._visible = false;
} else {
this._visible = true;
}
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4);
this.probability = 20;
break;
case "rocker" :
this.shirtDesign_arr = new Array(3);
this.probability = 10;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 3);
this.probability = 20;
break;
case "hippie" :
this.shirtDesign_arr = new Array(3);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(2);
this.probability = 5;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5456 MovieClip Frame 2
stop();
Symbol 5456 MovieClip Frame 3
stop();
Symbol 5456 MovieClip Frame 4
stop();
Symbol 5456 MovieClip Frame 5
stop();
Symbol 5476 MovieClip Frame 1
stop();
Symbol 5476 MovieClip Frame 2
stop();
Symbol 5476 MovieClip Frame 3
stop();
Symbol 5476 MovieClip Frame 4
stop();
Symbol 5476 MovieClip Frame 5
stop();
Symbol 5476 MovieClip Frame 6
stop();
Symbol 5476 MovieClip Frame 7
stop();
Symbol 5476 MovieClip Frame 8
stop();
Symbol 5476 MovieClip Frame 9
stop();
Symbol 5476 MovieClip Frame 10
stop();
Symbol 5476 MovieClip Frame 11
stop();
Symbol 5476 MovieClip Frame 12
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 13
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 14
stop();
Symbol 5476 MovieClip Frame 15
stop();
Symbol 5476 MovieClip Frame 16
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 17
stop();
Symbol 5476 MovieClip Frame 18
stop();
Symbol 5476 MovieClip Frame 19
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 20
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 21
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 22
stop();
Symbol 5476 MovieClip Frame 23
stop();
Symbol 5476 MovieClip Frame 24
stop();
Symbol 5476 MovieClip Frame 25
stop();
Symbol 5476 MovieClip Frame 26
stop();
Symbol 5476 MovieClip Frame 27
stop();
Symbol 5476 MovieClip Frame 28
stop();
Symbol 5476 MovieClip Frame 29
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 30
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 31
stop();
_parent.allowBands = false;
Symbol 5476 MovieClip Frame 32
stop();
_parent.allowBands = false;
Symbol 5481 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5481 MovieClip Frame 2
stop();
Symbol 5481 MovieClip Frame 3
stop();
Symbol 5481 MovieClip Frame 4
stop();
Symbol 5481 MovieClip Frame 5
stop();
Symbol 5502 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 10, 11, 12, 13, 15, 19);
this.probability = 30;
break;
case "trailer" :
this.shirtDesign_arr = new Array(9, 8, 13, 15, 17, 18, 19);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(7, 2, 13, 18);
this.probability = 5;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 5, 6, 7, 8, 9, 13, 16, 17, 18, 19);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(2, 6, 7, 11, 12, 13, 18);
this.probability = 15;
break;
case "goth" :
this.shirtDesign_arr = new Array(5, 6, 9, 13, 17, 18);
this.probability = 20;
break;
case "punk" :
this.shirtDesign_arr = new Array(5, 8, 9, 10, 13, 14, 16, 17, 18, 19);
this.probability = 20;
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 7, 11, 12, 13, 14, 14);
this.probability = 20;
break;
case "formal" :
this.shirtDesign_arr = new Array(2, 7, 13);
this.probability = 5;
case "office" :
this.shirtDesign_arr = new Array(12, 13);
this.probability = 0;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 11, 13);
this.probability = 10;
break;
case "hippie" :
this.shirtDesign_arr = new Array(2, 5, 11, 12, 6, 19);
this.probability = 10;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 11, 12, 6);
this.probability = 15;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5502 MovieClip Frame 2
stop();
Symbol 5502 MovieClip Frame 3
stop();
Symbol 5502 MovieClip Frame 4
stop();
Symbol 5502 MovieClip Frame 5
stop();
Symbol 5502 MovieClip Frame 6
stop();
Symbol 5502 MovieClip Frame 7
stop();
Symbol 5502 MovieClip Frame 8
stop();
Symbol 5502 MovieClip Frame 9
stop();
Symbol 5502 MovieClip Frame 10
stop();
Symbol 5502 MovieClip Frame 11
stop();
Symbol 5502 MovieClip Frame 12
stop();
Symbol 5502 MovieClip Frame 13
stop();
Symbol 5502 MovieClip Frame 14
stop();
Symbol 5502 MovieClip Frame 15
stop();
Symbol 5502 MovieClip Frame 16
stop();
Symbol 5502 MovieClip Frame 17
stop();
Symbol 5502 MovieClip Frame 18
stop();
Symbol 5502 MovieClip Frame 19
stop();
Symbol 5502 MovieClip Frame 20
stop();
Symbol 5517 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 11, 13, 14);
this.probability = 50;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 3, 9, 13, 14);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(2, 3, 7, 9);
this.probability = 30;
break;
case "raver" :
this.shirtDesign_arr = new Array(5, 13, 14);
this.probability = 20;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 4, 3, 7, 8, 9, 12, 14);
this.probability = 30;
break;
case "punk" :
this.shirtDesign_arr = new Array(3, 5, 6, 7, 9, 12);
this.probability = 30;
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 3, 13, 14, 11);
this.probability = 20;
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 2, 7, 8, 8, 11, 12, 13, 14);
this.probability = 60;
case "office" :
this.shirtDesign_arr = new Array(13, 14);
this.probability = 5;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 11, 13, 14);
this.probability = 30;
break;
case "sporty" :
this.shirtDesign_arr = new Array(3);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(5, 6, 7, 10);
this.probability = 30;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 11, 13, 14);
this.probability = 10;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5517 MovieClip Frame 2
stop();
Symbol 5517 MovieClip Frame 3
stop();
Symbol 5517 MovieClip Frame 4
stop();
Symbol 5517 MovieClip Frame 5
stop();
Symbol 5517 MovieClip Frame 6
stop();
Symbol 5517 MovieClip Frame 7
stop();
Symbol 5517 MovieClip Frame 8
stop();
Symbol 5517 MovieClip Frame 9
stop();
Symbol 5517 MovieClip Frame 10
stop();
Symbol 5517 MovieClip Frame 11
stop();
Symbol 5517 MovieClip Frame 12
stop();
Symbol 5517 MovieClip Frame 13
stop();
Symbol 5517 MovieClip Frame 14
stop();
Symbol 5517 MovieClip Frame 15
stop();
Symbol 5542 MovieClip Frame 1
switch (_parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 13, 14, 16, 20, 21, 22, 23);
break;
case "trailer" :
this.shirtDesign_arr = new Array(17, 10, 11, 12, 18);
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 4, 5);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 7, 8, 10, 11, 14, 15, 17, 18, 19);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 10, 14);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 7, 16);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 7, 17, 19);
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 6, 8, 9, 10, 18, 19);
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 10);
break;
case "office" :
this.shirtDesign_arr = new Array(1);
break;
case "plain" :
this.shirtDesign_arr = new Array(1);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 17);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 14, 24);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5542 MovieClip Frame 2
stop();
Symbol 5542 MovieClip Frame 3
stop();
Symbol 5542 MovieClip Frame 4
stop();
Symbol 5542 MovieClip Frame 5
stop();
Symbol 5542 MovieClip Frame 6
stop();
Symbol 5542 MovieClip Frame 7
stop();
Symbol 5542 MovieClip Frame 8
stop();
Symbol 5542 MovieClip Frame 9
stop();
Symbol 5542 MovieClip Frame 10
stop();
Symbol 5542 MovieClip Frame 11
stop();
Symbol 5542 MovieClip Frame 12
stop();
Symbol 5542 MovieClip Frame 13
stop();
Symbol 5542 MovieClip Frame 14
stop();
Symbol 5542 MovieClip Frame 15
stop();
Symbol 5542 MovieClip Frame 16
stop();
Symbol 5542 MovieClip Frame 17
stop();
Symbol 5542 MovieClip Frame 18
stop();
Symbol 5542 MovieClip Frame 19
stop();
Symbol 5542 MovieClip Frame 20
stop();
Symbol 5542 MovieClip Frame 21
stop();
Symbol 5542 MovieClip Frame 22
stop();
Symbol 5542 MovieClip Frame 23
stop();
Symbol 5542 MovieClip Frame 24
stop();
Symbol 5553 MovieClip Frame 1
switch (_parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 9, 10);
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 10);
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 4, 5);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 6, 7, 9, 10);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 7);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 6, 7);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 7, 10);
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 6, 7, 8, 9, 10);
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 9);
break;
case "office" :
this.shirtDesign_arr = new Array(1);
break;
case "plain" :
this.shirtDesign_arr = new Array(1);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5553 MovieClip Frame 2
stop();
Symbol 5553 MovieClip Frame 3
stop();
Symbol 5553 MovieClip Frame 4
stop();
Symbol 5553 MovieClip Frame 5
stop();
Symbol 5553 MovieClip Frame 6
stop();
Symbol 5553 MovieClip Frame 7
stop();
Symbol 5553 MovieClip Frame 8
stop();
Symbol 5553 MovieClip Frame 9
stop();
Symbol 5553 MovieClip Frame 10
stop();
Symbol 5567 MovieClip Frame 1
switch (_parent._parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 12, 14, 15);
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 6, 10, 11);
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 4, 5);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 6, 8, 10, 11, 14);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 8, 10);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 6);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 14);
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 6, 7, 9, 10, 11, 13, 14);
break;
case "formal" :
this.shirtDesign_arr = new Array(1, 15);
break;
case "office" :
this.shirtDesign_arr = new Array(1);
break;
case "plain" :
this.shirtDesign_arr = new Array(1);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5567 MovieClip Frame 2
stop();
Symbol 5567 MovieClip Frame 3
stop();
Symbol 5567 MovieClip Frame 4
stop();
Symbol 5567 MovieClip Frame 5
stop();
Symbol 5567 MovieClip Frame 6
stop();
Symbol 5567 MovieClip Frame 7
stop();
Symbol 5567 MovieClip Frame 8
stop();
Symbol 5567 MovieClip Frame 9
stop();
Symbol 5567 MovieClip Frame 10
stop();
Symbol 5567 MovieClip Frame 11
stop();
Symbol 5567 MovieClip Frame 12
stop();
Symbol 5567 MovieClip Frame 13
stop();
Symbol 5567 MovieClip Frame 14
stop();
Symbol 5567 MovieClip Frame 15
stop();
Symbol 5599 MovieClip Frame 1
fRand = Math.round(Math.random() * 4) + 1;
this.gotoAndStop(fRand);
stop();
Symbol 5599 MovieClip Frame 2
stop();
Symbol 5599 MovieClip Frame 3
stop();
Symbol 5599 MovieClip Frame 4
stop();
Symbol 5599 MovieClip Frame 5
stop();
Symbol 5610 MovieClip Frame 1
fRand = Math.round(Math.random() * 3) + 1;
this.gotoAndStop(fRand);
stop();
Symbol 5610 MovieClip Frame 2
stop();
Symbol 5610 MovieClip Frame 3
stop();
Symbol 5610 MovieClip Frame 4
stop();
Symbol 5616 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 1, 1, 3, 4, 5, 6, 7, 8, 10, 20, 22, 29, 30);
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 1, 2, 3, 6, 7, 8, 9, 10, 11, 14, 31, 32);
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2, 3);
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 1, 1, 1, 2, 3, 8, 9, 10, 12, 13, 14, 15, 15, 20, 21);
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 15, 18);
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 3, 3, 3, 5, 6, 8, 15, 16, 17, 19, 20, 20, 21, 24);
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 5, 6, 7, 8, 9, 10, 14, 15, 17, 21, 20);
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 8, 10, 12, 13, 14, 18, 21);
break;
case "formal" :
this.shirtDesign_arr = new Array(22, 23, 24);
break;
case "office" :
this.shirtDesign_arr = new Array(12, 13);
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 18, 20, 22, 23, 24, 25, 31, 32);
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 2, 3, 29, 30, 30, 29, 31, 31, 32, 32);
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 3, 18, 25);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(26, 27, 28);
break;
case "smashley" :
this.shirtDesign_arr = new Array(31, 31);
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
_parent._parent.rightUpperArm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent.leftUpperArm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent.leftForearm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
_parent._parent.rightForearm.sleeve.gotoAndStop(this.shirtDesign_arr[desRand]);
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5616 MovieClip Frame 2
stop();
Symbol 5616 MovieClip Frame 3
stop();
Symbol 5616 MovieClip Frame 4
stop();
Symbol 5616 MovieClip Frame 5
stop();
Symbol 5616 MovieClip Frame 6
stop();
Symbol 5616 MovieClip Frame 7
stop();
Symbol 5616 MovieClip Frame 8
stop();
Symbol 5616 MovieClip Frame 9
stop();
Symbol 5616 MovieClip Frame 10
stop();
Symbol 5616 MovieClip Frame 11
stop();
Symbol 5616 MovieClip Frame 12
stop();
Symbol 5616 MovieClip Frame 13
stop();
Symbol 5616 MovieClip Frame 14
stop();
Symbol 5616 MovieClip Frame 15
stop();
Symbol 5616 MovieClip Frame 16
stop();
Symbol 5616 MovieClip Frame 17
stop();
Symbol 5616 MovieClip Frame 18
stop();
Symbol 5616 MovieClip Frame 19
stop();
Symbol 5616 MovieClip Frame 20
stop();
Symbol 5616 MovieClip Frame 21
stop();
Symbol 5616 MovieClip Frame 22
stop();
Symbol 5616 MovieClip Frame 23
stop();
Symbol 5616 MovieClip Frame 24
stop();
Symbol 5616 MovieClip Frame 25
stop();
Symbol 5616 MovieClip Frame 26
stop();
Symbol 5616 MovieClip Frame 27
stop();
Symbol 5616 MovieClip Frame 28
stop();
Symbol 5616 MovieClip Frame 29
stop();
Symbol 5616 MovieClip Frame 30
stop();
Symbol 5616 MovieClip Frame 31
stop();
Symbol 5616 MovieClip Frame 32
stop();
Symbol 5621 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5640 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 18, 18);
this.probability = 20;
break;
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 18, 18);
this.probability = 20;
break;
case "sorority" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14);
this.probability = 30;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 18);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 16, 18);
this.probability = 50;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 8, 9, 13, 15, 18);
this.probability = 60;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 5, 4, 7, 10, 11, 12, 13, 14, 15, 16, 18);
this.probability = 60;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 3, 4, 6, 8, 9, 10, 11, 12, 13, 14);
this.probability = 30;
break;
case "formal" :
this.shirtDesign_arr = new Array(2, 3, 6);
this.probability = 50;
case "office" :
this.shirtDesign_arr = new Array(2, 3, 6, 18);
this.probability = 20;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17);
this.probability = 50;
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 17);
this.probability = 20;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 2, 3, 6, 9, 10, 11, 12, 13, 14, 18);
this.probability = 30;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 6, 8, 10, 11, 12, 14);
this.probability = 30;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5640 MovieClip Frame 2
stop();
Symbol 5640 MovieClip Frame 3
stop();
Symbol 5640 MovieClip Frame 4
stop();
Symbol 5640 MovieClip Frame 5
stop();
Symbol 5640 MovieClip Frame 6
stop();
Symbol 5640 MovieClip Frame 7
stop();
Symbol 5640 MovieClip Frame 8
stop();
Symbol 5640 MovieClip Frame 9
stop();
Symbol 5640 MovieClip Frame 10
stop();
Symbol 5640 MovieClip Frame 11
stop();
Symbol 5640 MovieClip Frame 12
stop();
Symbol 5640 MovieClip Frame 13
stop();
Symbol 5640 MovieClip Frame 14
stop();
Symbol 5640 MovieClip Frame 15
stop();
Symbol 5640 MovieClip Frame 16
stop();
Symbol 5640 MovieClip Frame 17
stop();
Symbol 5640 MovieClip Frame 18
stop();
Symbol 5640 MovieClip Frame 19
stop();
Symbol 5645 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5645 MovieClip Frame 2
stop();
Symbol 5645 MovieClip Frame 3
stop();
Symbol 5645 MovieClip Frame 4
stop();
Symbol 5645 MovieClip Frame 5
stop();
Symbol 5650 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "trailer" :
this.shirtDesign_arr = new Array(1, 2, 3);
this.probability = 5;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3);
this.probability = 20;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3);
this.probability = 20;
break;
default :
this.shirtDesign_arr = new Array(1, 2, 3);
this.probability = 3;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5650 MovieClip Frame 2
stop();
Symbol 5650 MovieClip Frame 3
stop();
Symbol 5650 MovieClip Frame 4
stop();
Symbol 5664 MovieClip Frame 1
switch (_parent._parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 3, 4, 6, 7, 8, 9, 13);
this.probability = 20;
break;
case "trailer" :
this.shirtDesign_arr = new Array(7, 8);
this.probability = 20;
break;
case "sorority" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 7, 8, 9, 13);
this.probability = 30;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 10, 11);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 2, 3, 6, 7);
this.probability = 15;
break;
case "goth" :
this.shirtDesign_arr = new Array(4, 5, 6, 7, 10, 11, 12);
this.probability = 50;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 6, 5, 7, 8, 10, 11);
this.probability = 50;
break;
case "nerd" :
this.shirtDesign_arr = new Array(2, 3, 5, 6, 7, 8, 10);
this.probability = 20;
break;
case "formal" :
this.shirtDesign_arr = new Array(2, 3, 4, 9, 13);
this.probability = 20;
case "office" :
this.shirtDesign_arr = new Array(5, 2, 3, 8, 7);
this.probability = 20;
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 3, 4, 5, 6, 7, 8, 9, 10, 13);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(1, 2, 3, 7, 8);
this.probability = 20;
break;
case "hippie" :
this.shirtDesign_arr = new Array(6, 7, 8);
this.probability = 10;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
this.probability = 10;
break;
case "smashley" :
this.shirtDesign_arr = new Array(1, 1);
this.probability = 95;
break;
default :
this.shirtDesign_arr = new Array(1, 2);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5664 MovieClip Frame 2
stop();
Symbol 5664 MovieClip Frame 3
stop();
Symbol 5664 MovieClip Frame 4
stop();
Symbol 5664 MovieClip Frame 5
stop();
Symbol 5664 MovieClip Frame 6
stop();
Symbol 5664 MovieClip Frame 7
stop();
Symbol 5664 MovieClip Frame 8
stop();
Symbol 5664 MovieClip Frame 9
stop();
Symbol 5664 MovieClip Frame 10
stop();
Symbol 5664 MovieClip Frame 11
stop();
Symbol 5664 MovieClip Frame 12
stop();
Symbol 5664 MovieClip Frame 13
stop();
Symbol 5664 MovieClip Frame 14
stop();
Symbol 5668 MovieClip Frame 1
stop();
Symbol 5668 MovieClip Frame 2
stop();
Symbol 5668 MovieClip Frame 3
stop();
Symbol 5668 MovieClip Frame 4
stop();
Symbol 5668 MovieClip Frame 5
stop();
Symbol 5668 MovieClip Frame 6
stop();
Symbol 5668 MovieClip Frame 7
stop();
Symbol 5668 MovieClip Frame 8
stop();
Symbol 5668 MovieClip Frame 9
stop();
Symbol 5668 MovieClip Frame 10
stop();
Symbol 5668 MovieClip Frame 11
stop();
Symbol 5668 MovieClip Frame 12
stop();
Symbol 5668 MovieClip Frame 13
stop();
Symbol 5668 MovieClip Frame 14
stop();
Symbol 5668 MovieClip Frame 15
stop();
Symbol 5668 MovieClip Frame 16
stop();
Symbol 5668 MovieClip Frame 17
stop();
Symbol 5668 MovieClip Frame 18
stop();
Symbol 5668 MovieClip Frame 19
stop();
Symbol 5668 MovieClip Frame 20
stop();
Symbol 5668 MovieClip Frame 21
stop();
Symbol 5668 MovieClip Frame 22
stop();
Symbol 5668 MovieClip Frame 23
stop();
Symbol 5668 MovieClip Frame 24
stop();
Symbol 5668 MovieClip Frame 25
stop();
Symbol 5668 MovieClip Frame 26
stop();
Symbol 5668 MovieClip Frame 27
stop();
Symbol 5668 MovieClip Frame 28
stop();
Symbol 5668 MovieClip Frame 29
stop();
Symbol 5668 MovieClip Frame 30
stop();
Symbol 5668 MovieClip Frame 31
stop();
Symbol 5668 MovieClip Frame 32
stop();
Symbol 5673 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5673 MovieClip Frame 2
stop();
Symbol 5673 MovieClip Frame 3
stop();
Symbol 5673 MovieClip Frame 4
stop();
Symbol 5673 MovieClip Frame 5
stop();
Symbol 5684 MovieClip Frame 1
if (_parent._parent.characterClass != "smashley") {
this.gotoAndStop(Math.round(Math.random() * 4) + 1);
} else {
this.gotoAndStop(2);
}
stop();
Symbol 5684 MovieClip Frame 2
stop();
Symbol 5684 MovieClip Frame 3
stop();
Symbol 5684 MovieClip Frame 4
stop();
Symbol 5684 MovieClip Frame 5
stop();
Symbol 5705 MovieClip Frame 1
stop();
Symbol 5705 MovieClip Frame 2
stop();
Symbol 5705 MovieClip Frame 3
stop();
Symbol 5705 MovieClip Frame 4
stop();
Symbol 5705 MovieClip Frame 5
stop();
Symbol 5705 MovieClip Frame 6
stop();
Symbol 5705 MovieClip Frame 7
stop();
Symbol 5705 MovieClip Frame 8
stop();
Symbol 5705 MovieClip Frame 9
stop();
Symbol 5705 MovieClip Frame 10
stop();
Symbol 5722 MovieClip Frame 1
stop();
Symbol 5722 MovieClip Frame 2
stop();
Symbol 5722 MovieClip Frame 3
stop();
Symbol 5722 MovieClip Frame 4
stop();
Symbol 5722 MovieClip Frame 5
stop();
Symbol 5722 MovieClip Frame 6
stop();
Symbol 5722 MovieClip Frame 7
stop();
Symbol 5722 MovieClip Frame 8
stop();
Symbol 5744 MovieClip Frame 1
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 2
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 3
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 4
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 5
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 6
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 7
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 8
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 9
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5744 MovieClip Frame 10
if (this.eyeShadowColor == undefined) {
this.eyeShadowColor = Math.round(Math.random() * 7) + 1;
this.eyeShadow.gotoAndStop(this.eyeShadowColor);
}
stop();
Symbol 5758 MovieClip Frame 1
switch (_parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(5, 6, 8, 9);
this.probability = 10;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 2, 2, 2, 2, 2, 2, 2, 9, 10);
this.probability = 15;
break;
case "sorority" :
this.shirtDesign_arr = new Array(6, 9);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(2, 5, 7, 10);
this.probability = 10;
break;
case "raver" :
this.shirtDesign_arr = new Array(4, 10, 14);
this.probability = 10;
break;
case "goth" :
this.shirtDesign_arr = new Array(4, 7, 11, 10, 12, 13);
this.probability = 20;
break;
case "punk" :
this.shirtDesign_arr = new Array(2, 4, 8, 10, 7, 13);
this.probability = 10;
break;
case "nerd" :
this.shirtDesign_arr = new Array(10, 10);
this.probability = 50;
break;
case "formal" :
this.shirtDesign_arr = new Array(6, 10);
this.probability = 5;
break;
case "office" :
this.shirtDesign_arr = new Array(10, 10);
this.probability = 20;
break;
case "plain" :
this.shirtDesign_arr = new Array(2, 6);
this.probability = 10;
break;
case "sporty" :
this.shirtDesign_arr = new Array(3, 3);
this.probability = 20;
break;
case "hippie" :
this.shirtDesign_arr = new Array(14, 2, 2, 10);
this.probability = 15;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(7, 10);
this.probability = 10;
break;
case "smashley" :
this.shirtDesign_arr = new Array(15, 15);
this.probability = 90;
break;
default :
this.shirtDesign_arr = new Array(1);
this.probability = 0;
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
stop();
Symbol 5758 MovieClip Frame 2
stop();
Symbol 5758 MovieClip Frame 3
stop();
Symbol 5758 MovieClip Frame 4
stop();
Symbol 5758 MovieClip Frame 5
stop();
Symbol 5758 MovieClip Frame 6
stop();
Symbol 5758 MovieClip Frame 7
stop();
Symbol 5758 MovieClip Frame 8
stop();
Symbol 5758 MovieClip Frame 9
stop();
Symbol 5758 MovieClip Frame 10
stop();
Symbol 5758 MovieClip Frame 11
stop();
Symbol 5758 MovieClip Frame 12
stop();
Symbol 5758 MovieClip Frame 13
stop();
Symbol 5758 MovieClip Frame 14
stop();
Symbol 5758 MovieClip Frame 15
stop();
Symbol 5769 MovieClip Frame 1
switch (_parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 8, 9);
this.probability = 50;
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 4);
this.probability = 10;
break;
case "sorority" :
this.shirtDesign_arr = new Array(3, 9);
this.probability = 10;
break;
case "rocker" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 9);
this.probability = 50;
break;
case "raver" :
this.shirtDesign_arr = new Array(1, 7, 10, 8);
this.probability = 50;
break;
case "goth" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 9);
this.probability = 80;
break;
case "punk" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 6, 9);
this.probability = 50;
break;
case "nerd" :
this.shirtDesign_arr = new Array(1, 2, 4);
this.probability = 50;
break;
case "formal" :
this.shirtDesign_arr = new Array(3, 9);
this.probability = 10;
case "office" :
this.shirtDesign_arr = new Array(12, 13);
this.probability = 0;
break;
case "plain" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 7, 8, 9, 10);
this.probability = 20;
break;
case "sporty" :
this.shirtDesign_arr = new Array(9);
this.probability = 5;
break;
case "hippie" :
this.shirtDesign_arr = new Array(1, 4, 6, 9);
this.probability = 20;
break;
case "smashley" :
this.shirtDesign_arr = new Array(11, 11);
this.probability = 90;
break;
case "pregnant" :
this.shirtDesign_arr = new Array(1, 2, 3, 4, 5, 8, 9);
this.probability = 15;
break;
default :
this.shirtDesign_arr = new Array(1);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
probRand = Math.random() * 100;
if (this.probability > this.probRand) {
this.gotoAndStop(this.shirtDesign_arr[desRand]);
} else {
this.gotoAndStop("blank");
}
Symbol 5769 MovieClip Frame 2
stop();
Symbol 5769 MovieClip Frame 3
stop();
Symbol 5769 MovieClip Frame 4
stop();
Symbol 5769 MovieClip Frame 5
stop();
Symbol 5769 MovieClip Frame 6
stop();
Symbol 5769 MovieClip Frame 7
stop();
Symbol 5769 MovieClip Frame 8
stop();
Symbol 5769 MovieClip Frame 9
stop();
Symbol 5769 MovieClip Frame 10
stop();
Symbol 5769 MovieClip Frame 11
stop();
Symbol 5860 MovieClip Frame 1
switch (_parent._parent.characterClass) {
case "hoodrat" :
this.shirtDesign_arr = new Array(2, 9, 40, 41, 42, 43, 48, 46);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(44, 47, 5);
}
if (_parent._parent.raceIndex == 1) {
this.shirtDesign_arr.push(2, 4, 39);
}
if (_parent._parent.raceIndex == 2) {
this.shirtDesign_arr.push(2, 4, 38);
}
if (_parent._parent.raceIndex == 4) {
this.shirtDesign_arr.push(2, 4, 39, 8, 48);
}
break;
case "trailer" :
this.shirtDesign_arr = new Array(2, 4, 6, 8, 9, 20, 22, 21, 33, 34);
if ((_parent._parent.raceIndex != 3) && (_parent._parent.raceIndex != 4)) {
this.shirtDesign_arr.push(23, 19, 7, 10, 12, 13, 14, 19, 20, 21, 23);
}
break;
case "sorority" :
this.shirtDesign_arr = new Array(3, 9, 36, 37, 39, 48);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(43, 45, 46, 48);
}
if (_parent._parent.raceIndex == 1) {
this.shirtDesign_arr.push(7, 8, 10, 38);
}
if (_parent._parent.raceIndex == 2) {
this.shirtDesign_arr.push(7, 8, 10, 38);
}
if (_parent._parent.raceIndex == 4) {
this.shirtDesign_arr.push(2, 8, 39, 46);
}
break;
case "rocker" :
this.shirtDesign_arr = new Array(22, 21, 26, 29, 30, 31, 32, 33, 35, 37, 38, 39);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(40, 44, 46);
}
break;
case "raver" :
this.shirtDesign_arr = new Array(7, 9, 10, 16, 18, 25, 26, 31, 38, 32, 33, 30);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(43, 42, 45);
}
break;
case "goth" :
this.shirtDesign_arr = new Array(5, 9, 17, 16, 27, 31, 33, 34, 35, 38);
break;
case "punk" :
this.shirtDesign_arr = new Array(5, 1, 7, 9, 12, 16, 17, 18, 25, 26, 27, 28, 30, 31);
break;
case "nerd" :
this.shirtDesign_arr = new Array(43, 33);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(40, 41, 42, 43, 45, 46, 9);
} else {
this.shirtDesign_arr.push(2, 4, 7, 8, 9, 10, 12, 13, 14, 21, 29, 31, 32, 33, 33, 33, 33, 33);
}
break;
case "formal" :
this.shirtDesign_arr = new Array(48, 33, 3, 36);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(43, 45, 46, 40);
} else {
this.shirtDesign_arr.push(37, 38, 39);
}
break;
case "office" :
this.shirtDesign_arr = new Array(45, 48);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(41, 43, 45, 46, 9, 36, 33);
} else {
this.shirtDesign_arr.push(2, 3, 7, 8, 9, 10, 33, 36, 37, 38, 39);
}
break;
case "plain" :
this.shirtDesign_arr = new Array(45, 48);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(41, 43, 45, 46, 9, 36, 33);
} else {
this.shirtDesign_arr.push(2, 3, 7, 8, 9, 10, 33, 36, 37, 38, 39);
}
break;
case "sporty" :
this.shirtDesign_arr = new Array(45, 39);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(44, 41, 40, 43, 45, 21, 9);
} else {
this.shirtDesign_arr.push(2, 4, 7, 8, 9, 10, 38);
}
break;
case "hippie" :
this.shirtDesign_arr = new Array(4, 8, 9, 12, 13, 14, 20, 21, 30, 37, 34, 39, 38, 40, 44);
break;
case "smashley" :
this.shirtDesign_arr = new Array(39, 39);
break;
case "pregnant" :
this.shirtDesign_arr = new Array(45, 48);
if (_parent._parent.raceIndex == 3) {
this.shirtDesign_arr.push(41, 43, 45, 46, 9, 36, 33);
} else {
this.shirtDesign_arr.push(2, 3, 7, 8, 9, 10, 33, 36, 37, 38, 39);
}
break;
default :
this.shirtDesign_arr = new Array(2);
}
desRand = Math.round(Math.random() * (this.shirtDesign_arr.length - 1));
_parent.hairUnder.gotoAndStop(this.shirtDesign_arr[desRand]);
this.gotoAndStop(this.shirtDesign_arr[desRand]);
stop();
Symbol 5860 MovieClip Frame 2
stop();
Symbol 5860 MovieClip Frame 3
stop();
Symbol 5860 MovieClip Frame 4
stop();
Symbol 5860 MovieClip Frame 5
stop();
Symbol 5860 MovieClip Frame 6
stop();
Symbol 5860 MovieClip Frame 7
stop();
Symbol 5860 MovieClip Frame 8
stop();
Symbol 5860 MovieClip Frame 9
stop();
Symbol 5860 MovieClip Frame 10
stop();
Symbol 5860 MovieClip Frame 11
stop();
Symbol 5860 MovieClip Frame 12
stop();
Symbol 5860 MovieClip Frame 13
stop();
Symbol 5860 MovieClip Frame 14
stop();
Symbol 5860 MovieClip Frame 15
stop();
Symbol 5860 MovieClip Frame 16
stop();
Symbol 5860 MovieClip Frame 17
stop();
Symbol 5860 MovieClip Frame 18
stop();
Symbol 5860 MovieClip Frame 19
stop();
Symbol 5860 MovieClip Frame 20
stop();
Symbol 5860 MovieClip Frame 21
stop();
Symbol 5860 MovieClip Frame 22
stop();
Symbol 5860 MovieClip Frame 23
stop();
Symbol 5860 MovieClip Frame 24
stop();
Symbol 5860 MovieClip Frame 25
stop();
Symbol 5860 MovieClip Frame 26
stop();
Symbol 5860 MovieClip Frame 27
stop();
Symbol 5860 MovieClip Frame 28
stop();
Symbol 5860 MovieClip Frame 29
stop();
Symbol 5860 MovieClip Frame 30
stop();
Symbol 5860 MovieClip Frame 31
stop();
Symbol 5860 MovieClip Frame 32
stop();
Symbol 5860 MovieClip Frame 33
stop();
Symbol 5860 MovieClip Frame 34
stop();
Symbol 5860 MovieClip Frame 35
stop();
Symbol 5860 MovieClip Frame 36
stop();
Symbol 5860 MovieClip Frame 37
stop();
Symbol 5860 MovieClip Frame 38
stop();
Symbol 5860 MovieClip Frame 39
stop();
Symbol 5860 MovieClip Frame 40
stop();
Symbol 5860 MovieClip Frame 41
stop();
Symbol 5860 MovieClip Frame 42
stop();
Symbol 5860 MovieClip Frame 43
stop();
Symbol 5860 MovieClip Frame 44
stop();
Symbol 5860 MovieClip Frame 45
stop();
Symbol 5860 MovieClip Frame 46
stop();
Symbol 5860 MovieClip Frame 47
stop();
Symbol 5860 MovieClip Frame 48
stop();
Symbol 5871 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5871 MovieClip Frame 2
stop();
Symbol 5871 MovieClip Frame 3
stop();
Symbol 5871 MovieClip Frame 4
stop();
Symbol 5871 MovieClip Frame 5
stop();
Symbol 5882 MovieClip Frame 1
this.gotoAndStop(_parent._parent.raceIndex);
Symbol 5882 MovieClip Frame 2
stop();
Symbol 5882 MovieClip Frame 3
stop();
Symbol 5882 MovieClip Frame 4
stop();
Symbol 5882 MovieClip Frame 5
stop();
Symbol 5883 MovieClip [faceShape] Frame 1
if (_parent._parent.specialCharacter == undefined) {
this.gotoAndStop(Math.round(Math.random() * 2) + 1);
} else {
this.gotoAndStop(1);
}
stop();
Symbol 5883 MovieClip [faceShape] Frame 2
stop();
Symbol 5883 MovieClip [faceShape] Frame 3
stop();
Symbol 5884 MovieClip Frame 1
face_mc.cacheAsBitmap = true;
stop();
this.randomize = function () {
tR = Math.round(Math.random() * (_global.roundData.characterTypeArray.length - 1));
this.characterClass = _global.roundData.characterTypeArray[tR];
this.chooseRace();
this.chooseGender();
this.nameGenerator();
this.customerHUD.nameText.text = this.customerName;
this.customerHUD.nameShadow.text = this.customerName;
if (this.gender == "male") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
this.chooseGender = function () {
if (this.gender == undefined) {
if (Math.random() > 0.5) {
this.gender = "male";
} else {
this.gender = "female";
}
}
};
this.chooseRace = function () {
switch (this.characterClass) {
case "hoodrat" :
dominantRace = "black";
this.raceArray = new Array(3, 3, 3, 3, 3, 3, 4, 4, 1, 2);
break;
case "trailer" :
this.raceArray = new Array(1, 2, 1, 2, 1, 2, 1, 2, 3, 4);
break;
case "sorority" :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 4);
break;
case "rocker" :
this.raceArray = new Array(1, 1, 2, 2, 1, 3, 3, 4, 4, 4);
break;
case "raver" :
this.raceArray = new Array(1, 1, 2, 2, 1, 2, 3, 3, 4, 4);
break;
case "goth" :
this.raceArray = new Array(5, 5, 5, 5, 5, 5, 5, 2, 4, 3);
break;
case "punk" :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2);
break;
case "nerd" :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2);
break;
case "formal" :
this.raceArray = new Array(1, 1, 3, 4, 1, 2, 3, 4, 1, 1);
break;
case "office" :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2);
break;
case "plain" :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2);
break;
case "sporty" :
this.raceArray = new Array(1, 1, 3, 4, 1, 2, 3, 4, 1, 1);
break;
case "hippie" :
this.raceArray = new Array(1, 1, 3, 4, 1, 1, 3, 4, 1, 2);
break;
case "pregnant" :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2);
break;
default :
this.raceArray = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2);
}
desRand = Math.round(Math.random() * 9);
this.raceIndex = this.raceArray[desRand];
};
this.nameGenerator = function () {
accentE = String.fromCharCode(233);
if (this.gender == "female") {
switch (this.characterClass) {
case "hoodrat" :
this.name_arr = new Array("Latisha", "Aisha", "Princess", "Antajah", "Sherbet", "Sorbet", "Asharie", "Asianna", "Shawnay", "A'laya", "Aaliyah", "A'Shona", "Aliandrea", "Ashanique", "Bacardi", "Aliz" + accentE, "Brandy", "Chazyia", "Chaitanya", "Kitana", "Crystasha", "Krystal", "Kintana", "Chylicia", "Chevelle", "Damonica", "Danice", "D'tasia", "Deantae", "Dereneisha", "Denisha", "Desanai", "De'Nia", "Destynae", "Chasidy", "Ebonise", "Jamika", "Jakayla", "Jewelyssa", "Ja'Quetta", "Jeneta", "Miracle", "Beretta", "Kiyasha", "Keisha", "Kortny", "Keyonia", "DayDay", "Kyesha", "La'Niya", "Lov'e", "Lakia", "Latoya", "LaNadia", "Lovelle", "Makierra", "Meosha", "Miyonna", "Marnicia", "Moneshia", "Na'Talia", "Nyanya", "Tasha", "Quanaisha", "Pataska", "Reshonna", "Reginae", "Gazelle", "Renesia", "Tylisha", "Star", "Terrinisha", "Tyvonne", "Trystelle", "Uniqua", "Nivea", "Zyasia");
break;
case "trailer" :
this.name_arr = new Array("Aleigh", "Amaleen", "Amber", "Amberly", "Angel", "Annabelle", "Audrey-Ann", "Avalon", "Bailie", "Billy", "Bambi", "Baylee-Ann", "Ashleigh", "Belle", "Peaches", "Betty Jo", "Smashley", "Crackie Jackie", "Betty Lou", "Betty Sue", "Paige", "Bobby Jean", "Sue", "Suzannah", "Brandine", "Brittney-Anne", "Buffy", "Candy", "Chastity", "Charity", "Cherry", "Summer", "Claudette", "Crystal", "Cyndi Beth", "Dakota", "Debbie", "Cheyenne", "Remington", "Beretta", "Dale", "Desiree", "Diamond", "Dreama", "Earlene", "Erin", "EvaJo", "Georgette", "Georgia", "Alabama", "Carolina", "Hattie", "Jasmine Mae", "Mae", "Jaylyne", "Jody", "Jo", "Kaylin", "Kayla", "Kansas", "Kandy", "Larlene", "Tricia", "Leanne", "Layla", "Lilah", "LindaSue", "Maddy", "Maddison", "London", "Mandy", "Mary", "Mary Lou", "Louise", "Sadie", "Misty Dawn", "Misty Rain", "Misty", "Wendy", "Norma", "Patty", "Paris", "Holly", "Peggy", "Rose", "Randa Lynn", "Lynnette", "Rikki", "Roxxy", "Ruby", "Diamond", "Pearl", "Savannah");
xxx = this.name_arr.push("Sandy", "Stasha", "Stevie", "Sunset", "Tammy", "Wynter", "Trixie", "Vanity");
break;
case "sorority" :
this.name_arr = new Array("Ashton", "Amory", "Avery", "Astoria", "Akeley", "Abercrombie", "Addison", "Allaire", "Brynn", "Bourne", "Adrienne", "Blaire", "Blaine", "Brooke", "Channing", "Chandler", "Catlin", "Courtenay", "Morgan", "Logan", "Price", "Phoebe", "Sloane", "Sidney", "Teagan", "Vail", "Whitney", "Becky", "Tiffy", "Molly", "Charlotte", "Catherine", "Barbie", "Claire", "Diana", "Daphne", "Emma", "Evaline", "Eva", "Susan", "Auburn", "Albany", "Madison", "Brea", "Berkeley", "Creighton", "Seneca", "Ash", "Bijou", "Neve", "Beverly", "Boston", "Chantel", "Chanel", "Maddox", "Raine");
break;
case "rocker" :
this.name_arr = new Array("Roadie", "Janey Rotten");
break;
case "raver" :
this.name_arr = new Array("Skye", "Juice Box", "Cherry Heaven", "Dreamland", "Candyland", "Skittles", "Sunkist", "Deejay", "Eden", "Jilliebeann", "Glowstring", "Yummi", "Trix", "Bits", "Rei", "Ravin", "Sparkle", "Foxcandyass", "XStacie", "Euphoria", "Lotus", "Vicadina", "Delerium", "Medina", "Electrofairey", "Scratchy", "Fantasy");
break;
case "goth" :
this.name_arr = new Array("Xaos", "Charon", "Sanctuary", "Cryptina", "Frost", "Dark Faire", "Angelique", "Diabolique", "Velvet", "Pixe Corpse", "Vicious", "Succubus", "Circe", "Astra", "Celeste", "Silver", "Violet", "Tessa", "Malidonna", "Abyss", "Kali", "Kappa", "Omega", "Hate", "Faithe", "Christina", "Sukuya", "Lamia", "Ghulah", "Lilith", "Aluka", "Rayne", "Mara", "Persephone", "Pandora", "Misery", "Kore", "Darkness", "Angel", "DeMonica", "Malaria", "Absinthe", "Ague", "Alcina", "Amethyst", "Thorne", "Arachne", "Asura", "Asya", "Atropine", "Azrael", "Avon", "Avarice", "Aveira", "Belladonna", "Solstice", "Branwen", "Briar", "Candelaria", "Chalice", "Cinder", "Chimaera", "Dust", "Chrysanthemum", "Raven", "Corvis", "Dolores", "Desdemona", "Dystopia", "Evilyn", "Golgotha", "Jezabel", "Malady", "Niniane", "Penance", "Requiem", "Twilight");
break;
case "punk" :
this.name_arr = new Array("Raggedy Ann", "Nile", "Janey Rotten", "Kiley", "Riley", "Dina DOA", "Razor Raquel", "Siouxsie");
break;
case "nerd" :
this.name_arr = new Array("Edwina", "Veruca");
break;
case "formal" :
this.name_arr = new Array("Sarah", "Rachel");
break;
case "office" :
this.name_arr = new Array("Sandy", "Mary");
break;
case "plain" :
this.name_arr = new Array("Alice", "Monica");
break;
case "sporty" :
this.name_arr = new Array("Taylor", "Billy");
break;
case "hippie" :
this.name_arr = new Array("Breezy", "Cedar", "Rainbow", "Moss", "Rain", "Bailey", "Poppy", "Allegra", "Andromeda", "Ariel", "Athena", "Aurora", "Azura", "Blaze", "Sativa", "Salvia", "Indica", "Chakra", "Celeste", "Coral", "Dancer", "Deja", "Dharma", "Dezra", "Felicity", "Feather", "Echo", "Fern", "Honey", "Janis", "Jewel", "Liberty", "Luna", "Lyric", "Meadow", "Moonjava", "Moon", "Patches", "Paisley", "Dove", "Seashell", "Shelly", "Smiles", "Skylark", "Starlight", "Sunray", "Moonheart", "Tuesday", "Friday", "Welcome", "Zoe", "Willow");
break;
case "pregnant" :
this.name_arr = new Array("Tiffany", "Holly");
}
resultAA = this.name_arr.push("Mary", "Linda", "Liz", "Elise", "Lisa", "Elizabeth", "Jen", "Jenny", "Jennifer", "Beth", "Sarah", "Rachel", "Sara", "Maria", "Maggie", "Mandy", "Amanda", "Alice", "Karen", "Lisa", "Nancy", "Barbara", "Carol", "Helen", "Sharon", "Michelle", "Mickayla", "Kim", "Laura", "Joanna", "Desiree", "Deverae", "Desi", "Debbie", "Sam", "Samantha", "Ashley", "Cyndi", "Jessica", "Amy", "Anna", "Becky", "Becka", "Katty", "Caroline", "Natasha", "Stephanie", "Carolyn", "Julie", "Angela", "Janice", "Kelly", "Cheryl", "Nicole", "Tracy", "Marie", "Marcy", "Tammy", "Irene", "Drea", "Marissa", "Shayna", "Jacky", "Tina", "Christy", "Robin", "Rita", "Carmen", "Tiffany", "Carrie", "Marjorie", "Ellen", "Eileen", "Betty", "Monica", "Nita", "Rhonda", "Brittany", "Amber", "Charlene", "Shar", "Danielle", "Dani", "Eve", "Alicia", "Megan", "Regina", "Yvonne", "Chloe", "Renee", "Stacy", "Jeanette", "Katie", "Christen", "Kristen", "Vicki", "Carla", "Tonya", "Tammy", "Natalie", "Lynda", "Courtney", "Deanna", "Mattie", "Naomi", "Leah", "Leanne", "Sonya", "Whitney", "Brandy", "Roxanne", "Traci", "Kendra", "Kendall", "Alyssa");
limitLen = this.name_arr.length;
nameRand = Math.round(Math.random() * limitLen) - 1;
this.customerName = this.name_arr[nameRand];
if (this.customerName == undefined) {
this.customerName = "Smashley";
}
} else {
switch (this.characterClass) {
case "hoodrat" :
this.name_arr = new Array("Weezy", "J-Romeo", "CPDogg", "Dee", "Mudbone", "Alpine", "Lil Rick", "Andre", "Dre", "Darnell", "Whitey", "Skrib", "Skratch", "Fierro", "Easy", "Chauncey", "Tyrone", "Matias", "Nitish", "Redell", "Bohdan", "Dion", "Zavad", "Tiassale", "Tyrese", "Trey", "Keyshawn", "Jakori", "Jakobi", "Jerome", "Darius", "Jamal", "Darrell", "Raymin", "Bravonte", "Aldeshaun", "Tariq", "Dante", "Jermaine", "Abdul", "Jervain", "Jamar", "Tyrell", "Tyson", "Demetrius", "Lil Z" + accentE);
break;
case "trailer" :
this.name_arr = new Array();
xxx = this.name_arr.push("Bubba", "Forrest", "Tyrell", "Billy", "Chuck", "Dale", "Leroy", "Ernest", "Verne", "Bud", "Buck", "Buddy Lee", "Ace", "Bo", "Jed", "Jethro", "Earl", "Gator", "Dodger", "Harley", "Jeb", "Jessie", "Lynyrd", "Smokey", "Moe", "Mack", "Newton", "Opie", "Jerry Lee", "Tank", "Bedford", "Nathaniel", "Willie", "Buster", "Clay", "Cletus", "Sanford", "Austin", "Beau", "Billy Ray", "Amos", "Neil", "Clint", "Cooter", "Cody", "Del", "Doc", "Duke", "Floyd", "Garth", "Sue", "Johnny Boy", "Lumpy", "Lonnie", "Raleigh", "Ricky", "Roy", "Remus", "Wade", "Woody", "Trigger", "Cassidy", "Sawyer", "Pork Pie", "Popeye", "Boss", "Slick", "Hoss", "Amigo", "Dudley", "Butcher");
break;
case "sorority" :
this.name_arr = new Array("Dirk", "Aldrich", "Token", "Max", "Bruce", "Devon", "Ash", "Archer", "Albert", "Alton", "Amsden", "Tucker", "Arthur", "Avery", "Baron", "Barnett", "Blaine", "Braydon", "Buckley", "Maurice", "Cameron", "Clinton", "Dane", "Denton", "Dayton", "Eaton", "Dwight", "Desmond", "Gage", "Gray", "Harper", "Harold", "Hunter", "Weston", "Kent", "Landon", "Melvin", "Milton", "Orson", "Payton", "Parker", "Phillip", "Pearson", "Preston", "Paxton", "Ripley", "Rex", "Rodney", "Rylan", "Sherman", "Samuel", "Slade", "Sid", "Stirling", "Stokley", "Tripp", "Trent", "Ward", "Wayne", "Wells", "Zane");
break;
case "rocker" :
this.name_arr = new Array("Rocket", "Sasquatch", "Slim", "Fireball", "Sparks", "Sniper", "Trucker", "Big Leagues", "Hi-Fi", "The Dude", "John Wayne", "Big Dave", "Shooter");
break;
case "raver" :
this.name_arr = new Array("Skitzo", "Trips", "Xanax Eric", "Glowbro", "Twix", "Gramps", "Buzzkill", "FiveOh", "One Time", "Freedom");
break;
case "goth" :
this.name_arr = new Array("Ash", "Astaroth", "Azazel", "Azrael", "Avalon", "Balor", "Belial", "Briar", "Chaos", "Cinder", "Cloven", "Corvus", "Damian", "Deimos", "Daemon", "Draven", "Dragon", "Styx", "Giger", "Grendel", "Griffin", "Grim", "Reaper", "Grimoire", "Nix", "Severin", "Sixes", "Salem", "Vlad", "Wolf", "Sullen");
break;
case "punk" :
this.name_arr = new Array("Skidmarks", "Iron Mike", "Dirty John", "John Boy", "The Brain", "Spider", "Cyclops", "Crazy Johnny", "Action Jackson", "Skully", "Crotchrot");
break;
case "nerd" :
this.name_arr = new Array("Mervin", "Specs");
break;
case "formal" :
this.name_arr = new Array("Dan", "Christian");
break;
case "office" :
this.name_arr = new Array("The Bro", "Milton");
break;
case "plain" :
this.name_arr = new Array("Dan", "Christian");
break;
case "sporty" :
this.name_arr = new Array("Dan", "Rick");
break;
case "hippie" :
this.name_arr = new Array("Ravi", "Cali", "Trenchtown", "Marley", "Haile", "Selassie", "Moss", "America", "Garcia", "Blaze", "Johnny Blaze", "Bard", "Bodhi", "Blue", "Che", "Cosmic", "Cosmo", "Coyote", "Dezra", "The Dude", "Doobie", "Dune", "Gypsy", "Hawk", "Jay", "Gay", "Leif", "Leary", "Lennon", "Onyx", "Rebel", "River", "Revolution", "Shadow", "Snowphish", "Angler", "Stone", "Ziggy", "Temple", "Zephyr", "Vishnu", "Zion", "Hendrix", "Clapton", "Morris", "Phoenix", "Cage", "Vian", "Jeevan", "Vitale", "Aslan", "Chi", "Hale", "Jude", "Mycah", "Dylan", "Axl", "Orion", "Sanjiv", "Fallon");
break;
case "pregnant" :
this.name_arr = new Array("Nate", "Jody");
}
resultAA = this.name_arr.push("Andrew", "Andy", "Aaron", "Alan", "Ash", "Brian", "Bill", "Ben", "Brendan", "Brian", "Brandon", "Brent", "Bennie", "Bob", "Chris", "Christian", "Craig", "Chad", "Cesar", "Charles", "Carlos", "Charlie", "Chester", "Carl", "Dan", "Danny", "Daniel", "Donny", "Dave", "David", "Don", "Dick", "Dwight", "Dustin", "Dylan", "Ed", "Eddie", "Evan", "Ethan", "Enrique", "Erik", "Eric", "Efrain", "Eli", "Frank", "Freddy", "Glenn", "Gary", "Gavin", "Garret", "George", "Grant", "Harry", "Harvey", "Henry", "Isaiah", "Ian", "Jake", "Jacob", "Jim", "Jimmy", "James", "JJ", "John", "Jerry", "Jeromy", "Justin", "Jon", "Johnny", "Jonathan", "Jack", "Kevin", "Ken", "Lance");
resultBB = this.name_arr.push("Lane", "Larry", "Leo", "Mitch", "Mike", "Michael", "Manny", "Mario", "Mark", "Marshall", "Moe", "Matt", "Mathias", "Nate", "Nathan", "Nick", "Nik", "Nolan", "Ollie", "Omar", "Patrick", "Paul", "Phil", "Quentin", "Ralph", "Rafael", "Randy", "Reese", "Rick", "Richard", "Rob", "Ricky", "Robert", "Robby", "Rodger", "Roman", "Ross", "Ron", "Russ", "Ryan", "Steve", "Sam", "Sean", "Scott", "Sal", "Shane", "Seth", "Sheay", "Sean", "Simon", "Sid", "Tanner", "Taylor", "Tim", "Tommy", "Tony", "Travis", "Trevor", "Terry", "Tyler", "val", "Vance", "Vic", "Vincent", "Wade", "Wally", "Will", "Wes", "Wayne", "Zack", "Zak");
limitLen = this.name_arr.length;
nameRand = Math.round(Math.random() * limitLen) - 1;
this.customerName = this.name_arr[nameRand];
if (this.customerName == undefined) {
this.customerName = "Dan";
}
}
};
this.nameGenerator();
if (Math.random() > 0.5) {
this.eyesFrame = 1;
} else {
this.eyesFrame = 6;
}
if (Math.random() > 0.5) {
this.lipsFrame = 1;
} else {
this.lipsFrame = 6;
}
this.moodBar = 100;
this.entertainBar = 0;
if (_parent.specialCharacter == undefined) {
this.randomize();
} else if (!(_parent.specialCharacter === "smashley")) {
} else {
this.eyesFrame = 1;
this.lipsFrame = 1;
this.characterClass = "smashley";
this.customerName = "Smashley";
this.customerHUD.nameText.text = this.customerName;
this.customerHUD.nameShadow.text = this.customerName;
this.raceIndex = 1;
this.face_mc.eyes.eyeShadowColor = 7;
this.gotoAndStop(2);
}
this.entertain = function (pointValue) {
if (this.entertaining == true) {
if ((this.entertainBar + this.moodBar) < 150) {
this.entertainBar = this.entertainBar + (pointValue / 20);
} else {
this.entertainBar = 150 - this.moodBar;
}
} else {
this.entertaining = true;
this.entertainGraphic._visible = true;
if ((this.entertainBar + this.moodBar) < 150) {
this.entertainBar = pointValue / 20;
} else {
this.entertainBar = 150 - this.moodBar;
}
}
};
this.endCombo = function (success) {
if (this.entertaining == true) {
if (success == true) {
this.moodBar = this.moodBar + this.entertainBar;
if (this.moodBar > 150) {
this.moodBar = 150;
}
}
this.showMood();
this.entertainGraphic._visible = false;
this.spillEntertainGraphic._visible = false;
this.entertainBar = 0;
this.entertaining = false;
}
};
this.startStealing = function () {
this.stealTips.gotoAndStop(2);
};
this.custLevel = _parent.custLevel;
this.spillGraphic = this.customerHUD.moodBarHUD.spillMoodBar;
this.moodGraphic = this.customerHUD.moodBarHUD.mainMoodBar;
this.entertainGraphic = this.customerHUD.moodBarHUD.MainEntertainBar;
this.spillEntertainGraphic = this.customerHUD.moodBarHUD.spillEntertainBar;
this.entertainGraphic._visible = false;
this.spillEntertainGraphic._visible = false;
this.reduction = (0.166666666666667 + ((0.333333333333333 * _parent.custLevel) / 50)) / _global.playerStats.charismaTimeBonus;
this.playEmotion = function (moodString) {
switch (moodString) {
case "stoked" :
this.face_mc.eyes.gotoAndStop(this.eyesFrame + Number(4));
this.face_mc.lips.gotoAndStop(this.lipsFrame + Number(4));
break;
case "okay" :
this.face_mc.eyes.gotoAndStop(this.eyesFrame);
this.face_mc.lips.gotoAndStop(this.lipsFrame);
break;
case "bored" :
this.face_mc.eyes.gotoAndStop(this.eyesFrame + Number(1));
this.face_mc.lips.gotoAndStop(this.lipsFrame + Number(1));
break;
case "angry" :
this.face_mc.eyes.gotoAndStop(this.eyesFrame + Number(3));
this.face_mc.lips.gotoAndStop(this.lipsFrame + Number(3));
break;
case "gross" :
this.face_mc.eyes.gotoAndStop(this.eyesFrame + Number(2));
this.face_mc.lips.gotoAndStop(this.lipsFrame + Number(2));
}
};
this.showMood = function () {
if (this.moodBar > 100) {
this.spillGraphic._visible = true;
this.moodGraphic._width = 142;
this.spillGraphic._width = (142 * (this.moodBar - 100)) / 50;
} else {
this.spillGraphic._width = 0;
this.spilGraphic._visible = false;
this.moodGraphic._width = (142 * this.moodBar) / 100;
}
if (this.entertaining == true) {
if ((this.entertainBar + this.moodBar) > 100) {
this.spillEntertainGraphic._visible = true;
this.entertainGraphic._width = 142;
this.spillEntertainGraphic._width = (142 * ((this.entertainBar + this.moodBar) - 100)) / 50;
} else {
this.spillEntertainGraphic._width = 0;
this.spillEntertainGraphic._visible = false;
this.entertainGraphic._width = (142 * (this.entertainBar + this.moodBar)) / 100;
}
if ((this.entertainBar + this.moodBar) > 150) {
this.spillEntertainGraphic._width = 142;
}
}
this.reflectMood();
};
this.reflectMood = function () {
if (this.served != true) {
moodEnt = this.entertainBar + this.moodBar;
if ((moodEnt > 100) && (this.mood != "stoked")) {
this.mood = "stoked";
this.playEmotion("stoked");
}
if (((moodEnt < 100) && (moodEnt > 60)) && (this.mood != "okay")) {
this.mood = "okay";
this.playEmotion("okay");
}
if (((moodEnt < 60) && (moodEnt > 20)) && (this.mood != "bored")) {
this.mood = "bored";
this.playEmotion("bored");
}
if (((moodEnt < 20) && (moodEnt > 0)) && (this.mood != "angry")) {
this.mood = "angry";
this.playEmotion("angry");
}
}
};
this.leaveNow = function (reasonForLeaving) {
this.served = true;
if (reasonForLeaving == "failTime") {
_global.roundData.failOne();
this.failDropper_mc.play();
_parent.play();
} else {
this.endCombo(true);
switch (reasonForLeaving) {
case 1 :
this.playEmotion("stoked");
break;
case 2 :
this.playEmotion("okay");
break;
case 3 :
this.playEmotion("bored");
break;
case 4 :
this.playEmotion("angry");
break;
case 5 :
this.playEmotion("gross");
_global.roundData.failOne();
this.failDropper_mc.play();
}
}
if (_global.roundData.vipCardCurrent > -1) {
_global.roundData.customersServed++;
_global.roundTimerDisplay.displayRemainingCustomers();
}
};
this.reduceMood = function () {
if (this.served != true) {
if (this.moodBar > 0) {
this.moodBar = this.moodBar - this.reduction;
} else {
this.moodBar = 0;
if (this.entertaining != true) {
this.leaveNow("failTime");
}
}
if ((this.entertaining == true) && (this.entertainBar >= 0)) {
this.entertainBar = this.entertainBar - this.reduction;
}
}
};
this.timeSpacer = -20;
this.shockAndAmaze = function () {
if (this.served != true) {
this.moodBar = 100;
this.entertainBar = 50;
this.entertaining = true;
this.endCombo(true);
this.face_mc.heartEyes.gotoAndPlay(2);
}
};
this.timeLapse = function () {
if (_global.specials.aprilSpecial != true) {
if (this.timeSpacer == 4) {
this.timeSpacer = 0;
this.reduceMood();
this.showMood();
}
this.timeSpacer++;
}
};
this.resetCharismaBonus = function () {
this.reduction = (0.166666666666667 + ((0.333333333333333 * _parent.custLevel) / 50)) / _global.playerStats.charismaTimeBonus;
};
if (_global.specials.aprilSpecial == true) {
this.shockAndAmaze();
}
Symbol 5884 MovieClip Frame 2
stop();
Symbol 5893 MovieClip Frame 1
stop();
Symbol 5893 MovieClip Frame 2
stop();
Symbol 5893 MovieClip Frame 3
stop();
Symbol 5893 MovieClip Frame 4
stop();
Symbol 5893 MovieClip Frame 5
stop();
Symbol 5894 MovieClip Frame 1
this.badCount = 0;
for (xo in _parent.missing_arr) {
this[("item" + badCount) + "_mc"].gotoAndStop(_parent.missing_arr[xo]);
this.badCount++;
}
Symbol 5908 MovieClip Frame 1
this.gotoAndStop(_parent.rating);
stop();
Symbol 5908 MovieClip Frame 2
stop();
Symbol 5908 MovieClip Frame 3
stop();
Symbol 5908 MovieClip Frame 4
stop();
Symbol 5908 MovieClip Frame 5
stop();
Symbol 5909 MovieClip Frame 1
stop();
Symbol 5912 MovieClip Frame 1
this.tipText.text = _parent.tipReading;
Symbol 5913 MovieClip Frame 1
stop();
Symbol 5913 MovieClip Frame 60
if (_parent._parent.specialCharacter == undefined) {
_parent._parent.play();
}
Symbol 5914 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_global.heldGlass) == true) && (_global.heldGlass.setOnBar == true)) {
if (_parent.specialCharacter == undefined) {
if (this.accepting != false) {
this.accepting = false;
this.glass = _global.heldGlass;
this.glass.putInPlay(false);
_global.heldGlass = undefined;
this.glass.enabled = false;
this.glass.setOnBar = false;
if (this.glass.glassType == "shotglass") {
_global.completeChecklistItem(0, 1);
}
this.appraise(this.glass);
}
} else {
_global.tutorialDisplay.servedAshley(this);
}
}
};
this.orderedDrink = _parent.drinkOrder;
this.appraise = function (serveDrink) {
if (serveDrink.contents[0] == _global.ing.beer) {
_global.completeChecklistItem(0, 0);
}
this.drinkRating_mc.missing_arr = new Array();
this.drinkScore = 3;
if ((this.orderedDrink.glassType != "beer") && (serveDrink.glassType == "beer")) {
this.drinkScore = this.drinkScore - 5;
}
if (this.orderedDrink.glassType != serveDrink.glassType) {
this.drinkScore = this.drinkScore - 0.5;
this.drinkRating_mc.missing_arr.push("glass");
}
if (this.orderedDrink.garnish == serveDrink.garnish) {
if (this.orderedDrink.garnish != null) {
this.drinkScore = this.drinkScore + 0.5;
_global.completeChecklistItem(0, 6);
}
} else if (this.orderedDrink.garnish != null) {
this.drinkRating_mc.missing_arr.push("garnish");
}
this.compareDifference = 0;
for (i in this.orderedDrink.ingredients[0]) {
j = 0;
checkedIn = 0;
for (j in serveDrink.contents) {
if (this.orderedDrink.ingredients[0][i].fullTitle == serveDrink.contents[j].fullTitle) {
checkedIn = 1;
this.compareDifference = this.compareDifference + Math.abs(this.orderedDrink.ingredients[1][i] - serveDrink.contentsAmount[j]);
}
}
if (checkedIn == 0) {
this.compareDifference = this.compareDifference + this.orderedDrink.ingredients[1][i];
}
}
if (this.compareDifference >= _global.itemBonuses.pourSpoutBonus[_global.inventory.pourSpoutLevel]) {
this.compareDifference = this.compareDifference - _global.itemBonuses.pourSpoutBonus[_global.inventory.pourSpoutLevel];
} else {
this.compareDifference = 0;
}
if (this.compareDifference >= 2) {
this.drinkRating_mc.missing_arr.push("mix");
}
this.drinkScore = this.drinkScore - this.compareDifference;
if (((this.orderedDrink.glassType == "highball") || (this.orderedDrink.glassType == "collins")) || (this.orderedDrink.glassType == "oldFashioned")) {
if (serveDrink.iceCount != 3) {
this.drinkRating_mc.missing_arr.push("ice");
this.drinkScore = this.drinkScore / (3 - serveDrink.iceCount);
}
}
if (_global.specialsFunctionList.thizzCount > 0) {
_global.specialsFunctionList.useThizz();
this.drinkScore = 4;
}
if (this.drinkScore >= 3) {
rate = 1;
}
if (this.drinkScore < 3) {
rate = 2;
}
if (this.drinkScore < 2) {
rate = 3;
}
if (this.drinkScore < 0.5) {
rate = 4;
}
if (this.drinkScore <= 0) {
rate = 5;
}
switch (rate) {
case 5 :
_global.roundStats.badDrinks++;
break;
case 4 :
_global.roundStats.poorDrinks++;
break;
case 3 :
_global.roundStats.okayDrinks++;
break;
case 2 :
_global.roundStats.goodDrinks++;
break;
case 1 :
_global.roundStats.perfectDrinks++;
}
this.drinkRating_mc.play();
this.drinkRating_mc.rating = rate;
_global.roundStats.drinksServed++;
entertainerBonus = 0;
if (((_parent.body_mc.entertainBar + _parent.body_mc.moodBar) > 125) && (rate <= 3)) {
entertainerBonus = _parent.custLevel * 2;
}
totalTip = (entertainerBonus + ((_parent.custLevel * 0.3) * ((_parent.body_mc.entertainBar + _parent.body_mc.moodBar) / 100))) + ((_parent.custLevel * 0.7) * (this.drinkScore / 3));
this.totalTipWithBonuses = this.trailingZeros((((totalTip * _global.itemBonuses.liquorQuality[_global.inventory.liquorLevel]) * _global.playerStats.charismaCashMultiplier[_global.playerStats.charisma]) + _global.ownerUpgrades.totalValue) * _global.specials.tipsMultiplier);
_parent.body_mc.customerHUD._visible = false;
if (this.totalTipWithBonuses < 0) {
this.totalTipWithBonuses = 0;
}
if (this.drinkScore > 0) {
this.tipText_mc.tipReading = "+$" + this.totalTipWithBonuses;
this.tipText_mc.play();
_global.sfxLayer.sfx.successSound.start();
_global.roundData.tipIncrease(this.totalTipWithBonuses);
_global.increaseXP(_parent.custLevel);
}
_parent.body_mc.leaveNow(rate);
this.glass.removeMovieClip();
};
this.trailingZeros = function (num) {
var _local4 = 2;
var _local5 = Math.pow(10, _local4);
var _local2 = String(Math.round(num * _local5) / _local5);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = _local4 - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
Symbol 5915 MovieClip [newCustomer] Frame 1
body_mc._visible = false;
body_mc.customerHUD._visible = false;
Symbol 5915 MovieClip [newCustomer] Frame 2
body_mc._visible = true;
Symbol 5915 MovieClip [newCustomer] Frame 30
body_mc.customerHUD._visible = true;
stop();
Symbol 5915 MovieClip [newCustomer] Frame 45
body_mc.customerHUD._visible = false;
Symbol 5915 MovieClip [newCustomer] Frame 61
_parent.customerCount--;
tempArr = new Array();
for (i in _parent.customerArray) {
if (_parent.customerArray[i] != this) {
tempArr.push(_parent.customerArray[i]);
}
}
_parent.customerArray = tempArr;
_parent.seatArray[this.seatIndex].avail = true;
this.removeMovieClip();
Symbol 5919 MovieClip Frame 1
stop();
Symbol 5919 MovieClip Frame 10
stop();
Symbol 5921 MovieClip Frame 1
stop();
Symbol 5921 MovieClip Frame 2
stop();
Symbol 5921 MovieClip Frame 3
stop();
Symbol 5922 MovieClip Frame 1
this.changeText = function (textID) {
this.textCue = textID;
};
this.onEnterFrame = function () {
this.scroller._x = this.scroller._x - this.xOffset;
this.scroller2._x = this.scroller2._x - this.xOffset;
if (this.scroller._x < (-1 * this.scroller._width)) {
this.scroller.gotoAndStop(this.textCue);
this.scroller._x = (this.scroller2._x + this.scroller2._width) + 5;
}
if (this.scroller2._x < (-1 * this.scroller2._width)) {
this.scroller2.gotoAndStop(this.textCue);
this.scroller2._x = (this.scroller._x + this.scroller._width) + 5;
}
};
_global.charSelect.subHeadScroller = this;
this.changeText("standardCharSelect");
this.xOffset = 4;
stop();
Symbol 5927 MovieClip Frame 1
stop();
Symbol 5927 MovieClip Frame 2
stop();
Symbol 5928 MovieClip Frame 1
this.changeText = function (textID) {
this.textCue = textID;
};
this.onEnterFrame = function () {
this.scroller._x = this.scroller._x - this.xOffset;
this.scroller2._x = this.scroller2._x - this.xOffset;
if (this.scroller._x < (-1 * this.scroller._width)) {
this.scroller.gotoAndStop(this.textCue);
this.scroller._x = (this.scroller2._x + this.scroller2._width) + 15;
}
if (this.scroller2._x < (-1 * this.scroller2._width)) {
this.scroller2.gotoAndStop(this.textCue);
this.scroller2._x = (this.scroller._x + this.scroller._width) + 15;
}
};
_global.charSelect.subHeadScroller = this;
this.changeText("standardCharSelect");
this.xOffset = 7;
stop();
Symbol 5933 MovieClip Frame 1
this.onRollOver = function () {
play();
};
this.hitArea = this.saHit;
this.onRollOut = function () {
this.gotoAndPlay(36);
};
this.onPress = function () {
_global.gameStartSelected();
this.onPress = null;
};
stop();
Symbol 5933 MovieClip Frame 35
gotoAndPlay (5);
Symbol 5935 MovieClip Frame 1
this._visible = false;
stop();
Symbol 5935 MovieClip Frame 2
this._visible = true;
Symbol 5935 MovieClip Frame 10
stop();
Symbol 5937 MovieClip Frame 1
_global.music.charSelectTrack.setVolume(50);
stop();
Symbol 5937 MovieClip Frame 5
this.onEnterFrame = function () {
xx = _global.music.charSelectTrack.getVolume();
if (xx > 20) {
_global.music.charSelectTrack.setVolume(xx - 5);
} else {
this.onEnterFrame = null;
_global.characterSelectVoice = new Sound(_parent);
_global.characterSelectVoice.attachSound(_global.character.charID);
for (i in _global.charSelectButtonGroup) {
if (_global.charSelectButtonGroup[i].characterID != undefined) {
_global.charSelectButtonGroup[i].swingOut = true;
}
}
_parent.transitionToMenu(true);
}
};
Symbol 5937 MovieClip Frame 13
_global.characterSelectVoice.start();
Symbol 5937 MovieClip Frame 36
stop();
Symbol 5948 MovieClip Frame 1
stop();
Symbol 5948 MovieClip Frame 7
stop();
Symbol 5954 MovieClip Frame 1
stop();
Symbol 5954 MovieClip Frame 2
stop();
Symbol 5954 MovieClip Frame 3
stop();
Symbol 5954 MovieClip Frame 4
stop();
Symbol 5954 MovieClip Frame 5
stop();
Symbol 5954 MovieClip Frame 6
stop();
Symbol 5954 MovieClip Frame 7
stop();
Symbol 5954 MovieClip Frame 8
stop();
Symbol 5954 MovieClip Frame 9
stop();
Symbol 5954 MovieClip Frame 10
stop();
Symbol 5973 MovieClip Frame 1
stop();
Symbol 5973 MovieClip Frame 2
stop();
Symbol 5973 MovieClip Frame 3
stop();
Symbol 5973 MovieClip Frame 4
stop();
Symbol 5973 MovieClip Frame 5
stop();
Symbol 5973 MovieClip Frame 6
stop();
Symbol 5973 MovieClip Frame 7
stop();
Symbol 5973 MovieClip Frame 8
stop();
Symbol 5973 MovieClip Frame 9
stop();
Symbol 5973 MovieClip Frame 10
stop();
Symbol 5977 MovieClip Frame 1
_global.charSelect.stats = this;
this.changeChar = function (char) {
this.selectedCharacter = char;
this.play();
};
this.stats.gotoAndStop(this.selectedCharacter);
this.flagIcon.gotoAndStop(this.selectedCharacter);
Symbol 5977 MovieClip Frame 14
if (_global.charQueue == "none") {
stop();
}
Symbol 5977 MovieClip Frame 22
gotoAndPlay (1);
Symbol 5977 MovieClip Frame 28
stop();
Symbol 5978 MovieClip Frame 1
stop();
Symbol 5978 MovieClip Frame 2
stop();
Symbol 5978 MovieClip Frame 3
stop();
Symbol 5978 MovieClip Frame 4
stop();
Symbol 5978 MovieClip Frame 5
stop();
Symbol 5978 MovieClip Frame 6
stop();
Symbol 5978 MovieClip Frame 7
stop();
Symbol 5978 MovieClip Frame 8
stop();
Symbol 5978 MovieClip Frame 9
stop();
Symbol 5978 MovieClip Frame 10
stop();
Symbol 5979 MovieClip Frame 1
_global.charSelect.portrait = this;
this.changeChar = function (char) {
this.selectedCharacter = char;
this.play();
};
this.charPortrait.gotoAndStop(this.selectedCharacter);
_quality = "LOW";
Symbol 5979 MovieClip Frame 13
_global.charQueue = "none";
Symbol 5979 MovieClip Frame 18
_global.canSelectCharacterNow = true;
if (_global.charQueue == "none") {
stop();
_quality = "HIGH";
}
Symbol 5979 MovieClip Frame 19
_quality = "LOW";
Symbol 5979 MovieClip Frame 24
this.gotoAndPlay(1);
Symbol 5979 MovieClip Frame 40
_quality = "HIGH";
stop();
Symbol 5980 MovieClip Frame 1
this.onRollOver = function () {
if (_parent.scrollLock != true) {
_parent.xOffset = 3;
}
};
this.onRollOut = function () {
if (_parent.scrollLock != true) {
_parent.xOffset = 1;
}
};
Symbol 5992 MovieClip Frame 1
stop();
Symbol 5992 MovieClip Frame 2
stop();
Symbol 5992 MovieClip Frame 3
stop();
Symbol 5992 MovieClip Frame 4
stop();
Symbol 5992 MovieClip Frame 5
stop();
Symbol 5992 MovieClip Frame 6
stop();
Symbol 5992 MovieClip Frame 7
stop();
Symbol 5992 MovieClip Frame 8
stop();
Symbol 5992 MovieClip Frame 9
stop();
Symbol 5992 MovieClip Frame 10
stop();
Symbol 5992 MovieClip Frame 11
_parent.xOffset = 4;
stop();
Symbol 5993 MovieClip Frame 1
this.changeChar = function (charID) {
this.scroller.gotoAndStop(charID);
this.scroller._x = 520;
};
this.onEnterFrame = function () {
this.scroller._x = this.scroller._x - this.xOffset;
if (this.scroller._x < (-1 * this.scroller._width)) {
this.scroller._x = 520;
}
};
_global.charSelect.subScroller = this;
this.scroller._x = 520;
this.xOffset = 1;
stop();
Symbol 5993 MovieClip Frame 2
this.changeChar("mainMenu");
this.scrollLock = true;
Symbol 5993 MovieClip Frame 7
stop();
Symbol 6014 MovieClip Frame 2
stop();
Symbol 6014 MovieClip Frame 3
stop();
Symbol 6014 MovieClip Frame 4
stop();
Symbol 6014 MovieClip Frame 5
stop();
Symbol 6014 MovieClip Frame 6
stop();
Symbol 6014 MovieClip Frame 7
stop();
Symbol 6014 MovieClip Frame 8
stop();
Symbol 6014 MovieClip Frame 9
stop();
Symbol 6014 MovieClip Frame 10
stop();
Symbol 6014 MovieClip Frame 11
stop();
Symbol 6015 MovieClip Frame 1
_global.charSelect.nameTitle = this;
this.changeChar = function (char) {
this.selectedCharacter = char;
this.play();
};
this.charName.gotoAndStop(this.selectedCharacter);
Symbol 6015 MovieClip Frame 13
_global.canSelectNew = true;
if (_global.charQueue == "none") {
stop();
}
Symbol 6015 MovieClip Frame 22
this.gotoAndPlay(1);
Symbol 6015 MovieClip Frame 30
stop();
Symbol 6037 MovieClip Frame 1
this._visible = false;
stop();
charFlare_mc.cacheAsBitmap = true;
flareMask.cacheAsBitmap = true;
charFlare_mc.setMask(flareMask);
Symbol 6037 MovieClip Frame 2
this._visible = true;
this.timer = 0;
this.onEnterFrame = function () {
if (_parent.chosenOne == true) {
this._visible = !this._visible;
this.timer++;
if (this.timer >= 5) {
this._visible = true;
this.onEnterFrame = null;
}
}
};
stop();
Symbol 6043 MovieClip Frame 5
_parent.playSelect();
Symbol 6043 MovieClip Frame 12
stop();
Symbol 6045 MovieClip Frame 1
_parent.hitArea = this;
Symbol 6064 MovieClip Frame 1
this.homeX = this._x;
this.homeY = this._y;
this.onRelease = function () {
this.chosenOne = true;
_quality = "HIGH";
_global.chooseCharacter(this.characterID);
};
this.characterSet = function (charID) {
this.characterID = charID;
this.gotoAndStop(charID);
this.faceglow.gotoAndStop(1);
this.faceglow._visible = false;
};
this.onRollOver = function () {
if (_global.charSelect.activeSelection != this) {
if (_global.canSelectCharacterNow != false) {
_global.canSelectCharacterNow = false;
_global.soundtrack.start();
_global.charSelect.activeSelection.deselect();
this.select();
} else {
this.readyToRoll = true;
}
}
};
this.onRollOut = function () {
this.readyToRoll = false;
};
this.playSelect = function () {
if (this.isSelected == true) {
this.charFlare_mc.gotoAndStop(2);
}
};
this.deselect = function () {
this.swapDepths(_parent.button10);
this.isSelected = false;
this.charFlare_mc.gotoAndStop(1);
};
this.select = function () {
_global.charSelect.activeSelection = this;
this.isSelected = true;
this.swapDepths(_parent.button10);
this.faceglow._visible = true;
this.faceglow.gotoAndPlay(2);
_global.charQueue = this.characterID;
_global.charSelect.portrait.changeChar(this.characterID);
_global.charSelect.nameTitle.changeChar(this.characterID);
_global.charSelect.stats.changeChar(this.characterID);
_global.charSelect.subScroller.changeChar(this.characterID);
};
this.swingTimer = 0;
this.onEnterFrame = function () {
if (this.swingOut == true) {
this.swingTimer++;
if (this.swingTimer <= 50) {
this._x = this._x + 10;
} else {
this.swingTimer = 0;
this.swingOut = false;
}
}
if (this.readyToRoll == true) {
if (_global.charSelect.activeSelection != this) {
if (_global.canSelectCharacterNow != false) {
this.readyToRoll = false;
_global.canSelectCharacterNow = false;
_global.soundtrack.start();
_global.charSelect.activeSelection.deselect();
this.select();
}
}
}
};
stop();
Symbol 6064 MovieClip Frame 2
stop();
Symbol 6064 MovieClip Frame 3
stop();
Symbol 6064 MovieClip Frame 4
stop();
Symbol 6064 MovieClip Frame 5
stop();
Symbol 6064 MovieClip Frame 6
stop();
Symbol 6064 MovieClip Frame 7
stop();
Symbol 6064 MovieClip Frame 8
stop();
Symbol 6064 MovieClip Frame 9
stop();
Symbol 6064 MovieClip Frame 10
stop();
Symbol 6065 MovieClip Frame 1
_global.charSelectButtonGroup = this;
this.onEnterFrame = function () {
if (this.button1.characterID == undefined) {
this.button1.characterSet("charon");
this.button2.characterSet("johnny");
this.button3.characterSet("natasha");
this.button4.characterSet("taylor");
this.button5.characterSet("charlie");
this.button6.characterSet("yumi");
this.button7.characterSet("rey");
this.button8.characterSet("danny");
this.button9.characterSet("claire");
this.button10.characterSet("stunna");
this.button1.select();
} else {
this.onEnterFrame = null;
}
};
_global.chooseCharacter = function (charID) {
if (_global.charSelected != true) {
_global.charSelected = true;
_global.characterName = charID;
switch (charID) {
case "claire" :
_global.characterName = "april";
_global.character.charID = "aprilShowers";
_global.startStat.cha = 2;
break;
case "yumi" :
_global.character.charID = "yumiNagata";
_global.startStat.spe = 1;
_global.startStat.dex = 1;
break;
case "natasha" :
_global.character.charID = "natashaSevernaya";
_global.startStat.dex = 2;
break;
case "taylor" :
_global.characterName = "luc";
_global.character.charID = "lucBrelan";
_global.startStat.str = 1;
_global.startStat.spe = 1;
break;
case "danny" :
_global.character.charID = "dannyKieran";
_global.startStat.dex = 1;
_global.startStat.cha = 1;
break;
case "charlie" :
_global.characterName = "judge";
_global.character.charID = "theJudge";
_global.startStat.cha = 1;
_global.startStat.spe = 1;
break;
case "stunna" :
_global.character.charID = "stunna";
_global.startStat.dex = 1;
_global.startStat.str = 1;
break;
case "charon" :
_global.character.charID = "charonStCroix";
_global.startStat.spe = 2;
break;
case "rey" :
_global.character.charID = "reyConquista";
_global.startStat.str = 2;
break;
case "johnny" :
_global.character.charID = "johnnyValentine";
_global.startStat.str = 1;
_global.startStat.cha = 1;
}
for (i in _global.charSelectButtonGroup) {
if (_global.charSelectButtonGroup[i].characterSet != undefined) {
_global.charSelectButtonGroup[i].enabled = false;
}
if (_global.character.charID != undefined) {
_parent.playChar();
}
}
}
};
stop();
Symbol 6066 MovieClip [characterSelectScreen] Frame 1
_global.charSelectScreen = this;
_global.character = new Object();
_global.charSelect = new Object();
_global.soundtrack = new Sound();
_global.soundtrack.attachSound("buttonTone.mp3");
_global.voiceTrack = new Object();
_global.soundFunctions = new Object();
_global.startStat = new Object({str:0, dex:0, cha:0, spe:0});
this.playChar = function () {
this.charSelectSoundtrack.play();
};
this.transitionToMenu = function (toMenu) {
if (toMenu == true) {
bottomBar_mc.play();
stats_mc.gotoAndPlay(23);
descScroll_mc.play();
charSelectPortrait.gotoAndPlay("transIn");
charName_mc.gotoAndPlay("transIn");
subHeadBack_mc.play();
subHead_mc._visible = false;
titleBar.changeText("mainMenu");
mainMenu_mc.play();
trace("Iran");
}
};
Symbol 6066 MovieClip [characterSelectScreen] Frame 80
stop();
Symbol 6127 MovieClip Frame 1
this.hitArea = this.hitBox_mc;
this.onRelease = function () {
this.gotoAndStop(2);
getURL (this.contact, "_blank");
};
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onPress = function () {
this.gotoAndStop(3);
};
stop();
Symbol 6127 MovieClip Frame 2
stop();
Symbol 6127 MovieClip Frame 3
stop();
Symbol 6130 MovieClip Frame 1
this.rinaChan_mc.contact = "http://suzumiya-haruhi.net";
this.leeMerritt_mc.contact = "mailto:calypsoteatigress@gmail.com";
this.sLynch_mc.contact = "http://www.geocities.com/shard_spider";
this.sDingo_mc.contact = "http://www.freewebs.com/shockdingo";
this.fLouise_mc.contact = "mailto:madcheshiregirl@aol.com";
this.edwynT_mc.contact = "mailto:edwyn.tiong@internode.on.net";
this.jTomar_mc.contact = "mailto:jtomar@ufl.edu";
this.djEagle_mc.contact = "http://djeagle.newgrounds.com/";
this.masai_mc.contact = "http://www.centraldigit.com/";
this.cornAndBeans_mc.contact = "http://www.newgrounds.com/audio/listen/71906";
this.mjTomb_mc.contact = "http://mjttomb.newgrounds.com/";
this.danH_mc.contact = "mailto:dangetshismail@gmail.com";
this.sponsor_mc.contact = _global.sponsorURL;
this.aSchroder_mc.contact = "http://www.flashgamelicense.com";
this.newgrounds_mc.contact = "http://www.newgrounds.com/portal/view/388196";
this.vaa_mc.contact = "http://voiceactingalliance.com/board/index.php";
this.vag_mc.contact = "http://voiceacting.proboards62.com/";
this.mochi_mc.contact = "http://www.mochibot.com/";
Symbol 6134 MovieClip Frame 1
this.creditsScroller.cacheAsBitmap = true;
this.creditsMask.cacheAsBitmap = true;
this.creditsScroller.setMask(this.creditsMask);
Symbol 6139 MovieClip Frame 1
this.onPress = function () {
_global.calendarMenuInstance._alpha = 100;
_global.calendarMenuInstance._visible = true;
_global.lockCalendarMenu(false);
_parent.removeMovieClip();
};
Symbol 6144 MovieClip [creditsScreen] Frame 2
_global.lockCalendarMenu(true);
this.clickCatcher_mc.enabled = false;
this.onEnterFrame = function () {
if (_global.calendarMenuInstance._alpha > 0) {
_global.calendarMenuInstance._alpha = _global.calendarMenuInstance._alpha - 10;
} else {
_global.calendarMenuInstance._visible = false;
this.clickCatcher_mc.enabled = true;
this.onEnterFrame = null;
}
};
Symbol 6144 MovieClip [creditsScreen] Frame 202
stop();
Symbol 6207 MovieClip Frame 1
this.gotoAndStop(_global.roundData.powerHour);
stop();
Symbol 6207 MovieClip Frame 2
stop();
Symbol 6207 MovieClip Frame 3
stop();
Symbol 6207 MovieClip Frame 4
stop();
Symbol 6207 MovieClip Frame 5
stop();
Symbol 6207 MovieClip Frame 6
stop();
Symbol 6207 MovieClip Frame 7
stop();
Symbol 6207 MovieClip Frame 8
stop();
Symbol 6207 MovieClip Frame 9
stop();
Symbol 6207 MovieClip Frame 10
stop();
Symbol 6207 MovieClip Frame 11
stop();
Symbol 6207 MovieClip Frame 12
stop();
Symbol 6207 MovieClip Frame 13
stop();
Symbol 6207 MovieClip Frame 14
stop();
Symbol 6207 MovieClip Frame 15
stop();
Symbol 6207 MovieClip Frame 16
stop();
Symbol 6207 MovieClip Frame 17
stop();
Symbol 6207 MovieClip Frame 18
stop();
Symbol 6207 MovieClip Frame 19
stop();
Symbol 6207 MovieClip Frame 20
stop();
Symbol 6207 MovieClip Frame 21
stop();
Symbol 6207 MovieClip Frame 22
stop();
Symbol 6207 MovieClip Frame 23
stop();
Symbol 6208 MovieClip Frame 45
stop();
Symbol 6211 MovieClip Frame 1
this.onRelease = function () {
_parent._parent.attachMovie("powerHourIntro", "powerHourIntro", _parent._parent.getNextHighestDepth(), {_x:0, _y:0});
_parent.removeMovieClip();
};
Symbol 6212 MovieClip [frankPowerHourPopUp] Frame 55
stop();
Symbol 6224 MovieClip [garnish] Frame 1
this.bounceCount = 0;
switch (this.garnishType) {
case "lime" :
this.gotoAndStop(1);
break;
case "cherry" :
this.gotoAndStop(2);
break;
case "olive" :
this.gotoAndStop(3);
break;
case "lemon" :
this.gotoAndStop(4);
}
this.topSpinCount = 0;
this.bottomSpinCount = 0;
this.spinMomentum = 0;
this.highToss = false;
this._rotation = 0;
this.momentumChanged = false;
this.pickedUp = true;
this.pickUpTimer = 0;
this.released = false;
this.hitArea = this.catchArea_mc;
this.lastXMomentum[0] = 0;
this.lastXMomentum[1] = 0;
this.lastYMomentum[0] = 0;
this.lastYMomentum[1] = 0;
this.yMomentum = 0;
this.xMomentum = 0;
this.lastLastX = this._x;
this.lastX = this._x;
this.lastLastY = this._y;
this.lastY = this._y;
this.setOnBar = false;
this.onMouseUp = function () {
this.pickedUp = false;
this.released = true;
if (_global.tutorialDisplay.waiting != false) {
_global.tutorialDisplay.receiveEvents("foundGarnish");
}
this.onMouseUp = null;
};
this.onEnterFrame = function () {
if (_global.gamePaused != true) {
if (this.pickedUp == true) {
if (this._rotation > -30) {
if (this.empty != false) {
this._rotation = this._rotation - 2;
}
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
this.xMomentum = _global.bottleValues.maximumXVelocity;
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this._x = _root._xmouse;
this._y = _root._ymouse;
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
this.spinMomentum = 2 * this.xMomentum;
}
if (this.released == true) {
if (this._y <= 0) {
if ((this._y <= -100) && (this.highToss != true)) {
this.highToss = true;
}
if (this.indicated != true) {
this.indicated = true;
_parent.attachMovie("bottleIndicator", this._name + "bottleIndicator_mc", _parent.getNextHighestDepth(), {_x:this._x, drinkOwner:this});
}
} else {
this.indicated = false;
}
if ((this._y >= _global.region.barTop) && (this._y <= _global.region.barBottom)) {
this.bounce();
}
for (i in _global.glass_arr) {
if (this.hitTest(_global.glass_arr[i].glassImage_mc)) {
if (this.yMomentum < 0) {
this.catchInGlass(_global.glass_arr[i]);
} else {
this.xMomentum = _global.glass_arr[i].xMomentum;
}
}
}
if (this._y <= 344) {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this.spinMomentum = (2 * this.xMomentum) + ((this.xMomentum + 1) / Math.abs(this.xMomentum + 1));
this._rotation = this._rotation + this.spinMomentum;
} else {
this._y = this._y - this.yMomentum;
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x - this.xMomentum;
this.spinMomentum = (2 * this.xMomentum) + ((this.xMomentum + 1) / Math.abs(this.xMomentum + 1));
this._rotation = this._rotation + this.spinMomentum;
this.bounce();
}
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
}
}
};
this.catchInGlass = function (glass) {
if ((glass.garnishCount > 0) || (glass.empty == true)) {
this.bounce();
} else {
if (this.highToss == true) {
_global.comboDisplay.updateCombo("garnish");
}
glass.addGarnish(this.garnishType);
this.removeMovieClip();
}
};
this.removeIce = function () {
this.removeMovieClip();
};
this.bounce = function () {
if (this.yMomentum < 0) {
this.bounceCount++;
this.yMomentum = (-this.yMomentum) / 2;
if (this.bounceCount == 3) {
this.removeIce();
}
}
};
stop();
Symbol 6224 MovieClip [garnish] Frame 2
stop();
Symbol 6224 MovieClip [garnish] Frame 3
stop();
Symbol 6224 MovieClip [garnish] Frame 4
stop();
Symbol 6226 MovieClip [fillZone] Frame 1
this._visible = false;
Symbol 6228 MovieClip [liquidPour] Frame 1
var colorful = new Color(this);
colorful.setRGB(this.liquidColor);
if (this.precursor != undefined) {
if (this.precursor._x != this._x) {
xDiff = (this.precursor._x - this._x) / 3;
this.drip1._x = this.drip1._x + xDiff;
this.drip2._x = this.drip2._x + (xDiff * 2);
this.drip3._x = this.drip3._x + (xDiff * 3);
}
this._height = this.precursor._y - this._y;
} else {
this._height = 5;
}
this.onEnterFrame = function () {
this._y = this._y + 10;
if ((this._y + this._height) > ((this.destination._y + this.destination.glassProperties.fillLine) - 5)) {
this.removeMovieClip();
}
};
Symbol 6234 MovieClip [ozOmeter] Frame 1
this.gotoAndStop(this.startFr);
Symbol 6234 MovieClip [ozOmeter] Frame 2
stop();
Symbol 6234 MovieClip [ozOmeter] Frame 3
stop();
Symbol 6234 MovieClip [ozOmeter] Frame 4
stop();
Symbol 6234 MovieClip [ozOmeter] Frame 5
stop();
Symbol 6267 MovieClip [shotgunBlast] Frame 17
this.removeMovieClip();
Symbol 6275 MovieClip Frame 1
if (_global.locked.goldenSodaGun == false) {
this.gotoAndStop(2);
}
stop();
Symbol 6275 MovieClip Frame 2
stop();
Symbol 6276 MovieClip Frame 1
this.onRollOver = function () {
this.rolledOver = true;
this.gotoAndPlay(2);
};
this.onRollOut = function () {
this.rolledOver = false;
};
this.onPress = function () {
_parent.selectDrink(this._name);
};
Symbol 6276 MovieClip Frame 30
if (this.indicated != true) {
stop();
}
Symbol 6279 MovieClip Frame 1
if (_global.character.equipped.sodaGun == "golden") {
this.gotoAndStop(2);
}
stop();
Symbol 6279 MovieClip Frame 2
stop();
Symbol 6280 MovieClip Frame 1
this.onRollOver = function () {
this.rolledOver = true;
this.gotoAndPlay(2);
};
this.onRollOut = function () {
this.rolledOver = false;
};
this.onPress = function () {
_parent.selectDrink(this._name);
};
Symbol 6280 MovieClip Frame 30
stop();
Symbol 6283 MovieClip Frame 1
if (_global.locked.goldenSodaGun == false) {
this.gotoAndStop(2);
}
stop();
Symbol 6283 MovieClip Frame 2
stop();
Symbol 6284 MovieClip Frame 1
this.onRollOver = function () {
this.rolledOver = true;
this.gotoAndPlay(2);
};
this.onRollOut = function () {
this.rolledOver = false;
};
this.onPress = function () {
_parent.selectDrink(this._name);
};
Symbol 6284 MovieClip Frame 31
if (this.indicated != true) {
stop();
}
Symbol 6287 MovieClip Frame 1
if (_global.locked.goldenSodaGun == false) {
this.gotoAndStop(2);
}
stop();
Symbol 6287 MovieClip Frame 2
stop();
Symbol 6288 MovieClip Frame 1
this.onRollOver = function () {
this.rolledOver = true;
this.gotoAndPlay(2);
};
this.onRollOut = function () {
this.rolledOver = false;
};
this.onPress = function () {
_parent.selectDrink(this._name);
};
Symbol 6288 MovieClip Frame 30
if (this.indicated != true) {
stop();
}
Symbol 6291 MovieClip Frame 1
if (_global.character.equipped.sodaGun == "golden") {
this.gotoAndStop(2);
}
stop();
Symbol 6291 MovieClip Frame 2
stop();
Symbol 6292 MovieClip Frame 1
this.onRollOver = function () {
this.rolledOver = true;
this.gotoAndPlay(2);
};
this.onRollOut = function () {
this.rolledOver = false;
};
this.onPress = function () {
_parent.selectDrink(this._name);
};
Symbol 6292 MovieClip Frame 30
if (this.indicated != true) {
stop();
}
Symbol 6295 MovieClip Frame 1
if (_global.locked.goldenSodaGun == false) {
this.gotoAndStop(2);
}
stop();
Symbol 6295 MovieClip Frame 2
stop();
Symbol 6296 MovieClip Frame 1
this.onRollOver = function () {
this.rolledOver = true;
this.gotoAndPlay(2);
};
this.onRollOut = function () {
this.rolledOver = false;
};
this.onPress = function () {
_parent.selectDrink(this._name);
};
Symbol 6296 MovieClip Frame 30
if (this.indicated != true) {
stop();
}
Symbol 6297 MovieClip [sodaGunButtonSet] Frame 1
_global.sodaGroup = this;
if (_global.sodaGunButtonIndicated != undefined) {
switch (_global.sodaGunButtonIndicated) {
case "Cola" :
this.coke.gotoAndPlay(2);
this.coke.indicated = true;
break;
case "Energy Drink" :
this.energy.gotoAndPlay(2);
this.energy.indicated = true;
break;
case "Tonic Water" :
this.tonic.gotoAndPlay(2);
this.tonic.indicated = true;
break;
case "Soda Water" :
this.soda.gotoAndPlay(2);
this.soda.indicated = true;
break;
case "Water" :
this.water.gotoAndPlay(2);
this.water.indicated = true;
break;
case "Lemon Lime Soda" :
this.lemonLime.gotoAndPlay(2);
this.lemonLime.indicated = true;
}
}
this.noItemsSelected = true;
this.finished = function () {
this.timerTimer = 0;
this.onEnterFrame = function () {
if (this.noItemsSelected == true) {
if (this.timerTimer == 2) {
xx = 0;
for (i in this) {
if (this[i].rolledOver == false) {
xx++;
}
}
if (xx == 6) {
_global.sodaGunSelector.activeSelection = false;
_global.sfxLayer.playSodaGun(false);
_global.sodaGunSelector.gotoAndPlay("retract");
this.removeMovieClip();
} else {
this.timerTimer = 0;
this.onEnterFrame = null;
}
}
this.timerTimer++;
} else {
this.onEnterFrame = null;
}
};
};
this.selectDrink = function (mixerID) {
if (_global.tutorialDisplay.waiting == "forWaterClick") {
if (mixerID == "water") {
_global.tutorialDisplay.receiveEvents("waterClicked");
}
}
this[mixerID].indicated = false;
_global.sodaGunButtonIndicated = null;
_parent.attachMovie("sodaGunCursor", "sodaGunCursor_mc", _parent.getNextHighestDepth(), {held:true, mixer:mixerID});
_global.sfxLayer.playSodaGunSelect();
_global.sodaGunSelector.gotoAndStop("gunRemoved");
_global.sodaGunSelector.activeSelection = false;
this.removeMovieClip();
};
this.energy.rolledOver = false;
this.water.rolledOver = false;
this.soda.rolledOver = false;
this.lemonLime.rolledOver = false;
this.coke.rolledOver = false;
this.tonic.rolledOver = false;
Symbol 6297 MovieClip [sodaGunButtonSet] Frame 29
stop();
Symbol 6302 MovieClip Frame 1
if (_global.locked.goldenSodaGun == false) {
this.gotoAndStop(2);
}
stop();
Symbol 6302 MovieClip Frame 2
stop();
Symbol 6305 MovieClip [sodaGunCursor] Frame 1
this.pickedUp = true;
_global.sodaGunSprite = this;
this.released = false;
this.pouring = false;
this.xMomentum = 0;
this.yMomentum = 0;
this.liquidCount = 0;
this.resetPosition = true;
this.lastXMomentum = new Array(0, 0);
this.lastYMomentum = new Array(0, 0);
this.setDown = false;
this.readyToPour = true;
this.snapBackTimer = 0;
this.pouring = false;
this.readyToStop = false;
this.glass = undefined;
this.spinCharge = 0;
switch (this.mixer) {
case "coke" :
this.ing = _global.ing.coke;
break;
case "tonic" :
this.ing = _global.ing.tonic;
break;
case "lemonLime" :
this.ing = _global.ing.lemonLime;
break;
case "water" :
this.ing = _global.ing.water;
break;
case "soda" :
this.ing = _global.ing.soda;
break;
case "energy" :
this.ing = _global.ing.energy;
}
this.onPress = function () {
this.pickUp_func();
};
this.onMouseUp = function () {
this.releaseFunction();
};
this.onEnterFrame = function () {
_root.rotationText.text = this.liquidCount;
if (_global.gamePaused != true) {
if (this.pouring == true) {
this.glass.filling = true;
}
if (this.pickedUp == true) {
if (this.snapBack == true) {
if (this.snapBackTimer < 30) {
this.snapBackTimer = this.snapBackTimer + 10;
} else {
snapBackTimer = 30;
this.readyToPour = true;
this.snapBack = false;
this.checkedIn = true;
}
}
if ((Math.abs(this.xMomentum) > 1) || (Math.abs(this.yMomentum) > 1)) {
this.readyToPour = false;
} else {
this.readyToPour = true;
}
if (this.resetPosition == false) {
if (this._rotation < 0) {
this._rotation = this._rotation + 5;
} else {
this._rotation = this._rotation - 5;
}
}
if (Math.abs(this._rotation - 0) < 8) {
this.resetPosition = true;
}
if (this.lastX != undefined) {
this.lastXMomentum[0] = this.lastXMomentum[1];
this.lastXMomentum[1] = this.xMomentum;
this.xMomentum = (this.lastLastX - this._x) / 2;
if (this.xMomentum > _global.bottleValues.maximumXVelocity) {
}
}
if (this.lastY != undefined) {
this.lastYMomentum[0] = this.lastYMomentum[1];
this.lastYMomentum[1] = this.yMomentum;
this.yMomentum = (this.lastLastY - this._y) / 2;
if (this.yMomentum > _global.bottleValues.maximumYVelocity) {
this.yMomentum = _global.bottleValues.maximumYVelocity;
}
}
this._x = _root._xmouse;
this._y = _root._ymouse;
this.lastLastX = this.lastX;
this.lastX = this._x;
this.lastLastY = this.lastY;
this.lastY = this._y;
this.spinMomentum = this.xMomentum;
}
if (this.released == true) {
if (this._x <= 320) {
this._rotation = 90 / (((320 - this._x) / 100) + 1);
} else {
this._rotation = 90 + ((this._x - 320) / 5);
}
if (this._x <= 0) {
this._x = 1;
this.xMomentum = -this.xMomentum;
}
if (this._x >= 720) {
this._x = 719;
this.xMomentum = -this.xMomentum;
}
if (this._y <= 330) {
this._y = this._y + Math.round((331 - this._y) / 2);
this.yMomentum = this.yMomentum - 0.5;
this._x = this._x + Math.round((320 - this._x) / 2);
} else {
this._y = 344;
_global.sodaGunSelector.gotoAndStop(1);
this.removeMovieClip();
}
}
if (this.pouring == true) {
if ((this.glass.filling == true) || (this.glass.doubleFilled == true)) {
this.readyToStop = true;
_global.pouringLiquidScript(this, "sodaGun");
}
}
}
};
this.releaseFunction = function () {
if (this.pouring == false) {
if (_global.bottleValues.heldBottle == this) {
_global.bottleValues.heldBottle = undefined;
}
if (_global.bottleValues.heldBottle2 == this) {
_global.bottleValues.heldBottle2 = undefined;
}
this.resetPosition = false;
this.pickedUp = false;
this.released = true;
} else {
this.resetPosition = false;
this.pickedUp = false;
}
};
this.pickUp_func = function () {
this.pickedUp = true;
this.released = false;
this.yMomentum = 0;
if (this.pouring == true) {
}
if ((_global.bottleValues.heldBottle == undefined) && (_global.bottleValues.heldBottle2 != this)) {
_global.bottleValues.heldBottle = this;
}
if ((_global.bottleValues.heldBottle != undefined) && (_global.bottleValues.heldBottle != this)) {
_global.bottleValues.heldBottle2 = this;
}
};
this.beginPour = function (targetGlass) {
_global.completeChecklistItem(0, 3);
this.snapBackTimer = 0;
this.liquidCount = 0;
this.pouring = true;
this.glass = targetGlass;
if (this.glass.bottle == undefined) {
this.sfx.liquorPour0.start();
this.glass.bottle = this;
} else {
this.sfx.liquorPour1.start();
this.glass.bottle2 = this;
}
this.readyToPour = false;
};
this.endPour = function (targetGlass) {
if (this.glass.bottle == this) {
this.sfx.liquorPour0.stop();
this.glass.filling = undefined;
this.glass.currentIngredient = null;
this.glass.bottle = null;
}
if (this.glass.bottle2 == this) {
this.sfx.liquorPour1.stop();
this.glass.doubleFilled = undefined;
this.glass.currentIngredient2 = null;
this.glass.bottle2 = null;
}
this.glass.stopFilling = true;
this.checkedIn = true;
this.snapBack = true;
this.pouring = false;
this.glass = undefined;
};
this.pickUp_func();
this.sfx = new Object();
this.sfx.liquorPour0 = new Sound(this);
this.sfx.liquorPour0.attachSound("liquorPour1");
this.sfx.liquorPour1 = new Sound(this);
this.sfx.liquorPour1.attachSound("liquorPour1");
Symbol 6311 MovieClip [particleSpark] Frame 1
this.counter = 0;
this._visible = false;
fadeRand = (Math.random() * 20) + 10;
gravRand = (Math.random() * 0.2) + 0.5;
startRand = 0;
disappear = 20;
if (this.isStatic == true) {
fadeRand = (Math.random() * 10) + 10;
gravRand = 0;
disappear = 5;
}
_global.specialEffects.sparkCount++;
if (_global.specialEffects.sparkCount >= _global.specialEffects.sparkLimit) {
_global.specialEffects.sparkCount--;
this.removeMovieClip();
}
this.onEnterFrame = function () {
if (this.behavior != "gunSpark") {
if (this.counter >= startRand) {
this._visible = true;
this._x = this._x + this.xMomentum;
this._y = this._y + this.yMomentum;
this.yMomentum = this.yMomentum + gravRand;
this.psG._rotation = this.psG._rotation + this.xMomentum;
if (this.counter > fadeRand) {
this._alpha = this._alpha - 20;
}
if (this.counter > (fadeRand + disappear)) {
_global.specialEffects.sparkCount--;
this.removeMovieClip();
}
} else {
this._x = this.reference._x;
this._y = this.reference._y;
}
this.counter++;
} else {
pSpark._visible = false;
if (this.counter >= startRand) {
this._visible = true;
this._x = this._x + this.xMomentum;
this._y = this._y + this.yMomentum;
this.psG._rotation = this.psG._rotation + this.xMomentum;
if (this.counter > fadeRand) {
_global.specialEffects.sparkCount--;
this.removeMovieClip();
}
} else {
this._x = this.reference._x;
this._y = this.reference._y;
}
this.counter++;
}
};
Symbol 6322 MovieClip [ricochet] Frame 1
if (_global.options.sparklesOn != false) {
xC = 0;
while (xC < 5) {
yRand = (Math.random() * 40) - 20;
xRand = 20 - (Math.random() * 40);
rSize = (Math.random() * 10) + 5;
_global.effectsLayer.attachMovie("particleSpark", "particleSpark" + xC, _global.effectsLayer.getNextHighestDepth(), {_x:this._x, _y:this._y, _width:rSize, _height:rSize, behavior:"gunSpark", xMomentum:xRand, yMomentum:yRand, reference:this});
xC++;
}
}
Symbol 6322 MovieClip [ricochet] Frame 11
this.removeMovieClip();
Symbol 6328 MovieClip Frame 1
randSpriteCount = (Math.random() * 50) + 50;
randSpriteCount = Math.round(randSpriteCount);
totalSprites = randSpriteCount;
do {
heightRand = 5 + (Math.random() * 10);
this.attachMovie("tfSparkSprite", "tfSparkSprite" + randSpriteCount, 618 + randSpriteCount, {_x:22, _y:18, _height:heightRand});
this["tfSparkSprite" + randSpriteCount]._rotation = Math.random() * 360;
newRotation = newRotation + rotationIncrement;
randSpriteCount--;
} while (randSpriteCount > 0);
Symbol 6328 MovieClip Frame 15
stop();
Symbol 6331 MovieClip Frame 1
Rand = Math.random() + 0.5;
this._width = this._width * Rand;
this._height = this._height * Rand;
Symbol 6333 MovieClip [tfSparkSprite] Frame 50
this.removeMovieClip();
Symbol 6343 MovieClip Frame 1
this._visible = false;
Symbol 6343 MovieClip Frame 2
this._visible = true;
Symbol 6343 MovieClip Frame 5
stop();
Symbol 6347 MovieClip Frame 1
this._visible = false;
stop();
Symbol 6347 MovieClip Frame 3
this._visible = true;
Symbol 6347 MovieClip Frame 23
this.onPress = function () {
if (_parent.bonusSelected == undefined) {
_global.nextBonusMatch = undefined;
_global.transitionFrom("weeklyReport");
_parent.removeMovieClip();
} else {
_global.nextBonusMatch = _parent.bonusSelected;
_global.transitionFrom("weeklyReport");
_parent.removeMovieClip();
}
};
stop();
Symbol 6351 MovieClip Frame 1
if (_parent._parent._parent.bonusOk == false) {
this.gotoAndStop(2);
}
stop();
Symbol 6351 MovieClip Frame 2
stop();
Symbol 6353 MovieClip Frame 1
this._visible = false;
Symbol 6353 MovieClip Frame 30
this._visible = true;
Symbol 6353 MovieClip Frame 50
stop();
Symbol 6360 MovieClip Frame 10
if (_parent.bonusSelect == undefined) {
this.gotoAndPlay(1);
} else {
this.gotoAndPlay(_parent.bonusSelect);
}
Symbol 6360 MovieClip Frame 30
stop();
Symbol 6360 MovieClip Frame 49
stop();
Symbol 6360 MovieClip Frame 68
stop();
Symbol 6361 MovieClip Frame 1
this.rewardArray = new Array("perfectPour", "iceStorm", "apopalypse");
this.counter = 0;
this.secondTimer = 0;
this.selectedBonus = "";
this.bonusSelect = undefined;
Symbol 6361 MovieClip Frame 120
this.bonusSelect = this.rewardArray[Math.round(Math.random() * 2)];
_parent._parent.bonusSelected = this.bonusSelect;
_parent._parent.doneButton_mc._visible = true;
_parent._parent.doneButton_mc.gotoAndPlay(5);
stop();
Symbol 6362 MovieClip Frame 1
if (_parent.bonusOk == false) {
_parent.doneButton_mc._visible = true;
_parent.doneButton_mc.gotoAndPlay(5);
this.stop();
}
this._visible = false;
Symbol 6362 MovieClip Frame 50
this._visible = true;
this.round_mc.frozen = false;
Symbol 6362 MovieClip Frame 70
stop();
Symbol 6366 MovieClip Frame 1
this._visible = false;
Symbol 6366 MovieClip Frame 15
this._visible = true;
Symbol 6366 MovieClip Frame 43
stop();
Symbol 6368 MovieClip [weekCompleteScreen] Frame 1
if (_global.gameStats.playWeek.bCObject.stillOk == true) {
this.bonusOk = true;
} else {
this.bonusOk = false;
}
Symbol 6368 MovieClip [weekCompleteScreen] Frame 2
stop();
Symbol 6386 MovieClip Frame 1
if (_global.player.teleforceChargeLevel >= 0) {
whichBoltSound = "finalStrike";
setVol = 80;
} else {
whichBoltSound = "finalStrike";
setVol = 100;
}
sRand = Math.random() * 3;
sRand = Math.round(sRand);
boltSound = new Sound(this);
boltSound.attachSound(whichBoltSound);
boltSound.setVolume(setVol);
boltSound.start(0);
Symbol 6389 MovieClip Frame 1
if (_global.player.teleforceChargeLevel > 1) {
whichBoltSound = "lightStrike1";
setVol = 80;
}
if (_global.player.teleforceChargeLevel == 1) {
whichBoltSound = "finalStrike";
setVol = 100;
}
if (_global.player.teleforceChargeLevel >= 2) {
sRand = Math.random() * 3;
sRand = Math.round(sRand);
boltSound = new Sound(this);
boltSound.attachSound(whichBoltSound);
boltSound.setVolume(setVol);
boltSound.start(0);
}
if (_global.player.teleforceChargeLevel < 1) {
this._visible = false;
}
Symbol 6392 MovieClip Frame 1
if (_global.player.teleforceChargeLevel > 2) {
whichBoltSound = "lightStrike1";
setVol = 80;
}
if (_global.player.teleforceChargeLevel == 2) {
whichBoltSound = "finalStrike";
setVol = 100;
}
if (_global.player.teleforceChargeLevel >= 2) {
sRand = Math.random() * 3;
sRand = Math.round(sRand);
boltSound = new Sound(this);
boltSound.attachSound(whichBoltSound);
boltSound.setVolume(setVol);
boltSound.start(0);
}
if (_global.player.teleforceChargeLevel < 2) {
this._visible = false;
}
Symbol 6395 MovieClip Frame 1
if (_global.player.teleforceChargeLevel == 3) {
whichBoltSound = "finalStrike";
setVol = 100;
sRand = Math.random() * 3;
sRand = Math.round(sRand);
boltSound = new Sound(this);
boltSound.attachSound(whichBoltSound);
boltSound.setVolume(setVol);
boltSound.start(0);
}
if (_global.player.teleforceChargeLevel < 3) {
this._visible = false;
}
Symbol 6396 MovieClip [bolt] Frame 75
stop();
Symbol 6404 MovieClip [powerHourIntro] Frame 2
_global.gamePaused = true;
_global.canPause = false;
Symbol 6404 MovieClip [powerHourIntro] Frame 80
_global.gamePaused = false;
_global.canPause = true;
Symbol 6404 MovieClip [powerHourIntro] Frame 120
_global.musicTrack.momentumHigh();
this.removeMovieClip();
Symbol 6413 MovieClip [roundOverlayReady] Frame 2
_global.gamePaused = true;
_global.canPause = false;
Symbol 6413 MovieClip [roundOverlayReady] Frame 90
_global.gamePaused = false;
_global.canPause = true;
_global.musicTrack.playRandomTrack();
Symbol 6413 MovieClip [roundOverlayReady] Frame 115
this.removeMovieClip();
Symbol 6447 MovieClip Frame 1
this.onPress = function () {
};
Symbol 6449 MovieClip Frame 1
this.onPress = function () {
_global.configuration.perf = new Object({aqs:true, bottleShine:true, tracers:false, sparkles:true, liquid:true, brokenGlassParticlesLimit:40, maxIndicators:2, animatedTransitions:true, qualityHardSet:undefined});
_quality = "HIGH";
};
Symbol 6451 MovieClip Frame 1
this.onPress = function () {
_global.configuration.perf = new Object({aqs:true, bottleShine:true, tracers:false, sparkles:true, liquid:true, brokenGlassParticlesLimit:20, maxIndicators:2, animatedTransitions:true, qualityHardSet:undefined});
_quality = "MEDIUM";
};
Symbol 6453 MovieClip Frame 1
this.onPress = function () {
_global.configuration.perf = new Object({aqs:true, bottleShine:false, tracers:false, sparkles:false, liquid:false, brokenGlassParticlesLimit:20, maxIndicators:2, animatedTransitions:true, qualityHardSet:undefined});
_quality = "MEDIUM";
};
Symbol 6455 MovieClip Frame 1
this.onPress = function () {
_global.configuration.perf = new Object({aqs:true, bottleShine:false, tracers:false, sparkles:false, liquid:false, brokenGlassParticlesLimit:5, maxIndicators:2, animatedTransitions:true, qualityHardSet:undefined});
_quality = "LOW";
};
Symbol 6457 MovieClip Frame 1
this.onPress = function () {
_parent.removeMovieClip();
};
Symbol 6467 MovieClip Frame 1
_global.musicTrack = this;
this.cornAndBeans = new Sound(this);
this.cornAndBeans.attachSound("cornAndBeans");
this.europQuiet = new Sound(this);
this.europQuiet.attachSound("europQuiet");
this.jazzWaltzFitted = new Sound(this);
this.jazzWaltzFitted.attachSound("jazzWaltzFitted");
this.momentum = new Sound(this);
this.momentum.attachSound("momentum");
this.killAll = function () {
this.momentum.stop();
this.cornAndBeans.stop();
this.jazzWaltzFitted.stop();
this.europQuiet.stop();
this.raisingTheBar.stop();
};
this.raisingTheBar = new Sound(this);
this.raisingTheBar.attachSound("raisingTheBar");
this.playRaising = function () {
this.killAll();
if (_global.configuration.sound.muteMusic != true) {
this.raisingTheBar.start(0, 9999);
}
};
this.playEurope = function (cutIn) {
this.killAll();
if (_global.configuration.sound.muteMusic != true) {
if (cutIn == true) {
this.europQuiet.start(15, 9999);
} else {
this.europQuiet.start(0, 99999);
}
}
};
this.playMomentum = function () {
this.killAll();
if (_global.configuration.sound.muteMusic != true) {
this.momentum.start(0, 9999);
this.momentum.setVolume(40);
}
};
this.playJazz = function () {
this.killAll();
if (_global.configuration.sound.muteMusic != true) {
this.jazzWaltzFitted.start(0, 9999);
}
};
this.momentumHigh = function () {
if (_global.configuration.sound.muteMusic != true) {
this.momentum.setVolume(80);
}
};
this.playRandomTrack = function () {
if ((_global.roundData.currentRound != "t0") && (_global.roundData.currentRound != "t1")) {
this.killAll();
if (_global.configuration.sound.muteMusic != true) {
this.cornAndBeans.start(0, 99999);
}
}
};
Symbol 6485 Button
on (release) {
_global.goToUrl("http://www.turbogames.com/");
}
Symbol 6522 MovieClip Frame 62
stop();
Symbol 6523 Button
on (release) {
_global.goToUrl("http://www.turbogames.com/");
}
Symbol 6563 MovieClip Frame 40
stop();
Instance of Symbol 6565 MovieClip in Symbol 6566 MovieClip Frame 1
onClipEvent (load) {
_rotation = -45;
speed = 3;
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
}
Symbol 6575 MovieClip Frame 1
stop();
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 1
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6574 MovieClip in Symbol 6575 MovieClip Frame 2
onClipEvent (load) {
speed = random(10) + 1;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
_xscale = (random(50) + 50);
_yscale = _xscale;
_alpha = (random(50) + 50);
}
Instance of Symbol 6575 MovieClip in Symbol 6576 MovieClip Frame 1
onClipEvent (load) {
_xscale = 10;
_yscale = 10;
x = 0;
y = 0;
speed = 1;
i = 0;
}
onClipEvent (enterFrame) {
if (_xscale < 120) {
_xscale = (_xscale + 1);
_yscale = (_yscale + 1);
speed = speed + 0.5;
}
}
Symbol 6581 MovieClip Frame 1
_parent.stop();
gotoAndPlay (2);
Instance of Symbol 6522 MovieClip in Symbol 6581 MovieClip Frame 181
onClipEvent (load) {
stop();
}
Symbol 6581 MovieClip Frame 206
_parent.gotoAndPlay(2);
Symbol 6584 MovieClip Frame 1
this.idNumber = 0;
this.spawnBottle = function () {
if (_parent.stopTheBottles != true) {
this.idNumber++;
this.rotSpeed = (Math.random() * 10) + 5;
this.rotSize = (Math.random() * 0.25) + 0.75;
this.yVelocity = -((Math.random() * 5) + 3);
this.xVelocity = -((Math.random() * 5) + 0.75);
this.startX = 8 + (Math.random() * 720);
this.freeRand = Math.random();
if (this.freeRand > 0.5) {
this.rotSpeed = -this.rotSpeed;
}
if (this.startX < 360) {
this.xVelocity = -this.xVelocity;
}
this.newWidth = 18.3 * this.rotSize;
this.newHeight = 64.5 * this.rotSize;
this.attachMovie("introBottlePopper", "popper_mc" + this.idNumber, this.getNextHighestDepth(), {rotSpeed:this.rotSpeed, _x:this.startX, _y:350, _width:this.newWidth, _height:this.newHeight, yVelocity:this.yVelocity, xVelocity:this.xVelocity});
}
};
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
this.spawnBottle();
Instance of Symbol 6595 MovieClip in Symbol 6597 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 6600 MovieClip Frame 133
this.onRelease = function () {
this.gotoAndPlay("leaveIt");
};
stop();
Symbol 6600 MovieClip Frame 146
this.stopTheBottles = true;
Symbol 6600 MovieClip Frame 181
_parent.nextFrame();
Symbol 6602 MovieClip Frame 1
_global.gameWindow = this;
Symbol 6603 MovieClip Frame 33
if (_global.gameWindow.pauseScreenSymbol != undefined) {
_global.gameWindow.pauseScreenSymbol.removeMovieClip();
}
if (_parent.matchHolder.currentWindow.shiftFailedScreen != undefined) {
_parent.matchHolder.currentWindow.shiftFailedScreen.removeMovieClip();
}
if (_parent.matchHolder.currentWindow.pauseScreenSymbol != undefined) {
_parent.matchHolder.currentWindow.pauseScreenSymbol.removeMovieClip();
}
if (_parent.matchHolder.currentWindow != undefined) {
_parent.matchHolder.currentWindow.removeMovieClip();
}
if (_parent.matchHolder.roundComplete != undefined) {
_parent.matchHolder.roundComplete.removeMovieClip();
}
if (_parent.matchHolder.weekCompleteScreen != undefined) {
_parent.matchHolder.weekCompleteScreen.removeMovieClip();
}
if (_parent.matchHolder.levelUpWindow != undefined) {
_parent.matchHolder.levelUpWindow.removeMovieClip();
}
if (_parent.matchHolder.mainGameMenuWindow.arenaModeWinLossScreen != undefined) {
_parent.matchHolder.mainGameMenuWindow.arenaModeWinLossScreen.removeMovieClip();
}
if (_parent.matchHolder.mainGameMenuWindow.pauseScreenSymbol != undefined) {
_parent.matchHolder.mainGameMenuWindow.pauseScreenSymbol.removeMovieClip();
}
if (_parent.matchHolder.mainGameMenuWindow != undefined) {
_parent.matchHolder.mainGameMenuWindow.removeMovieClip();
}
if (_global.transitioner.windowType == "gameWindow") {
_parent.matchHolder.attachMovie("mainGameWindow", "gameWindow", _parent.matchHolder.getNextHighestDepth(), {_x:0, _y:0});
_parent.matchHolder.currentWindow = _parent.matchHolder.gameWindow;
_global.backgroundLayer.gotoAndStop(1);
}
if (_global.transitioner.windowType == "levelUp") {
_global.musicTrack.playEurope(true);
_parent.matchHolder.attachMovie("levelUpWindow", "levelUpWindow", _parent.matchHolder.getNextHighestDepth(), {_x:0, _y:0});
_parent.matchHolder.currentWindow = _parent.matchHolder.levelUpWindow;
_global.backgroundLayer.gotoAndStop(2);
}
if (_global.transitioner.windowType == "calendar") {
_global.musicTrack.killAll();
_global.musicTrack.playRaising();
_parent.matchHolder.attachMovie("mainGameMenuWindow", "mainGameMenuWindow", _parent.matchHolder.getNextHighestDepth(), {_x:0, _y:0});
_parent.matchHolder.currentWindow = _parent.matchHolder.levelUpWindow;
_global.backgroundLayer.gotoAndStop("blueBackdrop");
}
if (_global.transitioner.windowType == "weeklyReport") {
_global.musicTrack.playJazz();
_parent.matchHolder.attachMovie("weekCompleteScreen", "weekCompleteScreen", _parent.matchHolder.getNextHighestDepth(), {_x:0, _y:0});
_global.backgroundLayer.gotoAndStop("blueBackdrop");
}
Symbol 6603 MovieClip Frame 36
if ((_global.roundData.powerHour != 0) && (_global.lastPowerHourPlayed != _global.roundData.powerHour)) {
_global.lastPowerHourPlayed = _global.roundData.powerHour;
_global.musicTrack.playMomentum();
_global.gamePaused = true;
_parent.matchHolder.currentWindow.blastLayer.attachMovie("frankPowerHourPopUp", "frankPowerHourPopUp", _parent.matchHolder.currentWindow.blastLayer.getNextHighestDepth(), {_x:0, _y:0});
}
Symbol 6603 MovieClip Frame 63
if (_global.roundData.currentRound == "tutorialSection1A") {
_parent.matchHolder.currentWindow.blastLayer.attachMovie("roundOverlayReady", "roundOverlayReady_mc", _parent.matchHolder.currentWindow.blastLayer.getNextHighestDepth(), {_x:289, _y:147});
}
if (((_global.roundData.currentRound == "tutorialSection2D") || (_global.roundData.currentRound == "tutorialSection3C")) || (_global.roundData.currentRound == "tutorialSection4C")) {
_parent.matchHolder.currentWindow.blastLayer.attachMovie("roundOverlayReady", "roundOverlayReady_mc", _parent.matchHolder.currentWindow.blastLayer.getNextHighestDepth(), {_x:289, _y:147});
}
if (((_global.roundData.currentRound == "playShift") && (_global.roundData.powerHour == 0)) && (_global.demoMode.bonusRound == undefined)) {
_parent.matchHolder.currentWindow.blastLayer.attachMovie("roundOverlayReady", "roundOverlayReady_mc", _parent.matchHolder.currentWindow.blastLayer.getNextHighestDepth(), {_x:289, _y:147});
}
if (_global.demoMode.bonusRound != undefined) {
_parent.matchHolder.currentWindow.blastLayer.attachMovie("bonusRoundDisplayCase", "bonusRoundDisplayCase_mc", _parent.matchHolder.currentWindow.blastLayer.getNextHighestDepth(), {_x:-8, _y:-37});
}
stop();
Symbol 6603 MovieClip Frame 66
stop();