Frame 1
function mailLink() {
getURL ("mailto:chris@smooshie.net?subject=Pizza Shack Deluxe");
}
function highqual() {
_quality = "HIGH";
}
function lowqual() {
_quality = "LOW";
}
function deadClick() {
}
stop();
var whoosh = new Sound();
whoosh.attachSound("whoosh");
this.onEnterFrame = function () {
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
var _local3 = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loader.mask._yscale < _local3) {
loader.mask._yscale++;
}
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.newFrame = "Menu";
sliders.gotoAndPlay("close");
whoosh.start(0, 0);
this.onEnterFrame = null;
}
};
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
var hiQ = new ContextMenuItem("High Quality", highqual);
var lowQ = new ContextMenuItem("Low Quality", lowqual);
var credit = new ContextMenuItem("\u00A9 Smooshie Games 2007", mailLink);
var copyright = new ContextMenuItem("Pizza Shack Deluxe\u2122", deadClick);
var byme = new ContextMenuItem("Designed and Programmed by Chris Lawlor", deadClick);
copyright.enabled = false;
byme.enabled = false;
credit.separatorBefore = true;
newMenu.customItems.push(hiQ, lowQ, credit, copyright, byme);
_root.menu = newMenu;
link.onRollOver = function () {
link.nextFrame();
};
link.onRollOut = function () {
link.prevFrame();
};
link.onRelease = function () {
getURL ("http://www.smooshie.net", "_blank");
};
maxgames.onRelease = function () {
getURL ("http://www.maxgames.com", "_blank");
};
fscommand ("allowscale", false);
Frame 7
function getPrevSession() {
var _local2 = saveData.data.playerName;
if (_local2 == undefined) {
_root.playedBefore = false;
} else {
_root.playedBefore = true;
}
}
function fadeMusic() {
var currentVolume = music.getVolume();
var fadeOutSpeed = 12;
this.onEnterFrame = function () {
if (currentVolume > 0) {
music.setVolume(currentVolume);
currentVolume = currentVolume - fadeOutSpeed;
} else {
music.stop();
music.setVolume(150);
this.onEnterFrame = null;
}
};
}
saveData = SharedObject.getLocal("pizzashack");
getPrevSession();
careerfloat.careerbutton.enabled = true;
hsfloat.highscorebutton.enabled = true;
stop();
var career;
if (!_root.playedBefore) {
fp.fpfloat.freeplaybutton.enabled = false;
} else {
fp.fpfloat.freeplaybutton.enabled = true;
fp.gotoAndStop(2);
}
fp.fpfloat.freeplaybutton.onRelease = function () {
_root.remenu = true;
reputation = 50;
career = false;
_root.newFrame = "Game";
music.stop();
_root.sliders.play();
};
careerfloat.careerbutton.onRelease = function () {
_root.remenu = true;
if (!_root.playedBefore) {
career = true;
careerfloat.careerbutton.enabled = false;
nameBox.gotoAndPlay(2);
} else {
career = true;
careerfloat.careerbutton.enabled = false;
nameBox.gotoAndPlay(3);
}
};
hsfloat.highscoresbutton.onRelease = function () {
getURL ("http://www.maxgames.com", "_blank");
};
this.createEmptyMovieClip(musicMC, 1000);
var music = new Sound(musicMC);
music.attachSound("music");
if (!_root.remenu) {
music.start(0, 100);
}
Frame 13
function doGameOver() {
_root.customers.gotoAndStop("end");
_root.doingGameOver = true;
_global.animating = true;
pizzamachine.stop();
pizzamachine.toppings.stop();
pizzamachine.belt.motion.stop();
shakemachine.gotoAndStop(1);
grill.gotoAndStop(1);
fryer.gotoAndStop(1);
if (_global.icecreamUpgrade) {
icecreammachine.gotoAndStop("idle");
}
trans.chickenmachine.stop();
hotdogtrans.hotdogmachine.stop();
summary.gotoAndPlay("gameOver");
}
function addMachine(newItm) {
if (!(newItm === "icecream")) {
} else {
coneBox._visible = true;
coneTile._visible = true;
}
eval (newItm + "Tile")._visible = true;
_root[newItm + "Play"] = true;
_global[newItm + "Upgrade"] = true;
randorder.push(newItm);
}
function manJumpXY() {
with (man) {
_x = 219;
_y = 150;
}
_global.lastDir = "right";
}
function plusScore() {
var scSprite = _root.attachMovie("thou", "thouMC", 1000);
with (scSprite) {
_x = 460;
_y = 105;
}
correct.start(0, 0);
_root.satCustomers++;
expPoints = expPoints + 10;
_global.levelUp++;
}
function plusNormScore() {
var scNormSprite = _root.attachMovie("fifty", "fiftyMC", 1000);
with (scNormSprite) {
_x = 450;
_y = 75;
}
}
function newDay() {
if (career) {
_root.dayCount = 0;
dayVal++;
allReady();
_root.satCustomers = 0;
_root.earnedPoints = 0;
}
}
function addScore(points) {
score = score + points;
_root.earnedPoints = _root.earnedPoints + points;
plusNormScore();
}
function takeScore(points) {
if (!(score === 0)) {
score = score - points;
}
reputation = reputation - 10;
}
function newOrder() {
_root.canPutInBag = true;
_root.turn = 1;
var _local3 = 0;
while (_local3 < orderValue) {
var _local5 = random(randorder.length);
var _local4 = randorder[_local5];
order.push(_local4);
_local3++;
}
_global.ordLength = _root.order.length;
}
function newCustomer() {
if (reputation <= 0) {
_root.customers.gotoAndStop("end");
doGameOver();
} else {
var _local2 = random(4);
_root.goTo = _root.customer[_local2];
}
customers.play();
}
function allReady() {
grill.gotoAndStop("ready");
fryer.gotoAndStop("ready");
pizzamachine.gotoAndStop("ready");
shakemachine.gotoAndStop("ready");
pizzamachine.pizza.gotoAndStop(5);
shakemachine.cup.nextFrame();
if (_global.hotdogUpgrade) {
hotdogtrans.hotdogmachine.gotoAndStop("ready");
}
if (_global.chickenUpgrade) {
trans.chickenmachine.gotoAndStop("ready");
}
}
function takeFries() {
_root.fryer.gotoAndStop(1);
_global.inHands = "fries";
}
function takePizza() {
_root.pizzamachine.gotoAndStop(1);
_global.inHands = "pizza";
}
function takeBurger() {
_root.grill.gotoAndStop(1);
_global.inHands = "burger";
}
function takeChicken() {
_root.trans.chickenmachine.gotoAndStop(1);
_global.inHands = "chicken";
}
function takeShake() {
_root.shakemachine.gotoAndStop(1);
_global.inHands = "shake";
}
function takeDrink() {
_global.inHands = "drink";
}
function takeHotdog() {
_root.hotdogtrans.hotdogmachine.gotoAndStop(1);
_global.inHands = "hotdog";
}
function takeCone() {
_global.inHands = "emptycone";
}
function emptyHands() {
if (_root.canPutInBag) {
var _local3 = _global.inHands;
inBag.push(_local3);
_global.inHands = "";
}
}
function clearOrder() {
order = [];
inBag = [];
extraOrder = [];
}
stop();
customers.gotoAndStop();
bag.stop();
if (_root.saveData.data.playerName == undefined) {
_root.saveData.data.playerName = _root.saveName;
_root.saveData.flush();
}
_global.inHands = "";
_global.timeSet = 25;
_global.levelUp = 0;
_global.keyMAX = 90;
_root.dayCount = 0;
_root.timing = false;
_root.earnedPoints = 0;
_root.satCustomers = 0;
_root.canPutInBag = false;
_root.expPoints = 0;
_root.doingGameOver = false;
_root.canDoGameOver = false;
var dayVal = 1;
var keyInc = 0;
var score = 0;
var orderValue = 2;
var cheatmode = _global.cheat;
var moving = false;
var order = new Array();
var inBag = new Array();
var extraOrder = new Array();
var randorder = new Array("pizza", "fries", "burger", "shake");
var customer = new Array("customer1", "customer2", "customer3", "customer4");
var comment5of5 = new Array("Perfect!", "Nice Job!", "Excellent!", "Fantastic!");
var comment4of5 = new Array("Good Job!", "Cool!", "Not Bad!", "Well Done!");
var comment3of5 = new Array("Good Effort.", "Good Work.", "Keep it up.", "Good Going.");
var comment2of5 = new Array("Not too bad.", "Reasonable.", "You can do better!", "Step it up!");
var comment1of5 = new Array("Poor effort.", "Better luck next time!", "Practice More...", "Ok...");
var comment0of5 = new Array("Terrible!", "Awful!", "Disgraceful!", "Utterly Shameful!", "Give it up pal.");
var correct = new Sound();
var clunk = new Sound();
var filling = new Sound();
var upgrade = new Sound();
var levelMAX = 4;
var expBuffer = 0;
var scoreBuffer = 0;
var reputation = 50;
var repBuffer = 50;
var dayMAX = 5;
var moving;
var cheatmode = _global.cheat;
if (career) {
_root.careerMode = true;
} else {
_root.careerMode = false;
}
_global.drinkUpgrade = false;
_global.icecreamUpgrade = false;
_global.hotdogUpgrade = false;
_global.chickenUpgrade = false;
upgrade.attachSound("upgrade");
filling.attachSound("filling");
correct.attachSound("fanf16");
clunk.attachSound("clunk");
scoreReadout = 0;
drinkTile._visible = false;
icecreamTile._visible = false;
coneTile._visible = false;
chickenTile._visible = false;
coneBox._visible = false;
hotdogTile._visible = false;
if (cheatmode) {
coneBox._visible = true;
coneTile._visible = true;
var upgradeArr = new Array("drink", "icecream", "chicken", "hotdog");
var arrLen = upgradeArr.length;
var i = 0;
while (i < arrLen) {
eval (upgradeArr[i] + "Tile")._visible = true;
_root[upgradeArr[i] + "Play"] = true;
_global[upgradeArr[i] + "Upgrade"] = true;
randorder.push(upgradeArr[i]);
i++;
}
upgrade.start(0, 0);
}
var i = 1;
while (i < 19) {
_root["c" + i]._visible = false;
i++;
}
var i = 1;
while (i < 40) {
_root["b" + i]._visible = false;
i++;
}
onEnterFrame = function () {
if (Key.isDown(66)) {
_global.inHands = "";
}
if (repBuffer < reputation) {
repbar.bar.play();
repBuffer++;
} else if (repBuffer > reputation) {
repBuffer--;
} else {
repbar.bar.gotoAndStop(1);
}
if (!(repBuffer === 100)) {
repbar.mask._xscale = repBuffer;
}
scoreReadout = "Score: " + scoreBuffer;
if (career) {
expReadout = "BP: " + expBuffer;
} else {
expReadout = "";
}
if (career && (expBuffer < _root.expPoints)) {
expBuffer++;
} else if (career && (expBuffer > _root.expPoints)) {
expBuffer--;
}
var _local5 = _global.lastDir;
var _local3 = _global.inHands;
var _local6 = _global.animating;
if (((Key.isDown(40) && (_root.keyDownOK)) && (!_local6)) && (_local3 == "")) {
moving = true;
_global.lastDir = "down";
man._x = man._x - 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_left");
} else if (((Key.isDown(40) && (_root.keyDownOK)) && (!_local6)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "down";
man._x = man._x - 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_left_inhand");
} else if (((Key.isDown(38) && (_root.keyUpOK)) && (!_local6)) && (_local3 == "")) {
moving = true;
_global.lastDir = "up";
man._x = man._x + 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_right_back");
} else if (((Key.isDown(38) && (_root.keyUpOK)) && (!_local6)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "up";
man._x = man._x + 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_right_back_inhand");
} else if (((Key.isDown(37) && (_root.keyLeftOK)) && (!_local6)) && (_local3 == "")) {
moving = true;
_global.lastDir = "left";
man._x = man._x - 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_left_back");
} else if (((Key.isDown(37) && (_root.keyLeftOK)) && (!_local6)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "left";
man._x = man._x - 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_left_back_inhand");
} else if (((Key.isDown(39) && (_root.keyRightOK)) && (!_local6)) && (_local3 == "")) {
moving = true;
_global.lastDir = "right";
man._x = man._x + 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_right");
} else if (((Key.isDown(39) && (_root.keyRightOK)) && (!_local6)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "right";
man._x = man._x + 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_right_inhand");
} else {
moving = false;
}
if ((_local3 == "emptycone") && (_local5 == "makeIcecream")) {
man.gotoAndPlay(_local5);
} else if (_local3 == "") {
if (!moving) {
switch (_local5) {
case "down" :
man.gotoAndStop("still_left");
break;
case "up" :
man.gotoAndStop("still_right_back");
break;
case "left" :
man.gotoAndStop("still_left_back");
break;
case "right" :
man.gotoAndStop("still_right");
break;
case "frying" :
man.gotoAndPlay("makeFries");
break;
case "makingShake" :
man.gotoAndPlay("makeShake");
}
}
} else if ((!(_local3 === "")) && (!moving)) {
switch (_local5) {
case "down" :
man.gotoAndStop("still_left_inhand");
break;
case "up" :
man.gotoAndStop("still_right_back_inhand");
break;
case "left" :
man.gotoAndStop("still_left_back_inhand");
break;
case "right" :
man.gotoAndStop("still_right_inhand");
}
}
if (scoreBuffer < score) {
scoreBuffer = scoreBuffer + 25;
} else if (scoreBuffer > score) {
scoreBuffer = scoreBuffer - 25;
}
if (_global.levelUp == levelMAX) {
_global.levelUp = 0;
_global.timeSet = _global.timeSet + 2;
summary.gotoAndPlay("levelup");
levelMAX = levelMAX + 2;
reputation = reputation + 10;
orderValue++;
keyInc++;
}
if (keyInc == 3) {
keyInc = 0;
}
if (!(_global.keyMAX === 40)) {
_global.keyMAX = _global.keyMAX - 10;
}
if (career) {
if (_root.dayCount == dayMAX) {
_root.dayCount = 0;
_global.inHands = "";
if (reputation <= 0) {
doGameOver();
} else {
summary.gotoAndPlay(2);
}
}
} else if (!career) {
if ((reputation <= 0) && (_root.canDoGameOver)) {
_root.canDoGameOver = false;
doGameOver();
} else {
_root.doNewCustomer = true;
}
}
var _local4 = _root;
_local6 = _global.animating;
if (_local4.drinkPlay && (!_local6)) {
_local4.drinkPlay = false;
drinkMachine.play();
if (!cheatmode) {
upgrade.start(0, 0);
}
}
if (_local4.icecreamPlay && (!_local6)) {
_local4.icecreamPlay = false;
icecreammachine.play();
if (!cheatmode) {
upgrade.start(0, 0);
}
}
if (_local4.hotdogPlay && (!_local6)) {
_local4.hotdogPlay = false;
hotdogtrans.play();
if (!cheatmode) {
upgrade.start(0, 0);
}
}
if (_local4.chickenPlay && (!_local6)) {
_local4.chickenPlay = false;
trans.play();
if (!cheatmode) {
upgrade.start(0, 0);
}
}
};
allReady();
maxgames.onRollOver = function () {
maxgames.nextFrame();
};
maxgames.onRollOut = function () {
maxgames.prevFrame();
};
maxgames.onRelease = function () {
getURL ("http://www.maxgames.com", "_blank");
};
Instance of Symbol 550 MovieClip "trans" in Frame 13
onClipEvent (load) {
this.swapDepths(_root.man);
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "up")) {
_global.atWindow = true;
_root.bagTile.gotoAndStop(2);
} else {
_global.atWindow = false;
_root.bagTile.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (_root.burgerReady) {
_root.burgerTile.gotoAndStop(3);
}
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "left")) {
_global.canOperateBurger = true;
_root.burgerTile.gotoAndStop(2);
} else {
_global.canOperateBurger = false;
if (!_root.burgerReady) {
_root.burgerTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if ((this.hitTest(_root.man.hit_area) && (_global.drinkUpgrade)) && (_global.lastDir == "left")) {
_global.canOperateDrinks = true;
_root.drinkMachine.inFridge.gotoAndPlay("open");
_root.drinkTile.gotoAndStop(2);
} else {
_global.canOperateDrinks = false;
_root.drinkMachine.inFridge.gotoAndPlay("closed");
_root.drinkTile.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (_root.pizzaReady) {
_root.pizzaTile.gotoAndStop(3);
}
var operating = _root.makingPizza;
if ((this.hitTest(_root.man.hit_area) && (_global.lastDir == "up")) && (!operating)) {
_global.canOperatePizza = true;
_root.pizzaTile.gotoAndStop(2);
} else {
_global.canOperatePizza = false;
if (!_root.pizzaReady) {
_root.pizzaTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (_root.friesReady) {
_root.fryerTile.gotoAndStop(3);
}
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "left")) {
_global.canOperateFries = true;
_root.fryerTile.gotoAndStop(2);
} else {
_global.canOperateFries = false;
if (!_root.friesReady) {
_root.fryerTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (_root.shakeReady) {
_root.shakeTile.gotoAndStop(3);
}
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "left")) {
_global.canOperateShake = true;
_root.shakeTile.gotoAndStop(2);
} else {
_global.canOperateShake = false;
if (!_root.shakeReady) {
_root.shakeTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (this.hitTest(_root.man.hit_area) && (_global.icecreamUpgrade)) {
_root.operatingIce = true;
} else {
_root.operatingIce = false;
}
if ((this.hitTest(_root.man.hit_area) && (_global.icecreamUpgrade)) && (_global.lastDir == "left")) {
_global.canOperateIcecream = true;
_root.icecreamTile.gotoAndStop(2);
} else {
_global.canOperateIcecream = false;
_root.icecreamTile.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (((this.hitTest(_root.man.hit_area) && (_global.lastDir == "up")) && (_global.icecreamUpgrade)) && (_global.inHands == "")) {
_global.canTakeCone = true;
_root.coneTile.gotoAndStop(2);
} else {
_global.canTakeCone = false;
_root.coneTile.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (_root.chickenReady) {
_root.chickenTile.gotoAndStop(3);
}
var operating = _root.makingChicken;
if (((this.hitTest(_root.man.hit_area) && (_global.chickenUpgrade)) && (_global.lastDir == "down")) && (!operating)) {
_global.canOperateChicken = true;
_root.chickenTile.gotoAndStop(2);
} else {
_global.canOperateChicken = false;
if (!_root.chickenReady) {
_root.chickenTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._visible = 0;
if (_root.hotdogsReady) {
_root.hotdogTile.gotoAndStop(3);
}
if ((this.hitTest(_root.man.hit_area) && (_global.lastDir == "right")) && (_global.hotdogUpgrade)) {
_global.canOperateHotdog = true;
_root.hotdogTile.gotoAndStop(2);
} else {
_global.canOperateHotdog = false;
if (!_root.hotdogsReady) {
_root.hotdogTile.gotoAndStop(1);
}
}
}
Instance of Symbol 147 MovieClip [man_] "man" in Frame 13
onClipEvent (load) {
this.swapDepths(_root.hotdogTile);
}
onClipEvent (enterFrame) {
var i = 1;
while (i < 19) {
var overBounds = _root["c" + i];
if (overBounds.hitTest(this.hit_area)) {
_root.manJumpXY();
}
i++;
}
var animating = _global.animating;
if (!animating) {
if (_root.b1.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b2.hitTest(this.hit_area)) {
_root.keyRightOK = false;
_root.keyDownOK = false;
} else if (_root.b3.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b4.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b5.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b6.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b7.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b8.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b9.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b10.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b11.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b12.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b13.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b14.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b15.hitTest(this.hit_area)) {
if ((!(_global.lastDir === "down")) || (!(_global.lastDir === "up"))) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b16.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b17.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b18.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b19.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b20.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b21.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b22.hitTest(this.hit_area)) {
if ((_global.lastDir == "right") || (_global.lastDir == "left")) {
_root.keyDownOK = true;
} else {
_root.keyDownOK = false;
}
} else if (_root.b23.hitTest(this.hit_area)) {
if ((_global.lastDir == "right") || (_global.lastDir == "left")) {
_root.keyDownOK = true;
} else {
_root.keyDownOK = false;
}
} else if (_root.b24.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b25.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b26.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b27.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b28.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b29.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
_root.keyUpOK = false;
}
} else if (_root.b30.hitTest(this.hit_area)) {
_root.keyLeftOK = false;
} else if (_root.b31.hitTest(this.hit_area)) {
_root.keyLeftOK = false;
_root.keyUpOK = false;
} else if (_root.b32.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b33.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b34.hitTest(this.hit_area)) {
if ((_global.lastDir == "left") || (_global.lastDir == "right")) {
_root.keyUpOK = true;
} else {
_root.keyUpOK = false;
}
} else if (_root.b35.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b36.hitTest(this.hit_area)) {
if ((_global.lastDir == "left") || (_global.lastDir == "right")) {
_root.keyUpOK = true;
} else {
_root.keyUpOK = false;
}
} else if (_root.b37.hitTest(this.hit_area)) {
if ((_global.lastDir == "left") || (_global.lastDir == "right")) {
_root.keyUpOK = true;
} else {
_root.keyUpOK = false;
}
} else if (_root.b38.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b39.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b40.hitTest(this.hit_area)) {
_root.keyLeftOK = false;
} else {
_root.keyRightOK = true;
_root.keyLeftOK = true;
_root.keyDownOK = true;
_root.keyUpOK = true;
}
var fries = _global.canOperateFries;
var pizza = _global.canOperatePizza;
var burger = _global.canOperateBurger;
var shake = _global.canOperateShake;
var drinks = _global.canOperateDrinks;
var icecream = _global.canOperateIcecream;
var chicken = _global.canOperateChicken;
var hotdog = _global.canOperateHotdog;
var friesReady = _root.friesReady;
var pizzaReady = _root.pizzaReady;
var burgerReady = _root.burgerReady;
var shakeReady = _root.shakeReady;
var chickenReady = _root.chickenReady;
var hotdogsReady = _root.hotdogsReady;
var atWindow = _global.atWindow;
var cone = _global.canTakeCone;
var handsFull;
var r = _root;
var g = _global;
if (_global.inHands == "") {
handsFull = false;
} else {
handsFull = true;
}
}
if (Key.isDown(32) && (!animating)) {
if ((fries && (!friesReady)) && (!handsFull)) {
g.animating = true;
r.fryer.play();
} else if ((fries && (friesReady)) && (!handsFull)) {
r.takeFries();
} else if ((pizza && (!pizzaReady)) && (!handsFull)) {
r.pizzamachine.play();
} else if ((pizza && (pizzaReady)) && (!handsFull)) {
r.takePizza();
} else if ((burger && (!burgerReady)) && (!handsFull)) {
r.grill.play();
} else if ((burger && (burgerReady)) && (!handsFull)) {
r.takeBurger();
} else if ((chicken && (!chickenReady)) && (!handsFull)) {
r.trans.chickenmachine.play();
} else if ((chicken && (chickenReady)) && (!handsFull)) {
r.takeChicken();
} else if ((hotdog && (!hotdogsReady)) && (!handsFull)) {
r.hotdogtrans.hotdogmachine.play();
} else if ((hotdog && hotdogsReady) && (!handsFull)) {
r.takeHotdog();
} else if ((shake && (!shakeReady)) && (!handsFull)) {
r.shakemachine.cup.play();
g.animating = true;
} else if ((shake && shakeReady) && (!handsFull)) {
r.takeShake();
} else if ((atWindow && handsFull) && (!(_global.inHands === "emptycone"))) {
r.emptyHands();
} else if (drinks && (!handsFull)) {
r.takeDrink();
} else if (cone && (!handsFull)) {
r.takeCone();
r.hinter.gotoAndStop(1);
} else if (icecream && (g.inHands == "emptycone")) {
r.icecreammachine.play();
} else if (icecream && (!handsFull)) {
r.hinter.play();
}
}
}
Frame 20
function takePizza() {
_root.pizzamachine.gotoAndStop(1);
_global.inHands = "pizza";
}
function takeBurger() {
_root.grill.gotoAndStop(1);
_global.inHands = "burger";
}
function takeShake() {
_root.shakemachine.gotoAndStop(1);
_global.inHands = "shake";
}
function takeFries() {
_root.fryer.gotoAndStop(1);
_global.inHands = "fries";
}
function emptyHands() {
inBag.push(_global.inHands);
_global.inHands = "";
}
function manJumpXY() {
with (man) {
_x = 219;
_y = 150;
}
_global.lastDir = "right";
}
_root.tuteFries = false;
_root.tuteBurger = false;
_root.tutePizza = false;
_root.tuteShake = false;
_root.tuteSendOrder = false;
_global.inHands = "";
_global.animating = true;
_global.timeSet = 20;
_global.keyMAX = 100;
var inBag = new Array();
var orderTute = new Array("burger", "fries");
var extraOrderTute = new Array();
this.createEmptyMovieClip(jazzLoop, 1000);
var jazzloop = new Sound(jazzLoop);
jazzloop.attachSound("jazzloop");
jazzloop.start(0, 500);
jazzloop.setVolume(150);
_global.ordLength = _root.orderTute.length;
stop();
_root.burgerhint._visible = false;
_root.frieshint._visible = false;
_root.shakehint._visible = false;
_root.pizzahint._visible = false;
_root.windowhint._visible = false;
var i = 1;
while (i < 19) {
_root["c" + i]._visible = false;
i++;
}
var i = 1;
while (i < 40) {
_root["b" + i]._visible = false;
i++;
}
scoreReadout = "Score: 0";
expReadout = "BP: 0";
onEnterFrame = function () {
var _local5 = _global.lastDir;
var _local3 = _global.inHands;
var _local4 = _global.animating;
if (((Key.isDown(40) && (_root.keyDownOK)) && (!_local4)) && (_local3 == "")) {
moving = true;
_global.lastDir = "down";
man._x = man._x - 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_left");
} else if (((Key.isDown(40) && (_root.keyDownOK)) && (!_local4)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "down";
man._x = man._x - 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_left_inhand");
} else if (((Key.isDown(38) && (_root.keyUpOK)) && (!_local4)) && (_local3 == "")) {
moving = true;
_global.lastDir = "up";
man._x = man._x + 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_right_back");
} else if (((Key.isDown(38) && (_root.keyUpOK)) && (!_local4)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "up";
man._x = man._x + 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_right_back_inhand");
} else if (((Key.isDown(37) && (_root.keyLeftOK)) && (!_local4)) && (_local3 == "")) {
moving = true;
_global.lastDir = "left";
man._x = man._x - 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_left_back");
} else if (((Key.isDown(37) && (_root.keyLeftOK)) && (!_local4)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "left";
man._x = man._x - 5.5;
man._y = man._y - 3;
man.gotoAndStop("walking_left_back_inhand");
} else if (((Key.isDown(39) && (_root.keyRightOK)) && (!_local4)) && (_local3 == "")) {
moving = true;
_global.lastDir = "right";
man._x = man._x + 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_right");
} else if (((Key.isDown(39) && (_root.keyRightOK)) && (!_local4)) && (!(_local3 === ""))) {
moving = true;
_global.lastDir = "right";
man._x = man._x + 5.5;
man._y = man._y + 3;
man.gotoAndStop("walking_right_inhand");
} else {
moving = false;
}
if ((_local3 == "emptycone") && (_local5 == "makeIcecream")) {
man.gotoAndPlay(_local5);
} else if (_local3 == "") {
if (!moving) {
switch (_local5) {
case "down" :
man.gotoAndStop("still_left");
break;
case "up" :
man.gotoAndStop("still_right_back");
break;
case "left" :
man.gotoAndStop("still_left_back");
break;
case "right" :
man.gotoAndStop("still_right");
break;
case "frying" :
man.gotoAndPlay("makeFries");
break;
case "makingShake" :
man.gotoAndPlay("makeShake");
}
}
} else if ((!(_local3 === "")) && (!moving)) {
switch (_local5) {
case "down" :
man.gotoAndStop("still_left_inhand");
break;
case "up" :
man.gotoAndStop("still_right_back_inhand");
break;
case "left" :
man.gotoAndStop("still_left_back_inhand");
break;
case "right" :
man.gotoAndStop("still_right_inhand");
}
}
};
maxgames.onRollOver = function () {
maxgames.nextFrame();
};
maxgames.onRollOut = function () {
maxgames.prevFrame();
};
maxgames.onRelease = function () {
getURL ("http://www.maxgames.com", "_blank");
};
Instance of Symbol 574 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._visible = 0;
this._visible = 0;
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "up")) {
_global.atWindow = true;
_root.bagTile.gotoAndStop(2);
} else {
_global.atWindow = false;
_root.bagTile.gotoAndStop(1);
}
}
Instance of Symbol 574 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._visible = 0;
this._visible = 0;
if (_root.burgerReady) {
_root.burgerTile.gotoAndStop(3);
}
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "left")) {
_global.canOperateBurger = true;
_root.burgerTile.gotoAndStop(2);
} else {
_global.canOperateBurger = false;
if (!_root.burgerReady) {
_root.burgerTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._visible = 0;
this._visible = 0;
if (_root.pizzaReady) {
_root.pizzaTile.gotoAndStop(3);
}
var operating = _root.makingPizza;
if ((this.hitTest(_root.man.hit_area) && (_global.lastDir == "up")) && (!operating)) {
_global.canOperatePizza = true;
_root.pizzaTile.gotoAndStop(2);
} else {
_global.canOperatePizza = false;
if (!_root.pizzaReady) {
_root.pizzaTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._visible = 0;
this._visible = 0;
if (_root.friesReady) {
_root.fryerTile.gotoAndStop(3);
}
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "left")) {
_global.canOperateFries = true;
_root.fryerTile.gotoAndStop(2);
} else {
_global.canOperateFries = false;
if (!_root.friesReady) {
_root.fryerTile.gotoAndStop(1);
}
}
}
Instance of Symbol 574 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._visible = 0;
this._visible = 0;
if (_root.shakeReady) {
_root.shakeTile.gotoAndStop(3);
}
if (this.hitTest(_root.man.hit_area) && (_global.lastDir == "left")) {
_global.canOperateShake = true;
_root.shakeTile.gotoAndStop(2);
} else {
_global.canOperateShake = false;
if (!_root.shakeReady) {
_root.shakeTile.gotoAndStop(1);
}
}
if (Key.isDown(32)) {
if (((_global.canOperateShake && (_global.inHands == "")) && (!_root.shakeReady)) && (_root.tuteShake)) {
_root.shakemachine.cup.play();
_global.animating = true;
}
}
}
Instance of Symbol 147 MovieClip [man_] "man" in Frame 20
onClipEvent (load) {
this.swapDepths(_root.hotdogTile);
}
onClipEvent (enterFrame) {
var i = 1;
while (i < 19) {
var overBounds = _root["c" + i];
if (overBounds.hitTest(this.hit_area)) {
_root.manJumpXY();
}
i++;
}
var animating = _global.animating;
if (!animating) {
if (_root.b1.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b2.hitTest(this.hit_area)) {
_root.keyRightOK = false;
_root.keyDownOK = false;
} else if (_root.b3.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b4.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b5.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b6.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b7.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b8.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b9.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b10.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b11.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b12.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b13.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b14.hitTest(this.hit_area)) {
_root.keyRightOK = false;
} else if (_root.b15.hitTest(this.hit_area)) {
if ((!(_global.lastDir === "down")) || (!(_global.lastDir === "up"))) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b16.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b17.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b18.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b19.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b20.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b21.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b22.hitTest(this.hit_area)) {
if ((_global.lastDir == "right") || (_global.lastDir == "left")) {
_root.keyDownOK = true;
} else {
_root.keyDownOK = false;
}
} else if (_root.b23.hitTest(this.hit_area)) {
if ((_global.lastDir == "right") || (_global.lastDir == "left")) {
_root.keyDownOK = true;
} else {
_root.keyDownOK = false;
}
} else if (_root.b24.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b25.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b26.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b27.hitTest(this.hit_area)) {
_root.keyDownOK = false;
} else if (_root.b28.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
}
} else if (_root.b29.hitTest(this.hit_area)) {
if ((_global.lastDir == "down") || (_global.lastDir == "up")) {
_root.keyLeftOK = true;
} else {
_root.keyLeftOK = false;
_root.keyUpOK = false;
}
} else if (_root.b30.hitTest(this.hit_area)) {
_root.keyLeftOK = false;
} else if (_root.b31.hitTest(this.hit_area)) {
_root.keyLeftOK = false;
_root.keyUpOK = false;
} else if (_root.b32.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b33.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b34.hitTest(this.hit_area)) {
if ((_global.lastDir == "left") || (_global.lastDir == "right")) {
_root.keyUpOK = true;
} else {
_root.keyUpOK = false;
}
} else if (_root.b35.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b36.hitTest(this.hit_area)) {
if ((_global.lastDir == "left") || (_global.lastDir == "right")) {
_root.keyUpOK = true;
} else {
_root.keyUpOK = false;
}
} else if (_root.b37.hitTest(this.hit_area)) {
if ((_global.lastDir == "left") || (_global.lastDir == "right")) {
_root.keyUpOK = true;
} else {
_root.keyUpOK = false;
}
} else if (_root.b38.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b39.hitTest(this.hit_area)) {
_root.keyUpOK = false;
} else if (_root.b40.hitTest(this.hit_area)) {
_root.keyLeftOK = false;
} else {
_root.keyRightOK = true;
_root.keyLeftOK = true;
_root.keyDownOK = true;
_root.keyUpOK = true;
}
var fries = _global.canOperateFries;
var pizza = _global.canOperatePizza;
var burger = _global.canOperateBurger;
var shake = _global.canOperateShake;
var friesReady = _root.friesReady;
var pizzaReady = _root.pizzaReady;
var burgerReady = _root.burgerReady;
var shakeReady = _root.shakeReady;
var atWindow = _global.atWindow;
var r = _root;
var g = _global;
if (_global.inHands == "") {
handsFull = false;
} else {
handsFull = true;
}
}
if (Key.isDown(32) && (!animating)) {
if (((fries && (!friesReady)) && (!handsFull)) && (_root.tuteFries)) {
g.animating = true;
r.fryer.play();
} else if ((((((fries && (friesReady)) && (!handsFull)) && (!burger)) && (!shake)) && (!pizza)) && (_root.tuteFries)) {
_root.takeFries();
} else if (((pizza && (!pizzaReady)) && (!handsFull)) && (_root.tutePizza)) {
r.pizzamachine.play();
} else if ((((((pizza && (pizzaReady)) && (!handsFull)) && (!burger)) && (!fries)) && (!shake)) && (_root.tutePizza)) {
_root.takePizza();
} else if (((burger && (!_root.burgerReady)) && (!handsFull)) && (_root.tuteBurger)) {
_root.grill.play();
} else if ((((((burger && (burgerReady)) && (!handsFull)) && (!pizza)) && (!fries)) && (!shake)) && (_root.tuteBurger)) {
_root.takeBurger();
} else if ((((((shake && (shakeReady)) && (!handsFull)) && (!burger)) && (!pizza)) && (!fries)) && (_root.tuteShake)) {
_root.takeShake();
} else if (((((((atWindow && (handsFull)) && (!(_global.inHands === "emptycone"))) && (_root.tuteSendOrder)) && (!burger)) && (!pizza)) && (!fries)) && (!shake)) {
_root.emptyHands();
}
}
}
Symbol 22 MovieClip [fifty] Frame 11
removeMovieClip(this);
Symbol 26 MovieClip [thou] Frame 16
removeMovieClip(this);
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 4
stop();
Instance of Symbol 99 MovieClip in Symbol 117 MovieClip Frame 4
onClipEvent (load) {
this.nextFrame();
}
Symbol 117 MovieClip Frame 5
stop();
Instance of Symbol 102 MovieClip in Symbol 117 MovieClip Frame 5
onClipEvent (load) {
this.nextFrame();
}
Symbol 117 MovieClip Frame 6
stop();
Symbol 117 MovieClip Frame 7
stop();
Symbol 117 MovieClip Frame 8
stop();
Symbol 117 MovieClip Frame 9
stop();
Symbol 127 MovieClip Frame 1
stop();
Instance of Symbol 55 MovieClip "hit_area" in Symbol 127 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 127 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 3
stop();
Symbol 127 MovieClip Frame 4
stop();
Instance of Symbol 99 MovieClip in Symbol 127 MovieClip Frame 4
onClipEvent (load) {
this.nextFrame();
}
Symbol 127 MovieClip Frame 5
stop();
Instance of Symbol 102 MovieClip in Symbol 127 MovieClip Frame 5
onClipEvent (load) {
this.nextFrame();
}
Symbol 127 MovieClip Frame 6
stop();
Symbol 127 MovieClip Frame 7
stop();
Symbol 127 MovieClip Frame 8
stop();
Symbol 127 MovieClip Frame 9
stop();
Symbol 128 MovieClip Frame 5
gotoAndPlay (1);
Symbol 128 MovieClip Frame 10
gotoAndPlay (6);
Symbol 128 MovieClip Frame 15
gotoAndPlay (11);
Instance of Symbol 99 MovieClip in Symbol 128 MovieClip Frame 16
onClipEvent (load) {
this.nextFrame();
}
Symbol 128 MovieClip Frame 20
gotoAndPlay (16);
Instance of Symbol 102 MovieClip in Symbol 128 MovieClip Frame 21
onClipEvent (load) {
this.nextFrame();
}
Symbol 128 MovieClip Frame 25
gotoAndPlay (21);
Symbol 128 MovieClip Frame 30
gotoAndPlay (26);
Symbol 128 MovieClip Frame 35
gotoAndPlay (31);
Symbol 128 MovieClip Frame 40
gotoAndPlay (36);
Symbol 128 MovieClip Frame 45
gotoAndPlay (41);
Symbol 132 MovieClip Frame 5
gotoAndPlay (1);
Symbol 132 MovieClip Frame 10
gotoAndPlay (6);
Symbol 132 MovieClip Frame 15
gotoAndPlay (11);
Instance of Symbol 99 MovieClip in Symbol 132 MovieClip Frame 16
onClipEvent (load) {
this.nextFrame();
}
Symbol 132 MovieClip Frame 20
gotoAndPlay (16);
Instance of Symbol 102 MovieClip in Symbol 132 MovieClip Frame 21
onClipEvent (load) {
this.nextFrame();
}
Symbol 132 MovieClip Frame 25
gotoAndPlay (21);
Symbol 132 MovieClip Frame 30
gotoAndPlay (26);
Symbol 132 MovieClip Frame 35
gotoAndPlay (31);
Symbol 132 MovieClip Frame 40
gotoAndPlay (36);
Symbol 132 MovieClip Frame 45
gotoAndPlay (41);
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 147 MovieClip [man_] Frame 1
stop();
Instance of Symbol 55 MovieClip "hit_area" in Symbol 147 MovieClip [man_] Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 117 MovieClip "item" in Symbol 147 MovieClip [man_] Frame 85
onClipEvent (load) {
this.gotoAndPlay(_global.inHands);
}
Instance of Symbol 117 MovieClip "item" in Symbol 147 MovieClip [man_] Frame 97
onClipEvent (load) {
this.gotoAndPlay(_global.inHands);
}
Instance of Symbol 127 MovieClip "item" in Symbol 147 MovieClip [man_] Frame 109
onClipEvent (load) {
this.gotoAndPlay(_global.inHands);
}
Instance of Symbol 128 MovieClip "item" in Symbol 147 MovieClip [man_] Frame 140
onClipEvent (load) {
this.gotoAndPlay(_global.inHands);
}
Instance of Symbol 132 MovieClip "item" in Symbol 147 MovieClip [man_] Frame 169
onClipEvent (load) {
this.gotoAndPlay(_global.inHands);
}
Symbol 147 MovieClip [man_] Frame 208
stop();
Symbol 147 MovieClip [man_] Frame 213
stop();
Symbol 147 MovieClip [man_] Frame 222
stop();
Instance of Symbol 55 MovieClip "hit_area" in Symbol 147 MovieClip [man_] Frame 222
onClipEvent (load) {
this._visible = 0;
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
Symbol 186 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 189 MovieClip Frame 60
stop();
Symbol 191 MovieClip Frame 200
stop();
_parent.play();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 15
stop();
Symbol 192 MovieClip Frame 35
stop();
_root.gotoAndStop("Menu");
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
stop();
_root.hsfloat.highscoresbutton.enabled = false;
_root.fp.fpfloat.freeplaybutton.enabled = false;
nameEnter = "";
ok.onRelease = function () {
if (!(nameEnter === "")) {
if (nameEnter == "your name") {
nameEnter = "Cheatmode";
_global.cheat = true;
} else {
_root.saveName = nameEnter;
_root.newFrame = "Tutorial";
_root.fadeMusic();
_root.sliders.gotoAndPlay("close");
}
}
};
quit.onRelease = function () {
_root.getPrevSession();
_root.hsfloat.highscoresbutton.enabled = true;
_root.careerfloat.careerbutton.enabled = true;
if (_root.playedBefore) {
_root.fp.fpfloat.freeplaybutton.enabled = true;
}
_root.getPrevSession();
gotoAndStop (1);
};
Symbol 239 MovieClip Frame 3
showName = _root.saveData.data.playerName + "!";
forget.onRelease = function () {
_root.saveData.clear();
gotoAndStop (2);
};
Symbol 239 MovieClip Frame 56
_root.fadeMusic();
Symbol 239 MovieClip Frame 59
stop();
_root.newFrame = "Game";
_root.sliders.gotoAndPlay("close");
Symbol 243 MovieClip Frame 11
stop();
Symbol 243 MovieClip Frame 25
_root.gotoAndStop(_root.newFrame);
Symbol 258 MovieClip Frame 9
gotoAndPlay (1);
Symbol 258 MovieClip Frame 18
gotoAndPlay (10);
Symbol 263 MovieClip Frame 7
gotoAndPlay (3);
Symbol 279 MovieClip Frame 24
if (!(_global.timeCount === 0)) {
_global.timeCount--;
gotoAndPlay (2);
} else {
_parent.play();
_root.turn = 1;
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 9
gotoAndPlay (1);
Symbol 317 MovieClip Frame 18
gotoAndPlay (10);
Symbol 339 MovieClip Frame 9
gotoAndPlay (1);
Symbol 339 MovieClip Frame 18
gotoAndPlay (10);
Symbol 362 MovieClip Frame 9
gotoAndPlay (1);
Symbol 362 MovieClip Frame 18
gotoAndPlay (10);
Symbol 367 MovieClip Frame 1
stop();
if (!_root.doingGameOver) {
this.gotoAndPlay(_root.goTo);
} else {
gotoAndStop ("end");
}
Symbol 367 MovieClip Frame 2
_root.bag.play();
_root.canDoGameOver = false;
Symbol 367 MovieClip Frame 26
_root.clearOrder();
_root.newOrder();
Symbol 367 MovieClip Frame 40
mouth.play();
var goto = (_root.turn - 1);
show.gotoAndStop(_root.order[goto]);
Symbol 367 MovieClip Frame 50
mouth.gotoAndStop(1);
Symbol 367 MovieClip Frame 54
_global.ordLength--;
_root.turn++;
if (_global.ordLength != 0) {
gotoAndPlay ("chooseorder");
} else {
gotoAndStop ("timer");
}
Symbol 367 MovieClip Frame 55
stop();
_root.tick.play();
_root.timing = true;
_global.timeCount = 0;
_global.timeCount = _global.timeCount + _global.timeSet;
customers.time.play();
var orderLength = 0;
orderLength = orderLength + _root.order.length;
_root.customers.ordershow = 0;
this.wrongs = 0;
onEnterFrame = function () {
var _local2 = (_global.timeCount / _global.timeSet) * 100;
if (timerBar._xscale > _local2) {
timerBar._xscale--;
}
};
Symbol 367 MovieClip Frame 60
_root.bag._visible = 0;
_root.canPutInBag = false;
Symbol 367 MovieClip Frame 66
function checkItems(item) {
var _local2 = false;
i = 0;
while ((i < lgth) && (!_local2)) {
if (_root.inBag[i] == item) {
_local2 = true;
_root.inBag[i] = 0;
}
i++;
}
return(_local2);
}
var lgth = _root.inBag.length;
var dispOrder = _root.order[ordershow];
_root.customers.retCheck = checkItems(_root.order[ordershow]);
if (_root.customers.retCheck) {
_root.ding.play();
_root.addScore(150);
} else {
_root.buzz.play();
this.wrongs++;
_root.takeScore(150);
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 67
onClipEvent (load) {
this.gotoAndStop(_root.customers.dispOrder);
}
Instance of Symbol 304 MovieClip "checkSymbol" in Symbol 367 MovieClip Frame 67
onClipEvent (load) {
if (_root.customers.retCheck) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 367 MovieClip Frame 81
_root.customers.ordershow++;
_root.customers.orderLength = _root.customers.orderLength - 1;
if (!(orderLength === 0)) {
gotoAndPlay ("check");
} else if (orderLength == 0) {
i = 0;
while (i < _root.inBag.length) {
if (!(_root.inBag[i] === 0)) {
_root.extraOrder.push(_root.inBag[i]);
}
i++;
}
if (!(_root.extraOrder.length === 0)) {
_root.customers.extraVal = 0;
_root.customers.extraLength = _root.extraOrder.length;
if (this.wrongs == 0) {
_root.customers.takeBag = true;
} else {
_root.customers.takeBag = false;
}
gotoAndPlay ("extra");
} else if ((!(this.wrongs === 0)) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = false;
gotoAndPlay ("neutral");
} else if ((this.wrongs == 0) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = true;
gotoAndPlay ("satisfied");
}
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 89
onClipEvent (load) {
this.gotoAndStop(_root.extraOrder[_root.customers.extraVal]);
}
Symbol 367 MovieClip Frame 108
_root.customers.extraVal++;
_root.customers.extraLength--;
if (!(_root.customers.extraLength === 0)) {
gotoAndPlay ("extra");
} else {
gotoAndPlay ("neutral");
}
Symbol 367 MovieClip Frame 109
_root.addScore(1000);
_root.plusScore(1000);
Instance of Symbol 258 MovieClip in Symbol 367 MovieClip Frame 132
onClipEvent (load) {
if (_root.customers.takeBag == true) {
this.gotoAndPlay("bag");
} else {
this.gotoAndPlay(1);
}
}
Symbol 367 MovieClip Frame 156
_root.dayCount++;
_root.canDoGameOver = true;
if ((!(_root.dayCount === _root.dayMAX)) && (_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (!_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (_root.careerMode)) {
stop();
}
Symbol 367 MovieClip Frame 157
_root.bag.play();
_root.canDoGameOver = false;
Symbol 367 MovieClip Frame 181
_root.clearOrder();
_root.newOrder();
Symbol 367 MovieClip Frame 195
mouth.play();
var goto = (_root.turn - 1);
show.gotoAndStop(_root.order[goto]);
Symbol 367 MovieClip Frame 205
mouth.gotoAndStop(1);
Symbol 367 MovieClip Frame 209
_global.ordLength--;
_root.turn++;
if (_global.ordLength != 0) {
gotoAndPlay ("chooseorder2");
} else {
nextFrame();
}
Symbol 367 MovieClip Frame 210
stop();
_root.timing = true;
_root.tick.play();
_global.timeCount = 0;
_global.timeCount = _global.timeCount + _global.timeSet;
customers.time.play();
var orderLength = 0;
orderLength = orderLength + _root.order.length;
_root.customers.ordershow = 0;
this.wrongs = 0;
onEnterFrame = function () {
var _local2 = (_global.timeCount / _global.timeSet) * 100;
if (timerBar._xscale > _local2) {
timerBar._xscale--;
}
};
Symbol 367 MovieClip Frame 215
_root.bag._visible = 0;
_root.canPutInBag = false;
Symbol 367 MovieClip Frame 221
function checkItems(item) {
var _local2 = false;
i = 0;
while ((i < lgth) && (!_local2)) {
if (_root.inBag[i] == item) {
_local2 = true;
_root.inBag[i] = 0;
}
i++;
}
return(_local2);
}
var lgth = _root.inBag.length;
var dispOrder = _root.order[ordershow];
_root.customers.retCheck = checkItems(_root.order[ordershow]);
if (_root.customers.retCheck) {
_root.ding.play();
_root.addScore(150);
} else {
_root.buzz.play();
this.wrongs++;
_root.takeScore(150);
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 222
onClipEvent (load) {
this.gotoAndStop(_root.customers.dispOrder);
}
Instance of Symbol 304 MovieClip "checkSymbol" in Symbol 367 MovieClip Frame 222
onClipEvent (load) {
if (_root.customers.retCheck) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 367 MovieClip Frame 236
_root.customers.ordershow++;
_root.customers.orderLength = _root.customers.orderLength - 1;
if (!(orderLength === 0)) {
gotoAndPlay ("check2");
} else if (orderLength == 0) {
i = 0;
while (i < _root.inBag.length) {
if (!(_root.inBag[i] === 0)) {
_root.extraOrder.push(_root.inBag[i]);
}
i++;
}
if (!(_root.extraOrder.length === 0)) {
_root.customers.extraVal = 0;
_root.customers.extraLength = _root.extraOrder.length;
if (this.wrongs == 0) {
_root.customers.takeBag = true;
} else {
_root.customers.takeBag = false;
}
gotoAndPlay ("extra2");
} else if ((!(this.wrongs === 0)) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = false;
gotoAndPlay ("neutral2");
} else if ((this.wrongs == 0) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = true;
gotoAndPlay ("satisfied2");
}
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 244
onClipEvent (load) {
this.gotoAndStop(_root.extraOrder[_root.customers.extraVal]);
}
Symbol 367 MovieClip Frame 263
_root.customers.extraVal++;
_root.customers.extraLength--;
if (!(_root.customers.extraLength === 0)) {
gotoAndPlay ("extra2");
} else {
gotoAndPlay ("neutral2");
}
Symbol 367 MovieClip Frame 264
_root.addScore(1000);
_root.plusScore();
Instance of Symbol 317 MovieClip in Symbol 367 MovieClip Frame 287
onClipEvent (load) {
if (_root.customers.takeBag == true) {
this.gotoAndPlay("bag");
} else {
this.gotoAndPlay(1);
}
}
Symbol 367 MovieClip Frame 311
_root.dayCount++;
_root.canDoGameOver = true;
if ((!(_root.dayCount === _root.dayMAX)) && (_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (!_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (_root.careerMode)) {
stop();
}
Symbol 367 MovieClip Frame 312
_root.bag.play();
_root.canDoGameOver = false;
Symbol 367 MovieClip Frame 336
_root.clearOrder();
_root.newOrder();
Symbol 367 MovieClip Frame 350
mouth.play();
var goto = (_root.turn - 1);
show.gotoAndStop(_root.order[goto]);
Symbol 367 MovieClip Frame 360
mouth.gotoAndStop(1);
Symbol 367 MovieClip Frame 364
_global.ordLength--;
_root.turn++;
if (_global.ordLength != 0) {
gotoAndPlay ("chooseorder3");
} else {
nextFrame();
}
Symbol 367 MovieClip Frame 365
stop();
_root.timing = true;
_root.tick.play();
_global.timeCount = 0;
_global.timeCount = _global.timeCount + _global.timeSet;
customers.time.play();
var orderLength = 0;
orderLength = orderLength + _root.order.length;
_root.customers.ordershow = 0;
this.wrongs = 0;
onEnterFrame = function () {
var _local2 = (_global.timeCount / _global.timeSet) * 100;
if (timerBar._xscale > _local2) {
timerBar._xscale--;
}
};
Symbol 367 MovieClip Frame 370
_root.bag._visible = 0;
_root.canPutInBag = false;
Symbol 367 MovieClip Frame 376
function checkItems(item) {
var _local2 = false;
i = 0;
while ((i < lgth) && (!_local2)) {
if (_root.inBag[i] == item) {
_local2 = true;
_root.inBag[i] = 0;
}
i++;
}
return(_local2);
}
var lgth = _root.inBag.length;
var dispOrder = _root.order[ordershow];
_root.customers.retCheck = checkItems(_root.order[ordershow]);
if (_root.customers.retCheck) {
_root.ding.play();
_root.addScore(150);
} else {
_root.buzz.play();
this.wrongs++;
_root.takeScore(150);
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 377
onClipEvent (load) {
this.gotoAndStop(_root.customers.dispOrder);
}
Instance of Symbol 304 MovieClip "checkSymbol" in Symbol 367 MovieClip Frame 377
onClipEvent (load) {
if (_root.customers.retCheck) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 367 MovieClip Frame 391
_root.customers.ordershow++;
_root.customers.orderLength = _root.customers.orderLength - 1;
if (!(orderLength === 0)) {
gotoAndPlay ("check3");
} else if (orderLength == 0) {
i = 0;
while (i < _root.inBag.length) {
if (!(_root.inBag[i] === 0)) {
_root.extraOrder.push(_root.inBag[i]);
}
i++;
}
if (!(_root.extraOrder.length === 0)) {
_root.customers.extraVal = 0;
_root.customers.extraLength = _root.extraOrder.length;
if (this.wrongs == 0) {
_root.customers.takeBag = true;
} else {
_root.customers.takeBag = false;
}
gotoAndPlay ("extra3");
} else if ((!(this.wrongs === 0)) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = false;
gotoAndPlay ("neutral3");
} else if ((this.wrongs == 0) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = true;
gotoAndPlay ("satisfied3");
}
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 399
onClipEvent (load) {
this.gotoAndStop(_root.extraOrder[_root.customers.extraVal]);
}
Symbol 367 MovieClip Frame 418
_root.customers.extraVal++;
_root.customers.extraLength--;
if (!(_root.customers.extraLength === 0)) {
gotoAndPlay ("extra3");
} else {
gotoAndPlay ("neutral3");
}
Symbol 367 MovieClip Frame 419
_root.addScore(1000);
_root.plusScore();
Instance of Symbol 339 MovieClip in Symbol 367 MovieClip Frame 442
onClipEvent (load) {
if (_root.customers.takeBag == true) {
this.gotoAndPlay("bag");
} else {
this.gotoAndPlay(1);
}
}
Symbol 367 MovieClip Frame 466
_root.dayCount++;
_root.canDoGameOver = true;
if ((!(_root.dayCount === _root.dayMAX)) && (_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (!_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (_root.careerMode)) {
stop();
}
Symbol 367 MovieClip Frame 467
_root.bag.play();
_root.canDoGameOver = false;
Symbol 367 MovieClip Frame 491
_root.clearOrder();
_root.newOrder();
Symbol 367 MovieClip Frame 505
mouth.play();
var goto = (_root.turn - 1);
show.gotoAndStop(_root.order[goto]);
Symbol 367 MovieClip Frame 515
mouth.gotoAndStop(1);
Symbol 367 MovieClip Frame 519
_global.ordLength--;
_root.turn++;
if (_global.ordLength != 0) {
gotoAndPlay ("chooseorder4");
} else {
nextFrame();
}
Symbol 367 MovieClip Frame 520
stop();
_root.timing = true;
_root.tick.play();
_global.timeCount = 0;
_global.timeCount = _global.timeCount + _global.timeSet;
customers.time.play();
var orderLength = 0;
orderLength = orderLength + _root.order.length;
_root.customers.ordershow = 0;
this.wrongs = 0;
onEnterFrame = function () {
var _local2 = (_global.timeCount / _global.timeSet) * 100;
if (timerBar._xscale > _local2) {
timerBar._xscale--;
}
};
Symbol 367 MovieClip Frame 525
_root.bag._visible = 0;
_root.canPutInBag = false;
Symbol 367 MovieClip Frame 531
function checkItems(item) {
var _local2 = false;
i = 0;
while ((i < lgth) && (!_local2)) {
if (_root.inBag[i] == item) {
_local2 = true;
_root.inBag[i] = 0;
}
i++;
}
return(_local2);
}
var lgth = _root.inBag.length;
var dispOrder = _root.order[ordershow];
_root.customers.retCheck = checkItems(_root.order[ordershow]);
if (_root.customers.retCheck) {
_root.ding.play();
_root.addScore(150);
} else {
_root.buzz.play();
this.wrongs++;
_root.takeScore(150);
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 532
onClipEvent (load) {
this.gotoAndStop(_root.customers.dispOrder);
}
Instance of Symbol 304 MovieClip "checkSymbol" in Symbol 367 MovieClip Frame 532
onClipEvent (load) {
if (_root.customers.retCheck) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 367 MovieClip Frame 546
_root.customers.ordershow++;
_root.customers.orderLength = _root.customers.orderLength - 1;
if (!(orderLength === 0)) {
gotoAndPlay ("check4");
} else if (orderLength == 0) {
i = 0;
while (i < _root.inBag.length) {
if (!(_root.inBag[i] === 0)) {
_root.extraOrder.push(_root.inBag[i]);
}
i++;
}
if (!(_root.extraOrder.length === 0)) {
_root.customers.extraVal = 0;
_root.customers.extraLength = _root.extraOrder.length;
if (this.wrongs == 0) {
_root.customers.takeBag = true;
} else {
_root.customers.takeBag = false;
}
gotoAndPlay ("extra4");
} else if ((!(this.wrongs === 0)) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = false;
gotoAndPlay ("neutral4");
} else if ((this.wrongs == 0) && (_root.extraOrder.length == 0)) {
_root.customers.takeBag = true;
gotoAndPlay ("satisfied4");
}
}
Instance of Symbol 275 MovieClip "icons" in Symbol 367 MovieClip Frame 554
onClipEvent (load) {
this.gotoAndStop(_root.extraOrder[_root.customers.extraVal]);
}
Symbol 367 MovieClip Frame 573
_root.customers.extraVal++;
_root.customers.extraLength--;
if (!(_root.customers.extraLength === 0)) {
gotoAndPlay ("extra4");
} else {
gotoAndPlay ("neutral4");
}
Symbol 367 MovieClip Frame 574
_root.addScore(1000);
_root.plusScore();
Instance of Symbol 362 MovieClip in Symbol 367 MovieClip Frame 597
onClipEvent (load) {
if (_root.customers.takeBag == true) {
this.gotoAndPlay("bag");
} else {
this.gotoAndPlay(1);
}
}
Symbol 367 MovieClip Frame 621
_root.dayCount++;
_root.canDoGameOver = false;
if ((!(_root.dayCount === _root.dayMAX)) && (_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (!_root.careerMode)) {
_root.newCustomer();
gotoAndStop (1);
} else if ((_root.dayCount == _root.dayMAX) && (_root.careerMode)) {
stop();
}
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 9
_parent.pizza.nextFrame();
gotoAndStop (1);
Symbol 413 MovieClip Frame 17
_parent.pizza.nextFrame();
gotoAndStop (1);
Symbol 413 MovieClip Frame 27
_parent.pizza.nextFrame();
gotoAndStop (1);
Symbol 418 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
belt.motion.stop();
_root.pizzaReady = false;
_root.makingPizza = false;
Symbol 419 MovieClip Frame 2
belt.motion.play();
_root.makingPizza = true;
Symbol 419 MovieClip Frame 73
toppings.gotoAndPlay("tomato");
Symbol 419 MovieClip Frame 103
toppings.gotoAndPlay("cheese");
Symbol 419 MovieClip Frame 130
toppings.gotoAndPlay("pepperoni");
Symbol 419 MovieClip Frame 190
pizza.nextFrame();
Symbol 419 MovieClip Frame 260
stop();
belt.motion.stop();
_root.makingPizza = false;
_root.pizzaReady = true;
_root.ready.start(0, 0);
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Symbol 425 MovieClip Frame 3
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
_root.bg.setVolume(20);
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 2
_root.bg.setVolume(20);
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 7
gotoAndPlay (4);
Symbol 454 MovieClip Frame 31
gotoAndPlay (10);
Symbol 456 MovieClip Frame 1
if (!_root.makingIcecream) {
stop();
}
Symbol 456 MovieClip Frame 14
stop();
Symbol 457 MovieClip Frame 1
stop();
Instance of Symbol 435 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 457 MovieClip Frame 30
if (_global.inHands == "icecream") {
this.stop();
_global.animating = false;
}
stop();
Symbol 457 MovieClip Frame 31
stop();
_global.lastDir = "makeIcecream";
_global.animating = true;
var lastKey = "";
var keyCheck = 0;
var inPlay = true;
mach.nextFrame();
onEnterFrame = function () {
if ((!(_global.inHands === "emptycone")) || (!_root.operatingIce)) {
gotoAndStop ("idle");
}
if (keyCheck >= 50) {
this.onEnterFrame = null;
inPlay = false;
this.play();
} else if (inPlay) {
if (Key.isDown(38) && (!(lastKey === "up"))) {
lastKey = "up";
keyCheck++;
}
if (Key.isDown(40) && (!(lastKey === "down"))) {
lastKey = "down";
keyCheck++;
}
}
};
Instance of Symbol 456 MovieClip in Symbol 457 MovieClip Frame 31
onClipEvent (load) {
if (_root.makingIcecream) {
this.play();
}
}
Symbol 457 MovieClip Frame 32
mach.prevFrame();
_global.lastDir = "left";
_global.inHands = "icecream";
Symbol 457 MovieClip Frame 41
stop();
_global.animating = false;
_root.icecreammachine.gotoAndStop("idle");
Symbol 463 MovieClip Frame 1
stop();
Instance of Symbol 462 MovieClip in Symbol 463 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 463 MovieClip Frame 2
_global.animting = true;
Symbol 463 MovieClip Frame 7
_parent.play();
Symbol 465 MovieClip Frame 1
if (!_root.makingShake) {
stop();
}
Symbol 465 MovieClip Frame 61
stop();
Symbol 466 MovieClip Frame 1
stop();
_root.makingShake = false;
_root.shakeReady = false;
onEnterFrame = function () {
if (_global.inHands == "shake") {
this.gotoAndStop(1);
_global.animating = false;
_root.makingShake = false;
}
};
Symbol 466 MovieClip Frame 2
stop();
_root.makingShake = true;
_global.lastDir = "makingShake";
_global.animating = true;
var lastKey = "";
var keyCheckS = 0;
var inPlayS = true;
var keyMAX = _global.keyMAX;
filling.play();
if (_root.makingShake) {
onEnterFrame = function () {
if (_global.inHands == "shake") {
_root.filling.stop();
inPlayS = false;
gotoAndStop (1);
}
if (keyCheckS >= keyMAX) {
inPlay = false;
this.nextFrame();
} else if (inPlayS) {
if (Key.isDown(38) && (!(lastKey === "up"))) {
lastKey = "up";
keyCheckS++;
}
if (Key.isDown(40) && (!(lastKey === "down"))) {
lastKey = "down";
keyCheckS++;
}
}
};
}
Instance of Symbol 465 MovieClip "filling" in Symbol 466 MovieClip Frame 2
onClipEvent (load) {
if (_root.makingShake) {
this.play();
}
}
Symbol 466 MovieClip Frame 3
cup.nextFrame();
_global.lastDir = "left";
Symbol 466 MovieClip Frame 16
stop();
_global.animating = false;
_root.shakeReady = true;
_root.makingShake = false;
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 5
gotoAndPlay (2);
Symbol 477 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 8
gotoAndPlay (2);
Symbol 486 MovieClip Frame 5
stop();
Symbol 487 MovieClip Frame 1
stop();
_root.friesReady = false;
onEnterFrame = function () {
if (_global.inHands == "fries") {
this.stop();
_global.animating = false;
_root.makingFries = false;
}
};
Symbol 487 MovieClip Frame 2
_global.animating = true;
_root.makingFries = true;
Symbol 487 MovieClip Frame 10
_global.lastDir = "frying";
oil.play();
handle.play();
stop();
var lastKey = "";
var keyCheck = 0;
var inPlay = true;
var keyMAX = _global.keyMAX;
onEnterFrame = function () {
if (keyCheck >= keyMAX) {
inPlay = false;
oil.gotoAndStop(1);
handle.gotoAndStop(1);
_root.fryer.nextFrame();
} else if (inPlay) {
if (Key.isDown(37) && (!(lastKey === "left"))) {
lastKey = "left";
keyCheck++;
}
if (Key.isDown(39) && (!(lastKey === "right"))) {
lastKey = "right";
keyCheck++;
}
}
};
Symbol 487 MovieClip Frame 11
_global.lastDir = "left";
Symbol 487 MovieClip Frame 25
stop();
_root.makingFries = false;
_root.friesReady = true;
_global.animating = false;
Symbol 497 MovieClip Frame 1
stop();
_root.burgerReady = false;
_root.makingBurger = false;
Symbol 497 MovieClip Frame 2
_root.makingBurger = true;
Symbol 497 MovieClip Frame 185
stop();
_root.burgerReady = true;
_root.makingBurger = false;
_root.ready.start(0, 0);
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 7
stop();
Symbol 513 MovieClip Frame 1
stop();
Instance of Symbol 499 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 513 MovieClip Frame 29
stop();
Symbol 515 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 3
this._visible = true;
Symbol 519 MovieClip Frame 11
stop();
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 2
stop();
Symbol 549 MovieClip Frame 1
_root.chickenReady = false;
_root.makingChicken = false;
belt.motion.stop();
this.stop();
stop();
Symbol 549 MovieClip Frame 2
belt.motion.play();
_root.makingChicken = true;
Symbol 549 MovieClip Frame 133
chicken.nextFrame();
Symbol 549 MovieClip Frame 276
chicken.nextFrame();
belt.motion.stop();
_root.chickenReady = true;
_root.makingChicken = false;
stop();
Symbol 550 MovieClip Frame 1
stop();
Instance of Symbol 533 MovieClip in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 549 MovieClip "chickenmachine" in Symbol 550 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(_root.man);
}
Symbol 550 MovieClip Frame 23
stop();
Symbol 571 MovieClip Frame 1
stop();
_root.makingHotdogs = false;
_root.hotdogsReady = false;
Symbol 571 MovieClip Frame 2
_root.makingHotdogs = true;
Symbol 571 MovieClip Frame 198
stop();
_root.makingHotdogs = false;
_root.hotdogsReady = true;
Symbol 572 MovieClip Frame 1
stop();
Instance of Symbol 552 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 572 MovieClip Frame 21
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 2
stop();
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 4
gotoAndPlay (2);
Symbol 599 MovieClip Frame 1
stop();
Instance of Symbol 598 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 599 MovieClip Frame 49
gotoAndStop (1);
Symbol 600 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 2
stop();
Symbol 636 MovieClip Frame 38
stop();
_parent.play();
Instance of Symbol 657 MovieClip in Symbol 660 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 660 MovieClip Frame 9
stop();
Symbol 675 MovieClip Frame 1
if (_root.contButtonGo) {
play();
_root.summary.b_continue.enabled = false;
} else {
this.gotoAndStop(7);
_root.summary.b_continue.enabled = true;
}
Symbol 675 MovieClip Frame 7
stop();
_root.contButtonGo = false;
_root.summary.b_continue.enabled = true;
Symbol 681 MovieClip Frame 1
if (_root.upgradeButtonGo) {
_root.summary.b_continue.enabled = false;
play();
} else {
this.gotoAndStop(7);
_root.summary.b_continue.enabled = true;
}
Symbol 681 MovieClip Frame 7
stop();
_root.upgradeButtonGo = false;
_root.summary.b_continue.enabled = true;
Symbol 682 Button
on (release) {
sliders.play();
}
Symbol 689 MovieClip Frame 14
stop();
Symbol 694 MovieClip Frame 1
stop();
Instance of Symbol 241 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 241 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 694 MovieClip Frame 12
stop();
_root.goUpgrades = true;
Symbol 714 MovieClip Frame 43
gotoAndStop (1);
Symbol 720 MovieClip Frame 1
stop();
Symbol 720 MovieClip Frame 2
stop();
Symbol 745 Button
on (release) {
_root.addMachine(_root.addItems);
_root.expPoints = _root.expPoints - _root.deductCost;
_root.newDay();
_root.summary.gotoAndPlay("upgradesContinue");
_root.summary.confirmbox.gotoAndStop(1);
}
Symbol 750 Button
on (release) {
_root.summary.confirmbox.gotoAndStop(1);
}
Symbol 751 MovieClip Frame 1
stop();
_root.displayingConf = false;
Symbol 751 MovieClip Frame 2
_root.summary.confirmbox.purchaseItem = _root.itemConfirm;
_root.displayingConf = true;
Symbol 765 MovieClip Frame 70
stop();
_root.remenu = false;
_root.gotoAndPlay("Menu");
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 2
_global.animating = true;
stop();
Symbol 766 MovieClip Frame 17
stop();
disp1 = 0;
bonus = false;
var dink = new Sound();
var readout1 = 0;
dink.attachSound("dink");
onEnterFrame = function () {
disp1 = readout1;
if (readout1 < _root.earnedPoints) {
readout1 = readout1 + 50;
dink.start(0, 0);
} else {
checkingS2 = true;
nextFrame();
}
};
Symbol 766 MovieClip Frame 18
stop();
disp2 = "0/5";
var readout2 = 0;
onEnterFrame = function () {
if (checkingS2) {
disp2 = (readout2 + "/") + _root.dayMAX;
if (readout2 < _root.satCustomers) {
readout2++;
dink.start(0, 0);
} else if (readout2 == _root.dayMAX) {
gotoAndPlay ("bonus");
bonus = true;
} else {
nextFrame();
}
}
};
Symbol 766 MovieClip Frame 19
function randCom5() {
var _local2 = random(_root.comment5of5.length);
commentmc.comment = _root.comment5of5[_local2];
fanfare.start(0, 0);
}
function randCom4() {
var _local2 = random(_root.comment4of5.length);
commentmc.comment = _root.comment4of5[_local2];
fanfare.start(0, 0);
}
function randCom3() {
var _local2 = random(_root.comment3of5.length);
commentmc.comment = _root.comment3of5[_local2];
fanfare.start(0, 0);
}
function randCom2() {
var _local2 = random(_root.comment2of5.length);
commentmc.comment = _root.comment2of5[_local2];
stab.start(0, 0);
}
function randCom1() {
var _local2 = random(_root.comment1of5.length);
commentmc.comment = _root.comment1of5[_local2];
stab.start(0, 0);
}
function randCom0() {
var _local2 = random(_root.comment0of5.length);
commentmc.comment = _root.comment0of5[_local2];
stab.start(0, 0);
}
stop();
var fanfare = new Sound();
var stab = new Sound();
var error = new Sound();
error.attachSound("error");
fanfare.attachSound("fanfare");
stab.attachSound("stab");
checkingS2 = false;
b_continue.onRelease = function () {
gotoAndPlay ("continue");
_root.newDay();
};
b_upgrades.onRelease = function () {
if (!_global.cheat) {
upgrades.play();
} else {
error.start(0, 0);
}
};
_root.contButtonGo = true;
_root.upgradeButtonGo = true;
var checkScore = _root.satCustomers;
switch (checkScore) {
case 5 :
randCom5();
break;
case 4 :
randCom4();
break;
case 3 :
randCom3();
break;
case 2 :
randCom2();
break;
case 1 :
randCom1();
break;
case 0 :
randCom0();
}
onEnterFrame = function () {
if (_root.goUpgrades) {
_root.goUpgrades = false;
gotoAndPlay ("upgrades");
}
};
Symbol 766 MovieClip Frame 43
var showDay = _root.dayVal;
dayMC.days = "Day " + showDay;
_global.animating = true;
Symbol 766 MovieClip Frame 105
_global.animating = false;
_root.newCustomer();
_root.customers.gotoAndStop(1);
gotoAndStop (1);
Symbol 766 MovieClip Frame 150
gotoAndStop (1);
Symbol 766 MovieClip Frame 151
drinkstick._visible = false;
hotdogtick._visible = false;
chickentick._visible = false;
icecreamtick._visible = false;
if (_global.drinkUpgrade) {
drinkstick._visible = true;
drink.enabled = false;
}
if (_global.hotdogUpgrade) {
hotdogtick._visible = true;
hotdog.enabled = false;
}
if (_global.chickenUpgrade) {
chickentick._visible = true;
chicken.enabled = false;
}
if (_global.icecreamUpgrade) {
icecreamtick._visible = true;
icecream.enabled = false;
}
stop();
var bing = new Sound();
bing.attachSound("bing");
var error = new Sound();
error.attachSound("error");
_root.summary.details = "";
_root.summary.cost = "";
cont.onPress = function () {
_root.newDay();
gotoAndPlay ("upgradesContinue");
};
drink.onRollOver = function () {
if (!_root.displayingConf) {
drink.ring.nextFrame();
_root.summary.details = "Quench your customers thirst for that something new with ice cold cola! Upgrade comes complete with fully stocked drinks fridge for your convenience.";
_root.summary.cost = "Drinks Fridge: 45 Bonus Points";
}
};
drink.onRollOut = function () {
drink.ring.prevFrame();
_root.summary.details = "";
_root.summary.cost = "";
};
drink.onRelease = function () {
if (_root.expPoints >= 45) {
_root.deductCost = 45;
_root.itemConfirm = "Drinks Fridge";
_root.addItems = "drink";
bing.start(0, 0);
_root.summary.confirmbox.nextFrame();
} else {
error.start();
}
};
hotdog.onRollOver = function () {
if (!_root.displayingConf) {
hotdog.ring.nextFrame();
_root.summary.details = "Those of your customers who enjoy a walk on the porky side will enjoy your brand new delicious hot dog sausages! Upgrade comes complete with griddle and sauces.";
_root.summary.cost = "Hotdog Griddle: 45 Bonus Points";
}
};
hotdog.onRollOut = function () {
hotdog.ring.prevFrame();
_root.summary.details = "";
_root.summary.cost = "";
};
hotdog.onRelease = function () {
if (_root.expPoints >= 45) {
_root.deductCost = 45;
_root.itemConfirm = "Hotdog Griddle";
_root.addItems = "hotdog";
bing.start(0, 0);
_root.summary.confirmbox.nextFrame();
} else {
error.start();
}
};
chicken.onRollOver = function () {
if (!_root.displayingConf) {
chicken.ring.nextFrame();
_root.summary.details = "Time to spread your wings, pluck them, fry them and stick 'em in a box! Delicious fried chicken awaits! Supplied with our fabulous All-In-One machine.";
_root.summary.cost = "Fried Chicken Facility: 70 Bonus Points";
}
};
chicken.onRollOut = function () {
chicken.ring.prevFrame();
_root.summary.details = "";
_root.summary.cost = "";
};
chicken.onRelease = function () {
if (_root.expPoints >= 70) {
_root.deductCost = 70;
_root.itemConfirm = "Fried Chicken Facility";
_root.addItems = "chicken";
bing.start(0, 0);
_root.summary.confirmbox.nextFrame();
} else {
error.start();
}
};
icecream.onRollOver = function () {
if (!_root.displayingConf) {
icecream.ring.nextFrame();
_root.summary.details = "The final piece to the fast food franchising puzzle...Ice cream! Refresh your customers on those summer days with fresh dairy ice cream. Complete with whippy machine and cones.";
_root.summary.cost = "Ice cream Kit: 85 Bonus Points";
}
};
icecream.onRollOut = function () {
icecream.ring.prevFrame();
_root.summary.details = "";
_root.summary.cost = "";
};
icecream.onRelease = function () {
if (_root.expPoints >= 85) {
_root.deductCost = 85;
_root.itemConfirm = "Ice Cream Kit";
_root.addItems = "icecream";
bing.start(0, 0);
_root.summary.confirmbox.nextFrame();
} else {
error.start();
}
};
Instance of Symbol 243 MovieClip "sliders" in Symbol 766 MovieClip Frame 151
onClipEvent (load) {
this.gotoAndPlay("open");
}
Symbol 766 MovieClip Frame 159
drinkstick._visible = false;
hotdogtick._visible = false;
chickentick._visible = false;
icecreamtick._visible = false;
if (_global.drinkUpgrade) {
drinkstick._visible = true;
drink.enabled = false;
}
if (_global.hotdogUpgrade) {
hotdogtick.visible = true;
hotdog.enabled = false;
}
if (_global.chickenUpgrade) {
chickentick._visible = true;
chicken.enabled = false;
}
if (_global.icecreamUpgrade) {
icecreamtick.visible = true;
icecream.enabled = false;
}
Symbol 766 MovieClip Frame 181
stop();
gotoAndPlay ("day");
Symbol 766 MovieClip Frame 182
stop();
Symbol 775 MovieClip Frame 59
stop();
_root.newCustomer();
Symbol 779 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 2
_root.turn = 1;
_root.orderTute = [];
_root.inBag = [];
Symbol 779 MovieClip Frame 26
_root.orderTute.push("burger", "fries");
Symbol 779 MovieClip Frame 40
mouth.play();
var goto = (_root.turn - 1);
show.gotoAndStop(_root.orderTute[goto]);
Symbol 779 MovieClip Frame 50
mouth.gotoAndStop(1);
Symbol 779 MovieClip Frame 54
_global.ordLength--;
_root.turn++;
if (_global.ordLength != 0) {
gotoAndPlay ("chooseorder");
} else {
gotoAndStop ("timer");
}
Symbol 779 MovieClip Frame 55
stop();
_root.tick.play();
_root.timing = true;
_global.timeCount = 0;
_global.timeCount = _global.timeCount + _global.timeSet;
_root.tuteCustomer.time.play();
var orderLength = 0;
orderLength = orderLength + _root.orderTute.length;
_root.tuteCustomer.ordershow = 0;
this.wrongs = 0;
onEnterFrame = function () {
var _local2 = (_global.timeCount / _global.timeSet) * 100;
if (timerBar._xscale > _local2) {
timerBar._xscale--;
}
};
Symbol 779 MovieClip Frame 60
_root.bag._visible = 0;
_root.canPutInBag = false;
Symbol 779 MovieClip Frame 66
function checkItems(item) {
var _local2 = false;
i = 0;
while ((i < lgth) && (!_local2)) {
if (_root.inBag[i] == item) {
_local2 = true;
_root.inBag[i] = 0;
}
i++;
}
return(_local2);
}
var lgth = _root.inBag.length;
var dispOrder = _root.orderTute[ordershow];
_root.tuteCustomer.retCheck = checkItems(_root.orderTute[ordershow]);
if (_root.tuteCustomer.retCheck) {
_root.ding.play();
} else {
_root.buzz.play();
this.wrongs++;
}
Instance of Symbol 275 MovieClip "icons" in Symbol 779 MovieClip Frame 67
onClipEvent (load) {
this.gotoAndStop(_root.tuteCustomer.dispOrder);
}
Instance of Symbol 304 MovieClip "checkSymbol" in Symbol 779 MovieClip Frame 67
onClipEvent (load) {
if (_root.tuteCustomer.retCheck) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 779 MovieClip Frame 81
_root.tuteCustomer.ordershow++;
_root.tuteCustomer.orderLength = _root.tuteCustomer.orderLength - 1;
if (!(_root.tuteCustomer.orderLength === 0)) {
gotoAndPlay ("check");
} else if (_root.tuteCustomer.orderLength == 0) {
i = 0;
while (i < _root.inBag.length) {
if (!(_root.inBag[i] === 0)) {
_root.extraOrderTute.push(_root.inBag[i]);
}
i++;
}
if (!(_root.extraOrderTute.length === 0)) {
_root.tuteCustomer.extraVal = 0;
_root.tuteCustomer.extraLength = _root.extraOrderTute.length;
if (this.wrongs == 0) {
_root.tuteCustomer.takeBag = true;
} else {
_root.tuteCustomer.takeBag = false;
}
gotoAndPlay ("extra");
_root.extraItems = true;
} else if ((!(this.wrongs === 0)) && (_root.extraOrderTute.length == 0)) {
_root.tuteCustomer.takeBag = false;
gotoAndPlay ("neutral");
} else if ((this.wrongs == 0) && (_root.extraOrderTute.length == 0)) {
_root.tuteCustomer.takeBag = true;
gotoAndPlay ("satisfied");
}
}
Instance of Symbol 275 MovieClip "icons" in Symbol 779 MovieClip Frame 89
onClipEvent (load) {
this.gotoAndStop(_root.extraOrderTute[_root.tuteCustomer.extraVal]);
}
Symbol 779 MovieClip Frame 108
_root.tuteCustomer.extraVal++;
_root.tuteCustomer.extraLength--;
if (!(_root.tuteCustomer.extraLength === 0)) {
gotoAndPlay ("extra");
} else {
gotoAndPlay ("neutral");
}
Instance of Symbol 258 MovieClip in Symbol 779 MovieClip Frame 132
onClipEvent (load) {
if (_root.customers.takeBag == true) {
this.gotoAndPlay("bag");
} else {
this.gotoAndPlay(1);
}
}
Symbol 779 MovieClip Frame 156
gotoAndStop (1);
_root.doneOrder = true;
if ((this.wrongs == 0) && (!_root.extraItems)) {
_root.outcome = "welldone";
} else if ((this.wrongs == 0) && (_root.extraItems)) {
_root.outcome = "extra";
} else if (((!(this.wrongs === 0)) && (!_root.extraItems)) || ((!(this.wrongs === 0)) && (_root.extraItems))) {
_root.outcome = "tryagain";
}
Symbol 788 Button
on (keyPress "<Space>") {
nextFrame();
}
Symbol 806 Button
on (keyPress "<Space>") {
_global.animating = false;
_root.tuteCustomer.play();
_root.jazzloop.stop();
nextFrame();
}
Symbol 818 Button
on (keyPress "<Space>") {
gotoAndStop (24);
}
Symbol 822 Button
on (keyPress "<Space>") {
nextFrame();
}
Symbol 827 Button
on (keyPress "<Space>") {
_root.jazzloop.stop();
_root.newFrame = "Game";
_root.sliders.gotoAndPlay("close");
}
Symbol 828 MovieClip Frame 1
stop();
Symbol 828 MovieClip Frame 2
_global.animating = false;
Symbol 828 MovieClip Frame 3
_global.animating = true;
Symbol 828 MovieClip Frame 4
_global.animating = false;
_root.tutePizza = true;
this.onEnterFrame = function () {
if (_root.pizzaTile._currentframe == 2) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.pizzahint._visible = true;
Symbol 828 MovieClip Frame 5
this.onEnterFrame = function () {
if (_root.makingPizza) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.pizzahint._visible = false;
Symbol 828 MovieClip Frame 6
this.onEnterFrame = function () {
if (_root.pizzaTile._currentframe == 3) {
this.nextFrame();
this.onEnterFrame = null;
}
};
Symbol 828 MovieClip Frame 7
_global.inHands = "";
_root.burgerReady = false;
_root.tutePizza = false;
_root.tuteBurger = true;
this.onEnterFrame = function () {
if (_root.makingBurger) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.burgerhint._visible = true;
Symbol 828 MovieClip Frame 8
_root.tuteBurger = false;
_root.burgerhint._visible = false;
Symbol 828 MovieClip Frame 9
_root.tuteFries = true;
this.onEnterFrame = function () {
if (_root.makingFries) {
this.nextFrame();
this.onEnterFrame = eval (null)();
}
};
_root.frieshint._visible = true;
Symbol 828 MovieClip Frame 10
onEnterFrame = function () {
if (_root.friesReady) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.frieshint._visible = 0;
Symbol 828 MovieClip Frame 11
_global.inHands = "";
_root.tuteFries = false;
_root.tuteShake = true;
onEnterFrame = function () {
if (_root.shakeReady) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.shakehint._visible = true;
Symbol 828 MovieClip Frame 12
_root.tuteShake = false;
_root.shakehint._visible = 0;
Symbol 828 MovieClip Frame 13
_root.bag.play();
_global.animating = true;
_root.windowhint._visible = true;
Symbol 828 MovieClip Frame 14
_root.windowhint._visible = false;
_root.pizzaReady = true;
_global.inHands = "";
_root.tutePizza = true;
_global.animating = false;
this.onEnterFrame = function () {
if (_global.inHands == "pizza") {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.pizzahint._visible = true;
_global.canOperateShake = false;
_global.canOperateBurger = false;
_global.canOperateFries = false;
Symbol 828 MovieClip Frame 15
_root.tutePizza = false;
_root.tuteSendOrder = true;
this.onEnterFrame = function () {
if (!(_root.inBag.length === 0)) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.pizzahint._visible = false;
_root.windowhint._visible = true;
_global.canOperateShake = false;
_global.canOperateBurger = false;
_global.canOperateFries = false;
_global.canOperatePizza = false;
Symbol 828 MovieClip Frame 16
_root.tuteBurger = true;
_root.burgerhint._visible = true;
_root.windowhint._visible = false;
onEnterFrame = function () {
if (_global.inHands == "burger") {
_root.burgerhint._visible = false;
}
if (_root.inBag.length == 2) {
this.nextFrame();
this.onEnterFrame = null;
}
};
Symbol 828 MovieClip Frame 17
_root.tutePizza = true;
_root.pizzahint._visible = true;
_root.burgerhint._visible = true;
this.onEnterFrame = function () {
if (_root.makingPizza) {
_root.pizzahint._visible = false;
}
if (_root.makingBurger) {
_root.burgerhint._visible = false;
}
if (_root.burgerReady && (_root.pizzaReady)) {
this.nextFrame();
this.onEnterFrame = null;
}
};
Symbol 828 MovieClip Frame 18
_root.burgerhint._visible = 0;
_root.pizzahint._visible = 0;
_global.animating = false;
Symbol 828 MovieClip Frame 19
stop();
_root.outcome = "";
_global.animating = false;
_root.tuteFries = true;
_root.tuteBurger = true;
_root.tutePizza = true;
_root.tuteShake = true;
_root.timing = false;
this.onEnterFrame = function () {
if (_root.timing) {
this.nextFrame();
this.onEnterFrame = null;
}
};
_root.doneOrder = false;
Symbol 828 MovieClip Frame 20
stop();
_global.animating = false;
onEnterFrame = function () {
if (_root.doneOrder) {
this.gotoAndStop(_root.outcome);
}
};
Symbol 828 MovieClip Frame 21
_global.animating = true;
_root.outcome = "";
_root.doneOrder = false;
yes.onRelease = function () {
_global.ordLength = _root.orderTute.length;
_root.inBag = [];
_root.orderTute = [];
_root.extraOrderTute = [];
_root.tuteCustomer.play();
_root.extraItems = false;
_root.turn = 1;
gotoAndStop (19);
};
no.onRelease = function () {
gotoAndStop (24);
_root.jazzloop.start(0, 500);
_root.jazzloop.setVolume(150);
};
stop();
Symbol 828 MovieClip Frame 22
stop();
_root.jazzloop.start(0, 500);
_root.jazzloop.setVolume(150);
Symbol 828 MovieClip Frame 23
stop();
_root.outcome = "";
_root.jazzloop.start(0, 500);
_root.jazzloop.setVolume(150);
Symbol 828 MovieClip Frame 24
_root.outcome = "";
_root.doneOrder = false;
_root.stat.nextFrame();
this.stop();
Symbol 828 MovieClip Frame 25
stop();
_root.stat.prevFrame();
Symbol 828 MovieClip Frame 29
_global.animating = false;