Frame 1
function fsdPlayAgain() {
theDoge.unloadMovie();
if (_root.musicIsPlaying == true) {
_root.musicTrack1.setVolume(100);
_root.musicTrack2.setVolume(100);
_root.musicTrack3.setVolume(0);
_root.musicTrack4.setVolume(0);
}
_root.Track1IsPlaying = true;
_root.Track2IsPlaying = true;
_global.control.instruction.gotoAndPlay("Off");
_root.gotoAndPlay("Finish");
}
Stage.showMenu = false;
_focusrect = false;
_root.eventID = "td_packthehouse5";
subject = "Pack the House 5";
playerScore = 0;
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
_root.gameIsRunning = false;
if (_global.b == null) {
_global.b = new Object();
AsBroadcaster.initialize(_global.b);
}
_global.APE = function (obj, frameEIN) {
obj.frameE = frameEIN;
if (_global.control.gamePaused) {
obj.stop();
}
obj.pf = true;
_global.b.addListener(obj);
obj.onPause = function () {
obj.stop();
};
obj.onPlay = function () {
if (obj._currentframe >= obj.frameE) {
obj.play();
}
};
obj.onUnload = function () {
_global.b.removeListener(obj);
};
};
_global.RPE = function (obj) {
obj.stop();
delete obj.frameE;
delete obj.pf;
_global.b.removeListener(obj);
delete obj.onPause;
delete obj.onPlay;
delete obj.onUnload;
};
Frame 15
_root.musicTrack1 = new Sound(track1);
_root.musicTrack1.attachSound("musicTrack1");
_root.musicTrack1.start(0, 99999);
_root.musicTrack1.setVolume(100);
_root.musicTrack2 = new Sound(track2);
_root.musicTrack2.attachSound("musicTrack2");
_root.musicTrack2.start(0, 99999);
_root.musicTrack2.setVolume(100);
_root.musicTrack3 = new Sound(track3);
_root.musicTrack3.attachSound("musicTrack3");
_root.musicTrack3.start(0, 99999);
_root.musicTrack3.setVolume(0);
_root.musicTrack4 = new Sound(track4);
_root.musicTrack4.attachSound("musicTrack4");
_root.musicTrack4.start(0, 99999);
_root.musicTrack4.setVolume(0);
_root.musicIsPlaying = true;
_root.Track1IsPlaying = true;
_root.Track2IsPlaying = true;
Frame 16
stop();
Instance of Symbol 245 MovieClip "control_fonction" in Frame 16
onClipEvent (load) {
function loadSO() {
trace("load SO");
level1SO = SharedObject.getLocal("level1", "/");
level2SO = SharedObject.getLocal("level2", "/");
level3SO = SharedObject.getLocal("level3", "/");
_root.main.house.stage.gotoAndStop(level2SO.data.stage);
if (level2SO.data.stageColor1 != undefined) {
colorful = new Color(_root.main.house.stage[noStage].color1);
colorful.setRGB(level2SO.data.stageColor1);
}
if (level2SO.data.stageColor2 != undefined) {
var colorful = new Color(_root.main.house.stage[noStage].color2);
colorful.setRGB(level2SO.data.stageColor2);
}
_root.main.house.reception.gotoAndStop(level2SO.data.reception);
if (level2SO.data.receptionColor1 != undefined) {
var colorful = new Color(_root.main.house.reception[noReception].color1);
colorful.setRGB(level2SO.data.receptionColor1);
_root.reception.color1 = level2SO.data.receptionColor1;
}
if (level2SO.data.receptionColor2 != undefined) {
var colorful = new Color(_root.main.house.reception[noReception].color2);
colorful.setRGB(level2SO.data.receptionColor2);
_root.reception.color2 = level2SO.data.receptionColor2;
}
if (level2SO.data.barColor1 != undefined) {
var colorful = new Color(_root.main.house.bar[noBar].color1);
colorful.setRGB(level2SO.data.barColor1);
_root.bar.color1 = level2SO.data.barColor1;
}
if (level2SO.data.barColor2 != undefined) {
var colorful = new Color(_root.main.house.bar[noBar].color2);
colorful.setRGB(level2SO.data.barColor2);
_root.bar.color2 = level2SO.data.barColor2;
}
if (level3SO.data.highScore != undefined) {
_root.scoreLevel3 = level3SO.data.highScore;
}
}
_global.control = this;
}
Frame 26
stop();
Frame 36
stop();
Instance of Symbol 245 MovieClip "control_fonction" in Frame 36
onClipEvent (load) {
function loadVideo() {
ncConnection1 = new NetConnection();
ncConnection1.connect(null);
nsStream1 = new NetStream(ncConnection1);
_root.main.video1.video.attachVideo(nsStream1);
nsStream1.play("lost_goofy.flv");
this.createEmptyMovieClip("mcSoundHolder1", this.getNextHighestDepth());
var _local5 = new Sound(mcSoundHolder1);
mcSoundHolder1.attachAudio(nsStream1);
_local5.setVolume(20);
nsStream1.pause(true);
ncConnection2 = new NetConnection();
ncConnection2.connect(null);
nsStream2 = new NetStream(ncConnection2);
_root.main.video2.video.attachVideo(nsStream2);
nsStream2.play("house_rules.flv");
this.createEmptyMovieClip("mcSoundHolder2", this.getNextHighestDepth());
var _local3 = new Sound(mcSoundHolder2);
mcSoundHolder2.attachAudio(nsStream2);
_local3.setVolume(20);
nsStream2.pause(true);
ncConnection3 = new NetConnection();
ncConnection3.connect(null);
nsStream3 = new NetStream(ncConnection3);
_root.main.video3.video.attachVideo(nsStream3);
nsStream3.play("pete.flv");
this.createEmptyMovieClip("mcSoundHolder3", this.getNextHighestDepth());
var _local4 = new Sound(mcSoundHolder3);
mcSoundHolder3.attachAudio(nsStream3);
_local4.setVolume(20);
nsStream3.pause(true);
}
function pauseGame() {
_root.gamePause = true;
_root.freezeTheGame = true;
if (_root.movieIsStart == true) {
if (_root.movieToPlay == 1) {
nsStream1.pause(true);
} else if (_root.movieToPlay == 2) {
nsStream2.pause(true);
} else if (_root.movieToPlay == 3) {
nsStream3.pause(true);
}
}
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
if (_root[customer].state == "eating") {
eatingInterval = "eatingInterval" + customer;
clearInterval(_root[eatingInterval]);
eatingTimeInterval = "eatingTimeInterval" + customer;
clearInterval(_root[eatingTimeInterval]);
}
i++;
}
_global.b.broadcastMessage("onPause");
clearInterval(createNewCustomerInterval);
clearInterval(peteChoseTrickInterval);
}
function unPauseGame() {
_root.freezeTheGame = false;
if ((_root.clarabelleIsPlaying == false) and (_root.movieIsStart == false)) {
_root.gamePause = false;
}
if (_root.movieIsStart == true) {
if (_root.movieToPlay == 1) {
nsStream1.pause(false);
} else if (_root.movieToPlay == 2) {
nsStream2.pause(false);
} else if (_root.movieToPlay == 3) {
nsStream3.pause(false);
}
}
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
if (_root[customer].state == "eating") {
eatingInterval = "eatingInterval" + customer;
_root[eatingInterval] = setInterval(finishEating, _root[customer].eatingTime, _root[customer].no);
eatingTimeInterval = "eatingTimeInterval" + customer;
_root[eatingTimeInterval] = setInterval(updateTimer, _root.timeCustomerEatInterval, customer);
}
i++;
}
timeNewCus = Math.ceil(Math.random() * _root.timeNewCustomer) + 5;
timeNewCus = timeNewCus * 1000;
if ((_root.numberOfCustomers < 16) and (_root.tutorialIsDone == true)) {
createNewCustomerInterval = setInterval(openDoor, timeNewCus);
}
_global.b.broadcastMessage("onPlay");
callPete();
}
function whatCustomerWants(mcRef) {
customerState = _root[mcRef].state;
mickeyMadeFun = _root[mcRef].mickeyEnjoy;
if (((((((_root.activeCharacter == "Goofy") and (customerState == "wantToOrder")) and (_root.goofyIsWaiting == false)) and (_root.goofyNumberMeal == 0)) and (_root.goofyNumberDrink == 0)) and (_root.goofyIsWaiting == false)) and (_root.goofyAnimIsDone == true)) {
goTakeOrders(mcRef);
} else if (((((_root.activeCharacter == "Goofy") and (customerState == "wantMeal")) and (_root.goofyNumberMeal >= 1)) and (_root.goofyIsWaiting == false)) and (_root.goofyAnimIsDone == true)) {
deliverMeal(mcRef);
} else if (((((_root.activeCharacter == "Goofy") and (customerState == "wantDrink")) and (_root.goofyNumberDrink >= 1)) and (_root.goofyIsWaiting == false)) and (_root.goofyAnimIsDone == true)) {
clearInterval(prepareADrinkInterval);
deliverDrink(mcRef);
} else if (((_root.activeCharacter == "Mickey") and (mickeyMadeFun == false)) and (_root.mickeyAnimIsDone == true)) {
if (customerState != "enter") {
goMakeFun(mcRef);
}
} else if (((_root.activeCharacter == "Mickey") and (mickeyMadeFun == true)) and (_root.mickeyAnimIsDone == true)) {
if (customerState != "enter") {
tutorial._visible = true;
tutorial.gotoAndPlay("mickeyTable");
}
} else if (((_root.activeCharacter == "Donald") and (customerState == "badPlate")) and (_root.donaldAnimIsDone == true)) {
goPutBackPlates();
} else if (((((_root.activeCharacter == "Goofy") and (customerState == "wantToOrder")) and (_root.goofyNumberMeal != 0)) and (_root.goofyIsWaiting == false)) and (_root.goofyAnimIsDone == true)) {
tutorial._visible = true;
tutorial.gotoAndPlay("goofyPlate");
} else if (((((_root.activeCharacter == "Goofy") and (customerState == "wantToOrder")) and (_root.goofyNumberDrink != 0)) and (_root.goofyIsWaiting == false)) and (_root.goofyAnimIsDone == true)) {
tutorial._visible = true;
tutorial.gotoAndPlay("goofyPlate");
} else if ((_root.activeCharacter == "Daisy") and (customerState == "enter")) {
greetCustomers();
} else {
errorSound.attachSound("error");
errorSound.start(0, 1);
}
}
function openDoor() {
clearInterval(_root.creerPerso);
door.gotoAndStop("Open");
}
function createCustomers() {
_root.customerAreThere = true;
clearInterval(createNewCustomerInterval);
noTemp = Math.ceil(Math.random() * _root.listCouple.length);
_root.noCouple = _root.listCouple[noTemp - 1];
_root.listCouple.splice(noTemp - 1, 1);
i = 1;
while (i <= 2) {
noCar = "customer" + _root.noCustomer;
charToCreate = "customer" + _root.noCustomer;
noTemp = _root.noCustomer;
char = (_root.noCouple * 2) - 1;
char = _root.noCouple * 2;
duplicateMovieClip (characterEnter, noCar, _root.noDeep);
if (i == 1) {
posX = carAppear1._x;
posY = carAppear1._y;
char = _root.noCouple * 2;
iconToChange = "gaugeEnter1";
noPartner = noTemp + 1;
} else {
posX = carAppear2._x;
posY = carAppear2._y;
char = (_root.noCouple * 2) + 1;
iconToChange = "gaugeEnter2";
noPartner = noTemp - 1;
}
_root.main[noCar].gotoAndStop(char);
_root.main[noCar]._x = posX;
_root.main[noCar]._y = posY;
_root[charToCreate] = new Object();
_root[charToCreate].no = charToCreate;
_root[charToCreate].nom = _root.listCharacter[char - 2];
_root[charToCreate].gauge = 4;
_root[charToCreate].state = "enter";
_root[charToCreate].wantToLeave = false;
_root[charToCreate].mickeyEnjoy = false;
_root[charToCreate].eatingTime = _root.timeToEat;
_root[charToCreate].couple = _root.noCouple;
_root[charToCreate].partner = "customer" + noPartner;
_root.listCurrentCustomer.push(_root[charToCreate].no);
waitToBePlacedInterval = "waitToBePlacedInterval" + i;
_root[waitToBePlacedInterval] = setInterval(waitingToBePlaced, _root.timeToBePlaced, _root[charToCreate].no, i);
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[charToCreate].gauge);
_root.noDeep++;
_root.noCustomer++;
_root.numberOfCustomers++;
i++;
}
_root.customerToPlace = noCar;
_root.daisyAction = "greetCustomers";
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("guessCustomer");
}
}
function waitingToBePlaced(mcRef, no) {
if ((_root.gamePause == false) and (_root.tutorialIsDone == true)) {
if ((_root[mcRef].gauge - 1) == 1) {
meter.prevFrame();
}
if ((_root[mcRef].gauge - 1) == 0) {
meter.prevFrame();
meter.prevFrame();
}
if (_root[mcRef].gauge > 1) {
_root[mcRef].gauge = _root[mcRef].gauge - 1;
if (no == 1) {
iconToChange = "gaugeEnter1";
} else {
iconToChange = "gaugeEnter2";
}
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
}
}
}
function greetCustomers() {
daisy.gotoAndStop("Accueil");
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("placeCustomer");
}
}
function selectTable(mcRef) {
checkCockroaches = mcRef + "IsInfest";
checkWater = mcRef + "IsWet";
if ((_root[checkCockroaches] == false) and (_root[checkWater] == false)) {
if (_root[mcRef] == false) {
_root.customerAreThere = false;
clearInterval(createNewCustomerInterval);
_root.main.gaugeEnter1._visible = false;
_root.main.gaugeEnter2._visible = false;
clearInterval(_root.waitToBePlacedInterval1);
clearInterval(_root.waitToBePlacedInterval2);
_root[mcRef] = true;
timeNewCus = Math.ceil(Math.random() * _root.timeNewCustomer) + 5;
timeNewCus = timeNewCus * 1000;
if ((_root.numberOfCustomers < 16) and (_root.tutorialIsDone == true)) {
createNewCustomerInterval = setInterval(openDoor, timeNewCus);
}
_root.daisyAction = "greetCustomers";
daisy.gotoAndStop("RetourPoseBase");
door.gotoAndStop("Close");
_root.score = _root.score + (_root.scorePlaced * 2);
noTemp = mcRef.charAt(6);
noTable = noTemp;
noTemp = noTemp * 2;
customerRight = "sitCus" + noTemp;
noTemp = noTemp - 1;
customerLeft = "sitCus" + noTemp;
noCusTemp = _root.noCustomer - 2;
i = 1;
while (i <= 2) {
charToCreate = "customer" + noCusTemp;
noCar = "customer" + noCusTemp;
if (i == 1) {
_root[charToCreate].place = noTemp;
_root[charToCreate].sitDirection = "left";
_root.main[noCar]._x = _root.main[customerLeft]._x;
_root.main[noCar]._y = _root.main[customerLeft]._y;
} else {
_root[charToCreate].place = noTemp + 1;
_root[charToCreate].sitDirection = "right";
_root.main[noCar]._x = _root.main[customerRight]._x;
_root.main[noCar]._y = _root.main[customerRight]._y;
}
_root[charToCreate].table = noTable;
_root[charToCreate].state = "sit";
if (_root[charToCreate].gauge < 4) {
_root[charToCreate].gauge = _root[charToCreate].gauge + 1;
_root.score = _root.score + _root.scoreOneGauge;
} else if (_root[charToCreate].gauge == 4) {
_root[charToCreate].gauge = _root[charToCreate].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
}
if (_root[charToCreate].gauge == 2) {
wantToLeaveInterval = "wantToLeave" + charToCreate;
clearInterval(_root[wantToLeaveInterval]);
}
_root.main[noCar].char.gotoAndStop("sitIdle");
noCusTemp++;
i++;
}
scoreToAddEnter1._visible = true;
if (_root[charToCreate].gauge == 5) {
scoreToAddEnter1.score.scoreToShow.text = "1500";
scoreToAddEnter1.score.scoreToShowOmbre.text = "1500";
} else {
scoreToAddEnter1.score.scoreToShow.text = "600";
scoreToAddEnter1.score.scoreToShowOmbre.text = "600";
}
scoreToAddEnter1.gotoAndPlay("start");
scoreToAddEnter2._visible = true;
if (_root[charToCreate].gauge == 5) {
scoreToAddEnter2.score.scoreToShow.text = "1500";
scoreToAddEnter2.score.scoreToShowOmbre.text = "1500";
} else {
scoreToAddEnter2.score.scoreToShow.text = "600";
scoreToAddEnter2.score.scoreToShowOmbre.text = "600";
}
scoreToAddEnter2.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
timeToWait = Math.ceil(Math.random() * _root.wantToOrderTime) + 3000;
noCusTemp = noCusTemp - 2;
charToCreate = "customer" + noCusTemp;
wantToOrderInterval = setInterval(wantToOrder, timeToWait, _root[charToCreate].place, _root[charToCreate].no, 1);
noCusTemp++;
charToCreate = "customer" + noCusTemp;
wantToOrderInterval2 = setInterval(wantToOrder, timeToWait, _root[charToCreate].place, _root[charToCreate].no, 2);
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("wantToOrder");
}
}
} else {
instruction.gotoAndStop("DonaldMustFix");
}
}
function wantToOrder(mcRef, customer, no) {
_root.wantToOrder = true;
iconToCreate = "gauge" + mcRef;
if (_root.main[iconToCreate]._currentframe != 1) {
_root.main[iconToCreate].gotoAndPlay("command");
}
_root.main[iconToCreate].bulle.state.gotoAndStop(_root[customer].gauge);
_root.main[iconToCreate].bulle.gotoAndPlay("start");
_root.main[iconToCreate]._visible = true;
menu = "menu" + mcRef;
_root.main[menu]._visible = true;
_root.main[menu].gotoAndPlay("start");
_root[customer].state = "wantToOrder";
if (no == 1) {
waitToBeOrderedInterval = "waitToBeOrderedInterval" + customer;
_root[waitToBeOrderedInterval] = setInterval(waitingToBeOrdered, _root.timeToBeOrdered, _root[customer].no, 1);
clearInterval(wantToOrderInterval);
} else {
waitToBeOrderedInterval = "waitToBeOrderedInterval" + customer;
_root[waitToBeOrderedInterval] = setInterval(waitingToBeOrdered, _root.timeToBeOrdered, _root[customer].no, 2);
clearInterval(wantToOrderInterval2);
}
}
function waitingToBeOrdered(mcRef, no) {
if ((_root.gamePause == false) and (_root.tutorialIsDone == true)) {
if ((_root[mcRef].gauge - 1) == 1) {
meter.prevFrame();
wantToLeaveInterval = "wantToLeave" + mcRef;
_root[wantToLeaveInterval] = setInterval(leaveRightNow, _root.timeLeaveAngry, mcRef);
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitAngry");
}
}
if (_root[mcRef].gauge > 1) {
_root[mcRef].gauge = _root[mcRef].gauge - 1;
customerState = _root[mcRef].state;
iconToChange = "gauge" + _root[mcRef].place;
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
}
}
}
function goTakeOrders(mcRef) {
checkCockroaches = ("table0" + _root[mcRef].table) + "IsInfest";
checkWater = ("table0" + _root[mcRef].table) + "IsWet";
if ((_root[checkCockroaches] == false) and (_root[checkWater] == false)) {
if (_root[mcRef].gauge == 1) {
wantToLeaveInterval = "wantToLeave" + mcRef;
clearInterval(_root[wantToLeaveInterval]);
}
_root.orderingCustomer = mcRef;
_root.goofyIsWaiting = true;
_root.wantToOrder = false;
_root[mcRef].state = "wait";
waitToBeOrderedInterval = "waitToBeOrderedInterval" + mcRef;
clearInterval(_root[waitToBeOrderedInterval]);
waitToBeOrderedInterval = "waitToBeOrderedInterval" + _root[mcRef].partner;
clearInterval(_root[waitToBeOrderedInterval]);
posTemp = mcRef.indexOf("r");
posTemp = posTemp + 1;
maxTemp = mcRef.length + 1;
no = mcRef.substring(posTemp, maxTemp);
posGoofy = _root.main._x + goofy._x;
if (posGoofy > _root._xmouse) {
_root.goofyInverseStart = true;
} else {
_root.goofyInverseStart = false;
}
placeToGo = "serveCus" + _root[mcRef].place;
if (_root[mcRef].sitDirection == "right") {
_root.goofyInverse = true;
no = no - 1;
} else {
_root.goofyInverse = false;
}
_root.goofyAnimToPlay = "ArriveePrendreCommande";
_root.goofyPlaceToAppear = placeToGo;
goofy.gotoAndPlay("Depart");
_root.orderTime = Math.ceil(Math.random() * 3);
_root.orderTime = _root.orderTime * 1000;
customer = "customer" + no;
_root[customer].state = "wait";
orderInterval = "orderInterval" + customer;
_root[orderInterval] = setInterval(askOrder, _root.orderTime, _root[customer].no, 1);
_root.orderTime = Math.ceil(Math.random() * 3);
_root.orderTime = _root.orderTime * 1000;
no++;
customer = "customer" + no;
_root[customer].state = "wait";
orderInterval = "orderInterval" + customer;
_root[orderInterval] = setInterval(askOrder, _root.orderTime, _root[customer].no, 2);
} else {
instruction.gotoAndStop("DonaldMustFix");
}
}
function askOrder(mcRef, noInterval) {
if (_root.orderingCustomer == mcRef) {
_root.main[mcRef].char.gotoAndStop("sitCommand");
}
if (_root[mcRef].gauge < 4) {
_root[mcRef].gauge = _root[mcRef].gauge + 1;
_root.score = _root.score + _root.scoreOneGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "100";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "100";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 4) {
_root[mcRef].gauge = _root[mcRef].gauge + 1;
meter.nextFrame();
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
_root.score = _root.score + _root.scoreGreenGauge;
}
if (_root[mcRef].gauge == 2) {
wantToLeaveInterval = "wantToLeave" + mcRef;
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
iconToChange = "gauge" + _root[mcRef].place;
if (_root.firstCustomerIsServed == true) {
whatHeWants = Math.ceil(Math.random() * 2);
if (whatHeWants == 1) {
_root[mcRef].order = "meal";
_root[mcRef].state = "wantMeal";
_root.mealNumber++;
} else {
_root[mcRef].order = "drink";
_root[mcRef].state = "wantDrink";
_root.drinkNumber++;
}
whatHeWants = whatHeWants + 1;
} else if (_root.firstCustomerIsServed == false) {
if (noInterval == 1) {
whatHeWants = 1;
_root[mcRef].order = "meal";
_root[mcRef].state = "wantMeal";
_root.mealNumber++;
} else if (noInterval == 2) {
whatHeWants = 2;
_root[mcRef].order = "drink";
_root[mcRef].state = "wantDrink";
_root.drinkNumber++;
}
whatHeWants = whatHeWants + 1;
}
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
_root.main[iconToChange].gotoAndStop(_root[mcRef].state);
waitingToBeServedInterval = "waitingToBeServedInterval" + mcRef;
if (noInterval == 1) {
orderInterval = "orderInterval" + mcRef;
clearInterval(_root[orderInterval]);
_root[waitingToBeServedInterval] = setInterval(waitingToBeServed, _root.timeToBeServed, _root[mcRef].no);
_root.firstCustomerOrder = true;
}
if (noInterval == 2) {
orderInterval = "orderInterval" + mcRef;
clearInterval(_root[orderInterval]);
_root[waitingToBeServedInterval] = setInterval(waitingToBeServed, _root.timeToBeServed, _root[mcRef].no);
_root.secondCustomerOrder = true;
}
if ((_root.firstCustomerOrder == true) and (_root.secondCustomerOrder == true)) {
_root.firstCustomerOrder = false;
_root.secondCustomerOrder = false;
_root.tableIsServed = true;
_root.goofyIsWaiting = false;
_root.goofyAction = "prepare";
}
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("haveOrder");
}
menu = "menu" + _root[mcRef].place;
_root.main[menu]._visible = false;
_root.main[menu].gotoAndPlay("stop");
}
function waitingToBeServed(mcRef) {
if ((_root.gamePause == false) and (_root.tutorialIsDone == true)) {
if ((_root[mcRef].gauge - 1) == 1) {
meter.prevFrame();
wantToLeaveInterval = "wantToLeave" + mcRef;
_root[wantToLeaveInterval] = setInterval(leaveRightNow, _root.timeLeaveAngry, mcRef);
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitAngry");
}
}
if (_root[mcRef].gauge > 1) {
_root[mcRef].gauge = _root[mcRef].gauge - 1;
iconToChange = "gauge" + _root[mcRef].place;
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
}
}
}
function prepareMeal() {
posGoofy = _root.main._x + goofy._x;
if (posGoofy > _root._xmouse) {
_root.goofyInverseStart = true;
} else {
_root.goofyInverseStart = false;
}
_root.goofyAnimToPlay = "EntrerCuisine";
_root.goofyPlaceToAppear = "nearDoor";
goofy.gotoAndPlay("Depart");
_root.goofyIsWaiting = true;
_root.goofyAction = "exitKitchen";
}
function prepareAMeal() {
if (_root.goofyIsWaiting == true) {
if (_root.mealNumber > 0) {
_root.mealNumber--;
_root.goofyNumberMeal++;
_root.score = _root.score + _root.scoreFood;
scoreToAddMeal._visible = true;
scoreToAddMeal.score.scoreToShow.text = "200";
scoreToAddMeal.score.scoreToShowOmbre.text = "200";
scoreToAddMeal.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
if ((_root.mealNumber <= 0) or (_root.goofyNumberMeal >= _root.mealMax)) {
exitKitchen();
} else {
kitchenMeter.gotoAndPlay("start");
}
}
}
function exitKitchen() {
clearInterval(_root.prepareAMealInterval);
_root.goofyIsWaiting = false;
if ((_root.mealNumber != 0) or (_root.drinkNumber != 0)) {
_root.goofyAction = "prepare";
} else {
_root.goofyAction = "";
}
if (_root.bananaIsThere == true) {
goofy.gotoAndPlay("Banane");
_root.goofyAction = "prepare";
callPete();
} else {
porte.gotoAndPlay("close");
goofy.gotoAndPlay("SortirCuisine");
}
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("meatIsReady");
}
}
function deliverMeal(mcRef) {
checkCockroaches = ("table0" + _root[mcRef].table) + "IsInfest";
checkWater = ("table0" + _root[mcRef].table) + "IsWet";
if ((_root[checkCockroaches] == false) and (_root[checkWater] == false)) {
if (_root[mcRef].gauge == 1) {
wantToLeaveInterval = "wantToLeave" + mcRef;
clearInterval(_root[wantToLeaveInterval]);
}
_root.servingCustomer = mcRef;
placeToGo = "serveCus" + _root[mcRef].place;
_root.goofyAnimToPlay = "ArriveeServiceTable";
_root.goofyPlaceToAppear = placeToGo;
if (_root[mcRef].sitDirection == "right") {
_root.goofyInverse = true;
} else {
_root.goofyInverse = false;
}
goofy.gotoAndPlay("Depart");
} else {
instruction.gotoAndStop("DonaldMustFix");
}
}
function deliveringMeal(mcRef) {
waitingToBeServedInterval = "waitingToBeServedInterval" + mcRef;
clearInterval(_root[waitingToBeServedInterval]);
plateToPlace = "eatCus" + _root[mcRef].place;
iconToChange = "gauge" + _root[mcRef].place;
_root.score = _root.score + _root.scoreServed;
_root[mcRef].state = "eating";
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
if (_root[mcRef].gauge < 4) {
_root.main[scoreToAddPerso].score.scoreToShow.text = "600";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "600";
_root[mcRef].gauge = _root[mcRef].gauge + 1;
_root.score = _root.score + _root.scoreOneGauge;
} else if (_root[mcRef].gauge == 4) {
_root.main[scoreToAddPerso].score.scoreToShow.text = "1500";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1500";
_root[mcRef].gauge = _root[mcRef].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
} else {
_root.main[scoreToAddPerso].score.scoreToShow.text = "500";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "500";
}
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
if (_root[mcRef].gauge == 2) {
wantToLeaveInterval = "wantToLeave" + mcRef;
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
_root.main[plateToPlace].gotoAndStop(1);
_root.main[plateToPlace]._visible = true;
_root.main[iconToChange]._visible = false;
eatingInterval = "eatingInterval" + mcRef;
_root[eatingInterval] = setInterval(finishEating, _root.timeToEat, _root[mcRef].no);
eatingTimeInterval = "eatingTimeInterval" + mcRef;
_root[eatingTimeInterval] = setInterval(updateTimer, _root.timeCustomerEatInterval, _root[mcRef].no);
_root.goofyNumberMeal--;
if ((_root.firstCustomerIsServed == true) and (_root.tutorialIsDone == false)) {
_root.tutorialIsDone = true;
openDoor();
callPete();
} else if (_root.firstCustomerIsServed == false) {
if (_root.firstPersonServed == false) {
_root.firstPersonServed = true;
tutorial.gotoAndStop("mealIsServed");
} else {
_root.mickeyCanBeUsed = true;
tutorial.gotoAndPlay("bothAreServed");
}
}
}
function updateTimer(mcRef) {
_root[mcRef].eatingTime = _root[mcRef].eatingTime - _root.timeCustomerEatInterval;
}
function prepareDrink() {
_root.horaceIsDone = false;
posGoofy = _root.main._x + goofy._x;
if (posGoofy > _root._xmouse) {
_root.goofyInverseStart = true;
} else {
_root.goofyInverseStart = false;
}
_root.goofyInverse = false;
_root.goofyPlaceToAppear = "nearBar";
_root.goofyAnimToPlay = "ArriveeIdle";
if (_root.nearTheBar == false) {
goofy.gotoAndPlay("Depart");
} else {
askToHorace();
goofy.gotoAndPlay("Idle");
}
_root.goofyIsWaiting = true;
_root.nearTheBar = true;
goofy.swapDepths(859);
}
function askToHorace() {
if (_root.drinkNumber != 0) {
glasses._visible = true;
horace.gotoAndPlay("Command");
} else {
_root.goofyIsWaiting = false;
}
}
function prepareADrink() {
if (_root.drinkNumber != 0) {
if (_root.goofyIsWaiting == true) {
_root.main.glasses.nextFrame();
_root.tempDrinkNumber++;
if (_root.drinkNumber > 0) {
_root.drinkNumber--;
}
_root.score = _root.score + _root.scoreFood;
scoreToAddDrink._visible = true;
scoreToAddDrink.score.scoreToShow.text = "200";
scoreToAddDrink.score.scoreToShowOmbre.text = "200";
scoreToAddDrink.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
if ((_root.drinkNumber > 0) and (_root.tempDrinkNumber <= _root.drinkMax)) {
typeDrink = Math.ceil(Math.random() * 2);
if (typeDrink == 1) {
horace.gotoAndPlay("Drink1");
} else {
horace.gotoAndPlay("Drink2");
}
} else {
barMeter.gotoAndStop("stop");
_root.horaceIsDone = true;
horace.gotoAndPlay("Idle");
_root.goofyIsWaiting = false;
_root.horaceIsDone = true;
takePlateau();
}
}
} else {
_root.horaceIsDone = true;
horace.gotoAndPlay("Idle");
_root.goofyIsWaiting = false;
_root.horaceIsDone = true;
}
}
function takePlateau() {
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("drinkIsReady");
}
barMeter.gotoAndStop("stop");
if (_root.horaceIsDone == false) {
horace.gotoAndPlay("ReturnToIdle");
}
_root.goofyIsWaiting = false;
if (_root.nearTheBar == false) {
_root.goofyPlaceToAppear = "nearBar";
_root.goofyAnimToPlay = "ArriveeIdle";
goofy.gotoAndPlay("Depart");
_root.nearTheBar = true;
}
_root.goofyNumberDrink = _root.tempDrinkNumber + _root.goofyNumberDrink;
_root.tempDrinkNumber = _root.tempDrinkNumber + 1;
glasses._visible = false;
goofy.gotoAndStop("idlePlateau");
_root.tempDrinkNumber = 0;
}
function deliverDrink(mcRef) {
checkCockroaches = ("table0" + _root[mcRef].table) + "IsInfest";
checkWater = ("table0" + _root[mcRef].table) + "IsWet";
if ((_root[checkCockroaches] == false) and (_root[checkWater] == false)) {
if (_root[mcRef].gauge == 1) {
wantToLeaveInterval = "wantToLeave" + mcRef;
clearInterval(_root[wantToLeaveInterval]);
}
waitingToBeServedInterval = "waitingToBeServedInterval" + mcRef;
clearInterval(_root[waitingToBeServedInterval]);
_root.servingCustomer = mcRef;
_root.nearTheBar = false;
_root.goofyIsWaiting = false;
if ((_root.mealNumber != 0) or (_root.drinkNumber != 0)) {
_root.goofyAction = "prepare";
} else {
_root.goofyAction = "";
}
placeToGo = "serveCus" + _root[mcRef].place;
if (_root[mcRef].sitDirection == "right") {
_root.goofyInverse = true;
} else {
_root.goofyInverse = false;
}
_root.goofyPlaceToAppear = placeToGo;
_root.goofyAnimToPlay = "ArriveeServiceBoisson";
goofy.gotoAndPlay("Depart");
} else {
instruction.gotoAndStop("DonaldMustFix");
}
}
function deliveringDrink(mcRef) {
glasses.prevFrame();
plateToPlace = "eatCus" + _root[mcRef].place;
iconToChange = "gauge" + _root[mcRef].place;
_root[mcRef].state = "eating";
_root.goofyNumberDrink--;
plateGlass.prevFrame();
_root.main[iconToChange]._visible = false;
_root.score = _root.score + _root.scoreServed;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
if (_root[mcRef].gauge < 4) {
_root.main[scoreToAddPerso].score.scoreToShow.text = "600";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "600";
_root[mcRef].gauge = _root[mcRef].gauge + 1;
_root.score = _root.score + _root.scoreOneGauge;
} else if (_root[mcRef].gauge == 4) {
_root.main[scoreToAddPerso].score.scoreToShow.text = "1500";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1500";
_root[mcRef].gauge = _root[mcRef].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
} else {
_root.main[scoreToAddPerso].score.scoreToShow.text = "500";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "500";
}
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
if (_root[mcRef].gauge == 2) {
wantToLeaveInterval = "wantToLeave" + mcRef;
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
eatingInterval = "eatingInterval" + mcRef;
_root[eatingInterval] = setInterval(finishEating, _root.timeToEat, _root[mcRef].no);
eatingTimeInterval = "eatingTimeInterval" + mcRef;
_root[eatingTimeInterval] = setInterval(updateTimer, _root.timeCustomerEatInterval, _root[mcRef].no);
_root.main[plateToPlace].gotoAndStop(2);
_root.main[plateToPlace]._visible = true;
if ((_root.firstCustomerIsServed == true) and (_root.tutorialIsDone == false)) {
_root.tutorialIsDone = true;
openDoor();
callPete();
} else if (_root.firstCustomerIsServed == false) {
if (_root.firstPersonServed == false) {
_root.firstPersonServed = true;
tutorial.gotoAndStop("drinkIsServed");
} else {
_root.mickeyCanBeUsed = true;
tutorial.gotoAndPlay("bothAreServed");
}
}
}
function showTheStatus(mcRef) {
customerState = _root[mcRef].state;
if (((customerState == "eating") or (customerState == "finish")) or (customerState == "badPlate")) {
iconToChange = "gauge" + _root[mcRef].place;
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
}
}
function hideTheStatus(mcRef) {
customerState = _root[mcRef].state;
if (((customerState == "eating") or (customerState == "finish")) or (customerState == "badPlate")) {
iconToChange = "gauge" + _root[mcRef].place;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("close");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
_root.main[iconToChange]._visible = true;
gaugeInterval = "dispearGauge" + iconToChange;
clearInterval(_root[gaugeInterval]);
}
}
function dispearGauge(mcRef) {
if (_root.main[mcRef].bulle._visible == true) {
_root.main[mcRef].gotoAndStop("showStat");
_root.main[mcRef].bulle.gotoAndPlay("close");
_root.main[mcRef]._visible = true;
}
gaugeInterval = "dispearGauge" + mcRef;
clearInterval(_root[gaugeInterval]);
}
function finishEating(mcRef) {
partner = _root[mcRef].partner;
_root[mcRef].state = "finish";
plateToPlace = "eatCus" + _root[mcRef].place;
_root.main[plateToPlace]._visible = false;
eatingInterval = "eatingInterval" + mcRef;
clearInterval(_root[eatingInterval]);
eatingTimeInterval = "eatingTimeInterval" + mcRef;
clearInterval(_root[eatingTimeInterval]);
if (_root[partner].state == "finish") {
customerLeave(_root[mcRef].no, _root[mcRef].partner);
}
}
function leaveRightNow(mcRef) {
if (_root.gamePause == false) {
_root[mcRef].wantToLeave = true;
wantToLeaveInterval = "wantToLeave" + mcRef;
clearInterval(_root[wantToLeaveInterval]);
}
partnerLeave = _root[mcRef].partner;
if (_root[partnerLeave].wantToLeave == true) {
perso1 = _root[mcRef].nom;
perso2 = _root[partnerLeave].nom;
_root.leaveMessage = ((_root[mcRef].nom + " and ") + _root[partnerLeave].nom) + " are very unsatisfied by their evenings.";
wantToLeave.gotoAndStop(2);
table = "table0" + _root[mcRef].table;
_root[table] = false;
_root.listCouple.push(_root[mcRef].couple);
meter.prevFrame();
meter.prevFrame();
meter.prevFrame();
meter.prevFrame();
iconToChange = "gauge" + _root[mcRef].place;
_root.main[iconToChange]._visible = false;
menu = "menu" + _root[mcRef].place;
_root.main[menu]._visible = false;
_root.main[menu].gotoAndPlay("stop");
menu = "menu" + _root[partnerLeave].place;
_root.main[menu]._visible = false;
_root.main[menu].gotoAndPlay("stop");
customerRank = _root.listCurrentCustomer.getIndex(mcRef);
_root.listCurrentCustomer.splice(customerRank, 1);
if (_root[mcRef].state == "wantToOrder") {
waitToBeOrderedInterval = "waitToBeOrderedInterval" + mcRef;
clearInterval(_root[waitToBeOrderedInterval]);
} else if (_root[mcRef].state == "wantMeal") {
if (_root.goofyNumberMeal != 0) {
_root.goofyNumberMeal--;
} else {
_root.mealNumber--;
}
waitingToBeServedInterval = "waitingToBeServedInterval" + mcRef;
clearInterval(_root[waitingToBeServedInterval]);
} else if (_root[mcRef].state == "wantDrink") {
if (_root.goofyNumberDrink != 0) {
_root.goofyNumberDrink--;
glasses.prevFrame();
_root.main.Goofy.Goofy.plate.prevFrame();
} else if (_root.tempDrinkNumber != 0) {
_root.tempDrinkNumber--;
glasses.prevFrame();
} else {
_root.drinkNumber--;
}
if (_root.drinkNumber == 0) {
_root.goofyIsWaiting = false;
}
waitingToBeServedInterval = "waitingToBeServedInterval" + mcRef;
clearInterval(_root[waitingToBeServedInterval]);
} else if (_root[mcRef].state == "eating") {
plateToPlace = "eatCus" + _root[mcRef].place;
_root.main[plateToPlace]._visible = false;
eatingInterval = "eatingInterval" + mcRef;
clearInterval(_root[eatingInterval]);
eatingTimeInterval = "eatingTimeInterval" + mcRef;
clearInterval(_root[eatingTimeInterval]);
}
delete _root[mcRef];
_root.main[mcRef].removeMovieClip();
iconToChange = "gauge" + _root[partnerLeave].place;
_root.main[iconToChange]._visible = false;
if (_root[partnerLeave].state == "wantToOrder") {
waitToBeOrderedInterval = "waitToBeOrderedInterval" + partnerLeave;
clearInterval(_root[waitToBeOrderedInterval]);
} else if (_root[partnerLeave].state == "wantMeal") {
if (_root.goofyNumberMeal != 0) {
_root.goofyNumberMeal--;
} else {
_root.mealNumber--;
}
waitingToBeServedInterval = "waitingToBeServedInterval" + partnerLeave;
clearInterval(_root[waitingToBeServedInterval]);
} else if (_root[partnerLeave].state == "wantDrink") {
if (_root.goofyNumberDrink != 0) {
_root.goofyNumberDrink--;
glasses.prevFrame();
_root.main.Goofy.Goofy.plate.prevFrame();
} else if (_root.tempDrinkNumber != 0) {
_root.tempDrinkNumber--;
glasses.prevFrame();
} else {
_root.drinkNumber--;
}
waitingToBeServedInterval = "waitingToBeServedInterval" + partnerLeave;
clearInterval(_root[waitingToBeServedInterval]);
} else if (_root[partnerLeave].state == "eating") {
plateToPlace = "eatCus" + _root[partnerLeave].place;
_root.main[plateToPlace]._visible = false;
eatingInterval = "eatingInterval" + mcRef;
clearInterval(_root[eatingInterval]);
eatingTimeInterval = "eatingTimeInterval" + partnerLeave;
clearInterval(_root[eatingTimeInterval]);
}
customerRank = _root.listCurrentCustomer.getIndex(partnerLeave);
_root.listCurrentCustomer.splice(customerRank, 1);
delete _root[partnerLeave];
_root.main[partnerLeave].removeMovieClip();
_root.numberOfCustomers = _root.numberOfCustomers - 2;
timeNewCus = Math.ceil(Math.random() * _root.timeNewCustomer) + 5;
timeNewCus = timeNewCus * 1000;
clearInterval(createNewCustomerInterval);
if ((_root.numberOfCustomers < 16) and (_root.tutorialIsDone == true)) {
createNewCustomerInterval = setInterval(openDoor, timeNewCus);
}
}
}
function customerLeave(mcRef, partner) {
table = "table0" + _root[mcRef].table;
_root[table] = false;
_root.listCouple.push(_root[mcRef].couple);
if (_root[mcRef].gauge == 5) {
meter.nextFrame();
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGaugeLeave;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "2000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "2000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 4) {
meter.nextFrame();
_root.score = _root.score + 1000;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 3) {
_root.score = _root.score + 500;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "500";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "500";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 2) {
meter.prevFrame();
_root.score = _root.score + 250;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "250";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "250";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 1) {
meter.prevFrame();
meter.prevFrame();
}
iconToChange = "gauge" + _root[mcRef].place;
_root.main[iconToChange]._visible = false;
customerRank = _root.listCurrentCustomer.getIndex(mcRef);
_root.listCurrentCustomer.splice(customerRank, 1);
delete _root[mcRef];
_root.main[mcRef].removeMovieClip();
if (_root[partner].gauge == 5) {
meter.nextFrame();
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGaugeLeave;
scoreToAddPerso = "scoreToAddPerso" + _root[partner].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "2000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "2000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[partner].gauge == 4) {
meter.nextFrame();
} else if (_root[partner].gauge == 2) {
meter.prevFrame();
} else if (_root[partner].gauge == 1) {
meter.prevFrame();
meter.prevFrame();
}
iconToChange = "gauge" + _root[partner].place;
_root.main[iconToChange]._visible = false;
customerRank = _root.listCurrentCustomer.getIndex(partner);
_root.listCurrentCustomer.splice(customerRank, 1);
delete _root[partner];
_root.main[partner].removeMovieClip();
_root.numberOfCustomers = _root.numberOfCustomers - 2;
timeNewCus = Math.ceil(Math.random() * _root.timeNewCustomer) + 5;
timeNewCus = timeNewCus * 1000;
clearInterval(createNewCustomerInterval);
if ((_root.numberOfCustomers < 16) and (_root.tutorialIsDone == true)) {
createNewCustomerInterval = setInterval(openDoor, timeNewCus);
}
}
function playMovie() {
posMickey = _root.main._x + mickey._x;
if (posMickey > _root.main.mickeyMovie._x) {
_root.mickeyInverseStart = true;
} else {
_root.mickeyInverseStart = false;
}
_root.mickeyPlaceToAppear = "mickeyMovie";
_root.mickeyAnimToPlay = "MovieStart";
_root.mickeyInverse = false;
mickey.gotoAndPlay("Depart");
}
function movieStart() {
btnTape._visible = false;
_root.videoMaxTime++;
_root.gamePause = true;
rideau.gotoAndPlay("Open");
if (_root.Track1IsPlaying == true) {
_root.musicTrack1.setVolume(0);
}
if (_root.Track2IsPlaying == true) {
_root.musicTrack2.setVolume(0);
}
if (_root.Track3IsPlaying == true) {
_root.musicTrack3.setVolume(0);
}
if (_root.Track4IsPlaying == true) {
_root.musicTrack4.setVolume(0);
}
}
function movieIsOver() {
if (_root.musicIsPlaying == true) {
if (_root.Track1IsPlaying == true) {
_root.musicTrack1.setVolume(100);
}
if (_root.Track2IsPlaying == true) {
_root.musicTrack2.setVolume(100);
}
if (_root.Track3IsPlaying == true) {
_root.musicTrack3.setVolume(100);
}
if (_root.Track4IsPlaying == true) {
_root.musicTrack4.setVolume(100);
}
}
if (_root.freezeTheGame == false) {
_root.gamePause = false;
}
_root.movieIsStart = false;
if (_root.movieToPlay == 1) {
nsStream1.pause(true);
nsStream1.seek(0);
_root.main.video1._visible = false;
} else if (_root.movieToPlay == 2) {
nsStream2.pause(true);
nsStream2.seek(0);
_root.main.video2._visible = false;
} else if (_root.movieToPlay == 3) {
nsStream3.pause(true);
nsStream3.seek(0);
_root.main.video3._visible = false;
}
_root.movieToPlay = 0;
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
if (_root[customer].gauge < 4) {
_root[customer].gauge = _root[customer].gauge + 1;
_root.score = _root.score + _root.scoreOneGauge;
} else if (_root[customer].gauge == 4) {
_root[customer].gauge = _root[customer].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[customer].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
if (_root[customer].gauge == 2) {
wantToLeaveInterval = "wantToLeave" + customer;
if (_root[mcRef].state != "enter") {
_root.main[customer].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
iconToChange = "gauge" + _root[customer].place;
if (_root[customer].state != "eating") {
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
} else if (_root[customer].state == "eating") {
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
}
i++;
}
if ((_root.videoMaxTime >= 3) or (_root.videoUnlock == false)) {
btnTape._visible = false;
} else {
btnTape._visible = true;
}
rideau.gotoAndPlay("Close");
mickeyReturnToPlace();
}
function goMakeFun(mcRef) {
if (_root[mcRef].gauge == 1) {
wantToLeaveInterval = "wantToLeave" + mcRef;
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
partner = _root[mcRef].partner;
if (_root[partner].gauge == 1) {
wantToLeaveInterval = "wantToLeave" + mcRef;
if (_root[partner].state != "enter") {
_root.main[partner].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
_root.customerToFun = mcRef;
posMickey = _root.main._x + mickey._x;
if (posMickey > _root._xmouse) {
_root.mickeyInverseStart = true;
_root.mickeyInverse = false;
} else {
_root.mickeyInverseStart = false;
_root.mickeyInverse = false;
}
placeToGo = "seeCus" + _root[mcRef].table;
_root.mickeyAnimToPlay = "Talk";
_root.mickeyPlaceToAppear = placeToGo;
mickey.gotoAndPlay("Depart");
}
function makeFun(mcRef) {
if (_root.firstCustomerIsServed == false) {
tutorial.gotoAndStop("vide");
_root.timeBeforePete = 3;
_root.timeRandomPete = 5;
callPete();
}
partner = _root[mcRef].partner;
_root[mcRef].mickeyEnjoy = true;
_root[partner].mickeyEnjoy = true;
if (_root[mcRef].gauge <= 2) {
_root[mcRef].gauge = _root[mcRef].gauge + 2;
_root.score = _root.score + (_root.scoreOneGauge * 2);
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "200";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "200";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 3) {
_root[mcRef].gauge = _root[mcRef].gauge + 2;
meter.nextFrame();
_root.score = _root.score + _root.scoreOneGauge;
_root.score = _root.score + _root.scoreGreenGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1100";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1100";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[mcRef].gauge == 4) {
_root[mcRef].gauge = _root[mcRef].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[mcRef].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
if ((_root[mcRef].gauge == 2) or (_root[mcRef].gauge == 3)) {
wantToLeaveInterval = "wantToLeave" + mcRef;
if (_root[mcRef].state != "enter") {
_root.main[mcRef].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
if (_root[partner].gauge <= 2) {
_root[partner].gauge = _root[partner].gauge + 2;
_root.score = _root.score + (_root.scoreOneGauge * 2);
scoreToAddPerso = "scoreToAddPerso" + _root[partner].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "200";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "200";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[partner].gauge == 3) {
_root[partner].gauge = _root[partner].gauge + 2;
meter.nextFrame();
_root.score = _root.score + _root.scoreOneGauge;
_root.score = _root.score + _root.scoreGreenGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[partner].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1100";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1100";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[partner].gauge == 4) {
_root[partner].gauge = _root[partner].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[partner].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
if ((_root[partner].gauge == 2) or (_root[partner].gauge == 3)) {
wantToLeaveInterval = "wantToLeave" + partner;
if (_root[partner].state != "enter") {
_root.main[partner].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
iconToChange = "gauge" + _root[mcRef].place;
if ((_root[mcRef].state != "eating") and (_root[mcRef].state != "finish")) {
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
} else if ((_root[mcRef].state == "eating") or (_root[mcRef].state == "finish")) {
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[mcRef].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
}
iconToChange = "gauge" + _root[partner].place;
if ((_root[partner].state != "eating") and (_root[partner].state != "finish")) {
_root.main[iconToChange].bulle.state.gotoAndStop(_root[partner].gauge);
} else if ((_root[partner].state == "eating") or (_root[partner].state == "finish")) {
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[partner].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
}
}
function mickeyReturnToPlace() {
_root.mickeyAction = "";
_root.mickeyInverse = false;
_root.mickeyInverseStart = true;
_root.mickeyAnimToPlay = "Idle";
if ((_root.clarabelleIsPlaying == true) or (_root.movieIsStart == true)) {
_root.mickeyPlaceToAppear = "mickeyMovie";
} else {
_root.mickeyPlaceToAppear = "mickeyStart";
}
mickey.gotoAndPlay("Depart");
}
function startDance() {
if (_root.clarabelleMaxTime < 3) {
_root.clarabelleMaxTime++;
posMickey = _root.main._x + mickey._x;
if (posMickey > _root.main.mickeyMovie._x) {
_root.mickeyInverseStart = true;
} else {
_root.mickeyInverseStart = false;
}
_root.mickeyPlaceToAppear = "mickeyMovie";
_root.mickeyAnimToPlay = "MovieStart";
_root.mickeyInverse = false;
mickey.gotoAndPlay("Depart");
}
}
function danceIsStarting() {
_root.gamePause = true;
_root.clarabelleIsPlaying = true;
clarabelle.gotoAndPlay("Dance");
}
function endDance() {
_root.clarabelleIsPlaying = false;
if (_root.freezeTheGame == false) {
_root.gamePause = false;
}
mickeyReturnToPlace();
if (_root.clarabelleMaxTime >= 3) {
clarabelle._visible = false;
}
clarabelle.gotoAndPlay("Idle");
if ((_root.videoUnlock == true) or (_root.meterLevel == "Poor")) {
clarabelle._visible = false;
if (_root.videoMaxTime < 3) {
btnTape._visible = true;
}
}
stop();
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
if (_root[customer].gauge < 4) {
_root[customer].gauge = _root[customer].gauge + 1;
_root.score = _root.score + _root.scoreOneGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[customer].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "100";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "100";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else if (_root[customer].gauge == 4) {
_root[customer].gauge = _root[customer].gauge + 1;
meter.nextFrame();
_root.score = _root.score + _root.scoreGreenGauge;
scoreToAddPerso = "scoreToAddPerso" + _root[customer].place;
_root.main[scoreToAddPerso]._visible = true;
_root.main[scoreToAddPerso].score.scoreToShow.text = "1000";
_root.main[scoreToAddPerso].score.scoreToShowOmbre.text = "1000";
_root.main[scoreToAddPerso].gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
if (_root[customer].gauge == 2) {
wantToLeaveInterval = "wantToLeave" + customer;
if (_root[customer].state != "enter") {
_root.main[customer].char.gotoAndStop("sitIdle");
}
clearInterval(_root[wantToLeaveInterval]);
}
iconToChange = "gauge" + _root[customer].place;
if (_root[customer].state != "eating") {
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
} else if (_root[customer].state == "eating") {
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
}
i++;
}
}
function upToAverage() {
scoreToAddAverage._visible = true;
scoreToAddAverage.score.scoreToShow.text = "5000";
scoreToAddAverage.score.scoreToShowOmbre.text = "5000";
scoreToAddAverage.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
_root.main.meter.AverageWord.gotoAndStop(2);
_root.timeBeforePete = 0;
_root.timeRandomPete = 0;
badTimer.gotoAndStop("stop");
if (_root.Track1IsPlaying == false) {
startSound(1);
}
_root.score = _root.score + _root.scoreMeterGain;
}
function upToGood() {
_root.main.meter.AverageWord.gotoAndStop(2);
_root.main.meter.GoodWord.gotoAndStop(2);
if (_root.gameIsCompleted == false) {
_root.timeBeforePete = 30;
_root.timeRandomPete = 30;
} else {
_root.timeBeforePete = 15;
_root.timeRandomPete = 15;
}
if (_root.peteFirstTime == false) {
callPete();
}
if (_root.Track2IsPlaying == false) {
startSound(2);
}
if (_root.addTheScore == true) {
scoreToAddGood._visible = true;
scoreToAddGood.score.scoreToShow.text = "5000";
scoreToAddGood.score.scoreToShowOmbre.text = "5000";
scoreToAddGood.gotoAndPlay("start");
_root.score = _root.score + _root.scoreMeterGain;
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
}
function upToVeryGood() {
_root.addTheScore = true;
scoreToAddVeryGood._visible = true;
scoreToAddVeryGood.score.scoreToShow.text = "5000";
scoreToAddVeryGood.score.scoreToShowOmbre.text = "5000";
scoreToAddVeryGood.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
_root.main.meter.VeryGoodWord.gotoAndStop(2);
if (((_root.clarebelleUnlock == false) and (_root.clarabelleMaxTime < 3)) and (_root.movieIsStart == false)) {
tutorial._visible = true;
tutorial.gotoAndPlay("clarabelle");
_root.clarabelleMaxTime = 0;
clarabelle._visible = true;
clarabelle.clarabelle._visible = true;
_root.clarebelleUnlock = true;
btnTape._visible = false;
_root.videoUnlock = false;
}
if (_root.gameIsCompleted == false) {
_root.timeBeforePete = 20;
_root.timeRandomPete = 20;
} else {
_root.timeBeforePete = 10;
_root.timeRandomPete = 10;
}
if (_root.Track3IsPlaying == false) {
startSound(3);
}
_root.score = _root.score + _root.scoreMeterGain;
}
function upToExcellent() {
scoreToAddExcellent._visible = true;
scoreToAddExcellent.score.scoreToShow.text = "5000";
scoreToAddExcellent.score.scoreToShowOmbre.text = "5000";
scoreToAddExcellent.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
_root.main.meter.ExcellentWord.gotoAndStop(2);
if (_root.videoUnlock == false) {
tutorial._visible = true;
tutorial.gotoAndPlay("video");
if ((_root.clarabelleIsPlaying == false) and (_root.clarabelleMaxTime < 3)) {
clarabelle._visible = false;
}
_root.clarebelleUnlock = false;
if (((_root.clarabelleIsPlaying == false) and (_root.videoMaxTime < 3)) and (_root.movieIsStart == false)) {
btnTape._visible = true;
}
_root.videoUnlock = true;
}
if (_root.gameIsCompleted == false) {
_root.timeBeforePete = 10;
_root.timeRandomPete = 10;
} else {
_root.timeBeforePete = 5;
_root.timeRandomPete = 5;
}
if (_root.gameIsCompleted == false) {
excellentTimer.gotoAndPlay("start");
}
if (_root.Track4IsPlaying == false) {
startSound(4);
}
_root.score = _root.score + _root.scoreMeterGain;
}
function downToVeryGood() {
_root.main.meter.ExcellentWord.gotoAndStop(1);
if ((_root.clarabelleMaxTime < 3) and (_root.movieIsStart == false)) {
clarabelle._visible = true;
}
btnTape._visible = false;
_root.videoUnlock = false;
if (_root.gameIsCompleted == false) {
_root.timeBeforePete = 20;
_root.timeRandomPete = 20;
} else {
_root.timeBeforePete = 10;
_root.timeRandomPete = 10;
}
if (_root.gameIsCompleted == false) {
excellentTimer.gotoAndPlay("stop");
}
stopSound(4);
}
function downToGood() {
_root.main.meter.VeryGoodWord.gotoAndStop(1);
if (_root.gameIsCompleted == false) {
_root.timeBeforePete = 30;
_root.timeRandomPete = 30;
} else {
_root.timeBeforePete = 15;
_root.timeRandomPete = 15;
}
stopSound(3);
}
function downToAverage() {
clearInterval(peteChoseTrickInterval);
_root.main.meter.GoodWord.gotoAndStop(1);
_root.timeBeforePete = 0;
_root.timeRandomPete = 0;
stopSound(2);
}
function downToPoor() {
clearInterval(peteChoseTrickInterval);
_root.main.meter.AverageWord.gotoAndStop(1);
if (_root.videoUnlock == true) {
btnTape._visible = false;
_root.videoUnlock = false;
}
if (_root.clarabelleIsPlaying == false) {
clarabelle._visible = false;
}
_root.clarebelleUnlock = false;
_root.timeBeforePete = 0;
_root.timeRandomPete = 0;
badTimer.gotoAndPlay("start");
stopSound(1);
}
function callPete() {
if (_root.gamePause == false) {
clearInterval(peteChoseTrickInterval);
if ((_root.timeRandomPete != 0) and (_root.peteTimeChased < 99)) {
timeRandom = _root.timeRandomPete * 1000;
timeToAdd = _root.timeBeforePete * 1000;
timePeteAppear = Math.ceil(Math.random() * timeRandom) + timeToAdd;
_root.peteAction = Math.ceil(Math.random() * 5);
if (_root.peteFirstTime == true) {
_root.peteAction = 6;
}
if (_root.peteAction == _root.peteLastAction) {
if (_root.peteAction < 4) {
_root.peteAction = _root.peteAction + 1;
} else {
_root.peteAction = 1;
}
}
if (_root.peteAction == 5) {
if (_root.meterLevel == "Excellent") {
_root.peteAction = 5;
} else {
_root.peteAction = Math.ceil(Math.random() * 4);
}
}
if (_root.peteAction == 1) {
if ((_root.table01 == true) and (_root.table03 == true)) {
_root.peteAction = 1;
} else if ((_root.table02 == true) and (_root.table04 == true)) {
_root.peteAction = 1;
} else if ((_root.table03 == true) and (_root.table05 == true)) {
_root.peteAction = 1;
} else if ((_root.table04 == true) and (_root.table06 == true)) {
_root.peteAction = 1;
} else if ((_root.table05 == true) and (_root.table07 == true)) {
_root.peteAction = 1;
} else if ((_root.table06 == true) and (_root.table08 == true)) {
_root.peteAction = 1;
} else {
_root.peteAction = Math.ceil(Math.random() * 3) + 1;
}
}
peteChoseTrickInterval = setInterval(peteChooseTrick, timePeteAppear);
}
}
}
function peteChooseTrick() {
if (_root.gamePause == false) {
switch (_root.peteAction) {
case 1 :
tryChangePlates();
break;
case 2 :
tryDropBanana();
break;
case 3 :
tryPutCockroaches();
break;
case 4 :
tryBurstPipes();
break;
case 5 :
tryPowerOutage();
break;
case 6 :
comeOutForTutorial();
}
_root.peteLastAction = _root.peteAction;
_root.peteCanBeCatch = true;
peteGoesOutSound.attachSound("peteGoesOut");
peteGoesOutSound.start(0, 1);
clearInterval(peteChoseTrickInterval);
}
}
function peteMakeThings() {
_root.peteCanBeCatch = false;
clearInterval(peteMakeThingsInterval);
}
function comeOutForTutorial() {
_root.peteCanBeCatch = true;
place = (_root.petePlaceToAppear = "peteLeft");
pete._visible = true;
_root.peteInverse = false;
pete._x = _root.main[place]._x;
pete._y = _root.main[place]._y;
pete.gotoAndPlay("PopOut");
pete.Pete.gotoAndPlay("start");
tutorial.gotoAndPlay("peteAppear");
}
function tryChangePlates() {
_root.peteCanBeCatch = true;
i = 1;
while ((_root.peteCanGoThere == false) and (i < 10)) {
noSpot = (noTemp = Math.ceil(Math.random() * 6));
tableTemp = noTemp;
firstTable = "table0" + tableTemp;
tableTemp = noTemp + 2;
secondTable = "table0" + tableTemp;
if ((_root[firstTable] == true) and (_root[secondTable] == true)) {
_root.peteCanGoThere = true;
} else {
_root.peteCanGoThere = false;
}
i++;
}
if (_root.peteCanGoThere == true) {
_root.petePlaceToAppear = "peteRight";
pete._visible = true;
_root.peteInverse = false;
pete._x = _root.main[place]._x;
pete._y = _root.main[place]._y;
pete.gotoAndPlay("PopOut");
pete.Pete.gotoAndPlay("start");
peteMakeThingsInterval = setInterval(goChangePlates, _root.peteMustBeStop);
} else {
_root.peteAction = Math.ceil(Math.random() * 3) + 1;
switch (_root.peteAction) {
case 2 :
tryDropBanana();
break;
case 3 :
tryPutCockroaches();
break;
case 4 :
tryBurstPipes();
break;
case 5 :
tryPowerOutage();
}
}
}
function goChangePlates() {
if (_root.gamePause == false) {
_root.spotChangePlates = noSpot;
placeToGo = "peteSwap" + noSpot;
_root.peteCanBeCatch = false;
_root.petePlaceToAppear = placeToGo;
noFirstTable = noSpot;
noSecondTable = noSpot + 2;
leftCustomer = "";
rightCustomer = "";
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
if (((_root[customer].table == noFirstTable) and (_root[customer].sitDirection == "right")) and (_root[customer].state == "eating")) {
leftCustomer = customer;
} else if (((_root[customer].table == noSecondTable) and (_root[customer].sitDirection == "left")) and (_root[customer].state == "eating")) {
rightCustomer = customer;
}
i++;
}
if ((leftCustomer == "") or (rightCustomer == "")) {
_root.peteAction = Math.ceil(Math.random() * 2) + 2;
switch (_root.peteAction) {
case 3 :
place = (_root.petePlaceToAppear = "peteRight");
_root.cockToAppear = "cockRight";
goPutCockroaches();
break;
case 4 :
place = (_root.petePlaceToAppear = "peteRight");
goBurstPipes();
}
} else {
pete.gotoAndPlay("EchangeAssiette");
clearInterval(peteMakeThingsInterval);
}
}
}
function plateRightInvisible() {
if (_root.gamePause == false) {
plateToPlace = "eatCus" + _root[rightCustomer].place;
if (_root.main[plateToPlace]._currentframe == 1) {
rightPlate = "meal";
} else if (_root.main[plateToPlace]._currentframe == 2) {
rightPlate = "drink";
}
_root.main[plateToPlace]._visible = false;
}
}
function plateLeftInvisible() {
if (_root.gamePause == false) {
plateToPlace = "eatCus" + _root[leftCustomer].place;
if (_root.main[plateToPlace]._currentframe == 1) {
leftPlate = "meal";
} else if (_root.main[plateToPlace]._currentframe == 2) {
leftPlate = "drink";
}
_root.main[plateToPlace]._visible = false;
}
}
function changePlates() {
if (_root.gamePause == false) {
plateToPlace = "eatCus" + _root[leftCustomer].place;
if (rightPlate == "meal") {
_root.main[plateToPlace].gotoAndStop(1);
} else if (rightPlate == "drink") {
_root.main[plateToPlace].gotoAndStop(2);
}
_root.main[plateToPlace]._visible = true;
myColor = new Color(_root.main[plateToPlace]);
myColor.setTint(255, 0, 0, 50);
plateToPlace = "eatCus" + _root[rightCustomer].place;
if (leftPlate == "meal") {
_root.main[plateToPlace].gotoAndStop(1);
} else if (leftPlate == "drink") {
_root.main[plateToPlace].gotoAndStop(2);
}
_root.main[plateToPlace]._visible = true;
myColor = new Color(_root.main[plateToPlace]);
myColor.setTint(255, 0, 0, 50);
if (_root[leftCustomer].gauge > 1) {
_root[leftCustomer].gauge = _root[leftCustomer].gauge - 1;
}
if (_root[leftCustomer].gauge == 1) {
meter.prevFrame();
wantToLeaveInterval = "wantToLeave" + leftCustomer;
_root[wantToLeaveInterval] = setInterval(leaveRightNow, _root.timeLeaveAngry, leftCustomer);
if (_root[leftCustomer].state != "leftCustomer") {
_root.main[leftCustomer].char.gotoAndStop("sitAngry");
}
}
iconToChange = "gauge" + _root[leftCustomer].place;
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[leftCustomer].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
_root[leftCustomer].state = "badPlate";
eatingInterval = "eatingInterval" + leftCustomer;
clearInterval(_root[eatingInterval]);
if (_root[rightCustomer].gauge > 1) {
_root[rightCustomer].gauge = _root[rightCustomer].gauge - 1;
}
if (_root[rightCustomer].gauge == 1) {
meter.prevFrame();
wantToLeaveInterval = "wantToLeave" + rightCustomer;
_root[wantToLeaveInterval] = setInterval(leaveRightNow, _root.timeLeaveAngry, rightCustomer);
if (_root[rightCustomer].state != "enter") {
_root.main[rightCustomer].char.gotoAndStop("sitAngry");
}
}
iconToChange = "gauge" + _root[rightCustomer].place;
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[rightCustomer].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
_root[rightCustomer].state = "badPlate";
eatingInterval = "eatingInterval" + rightCustomer;
clearInterval(_root[eatingInterval]);
}
}
function tryDropBanana() {
_root.peteCanBeCatch = true;
place = (_root.petePlaceToAppear = "peteLeft");
pete._visible = true;
_root.peteInverse = false;
pete._x = _root.main[place]._x;
pete._y = _root.main[place]._y;
pete.gotoAndPlay("PopOut");
pete.Pete.gotoAndPlay("start");
peteMakeThingsInterval = setInterval(goDropBanana, _root.peteMustBeStop);
}
function goDropBanana() {
if (_root.gamePause == false) {
_root.peteCanBeCatch = false;
clearInterval(peteMakeThingsInterval);
pete.gotoAndPlay("LanceBanane");
}
}
function tryPutCockroaches() {
_root.peteCanBeCatch = true;
noPlace = Math.ceil(Math.random() * 2);
if (noPlace == 1) {
place = (_root.petePlaceToAppear = "peteLeft");
_root.cockToAppear = "cockLeft";
} else if (noPlace == 2) {
place = (_root.petePlaceToAppear = "peteRight");
_root.cockToAppear = "cockRight";
}
pete._visible = true;
_root.peteInverse = false;
pete._x = _root.main[place]._x;
pete._y = _root.main[place]._y;
pete.gotoAndPlay("PopOut");
pete.Pete.gotoAndPlay("start");
peteMakeThingsInterval = setInterval(goPutCockroaches, _root.peteMustBeStop);
}
function goPutCockroaches() {
if (_root.gamePause == false) {
_root.peteCanBeCatch = false;
clearInterval(peteMakeThingsInterval);
pete.gotoAndPlay("LanceBebittes");
}
}
function putCockroaches() {
if (_root.gamePause == false) {
cockroachesSound.attachSound("cockroaches");
cockroachesSound.start(0, 1000);
if (_root.cockToAppear == "cockLeft") {
coachroachLeft._visible = true;
coachroachLeft.gotoAndPlay("start");
_root.table01IsInfest = true;
_root.table02IsInfest = true;
_root.table03IsInfest = true;
_root.table04IsInfest = true;
} else if (_root.cockToAppear == "cockRight") {
coachroachRight._visible = true;
coachroachRight.gotoAndPlay("start");
coachroachRight.cock.gotoAndPlay("start");
_root.table05IsInfest = true;
_root.table06IsInfest = true;
_root.table07IsInfest = true;
_root.table08IsInfest = true;
}
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
noActiveTable = _root[customer].table;
activeTable = ("table0" + noActiveTable) + "IsInfest";
if (_root[activeTable] == true) {
if (_root[customer].gauge >= 3) {
_root[customer].gauge = _root[customer].gauge - 2;
} else if (_root[customer].gauge == 2) {
_root[customer].gauge = _root[customer].gauge - 1;
}
if (_root[customer].gauge == 1) {
meter.prevFrame();
if (_root[customer].state != "enter") {
_root.main[customer].char.gotoAndStop("sitAngry");
}
wantToLeaveInterval = "wantToLeave" + customer;
_root[wantToLeaveInterval] = setInterval(leaveRightNow, _root.timeLeaveAngry, customer);
}
iconToChange = "gauge" + _root[customer].place;
if ((_root[customer].state != "eating") and (_root[customer].state != "finish")) {
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
} else if ((_root[customer].state == "eating") or (_root[customer].state == "finish")) {
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
}
}
i++;
}
}
}
function tryBurstPipes() {
_root.peteCanBeCatch = true;
place = (_root.petePlaceToAppear = "peteRight");
pete._visible = true;
_root.peteInverse = false;
pete._x = _root.main[place]._x;
pete._y = _root.main[place]._y;
pete.gotoAndPlay("PopOut");
pete.Pete.gotoAndPlay("start");
peteMakeThingsInterval = setInterval(goBurstPipes, _root.peteMustBeStop);
}
function goBurstPipes() {
if (_root.gamePause == false) {
_root.peteCanBeCatch = false;
clearInterval(peteMakeThingsInterval);
pete.gotoAndPlay("BriseTuyaux");
}
}
function burstPipes() {
if (_root.gamePause == false) {
_root.donaldAction = "repairPipes";
tuyau._visible = true;
tuyau.eauCoule._visible = true;
tuyau.gotoAndPlay("start");
tuyau.waterStart.gotoAndPlay("EauApparait");
_root.table05IsWet = true;
_root.table06IsWet = true;
_root.table07IsWet = true;
_root.table08IsWet = true;
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
noActiveTable = _root[customer].table;
activeTable = ("table0" + noActiveTable) + "IsWet";
if (_root[activeTable] == true) {
if (_root[customer].gauge >= 3) {
_root[customer].gauge = _root[customer].gauge - 2;
} else if (_root[customer].gauge == 2) {
_root[customer].gauge = _root[customer].gauge - 1;
}
if (_root[customer].gauge == 1) {
meter.prevFrame();
if (_root[customer].state != "enter") {
_root.main[customer].char.gotoAndStop("sitAngry");
}
wantToLeaveInterval = "wantToLeave" + customer;
_root[wantToLeaveInterval] = setInterval(leaveRightNow, _root.timeLeaveAngry, customer);
}
iconToChange = "gauge" + _root[customer].place;
if ((_root[customer].state != "eating") and (_root[customer].state != "finish")) {
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
} else if ((_root[customer].state == "eating") or (_root[customer].state == "finish")) {
_root.main[iconToChange]._visible = true;
_root.main[iconToChange].gotoAndStop("showStat");
_root.main[iconToChange].bulle.gotoAndPlay("start");
_root.main[iconToChange].bulle.state.gotoAndStop(_root[customer].gauge);
gaugeInterval = "dispearGauge" + iconToChange;
_root[gaugeInterval] = setInterval(dispearGauge, _root.timeShowGauge, iconToChange);
}
}
i++;
}
}
}
function tryPowerOutage() {
if (_root.movieIsStart == false) {
pete.swapDepths(-16999);
_root.peteCanBeCatch = true;
_root.peteInverse = true;
place = (_root.petePlaceToAppear = "petePowerBreak");
pete._visible = true;
pete._x = _root.main[place]._x;
pete._y = _root.main[place]._y;
pete.gotoAndPlay("PopOut");
pete.Pete.gotoAndPlay("start");
_root.peteWillBroke = true;
peteMakeThingsInterval = setInterval(goPowerOutage, _root.peteMustBeStop);
} else {
tryPutCockroaches();
}
}
function goPowerOutage() {
if (_root.gamePause == false) {
_root.peteCanBeCatch = false;
clearInterval(peteMakeThingsInterval);
pete.gotoAndPlay("BriseTuyaux");
}
}
function powerOutage() {
if (_root.gamePause == false) {
_root.peteWillBroke = false;
powerBox.gotoAndPlay("Broken");
_root.donaldAction = "repairPower";
btnTape._visible = false;
_root.peteInverse = false;
}
}
function plutoGoStopPete() {
if (_root.plutoAnimIsDone == true) {
if (_root.petePlaceToAppear == "peteRight") {
_root.plutoPlaceToAppear = "rightPillar";
_root.plutoInverse = false;
} else if (_root.petePlaceToAppear == "peteLeft") {
_root.plutoPlaceToAppear = "leftPillar";
_root.plutoInverse = true;
} else if (_root.petePlaceToAppear == "petePowerBreak") {
_root.plutoPlaceToAppear = "plutoPower";
_root.peteWillBroke = false;
_root.plutoInverse = false;
}
_root.plutoAnimToPlay = "Bark";
_root.plutoAnimIsDone = false;
pluto.gotoAndPlay("Start");
clearInterval(peteMakeThingsInterval);
}
}
function plutoStopPete() {
pete.gotoAndPlay("Sursaut");
if (_root.peteFirstTime == false) {
_root.peteTimeChased++;
callPete();
} else {
tutorial.gotoAndPlay("donaldMustRepair");
_root.peteFirstTime = false;
_root.firstCustomerIsServed = true;
_root.timeBeforePete = 30;
_root.timeRandomPete = 30;
}
_root.score = _root.score + _root.scorePlutoChase;
if (_root.plutoPlaceToAppear == "leftPillar") {
_root.main.scoreToAddPlutoLeft._visible = true;
_root.main.scoreToAddPlutoLeft.score.scoreToShow.text = "1000";
_root.main.scoreToAddPlutoLeft.score.scoreToShowOmbre.text = "1000";
_root.main.scoreToAddPlutoLeft.gotoAndPlay("start");
} else if (_root.plutoPlaceToAppear == "rightPillar") {
_root.main.scoreToAddPlutoRight._visible = true;
_root.main.scoreToAddPlutoRight.score.scoreToShow.text = "1000";
_root.main.scoreToAddPlutoRight.score.scoreToShowOmbre.text = "1000";
_root.main.scoreToAddPlutoRight.gotoAndPlay("start");
} else {
_root.main.scoreToAddPlutoUp._visible = true;
_root.main.scoreToAddPlutoUp.score.scoreToShow.text = "1000";
_root.main.scoreToAddPlutoUp.score.scoreToShowOmbre.text = "1000";
_root.main.scoreToAddPlutoUp.gotoAndPlay("start");
}
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
function plutoReturnToPlace() {
_root.plutoInverse = false;
_root.plutoInverseStart = true;
_root.plutoAnimToPlay = "Stop";
_root.plutoPlaceToAppear = "plutoStart";
pluto.gotoAndPlay("Start");
}
function goPutBackPlates() {
_root.donaldAnimIsDone = false;
_root.donaldInverse = true;
_root.donaldInverseStart = false;
placeToGo = "donaldSwap" + _root.spotChangePlates;
_root.donaldAnimToPlay = "SwitchAssiette";
_root.donaldPlaceToAppear = placeToGo;
donald.gotoAndPlay("Depart");
}
function putBackPlates() {
plateToPlace = "eatCus" + _root[rightCustomer].place;
if (rightPlate == "meal") {
_root.main[plateToPlace].gotoAndStop(1);
} else if (rightPlate == "drink") {
_root.main[plateToPlace].gotoAndStop(2);
}
_root[rightCustomer].state = "eating";
_root.main[plateToPlace]._visible = true;
myColor = new Color(_root.main[plateToPlace]);
myColor.setTint(0, 0, 0, 0);
plateToPlace = "eatCus" + _root[leftCustomer].place;
if (leftPlate == "meal") {
_root.main[plateToPlace].gotoAndStop(1);
} else if (leftPlate == "drink") {
_root.main[plateToPlace].gotoAndStop(2);
}
_root[leftCustomer].state = "eating";
_root.main[plateToPlace]._visible = true;
myColor = new Color(_root.main[plateToPlace]);
myColor.setTint(0, 0, 0, 0);
eatingInterval = "eatingInterval" + leftCustomer;
_root[eatingInterval] = setInterval(finishEating, _root.timeToEat, _root[leftCustomer].no);
eatingInterval = "eatingInterval" + rightCustomer;
_root[eatingInterval] = setInterval(finishEating, _root.timeToEat, _root[rightCustomer].no);
_root.score = _root.score + _root.scoreDonaldFixe;
callPete();
}
function goRemoveBanana() {
_root.donaldAnimIsDone = false;
_root.donaldAction = "removeBanana";
_root.donaldInverse = false;
_root.donaldInverseStart = false;
_root.donaldAnimToPlay = "Balai";
_root.donaldPlaceToAppear = "donaldBanana";
donald.gotoAndPlay("Depart");
}
function removeBanana() {
banana._visible = false;
_root.bananaIsThere = false;
_root.score = _root.score + _root.scoreDonaldFixe;
_root.main.scoreToAddDonaldBanana._visible = true;
_root.main.scoreToAddDonaldBanana.score.scoreToShow.text = "500";
_root.main.scoreToAddDonaldBanana.score.scoreToShowOmbre.text = "500";
_root.main.scoreToAddDonaldBanana.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
callPete();
}
function goRemoveCockroaches() {
_root.donaldAction = "removeCockroaches";
if (_root.cockToAppear == "cockLeft") {
_root.donaldInverse = true;
_root.donaldInverseStart = false;
_root.donaldAnimToPlay = "Balai";
_root.donaldPlaceToAppear = "donaldCockLeft";
} else if (_root.cockToAppear == "cockRight") {
_root.donaldInverse = false;
_root.donaldInverseStart = false;
_root.donaldAnimToPlay = "Balai";
_root.donaldPlaceToAppear = "donaldCockRight";
}
_root.donaldAnimIsDone = false;
donald.gotoAndPlay("Depart");
}
function removeCockroaches() {
cockroachesSound.stop();
if (_root.donaldPlaceToAppear == "donaldCockLeft") {
coachroachLeft.gotoAndStop("stop");
coachroachLeft._visible = false;
_root.table01IsInfest = false;
_root.table02IsInfest = false;
_root.table03IsInfest = false;
_root.table04IsInfest = false;
_root.main.scoreToAddDonaldCockLeft._visible = true;
_root.main.scoreToAddDonaldCockLeft.score.scoreToShow.text = "500";
_root.main.scoreToAddDonaldCockLeft.score.scoreToShowOmbre.text = "500";
_root.main.scoreToAddDonaldCockLeft.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
} else {
coachroachRight.gotoAndStop("stop");
coachroachRight.cock.gotoAndStop("stop");
coachroachRight._visible = false;
_root.table05IsInfest = false;
_root.table06IsInfest = false;
_root.table07IsInfest = false;
_root.table08IsInfest = false;
_root.main.scoreToAddDonaldCockRight._visible = true;
_root.main.scoreToAddDonaldCockRight.score.scoreToShow.text = "500";
_root.main.scoreToAddDonaldCockRight.score.scoreToShowOmbre.text = "500";
_root.main.scoreToAddDonaldCockRight.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
}
_root.score = _root.score + _root.scoreDonaldFixe;
callPete();
}
function goRepairPipes() {
_root.donaldAnimIsDone = false;
_root.donaldInverse = true;
_root.donaldInverseStart = true;
_root.donaldAnimToPlay = "Repair";
_root.donaldPlaceToAppear = "donaldRepairPipes";
donald.gotoAndPlay("Depart");
}
function repairPipes() {
tuyau.eauCoule._visible = false;
tuyau.waterStart.gotoAndPlay("EauDisparait");
tuyau.flaque1.water.gotoAndPlay("disappear");
tuyau.flaque2.water.gotoAndPlay("disappear");
tuyau.flaque3.water.gotoAndPlay("disappear");
tuyau.flaque4.water.gotoAndPlay("disappear");
_root.table05IsWet = false;
_root.table06IsWet = false;
_root.table07IsWet = false;
_root.table08IsWet = false;
_root.score = _root.score + _root.scoreDonaldFixe;
_root.main.scoreToAddDonaldPipe._visible = true;
_root.main.scoreToAddDonaldPipe.score.scoreToShow.text = "500";
_root.main.scoreToAddDonaldPipe.score.scoreToShowOmbre.text = "500";
_root.main.scoreToAddDonaldPipe.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
callPete();
}
function goRepairPower() {
_root.donaldAnimIsDone = false;
_root.donaldInverse = true;
_root.donaldInverseStart = false;
_root.donaldAnimToPlay = "Repair";
_root.donaldPlaceToAppear = "donaldRepairPower";
donald.gotoAndPlay("Depart");
}
function repairPower() {
powerBox.gotoAndStop("Idle");
if (_root.meterLevel == "Excellent") {
btnTape._visible = true;
}
_root.score = _root.score + _root.scoreDonaldFixe;
_root.main.scoreToAddDonaldPower._visible = true;
_root.main.scoreToAddDonaldPower.score.scoreToShow.text = "500";
_root.main.scoreToAddDonaldPower.score.scoreToShowOmbre.text = "500";
_root.main.scoreToAddDonaldPower.gotoAndPlay("start");
if (_root.freezeTheGame == false) {
scoreUp.attachSound("scoreUp");
scoreUp.start(0, 1);
}
callPete();
}
function donaldReturnToPlace() {
_root.donaldAction = "";
_root.donaldInverse = false;
_root.donaldInverseStart = true;
_root.donaldAnimToPlay = "Idle";
_root.donaldAnimIsDone = true;
_root.donaldPlaceToAppear = "donaldStart";
donald.gotoAndPlay("Depart");
}
function gameIsOver() {
_root.gameIsRunning = false;
clearInterval(createNewCustomerInterval);
clearInterval(peteChoseTrickInterval);
clearInterval(peteMakeThingsInterval);
waitToBePlacedInterval = "waitToBePlacedInterval1";
clearInterval(_root[waitToBePlacedInterval]);
waitToBePlacedInterval = "waitToBePlacedInterval2";
clearInterval(_root[waitToBePlacedInterval]);
clearInterval(_root.waitToBePlacedInterval1);
clearInterval(_root.waitToBePlacedInterval2);
clearInterval(wantToOrderInterval);
clearInterval(wantToOrderInterval2);
clearInterval(_root.creerPerso);
excellentTimer.gotoAndPlay("stop");
badTimer.gotoAndPlay("stop");
i = 0;
while (i < _root.listCurrentCustomer.length) {
customer = _root.listCurrentCustomer[i];
if (_root[customer].state == "wantToOrder") {
waitToBeOrderedInterval = "waitToBeOrderedInterval" + customer;
clearInterval(_root[waitToBeOrderedInterval]);
} else if (_root[customer].state == "wantMeal") {
waitingToBeServedInterval = "waitingToBeServedInterval" + customer;
clearInterval(_root[waitingToBeServedInterval]);
} else if (_root[customer].state == "wantDrink") {
waitingToBeServedInterval = "waitingToBeServedInterval" + customer;
clearInterval(_root[waitingToBeServedInterval]);
} else if (_root[customer].state == "eating") {
eatingInterval = "eatingInterval" + customer;
clearInterval(_root[eatingInterval]);
eatingTimeInterval = "eatingTimeInterval" + customer;
clearInterval(_root[eatingTimeInterval]);
}
waitToBeOrderedInterval = "waitToBeOrderedInterval" + customer;
clearInterval(_root[waitToBeOrderedInterval]);
eatingInterval = "eatingInterval" + customer;
clearInterval(_root[eatingInterval]);
orderInterval = "orderInterval" + customer;
clearInterval(_root[orderInterval]);
wantToLeaveInterval = "wantToLeave" + customer;
clearInterval(_root[wantToLeaveInterval]);
iconToChange = "gauge" + _root[customer].place;
gaugeInterval = "dispearGauge" + iconToChange;
clearInterval(_root[gaugeInterval]);
i++;
}
instruction.gotoAndStop("NoTime");
pauseGame();
}
function winTheGame() {
instruction.gotoAndStop("done");
pauseGame();
excellentTimer.gotoAndStop("stop");
}
function makeItHard() {
_root.gameIsCompleted = true;
_root.timeToBePlaced = 6000;
_root.timeToBeOrdered = 6000;
_root.timeToBeServed = 8000;
}
function startSound(instruments) {
if (instruments == 1) {
_root.Track1IsPlaying = true;
if (_root.musicIsPlaying == true) {
_root.musicTrack1.setVolume(100);
}
} else if (instruments == 2) {
_root.Track2IsPlaying = true;
if (_root.musicIsPlaying == true) {
_root.musicTrack2.setVolume(100);
}
} else if (instruments == 3) {
_root.Track3IsPlaying = true;
if ((_root.musicIsPlaying == true) and (_root.movieIsStart == false)) {
_root.musicTrack3.setVolume(100);
}
} else if (instruments == 4) {
_root.Track4IsPlaying = true;
if ((_root.musicIsPlaying == true) and (_root.movieIsStart == false)) {
_root.musicTrack4.setVolume(100);
}
}
}
function stopSound(instruments) {
if (instruments == 4) {
_root.Track4IsPlaying = false;
_root.musicTrack4.setVolume(0);
} else if (instruments == 3) {
_root.Track3IsPlaying = false;
_root.musicTrack3.setVolume(0);
} else if (instruments == 2) {
_root.Track2IsPlaying = false;
_root.musicTrack2.setVolume(0);
} else if (instruments == 1) {
_root.Track1IsPlaying = false;
_root.musicTrack1.setVolume(0);
}
}
function loadSO() {
level1SO = SharedObject.getLocal("level1", "/");
level2SO = SharedObject.getLocal("level2", "/");
level3SO = SharedObject.getLocal("level3", "/");
_root.main.stage.gotoAndStop(level2SO.data.stage);
noStage = "item0" + level2SO.data.stage;
if (level2SO.data.stage == 6) {
_root.main.petePowerBreak._x = _root.main.petePowerBreak._x - 20;
}
if (level2SO.data.stageColor1 != undefined) {
colorful = new Color(_root.main.stage[noStage].color1);
colorful.setRGB(level2SO.data.stageColor1);
}
if (level2SO.data.stageColor2 != undefined) {
var colorful = new Color(_root.main.stage[noStage].color2);
colorful.setRGB(level2SO.data.stageColor2);
}
_root.main.reception.gotoAndStop(level2SO.data.reception);
noReception = "item0" + level2SO.data.reception;
if (level2SO.data.receptionColor1 != undefined) {
var colorful = new Color(_root.main.reception[noReception].color1);
colorful.setRGB(level2SO.data.receptionColor1);
}
if (level2SO.data.receptionColor2 != undefined) {
var colorful = new Color(_root.main.reception[noReception].color2);
colorful.setRGB(level2SO.data.receptionColor2);
}
if (level2SO.data.barColor1 != undefined) {
var colorful = new Color(_root.main.bar.item01.color1);
colorful.setRGB(level2SO.data.barColor1);
}
if (level2SO.data.barColor2 != undefined) {
var colorful = new Color(_root.main.bar.item01.color2);
colorful.setRGB(level2SO.data.barColor2);
}
if (level3SO.data.highScore != undefined) {
_root.scoreLevel3 = level3SO.data.highScore;
}
}
_global.control = this;
door = _root.main.door;
customer = _root.main.customerEnter;
goofy = _root.main.Goofy;
currentCharacter = _root.main.currentCharacter;
daisy = _root.main.Daisy;
mickey = _root.main.Mickey;
clarabelle = _root.main.Clarabelle;
pete = _root.main.Pete;
pluto = _root.main.Pluto;
donald = _root.main.Donald;
horace = _root.main.Horace;
rideau = _root.main.rideau;
characterEnter = _root.main.listCharacterEnter;
characterSit = _root.main.listCharacterSit;
carAppear1 = _root.main.appearCar1;
carAppear2 = _root.main.appearCar2;
glasses = _root.main.glasses;
meter = _root.main.meter;
movieToPlay = _root.main.movieMalade;
plateGlass = _root.main.Goofy.Goofy.plate;
btnTape = _root.main.tapeStart;
instruction = _root.main.instruction;
banana = _root.main.banana;
coachroachLeft = _root.main.cockLeft;
coachroachRight = _root.main.cockRight;
tuyau = _root.main.tuyau;
tutorial = _root.main.tutorial;
powerBox = _root.main.stage.powerBox;
wantToLeave = _root.main.wantToLeave;
kitchenMeter = _root.main.kitchenMeter;
barMeter = _root.main.barMeter;
porte = _root.main.kitchen.door;
excellentTimer = _root.main.excellentTimer;
badTimer = _root.main.badTimer;
scoreToAddExcellent = _root.main.scoreToAddExcellent;
scoreToAddVeryGood = _root.main.scoreToAddVeryGood;
scoreToAddGood = _root.main.scoreToAddGood;
scoreToAddAverage = _root.main.scoreToAddAverage;
scoreToAddPoor = _root.main.scoreToAddPoor;
scoreToAddEnter1 = _root.main.scoreToAddEnter1;
scoreToAddEnter2 = _root.main.scoreToAddEnter2;
scoreToAddMeal = _root.main.scoreToAddMeal;
scoreToAddDrink = _root.main.scoreToAddDrink;
help = _root.help;
cockroachesSound = new Sound(this);
errorSound = new Sound(this);
peteGoesOutSound = new Sound(this);
scoreUp = new Sound(this);
Array.prototype.getIndex = function (data) {
i = 0;
while (i < this.length) {
if (this[i] == data) {
return(i);
}
i++;
}
return(-1);
};
var ncConnection1;
var nsStream1;
var ncConnection2;
var nsStream2;
var ncConnection3;
var nsStream3;
loadVideo();
}
Instance of Symbol 247 MovieClip "control_variable" in Frame 36
onClipEvent (load) {
_root.scoreLevel3 = 0;
_root.activeCharacter = "";
_root.drinkNumber = 0;
_root.mealNumber = 0;
_root.daisyAction = "";
_root.goofyAction = "";
_root.goofyAnimToPlay = "";
_root.goofyPlaceToAppear = "";
_root.goofyInverse = false;
_root.goofyInverseStart = false;
_root.goofyScale = 26;
_root.noCustomer = 1;
_root.noDeep = 10;
_root.score = 0;
_root.scoreGreenGauge = 1000;
_root.scoreOneGauge = 100;
_root.scorePlaced = 500;
_root.scoreServed = 500;
_root.scoreGreenGaugeLeave = 2000;
_root.scorePlutoChase = 1000;
_root.scoreDonaldFixe = 500;
_root.scoreMeterGain = 5000;
_root.scoreMeterLose = 5000;
_root.scoreRedGaugeLeave = 1000;
_root.scoreFood = 200;
_root.scoreRedGauge = 100;
_root.mealTime = 3000;
_root.drinkTime = 3250;
_root.goofyNumberMeal = 0;
_root.goofyNumberDrink = 0;
_root.mealMax = 5;
_root.drinkMax = 7;
_root.goofyIsWaiting = false;
_root.listCouple = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
_root.listCurrentCustomer = new Array();
_root.noCouple = 0;
_root.noCustomerToPlace = 0;
_root.customerToPlace = "";
_root.characterName = "";
_root.listCharacter = new Array("Cruella", "Hades", "Hercules", "Cinderella", "Lilo", "Stitch", "Pain", "Panic", "Genie", "Aladin", "Mulan", "Tarzan", "Pinnochio", "Alice", "Timon", "Pumbaa", "Winnie", "Tiger", "Mowgli", "Baloo");
_root.wantToOrderTime = 2000;
_root.noDeepTop = 700;
_root.orderTime = 3000;
_root.firstCustomerOrder = false;
_root.secondCustomerOrder = false;
_root.tableIsServed = false;
_root.meterLevel = "Good";
_root.nearTheBar = false;
_root.mickeyAction = "";
_root.mickeyInverse = false;
_root.mickeyInverseStart = false;
_root.mickeyAnimToPlay = "";
_root.mickeyPlaceToAppear = "";
_root.mickeyScale = 26;
_root.timeNewCustomer = 10;
_root.tempDrinkNumber = 0;
_root.servingCustomer = "";
_root.horaceIsDone = true;
_root.table01 = false;
_root.table02 = false;
_root.table03 = false;
_root.table04 = false;
_root.table05 = false;
_root.table06 = false;
_root.table07 = false;
_root.table08 = false;
_root.table01IsInfest = false;
_root.table02IsInfest = false;
_root.table03IsInfest = false;
_root.table04IsInfest = false;
_root.table05IsInfest = false;
_root.table06IsInfest = false;
_root.table07IsInfest = false;
_root.table08IsInfest = false;
_root.table01IsWet = false;
_root.table02IsWet = false;
_root.table03IsWet = false;
_root.table04IsWet = false;
_root.table05IsWet = false;
_root.table06IsWet = false;
_root.table07IsWet = false;
_root.table08IsWet = false;
_root.timeToBePlaced = 10500;
_root.timeToBeOrdered = 11000;
_root.timeToBeServed = 15000;
_root.timeToEat = 120000 /* 0x01D4C0 */;
_root.numberOfCustomers = 0;
_root.wantToOrder = false;
_root.goofyAnimIsDone = true;
_root.mickeyAnimIsDone = true;
_root.customerToFun = "";
_root.clarabelleTimes = 0;
_root.timeBeforePete = 40;
_root.timeRandomPete = 40;
_root.previousMeterLevel = "";
_root.clarebelleUnlock = false;
_root.videoUnlock = false;
_root.timeForGameOver = 60000;
_root.timeForGameWin = 180000 /* 0x02BF20 */;
_root.gamePause = false;
_root.peteMustBeStop = 7000;
_root.peteCanBeCatch = false;
_root.plutoScale = 35;
_root.plutoInverseStart = false;
_root.plutoAnimToPlay = "";
_root.plutoAnimIsDone = true;
_root.plutoPlaceToAppear = "";
_root.plutoInverse = false;
_root.peteAction = 0;
_root.peteLastAction = 0;
_root.peteScale = 100;
_root.peteCanGoThere = false;
_root.peteInverseStart = false;
_root.peteAnimToPlay = "";
_root.petePlaceToAppear = "";
_root.peteInverse = false;
_root.peteTimeChased = 0;
_root.donaldScale = 35;
_root.donaldInverseStart = false;
_root.donaldAnimToPlay = "";
_root.donaldPlaceToAppear = "";
_root.donaldInverse = false;
_root.donaldAction = "";
_root.donaldAnimIsDone = true;
_root.goofyIsDown = false;
_root.bananaIsThere = false;
_root.spotChangePlates = 0;
_root.characterCreation = false;
_root.clarabelleMaxTime = 0;
_root.videoMaxTime = 0;
_root.timeLeaveAngry = 13000;
_root.timeShowGauge = 3000;
_root.timeCustomerEatInterval = 10000;
_root.firstCustomerIsServed = false;
_root.firstPersonServed = false;
_root.peteFirstTime = true;
_root.mickeyCanBeUsed = false;
_root.tutorialIsDone = false;
_root.leaveMessage = "";
_root.movieToPlay = 0;
_root.movieIsStart = false;
_root.gameIsCompleted = false;
_root.orderingCustomer = "";
_root.Track1IsPlaying = true;
_root.Track2IsPlaying = true;
_root.Track3IsPlaying = false;
_root.Track4IsPlaying = false;
_root.clarabelleIsPlaying = false;
_root.addTheScore = false;
_root.peteWillBroke = false;
_root.freezeTheGame = false;
}
Instance of Symbol 1642 MovieClip in Frame 36
onClipEvent (load) {
_global.control.loadSO();
_global.control.openDoor();
_root.main.meter.gotoAndStop("Good");
_global.control.upToGood();
}
Instance of Symbol 1655 MovieClip in Frame 36
/* no clip actions */
Frame 46
gotoAndPlay ("TitleCard");
Instance of Symbol 35 MovieClip "percent" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
vPercent = 0;
}
onClipEvent (enterFrame) {
vPercent = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
tPercent = vPercent add "%";
if (vPercent == 100) {
_root.gotoAndPlay("Sons");
} else {
_root.gotoAndPlay(1);
}
}
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 1
on (press) {
if (((_root.activeCharacter == "Donald") and (_root.donaldAction == "repairPipes")) and (_root.donaldAnimIsDone == true)) {
_global.control.goRepairPipes();
}
}
Symbol 54 MovieClip Frame 38
_parent.gotoAndStop("idle");
Symbol 56 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 3
stop();
Symbol 76 MovieClip Frame 19
_global.control.createCustomers();
stop();
Symbol 77 MovieClip Frame 19
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 3
stop();
Instance of Symbol 80 MovieClip "color1" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 84 MovieClip "color2" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 86 MovieClip "color1" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 90 MovieClip "color2" in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 92 MovieClip "color1" in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 96 MovieClip "color1" in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 98 MovieClip "color2" in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 102 MovieClip "color2" in Symbol 106 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 104 MovieClip "color1" in Symbol 106 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 109 MovieClip "color1" in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Instance of Symbol 111 MovieClip "color2" in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorReception(this);
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 5
stop();
Symbol 114 MovieClip Frame 6
stop();
Symbol 126 MovieClip Frame 12
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 13
stop();
Instance of Symbol 130 MovieClip "color1" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 132 MovieClip "color2" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 138 MovieClip "color1" in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 140 MovieClip "color2" in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 144 MovieClip "color2" in Symbol 148 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 146 MovieClip "color1" in Symbol 148 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 150 MovieClip "color2" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 152 MovieClip "color1" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 156 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 158 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 163 MovieClip "color1" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Instance of Symbol 165 MovieClip "color2" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (mouseDown) {
_global.control.changeColorStage(this);
}
Symbol 168 MovieClip Frame 1
stop();
Instance of Symbol 128 MovieClip "powerBox" in Symbol 168 MovieClip Frame 1
on (press) {
if (((_root.activeCharacter == "Donald") and (_root.donaldAction == "repairPower")) and (_root.donaldAnimIsDone == true)) {
_global.control.goRepairPower();
}
}
Instance of Symbol 136 MovieClip "donaldRepairPower" in Symbol 168 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 168 MovieClip Frame 2
stop();
Symbol 168 MovieClip Frame 3
stop();
Symbol 168 MovieClip Frame 4
stop();
Symbol 168 MovieClip Frame 5
stop();
Symbol 168 MovieClip Frame 6
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 223 Button
on (press) {
_parent.gotoAndPlay("Play");
_root.gameIsRunning = true;
}
Symbol 233 Button
on (press) {
_parent.gotoAndPlay("Instructions");
}
Symbol 255 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 264 Button
on (release) {
gotoAndStop ("char1");
}
Symbol 267 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 287 Button
on (release) {
gotoAndStop ("char2");
}
Symbol 288 Button
on (release) {
gotoAndStop ("beginning");
}
Symbol 301 Button
on (release) {
gotoAndStop ("char1");
}
Symbol 302 Button
on (release) {
gotoAndStop ("char3");
}
Symbol 303 Button
on (release) {
gotoAndStop ("scoring");
}
Symbol 316 Button
on (release) {
gotoAndStop ("char2");
}
Symbol 328 Button
on (release) {
if (_root.gameIsRunning == false) {
_root.gameIsRunning = true;
_parent.gotoAndPlay("Play");
} else {
gotoAndStop ("beginning");
_global.control.unPauseGame();
_global.control.instruction.gotoAndPlay("Off");
}
}
Symbol 329 Button
on (release) {
gotoAndStop ("char3");
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 3
stop();
Symbol 330 MovieClip Frame 4
stop();
Symbol 330 MovieClip Frame 5
stop();
Symbol 336 MovieClip Frame 1
stop();
Instance of Symbol 335 MovieClip "cockZone" in Symbol 336 MovieClip Frame 137
on (press) {
if (_root.donaldAnimIsDone == true) {
_global.control.goRemoveCockroaches();
}
}
Symbol 336 MovieClip Frame 164
stop();
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 102
stop();
Symbol 377 MovieClip Frame 38
stop();
Symbol 381 MovieClip Frame 51
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
stop();
Symbol 386 MovieClip Frame 61
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Symbol 388 MovieClip Frame 113
stop();
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 212
stop();
Symbol 401 MovieClip Frame 61
_parent.gotoAndPlay("sitIdle");
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 11
stop();
Symbol 403 MovieClip Frame 21
stop();
Symbol 403 MovieClip Frame 31
stop();
Symbol 419 MovieClip Frame 73
_parent.gotoAndPlay("sitIdle");
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 11
stop();
Symbol 421 MovieClip Frame 21
stop();
Symbol 421 MovieClip Frame 31
stop();
Symbol 437 MovieClip Frame 68
_parent.gotoAndPlay("sitIdle");
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 11
stop();
Symbol 440 MovieClip Frame 21
stop();
Symbol 440 MovieClip Frame 31
stop();
Symbol 451 MovieClip Frame 53
_parent.gotoAndPlay("sitIdle");
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 11
stop();
Symbol 453 MovieClip Frame 21
stop();
Symbol 453 MovieClip Frame 31
stop();
Symbol 461 MovieClip Frame 63
_parent.gotoAndPlay("sitIdle");
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 11
stop();
Symbol 463 MovieClip Frame 21
stop();
Symbol 463 MovieClip Frame 31
stop();
Symbol 471 MovieClip Frame 108
_parent.gotoAndPlay("sitIdle");
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 11
stop();
Symbol 473 MovieClip Frame 21
stop();
Symbol 473 MovieClip Frame 31
stop();
Symbol 485 MovieClip Frame 45
_parent.gotoAndPlay("sitIdle");
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 11
stop();
Symbol 487 MovieClip Frame 21
stop();
Symbol 487 MovieClip Frame 31
stop();
Symbol 499 MovieClip Frame 66
_parent.gotoAndPlay("sitIdle");
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 11
stop();
Symbol 501 MovieClip Frame 21
stop();
Symbol 501 MovieClip Frame 31
stop();
Symbol 517 MovieClip Frame 52
_parent.gotoAndPlay("sitIdle");
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 11
stop();
Symbol 519 MovieClip Frame 21
stop();
Symbol 519 MovieClip Frame 31
stop();
Symbol 533 MovieClip Frame 92
_parent.gotoAndPlay("sitIdle");
Symbol 535 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 11
stop();
Symbol 535 MovieClip Frame 21
stop();
Symbol 535 MovieClip Frame 31
stop();
Symbol 546 MovieClip Frame 96
_parent.gotoAndPlay("sitIdle");
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 11
stop();
Symbol 548 MovieClip Frame 21
stop();
Symbol 548 MovieClip Frame 31
stop();
Symbol 559 MovieClip Frame 67
_parent.gotoAndPlay("sitIdle");
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 11
stop();
Symbol 561 MovieClip Frame 21
stop();
Symbol 561 MovieClip Frame 31
stop();
Symbol 569 MovieClip Frame 86
_parent.gotoAndPlay("sitIdle");
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 11
stop();
Symbol 571 MovieClip Frame 21
stop();
Symbol 571 MovieClip Frame 31
stop();
Symbol 582 MovieClip Frame 86
_parent.gotoAndPlay("sitIdle");
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 11
stop();
Symbol 584 MovieClip Frame 21
stop();
Symbol 584 MovieClip Frame 31
stop();
Symbol 592 MovieClip Frame 71
_parent.gotoAndPlay("sitIdle");
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 11
stop();
Symbol 594 MovieClip Frame 21
stop();
Symbol 594 MovieClip Frame 31
stop();
Symbol 605 MovieClip Frame 57
_parent.gotoAndPlay("sitIdle");
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 11
stop();
Symbol 607 MovieClip Frame 21
stop();
Symbol 607 MovieClip Frame 31
stop();
Symbol 615 MovieClip Frame 91
_parent.gotoAndPlay("sitIdle");
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 11
stop();
Symbol 617 MovieClip Frame 21
stop();
Symbol 617 MovieClip Frame 31
stop();
Symbol 631 MovieClip Frame 63
_parent.gotoAndPlay("sitIdle");
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 11
stop();
Symbol 633 MovieClip Frame 21
stop();
Symbol 633 MovieClip Frame 31
stop();
Symbol 644 MovieClip Frame 72
_parent.gotoAndPlay("sitIdle");
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 11
stop();
Symbol 646 MovieClip Frame 21
stop();
Symbol 646 MovieClip Frame 31
stop();
Symbol 657 MovieClip Frame 89
_parent.gotoAndPlay("sitIdle");
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 11
stop();
Symbol 659 MovieClip Frame 21
stop();
Symbol 659 MovieClip Frame 31
stop();
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 2
_root.characterName = "Cruella";
stop();
Symbol 660 MovieClip Frame 3
_root.characterName = "Hades";
stop();
Symbol 660 MovieClip Frame 4
_root.characterName = "Hercules";
stop();
Symbol 660 MovieClip Frame 5
_root.characterName = "Cinderella";
stop();
Symbol 660 MovieClip Frame 6
stop();
Symbol 660 MovieClip Frame 7
stop();
Symbol 660 MovieClip Frame 8
stop();
Symbol 660 MovieClip Frame 9
stop();
Symbol 660 MovieClip Frame 10
stop();
Symbol 660 MovieClip Frame 11
stop();
Symbol 660 MovieClip Frame 12
stop();
Symbol 660 MovieClip Frame 13
stop();
Symbol 660 MovieClip Frame 14
stop();
Symbol 660 MovieClip Frame 15
stop();
Symbol 660 MovieClip Frame 16
stop();
Symbol 660 MovieClip Frame 17
stop();
Symbol 660 MovieClip Frame 18
stop();
Symbol 660 MovieClip Frame 19
stop();
Symbol 660 MovieClip Frame 20
stop();
Symbol 660 MovieClip Frame 21
stop();
Symbol 671 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
if (_root.peteCanBeCatch == true) {
play();
} else {
stop();
}
Symbol 671 MovieClip Frame 12
_parent.gotoAndPlay("Idle");
Symbol 673 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 678 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 678 MovieClip Frame 21
_parent.gotoAndPlay(_root.peteAnimToPlay);
Symbol 679 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 679 MovieClip Frame 11
stop();
Symbol 701 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 2
stop();
Symbol 708 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 708 MovieClip Frame 6
_global.control.plateRightInvisible();
Symbol 708 MovieClip Frame 11
_global.control.plateLeftInvisible();
Symbol 708 MovieClip Frame 19
_global.control.changePlates();
Symbol 708 MovieClip Frame 34
_parent.gotoAndStop("Gone");
Symbol 717 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 717 MovieClip Frame 18
_root.bananaIsThere = true;
_global.control.banana._visible = true;
Symbol 717 MovieClip Frame 30
_parent.gotoAndStop("Gone");
Symbol 718 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 718 MovieClip Frame 18
_global.control.putCockroaches();
Symbol 718 MovieClip Frame 30
_parent.gotoAndStop("Gone");
Symbol 728 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 728 MovieClip Frame 11
if (_root.peteAction == 4) {
_global.control.burstPipes();
} else if (_root.peteAction == 5) {
_global.control.powerOutage();
}
Symbol 728 MovieClip Frame 23
if (_root.petePlaceToAppear == "petePowerBreak") {
_global.control.pete.swapDepths(-16091);
}
_parent.gotoAndStop("Gone");
Symbol 731 MovieClip Frame 44
_parent.gotoAndStop("Gone");
Symbol 732 MovieClip Frame 1
place = _root.petePlaceToAppear;
if (_root.peteInverse == true) {
this._xscale = -_root.peteScale;
} else {
this._xscale = _root.peteScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 732 MovieClip Frame 16
place = _root.petePlaceToAppear;
if (_root.peteInverse == true) {
this._xscale = -_root.peteScale;
} else {
this._xscale = _root.peteScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 732 MovieClip Frame 31
if (_root.peteInverseStart == true) {
this._xscale = -_root.peteScale;
} else {
this._xscale = _root.peteScale;
}
_root.peteInverseStart = false;
stop();
Symbol 732 MovieClip Frame 46
place = _root.petePlaceToAppear;
if (_root.peteInverse == true) {
this._xscale = -_root.peteScale;
} else {
this._xscale = _root.peteScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 732 MovieClip Frame 61
place = _root.petePlaceToAppear;
if (_root.peteInverse == true) {
this._xscale = -_root.peteScale;
} else {
this._xscale = _root.peteScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 732 MovieClip Frame 76
stop();
Symbol 732 MovieClip Frame 91
stop();
Symbol 732 MovieClip Frame 106
place = _root.petePlaceToAppear;
if (_root.peteInverse == true) {
this._xscale = -_root.peteScale;
} else {
this._xscale = _root.peteScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 732 MovieClip Frame 121
stop();
Symbol 732 MovieClip Frame 136
stop();
Symbol 795 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 810 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 810 MovieClip Frame 3
_global.control.plutoStopPete();
Symbol 810 MovieClip Frame 26
_root.plutoAnimIsDone = true;
stop();
_global.control.plutoReturnToPlace();
Symbol 811 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 811 MovieClip Frame 14
_root.plutoAnimIsDone = true;
_parent.gotoAndPlay("Idle");
Symbol 819 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Instance of Symbol 735 MovieClip "glow" in Symbol 819 MovieClip Frame 1
onClipEvent (load) {
if (_root.activeCharacter != "Pluto") {
this._visible = false;
}
}
Symbol 819 MovieClip Frame 12
_parent.gotoAndPlay(_root.plutoAnimToPlay);
Symbol 820 MovieClip Frame 1
stop();
if (_root.activeCharacter == "Pluto") {
glow._visible = true;
}
Instance of Symbol 735 MovieClip "glow" in Symbol 820 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 820 MovieClip Frame 16
if (_root.activeCharacter == "Pluto") {
glow._visible = true;
}
place = _root.plutoPlaceToAppear;
if (_root.plutoInverse == true) {
this._xscale = -_root.plutoScale;
} else {
this._xscale = _root.plutoScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 820 MovieClip Frame 31
if (_root.activeCharacter == "Pluto") {
glow._visible = true;
}
place = _root.plutoPlaceToAppear;
if (_root.plutoInverse == true) {
this._xscale = -_root.plutoScale;
} else {
this._xscale = _root.plutoScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 820 MovieClip Frame 46
if (_root.activeCharacter == "Pluto") {
glow._visible = true;
}
if (_root.plutoInverseStart == true) {
this._xscale = -_root.plutoScale;
} else {
this._xscale = _root.plutoScale;
}
_root.plutoInverseStart = false;
stop();
Symbol 828 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
stop();
Symbol 828 MovieClip Frame 90
_global.control.prepareAMeal();
Symbol 836 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
stop();
Symbol 836 MovieClip Frame 23
this._visible = false;
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 2
_global.control.nsStream3.onStatus = function (oInfo3) {
if (oInfo3.code == "NetStream.Play.Stop") {
_global.control.movieIsOver();
gotoAndStop ("stop");
}
};
stop();
Symbol 840 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 2
_global.control.nsStream2.onStatus = function (oInfo2) {
if (oInfo2.code == "NetStream.Play.Stop") {
_global.control.movieIsOver();
gotoAndStop ("stop");
}
};
stop();
Symbol 842 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 2
_global.control.nsStream1.onStatus = function (oInfo1) {
if (oInfo1.code == "NetStream.Play.Stop") {
_global.control.movieIsOver();
gotoAndStop ("stop");
}
};
stop();
Symbol 863 MovieClip Frame 1
stop();
Symbol 863 MovieClip Frame 16
if (_root.movieToPlay == 1) {
_root.main.video1._visible = true;
_root.main.video1.gotoAndStop("start");
_global.control.nsStream1.pause(false);
} else if (_root.movieToPlay == 2) {
_root.main.video2._visible = true;
_root.main.video2.gotoAndStop("start");
_global.control.nsStream2.pause(false);
} else if (_root.movieToPlay == 3) {
_root.main.video3._visible = true;
_root.main.video3.gotoAndStop("start");
_global.control.nsStream3.pause(false);
}
stop();
Symbol 863 MovieClip Frame 27
gotoAndStop ("idle");
Symbol 886 MovieClip Frame 1
stop();
Symbol 886 MovieClip Frame 24
stop();
Symbol 960 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 960 MovieClip Frame 16
Symbol 960 MovieClip Frame 113
_root.clarabelleTimes++;
if (_root.clarabelleTimes <= 5) {
gotoAndPlay ("start");
} else {
gotoAndPlay ("end");
}
Symbol 960 MovieClip Frame 115
_root.clarabelleTimes = 0;
_global.control.endDance();
Symbol 960 MovieClip Frame 137
Symbol 961 MovieClip Frame 1
stop();
Symbol 961 MovieClip Frame 16
stop();
Instance of Symbol 335 MovieClip in Symbol 963 MovieClip Frame 1
on (press) {
if (_root.activeCharacter == "Donald") {
if ((_root.goofyAction == "exitKitchen") and (_root.mealNumber == 1)) {
} else if (_root.donaldAnimIsDone == true) {
_global.control.goRemoveBanana();
}
}
}
Symbol 975 MovieClip Frame 1
stop();
Symbol 975 MovieClip Frame 2
stop();
Symbol 975 MovieClip Frame 3
stop();
Symbol 1001 MovieClip Frame 1
_root.mickeyAnimIsDone = true;
Symbol 1004 MovieClip Frame 1
_global.control.makeFun(_root.customerToFun);
Symbol 1004 MovieClip Frame 57
_root.mickeyAnimIsDone = true;
Symbol 1004 MovieClip Frame 222
_global.control.mickeyReturnToPlace();
stop();
Symbol 1010 MovieClip Frame 34
_parent.gotoAndPlay(_root.mickeyAnimToPlay);
Symbol 1021 MovieClip Frame 1
_root.mickeyAnimIsDone = false;
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1021 MovieClip Frame 6
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1021 MovieClip Frame 10
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1021 MovieClip Frame 15
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1021 MovieClip Frame 32
_parent.gotoAndPlay("Arrivee");
Symbol 1032 MovieClip Frame 1
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1032 MovieClip Frame 6
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1032 MovieClip Frame 10
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1032 MovieClip Frame 15
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1032 MovieClip Frame 21
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1032 MovieClip Frame 26
if (_root.activeCharacter != "Mickey") {
glow._visible = false;
}
Symbol 1032 MovieClip Frame 30
if (_root.thingToStart == "Movie") {
_global.control.movieStart();
} else if (_root.thingToStart == "Dance") {
_global.control.danceIsStarting();
}
_root.mickeyAnimIsDone = true;
stop();
Symbol 1033 MovieClip Frame 1
stop();
if (_root.activeCharacter == "Mickey") {
glow._visible = true;
}
Instance of Symbol 735 MovieClip "glow" in Symbol 1033 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 335 MovieClip in Symbol 1033 MovieClip Frame 1
on (press) {
if (_root.mickeyCanBeUsed == true) {
_global.control.currentCharacter.gotoAndStop("Mickey");
_root.activeCharacter = "Mickey";
}
}
Symbol 1033 MovieClip Frame 16
stop();
if (_root.activeCharacter == "Mickey") {
glow._visible = true;
}
Instance of Symbol 335 MovieClip in Symbol 1033 MovieClip Frame 16
on (press) {
_global.control.currentCharacter.gotoAndStop("Mickey");
_root.activeCharacter = "Mickey";
}
Symbol 1033 MovieClip Frame 30
if (_root.activeCharacter == "Mickey") {
glow._visible = true;
}
place = _root.mickeyPlaceToAppear;
if (_root.mickeyInverse == true) {
this._xscale = -_root.mickeyScale;
} else {
this._xscale = _root.mickeyScale;
}
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 1033 MovieClip Frame 45
if (_root.mickeyInverseStart == true) {
this._xscale = -_root.mickeyScale;
} else {
this._xscale = _root.mickeyScale;
}
_root.mickeyInverseStart = false;
stop();
Symbol 1033 MovieClip Frame 60
stop();
if (_root.activeCharacter == "Mickey") {
glow._visible = true;
}
Symbol 1077 MovieClip Frame 1
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 13
_root.daisyAction = "selectTable";
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 18
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 23
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 28
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 33
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 38
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 42
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 46
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 51
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 57
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 64
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 72
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 78
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 85
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 93
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1077 MovieClip Frame 102
_root.daisyAction = "selectTable";
stop();
Instance of Symbol 735 MovieClip "glow" in Symbol 1077 MovieClip Frame 102
onClipEvent (load) {
trace("_root.activeCharacter = " + _root.activeCharacter);
if (_root.activeCharacter != "Daisy") {
this._visible = false;
}
}
Symbol 1079 MovieClip Frame 5
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1079 MovieClip Frame 10
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1079 MovieClip Frame 16
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1079 MovieClip Frame 21
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1079 MovieClip Frame 27
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1079 MovieClip Frame 33
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
Symbol 1079 MovieClip Frame 41
if (_root.activeCharacter != "Daisy") {
glow._visible = false;
}
_parent.gotoAndPlay("Idle");
Instance of Symbol 735 MovieClip "glow" in Symbol 1079 MovieClip Frame 41
onClipEvent (load) {
if (_root.activeCharacter != "Daisy") {
this._visible = false;
}
}
Symbol 1080 MovieClip Frame 1
stop();
if (_root.activeCharacter == "Daisy") {
glow._visible = true;
}
Instance of Symbol 735 MovieClip "glow" in Symbol 1080 MovieClip Frame 1
onClipEvent (load) {
if (_root.activeCharacter != "Daisy") {
this._visible = false;
}
}
Instance of Symbol 335 MovieClip "Daisy" in Symbol 1080 MovieClip Frame 1
on (press) {
_global.control.currentCharacter.gotoAndStop(this._name);
_root.activeCharacter = this._name;
_global.control.mickey.glow._visible = false;
_global.control.daisy.glow._visible = true;
_global.control.goofy.glow._visible = false;
_global.control.pluto.glow._visible = false;
_global.control.donald.glow._visible = false;
if (_root.customerAreThere == true) {
_global.control.greetCustomers();
}
}
Symbol 1080 MovieClip Frame 11
stop();
Instance of Symbol 335 MovieClip "Daisy" in Symbol 1080 MovieClip Frame 11
on (press) {
_global.control.currentCharacter.gotoAndStop(this._name);
_root.activeCharacter = this._name;
_global.control.mickey.glow._visible = false;
_global.control.goofy.glow._visible = false;
_global.control.pluto.glow._visible = false;
_global.control.donald.glow._visible = false;
}
Symbol 1080 MovieClip Frame 21
stop();
Symbol 1091 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1110 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1111 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1127 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1127 MovieClip Frame 34
if (_root.donaldAction == "repairPipes") {
_global.control.repairPipes();
} else if (_root.donaldAction == "repairPower") {
_global.control.repairPower();
}
Symbol 1127 MovieClip Frame 45
_global.control.donaldReturnToPlace();
stop();
Symbol 1153 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1153 MovieClip Frame 30
if (_root.donaldAction == "removeBanana") {
_global.control.removeBanana();
} else {
_global.control.removeCockroaches();
}
Symbol 1153 MovieClip Frame 77
_global.control.donaldReturnToPlace();
stop();
Symbol 1168 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1168 MovieClip Frame 21
_global.control.putBackPlates();
Symbol 1168 MovieClip Frame 39
_global.control.donaldReturnToPlace();
stop();
Symbol 1174 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1174 MovieClip Frame 34
_parent.gotoAndPlay(_root.donaldAnimToPlay);
Symbol 1185 MovieClip Frame 1
if (_root.activeCharacter != "Donald") {
glow._visible = false;
}
if (pf == undefined) {
APE(this, 2);
}
Symbol 1185 MovieClip Frame 6
if (_root.activeCharacter != "Donald") {
glow._visible = false;
}
Symbol 1185 MovieClip Frame 11
if (_root.activeCharacter != "Donald") {
glow._visible = false;
}
Symbol 1185 MovieClip Frame 16
if (_root.activeCharacter != "Donald") {
glow._visible = false;
}
Symbol 1185 MovieClip Frame 32
_parent.gotoAndPlay("Arrivee");
Symbol 1186 MovieClip Frame 1
stop();
if (_root.activeCharacter == "Donald") {
glow._visible = true;
}
Instance of Symbol 735 MovieClip "glow" in Symbol 1186 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 335 MovieClip in Symbol 1186 MovieClip Frame 1
on (press) {
_global.control.currentCharacter.gotoAndStop("Donald");
_root.activeCharacter = "Donald";
}
Symbol 1186 MovieClip Frame 16
stop();
if (_root.activeCharacter == "Donald") {
glow._visible = true;
}
Symbol 1186 MovieClip Frame 31
stop();
if (_root.activeCharacter == "Donald") {
glow._visible = true;
}
Symbol 1186 MovieClip Frame 46
stop();
if (_root.activeCharacter == "Donald") {
glow._visible = true;
}
Symbol 1186 MovieClip Frame 60
if (_root.activeCharacter == "Donald") {
glow._visible = true;
}
place = _root.donaldPlaceToAppear;
if (_root.donaldInverse == true) {
this._xscale = -_root.donaldScale;
} else {
this._xscale = _root.donaldScale;
}
if (_root.donaldPlaceToAppear == "donaldRepairPower") {
this._x = _root.main.stage[place]._x;
this._y = _root.main.stage[place]._y;
} else {
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
}
stop();
Symbol 1186 MovieClip Frame 75
if (_root.donaldInverseStart == true) {
this._xscale = -_root.donaldScale;
} else {
this._xscale = _root.donaldScale;
}
_root.donaldInverseStart = false;
stop();
Symbol 1239 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1239 MovieClip Frame 15
_root.goofyAnimIsDone = true;
_global.control.askToHorace();
_parent.gotoAndPlay("Idle");
Symbol 1247 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1247 MovieClip Frame 15
_parent.gotoAndPlay("ServiceTable");
Symbol 1272 MovieClip Frame 21
_global.control.deliveringMeal(_root.servingCustomer);
Symbol 1272 MovieClip Frame 25
_root.goofyAnimIsDone = true;
stop();
Symbol 1275 MovieClip Frame 1
stop();
Symbol 1275 MovieClip Frame 2
stop();
Symbol 1275 MovieClip Frame 3
stop();
Symbol 1275 MovieClip Frame 4
stop();
Symbol 1275 MovieClip Frame 5
stop();
Symbol 1275 MovieClip Frame 6
stop();
Symbol 1275 MovieClip Frame 7
stop();
Symbol 1275 MovieClip Frame 8
stop();
Symbol 1277 MovieClip Frame 3
noDrink = _root.goofyNumberDrink + 1;
Goofy.plate.gotoAndStop(noDrink);
Symbol 1277 MovieClip Frame 15
_parent.gotoAndPlay("ServiceBoisson");
Symbol 1278 MovieClip Frame 1
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 2
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 4
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 6
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 12
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
plate.prevFrame();
Symbol 1278 MovieClip Frame 14
noDrink = _root.goofyNumberDrink;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 16
noDrink = _root.goofyNumberDrink;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 21
_global.control.deliveringDrink(_root.servingCustomer);
Symbol 1278 MovieClip Frame 22
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 23
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1278 MovieClip Frame 25
_root.goofyAnimIsDone = true;
stop();
Symbol 1288 MovieClip Frame 15
_parent.gotoAndPlay("PrendreCommande");
Symbol 1290 MovieClip Frame 1
_root.goofyAnimIsDone = true;
Symbol 1290 MovieClip Frame 85
stop();
Symbol 1291 MovieClip Frame 35
_root.goofyAnimIsDone = true;
stop();
Symbol 1312 MovieClip Frame 6
_global.control.banana._visible = false;
Symbol 1312 MovieClip Frame 25
_root.goofyIsDown = true;
stop();
Symbol 1312 MovieClip Frame 42
_root.mealNumber = _root.mealNumber + _root.goofyNumberMeal;
_root.goofyNumberMeal = 0;
_root.bananaIsThere = false;
_root.goofyAnimIsDone = true;
_parent.gotoAndPlay("Idle");
stop();
Symbol 1313 MovieClip Frame 1
_root.goofyAnimIsDone = true;
noDrink = _root.goofyNumberDrink + 1;
plate.gotoAndStop(noDrink);
Symbol 1314 MovieClip Frame 4
_root.main.kitchenMeter.gotoAndPlay("start");
Symbol 1314 MovieClip Frame 35
_root.goofyAnimIsDone = true;
stop();
Symbol 1323 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
if (_root.activeCharacter != "Goofy") {
glow._visible = false;
}
_root.goofyAnimIsDone = false;
Symbol 1323 MovieClip Frame 6
if (_root.activeCharacter != "Goofy") {
glow._visible = false;
}
Symbol 1323 MovieClip Frame 10
if (_root.activeCharacter != "Goofy") {
glow._visible = false;
}
Symbol 1323 MovieClip Frame 15
if (_root.activeCharacter != "Goofy") {
glow._visible = false;
}
Symbol 1323 MovieClip Frame 28
if (_root.goofyAnimToPlay == "EntrerCuisine") {
_global.control.porte.gotoAndPlay("open");
}
_parent.gotoAndPlay(_root.goofyAnimToPlay);
Symbol 1324 MovieClip Frame 1
stop();
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
Instance of Symbol 735 MovieClip "glow" in Symbol 1324 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 335 MovieClip in Symbol 1324 MovieClip Frame 1
on (press) {
if (((_root.activeCharacter == "Goofy") and (_root.tempDrinkNumber >= 1)) and (_root.nearTheBar == true)) {
_global.control.takePlateau();
}
_global.control.currentCharacter.gotoAndStop("Goofy");
_root.activeCharacter = "Goofy";
}
Symbol 1324 MovieClip Frame 14
place = _root.goofyPlaceToAppear;
if (_root.goofyInverse == true) {
this._xscale = -_root.goofyScale;
} else {
this._xscale = _root.goofyScale;
}
_root.goofyInverse = false;
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 1324 MovieClip Frame 29
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
place = _root.goofyPlaceToAppear;
if (_root.goofyInverse == true) {
this._xscale = -_root.goofyScale;
} else {
this._xscale = _root.goofyScale;
}
_root.goofyInverse = false;
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 1324 MovieClip Frame 44
stop();
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
Instance of Symbol 335 MovieClip in Symbol 1324 MovieClip Frame 44
on (press) {
_global.control.currentCharacter.gotoAndStop("Goofy");
_root.activeCharacter = "Goofy";
}
Symbol 1324 MovieClip Frame 59
_global.control.goofy.swapDepths(400);
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
place = _root.goofyPlaceToAppear;
if (_root.goofyInverse == true) {
this._xscale = -_root.goofyScale;
} else {
this._xscale = _root.goofyScale;
}
_root.goofyInverse = false;
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 1324 MovieClip Frame 74
stop();
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
Instance of Symbol 335 MovieClip in Symbol 1324 MovieClip Frame 74
on (press) {
_global.control.currentCharacter.gotoAndStop("Goofy");
_root.activeCharacter = "Goofy";
}
Symbol 1324 MovieClip Frame 89
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
place = _root.goofyPlaceToAppear;
if (_root.goofyInverse == true) {
this._xscale = -_root.goofyScale;
} else {
this._xscale = _root.goofyScale;
}
_root.goofyInverse = false;
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 1324 MovieClip Frame 104
stop();
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
Instance of Symbol 335 MovieClip in Symbol 1324 MovieClip Frame 104
on (press) {
_global.control.currentCharacter.gotoAndStop("Goofy");
_root.activeCharacter = "Goofy";
}
Symbol 1324 MovieClip Frame 119
_root.main.kitchenMeter.gotoAndStop("stop");
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
stop();
Symbol 1324 MovieClip Frame 134
_root.main.kitchenMeter.gotoAndStop("stop");
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
stop();
Instance of Symbol 335 MovieClip in Symbol 1324 MovieClip Frame 134
on (press) {
_global.control.currentCharacter.gotoAndStop("Goofy");
_root.activeCharacter = "Goofy";
if (_root.goofyIsDown == true) {
_parent.goofy.gotoAndPlay("getUp");
_root.goofyIsDown = false;
}
}
Symbol 1324 MovieClip Frame 149
stop();
if (_root.activeCharacter == "Goofy") {
glow._visible = true;
}
Instance of Symbol 335 MovieClip in Symbol 1324 MovieClip Frame 149
on (press) {
_global.control.currentCharacter.gotoAndStop("Goofy");
_root.activeCharacter = "Goofy";
}
Symbol 1324 MovieClip Frame 164
place = _root.goofyPlaceToAppear;
this._xscale = _root.goofyScale;
this._x = _root.main[place]._x;
this._y = _root.main[place]._y;
stop();
Symbol 1324 MovieClip Frame 179
if (_root.goofyInverseStart == true) {
this._xscale = -_root.goofyScale;
} else {
this._xscale = _root.goofyScale;
}
_root.goofyInverseStart = false;
stop();
Symbol 1331 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
stop();
Symbol 1331 MovieClip Frame 74
_global.control.prepareADrink();
Symbol 1360 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1364 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1364 MovieClip Frame 46
typeDrink = Math.ceil(Math.random() * 2);
if (typeDrink == 1) {
_parent.gotoAndPlay("Drink1");
} else {
_parent.gotoAndPlay("Drink2");
}
stop();
Symbol 1401 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
_root.main.barMeter.gotoAndPlay("start");
Symbol 1401 MovieClip Frame 60
_parent.gotoAndPlay("Served");
Symbol 1404 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1404 MovieClip Frame 14
Symbol 1419 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1421 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
_root.main.barMeter.gotoAndPlay("start");
Symbol 1421 MovieClip Frame 60
_parent.gotoAndPlay("Served");
Symbol 1422 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
Symbol 1422 MovieClip Frame 11
_parent.gotoAndPlay("Idle");
Symbol 1423 MovieClip Frame 1
stop();
Instance of Symbol 1362 MovieClip "bar" in Symbol 1423 MovieClip Frame 1
on (press) {
if (((((_root.activeCharacter == "Goofy") and (_root.goofyAction == "prepare")) and (_root.drinkNumber > 0)) and (_root.goofyNumberMeal == 0)) and (_root.goofyIsWaiting == false)) {
_global.control.prepareDrink();
}
}
Symbol 1423 MovieClip Frame 16
stop();
Symbol 1423 MovieClip Frame 31
stop();
Symbol 1423 MovieClip Frame 46
stop();
Symbol 1423 MovieClip Frame 61
stop();
Symbol 1423 MovieClip Frame 76
stop();
Symbol 1424 MovieClip Frame 1
stop();
Symbol 1424 MovieClip Frame 2
stop();
Symbol 1424 MovieClip Frame 3
stop();
Symbol 1424 MovieClip Frame 4
stop();
Symbol 1424 MovieClip Frame 5
stop();
Symbol 1424 MovieClip Frame 6
stop();
Symbol 1424 MovieClip Frame 7
stop();
Symbol 1424 MovieClip Frame 8
stop();
Symbol 1433 Button
on (press) {
_global.control.instruction.gotoAndPlay("Menu");
_global.control.pauseGame();
}
Symbol 1437 Button
on (release) {
_root.musicIsPlaying = false;
if (_root.Track1IsPlaying == true) {
_root.musicTrack1.setVolume(0);
}
if (_root.Track2IsPlaying == true) {
_root.musicTrack2.setVolume(0);
}
if (_root.Track3IsPlaying == true) {
_root.musicTrack3.setVolume(0);
}
if (_root.Track4IsPlaying == true) {
_root.musicTrack4.setVolume(0);
}
this.gotoAndPlay(2);
}
Symbol 1440 Button
on (release) {
_root.musicIsPlaying = true;
if (_root.movieIsStart == false) {
if (_root.Track1IsPlaying == true) {
_root.musicTrack1.setVolume(100);
}
if (_root.Track2IsPlaying == true) {
_root.musicTrack2.setVolume(100);
}
if (_root.Track3IsPlaying == true) {
_root.musicTrack3.setVolume(100);
}
if (_root.Track4IsPlaying == true) {
_root.musicTrack4.setVolume(100);
}
}
this.gotoAndPlay(1);
}
Symbol 1441 MovieClip Frame 1
stop();
Symbol 1441 MovieClip Frame 2
stop();
Symbol 1449 Button
on (press) {
_parent.gotoAndStop("vide");
this._visible = false;
_root.firstCustomerIsServed = true;
_root.firstPersonServed = true;
_root.peteFirstTime = false;
_root.mickeyCanBeUsed = true;
_root.tutorialIsDone = true;
_global.control.callPete();
}
Symbol 1452 Button
on (press) {
_parent.gotoAndStop("vide");
this._visible = false;
_root.firstCustomerIsServed = true;
_root.firstPersonServed = true;
_root.peteFirstTime = false;
_root.mickeyCanBeUsed = true;
_root.tutorialIsDone = true;
_global.control.callPete();
_root.creerPerso = setInterval(_global.control.openDoor, 3000);
}
Symbol 1469 MovieClip Frame 1
stop();
Symbol 1469 MovieClip Frame 2
stop();
Instance of Symbol 1444 MovieClip in Symbol 1469 MovieClip Frame 2
onClipEvent (load) {
this.onRollOver = function () {
this.useHandCursor = false;
};
}
Symbol 1469 MovieClip Frame 3
stop();
Symbol 1469 MovieClip Frame 4
stop();
Symbol 1469 MovieClip Frame 5
stop();
Symbol 1469 MovieClip Frame 6
stop();
Symbol 1469 MovieClip Frame 7
stop();
Symbol 1469 MovieClip Frame 8
stop();
Symbol 1469 MovieClip Frame 9
stop();
Symbol 1469 MovieClip Frame 300
_root.timeBeforePete = 3;
_root.timeRandomPete = 5;
_global.control.callPete();
Symbol 1469 MovieClip Frame 599
_global.control.goDropBanana();
_root.firstCustomerIsServed = true;
_root.firstPersonServed = true;
_root.peteFirstTime = false;
_root.mickeyCanBeUsed = true;
_root.tutorialIsDone = true;
_root.timeBeforePete = 30;
_root.timeRandomPete = 30;
Instance of Symbol 1446 MovieClip in Symbol 1469 MovieClip Frame 600
on (release) {
_global.control.openDoor();
_parent.gotoAndStop("vide");
_parent._visible = false;
}
Symbol 1469 MovieClip Frame 745
_global.control.openDoor();
gotoAndStop ("vide");
this._visible = false;
Symbol 1469 MovieClip Frame 894
gotoAndStop ("vide");
this._visible = false;
Symbol 1469 MovieClip Frame 1043
gotoAndStop ("vide");
this._visible = false;
Symbol 1469 MovieClip Frame 1189
gotoAndStop ("vide");
this._visible = false;
Symbol 1469 MovieClip Frame 1333
gotoAndStop ("vide");
this._visible = false;
Symbol 1469 MovieClip Frame 1483
gotoAndStop ("vide");
this._visible = false;
Symbol 1473 MovieClip Frame 70
_parent.gotoAndStop(1);
Symbol 1474 MovieClip Frame 1
stop();
Symbol 1474 MovieClip Frame 2
stop();
Symbol 1476 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
stop();
Symbol 1476 MovieClip Frame 3600
trace("Vous avez gagn\u00E9");
_global.control.winTheGame();
Symbol 1478 MovieClip Frame 1
if (pf == undefined) {
APE(this, 2);
}
stop();
Symbol 1478 MovieClip Frame 1800
trace("Vous avez perdu");
_global.control.gameIsOver();
Symbol 1495 MovieClip Frame 1
_global.control.mickey.glow._visible = true;
_global.control.daisy.glow._visible = false;
_global.control.goofy.glow._visible = false;
_global.control.pluto.glow._visible = false;
_global.control.donald.glow._visible = false;
stop();
Symbol 1495 MovieClip Frame 2
_global.control.mickey.glow._visible = false;
_global.control.daisy.glow._visible = false;
_global.control.goofy.glow._visible = true;
_global.control.pluto.glow._visible = false;
_global.control.donald.glow._visible = false;
stop();
Symbol 1495 MovieClip Frame 3
stop();
Symbol 1495 MovieClip Frame 4
_global.control.mickey.glow._visible = false;
_global.control.daisy.glow._visible = false;
_global.control.goofy.glow._visible = false;
_global.control.pluto.glow._visible = false;
_global.control.donald.glow._visible = true;
stop();
Symbol 1495 MovieClip Frame 5
_global.control.mickey.glow._visible = false;
_global.control.daisy.glow._visible = false;
_global.control.goofy.glow._visible = false;
_global.control.pluto.glow._visible = true;
_global.control.donald.glow._visible = false;
stop();
Symbol 1495 MovieClip Frame 6
stop();
Symbol 1495 MovieClip Frame 7
stop();
Symbol 1502 MovieClip Frame 1
stop();
Symbol 1502 MovieClip Frame 2
stop();
Symbol 1502 MovieClip Frame 3
stop();
Symbol 1502 MovieClip Frame 4
stop();
Symbol 1502 MovieClip Frame 5
stop();
Symbol 1503 MovieClip Frame 1
stop();
Symbol 1503 MovieClip Frame 2
play();
Symbol 1503 MovieClip Frame 9
stop();
Symbol 1510 MovieClip Frame 9
stop();
Symbol 1511 MovieClip Frame 10
stop();
Symbol 1511 MovieClip Frame 21
stop();
Symbol 1512 MovieClip Frame 1
stop();
Symbol 1512 MovieClip Frame 11
stop();
Symbol 1512 MovieClip Frame 21
stop();
Symbol 1512 MovieClip Frame 31
stop();
Symbol 1512 MovieClip Frame 41
stop();
Symbol 1517 MovieClip Frame 1
stop();
Symbol 1517 MovieClip Frame 2
stop();
Symbol 1521 MovieClip Frame 1
stop();
Symbol 1521 MovieClip Frame 2
stop();
Symbol 1525 MovieClip Frame 1
stop();
Symbol 1525 MovieClip Frame 2
stop();
Symbol 1529 MovieClip Frame 1
stop();
Symbol 1529 MovieClip Frame 2
stop();
Symbol 1533 MovieClip Frame 1
stop();
Symbol 1533 MovieClip Frame 2
stop();
Symbol 1559 MovieClip Frame 1
_root.meterLevel = "Poor";
_root.previousMeterLevel = "Poor";
stop();
Symbol 1559 MovieClip Frame 2
_root.meterLevel = "Poor";
_root.previousMeterLevel = "Poor";
stop();
Symbol 1559 MovieClip Frame 3
_root.meterLevel = "Poor";
_root.previousMeterLevel = "Poor";
stop();
Symbol 1559 MovieClip Frame 4
_root.meterLevel = "Poor";
_root.previousMeterLevel = "Poor";
stop();
Symbol 1559 MovieClip Frame 5
_root.meterLevel = "Poor";
if (_root.previousMeterLevel == "Average") {
_global.control.downToPoor();
}
_root.previousMeterLevel = "Poor";
stop();
Symbol 1559 MovieClip Frame 6
_root.meterLevel = "Average";
if (_root.previousMeterLevel == "Poor") {
_global.control.upToAverage();
}
_root.previousMeterLevel = "Average";
stop();
Symbol 1559 MovieClip Frame 7
_root.meterLevel = "Average";
_root.previousMeterLevel = "Average";
stop();
Symbol 1559 MovieClip Frame 8
_root.meterLevel = "Average";
_root.previousMeterLevel = "Average";
stop();
Symbol 1559 MovieClip Frame 9
_root.meterLevel = "Average";
_root.previousMeterLevel = "Average";
stop();
Symbol 1559 MovieClip Frame 10
_root.meterLevel = "Average";
if (_root.previousMeterLevel == "Good") {
_global.control.downToAverage();
}
_root.previousMeterLevel = "Average";
stop();
Symbol 1559 MovieClip Frame 11
_root.meterLevel = "Good";
if (_root.previousMeterLevel == "Average") {
_global.control.upToGood();
}
_root.previousMeterLevel = "Good";
stop();
Symbol 1559 MovieClip Frame 12
_root.meterLevel = "Good";
_root.previousMeterLevel = "Good";
stop();
Symbol 1559 MovieClip Frame 13
_root.meterLevel = "Good";
_root.previousMeterLevel = "Good";
stop();
Symbol 1559 MovieClip Frame 14
_root.meterLevel = "Good";
_root.previousMeterLevel = "Good";
stop();
Symbol 1559 MovieClip Frame 15
_root.meterLevel = "Good";
if (_root.previousMeterLevel == "VeryGood") {
_global.control.downToGood();
}
_root.previousMeterLevel = "Good";
stop();
Symbol 1559 MovieClip Frame 16
_root.meterLevel = "VeryGood";
if (_root.previousMeterLevel == "Good") {
_global.control.upToVeryGood();
}
_root.previousMeterLevel = "VeryGood";
stop();
Symbol 1559 MovieClip Frame 17
_root.meterLevel = "VeryGood";
_root.previousMeterLevel = "VeryGood";
stop();
Symbol 1559 MovieClip Frame 18
_root.meterLevel = "VeryGood";
_root.previousMeterLevel = "VeryGood";
stop();
Symbol 1559 MovieClip Frame 19
_root.meterLevel = "VeryGood";
_root.previousMeterLevel = "VeryGood";
stop();
Symbol 1559 MovieClip Frame 20
_root.meterLevel = "VeryGood";
if (_root.previousMeterLevel == "Excellent") {
_global.control.downToVeryGood();
}
_root.previousMeterLevel = "VeryGood";
stop();
Symbol 1559 MovieClip Frame 21
_root.meterLevel = "Excellent";
if (_root.previousMeterLevel == "VeryGood") {
_global.control.upToExcellent();
}
_root.previousMeterLevel = "Excellent";
stop();
Symbol 1559 MovieClip Frame 22
_root.meterLevel = "Excellent";
_root.previousMeterLevel = "Excellent";
stop();
Symbol 1559 MovieClip Frame 23
_root.meterLevel = "Excellent";
_root.previousMeterLevel = "Excellent";
stop();
Symbol 1559 MovieClip Frame 24
_root.meterLevel = "Excellent";
_root.previousMeterLevel = "Excellent";
stop();
Symbol 1559 MovieClip Frame 25
_root.meterLevel = "Excellent";
_root.previousMeterLevel = "Excellent";
stop();
Symbol 1559 MovieClip Frame 26
_root.meterLevel = "Excellent";
_root.previousMeterLevel = "Excellent";
stop();
Symbol 1570 Button
on (release) {
_global.control.unPauseGame();
gotoAndPlay ("Off");
}
Symbol 1572 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 1574 Button
on (release) {
gotoAndPlay ("Quit");
}
Symbol 1579 Button
on (release) {
_global.control.unPauseGame();
_global.control.makeItHard();
this.gotoAndPlay("Off");
}
Symbol 1584 Button
on (release) {
gotoAndPlay ("Quit");
}
Symbol 1603 Button
on (release) {
_global.control.creerSO();
this.gotoAndPlay("scoreDoge");
}
Symbol 1607 Button
on (release) {
if (_root.musicIsPlaying == true) {
_root.musicTrack1.setVolume(100);
_root.musicTrack2.setVolume(100);
_root.musicTrack3.setVolume(0);
_root.musicTrack4.setVolume(0);
}
_root.Track1IsPlaying = true;
_root.Track2IsPlaying = true;
this.gotoAndPlay("Off");
_root.gotoAndPlay("Finish");
}
Symbol 1612 Button
on (release) {
gotoAndPlay ("Off");
}
Symbol 1621 MovieClip Frame 1
stop();
Symbol 1621 MovieClip Frame 2
stop();
Symbol 1621 MovieClip Frame 3
stop();
Symbol 1621 MovieClip Frame 4
stop();
Symbol 1623 MovieClip Frame 1
stop();
Symbol 1623 MovieClip Frame 2
stop();
Symbol 1623 MovieClip Frame 3
stop();
Symbol 1623 MovieClip Frame 4
stop();
Symbol 1626 MovieClip Frame 1
stop();
Symbol 1626 MovieClip Frame 2
stop();
Symbol 1626 MovieClip Frame 3
stop();
Symbol 1626 MovieClip Frame 4
stop();
Symbol 1633 Button
on (release) {
loadMovie (_root.levelSelector, _root);
}
Symbol 1636 Button
on (release) {
gotoAndPlay ("Menu");
}
Symbol 1639 MovieClip Frame 1
stop();
Symbol 1639 MovieClip Frame 2
stop();
Instance of Symbol 1444 MovieClip in Symbol 1639 MovieClip Frame 2
onClipEvent (load) {
this.onRollOver = function () {
this.useHandCursor = false;
};
}
Symbol 1639 MovieClip Frame 3
stop();
Symbol 1639 MovieClip Frame 4
stop();
Symbol 1639 MovieClip Frame 5
stop();
Symbol 1639 MovieClip Frame 6
stop();
Instance of Symbol 1621 MovieClip "btnClip1" in Symbol 1639 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop (1);
this.hitArea = _parent.hitBtn1;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_root.movieToPlay = 1;
_global.control.playMovie();
_parent.gotoAndStop("Off");
}
on (release) {
gotoAndStop (1);
}
on (releaseOutside) {
gotoAndStop (1);
}
Instance of Symbol 1623 MovieClip "btnClip2" in Symbol 1639 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop (1);
this.hitArea = _parent.hitBtn2;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_root.movieToPlay = 2;
_global.control.playMovie();
_parent.gotoAndStop("Off");
}
on (release) {
gotoAndStop (1);
}
on (releaseOutside) {
gotoAndStop (1);
}
Instance of Symbol 1626 MovieClip "btnClip3" in Symbol 1639 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop (1);
this.hitArea = _parent.hitBtn3;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_root.movieToPlay = 3;
_global.control.playMovie();
_parent.gotoAndStop("Off");
}
on (release) {
gotoAndStop (1);
}
on (releaseOutside) {
gotoAndStop (1);
}
Symbol 1639 MovieClip Frame 7
stop();
Symbol 1639 MovieClip Frame 8
Mouse.show();
stop();
Symbol 1639 MovieClip Frame 9
_root.playerScore = _root.score;
theDoge.loadMovie("http://psc.disney.go.com/abcnetworks/toondisney/global/game/scoredisplays/fsd.swf", 1);
stop();
Instance of Symbol 337 MovieClip "cockRight" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
on (press) {
if ((_root.activeCharacter == "Donald") and (_root.donaldAnimIsDone == true)) {
_global.control.goRemoveCockroaches(this._name);
}
}
Instance of Symbol 336 MovieClip "cockLeft" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
on (press) {
if ((_root.activeCharacter == "Donald") and (_root.donaldAnimIsDone == true)) {
_global.control.goRemoveCockroaches(this._name);
}
}
Instance of Symbol 389 MovieClip "tuyau" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 660 MovieClip "listCharacterEnter" in Symbol 1640 MovieClip Frame 1
on (press) {
_global.control.whatCustomerWants(this._name);
}
on (rollOver) {
_global.control.showTheStatus(this._name);
}
on (releaseOutside, rollOut, dragOut) {
_global.control.hideTheStatus(this._name);
}
Instance of Symbol 732 MovieClip "Pete" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
on (press) {
if ((_root.peteCanBeCatch == true) and (_root.activeCharacter == "Pluto")) {
_global.control.plutoGoStopPete();
}
}
Instance of Symbol 335 MovieClip "plutoInvisibleZone" in Symbol 1640 MovieClip Frame 1
on (press) {
_global.control.currentCharacter.gotoAndStop("Pluto");
_root.activeCharacter = "Pluto";
}
Instance of Symbol 820 MovieClip "Pluto" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
trace(this.getDepth());
}
on (press) {
_global.control.currentCharacter.gotoAndStop(this._name);
_root.activeCharacter = this._name;
}
Instance of Symbol 830 MovieClip "petePowerBreak" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 836 MovieClip "scoreToAddExcellent" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 836 MovieClip "scoreToAddVeryGood" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 836 MovieClip "scoreToAddGood" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 836 MovieClip "scoreToAddAverage" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 836 MovieClip "scoreToAddPoor" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 836 MovieClip "scoreToAddPerso4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1106);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1105);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1104);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1103);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1108);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1107);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1110);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1109);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso12" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1114);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso11" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1113);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso16" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1118);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso15" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1117);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso14" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1116);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso13" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1115);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso10" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1112);
}
Instance of Symbol 836 MovieClip "scoreToAddPerso9" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1111);
}
Instance of Symbol 836 MovieClip "scoreToAddEnter2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1102);
}
Instance of Symbol 836 MovieClip "scoreToAddEnter1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1101);
}
Instance of Symbol 836 MovieClip "scoreToAddMeal" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1120);
}
Instance of Symbol 836 MovieClip "scoreToAddDrink" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1121);
}
Instance of Symbol 836 MovieClip "scoreToAddPlutoLeft" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1130);
}
Instance of Symbol 836 MovieClip "scoreToAddPlutoUp" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1131);
}
Instance of Symbol 836 MovieClip "scoreToAddPlutoRight" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1132);
}
Instance of Symbol 836 MovieClip "scoreToAddDonaldBanana" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1140);
}
Instance of Symbol 836 MovieClip "scoreToAddDonaldCockLeft" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1141);
}
Instance of Symbol 836 MovieClip "scoreToAddDonaldCockRight" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1142);
}
Instance of Symbol 836 MovieClip "scoreToAddDonaldPipe" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1147);
}
Instance of Symbol 836 MovieClip "scoreToAddDonaldPower" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(1143);
}
Instance of Symbol 838 MovieClip "video3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 840 MovieClip "video2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 842 MovieClip "video1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 886 MovieClip "menu1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(821);
}
Instance of Symbol 886 MovieClip "menu2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(822);
}
Instance of Symbol 886 MovieClip "menu3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(823);
}
Instance of Symbol 886 MovieClip "menu4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(824);
}
Instance of Symbol 886 MovieClip "menu5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(825);
}
Instance of Symbol 886 MovieClip "menu6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(826);
}
Instance of Symbol 886 MovieClip "menu7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(827);
}
Instance of Symbol 886 MovieClip "menu8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(828);
}
Instance of Symbol 886 MovieClip "menu9" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(829);
}
Instance of Symbol 886 MovieClip "menu10" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(830);
}
Instance of Symbol 886 MovieClip "menu11" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(831);
}
Instance of Symbol 886 MovieClip "menu12" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(832);
}
Instance of Symbol 886 MovieClip "menu15" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(835);
}
Instance of Symbol 886 MovieClip "menu16" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(836);
}
Instance of Symbol 886 MovieClip "menu13" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(833);
}
Instance of Symbol 886 MovieClip "menu14" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(834);
}
Instance of Symbol 887 MovieClip "table01" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(501);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table03" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(503);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table02" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(502);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table04" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(504);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table05" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(505);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table07" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(507);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table06" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(506);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 887 MovieClip "table08" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(508);
}
on (press) {
if (_root.daisyAction == "selectTable") {
_global.control.selectTable(this._name);
}
}
Instance of Symbol 702 MovieClip "eatCus15" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(565);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus16" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(566);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus13" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(563);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus14" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(564);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus11" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(561);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus12" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(562);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus9" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(559);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus10" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(560);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(557);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(558);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(555);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(556);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(553);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(554);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(551);
this._visible = false;
}
Instance of Symbol 702 MovieClip "eatCus2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(552);
this._visible = false;
}
Instance of Symbol 961 MovieClip "Clarabelle" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
on (press) {
if (_root.mickeyAnimIsDone == true) {
_root.thingToStart = "Dance";
if (_root.clarabelleIsPlaying == false) {
_global.control.startDance();
}
_root.clarabelleIsPlaying = true;
}
}
Instance of Symbol 963 MovieClip "banana" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 975 MovieClip "tapeStart" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
this._visible = false;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
if ((_root.mickeyAnimIsDone == true) and (_root.peteWillBroke == false)) {
_root.movieIsStart = true;
gotoAndStop (3);
_root.thingToStart = "Movie";
_global.control.instruction.gotoAndStop("chooseMovie");
}
}
on (release) {
gotoAndStop (1);
}
on (releaseOutside) {
gotoAndStop (1);
}
Instance of Symbol 1033 MovieClip "Mickey" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(401);
}
Instance of Symbol 1080 MovieClip "Daisy" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(350);
}
Instance of Symbol 1188 MovieClip "doorMask" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(980);
}
on (press) {
if ((_root.goofyAction == "exitKitchen") and (_root.goofyNumberMeal >= 1)) {
_global.control.exitKitchen();
} else if (((((((_root.activeCharacter == "Goofy") and (_root.goofyAction == "prepare")) and (_root.mealNumber > 0)) and (_root.goofyNumberDrink == 0)) and (_root.nearTheBar == false)) and (_root.goofyIsWaiting == false)) and (_root.goofyAnimIsDone == true)) {
_global.control.prepareMeal();
} else if (((((_root.activeCharacter == "Goofy") and (_root.goofyAction == "prepare")) and (_root.mealNumber > 0)) and (_root.goofyNumberDrink != 0)) and (_root.nearTheBar == false)) {
_global.control.tutorial._visible = true;
_global.control.tutorial.gotoAndPlay("sameTime");
}
}
Instance of Symbol 209 MovieClip in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 209 MovieClip in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(510);
}
Instance of Symbol 1324 MovieClip "Goofy" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(400);
}
Instance of Symbol 177 MovieClip "bar" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(959);
}
on (press) {
if (((((_root.activeCharacter == "Goofy") and (_root.goofyAction == "prepare")) and (_root.drinkNumber > 0)) and (_root.goofyNumberMeal == 0)) and (_root.goofyIsWaiting == false)) {
_global.control.prepareDrink();
} else if ((_root.activeCharacter == "Goofy") and (_root.tempDrinkNumber >= 1)) {
_global.control.takePlateau();
} else if (((((_root.activeCharacter == "Goofy") and (_root.goofyAction == "prepare")) and (_root.drinkNumber > 0)) and (_root.goofyNumberMeal != 0)) and (_root.goofyIsWaiting == false)) {
_global.control.tutorial._visible = true;
_global.control.tutorial.gotoAndPlay("sameTime");
}
}
Instance of Symbol 1331 MovieClip "barMeter" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(997);
}
Instance of Symbol 1275 MovieClip "glasses" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(998);
this._visible = false;
}
on (press) {
if ((_root.activeCharacter == "Goofy") and (_root.tempDrinkNumber >= 1)) {
_global.control.takePlateau();
}
}
Instance of Symbol 1423 MovieClip "Horace" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(970);
}
Instance of Symbol 1424 MovieClip in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(611);
}
on (press) {
_global.control.takeGlasses();
}
Instance of Symbol 1426 MovieClip in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1441 MovieClip "stopSound" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
if (_root.musicIsPlaying == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 1480 MovieClip "serveCus1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus9" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus10" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus13" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus14" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus11" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus12" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus15" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "serveCus16" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "appearCar1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "appearCar2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "seeCus8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1488 MovieClip "rightPillar" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1488 MovieClip "leftPillar" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1488 MovieClip "plutoStart" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteLeft" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteRight" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldCockRight" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldCockLeft" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldSwap5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldSwap6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldSwap3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldSwap4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldSwap1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldSwap2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 830 MovieClip "peteSwap6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "nearDoor" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1480 MovieClip "nearBar" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "mickeyStart" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1482 MovieClip "mickeyMovie" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldBanana" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldStart" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 136 MovieClip "donaldRepairPipes" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus9" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus10" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus13" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus14" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus15" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus16" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus11" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus12" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1490 MovieClip "sitCus4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1488 MovieClip "plutoPower" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1492 MovieClip in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(950);
}
Instance of Symbol 1495 MovieClip "currentCharacter" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(951);
}
Instance of Symbol 1512 MovieClip "gauge1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(801);
}
Instance of Symbol 1512 MovieClip "gauge2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(802);
}
Instance of Symbol 1512 MovieClip "gauge3" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(803);
}
Instance of Symbol 1512 MovieClip "gauge4" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(804);
}
Instance of Symbol 1512 MovieClip "gauge5" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(805);
}
Instance of Symbol 1512 MovieClip "gauge6" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(806);
}
Instance of Symbol 1512 MovieClip "gauge7" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(807);
}
Instance of Symbol 1512 MovieClip "gauge8" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(808);
}
Instance of Symbol 1512 MovieClip "gauge9" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(809);
}
Instance of Symbol 1512 MovieClip "gauge10" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(810);
}
Instance of Symbol 1512 MovieClip "gauge11" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(811);
}
Instance of Symbol 1512 MovieClip "gauge12" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(812);
}
Instance of Symbol 1512 MovieClip "gauge13" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(813);
}
Instance of Symbol 1512 MovieClip "gauge14" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(814);
}
Instance of Symbol 1512 MovieClip "gauge15" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(815);
}
Instance of Symbol 1512 MovieClip "gauge16" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(816);
}
Instance of Symbol 1512 MovieClip "gaugeEnter1" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(817);
}
Instance of Symbol 1512 MovieClip "gaugeEnter2" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
this.swapDepths(818);
}
Instance of Symbol 1639 MovieClip "instruction" in Symbol 1640 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(1200);
}
Symbol 1645 MovieClip Frame 1
function getReport() {
if (frate < minForBest) {
if (frate < minForHigh) {
vQuality = "MEDIUM";
} else {
vQuality = "HIGH";
}
} else {
vQuality = "BEST";
}
nbReport++;
trace((((("Report " + nbReport) + " ; Quality has been set to : ") + vQuality) + " , fps was : ") + frate);
_parent.txtFrameRate.text = frate;
_parent.txtQuality.text = vQuality;
_parent.txtFrameRate.textColor = "0";
_parent.txtQuality.textColor = "0";
_quality = vQuality;
enableReport = false;
gotoAndStop (2);
}
fcount = 0;
offset = getTimer();
_visible = false;
minForMedium = 0;
minForHigh = 22;
minForBest = 30;
nbReport = 0;
enableReport = false;
Symbol 1645 MovieClip Frame 2
fcount = 0;
offset = getTimer();
Symbol 1645 MovieClip Frame 3
fcount++;
Symbol 1645 MovieClip Frame 4
call(3);
Symbol 1645 MovieClip Frame 5
call(3);
Symbol 1645 MovieClip Frame 6
call(3);
Symbol 1645 MovieClip Frame 7
call(3);
Symbol 1645 MovieClip Frame 8
call(3);
Symbol 1645 MovieClip Frame 9
call(3);
Symbol 1645 MovieClip Frame 10
call(3);
Symbol 1645 MovieClip Frame 11
call(3);
Symbol 1645 MovieClip Frame 12
call(3);
Symbol 1645 MovieClip Frame 13
call(3);
Symbol 1645 MovieClip Frame 14
call(3);
Symbol 1645 MovieClip Frame 15
call(3);
Symbol 1645 MovieClip Frame 16
call(3);
Symbol 1645 MovieClip Frame 17
call(3);
Symbol 1645 MovieClip Frame 18
call(3);
Symbol 1645 MovieClip Frame 19
call(3);
Symbol 1645 MovieClip Frame 20
call(3);
Symbol 1645 MovieClip Frame 21
call(3);
Symbol 1645 MovieClip Frame 22
call(3);
Symbol 1645 MovieClip Frame 23
call(3);
Symbol 1645 MovieClip Frame 24
call(3);
Symbol 1645 MovieClip Frame 25
call(3);
Symbol 1645 MovieClip Frame 26
call(3);
Symbol 1645 MovieClip Frame 27
call(3);
Symbol 1645 MovieClip Frame 28
call(3);
Symbol 1645 MovieClip Frame 29
call(3);
Symbol 1645 MovieClip Frame 30
call(3);
Symbol 1645 MovieClip Frame 31
call(3);
Symbol 1645 MovieClip Frame 32
call(3);
Symbol 1645 MovieClip Frame 33
call(3);
Symbol 1645 MovieClip Frame 34
call(3);
Symbol 1645 MovieClip Frame 35
call(3);
Symbol 1645 MovieClip Frame 36
call(3);
Symbol 1645 MovieClip Frame 37
call(3);
Symbol 1645 MovieClip Frame 38
call(3);
Symbol 1645 MovieClip Frame 39
call(3);
Symbol 1645 MovieClip Frame 40
call(3);
Symbol 1645 MovieClip Frame 41
call(3);
Symbol 1645 MovieClip Frame 42
call(3);
Symbol 1645 MovieClip Frame 43
call(3);
Symbol 1645 MovieClip Frame 44
call(3);
Symbol 1645 MovieClip Frame 45
call(3);
Symbol 1645 MovieClip Frame 46
call(3);
Symbol 1645 MovieClip Frame 47
call(3);
Symbol 1645 MovieClip Frame 48
call(3);
Symbol 1645 MovieClip Frame 49
call(3);
Symbol 1645 MovieClip Frame 50
call(3);
Symbol 1645 MovieClip Frame 51
call(3);
Symbol 1645 MovieClip Frame 52
call(3);
Symbol 1645 MovieClip Frame 53
call(3);
Symbol 1645 MovieClip Frame 54
call(3);
Symbol 1645 MovieClip Frame 55
call(3);
Symbol 1645 MovieClip Frame 56
call(3);
Symbol 1645 MovieClip Frame 57
call(3);
Symbol 1645 MovieClip Frame 58
call(3);
Symbol 1645 MovieClip Frame 59
call(3);
Symbol 1645 MovieClip Frame 60
call(3);
Symbol 1645 MovieClip Frame 61
call(3);
curtime = (getTimer() - offset) / 1000;
frate = Math.ceil(fcount / curtime);
_parent.pointer.play();
if (enableReport) {
getReport();
} else {
_parent.txtFrameRate.text = frate;
_parent.txtQuality.text = _quality;
_parent.txtFrameRate.textColor = "16777215";
_parent.txtQuality.textColor = "16777215";
gotoAndPlay (2);
}
Symbol 1653 MovieClip Frame 1
stop();