STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229154
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2571 · P5142

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/39501053?noj=FRM39501053-17DC" width="1" height="1"></div>

diner_chef.swf

This is the info page for
Flash #256234

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
frame 1 { function mySiteLink() { getURL('http://www.girlgamesclub.com/', '_blank'); } function mySiteLink2() { getURL('http://www.wangweigong.com/Contact-me/contact-me.php', '_blank'); } stop(); _global.music = 1; var rightClick = new ContextMenu(); rightClick.hideBuiltInItems(); _root.menu = rightClick; var mySiteLink = new ContextMenuItem('Girlgamesclub.com', mySiteLink); rightClick.customItems.push(mySiteLink); var mySiteLink2 = new ContextMenuItem('E-Mail: me@wangweigong.com', mySiteLink2); rightClick.customItems.push(mySiteLink2); fscommand('fullscreen', 'true'); fscommand('allowscale', 'true'); fscommand('showmenu', 'false'); } button 3 { on (release) { getURL('http://www.girlgamesclub.com', '_blank'); } } movieClip 12 { } movieClip 14 { } movieClip 16 { } movieClip 19 { } movieClip 22 { } movieClip 24 { } movieClip 26 { } movieClip 28 { } movieClip 33 { } movieClip 35 { } movieClip 41 { } movieClip 43 { } movieClip 48 { } movieClip 49 { } movieClip 50 { } movieClip 51 { } // unknown tag 88 length 59 movieClip 60 { } movieClip 61 { frame 1 { stepp = 0; step2 = 0; } instance loaderbar of movieClip 60 { onClipEvent (enterFrame) { _parent.loaderbar.gotoAndStop(_parent.stepp); if (_parent.step2 < 30 && _parent.stepp > 90) { if (_parent.step2 % 10 == 0) { _parent.stepp += 1 + random(2); } ++_parent.step2; return undefined; } if (_root.getBytesLoaded() / _root.getBytesTotal() > _parent.stepp / 100) { if (random(2) > 0 || _parent.stepp < 10) { _parent.stepp += 2 + random(2); } else { if (random(2) == 0) { ++_parent.stepp; } } } if (_parent.stepp >= 100) { _root.play(); } } } } frame 2 { stop(); onEnterFrame = function () { Mouse.hide(); startDrag(handCursor, true); }; _root.menuMusic.gotoAndStop(2); _root.gameSettings = 0; } frame 2 { if (_url.substring(0, 4) != 'file') { x = new LoadVars(); x.id = 'dinerchef'; x.ui = _url; x.sendAndLoad('http://track.g-bot.net/track.php', x, 'POST'); } } movieClip 64 { frame 1 { stop(); } frame 2 { play(); } frame 227 { gotoAndStop(2); } } movieClip 67 { frame 1 { stop(); } frame 2 { play(); } frame 20 { gotoAndStop(1); } } movieClip 70 { frame 1 { stop(); } frame 2 { play(); } frame 15 { gotoAndStop(1); } } movieClip 73 { frame 1 { stop(); } frame 2 { play(); } frame 105 { gotoAndStop(1); } } movieClip 76 { frame 1 { stop(); } frame 2 { play(); } frame 30 { gotoAndStop(1); } } movieClip 79 { frame 1 { stop(); } frame 2 { play(); } frame 10 { gotoAndStop(1); } } movieClip 82 { } movieClip 84 { } movieClip 87 { } movieClip 92 { } button 95 { on (press) { if (_root.gameSettings == 0) { gotoAndStop('descriptions'); } } } movieClip 98 { } button 101 { on (press) { if (_root.gameSettings == 0) { getURL('http://www.girlgamesclub.com/', '_blank'); } } } movieClip 104 { } button 106 { on (press) { if (_root.gameSettings == 0) { gotoAndStop('highscores'); } } } movieClip 109 { } button 111 { on (press) { if (_root.gameSettings == 0) { _root.gameSettings = 1; _root.settingsScreen.gotoAndStop(2); } } } movieClip 113 { } button 114 { on (release) { if (_root.gameSettings == 0) { getURL('http://www.wangweigong.com/', '_blank'); } } } button 116 { on (release) { if (_root.gameSettings == 0) { _root.getURL('http://www.girlgamesclub.com/', '_blank'); } } } button 120 { on (release) { if (_root.gameSettings == 0) { _root.getURL('http://www.girlgamesclub.com/exclusive_games.html', '_blank'); } } } button 126 { on (release) { if (music == 0) { s = new Sound(); s.setVolume(100); ++i; _global.music = 1; } } } button 129 { on (release) { if (music == 1) { s = new Sound(); s.setVolume(0); ++i; _global.music = 0; } } } button 132 { on (release) { _quality = 'LOW'; } } button 135 { on (release) { _quality = 'MEDIUM'; } } button 138 { on (release) { _quality = 'HIGH'; } } movieClip 140 { } button 141 { on (press) { _root.settingsScreen.gotoAndStop(1); } } button 142 { on (press) { _parent.gotoAndStop('descriptions'); _root.settingsScreen.gotoAndStop(1); } } button 145 { on (press) { _root.gameSettings = 0; _root.settingsScreen.gotoAndStop(1); } } button 146 { on (release) { _root.getURL('http://www.girlgamesclub.com/', '_blank'); } } movieClip 147 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 149 { } frame 3 { stop(); onEnterFrame = function () { Mouse.hide(); startDrag(handCursor, true); }; _global.pausePlay = 0; _root.score = 0; _root.goodJobScreen.score = 0; _root.shop.score = 0; _root.gameOverScreen.score = 0; _root.restaurantClose = 0; _global.trayFill = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; _root.chefType = 1; _root.riceCookerType = 1; _root.stoveType = 1; _root.grillType = 1; _root.juicerType = 1; _root.microwaveType = 1; _root.refrigeratorOpen = 0; _root.riceCooking = 0; _root.stoveCooking = 0; _root.grillCooking = 0; _root.microwaveCooking = 0; _root.juiceMaking = 0; _root.rice = 0; _root.bakso = 0; _root.sate = 0; _root.noodle = 0; _root.frenchFries = 0; _root.shrimp = 0; _root.pizza = 0; _root.breadCircle = 0; _root.breadLong = 0; _root.ham = 0; _root.sausage = 0; _root.martabak = 0; _root.breadCircleCooked = 0; _root.breadLongCooked = 0; _root.grillHam = 0; _root.grillSausage = 0; _root.friedRice = 0; _root.baksoCooked = 0; _root.grillSate = 0; _root.noodleCooked = 0; _root.friedFrenchFries = 0; _root.friedShrimp = 0; _root.pizzaCooked = 0; _root.burger = 0; _root.hotDog = 0; _root.friedMartabak = 0; _root.juiceMelon = 0; _root.juiceTomato = 0; _root.juiceOrange = 0; } movieClip 154 { } movieClip 156 { } movieClip 159 { } movieClip 162 { } movieClip 165 { } movieClip 168 { } movieClip 170 { } movieClip 171 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 173 { } movieClip 177 { } movieClip 185 { } movieClip 189 { } movieClip 195 { instance window1 of movieClip 156 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } instance window2 of movieClip 159 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 171 { onClipEvent (enterFrame) { if (_root.counterType == 1) { this.gotoAndStop('1'); } if (_root.counterType == 2) { this.gotoAndStop('2'); } if (_root.counterType == 3) { this.gotoAndStop('3'); } } } } // unknown tag 88 length 229 button 200 { on (press) { nextFrame(); } } frame 4 { stop(); _root.playButton._visible = false; _root.playButton.enabled = false; _root.friedRiceTutorial = 0; } movieClip 205 { } movieClip 206 { } movieClip 207 { frame 1 { play(); } frame 3519 { stop(); } frame 3520 { stop(); } } instance window1 of movieClip 207 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } movieClip 209 { frame 1 { play(); } frame 3519 { stop(); } frame 3520 { stop(); } } instance window2 of movieClip 209 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } movieClip 212 { } movieClip 214 { } movieClip 215 { frame 1 { stop(); } frame 2 { stop(); } } button 217 { on (press) { if (pausePlay == 0) { if (_root.stoveCooking == 0 & _root.refrigeratorOpen == 0 & _root.friedRice == 0 & _root.baksoCooked == 0 & _root.noodleCooked == 0 & _root.friedFrenchFries == 0 & _root.friedShrimp == 0 & _root.pizzaCooked == 0) { if (_root.rice == 1) { _root.stoveCooking = 1; _root.clickMusic.gotoAndStop(2); _root.cookingMusic.gotoAndStop(2); _root.stoveArrow._alpha = 0; if (_root.rice == 1) { _root.stove.stoveCooking.foodOnStove1.gotoAndStop('rice'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } nextFrame(); } } } } } movieClip 223 { } movieClip 228 { } movieClip 233 { } movieClip 235 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 237 { } movieClip 239 { } movieClip 240 { } movieClip 241 { } movieClip 242 { instance stoveSmoke1 of movieClip 240 { onClipEvent (load) { if (_root.bakso == 1 || _root.noodle == 1 || _root.frenchFries == 1) { this._alpha = 0; } else { this._alpha = 100; } } } instance stoveSmoke2 of movieClip 241 { onClipEvent (load) { if (_root.rice == 1) { this._alpha = 0; } else { this._alpha = 100; } } } frame 110 { _root.stoveCooking = 0; _root.stove.stoveCooking.foodOnStove1.gotoAndStop('empty'); _root.chatText.gotoAndStop(72); if (_root.rice == 1) { _root.rice = 0; _root.friedRice = 1; _root.friedRiceTutorial = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedRice'); } if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); } _root.stove.gotoAndStop(1); } } movieClip 243 { frame 1 { stop(); } frame 2 { stop(); } instance stoveCooking of movieClip 242 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } onClipEvent (enterFrame) { if (_root.rice == 1) { _root.stove.stoveCooking.foodOnStove1.gotoAndStop('rice'); } } } } movieClip 259 { } movieClip 262 { } movieClip 263 { } button 265 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.riceCooking == 0 & _root.refrigeratorOpen == 0 & _root.friedRiceTutorial == 0) { _global.trayFill = 1; _root.riceCooking = 1; _root.chef._x = 196; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); _root.riceCookerArrow._alpha = 0; if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } nextFrame(); } } } } movieClip 267 { } movieClip 269 { frame 59 { _root.riceCooking = 0; _root.rice = 1; _root.stoveArrow._alpha = 100; _root.chatText.gotoAndStop(71); if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('rice'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('rice'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('rice'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('rice'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('rice'); } _root.riceCooker.gotoAndStop(1); } } movieClip 270 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 269 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } movieClip 272 { } movieClip 274 { } movieClip 276 { } movieClip 277 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 279 { } movieClip 281 { } movieClip 283 { } movieClip 285 { } movieClip 287 { } movieClip 289 { } movieClip 290 { } movieClip 294 { } movieClip 298 { } movieClip 305 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } } movieClip 307 { } movieClip 310 { } movieClip 312 { } movieClip 320 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } } movieClip 325 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 332 { } movieClip 337 { } movieClip 338 { } movieClip 340 { } movieClip 342 { } movieClip 344 { } movieClip 348 { } movieClip 349 { frame 1 { stop(); } instance tray of movieClip 287 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { if (trayFill > 0) { this._alpha = 100; } } } instance food1 of movieClip 305 { onClipEvent (enterFrame) { if (trayFill == 1) { if (_root.friedRice == 1) { this.gotoAndStop('friedRice'); } if (_root.baksoCooked == 1) { this.gotoAndStop('baksoCooked'); } if (_root.grillSate == 1) { this.gotoAndStop('grillSate'); } if (_root.noodleCooked == 1) { this.gotoAndStop('noodleCooked'); } if (_root.friedFrenchFries == 1) { this.gotoAndStop('friedFrenchFries'); } if (_root.friedShrimp == 1) { this.gotoAndStop('friedShrimp'); } if (_root.pizzaCooked == 1) { this.gotoAndStop('pizzaCooked'); } if (_root.burger == 1) { this.gotoAndStop('burger'); } if (_root.hotDog == 1) { this.gotoAndStop('hotDog'); } if (_root.friedMartabak == 1) { this.gotoAndStop('friedMartabak'); } } } } instance food of movieClip 305 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { if (trayFill > 0) { this._alpha = 100; } } } instance drinks of movieClip 325 { onClipEvent (enterFrame) { if (trayFill == 1) { if (_root.juiceMelon == 1) { this.gotoAndStop('melon'); } if (_root.juiceTomato == 1) { this.gotoAndStop('tomato'); } if (_root.juiceOrange == 1) { this.gotoAndStop('orange'); } } } } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 350 { frame 1 { stop(); } } movieClip 353 { } movieClip 355 { } movieClip 357 { } movieClip 358 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 359 { } movieClip 362 { } movieClip 366 { } movieClip 368 { frame 1 { play(); } frame 29 { _root.cashier.gotoAndStop('stop'); } } movieClip 369 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 371 { } movieClip 374 { } button 376 { on (press) { if (pausePlay == 0) { _root.clock1.gotoAndStop(1); _root.window1.gotoAndStop(1); _root.window2.gotoAndStop(1); _root.lightNotice.gotoAndStop(1); nextFrame(); } } } movieClip 387 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { play(); } frame 70 { stop(); _root.riceCookerArrow._alpha = 100; _root.guest90.guest90ArrowOrder._alpha = 0; } frame 71 { stop(); } frame 72 { stop(); } frame 73 { play(); } frame 137 { _root.trashArrow._alpha = 100; } frame 212 { stop(); _root.trashArrow._alpha = 0; _root.skipButton._visible = false; _root.skipButton.enabled = false; _root.playButton._visible = true; _root.playButton.enabled = true; } } movieClip 389 { } movieClip 391 { frame 6 { _root.guestArriveMusic.gotoAndStop(2); _root.chatText.gotoAndStop(2); } frame 60 { _root.chatText.gotoAndStop(3); _root.guest90.guest90Order.gotoAndStop(2); _root.guest90.gotoAndStop('waiting'); } } button 393 { on (press) { if (pausePlay == 0) { _root.guest90.guest90Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; _root.chatText.gotoAndStop(73); if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest90.guest90Order._alpha = 0; _root.guest90.gotoAndStop('good'); } } } } movieClip 394 { } movieClip 396 { } movieClip 397 { } movieClip 401 { } movieClip 402 { } movieClip 404 { } button 406 { on (press) { if (pausePlay == 0) { _root.guest90.guest90Order.gotoAndStop(2); _root.chatText.gotoAndStop(73); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest90.guest90Order._alpha = 0; _root.guest90.gotoAndStop('good'); } } } } movieClip 408 { } movieClip 409 { } movieClip 412 { } movieClip 414 { } movieClip 415 { } movieClip 416 { } movieClip 418 { frame 1 { stop(); } } movieClip 419 { frame 1 { stop(); } instance of movieClip 391 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 404 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } } movieClip 421 { } movieClip 422 { } instance riceCookerArrow of movieClip 422 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { if (_root.friedRiceTutorial == 1) { this._alpha = 0; } } } instance stoveArrow of movieClip 422 { onClipEvent (load) { this._alpha = 0; } } instance trashArrow of movieClip 422 { onClipEvent (load) { this._alpha = 0; } } button 431 { on (press) { if (pausePlay == 0) { _global.pausePlay = 1; _root.pauseScreen.gotoAndStop(2); nextFrame(); } } } movieClip 432 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 434 { } movieClip 437 { } movieClip 439 { } movieClip 441 { frame 3520 { stop(); _root.restaurantClose = 1; _root.lightNotice.gotoAndStop(2); trace('Guest: ' + _root.guestCount); trace('Score: ' + _root.score); } } instance clock1 of movieClip 441 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } onClipEvent (enterFrame) { if (_root.restaurantClose == 1) { this.stop(); } } onClipEvent (enterFrame) { if (_root.targetLevel == 1 & _root.restaurantClose == 1) { _root.goodJobScreen.gotoAndStop(2); } if (guestCount == 0 & _root.score < 400 & _root.restaurantClose == 1) { _root.gameOverScreen.gotoAndStop(2); } } } movieClip 446 { } button 448 { on (press) { _global.pausePlay = 0; _root.pause.gotoAndStop(1); _root.pauseScreen.gotoAndStop(1); } } movieClip 454 { } movieClip 459 { } movieClip 464 { } movieClip 465 { frame 1 { stop(); } frame 2 { stop(); } } button 466 { on (press) { if (pausePlay == 0) { _root.clock1.gotoAndStop(1); _root.window1.gotoAndStop(1); _root.window2.gotoAndStop(1); _root.lightNotice.gotoAndStop(1); nextFrame(); } } } frame 5 { stop(); _root.friedRiceTutorial = 0; _global.pausePlay = 1; _root.score = 0; _root.day.countDay = 1; _root.goodJobScreen.score = 0; _root.shop.score = 0; _root.gameOverScreen.score = 0; _root.guestCount = 9; _global.currentLevel = 1; _root.restaurantClose = 0; _global.trayFill = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; _root.chefType = 1; _root.riceCookerType = 1; _root.stoveType = 1; _root.grillType = 1; _root.juicerType = 1; _root.microwaveType = 1; _root.refrigeratorOpen = 0; _root.riceCooking = 0; _root.stoveCooking = 0; _root.grillCooking = 0; _root.microwaveCooking = 0; _root.juiceMaking = 0; _root.rice = 0; _root.bakso = 0; _root.sate = 0; _root.noodle = 0; _root.frenchFries = 0; _root.shrimp = 0; _root.pizza = 0; _root.breadCircle = 0; _root.breadLong = 0; _root.ham = 0; _root.sausage = 0; _root.martabak = 0; _root.breadCircleCooked = 0; _root.breadLongCooked = 0; _root.grillHam = 0; _root.grillSausage = 0; _root.friedRice = 0; _root.baksoCooked = 0; _root.grillSate = 0; _root.noodleCooked = 0; _root.friedFrenchFries = 0; _root.friedShrimp = 0; _root.pizzaCooked = 0; _root.burger = 0; _root.hotDog = 0; _root.friedMartabak = 0; _root.juiceMelon = 0; _root.juiceTomato = 0; _root.juiceOrange = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); _root.chef.chef1.food2.gotoAndStop('empty'); _root.chef.chef1.drinks.gotoAndStop('empty'); _root.riceCooker.riceCooker1.gotoAndStop(1); _root.riceCooker.riceCooker2.gotoAndStop(1); _root.stove.stove1.gotoAndStop(1); _root.stove.stove2.gotoAndStop(1); _root.microwave.microwave1.gotoAndStop(1); _root.microwave.microwave2.gotoAndStop(1); _root.grill.grill1.gotoAndStop(1); _root.grill.grill2.gotoAndStop(1); _root.juicer.juicer1.orange1.gotoAndStop(1); _root.juicer.juicer1.tomato1.gotoAndStop(1); _root.juicer.juicer1.melon1.gotoAndStop(1); _root.juicer.juicer2.orange2.gotoAndStop(1); _root.juicer.juicer2.tomato2.gotoAndStop(1); _root.juicer.juicer2.melon2.gotoAndStop(1); _root.refrigeratorInventory.gotoAndStop('close'); _root.refrigerator.refrigerator1.gotoAndStop('close'); _root.trash.gotoAndStop(1); _root.wallTileType = 1; _root.counterType = 1; } movieClip 469 { frame 1 { stop(); } frame 2 { play(); } frame 340 { gotoAndStop(2); } } movieClip 473 { frame 1 { stop(); } frame 2 { play(); } frame 156 { gotoAndStop(1); } } movieClip 475 { } movieClip 477 { } movieClip 479 { } movieClip 480 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } instance of movieClip 480 { onClipEvent (enterFrame) { if (_root.wallTileType == 1) { this.gotoAndStop('1'); } if (_root.wallTileType == 2) { this.gotoAndStop('2'); } if (_root.wallTileType == 3) { this.gotoAndStop('3'); } } } button 482 { on (press) { if (pausePlay == 0) { if (_root.stoveCooking == 0 & _root.refrigeratorOpen == 0 & _root.friedRice == 0 & _root.baksoCooked == 0 & _root.noodleCooked == 0 & _root.friedFrenchFries == 0 & _root.friedShrimp == 0 & _root.pizzaCooked == 0) { if (_root.rice == 1 || _root.bakso == 1 || _root.noodle == 1 || _root.frenchFries == 1 || _root.shrimp == 1 || _root.martabak == 1) { _root.stoveCooking = 1; _root.clickMusic.gotoAndStop(2); _root.cookingMusic.gotoAndStop(2); if (_root.rice == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('rice'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.bakso == 1) { _root.stove.stove1.stove1Cooking.foodOnStove2.gotoAndStop('bakso'); _root.chef._x = 389.8; _root.chef._y = 191.85; } if (_root.noodle == 1) { _root.stove.stove1.stove1Cooking.foodOnStove2.gotoAndStop('noodle'); _root.chef._x = 389.8; _root.chef._y = 191.85; } if (_root.frenchFries == 1) { _root.stove.stove1.stove1Cooking.foodOnStove2.gotoAndStop('frenchFries'); _root.chef._x = 389.8; _root.chef._y = 191.85; } if (_root.shrimp == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('shrimp'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.martabak == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('martabak'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } nextFrame(); } else { if (_root.pizza == 1) { _root.stoveCooking = 1; _root.clickMusic.gotoAndStop(2); if (_root.pizza == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('rice'); _root.chef._x = 325.5; _root.chef._y = 191.85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } gotoAndStop('ovening'); } } } } } } movieClip 487 { } movieClip 492 { } movieClip 497 { } movieClip 499 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 500 { instance stoveSmoke1 of movieClip 240 { onClipEvent (load) { if (_root.bakso == 1 || _root.noodle == 1 || _root.frenchFries == 1) { this._alpha = 0; } else { this._alpha = 100; } } } instance stoveSmoke2 of movieClip 241 { onClipEvent (load) { if (_root.rice == 1) { this._alpha = 0; } else { this._alpha = 100; } } } frame 110 { _root.stoveCooking = 0; _root.stove.stove1.foodOnStove1.gotoAndStop('empty'); _root.stove.stove1.foodOnStove2.gotoAndStop('empty'); if (_root.rice == 1) { _root.rice = 0; _root.friedRice = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedRice'); } if (_root.bakso == 1) { _root.bakso = 0; _root.baksoCooked = 1; _root.chef.chef1.food1.gotoAndStop('baksoCooked'); } if (_root.noodle == 1) { _root.noodle = 0; _root.noodleCooked = 1; _root.chef.chef1.food1.gotoAndStop('noodleCooked'); } if (_root.frenchFries == 1) { _root.frenchFries = 0; _root.friedFrenchFries = 1; _root.chef.chef1.food1.gotoAndStop('friedFrenchFries'); } if (_root.shrimp == 1) { _root.shrimp = 0; _root.friedShrimp = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedShrimp'); } if (_root.martabak == 1) { _root.martabak = 0; _root.friedMartabak = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedMartabak'); } if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); } _root.stove.stove1.gotoAndStop(1); } } movieClip 506 { } movieClip 508 { } movieClip 511 { frame 220 { _root.stoveCooking = 0; if (_root.pizza == 1) { _root.pizza = 0; _root.pizzaCooked = 1; _root.chef.chef1.food1.gotoAndStop('pizzaCooked'); } if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); } _root.stove.stove1.gotoAndStop(1); } } movieClip 512 { frame 1 { stop(); } frame 2 { stop(); } instance stove1Cooking of movieClip 500 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } onClipEvent (enterFrame) { if (_root.rice == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('rice'); } if (_root.bakso == 1) { _root.stove.stove1.stove1Cooking.foodOnStove2.gotoAndStop('bakso'); } if (_root.noodle == 1) { _root.stove.stove1.stove1Cooking.foodOnStove2.gotoAndStop('noodle'); } if (_root.frenchFries == 1) { _root.stove.stove1.stove1Cooking.foodOnStove2.gotoAndStop('frenchFries'); } if (_root.shrimp == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('shrimp'); } if (_root.martabak == 1) { _root.stove.stove1.stove1Cooking.foodOnStove1.gotoAndStop('martabak'); } } } frame 3 { stop(); } instance stove1Ovening of movieClip 511 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } button 514 { on (press) { if (pausePlay == 0) { if (_root.stoveCooking == 0 & _root.refrigeratorOpen == 0 & _root.friedRice == 0 & _root.baksoCooked == 0 & _root.noodleCooked == 0 & _root.friedFrenchFries == 0 & _root.friedShrimp == 0 & _root.pizzaCooked == 0) { if (_root.rice == 1 || _root.bakso == 1 || _root.noodle == 1 || _root.frenchFries == 1 || _root.shrimp == 1 || _root.martabak == 1) { _root.stoveCooking = 1; _root.clickMusic.gotoAndStop(2); _root.cookingMusic.gotoAndStop(2); if (_root.rice == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('rice'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.bakso == 1) { _root.stove.stove2.stove2Cooking.foodOnStove2.gotoAndStop('bakso'); _root.chef._x = 389.8; _root.chef._y = 191.85; } if (_root.noodle == 1) { _root.stove.stove2.stove2Cooking.foodOnStove2.gotoAndStop('noodle'); _root.chef._x = 389.8; _root.chef._y = 191.85; } if (_root.frenchFries == 1) { _root.stove.stove2.stove2Cooking.foodOnStove2.gotoAndStop('frenchFries'); _root.chef._x = 389.8; _root.chef._y = 191.85; } if (_root.shrimp == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('shrimp'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.martabak == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('martabak'); _root.chef._x = 279.85; _root.chef._y = 191.85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } nextFrame(); } else { if (_root.pizza == 1) { _root.stoveCooking = 1; _root.clickMusic.gotoAndStop(2); if (_root.pizza == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('rice'); _root.chef._x = 325.5; _root.chef._y = 191.85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } gotoAndStop('ovening'); } } } } } } movieClip 516 { instance stoveSmoke1 of movieClip 240 { onClipEvent (load) { if (_root.bakso == 1 || _root.noodle == 1 || _root.frenchFries == 1) { this._alpha = 0; } else { this._alpha = 100; } } } instance stoveSmoke2 of movieClip 241 { onClipEvent (load) { if (_root.rice == 1) { this._alpha = 0; } else { this._alpha = 100; } } } frame 79 { _root.stoveCooking = 0; _root.stove.stove2.foodOnStove1.gotoAndStop('empty'); _root.stove.stove2.foodOnStove2.gotoAndStop('empty'); if (_root.rice == 1) { _root.rice = 0; _root.friedRice = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedRice'); } if (_root.bakso == 1) { _root.bakso = 0; _root.baksoCooked = 1; _root.chef.chef1.food1.gotoAndStop('baksoCooked'); } if (_root.noodle == 1) { _root.noodle = 0; _root.noodleCooked = 1; _root.chef.chef1.food1.gotoAndStop('noodleCooked'); } if (_root.frenchFries == 1) { _root.frenchFries = 0; _root.friedFrenchFries = 1; _root.chef.chef1.food1.gotoAndStop('friedFrenchFries'); } if (_root.shrimp == 1) { _root.shrimp = 0; _root.friedShrimp = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedShrimp'); } if (_root.martabak == 1) { _root.martabak = 0; _root.friedMartabak = 1; _root.chef.chef1.food1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('friedMartabak'); } if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); } _root.stove.stove2.gotoAndStop(1); } } movieClip 522 { } movieClip 524 { } movieClip 526 { frame 119 { _root.stoveCooking = 0; if (_root.pizza == 1) { _root.pizza = 0; _root.pizzaCooked = 1; _root.chef.chef1.food1.gotoAndStop('pizzaCooked'); } if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); } _root.stove.stove2.gotoAndStop(1); } } movieClip 527 { frame 1 { stop(); } frame 2 { stop(); } instance stove2Cooking of movieClip 516 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } onClipEvent (enterFrame) { if (_root.rice == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('rice'); } if (_root.bakso == 1) { _root.stove.stove2.stove2Cooking.foodOnStove2.gotoAndStop('bakso'); } if (_root.noodle == 1) { _root.stove.stove2.stove2Cooking.foodOnStove2.gotoAndStop('noodle'); } if (_root.frenchFries == 1) { _root.stove.stove2.stove2Cooking.foodOnStove2.gotoAndStop('frenchFries'); } if (_root.shrimp == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('shrimp'); } if (_root.martabak == 1) { _root.stove.stove2.stove2Cooking.foodOnStove1.gotoAndStop('martabak'); } } } frame 3 { stop(); } } movieClip 528 { frame 1 { stop(); } frame 2 { stop(); } } instance stove of movieClip 528 { onClipEvent (enterFrame) { if (_root.stoveType == 1) { this.gotoAndStop('1'); } else { this.gotoAndStop('2'); } } } instance of movieClip 171 { onClipEvent (enterFrame) { if (_root.counterType == 1) { this.gotoAndStop('1'); } if (_root.counterType == 2) { this.gotoAndStop('2'); } if (_root.counterType == 3) { this.gotoAndStop('3'); } } } button 539 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.juiceMaking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.juiceMaking = 1; _root.chef._x = 343.5; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back2'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back2'); } nextFrame(); } } } } movieClip 545 { frame 109 { if (pausePlay == 0) { _root.juiceMaking = 0; if (_root.chefType == 1) { _root.juiceMelon = 1; _root.chef.chef1.drinks.gotoAndStop('melon'); _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.juiceMelon = 1; _root.chef.chef2.drinks.gotoAndStop('melon'); _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } _root.juicer.juicer1.melon1.gotoAndStop(1); } } } movieClip 546 { frame 1 { stop(); } frame 2 { stop(); } instance melon1Pour of movieClip 545 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } button 548 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.juiceMaking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.juiceMaking = 1; _root.chef._x = 343.5; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back2'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back2'); } nextFrame(); } } } } movieClip 550 { frame 109 { if (pausePlay == 0) { _root.juiceMaking = 0; if (_root.chefType == 1) { _root.juiceTomato = 1; _root.chef.chef1.drinks.gotoAndStop('tomato'); _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.juiceTomato = 1; _root.chef.chef2.drinks.gotoAndStop('tomato'); _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } _root.juicer.juicer1.tomato1.gotoAndStop(1); } } } movieClip 551 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 550 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } button 553 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.juiceMaking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.juiceMaking = 1; _root.chef._x = 343.5; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back2'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back2'); } nextFrame(); } } } } movieClip 555 { frame 109 { if (pausePlay == 0) { _root.juiceMaking = 0; if (_root.chefType == 1) { _root.juiceOrange = 1; _root.chef.chef1.drinks.gotoAndStop('orange'); _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.juiceOrange = 1; _root.chef.chef2.drinks.gotoAndStop('orange'); _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } _root.juicer.juicer1.orange1.gotoAndStop(1); } } } movieClip 556 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 555 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } movieClip 558 { frame 1 { stop(); } } button 561 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.juiceMaking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.juiceMaking = 1; _root.chef._x = 343.5; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back2'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back2'); } nextFrame(); } } } } movieClip 565 { frame 60 { if (pausePlay == 0) { _root.juiceMaking = 0; if (_root.chefType == 1) { _root.juiceMelon = 1; _root.chef.chef1.drinks.gotoAndStop('melon'); _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.juiceMelon = 1; _root.chef.chef2.drinks.gotoAndStop('melon'); _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } _root.juicer.juicer2.melon2.gotoAndStop(1); } } } movieClip 566 { frame 1 { stop(); } frame 2 { stop(); } instance melon2Pour of movieClip 565 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } button 568 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.juiceMaking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.juiceMaking = 1; _root.chef._x = 343.5; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back2'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back2'); } nextFrame(); } } } } movieClip 570 { frame 60 { if (pausePlay == 0) { _root.juiceMaking = 0; if (_root.chefType == 1) { _root.juiceTomato = 1; _root.chef.chef1.drinks.gotoAndStop('tomato'); _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.juiceTomato = 1; _root.chef.chef2.drinks.gotoAndStop('tomato'); _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } _root.juicer.juicer2.tomato2.gotoAndStop(1); } } } movieClip 571 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 570 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } button 573 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.juiceMaking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.juiceMaking = 1; _root.chef._x = 343.5; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back2'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back2'); } nextFrame(); } } } } movieClip 575 { frame 60 { if (pausePlay == 0) { _root.juiceMaking = 0; if (_root.chefType == 1) { _root.juiceOrange = 1; _root.chef.chef1.drinks.gotoAndStop('orange'); _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); } if (_root.chefType == 2) { _root.juiceOrange = 1; _root.chef.chef2.drinks.gotoAndStop('orange'); _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); } _root.juicer.juicer2.orange2.gotoAndStop(1); } } } movieClip 576 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 575 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } movieClip 578 { frame 1 { stop(); } } movieClip 579 { frame 1 { stop(); } frame 2 { stop(); } } instance juicer of movieClip 579 { onClipEvent (enterFrame) { if (_root.juicerType == 1) { this.gotoAndStop('1'); } else { this.gotoAndStop('2'); } } } button 587 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.riceCooking == 0 & _root.stoveCooking == 0) { _root.refrigeratorOpen = 1; _root.refrigeratorInventory._alpha = 100; _root.refrigeratorInventory.gotoAndStop('open'); _root.refrigeratorOpenMusic.gotoAndStop(2); _root.chef._x = 325.55; _root.chef._y = 217.55; if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('left'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('left'); } nextFrame(); } } } } movieClip 589 { } movieClip 591 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 592 { frame 1 { stop(); } } button 594 { on (press) { if (pausePlay == 0) { if (trayFill == 1 & _root.refrigeratorOpen == 0 & _root.riceCooking == 0 & _root.stoveCooking == 0 & _root.grillCooking == 0 & _root.microwaveCooking == 0 & _root.juiceMaking == 0) { _global.trayFill = 0; _root.score -= 5; _root.goodJobScreen.score -= 5; _root.shop.score -= 5; _root.gameOverScreen.score -= 5; _root.chef._x = 462.05; _root.chef._y = 245.95; if (_root.score < 0) { _root.score = 0; } nextFrame(); if (_root.rice == 1) { _root.rice = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.friedRice == 1) { _root.friedRice = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.bakso == 1) { _root.bakso = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.baksoCooked == 1) { _root.baksoCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.sate == 1) { _root.sate = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.grillSate == 1) { _root.grillSate = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.noodle == 1) { _root.noodle = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.noodleCooked == 1) { _root.noodleCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.frenchFries == 1) { _root.frenchFries = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.friedFrenchFries == 1) { _root.friedFrenchFries = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.shrimp == 1) { _root.shrimp = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.friedShrimp == 1) { _root.friedShrimp = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.martabak == 1) { _root.martabak = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.friedMartabak == 1) { _root.friedMartabak = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.pizza == 1) { _root.pizza = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.pizzaCooked == 1) { _root.pizzaCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.ham == 1 & _root.breadCircle == 1) { _root.ham = 0; _root.breadCircle = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.grillHam == 1 & _root.breadCircle == 1) { _root.grillHam = 0; _root.breadCircle = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.ham == 1 & _root.breadCircleCooked == 1) { _root.ham = 0; _root.breadCircleCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.burger == 1) { _root.burger = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.sausage == 1 & _root.breadLong == 1) { _root.sausage = 0; _root.breadLong = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.grillSausage == 1 & _root.breadLong == 1) { _root.grillSausage = 0; _root.breadLong = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.sausage == 1 & _root.breadLongCooked == 1) { _root.sausage = 0; _root.breadLongCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('empty'); } } if (_root.hotDog == 1) { _root.hotDog = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } } if (_root.juiceMelon == 1) { _root.juiceMelon = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } } if (_root.juiceTomato == 1) { _root.juiceTomato = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } } if (_root.juiceOrange == 1) { _root.juiceOrange = 0; if (_root.chefType == 1) { _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } } } } } } movieClip 597 { frame 1 { stop(); } frame 2 { play(); } frame 9 { gotoAndStop(1); } } button 599 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.riceCooking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.riceCooking = 1; _root.chef._x = 196; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } nextFrame(); } } } } movieClip 601 { frame 100 { _root.riceCooking = 0; _root.rice = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('rice'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('rice'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('rice'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('rice'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('rice'); } _root.riceCooker.riceCooker1.gotoAndStop(1); } } movieClip 602 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 601 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } button 604 { on (press) { if (pausePlay == 0) { if (trayFill == 0 & _root.riceCooking == 0 & _root.refrigeratorOpen == 0) { _global.trayFill = 1; _root.riceCooking = 1; _root.chef._x = 196; _root.chef._y = 191.85; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('back1'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('back1'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('back1'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('back1'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('back1'); } nextFrame(); } } } } movieClip 608 { frame 60 { _root.riceCooking = 0; _root.rice = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('rice'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('rice'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('rice'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('rice'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('rice'); } _root.riceCooker.riceCooker2.gotoAndStop(1); } } movieClip 609 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 608 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } movieClip 610 { frame 1 { stop(); } frame 2 { stop(); } } instance riceCooker of movieClip 610 { onClipEvent (enterFrame) { if (_root.riceCookerType == 1) { this.gotoAndStop('1'); } else { this.gotoAndStop('2'); } } } instance of movieClip 277 { onClipEvent (enterFrame) { if (_root.counterType == 1) { this.gotoAndStop('1'); } if (_root.counterType == 2) { this.gotoAndStop('2'); } if (_root.counterType == 3) { this.gotoAndStop('3'); } } } button 612 { on (press) { if (pausePlay == 0) { if (_root.microwaveCooking == 0 & _root.grillCooking == 0 & _root.refrigeratorOpen == 0) { if (_root.breadCircle == 1 || _root.breadLong == 1) { _root.microwaveCooking = 1; _root.clickMusic.gotoAndStop(2); _root.chef._x = 197.8; _root.chef._y = 199.65; if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('right'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('right'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('right'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('right'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('right'); } nextFrame(); } } } } } movieClip 618 { } movieClip 620 { } movieClip 622 { frame 1 { play(); } frame 70 { _global.trayFill = 1; _root.microwaveCooking = 0; if (_root.breadCircle == 1) { _root.breadCircle = 0; _root.breadCircleCooked = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('burger'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('burger'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('burger'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('burger'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('burger'); } if (_root.grillHam == 1 & _root.breadCircleCooked == 1) { _root.burger = 1; _root.grillHam = 0; _root.breadCircleCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('burger'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('burger'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('burger'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('burger'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('burger'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } if (_root.breadLong == 1) { _root.breadLong = 0; _root.breadLongCooked = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('hotdog'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('hotdog'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('hotdog'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('hotdog'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('hotdog'); } if (_root.grillSausage == 1 & _root.breadLongCooked == 1) { _root.hotDog = 1; _root.grillSausage = 0; _root.breadLongCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('hotdog'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('hotdog'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('hotdog'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('hotdog'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('hotdog'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } _root.microwave.microwave1.gotoAndStop(1); } } movieClip 623 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 622 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } movieClip 624 { } button 626 { on (press) { if (pausePlay == 0) { if (_root.microwaveCooking == 0 & _root.grillCooking == 0 & _root.refrigeratorOpen == 0) { if (_root.breadCircle == 1 || _root.breadLong == 1) { _root.microwaveCooking = 1; _root.clickMusic.gotoAndStop(2); _root.chef._x = 197.8; _root.chef._y = 199.65; if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('right'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('right'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('right'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('right'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('right'); } nextFrame(); } } } } } movieClip 631 { } movieClip 633 { } movieClip 635 { frame 1 { play(); } frame 50 { _global.trayFill = 1; _root.microwaveCooking = 0; if (_root.breadCircle == 1) { _root.breadCircle = 0; _root.breadCircleCooked = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('burger'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('burger'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('burger'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('burger'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('burger'); } if (_root.grillHam == 1 & _root.breadCircleCooked == 1) { _root.burger = 1; _root.grillHam = 0; _root.breadCircleCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('burger'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('burger'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('burger'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('burger'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('burger'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } if (_root.breadLong == 1) { _root.breadLong = 0; _root.breadLongCooked = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('hotdog'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('hotdog'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('hotdog'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('hotdog'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('hotdog'); } if (_root.grillSausage == 1 & _root.breadLongCooked == 1) { _root.hotDog = 1; _root.grillSausage = 0; _root.breadLongCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('hotdog'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('hotdog'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('hotdog'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('hotdog'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('hotdog'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } _root.microwave.microwave2.gotoAndStop(1); } } movieClip 636 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 635 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } } movieClip 637 { frame 1 { stop(); } frame 2 { stop(); } } instance microwave of movieClip 637 { onClipEvent (enterFrame) { if (_root.microwaveType == 1) { this.gotoAndStop('1'); } else { this.gotoAndStop('2'); } } } button 639 { on (press) { if (pausePlay == 0) { if (_root.grillCooking == 0 & _root.microwaveCooking == 0 & _root.refrigeratorOpen == 0) { if (_root.sate == 1 || _root.ham == 1 || _root.sausage == 1) { _root.grillCooking = 1; _root.chef._x = 153.05; _root.chef._y = 258.05; _root.clickMusic.gotoAndStop(2); if (_root.sate == 1) { _root.grill.grill1.foodOnGrill.gotoAndStop('sate'); } if (_root.ham == 1) { _root.grill.grill1.foodOnGrill.gotoAndStop('ham'); } if (_root.sausage == 1) { _root.grill.grill1.foodOnGrill.gotoAndStop('sausage'); } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('right'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('right'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('right'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('right'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('right'); } nextFrame(); } } } } } movieClip 645 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 646 { } movieClip 648 { frame 150 { _global.trayFill = 1; _root.grillCooking = 0; _root.grill.grill1.foodOnGrill.gotoAndStop('empty'); if (_root.sate == 1) { _root.sate = 0; _root.grillSate = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('grillSate'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('grillSate'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('grillSate'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('grillSate'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('grillSate'); } } if (_root.ham == 1) { _root.ham = 0; _root.grillHam = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('burger'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('burger'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('burger'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('burger'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('burger'); } if (_root.grillHam == 1 & _root.breadCircleCooked == 1) { _root.burger = 1; _root.grillHam = 0; _root.breadCircleCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('burger'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('burger'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('burger'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('burger'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('burger'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } if (_root.sausage == 1) { _root.sausage = 0; _root.grillSausage = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('hotdog'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('hotdog'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('hotdog'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('hotdog'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('hotdog'); } if (_root.grillSausage == 1 & _root.breadLongCooked == 1) { _root.hotDog = 1; _root.grillSausage = 0; _root.breadLongCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('hotdog'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('hotdog'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('hotdog'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('hotdog'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('hotdog'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } _root.grill.grill1.gotoAndStop(1); } } movieClip 649 { frame 1 { stop(); } frame 2 { stop(); } instance grill1Cooking of movieClip 648 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } onClipEvent (enterFrame) { if (_root.sate == 1) { _root.grill.grill1.grill1Cooking.foodOnGrill.gotoAndStop('sate'); } if (_root.ham == 1) { _root.grill.grill1.grill1Cooking.foodOnGrill.gotoAndStop('ham'); } if (_root.sausage == 1) { _root.grill.grill1.grill1Cooking.foodOnGrill.gotoAndStop('sausage'); } } } } button 651 { on (press) { if (pausePlay == 0) { if (_root.grillCooking == 0 & _root.microwaveCooking == 0 & _root.refrigeratorOpen == 0) { if (_root.sate == 1 || _root.ham == 1 || _root.sausage == 1) { _root.grillCooking = 1; _root.chef._x = 153.05; _root.chef._y = 258.05; _root.clickMusic.gotoAndStop(2); if (_root.sate == 1) { _root.grill.grill1.foodOnGrill.gotoAndStop('sate'); } if (_root.ham == 1) { _root.grill.grill1.foodOnGrill.gotoAndStop('ham'); } if (_root.sausage == 1) { _root.grill.grill1.foodOnGrill.gotoAndStop('sausage'); } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('right'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('right'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('right'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('right'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('right'); } nextFrame(); } } } } } movieClip 653 { frame 80 { _global.trayFill = 1; _root.grillCooking = 0; _root.grill.grill2.foodOnGrill.gotoAndStop('empty'); if (_root.sate == 1) { _root.sate = 0; _root.grillSate = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('grillSate'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('grillSate'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('grillSate'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('grillSate'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('grillSate'); } } if (_root.ham == 1) { _root.ham = 0; _root.grillHam = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('burger'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('burger'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('burger'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('burger'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('burger'); } if (_root.grillHam == 1 & _root.breadCircleCooked == 1) { _root.burger = 1; _root.grillHam = 0; _root.breadCircleCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('burger'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('burger'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('burger'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('burger'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('burger'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } if (_root.sausage == 1) { _root.sausage = 0; _root.grillSausage = 1; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('hotdog'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('hotdog'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('hotdog'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('hotdog'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('hotdog'); } if (_root.grillSausage == 1 & _root.breadLongCooked == 1) { _root.hotDog = 1; _root.grillSausage = 0; _root.breadLongCooked = 0; if (_root.chefType == 1) { _root.chef.chef1.hand1._alpha = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food1.gotoAndStop('hotdog'); _root.chef.chef1.food2.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.hand2._alpha = 0; _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food1.gotoAndStop('hotdog'); _root.chef.chef2.food2.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.hand3._alpha = 0; _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food1.gotoAndStop('hotdog'); _root.chef.chef3.food2.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.hand4._alpha = 0; _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food1.gotoAndStop('hotdog'); _root.chef.chef4.food2.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.hand5._alpha = 0; _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food1.gotoAndStop('hotdog'); _root.chef.chef5.food2.gotoAndStop('empty'); } } } _root.grill.grill2.gotoAndStop(1); } } movieClip 654 { frame 1 { stop(); } frame 2 { stop(); } instance grill2Cooking of movieClip 653 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } onClipEvent (enterFrame) { if (_root.sate == 1) { _root.grill.grill2.grill2Cooking.foodOnGrill.gotoAndStop('sate'); } if (_root.ham == 1) { _root.grill.grill2.grill2Cooking.foodOnGrill.gotoAndStop('ham'); } if (_root.sausage == 1) { _root.grill.grill2.grill2Cooking.foodOnGrill.gotoAndStop('sausage'); } } } } movieClip 655 { frame 1 { stop(); } frame 2 { stop(); } } instance grill of movieClip 655 { onClipEvent (enterFrame) { if (_root.grillType == 1) { this.gotoAndStop('1'); } else { this.gotoAndStop('2'); } } } instance chef of movieClip 350 { onClipEvent (enterFrame) { if (_root.chefType == 1) { this.gotoAndStop('1'); } if (_root.chefType == 2) { this.gotoAndStop('2'); } } } instance of movieClip 358 { onClipEvent (enterFrame) { if (_root.counterType == 1) { this.gotoAndStop('1'); } if (_root.counterType == 2) { this.gotoAndStop('2'); } if (_root.counterType == 3) { this.gotoAndStop('3'); } } } movieClip 658 { frame 48 { _root.guestArriveMusic.gotoAndStop(2); } frame 60 { _root.guest1.guest1Order.gotoAndStop(2); _root.guest1.gotoAndStop('waiting'); } } movieClip 659 { } movieClip 660 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 662 { on (press) { if (pausePlay == 0) { _root.guest1.guest1Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest1.guest1Order._alpha = 0; _root.guest1.gotoAndStop('good'); } } } } movieClip 663 { } movieClip 667 { frame 1 { play(); } frame 560 { _root.guest1.gotoAndStop('bad'); } frame 840 { stop(); _root.guest1.gotoAndStop('leaveBad'); } } button 669 { on (press) { if (pausePlay == 0) { _root.guest1.guest1Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest1.guest1Order._alpha = 0; _root.guest1.gotoAndStop('good'); } } } } movieClip 670 { } movieClip 672 { frame 1 { play(); } frame 24 { _root.guest1.gotoAndStop('leaveGood'); } } movieClip 673 { frame 1 { stop(); } instance of movieClip 658 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 667 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest3.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest3.gotoAndStop(2); } else { _root.guestCount -= 2; } } } movieClip 675 { frame 268 { _root.guestArriveMusic.gotoAndStop(2); } frame 280 { _root.guest2.guest2Order.gotoAndStop(2); _root.guest2.gotoAndStop('waiting'); } } movieClip 679 { } movieClip 680 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 682 { on (press) { if (pausePlay == 0) { _root.guest2.guest2Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest2.guest2Order._alpha = 0; _root.guest2.gotoAndStop('good'); } } } } movieClip 683 { } movieClip 687 { frame 1 { play(); } frame 520 { _root.guest2.gotoAndStop('bad'); } frame 780 { stop(); _root.guest2.gotoAndStop('leaveBad'); } } movieClip 690 { } button 692 { on (press) { if (pausePlay == 0) { _root.guest2.guest2Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest2.guest2Order._alpha = 0; _root.guest2.gotoAndStop('good'); } } } } movieClip 693 { } movieClip 695 { frame 1 { play(); } frame 24 { _root.guest2.gotoAndStop('leaveGood'); } } movieClip 696 { frame 1 { stop(); } instance guest2Arrive of movieClip 675 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 687 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest4.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest4.gotoAndStop(2); } else { _root.guestCount -= 5; } } } movieClip 698 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest3.guest3Order.gotoAndStop(2); _root.guest3.gotoAndStop('waiting'); } } movieClip 699 { } movieClip 700 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 702 { on (press) { if (pausePlay == 0) { _root.guest3.guest3Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest3.guest3Order._alpha = 0; _root.guest3.gotoAndStop('good'); } } } } movieClip 703 { } movieClip 707 { frame 1 { play(); } frame 480 { _root.guest3.gotoAndStop('bad'); } frame 720 { stop(); _root.guest3.gotoAndStop('leaveBad'); } } button 709 { on (press) { if (pausePlay == 0) { _root.guest3.guest3Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest3.guest3Order._alpha = 0; _root.guest3.gotoAndStop('good'); } } } } movieClip 710 { } movieClip 712 { frame 1 { play(); } frame 24 { _root.guest3.gotoAndStop('leaveGood'); } } movieClip 713 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 698 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 707 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest5.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest5.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 715 { frame 1 { play(); } frame 388 { _root.guestArriveMusic.gotoAndStop(2); } frame 400 { _root.guest4.guest4Order.gotoAndStop(2); _root.guest4.gotoAndStop('waiting'); } } movieClip 716 { } movieClip 717 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 719 { on (press) { if (pausePlay == 0) { _root.guest4.guest4Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest4.guest4Order._alpha = 0; _root.guest4.gotoAndStop('good'); } } } } movieClip 720 { } movieClip 724 { frame 1 { play(); } frame 560 { _root.guest4.gotoAndStop('bad'); } frame 840 { stop(); _root.guest4.gotoAndStop('leaveBad'); } } button 726 { on (press) { if (pausePlay == 0) { _root.guest4.guest4Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest4.guest4Order._alpha = 0; _root.guest4.gotoAndStop('good'); } } } } movieClip 727 { } movieClip 729 { frame 1 { play(); } frame 24 { _root.guest4.gotoAndStop('leaveGood'); } } movieClip 730 { frame 1 { stop(); } frame 2 { stop(); } instance guest4Arrive of movieClip 715 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 724 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest6.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest6.gotoAndStop(2); } else { _root.guestCount -= 4; } } } movieClip 733 { frame 1 { play(); } frame 488 { _root.guestArriveMusic.gotoAndStop(2); } frame 500 { _root.guest5.guest5Order.gotoAndStop(2); _root.guest5.gotoAndStop('waiting'); } } movieClip 737 { } movieClip 738 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 740 { on (press) { if (pausePlay == 0) { _root.guest5.guest5Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest5.guest5Order._alpha = 0; _root.guest5.gotoAndStop('good'); } } } } movieClip 741 { } movieClip 745 { frame 1 { play(); } frame 480 { _root.guest5.gotoAndStop('bad'); } frame 720 { stop(); _root.guest5.gotoAndStop('leaveBad'); } } button 747 { on (press) { if (pausePlay == 0) { _root.guest5.guest5Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest5.guest5Order._alpha = 0; _root.guest5.gotoAndStop('good'); } } } } movieClip 748 { } movieClip 750 { frame 1 { play(); } frame 24 { _root.guest5.gotoAndStop('leaveGood'); } } movieClip 751 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 733 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 745 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 753 { frame 1 { play(); } frame 388 { _root.guestArriveMusic.gotoAndStop(2); } frame 400 { _root.guest6.guest6Order.gotoAndStop(2); _root.guest6.gotoAndStop('waiting'); } } movieClip 754 { } movieClip 755 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 757 { on (press) { if (pausePlay == 0) { _root.guest6.guest6Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest6.guest6Order._alpha = 0; _root.guest6.gotoAndStop('good'); } } } } movieClip 758 { } movieClip 762 { frame 1 { play(); } frame 440 { _root.guest6.gotoAndStop('bad'); } frame 660 { stop(); _root.guest6.gotoAndStop('leaveBad'); } } button 764 { on (press) { if (pausePlay == 0) { _root.guest6.guest6Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest6.guest6Order._alpha = 0; _root.guest6.gotoAndStop('good'); } } } } movieClip 765 { } movieClip 767 { frame 1 { play(); } frame 24 { _root.guest6.gotoAndStop('leaveGood'); } } movieClip 768 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 753 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 762 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest7.gotoAndStop(2); _root.guest8.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest7.gotoAndStop(2); _root.guest8.gotoAndStop(2); } else { _root.guestCount -= 3; } } } movieClip 771 { frame 318 { _root.guestArriveMusic.gotoAndStop(2); } frame 330 { _root.guest7.guest7Order.gotoAndStop(2); _root.guest7.gotoAndStop('waiting'); } } movieClip 772 { } movieClip 773 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 775 { on (press) { if (pausePlay == 0) { _root.guest7.guest7Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest7.guest7Order._alpha = 0; _root.guest7.gotoAndStop('good'); } } } } movieClip 776 { } movieClip 780 { frame 1 { play(); } frame 520 { _root.guest7.gotoAndStop('bad'); } frame 780 { stop(); _root.guest7.gotoAndStop('leaveBad'); } } button 782 { on (press) { if (pausePlay == 0) { _root.guest7.guest7Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest7.guest7Order._alpha = 0; _root.guest7.gotoAndStop('good'); } } } } movieClip 783 { } movieClip 785 { frame 1 { play(); } frame 24 { _root.guest7.gotoAndStop('leaveGood'); } } movieClip 786 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 771 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 780 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest89.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest89.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 788 { frame 1 { play(); } frame 528 { _root.guestArriveMusic.gotoAndStop(2); } frame 540 { _root.guest8.guest8Order.gotoAndStop(2); _root.guest8.gotoAndStop('waiting'); } } movieClip 789 { } movieClip 790 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 792 { on (press) { if (pausePlay == 0) { _root.guest8.guest8Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest8.guest8Order._alpha = 0; _root.guest8.gotoAndStop('good'); } } } } movieClip 793 { } movieClip 797 { frame 1 { play(); } frame 520 { _root.guest8.gotoAndStop('bad'); } frame 780 { stop(); _root.guest8.gotoAndStop('leaveBad'); } } button 799 { on (press) { if (pausePlay == 0) { _root.guest8.guest8Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest8.guest8Order._alpha = 0; _root.guest8.gotoAndStop('good'); } } } } movieClip 800 { } movieClip 802 { frame 1 { play(); } frame 24 { _root.guest8.gotoAndStop('leaveGood'); } } movieClip 803 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 788 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 797 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 805 { frame 268 { _root.guestArriveMusic.gotoAndStop(2); } frame 280 { _root.guest89.guest89Order.gotoAndStop(2); _root.guest89.gotoAndStop('waiting'); } } movieClip 806 { } movieClip 807 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 809 { on (press) { if (pausePlay == 0) { _root.guest89.guest89Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest89.guest89Order._alpha = 0; _root.guest89.gotoAndStop('good'); } } } } movieClip 810 { } movieClip 814 { frame 1 { play(); } frame 520 { _root.guest89.gotoAndStop('bad'); } frame 780 { stop(); _root.guest89.gotoAndStop('leaveBad'); } } button 816 { on (press) { if (pausePlay == 0) { _root.guest89.guest89Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.guestCount -= 1; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest89.guest89Order._alpha = 0; _root.guest89.gotoAndStop('good'); } } } } movieClip 817 { } movieClip 819 { frame 1 { play(); } frame 24 { _root.guest89.gotoAndStop('leaveGood'); } } movieClip 820 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 805 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 814 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 822 { } movieClip 823 { frame 1 { play(); } frame 50 { stop(); } } movieClip 824 { frame 1 { stop(); } frame 2 { stop(); } } instance target1Text of movieClip 824 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 49) { this.gotoAndStop(2); } } } button 830 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.sate = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('sate'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('sate'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('sate'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('sate'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('sate'); } } } } button 832 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.bakso = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('bakso'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('bakso'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('bakso'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('bakso'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('bakso'); } } } } button 834 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.noodle = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('noodle'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('noodle'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('noodle'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('noodle'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('noodle'); } } } } button 837 { on (press) { if (pausePlay == 0) { _root.refrigeratorOpen = 0; _root.refrigeratorInventory.gotoAndStop('close'); _root.refrigerator.refrigerator1.gotoAndStop('close'); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); } } } } button 839 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.frenchFries = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('frenchFries'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('frenchFries'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('frenchFries'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('frenchFries'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('frenchFries'); } } } } button 841 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.shrimp = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2._alpha = 100; _root.chef.chef1.food2.gotoAndStop('shrimp'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2._alpha = 100; _root.chef.chef2.food2.gotoAndStop('shrimp'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2._alpha = 100; _root.chef.chef3.food2.gotoAndStop('shrimp'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2._alpha = 100; _root.chef.chef4.food2.gotoAndStop('shrimp'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2._alpha = 100; _root.chef.chef5.food2.gotoAndStop('shrimp'); } } } } movieClip 843 { } button 845 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.pizza = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('pizza'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('pizza'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('pizza'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('pizza'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('pizza'); } } } } button 847 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.breadCircle = 1; _root.ham = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('burger'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('burger'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('burger'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('burger'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('burger'); } } } } button 849 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.breadLong = 1; _root.sausage = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('hotdog'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('hotdog'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('hotdog'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('hotdog'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('hotdog'); } } } } button 851 { on (press) { if (trayFill == 0) { _global.trayFill = 1; _root.martabak = 1; _root.clickMusic.gotoAndStop(2); if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.food2.gotoAndStop('martabak'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.food2.gotoAndStop('martabak'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.food2.gotoAndStop('martabak'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.food2.gotoAndStop('martabak'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.food2.gotoAndStop('martabak'); } } } } movieClip 852 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 854 { } movieClip 855 { frame 1 { play(); } frame 46 { stop(); } } movieClip 856 { frame 1 { stop(); } frame 2 { stop(); } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 1 & _root.goodJobScreen.score > 49) { this.gotoAndStop(2); } } } movieClip 860 { } movieClip 865 { } button 867 { on (press) { _root.shop.gotoAndStop(2); } } button 868 { on (press) { _global.trayFill = 0; _root.refrigeratorOpen = 0; _root.riceCooking = 0; _root.stoveCooking = 0; _root.grillCooking = 0; _root.microwaveCooking = 0; _root.juiceMaking = 0; _root.rice = 0; _root.bakso = 0; _root.sate = 0; _root.noodle = 0; _root.frenchFries = 0; _root.shrimp = 0; _root.pizza = 0; _root.breadCircle = 0; _root.breadLong = 0; _root.ham = 0; _root.sausage = 0; _root.martabak = 0; _root.breadCircleCooked = 0; _root.breadLongCooked = 0; _root.grillHam = 0; _root.grillSausage = 0; _root.friedRice = 0; _root.baksoCooked = 0; _root.grillSate = 0; _root.noodleCooked = 0; _root.friedFrenchFries = 0; _root.friedShrimp = 0; _root.pizzaCooked = 0; _root.burger = 0; _root.hotDog = 0; _root.friedMartabak = 0; _root.juiceMelon = 0; _root.juiceTomato = 0; _root.juiceOrange = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); _root.chef.chef1.food2.gotoAndStop('empty'); _root.chef.chef1.drinks.gotoAndStop('empty'); _root.riceCooker.riceCooker1.gotoAndStop(1); _root.riceCooker.riceCooker2.gotoAndStop(1); _root.stove.stove1.gotoAndStop(1); _root.stove.stove2.gotoAndStop(1); _root.microwave.microwave1.gotoAndStop(1); _root.microwave.microwave2.gotoAndStop(1); _root.grill.grill1.gotoAndStop(1); _root.grill.grill2.gotoAndStop(1); _root.juicer.juicer1.orange1.gotoAndStop(1); _root.juicer.juicer1.tomato1.gotoAndStop(1); _root.juicer.juicer1.melon1.gotoAndStop(1); _root.juicer.juicer2.orange2.gotoAndStop(1); _root.juicer.juicer2.tomato2.gotoAndStop(1); _root.juicer.juicer2.melon2.gotoAndStop(1); _root.refrigeratorInventory.gotoAndStop('close'); _root.refrigerator.refrigerator1.gotoAndStop('close'); _root.trash.gotoAndStop(1); _root.day.gotoAndStop(1); _root.goodJobScreen.gotoAndStop(1); _root.chef._x = 303.05; _root.chef._y = 280.55; _root.window1.gotoAndStop(1); _root.window2.gotoAndStop(1); _root.lightNotice.gotoAndStop(1); _parent.nextFrame(); } } movieClip 871 { frame 1 { stop(); } frame 2 { stop(); stopAllSounds(); _root.inGameMusic.gotoAndStop(1); _root.nextLevelMusic.gotoAndStop(2); _global.pausePlay = 1; if (currentLevel == 1) { _root.goodJobScreen.scoreNeeded = 50; } if (currentLevel == 2) { _root.goodJobScreen.scoreNeeded = 80; } if (currentLevel == 3) { _root.goodJobScreen.scoreNeeded = 100; } if (currentLevel == 4) { _root.goodJobScreen.scoreNeeded = 150; } if (currentLevel == 5) { _root.goodJobScreen.scoreNeeded = 200; } if (currentLevel == 6) { _root.goodJobScreen.scoreNeeded = 250; } if (currentLevel == 7) { _root.goodJobScreen.scoreNeeded = 300; } if (currentLevel == 8) { _root.goodJobScreen.scoreNeeded = 350; } if (currentLevel == 9) { _root.goodJobScreen.scoreNeeded = 400; } if (currentLevel == 10) { _root.goodJobScreen.scoreNeeded = 450; } if (currentLevel == 11) { _root.goodJobScreen.scoreNeeded = 480; } if (currentLevel == 12) { _root.goodJobScreen.scoreNeeded = 500; } } } instance goodJobScreen of movieClip 871 { onClipEvent (enterFrame) { if (_root.guestCount == 0 & _root.restaurantClose == 1) { if (currentLevel == 1 & _root.goodJobScreen.score > 49) { this.gotoAndStop(2); } if (currentLevel == 2 & _root.goodJobScreen.score > 79) { this.gotoAndStop(2); } if (currentLevel == 3 & _root.goodJobScreen.score > 99) { this.gotoAndStop(2); } if (currentLevel == 4 & _root.goodJobScreen.score > 149) { this.gotoAndStop(2); } if (currentLevel == 5 & _root.goodJobScreen.score > 199) { this.gotoAndStop(2); } if (currentLevel == 6 & _root.goodJobScreen.score > 249) { this.gotoAndStop(2); } if (currentLevel == 7 & _root.goodJobScreen.score > 299) { this.gotoAndStop(2); } if (currentLevel == 8 & _root.goodJobScreen.score > 349) { this.gotoAndStop(2); } if (currentLevel == 9 & _root.goodJobScreen.score > 399) { this.gotoAndStop(2); } if (currentLevel == 10 & _root.goodJobScreen.score > 449) { this.gotoAndStop(2); } if (currentLevel == 11 & _root.goodJobScreen.score > 479) { this.gotoAndStop(2); } if (currentLevel == 12 & _root.goodJobScreen.score > 499) { _parent.gotoAndStop('win'); } } } } movieClip 873 { } movieClip 874 { frame 8 { _root.shop.gotoAndStop(3); } } movieClip 880 { } button 881 { on (press) { _root.score -= 450; _root.shop.score -= 450; _root.juicerType = 2; _root.shop.goodsShow.gotoAndStop('juicer'); if (_root.score < 0) { _root.score = 0; } nextFrame(); } } movieClip 884 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 887 { } button 889 { on (press) { _root.shop.goodsShow.gotoAndStop('juicer'); _root.shop.helpRiceCooker2.gotoAndStop(1); _root.shop.helpStove2.gotoAndStop(1); _root.shop.helpMicrowave2.gotoAndStop(1); _root.shop.helpGrill2.gotoAndStop(1); nextFrame(); } } movieClip 891 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 893 { } button 894 { on (press) { _root.score -= 400; _root.shop.score -= 400; _root.riceCookerType = 2; _root.shop.goodsShow.gotoAndStop('riceCooker'); if (_root.score < 0) { _root.score = 0; } nextFrame(); } } movieClip 895 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } button 896 { on (press) { _root.shop.goodsShow.gotoAndStop('riceCooker'); _root.shop.helpStove2.gotoAndStop(1); _root.shop.helpJuicer2.gotoAndStop(1); _root.shop.helpMicrowave2.gotoAndStop(1); _root.shop.helpGrill2.gotoAndStop(1); nextFrame(); } } movieClip 898 { frame 1 { stop(); } frame 2 { stop(); } } button 899 { on (press) { _global.trayFill = 0; _root.refrigeratorOpen = 0; _root.riceCooking = 0; _root.stoveCooking = 0; _root.grillCooking = 0; _root.microwaveCooking = 0; _root.juiceMaking = 0; _root.rice = 0; _root.bakso = 0; _root.sate = 0; _root.noodle = 0; _root.frenchFries = 0; _root.shrimp = 0; _root.pizza = 0; _root.breadCircle = 0; _root.breadLong = 0; _root.ham = 0; _root.sausage = 0; _root.martabak = 0; _root.breadCircleCooked = 0; _root.breadLongCooked = 0; _root.grillHam = 0; _root.grillSausage = 0; _root.friedRice = 0; _root.baksoCooked = 0; _root.grillSate = 0; _root.noodleCooked = 0; _root.friedFrenchFries = 0; _root.friedShrimp = 0; _root.pizzaCooked = 0; _root.burger = 0; _root.hotDog = 0; _root.friedMartabak = 0; _root.juiceMelon = 0; _root.juiceTomato = 0; _root.juiceOrange = 0; _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); _root.chef.chef1.food2.gotoAndStop('empty'); _root.chef.chef1.drinks.gotoAndStop('empty'); _root.riceCooker.riceCooker1.gotoAndStop(1); _root.riceCooker.riceCooker2.gotoAndStop(1); _root.stove.stove1.gotoAndStop(1); _root.stove.stove2.gotoAndStop(1); _root.microwave.microwave1.gotoAndStop(1); _root.microwave.microwave2.gotoAndStop(1); _root.grill.grill1.gotoAndStop(1); _root.grill.grill2.gotoAndStop(1); _root.juicer.juicer1.orange1.gotoAndStop(1); _root.juicer.juicer1.tomato1.gotoAndStop(1); _root.juicer.juicer1.melon1.gotoAndStop(1); _root.juicer.juicer2.orange2.gotoAndStop(1); _root.juicer.juicer2.tomato2.gotoAndStop(1); _root.juicer.juicer2.melon2.gotoAndStop(1); _root.refrigeratorInventory.gotoAndStop('close'); _root.refrigerator.refrigerator1.gotoAndStop('close'); _root.trash.gotoAndStop(1); _root.day.gotoAndStop(1); _root.goodJobScreen.gotoAndStop(1); _root.chef._x = 303.05; _root.chef._y = 280.55; _root.window1.gotoAndStop(1); _root.window2.gotoAndStop(1); _root.lightNotice.gotoAndStop(1); _parent.nextFrame(); _root.shop.gotoAndStop(1); } } button 901 { on (press) { _root.score -= 800; _root.shop.score -= 800; _root.stoveType = 2; _root.shop.goodsShow.gotoAndStop('stove'); if (_root.score < 0) { _root.score = 0; } nextFrame(); } } movieClip 902 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } button 904 { on (press) { _root.shop.goodsShow.gotoAndStop('stove'); _root.shop.helpRiceCooker2.gotoAndStop(1); _root.shop.helpJuicer2.gotoAndStop(1); _root.shop.helpMicrowave2.gotoAndStop(1); _root.shop.helpGrill2.gotoAndStop(1); nextFrame(); } } movieClip 906 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 931 { } movieClip 933 { } movieClip 935 { instance window1 of movieClip 931 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } instance window2 of movieClip 933 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } } button 936 { on (press) { _root.score -= 100; _root.shop.score -= 100; _root.wallTileType = 1; if (_root.score < 0) { _root.score = 0; } gotoAndStop(3); } } movieClip 937 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } button 938 { on (press) { _root.score -= 100; _root.shop.score -= 100; _root.wallTileType = 2; if (_root.score < 0) { _root.score = 0; } gotoAndStop(3); } } movieClip 939 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 941 { instance window1 of movieClip 931 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } instance window2 of movieClip 933 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } } button 942 { on (press) { _root.score -= 100; _root.shop.score -= 100; _root.wallTileType = 3; if (_root.score < 0) { _root.score = 0; } gotoAndStop(3); } } movieClip 943 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 947 { instance window1 of movieClip 931 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } instance window2 of movieClip 933 { onClipEvent (enterFrame) { if (pausePlay == 1 || _root.restaurantClose == 1) { this.stop(); } else { this.play(); } } } } button 949 { on (press) { _root.score -= 80; _root.shop.score -= 80; _root.counterType = 1; if (_root.score < 0) { _root.score = 0; } gotoAndStop(3); } } movieClip 950 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 952 { } button 953 { on (press) { _root.score -= 80; _root.shop.score -= 80; _root.counterType = 2; if (_root.score < 0) { _root.score = 0; } gotoAndStop(3); } } movieClip 954 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 956 { } button 957 { on (press) { _root.score -= 80; _root.shop.score -= 80; _root.counterType = 3; if (_root.score < 0) { _root.score = 0; } gotoAndStop(3); } } movieClip 958 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 960 { } movieClip 961 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } instance of movieClip 937 { onClipEvent (enterFrame) { if (_root.wallTileType == 1) { this.gotoAndStop(3); } else { if (_root.score < 100) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } frame 8 { stop(); } instance of movieClip 939 { onClipEvent (enterFrame) { if (_root.wallTileType == 2) { this.gotoAndStop(3); } else { if (_root.score < 100) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } frame 9 { stop(); } instance of movieClip 943 { onClipEvent (enterFrame) { if (_root.wallTileType == 3) { this.gotoAndStop(3); } else { if (_root.score < 100) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } frame 10 { stop(); } instance of movieClip 950 { onClipEvent (enterFrame) { if (_root.counterType == 1) { this.gotoAndStop(3); } else { if (_root.score < 80) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } frame 11 { stop(); } instance of movieClip 954 { onClipEvent (enterFrame) { if (_root.counterType == 2) { this.gotoAndStop(3); } else { if (_root.score < 80) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } frame 12 { stop(); } instance of movieClip 958 { onClipEvent (enterFrame) { if (_root.counterType == 3) { this.gotoAndStop(3); } else { if (_root.score < 80) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } } button 962 { on (press) { _root.score -= 600; _root.shop.score -= 600; _root.microwaveType = 2; _root.shop.goodsShow.gotoAndStop('microWave'); if (_root.score < 0) { _root.score = 0; } nextFrame(); } } movieClip 963 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } button 964 { on (press) { _root.shop.goodsShow.gotoAndStop('microWave'); _root.shop.helpRiceCooker2.gotoAndStop(1); _root.shop.helpStove2.gotoAndStop(1); _root.shop.helpJuicer2.gotoAndStop(1); _root.shop.helpGrill2.gotoAndStop(1); nextFrame(); } } movieClip 966 { frame 1 { stop(); } frame 2 { stop(); } } button 970 { on (press) { _root.shop.goodsShow.gotoAndStop('grill'); _root.shop.helpRiceCooker2.gotoAndStop(1); _root.shop.helpStove2.gotoAndStop(1); _root.shop.helpJuicer2.gotoAndStop(1); _root.shop.helpMicrowave2.gotoAndStop(1); nextFrame(); } } movieClip 972 { frame 1 { stop(); } frame 2 { stop(); } } button 973 { on (press) { _root.score -= 650; _root.shop.score -= 650; _root.grillType = 2; _root.shop.goodsShow.gotoAndStop('grill'); if (_root.score < 0) { _root.score = 0; } nextFrame(); } } movieClip 974 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } button 977 { on (press) { _root.shop.wallTile2Shop.gotoAndStop(1); _root.shop.wallTile3Shop.gotoAndStop(1); _root.shop.goodsShow.gotoAndStop('wallTile1'); nextFrame(); } } movieClip 978 { frame 1 { stop(); } frame 2 { stop(); } } button 979 { on (press) { _root.shop.wallTile1Shop.gotoAndStop(1); _root.shop.wallTile3Shop.gotoAndStop(1); _root.shop.goodsShow.gotoAndStop('wallTile2'); nextFrame(); } } movieClip 980 { frame 1 { stop(); } frame 2 { stop(); } } button 981 { on (press) { _root.shop.wallTile1Shop.gotoAndStop(1); _root.shop.wallTile2Shop.gotoAndStop(1); _root.shop.goodsShow.gotoAndStop('wallTile3'); nextFrame(); } } movieClip 982 { frame 1 { stop(); } frame 2 { stop(); } } button 984 { on (press) { _root.shop.counterShop2.gotoAndStop(1); _root.shop.counterShop3.gotoAndStop(1); _root.shop.goodsShow.gotoAndStop('counter1'); nextFrame(); } } movieClip 985 { frame 1 { stop(); } frame 2 { stop(); } } button 986 { on (press) { _root.shop.counterShop1.gotoAndStop(1); _root.shop.counterShop3.gotoAndStop(1); _root.shop.goodsShow.gotoAndStop('counter2'); nextFrame(); } } movieClip 987 { frame 1 { stop(); } frame 2 { stop(); } } button 988 { on (press) { _root.shop.counterShop1.gotoAndStop(1); _root.shop.counterShop2.gotoAndStop(1); _root.shop.goodsShow.gotoAndStop('counter3'); nextFrame(); } } movieClip 989 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 990 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } instance of movieClip 884 { onClipEvent (enterFrame) { if (_root.juicerType == 1 & _root.score >= 450) { this.gotoAndStop(1); } if (_root.juicerType == 1 & _root.score < 450) { this.gotoAndStop(2); } if (_root.juicerType == 2) { this.gotoAndStop(3); } } } instance of movieClip 895 { onClipEvent (enterFrame) { if (_root.riceCookerType == 1 & _root.score >= 400) { this.gotoAndStop(1); } if (_root.riceCookerType == 1 & _root.score < 400) { this.gotoAndStop(2); } if (_root.riceCookerType == 2) { this.gotoAndStop(3); } } } instance of movieClip 902 { onClipEvent (enterFrame) { if (_root.stoveType == 1 & _root.score >= 800) { this.gotoAndStop(1); } if (_root.stoveType == 1 & _root.score < 800) { this.gotoAndStop(2); } if (_root.stoveType == 2) { this.gotoAndStop(3); } } } instance of movieClip 963 { onClipEvent (enterFrame) { if (_root.microwaveType == 1 & _root.score >= 600) { this.gotoAndStop(1); } if (_root.microwaveType == 1 & _root.score < 600) { this.gotoAndStop(2); } if (_root.microwaveType == 2) { this.gotoAndStop(3); } } } instance of movieClip 974 { onClipEvent (enterFrame) { if (_root.grillType == 1 & _root.score >= 650) { this.gotoAndStop(1); } if (_root.grillType == 1 & _root.score < 650) { this.gotoAndStop(2); } if (_root.grillType == 2) { this.gotoAndStop(3); } } } instance wallTile1Shop of movieClip 978 { onClipEvent (load) { if (_root.wallTileType == 1) { this.gotoAndStop(2); } } } instance wallTile2Shop of movieClip 980 { onClipEvent (load) { if (_root.wallTileType == 2) { this.gotoAndStop(2); } } } instance wallTile3Shop of movieClip 982 { onClipEvent (load) { if (_root.wallTileType == 3) { this.gotoAndStop(2); } } } instance counterShop1 of movieClip 985 { onClipEvent (load) { if (_root.counterType == 1) { this.gotoAndStop(2); } } } instance counterShop2 of movieClip 987 { onClipEvent (load) { if (_root.counterType == 2) { this.gotoAndStop(2); } } } instance counterShop3 of movieClip 989 { onClipEvent (load) { if (_root.counterType == 3) { this.gotoAndStop(2); } } } } movieClip 993 { } movieClip 994 { frame 1 { play(); } frame 24 { tellTarget ('_parent.') { _parent.gotoAndStop('gameOver'); } } } movieClip 999 { } movieClip 1002 { } movieClip 1003 { } movieClip 1006 { } button 1007 { on (press) { _global.pausePlay = 0; _root.gameOverScreen.gotoAndStop(1); _parent.gotoAndStop('level1'); } } movieClip 1009 { } button 1010 { on (press) { _parent.gotoAndStop('submitLose'); } } movieClip 1012 { } movieClip 1015 { frame 1 { stop(); } frame 2 { stop(); _global.pausePlay = 1; } frame 3 { stop(); } } instance gameOverScreen of movieClip 1015 { onClipEvent (enterFrame) { if (_root.guestCount < 1 & _root.restaurantClose == 1) { if (currentLevel == 1 & _root.goodJobScreen.score < 50) { this.gotoAndStop(2); } if (currentLevel == 2 & _root.goodJobScreen.score < 80) { this.gotoAndStop(2); } if (currentLevel == 3 & _root.goodJobScreen.score < 100) { this.gotoAndStop(2); } if (currentLevel == 4 & _root.goodJobScreen.score < 150) { this.gotoAndStop(2); } if (currentLevel == 5 & _root.goodJobScreen.score < 200) { this.gotoAndStop(2); } if (currentLevel == 6 & _root.goodJobScreen.score < 250) { this.gotoAndStop(2); } if (currentLevel == 7 & _root.goodJobScreen.score < 300) { this.gotoAndStop(2); } if (currentLevel == 8 & _root.goodJobScreen.score < 350) { this.gotoAndStop(2); } if (currentLevel == 9 & _root.goodJobScreen.score < 400) { this.gotoAndStop(2); } if (currentLevel == 10 & _root.goodJobScreen.score < 450) { this.gotoAndStop(2); } if (currentLevel == 11 & _root.goodJobScreen.score < 480) { this.gotoAndStop(2); } if (currentLevel == 12 & _root.goodJobScreen.score < 500) { this.gotoAndStop(2); } } } } movieClip 1017 { } movieClip 1021 { frame 1 { play(); stopAllSounds(); } frame 70 { stop(); _global.pausePlay = 0; _root.inGameMusic.gotoAndStop(2); if (currentLevel == 5) { _root.specialScreen.gotoAndStop(2); } } } frame 6 { stop(); _root.day.countDay = 2; _global.currentLevel = 2; _root.guestCount = 11; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } instance refrigerator of movieClip 592 { onClipEvent (enterFrame) { if (_root.refrigeratorType == 1) { this.gotoAndStop('1'); } else { if (_root.refrigeratorType == 2) { this.gotoAndStop('2'); } else { if (_root.refrigeratorType == 3) { this.gotoAndStop('3'); } else { if (_root.refrigeratorType == 4) { this.gotoAndStop('4'); } else { if (_root.refrigeratorType == 5) { this.gotoAndStop('5'); } } } } } } } button 1039 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone1.phone1Order.gotoAndStop(2); _root.telephone1.gotoAndStop('waiting'); } } } movieClip 1056 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1060 { } movieClip 1061 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1065 { frame 1 { play(); } frame 840 { stop(); _root.telephone1.gotoAndStop('leaveBad'); } } button 1066 { on (press) { if (pausePlay == 0) { _root.telephone1.phone1Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone1.gotoAndStop('good'); } } } } movieClip 1067 { } movieClip 1069 { frame 1 { play(); } frame 24 { _root.telephone1.gotoAndStop('leaveGood'); } } movieClip 1071 { frame 1 { stop(); } instance of movieClip 1056 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1065 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); _root.guestCount -= 1; } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); } } movieClip 1074 { frame 1 { play(); } frame 308 { _root.guestArriveMusic.gotoAndStop(2); } frame 320 { _root.guest9.guest9Order.gotoAndStop(2); _root.guest9.gotoAndStop('waiting'); } } movieClip 1076 { } movieClip 1077 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1079 { on (press) { if (pausePlay == 0) { _root.guest9.guest9Order.gotoAndStop(2); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest9.guest9Order._alpha = 0; _root.guest9.gotoAndStop('good'); } } } } movieClip 1080 { } movieClip 1084 { frame 1 { play(); } frame 360 { _root.guest9.gotoAndStop('bad'); } frame 540 { stop(); _root.guest9.gotoAndStop('leaveBad'); } } button 1086 { on (press) { if (pausePlay == 0) { _root.guest9.guest9Order.gotoAndStop(2); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest9.guest9Order._alpha = 0; _root.guest9.gotoAndStop('good'); } } } } movieClip 1087 { } movieClip 1089 { frame 1 { play(); } frame 24 { _root.guest9.gotoAndStop('leaveGood'); } } movieClip 1090 { frame 1 { stop(); } instance of movieClip 1074 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 1084 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest10.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest10.gotoAndStop(2); } else { _root.guestCount -= 9; } } } movieClip 1092 { frame 1 { play(); } frame 48 { _root.guestArriveMusic.gotoAndStop(2); } frame 60 { _root.guest10.guest10Order.gotoAndStop(2); _root.guest10.gotoAndStop('waiting'); } } movieClip 1096 { } movieClip 1097 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1099 { on (press) { if (pausePlay == 0) { _root.guest10.guest10Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest10.guest10Order._alpha = 0; _root.guest10.gotoAndStop('good'); } } } } movieClip 1100 { } movieClip 1104 { frame 1 { play(); } frame 440 { _root.guest10.gotoAndStop('bad'); } frame 660 { stop(); _root.guest10.gotoAndStop('leaveBad'); } } button 1106 { on (press) { if (pausePlay == 0) { _root.guest10.guest10Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest10.guest10Order._alpha = 0; _root.guest10.gotoAndStop('good'); } } } } movieClip 1107 { } movieClip 1109 { frame 1 { play(); } frame 24 { _root.guest10.gotoAndStop('leaveGood'); } } movieClip 1110 { frame 1 { stop(); } frame 2 { stop(); } instance guest4Arrive of movieClip 1092 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1104 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest11.gotoAndStop(2); } else { _root.guestCount -= 8; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest11.gotoAndStop(2); } else { _root.guestCount -= 8; } } } movieClip 1112 { frame 1 { play(); } frame 48 { _root.guestArriveMusic.gotoAndStop(2); } frame 60 { _root.guest11.guest11Order.gotoAndStop(2); _root.guest11.gotoAndStop('waiting'); } } movieClip 1114 { } movieClip 1115 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1117 { on (press) { if (pausePlay == 0) { _root.guest11.guest11Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest11.guest11Order._alpha = 0; _root.guest11.gotoAndStop('good'); } } } } movieClip 1118 { } movieClip 1122 { frame 1 { play(); } frame 400 { _root.guest11.gotoAndStop('bad'); } frame 600 { stop(); _root.guest11.gotoAndStop('leaveBad'); } } button 1124 { on (press) { if (pausePlay == 0) { _root.guest11.guest11Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest11.guest11Order._alpha = 0; _root.guest11.gotoAndStop('good'); } } } } movieClip 1125 { } movieClip 1127 { frame 1 { play(); } frame 24 { _root.guest11.gotoAndStop('leaveGood'); } } movieClip 1128 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1112 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1122 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest12.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest12.gotoAndStop(2); } else { _root.guestCount -= 7; } } } movieClip 1130 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest12.guest12Order.gotoAndStop(2); _root.guest12.gotoAndStop('waiting'); } } movieClip 1132 { } movieClip 1133 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1135 { on (press) { if (pausePlay == 0) { _root.guest12.guest12Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest12.guest12Order._alpha = 0; _root.guest12.gotoAndStop('good'); } } } } movieClip 1136 { } movieClip 1140 { frame 1 { play(); } frame 400 { _root.guest12.gotoAndStop('bad'); } frame 600 { stop(); _root.guest12.gotoAndStop('leaveBad'); } } button 1142 { on (press) { if (pausePlay == 0) { _root.guest12.guest12Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest12.guest12Order._alpha = 0; _root.guest12.gotoAndStop('good'); } } } } movieClip 1143 { } movieClip 1145 { frame 1 { play(); } frame 24 { _root.guest12.gotoAndStop('leaveGood'); } } movieClip 1146 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1130 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1140 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone1.gotoAndStop('none'); _root.telephone2.gotoAndStop(2); _root.guest13.gotoAndStop(2); } else { _root.guestCount -= 6; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone1.gotoAndStop('none'); _root.telephone2.gotoAndStop(2); _root.guest13.gotoAndStop(2); } else { _root.guestCount -= 6; } } } button 1149 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone2.phone2Order.gotoAndStop(2); _root.telephone2.gotoAndStop('waiting'); } } } movieClip 1165 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1167 { } movieClip 1168 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1172 { frame 1 { play(); } frame 880 { stop(); _root.telephone2.gotoAndStop('leaveBad'); } } button 1173 { on (press) { if (pausePlay == 0) { _root.telephone2.phone2Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone2.gotoAndStop('good'); } } } } movieClip 1174 { } movieClip 1176 { frame 1 { play(); } frame 24 { _root.telephone2.gotoAndStop('leaveGood'); } } movieClip 1178 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1165 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1172 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest14.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest14.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); } } movieClip 1180 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest13.guest13Order.gotoAndStop(2); _root.guest13.gotoAndStop('waiting'); } } movieClip 1181 { } movieClip 1182 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1184 { on (press) { if (pausePlay == 0) { _root.guest13.guest13Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest13.guest13Order._alpha = 0; _root.guest13.gotoAndStop('good'); } } } } movieClip 1185 { } movieClip 1189 { frame 1 { play(); } frame 480 { _root.guest13.gotoAndStop('bad'); } frame 720 { stop(); _root.guest13.gotoAndStop('leaveBad'); } } button 1191 { on (press) { if (pausePlay == 0) { _root.guest13.guest13Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest13.guest13Order._alpha = 0; _root.guest13.gotoAndStop('good'); } } } } movieClip 1192 { } movieClip 1194 { frame 1 { play(); } frame 24 { _root.guest13.gotoAndStop('leaveGood'); } } movieClip 1195 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1180 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1189 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest15.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest15.gotoAndStop(2); } else { _root.guestCount -= 3; } } } movieClip 1197 { frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest14.guest14Order.gotoAndStop(2); _root.guest14.gotoAndStop('waiting'); } } movieClip 1198 { } movieClip 1199 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1201 { on (press) { if (pausePlay == 0) { _root.guest14.guest14Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest14.guest14Order._alpha = 0; _root.guest14.gotoAndStop('good'); } } } } movieClip 1202 { } movieClip 1206 { frame 1 { play(); } frame 400 { _root.guest14.gotoAndStop('bad'); } frame 600 { stop(); _root.guest14.gotoAndStop('leaveBad'); } } button 1208 { on (press) { if (pausePlay == 0) { _root.guest14.guest14Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest14.guest14Order._alpha = 0; _root.guest14.gotoAndStop('good'); } } } } movieClip 1209 { } movieClip 1211 { frame 1 { play(); } frame 24 { _root.guest14.gotoAndStop('leaveGood'); } } movieClip 1212 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1197 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1206 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest91.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest91.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 1214 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest15.guest15Order.gotoAndStop(2); _root.guest15.gotoAndStop('waiting'); } } movieClip 1216 { } movieClip 1217 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1219 { on (press) { if (pausePlay == 0) { _root.guest15.guest15Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest15.guest15Order._alpha = 0; _root.guest15.gotoAndStop('good'); } } } } movieClip 1220 { } movieClip 1224 { frame 1 { play(); } frame 360 { _root.guest15.gotoAndStop('bad'); } frame 540 { stop(); _root.guest15.gotoAndStop('leaveBad'); } } button 1226 { on (press) { if (pausePlay == 0) { _root.guest15.guest15Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest15.guest15Order._alpha = 0; _root.guest15.gotoAndStop('good'); } } } } movieClip 1227 { } movieClip 1229 { frame 1 { play(); } frame 24 { _root.guest15.gotoAndStop('leaveGood'); } } movieClip 1230 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1214 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1224 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest16.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest16.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 1232 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest16.guest16Order.gotoAndStop(2); _root.guest16.gotoAndStop('waiting'); } } movieClip 1234 { } movieClip 1235 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1237 { on (press) { if (pausePlay == 0) { _root.guest16.guest16Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest16.guest16Order._alpha = 0; _root.guest16.gotoAndStop('good'); } } } } movieClip 1238 { } movieClip 1242 { frame 1 { play(); } frame 440 { _root.guest16.gotoAndStop('bad'); } frame 660 { stop(); _root.guest16.gotoAndStop('leaveBad'); } } button 1244 { on (press) { if (pausePlay == 0) { _root.guest16.guest16Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest16.guest16Order._alpha = 0; _root.guest16.gotoAndStop('good'); } } } } movieClip 1245 { } movieClip 1247 { frame 1 { play(); } frame 24 { _root.guest16.gotoAndStop('leaveGood'); } } movieClip 1248 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1232 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1242 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 1250 { frame 388 { _root.guestArriveMusic.gotoAndStop(2); } frame 400 { _root.guest91.guest91Order.gotoAndStop(2); _root.guest91.gotoAndStop('waiting'); } } movieClip 1252 { } movieClip 1253 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1255 { on (press) { if (pausePlay == 0) { _root.guest91.guest91Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest91.guest91Order._alpha = 0; _root.guest91.gotoAndStop('good'); } } } } movieClip 1256 { } movieClip 1260 { frame 1 { play(); } frame 520 { _root.guest91.gotoAndStop('bad'); } frame 780 { stop(); _root.guest91.gotoAndStop('leaveBad'); } } button 1262 { on (press) { if (pausePlay == 0) { _root.guest91.guest91Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest91.guest91Order._alpha = 0; _root.guest91.gotoAndStop('good'); } } } } movieClip 1263 { } movieClip 1265 { frame 1 { play(); } frame 24 { _root.guest91.gotoAndStop('leaveGood'); } } movieClip 1266 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1250 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1260 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 1268 { } movieClip 1269 { frame 1 { play(); } frame 24 { stop(); } } movieClip 1270 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1270 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 79) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 2 & _root.goodJobScreen.score > 79) { this.gotoAndStop(2); } } } frame 7 { stop(); _root.day.countDay = 3; _global.currentLevel = 3; _root.guestCount = 11; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } button 1288 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone4.phone4Order.gotoAndStop(2); _root.telephone4.gotoAndStop('waiting'); } } } movieClip 1304 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1306 { } movieClip 1307 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1311 { frame 1 { play(); } frame 880 { stop(); _root.telephone4.gotoAndStop('leaveBad'); } } button 1312 { on (press) { if (pausePlay == 0) { _root.telephone4.phone4Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); _root.cashier.gotoAndStop('ok'); } _root.telephone4.gotoAndStop('good'); } } } } movieClip 1313 { } movieClip 1315 { frame 1 { play(); } frame 24 { _root.telephone4.gotoAndStop('leaveGood'); } } movieClip 1317 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1304 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1311 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } button 1320 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone5.phone5Order.gotoAndStop(2); _root.telephone5.gotoAndStop('waiting'); } } } movieClip 1336 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1338 { } movieClip 1339 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1343 { frame 1 { play(); } frame 880 { stop(); _root.telephone5.gotoAndStop('leaveBad'); } } button 1344 { on (press) { if (pausePlay == 0) { _root.telephone5.phone5Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone5.gotoAndStop('good'); } } } } movieClip 1345 { } movieClip 1347 { frame 1 { play(); } frame 24 { _root.telephone5.gotoAndStop('leaveGood'); } } movieClip 1349 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1336 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1343 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } movieClip 1352 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest17.guest17Order.gotoAndStop(2); _root.guest17.gotoAndStop('waiting'); } } movieClip 1354 { } movieClip 1356 { } movieClip 1357 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 1359 { on (press) { if (pausePlay == 0) { if (_root.firstOrder == 0) { _root.guest17.guest17Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.firstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.firstOrder == 1) { _root.guest17.guest17Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.secondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest17.guest17Order._alpha = 0; _root.guest17.gotoAndStop('good'); } } } } } movieClip 1360 { } movieClip 1364 { frame 1 { play(); } frame 600 { _root.guest17.gotoAndStop('bad'); } frame 900 { stop(); _root.guest17.gotoAndStop('leaveBad'); } } button 1366 { on (press) { if (pausePlay == 0) { if (_root.firstOrder == 0) { _root.guest17.guest17Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.firstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.firstOrder == 1) { _root.guest17.guest17Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.secondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest17.guest17Order._alpha = 0; _root.guest17.gotoAndStop('good'); } } } } } movieClip 1367 { } movieClip 1369 { frame 1 { play(); } frame 24 { _root.guest17.gotoAndStop('leaveGood'); } } movieClip 1370 { frame 1 { stop(); } instance of movieClip 1352 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 1364 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone1.gotoAndStop('none'); _root.telephone4.gotoAndStop(2); _root.guest19.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone1.gotoAndStop('none'); _root.telephone4.gotoAndStop(2); _root.guest19.gotoAndStop(2); } else { _root.guestCount -= 9; } } } instance guest17 of movieClip 1370 { onClipEvent (load) { _root.firstOrder = 0; _root.secondOrder = 0; } } movieClip 1372 { frame 1 { play(); } frame 388 { _root.guestArriveMusic.gotoAndStop(2); } frame 400 { _root.guest18.guest18Order.gotoAndStop(2); _root.guest18.gotoAndStop('waiting'); } } movieClip 1376 { } movieClip 1377 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1379 { on (press) { if (pausePlay == 0) { _root.guest18.guest18Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest18.guest18Order._alpha = 0; _root.guest18.gotoAndStop('good'); } } } } movieClip 1380 { } movieClip 1384 { frame 1 { play(); } frame 480 { _root.guest18.gotoAndStop('bad'); } frame 720 { stop(); _root.guest18.gotoAndStop('leaveBad'); } } button 1386 { on (press) { if (pausePlay == 0) { _root.guest18.guest18Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest18.guest18Order._alpha = 0; _root.guest18.gotoAndStop('good'); } } } } movieClip 1387 { } movieClip 1389 { frame 1 { play(); } frame 24 { _root.guest18.gotoAndStop('leaveGood'); } } movieClip 1390 { frame 1 { stop(); } instance of movieClip 1372 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 1384 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } } movieClip 1392 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest19.guest19Order.gotoAndStop(2); _root.guest19.gotoAndStop('waiting'); } } movieClip 1394 { } movieClip 1395 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1397 { on (press) { if (pausePlay == 0) { _root.guest19.guest19Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest19.guest19Order._alpha = 0; _root.guest19.gotoAndStop('good'); } } } } movieClip 1398 { } movieClip 1402 { frame 1 { play(); } frame 480 { _root.guest19.gotoAndStop('bad'); } frame 720 { stop(); _root.guest19.gotoAndStop('leaveBad'); } } button 1404 { on (press) { if (pausePlay == 0) { _root.guest19.guest19Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.guestCount -= 1; _root.baksoCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest19.guest19Order._alpha = 0; _root.guest19.gotoAndStop('good'); } } } } movieClip 1405 { } movieClip 1407 { frame 1 { play(); } frame 24 { _root.guest19.gotoAndStop('leaveGood'); } } movieClip 1408 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1392 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1402 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest20.gotoAndStop(2); _root.guest21.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest20.gotoAndStop(2); _root.guest21.gotoAndStop(2); } else { _root.guestCount -= 7; } } } movieClip 1410 { frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest20.guest20Order.gotoAndStop(2); _root.guest20.gotoAndStop('waiting'); } } movieClip 1412 { } movieClip 1413 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1415 { on (press) { if (pausePlay == 0) { _root.guest20.guest20Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest20.guest20Order._alpha = 0; _root.guest20.gotoAndStop('good'); } } } } movieClip 1416 { } movieClip 1420 { frame 1 { play(); } frame 520 { _root.guest20.gotoAndStop('bad'); } frame 780 { stop(); _root.guest20.gotoAndStop('leaveBad'); } } button 1422 { on (press) { if (pausePlay == 0) { _root.guest20.guest20Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest20.guest20Order._alpha = 0; _root.guest20.gotoAndStop('good'); } } } } movieClip 1423 { } movieClip 1425 { frame 1 { play(); } frame 24 { _root.guest20.gotoAndStop('leaveGood'); } } movieClip 1426 { frame 1 { stop(); } frame 2 { stop(); } instance guest2Arrive of movieClip 1410 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1420 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 1428 { frame 1 { play(); } frame 308 { _root.guestArriveMusic.gotoAndStop(2); } frame 320 { _root.guest21.guest21Order.gotoAndStop(2); _root.guest21.gotoAndStop('waiting'); } } movieClip 1429 { } movieClip 1430 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1432 { on (press) { if (pausePlay == 0) { _root.guest21.guest21Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest21.guest21Order._alpha = 0; _root.guest21.gotoAndStop('good'); } } } } movieClip 1433 { } movieClip 1437 { frame 1 { play(); } frame 360 { _root.guest21.gotoAndStop('bad'); } frame 540 { stop(); _root.guest21.gotoAndStop('leaveBad'); } } button 1439 { on (press) { if (pausePlay == 0) { _root.guest21.guest21Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest21.guest21Order._alpha = 0; _root.guest21.gotoAndStop('good'); } } } } movieClip 1440 { } movieClip 1442 { frame 1 { play(); } frame 24 { _root.guest21.gotoAndStop('leaveGood'); } } movieClip 1443 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1428 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1437 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest22.gotoAndStop(2); _root.guest23.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest22.gotoAndStop(2); _root.guest23.gotoAndStop(2); } else { _root.guestCount -= 5; } } } movieClip 1445 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest22.guest22Order.gotoAndStop(2); _root.guest22.gotoAndStop('waiting'); } } movieClip 1447 { } movieClip 1449 { } movieClip 1450 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 1452 { on (press) { if (pausePlay == 0) { if (_root.guest22FirstOrder == 0) { _root.guest22.guest22Order.gotoAndStop('2OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest22FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest22FirstOrder == 1) { _root.guest22.guest22Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest22SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest22.guest22Order._alpha = 0; _root.guest22.gotoAndStop('good'); } } } } } movieClip 1453 { } movieClip 1457 { frame 1 { play(); } frame 600 { _root.guest22.gotoAndStop('bad'); } frame 900 { stop(); _root.guest22.gotoAndStop('leaveBad'); } } button 1459 { on (press) { if (pausePlay == 0) { if (_root.guest22FirstOrder == 0) { _root.guest22.guest22Order.gotoAndStop('2OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest22FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest22FirstOrder == 1) { _root.guest22.guest22Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest22SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest22.guest22Order._alpha = 0; _root.guest22.gotoAndStop('good'); } } } } } movieClip 1460 { } movieClip 1462 { frame 1 { play(); } frame 24 { _root.guest22.gotoAndStop('leaveGood'); } } movieClip 1463 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1445 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1457 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest24.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest24.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance guest22 of movieClip 1463 { onClipEvent (load) { _root.guest22FirstOrder = 0; _root.guest22SecondOrder = 0; } } movieClip 1465 { frame 1 { play(); } frame 328 { _root.guestArriveMusic.gotoAndStop(2); } frame 340 { _root.guest23.guest23Order.gotoAndStop(2); _root.guest23.gotoAndStop('waiting'); } } movieClip 1467 { } movieClip 1468 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1470 { on (press) { if (pausePlay == 0) { _root.guest23.guest23Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest23.guest23Order._alpha = 0; _root.guest23.gotoAndStop('good'); } } } } movieClip 1471 { } movieClip 1475 { frame 1 { play(); } frame 440 { _root.guest23.gotoAndStop('bad'); } frame 660 { stop(); _root.guest23.gotoAndStop('leaveBad'); } } button 1477 { on (press) { if (pausePlay == 0) { _root.guest23.guest23Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest23.guest23Order._alpha = 0; _root.guest23.gotoAndStop('good'); } } } } movieClip 1478 { } movieClip 1480 { frame 1 { play(); } frame 24 { _root.guest23.gotoAndStop('leaveGood'); } } movieClip 1481 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1465 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1475 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 1483 { frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest24.guest24Order.gotoAndStop(2); _root.guest24.gotoAndStop('waiting'); } } movieClip 1485 { } movieClip 1486 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1488 { on (press) { if (pausePlay == 0) { _root.guest24.guest24Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest24.guest24Order._alpha = 0; _root.guest24.gotoAndStop('good'); } } } } movieClip 1489 { } movieClip 1493 { frame 1 { play(); } frame 560 { _root.guest24.gotoAndStop('bad'); } frame 840 { stop(); _root.guest24.gotoAndStop('leaveBad'); } } button 1495 { on (press) { if (pausePlay == 0) { _root.guest24.guest24Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest24.guest24Order._alpha = 0; _root.guest24.gotoAndStop('good'); } } } } movieClip 1496 { } movieClip 1498 { frame 1 { play(); } frame 24 { _root.guest24.gotoAndStop('leaveGood'); } } movieClip 1499 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1483 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1493 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; trace('Guest: ' + _root.guestCount); if (_root.restaurantClose == 0) { _root.telephone4.gotoAndStop('none'); _root.telephone5.gotoAndStop(2); _root.guest25.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; trace('Guest: ' + _root.guestCount); if (_root.restaurantClose == 0) { _root.telephone4.gotoAndStop('none'); _root.telephone5.gotoAndStop(2); _root.guest25.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 1501 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest25.guest25Order.gotoAndStop(2); _root.guest25.gotoAndStop('waiting'); } } movieClip 1503 { } movieClip 1504 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1506 { on (press) { if (pausePlay == 0) { _root.guest25.guest25Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest25.guest25Order._alpha = 0; _root.guest25.gotoAndStop('good'); } } } } movieClip 1507 { } movieClip 1511 { frame 1 { play(); } frame 440 { _root.guest25.gotoAndStop('bad'); } frame 660 { stop(); _root.guest25.gotoAndStop('leaveBad'); } } button 1513 { on (press) { if (pausePlay == 0) { _root.guest25.guest25Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest25.guest25Order._alpha = 0; _root.guest25.gotoAndStop('good'); } } } } movieClip 1514 { } movieClip 1516 { frame 1 { play(); } frame 24 { _root.guest25.gotoAndStop('leaveGood'); } } movieClip 1517 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1501 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1511 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 1519 { } movieClip 1520 { frame 1 { play(); } frame 24 { stop(); } } movieClip 1521 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1521 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 99) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 3 & _root.goodJobScreen.score > 99) { this.gotoAndStop(2); } } } frame 8 { stop(); _root.day.countDay = 4; _global.currentLevel = 4; _root.guestCount = 11; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 1537 { frame 1 { play(); } frame 360 { _root.telephone6.gotoAndStop(2); } } button 1540 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone6.phone6Order.gotoAndStop(2); _root.telephone6.gotoAndStop('waiting'); } } } movieClip 1556 { frame 1 { play(); } frame 127 { gotoAndPlay('order'); } } movieClip 1558 { } movieClip 1559 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1563 { frame 1 { play(); } frame 760 { stop(); _root.telephone6.gotoAndStop('leaveBad'); } } button 1564 { on (press) { if (pausePlay == 0) { _root.telephone6.phone6Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone6.gotoAndStop('good'); } } } } movieClip 1565 { } movieClip 1567 { frame 1 { play(); } frame 24 { _root.telephone6.gotoAndStop('leaveGood'); } } movieClip 1569 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1556 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1563 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } frame 7 { stop(); } } movieClip 1572 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest26.guest26Order.gotoAndStop(2); _root.guest26.gotoAndStop('waiting'); } } movieClip 1576 { } movieClip 1577 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1579 { on (press) { if (pausePlay == 0) { _root.guest26.guest26Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.stoveType == 2) { _root.score += 39; _root.goodJobScreen.score += 39; _root.shop.score += 39; _root.gameOverScreen.score += 39; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest26.guest26Order._alpha = 0; _root.guest26.gotoAndStop('good'); } } } } movieClip 1580 { } movieClip 1584 { frame 1 { play(); } frame 480 { _root.guest26.gotoAndStop('bad'); } frame 720 { stop(); _root.guest26.gotoAndStop('leaveBad'); } } button 1586 { on (press) { if (pausePlay == 0) { _root.guest26.guest26Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.stoveType == 2) { _root.score += 39; _root.goodJobScreen.score += 39; _root.shop.score += 39; _root.gameOverScreen.score += 39; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest26.guest26Order._alpha = 0; _root.guest26.gotoAndStop('good'); } } } } movieClip 1587 { } movieClip 1589 { frame 1 { play(); } frame 24 { _root.guest26.gotoAndStop('leaveGood'); } } movieClip 1590 { frame 1 { stop(); } instance of movieClip 1572 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 1584 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest28.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest28.gotoAndStop(2); } else { _root.guestCount -= 9; } } } movieClip 1592 { frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest27.guest27Order.gotoAndStop(2); _root.guest27.gotoAndStop('waiting'); } } movieClip 1594 { } movieClip 1595 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1597 { on (press) { if (pausePlay == 0) { _root.guest27.guest27Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest27.guest27Order._alpha = 0; _root.guest27.gotoAndStop('good'); } } } } movieClip 1598 { } movieClip 1602 { frame 1 { play(); } frame 400 { _root.guest27.gotoAndStop('bad'); } frame 600 { stop(); _root.guest27.gotoAndStop('leaveBad'); } } button 1604 { on (press) { if (pausePlay == 0) { _root.guest27.guest27Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest27.guest27Order._alpha = 0; _root.guest27.gotoAndStop('good'); } } } } movieClip 1605 { } movieClip 1607 { frame 1 { play(); } frame 24 { _root.guest27.gotoAndStop('leaveGood'); } } movieClip 1608 { frame 1 { stop(); } instance of movieClip 1592 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 1602 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 1610 { frame 308 { _root.guestArriveMusic.gotoAndStop(2); } frame 320 { _root.guest28.guest28Order.gotoAndStop(2); _root.guest28.gotoAndStop('waiting'); } } movieClip 1612 { } movieClip 1613 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1615 { on (press) { if (pausePlay == 0) { _root.guest28.guest28Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest28.guest28Order._alpha = 0; _root.guest28.gotoAndStop('good'); } } } } movieClip 1616 { } movieClip 1620 { frame 1 { play(); } frame 520 { _root.guest28.gotoAndStop('bad'); } frame 780 { stop(); _root.guest28.gotoAndStop('leaveBad'); } } button 1622 { on (press) { if (pausePlay == 0) { _root.guest28.guest28Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest28.guest28Order._alpha = 0; _root.guest28.gotoAndStop('good'); } } } } movieClip 1623 { } movieClip 1625 { frame 1 { play(); } frame 24 { _root.guest28.gotoAndStop('leaveGood'); } } movieClip 1626 { frame 1 { stop(); } frame 2 { stop(); } instance guest2Arrive of movieClip 1610 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1620 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest29.gotoAndStop(2); _root.guest30.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest29.gotoAndStop(2); _root.guest30.gotoAndStop(2); } else { _root.guestCount -= 9; } } } movieClip 1628 { frame 1 { play(); } frame 168 { _root.guestArriveMusic.gotoAndStop(2); } frame 180 { _root.guest29.guest29Order.gotoAndStop(2); _root.guest29.gotoAndStop('waiting'); } } movieClip 1630 { } movieClip 1631 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1633 { on (press) { if (pausePlay == 0) { _root.guest29.guest29Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest29.guest29Order._alpha = 0; _root.guest29.gotoAndStop('good'); } } } } movieClip 1634 { } movieClip 1638 { frame 1 { play(); } frame 480 { _root.guest29.gotoAndStop('bad'); } frame 720 { stop(); _root.guest29.gotoAndStop('leaveBad'); } } button 1640 { on (press) { if (pausePlay == 0) { _root.guest29.guest29Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest29.guest29Order._alpha = 0; _root.guest29.gotoAndStop('good'); } } } } movieClip 1641 { } movieClip 1643 { frame 1 { play(); } frame 24 { _root.guest29.gotoAndStop('leaveGood'); } } movieClip 1644 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1628 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1638 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone6.gotoAndStop('none'); _root.telephone7.gotoAndStop(2); _root.guest31.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.telephone6.gotoAndStop('none'); _root.telephone7.gotoAndStop(2); _root.guest31.gotoAndStop(2); } else { _root.guestCount -= 7; } } } movieClip 1646 { frame 1 { play(); } frame 288 { _root.guestArriveMusic.gotoAndStop(2); } frame 300 { _root.guest30.guest30Order.gotoAndStop(2); _root.guest30.gotoAndStop('waiting'); } } movieClip 1648 { } movieClip 1650 { } movieClip 1651 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 1653 { on (press) { if (pausePlay == 0) { if (_root.guest30FirstOrder == 0) { _root.guest30.guest30Order.gotoAndStop('2OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest30FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest30FirstOrder == 1) { _root.guest30.guest30Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest30SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest30.guest30Order._alpha = 0; _root.guest30.gotoAndStop('good'); } } } } } movieClip 1654 { } movieClip 1658 { frame 1 { play(); } frame 520 { _root.guest30.gotoAndStop('bad'); } frame 780 { stop(); _root.guest30.gotoAndStop('leaveBad'); } } button 1660 { on (press) { if (pausePlay == 0) { if (_root.guest30FirstOrder == 0) { _root.guest30.guest30Order.gotoAndStop('2OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest30FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest30FirstOrder == 1) { _root.guest30.guest30Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest30SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest30.guest30Order._alpha = 0; _root.guest30.gotoAndStop('good'); } } } } } movieClip 1661 { } movieClip 1663 { frame 1 { play(); } frame 24 { _root.guest30.gotoAndStop('leaveGood'); } } movieClip 1664 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1646 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1658 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest32.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest32.gotoAndStop(2); } else { _root.guestCount -= 7; } } } instance guest30 of movieClip 1664 { onClipEvent (load) { _root.guest30FirstOrder = 0; _root.guest30SecondOrder = 0; } } movieClip 1666 { frame 1 { play(); } frame 508 { _root.guestArriveMusic.gotoAndStop(2); } frame 520 { _root.guest31.guest31Order.gotoAndStop(2); _root.guest31.gotoAndStop('waiting'); } } movieClip 1668 { } movieClip 1669 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1671 { on (press) { if (pausePlay == 0) { _root.guest31.guest31Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest31.guest31Order._alpha = 0; _root.guest31.gotoAndStop('good'); } } } } movieClip 1672 { } movieClip 1676 { frame 1 { play(); } frame 440 { _root.guest31.gotoAndStop('bad'); } frame 660 { stop(); _root.guest31.gotoAndStop('leaveBad'); } } button 1678 { on (press) { if (pausePlay == 0) { _root.guest31.guest31Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest31.guest31Order._alpha = 0; _root.guest31.gotoAndStop('good'); } } } } movieClip 1679 { } movieClip 1681 { frame 1 { play(); } frame 24 { _root.guest31.gotoAndStop('leaveGood'); } } movieClip 1682 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1666 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1676 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } button 1685 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone7.phone7Order.gotoAndStop(2); _root.telephone7.gotoAndStop('waiting'); } } } movieClip 1701 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1702 { } movieClip 1703 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1707 { frame 1 { play(); } frame 720 { stop(); _root.telephone7.gotoAndStop('leaveBad'); } } button 1708 { on (press) { if (pausePlay == 0) { _root.telephone7.phone7Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; if (_root.stoveType == 1) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.stoveType == 2) { _root.score += 39; _root.goodJobScreen.score += 39; _root.shop.score += 39; _root.gameOverScreen.score += 39; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone7.gotoAndStop('good'); } } } } movieClip 1709 { } movieClip 1711 { frame 1 { play(); } frame 24 { _root.telephone7.gotoAndStop('leaveGood'); } } movieClip 1713 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1701 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1707 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } button 1716 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone8.phone8Order.gotoAndStop(2); _root.telephone8.gotoAndStop('waiting'); } } } movieClip 1732 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1734 { } movieClip 1735 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1739 { frame 1 { play(); } frame 720 { stop(); _root.telephone8.gotoAndStop('leaveBad'); } } button 1740 { on (press) { if (pausePlay == 0) { _root.telephone8.phone8Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone8.gotoAndStop('good'); } } } } movieClip 1741 { } movieClip 1743 { frame 1 { play(); } frame 24 { _root.telephone8.gotoAndStop('leaveGood'); } } movieClip 1745 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1732 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1739 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest33.gotoAndStop(2); } else { _root.guestCount -= 1; trace('Guest: ' + _root.guestCount); } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest33.gotoAndStop(2); } else { _root.guestCount -= 1; trace('Guest: ' + _root.guestCount); } } frame 7 { stop(); } } movieClip 1747 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest32.guest32Order.gotoAndStop(2); _root.guest32.gotoAndStop('waiting'); } } movieClip 1749 { } movieClip 1751 { } movieClip 1752 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 1754 { on (press) { if (pausePlay == 0) { if (_root.guest32FirstOrder == 0) { _root.guest32.guest32Order.gotoAndStop('2OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest32FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest32FirstOrder == 1) { _root.guest32.guest32Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest32SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest32.guest32Order._alpha = 0; _root.guest32.gotoAndStop('good'); } } } } } movieClip 1755 { } movieClip 1759 { frame 1 { play(); } frame 560 { _root.guest32.gotoAndStop('bad'); } frame 840 { stop(); _root.guest32.gotoAndStop('leaveBad'); } } button 1761 { on (press) { if (pausePlay == 0) { if (_root.guest32FirstOrder == 0) { _root.guest32.guest32Order.gotoAndStop('2OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest32FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest32FirstOrder == 1) { _root.guest32.guest32Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest32SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest32.guest32Order._alpha = 0; _root.guest32.gotoAndStop('good'); } } } } } movieClip 1762 { } movieClip 1764 { frame 1 { play(); } frame 24 { _root.guest32.gotoAndStop('leaveGood'); } } movieClip 1765 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1747 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1759 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone7.gotoAndStop('none'); _root.telephone8.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.telephone7.gotoAndStop('none'); _root.telephone8.gotoAndStop(2); } else { _root.guestCount -= 5; } } } instance guest32 of movieClip 1765 { onClipEvent (load) { _root.guest32FirstOrder = 0; _root.guest32SecondOrder = 0; } } movieClip 1767 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest33.guest33Order.gotoAndStop(2); _root.guest33.gotoAndStop('waiting'); } } movieClip 1769 { } movieClip 1770 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1772 { on (press) { if (pausePlay == 0) { _root.gues33.guest33Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest33.guest33Order._alpha = 0; _root.guest33.gotoAndStop('good'); } } } } movieClip 1773 { } movieClip 1777 { frame 1 { play(); } frame 440 { _root.guest25.gotoAndStop('bad'); } frame 660 { stop(); _root.guest25.gotoAndStop('leaveBad'); } } button 1779 { on (press) { if (pausePlay == 0) { _root.gues33.guest33Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest33.guest33Order._alpha = 0; _root.guest33.gotoAndStop('good'); } } } } movieClip 1780 { } movieClip 1782 { frame 1 { play(); } frame 24 { _root.guest33.gotoAndStop('leaveGood'); } } movieClip 1783 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1767 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1777 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 1785 { } movieClip 1786 { frame 1 { play(); } frame 24 { stop(); } } movieClip 1787 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1787 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 149) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 4 & _root.goodJobScreen.score > 149) { this.gotoAndStop(2); } } } frame 9 { stop(); _global.pausePlay = 1; _root.day.countDay = 5; _global.currentLevel = 5; _root.guestCount = 10; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 1804 { } movieClip 1806 { } movieClip 1808 { } movieClip 1810 { } movieClip 1812 { } movieClip 1814 { } movieClip 1815 { } movieClip 1817 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.specialGuest1.specialGuest1Order.gotoAndStop(2); _root.specialGuest1.gotoAndStop('waiting'); } } movieClip 1819 { } movieClip 1820 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1822 { on (press) { if (pausePlay == 0) { _root.specialGuest1.specialGuest1Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest1.specialGuest1Order._alpha = 0; _root.specialGuest1.gotoAndStop('good'); } } } } movieClip 1823 { } movieClip 1827 { frame 1 { play(); } frame 600 { _root.specialGuest1.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest1.gotoAndStop('leaveBad'); } } button 1829 { on (press) { if (pausePlay == 0) { _root.specialGuest1.specialGuest1Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest1.specialGuest1Order._alpha = 0; _root.specialGuest1.gotoAndStop('good'); } } } } movieClip 1830 { } movieClip 1832 { frame 1 { play(); } frame 24 { _root.specialGuest1.gotoAndStop('leaveGood'); } } movieClip 1833 { frame 1 { stop(); } instance of movieClip 1817 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 1827 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest34.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest34.gotoAndStop(2); } else { _root.guestCount -= 9; } } } movieClip 1835 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest34.guest34Order.gotoAndStop(2); _root.guest34.gotoAndStop('waiting'); } } movieClip 1837 { } movieClip 1838 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1840 { on (press) { if (pausePlay == 0) { _root.guest34.guest34Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest34.guest34Order._alpha = 0; _root.guest34.gotoAndStop('good'); } } } } movieClip 1841 { } movieClip 1845 { frame 1 { play(); } frame 520 { _root.guest34.gotoAndStop('bad'); } frame 780 { stop(); _root.guest34.gotoAndStop('leaveBad'); } } button 1847 { on (press) { if (pausePlay == 0) { _root.guest34.guest34Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest34.guest34Order._alpha = 0; _root.guest34.gotoAndStop('good'); } } } } movieClip 1848 { } movieClip 1850 { frame 1 { play(); } frame 24 { _root.guest34.gotoAndStop('leaveGood'); } } movieClip 1851 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1835 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1845 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest35.gotoAndStop(2); _root.guest36.gotoAndStop(2); } else { _root.guestCount -= 8; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest35.gotoAndStop(2); _root.guest36.gotoAndStop(2); } else { _root.guestCount -= 8; } } } movieClip 1853 { frame 1 { play(); } frame 148 { _root.guestArriveMusic.gotoAndStop(2); } frame 160 { _root.guest35.guest35Order.gotoAndStop(2); _root.guest35.gotoAndStop('waiting'); } } movieClip 1855 { } movieClip 1857 { } movieClip 1858 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 1860 { on (press) { if (pausePlay == 0) { if (_root.guest35FirstOrder == 0) { _root.guest35.guest35Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest35FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest35FirstOrder == 1) { _root.guest35.guest35Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest35SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest35.guest35Order._alpha = 0; _root.guest35.gotoAndStop('good'); } } } } } movieClip 1861 { } movieClip 1865 { frame 1 { play(); } frame 520 { _root.guest35.gotoAndStop('bad'); } frame 780 { stop(); _root.guest35.gotoAndStop('leaveBad'); } } button 1867 { on (press) { if (pausePlay == 0) { if (_root.guest35FirstOrder == 0) { _root.guest35.guest35Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest35FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest35FirstOrder == 1) { _root.guest35.guest35Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest35SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest35.guest35Order._alpha = 0; _root.guest35.gotoAndStop('good'); } } } } } movieClip 1868 { } movieClip 1870 { frame 1 { play(); } frame 24 { _root.guest35.gotoAndStop('leaveGood'); } } movieClip 1871 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1853 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1865 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } instance guest35 of movieClip 1871 { onClipEvent (load) { _root.guest35FirstOrder = 0; _root.guest35SecondOrder = 0; } } movieClip 1873 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest36.guest36Order.gotoAndStop(2); _root.guest36.gotoAndStop('waiting'); } } movieClip 1875 { } movieClip 1876 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1878 { on (press) { if (pausePlay == 0) { _root.guest36.guest36Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest36.guest36Order._alpha = 0; _root.guest36.gotoAndStop('good'); } } } } movieClip 1879 { } movieClip 1883 { frame 1 { play(); } frame 400 { _root.guest36.gotoAndStop('bad'); } frame 600 { stop(); _root.guest36.gotoAndStop('leaveBad'); } } button 1885 { on (press) { if (pausePlay == 0) { _root.guest36.guest36Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest36.guest36Order._alpha = 0; _root.guest36.gotoAndStop('good'); } } } } movieClip 1886 { } movieClip 1888 { frame 1 { play(); } frame 24 { _root.guest36.gotoAndStop('leaveGood'); } } movieClip 1889 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1873 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1883 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone6.gotoAndStop('none'); _root.telephone9.gotoAndStop(2); } else { _root.guestCount -= 6; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone6.gotoAndStop('none'); _root.telephone9.gotoAndStop(2); } else { _root.guestCount -= 6; } } } button 1893 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone9.phone9Order.gotoAndStop(2); _root.telephone9.gotoAndStop('waiting'); } } } movieClip 1909 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1911 { } movieClip 1912 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1916 { frame 1 { play(); } frame 720 { stop(); _root.telephone9.gotoAndStop('leaveBad'); } } button 1917 { on (press) { if (pausePlay == 0) { _root.telephone9.phone9Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone9.gotoAndStop('good'); } } } } movieClip 1918 { } movieClip 1920 { frame 1 { play(); } frame 24 { _root.telephone9.gotoAndStop('leaveGood'); } } movieClip 1922 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1909 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1916 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest37.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest37.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 7 { stop(); } } button 1925 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone10.phone10Order.gotoAndStop(2); _root.telephone10.gotoAndStop('waiting'); } } } movieClip 1941 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 1943 { } movieClip 1944 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 1948 { frame 1 { play(); } frame 720 { stop(); _root.telephone10.gotoAndStop('leaveBad'); } } button 1949 { on (press) { if (pausePlay == 0) { _root.telephone10.phone10Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone10.gotoAndStop('good'); } } } } movieClip 1950 { } movieClip 1952 { frame 1 { play(); } frame 24 { _root.telephone10.gotoAndStop('leaveGood'); } } movieClip 1954 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1941 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 1948 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } movieClip 1956 { frame 1 { play(); } frame 328 { _root.guestArriveMusic.gotoAndStop(2); } frame 340 { _root.guest37.guest37Order.gotoAndStop(2); _root.guest37.gotoAndStop('waiting'); } } movieClip 1958 { } movieClip 1959 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1961 { on (press) { if (pausePlay == 0) { _root.guest37.guest37Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest37.guest37Order._alpha = 0; _root.guest37.gotoAndStop('good'); } } } } movieClip 1962 { } movieClip 1966 { frame 1 { play(); } frame 440 { _root.guest37.gotoAndStop('bad'); } frame 660 { stop(); _root.guest37.gotoAndStop('leaveBad'); } } button 1968 { on (press) { if (pausePlay == 0) { _root.guest37.guest37Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest37.guest37Order._alpha = 0; _root.guest37.gotoAndStop('good'); } } } } movieClip 1969 { } movieClip 1971 { frame 1 { play(); } frame 24 { _root.guest37.gotoAndStop('leaveGood'); } } movieClip 1972 { frame 1 { stop(); } frame 2 { stop(); } instance guest4Arrive of movieClip 1956 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1966 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest38.gotoAndStop(2); _root.guest39.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest38.gotoAndStop(2); _root.guest39.gotoAndStop(2); } else { _root.guestCount -= 4; } } } movieClip 1974 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest38.guest38Order.gotoAndStop(2); _root.guest38.gotoAndStop('waiting'); } } movieClip 1976 { } movieClip 1977 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1979 { on (press) { if (pausePlay == 0) { _root.guest38.guest38Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest38.guest38Order._alpha = 0; _root.guest38.gotoAndStop('good'); } } } } movieClip 1980 { } movieClip 1984 { frame 1 { play(); } frame 440 { _root.guest38.gotoAndStop('bad'); } frame 660 { stop(); _root.guest38.gotoAndStop('leaveBad'); } } button 1986 { on (press) { if (pausePlay == 0) { _root.guest38.guest38Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest38.guest38Order._alpha = 0; _root.guest38.gotoAndStop('good'); } } } } movieClip 1987 { } movieClip 1989 { frame 1 { play(); } frame 24 { _root.guest38.gotoAndStop('leaveGood'); } } movieClip 1990 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1974 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 1984 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest40.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest40.gotoAndStop(2); } else { _root.guestCount -= 3; } } } movieClip 1992 { frame 1 { play(); } frame 288 { _root.guestArriveMusic.gotoAndStop(2); } frame 300 { _root.guest39.guest39Order.gotoAndStop(2); _root.guest39.gotoAndStop('waiting'); } } movieClip 1994 { } movieClip 1995 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 1997 { on (press) { if (pausePlay == 0) { _root.guest39.guest39Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest39.guest39Order._alpha = 0; _root.guest39.gotoAndStop('good'); } } } } movieClip 1998 { } movieClip 2002 { frame 1 { play(); } frame 480 { _root.guest39.gotoAndStop('bad'); } frame 720 { stop(); _root.guest39.gotoAndStop('leaveBad'); } } button 2004 { on (press) { if (pausePlay == 0) { _root.guest39.guest39Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest39.guest39Order._alpha = 0; _root.guest39.gotoAndStop('good'); } } } } movieClip 2005 { } movieClip 2007 { frame 1 { play(); } frame 24 { _root.guest39.gotoAndStop('leaveGood'); } } movieClip 2008 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 1992 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2002 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 2010 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest40.guest40Order.gotoAndStop(2); _root.guest40.gotoAndStop('waiting'); } } movieClip 2012 { } movieClip 2013 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2015 { on (press) { if (pausePlay == 0) { _root.guest40.guest40Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest40.guest40Order._alpha = 0; _root.guest40.gotoAndStop('good'); } } } } movieClip 2016 { } movieClip 2020 { frame 1 { play(); } frame 440 { _root.guest40.gotoAndStop('bad'); } frame 660 { stop(); _root.guest40.gotoAndStop('leaveBad'); } } button 2022 { on (press) { if (pausePlay == 0) { _root.guest40.guest40Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest40.guest40Order._alpha = 0; _root.guest40.gotoAndStop('good'); } } } } movieClip 2023 { } movieClip 2025 { frame 1 { play(); } frame 24 { _root.guest40.gotoAndStop('leaveGood'); } } movieClip 2026 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2010 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2020 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone9.gotoAndStop('none'); _root.telephone10.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone9.gotoAndStop('none'); _root.telephone10.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 2028 { } movieClip 2029 { frame 1 { play(); } frame 24 { stop(); } } movieClip 2030 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 2030 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 199) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 5 & _root.goodJobScreen.score > 199) { this.gotoAndStop(2); } } } button 2032 { on (press) { _global.pausePlay = 0; _root.specialScreen.gotoAndStop(1); } } movieClip 2035 { frame 1 { stop(); } frame 2 { stop(); _global.pausePlay = 1; } } frame 10 { stop(); _root.day.countDay = 6; _global.currentLevel = 6; _root.guestCount = 10; _root.restaurantClose = 0; _global.pausePlay = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 2051 { frame 1 { play(); } frame 80 { _root.telephone11.gotoAndStop(2); } } button 2054 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone11.phone11Order.gotoAndStop(2); _root.telephone11.gotoAndStop('waiting'); } } } movieClip 2070 { frame 1 { play(); } frame 127 { gotoAndPlay('order'); } } movieClip 2072 { } movieClip 2073 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2077 { frame 1 { play(); } frame 760 { stop(); _root.telephone11.gotoAndStop('leaveBad'); } } button 2078 { on (press) { if (pausePlay == 0) { _root.telephone11.phone11Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone11.gotoAndStop('good'); } } } } movieClip 2079 { } movieClip 2081 { frame 1 { play(); } frame 24 { _root.telephone11.gotoAndStop('leaveGood'); } } movieClip 2083 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2070 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2077 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest42.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest42.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 7 { stop(); } } button 2086 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone12.phone12Order.gotoAndStop(2); _root.telephone12.gotoAndStop('waiting'); } } } movieClip 2102 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 2104 { } movieClip 2105 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2109 { frame 1 { play(); } frame 720 { stop(); _root.telephone12.gotoAndStop('leaveBad'); } } button 2110 { on (press) { if (pausePlay == 0) { _root.telephone12.phone12Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone12.gotoAndStop('good'); } } } } movieClip 2111 { } movieClip 2113 { frame 1 { play(); } frame 24 { _root.telephone12.gotoAndStop('leaveGood'); } } movieClip 2115 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2102 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2109 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone12.gotoAndStop('none'); _root.telephone13.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.telephone12.gotoAndStop('none'); _root.telephone13.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); } } button 2118 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone13.phone13Order.gotoAndStop(2); _root.telephone13.gotoAndStop('waiting'); } } } movieClip 2134 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 2136 { } movieClip 2137 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2141 { frame 1 { play(); } frame 720 { stop(); _root.telephone13.gotoAndStop('leaveBad'); } } button 2142 { on (press) { if (pausePlay == 0) { _root.telephone13.phone13Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone13.gotoAndStop('good'); } } } } movieClip 2143 { } movieClip 2145 { frame 1 { play(); } frame 24 { _root.telephone13.gotoAndStop('leaveGood'); } } movieClip 2147 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2134 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2141 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } frame 7 { stop(); } } movieClip 2150 { frame 1 { play(); } frame 208 { _root.guestArriveMusic.gotoAndStop(2); } frame 220 { _root.guest41.guest41Order.gotoAndStop(2); _root.guest41.gotoAndStop('waiting'); } } movieClip 2152 { } movieClip 2153 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2155 { on (press) { if (pausePlay == 0) { _root.guest41.guest41Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest41.guest41Order._alpha = 0; _root.guest41.gotoAndStop('good'); } } } } movieClip 2156 { } movieClip 2160 { frame 1 { play(); } frame 440 { _root.guest41.gotoAndStop('bad'); } frame 660 { stop(); _root.guest41.gotoAndStop('leaveBad'); } } button 2162 { on (press) { if (pausePlay == 0) { _root.guest41.guest41Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest41.guest41Order._alpha = 0; _root.guest41.gotoAndStop('good'); } } } } movieClip 2163 { } movieClip 2165 { frame 1 { play(); } frame 24 { _root.guest41.gotoAndStop('leaveGood'); } } movieClip 2166 { frame 1 { stop(); } instance of movieClip 2150 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 2160 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest2.gotoAndStop(2); } else { _root.guestCount -= 6; } } frame 6 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.specialGuest2.gotoAndStop(2); } else { _root.guestCount -= 6; } } } movieClip 2168 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest42.guest42Order.gotoAndStop(2); _root.guest42.gotoAndStop('waiting'); } } movieClip 2170 { } movieClip 2172 { } movieClip 2173 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2175 { on (press) { if (pausePlay == 0) { if (_root.guest42FirstOrder == 0) { _root.guest42.guest42Order.gotoAndStop('2OrderPlay'); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.guest42FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest42FirstOrder == 1) { _root.guest42.guest42Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest42SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest42.guest42Order._alpha = 0; _root.guest42.gotoAndStop('good'); } } } } } movieClip 2176 { } movieClip 2180 { frame 1 { play(); } frame 480 { _root.guest42.gotoAndStop('bad'); } frame 720 { stop(); _root.guest42.gotoAndStop('leaveBad'); } } button 2182 { on (press) { if (pausePlay == 0) { if (_root.guest42FirstOrder == 0) { _root.guest42.guest42Order.gotoAndStop('2OrderPlay'); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.guest42FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest42FirstOrder == 1) { _root.guest42.guest42Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest42SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest42.guest42Order._alpha = 0; _root.guest42.gotoAndStop('good'); } } } } } movieClip 2183 { } movieClip 2185 { frame 1 { play(); } frame 24 { _root.guest42.gotoAndStop('leaveGood'); } } movieClip 2186 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2168 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2180 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } instance guest42 of movieClip 2186 { onClipEvent (load) { _root.guest42FirstOrder = 0; _root.guest42SecondOrder = 0; } } movieClip 2188 { } movieClip 2190 { } movieClip 2192 { } movieClip 2194 { } movieClip 2196 { frame 1 { play(); } frame 138 { _root.guestArriveMusic.gotoAndStop(2); } frame 150 { _root.specialGuest2.specialGuest2Order.gotoAndStop(2); _root.specialGuest2.gotoAndStop('waiting'); } } movieClip 2200 { } movieClip 2201 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2203 { on (press) { if (pausePlay == 0) { _root.specialGuest2.specialGuest2Order.gotoAndStop(2); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest2.specialGuest2Order._alpha = 0; _root.specialGuest2.gotoAndStop('good'); } } } } movieClip 2204 { } movieClip 2208 { frame 1 { play(); } frame 600 { _root.specialGuest2.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest2.gotoAndStop('leaveBad'); } } button 2210 { on (press) { if (pausePlay == 0) { _root.specialGuest2.specialGuest2Order.gotoAndStop(2); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest2.specialGuest2Order._alpha = 0; _root.specialGuest2.gotoAndStop('good'); } } } } movieClip 2211 { } movieClip 2214 { } movieClip 2215 { } movieClip 2217 { frame 1 { play(); } frame 24 { _root.specialGuest2.gotoAndStop('leaveGood'); } } movieClip 2218 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2196 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2208 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest43.gotoAndStop(2); _root.guest44.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest43.gotoAndStop(2); _root.guest44.gotoAndStop(2); } else { _root.guestCount -= 7; } } } movieClip 2220 { frame 1 { play(); } frame 268 { _root.guestArriveMusic.gotoAndStop(2); } frame 280 { _root.guest43.guest43Order.gotoAndStop(2); _root.guest43.gotoAndStop('waiting'); } } movieClip 2222 { } movieClip 2223 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2225 { on (press) { if (pausePlay == 0) { _root.guest43.guest43Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest43.guest43Order._alpha = 0; _root.guest43.gotoAndStop('good'); } } } } movieClip 2226 { } movieClip 2230 { frame 1 { play(); } frame 440 { _root.guest43.gotoAndStop('bad'); } frame 660 { stop(); _root.guest43.gotoAndStop('leaveBad'); } } button 2232 { on (press) { if (pausePlay == 0) { _root.guest43.guest43Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest43.guest43Order._alpha = 0; _root.guest43.gotoAndStop('good'); } } } } movieClip 2233 { } movieClip 2235 { frame 1 { play(); } frame 24 { _root.guest43.gotoAndStop('leaveGood'); } } movieClip 2236 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2220 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2230 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 2238 { frame 1 { play(); } frame 328 { _root.guestArriveMusic.gotoAndStop(2); } frame 340 { _root.guest44.guest44Order.gotoAndStop(2); _root.guest44.gotoAndStop('waiting'); } } movieClip 2239 { } movieClip 2240 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2242 { on (press) { if (pausePlay == 0) { _root.guest44.guest44Order.gotoAndStop(2); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest44.guest44._alpha = 0; _root.guest44.gotoAndStop('good'); } } } } movieClip 2243 { } movieClip 2247 { frame 1 { play(); } frame 480 { _root.guest44.gotoAndStop('bad'); } frame 720 { stop(); _root.guest44.gotoAndStop('leaveBad'); } } button 2249 { on (press) { if (pausePlay == 0) { _root.guest44.guest44Order.gotoAndStop(2); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest44.guest44._alpha = 0; _root.guest44.gotoAndStop('good'); } } } } movieClip 2250 { } movieClip 2252 { frame 1 { play(); } frame 24 { _root.guest44.gotoAndStop('leaveGood'); } } movieClip 2253 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2238 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2247 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest45.gotoAndStop(2); _root.guest46.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.guest45.gotoAndStop(2); _root.guest46.gotoAndStop(2); } else { _root.guestCount -= 4; } } } movieClip 2255 { frame 1 { play(); } frame 148 { _root.guestArriveMusic.gotoAndStop(2); } frame 160 { _root.guest45.guest45Order.gotoAndStop(2); _root.guest45.gotoAndStop('waiting'); } } movieClip 2257 { } movieClip 2258 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2260 { on (press) { if (pausePlay == 0) { _root.guest45.guest45Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest45.guest45Order._alpha = 0; _root.guest45.gotoAndStop('good'); } } } } movieClip 2261 { } movieClip 2265 { frame 1 { play(); } frame 440 { _root.guest45.gotoAndStop('bad'); } frame 660 { stop(); _root.guest45.gotoAndStop('leaveBad'); } } button 2267 { on (press) { if (pausePlay == 0) { _root.guest45.guest45Order.gotoAndStop(2); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest45.guest45Order._alpha = 0; _root.guest45.gotoAndStop('good'); } } } } movieClip 2268 { } movieClip 2270 { frame 1 { play(); } frame 24 { _root.guest45.gotoAndStop('leaveGood'); } } movieClip 2271 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2255 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2265 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 2273 { frame 1 { play(); } frame 288 { _root.guestArriveMusic.gotoAndStop(2); } frame 300 { _root.guest46.guest46Order.gotoAndStop(2); _root.guest46.gotoAndStop('waiting'); } } movieClip 2275 { } movieClip 2276 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2278 { on (press) { if (pausePlay == 0) { _root.guest46.guest46Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest46.guest46Order._alpha = 0; _root.guest46.gotoAndStop('good'); } } } } movieClip 2279 { } movieClip 2283 { frame 1 { play(); } frame 440 { _root.guest46.gotoAndStop('bad'); } frame 660 { stop(); _root.guest46.gotoAndStop('leaveBad'); } } button 2285 { on (press) { if (pausePlay == 0) { _root.guest46.guest46Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest46.guest46Order._alpha = 0; _root.guest46.gotoAndStop('good'); } } } } movieClip 2286 { } movieClip 2288 { frame 1 { play(); } frame 24 { _root.guest46.gotoAndStop('leaveGood'); } } movieClip 2289 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2273 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2283 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone11.gotoAndStop('none'); _root.telephone12.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); if (_root.restaurantClose == 0) { _root.telephone11.gotoAndStop('none'); _root.telephone12.gotoAndStop(2); } else { _root.guestCount -= 2; } } } movieClip 2291 { } movieClip 2292 { frame 1 { play(); } frame 24 { stop(); } } movieClip 2293 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 2293 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 249) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 6 & _root.goodJobScreen.score > 249) { this.gotoAndStop(2); } } } frame 11 { stop(); _root.day.countDay = 7; _global.currentLevel = 7; _root.guestCount = 9; _root.restaurantClose = 0; _root.telephone11.gotoAndStop('leaveBad'); _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 2310 { frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest47.guest47Order.gotoAndStop(2); _root.guest47.gotoAndStop('waiting'); } } movieClip 2312 { } movieClip 2313 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2315 { on (press) { if (pausePlay == 0) { _root.guest47.guest47Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest47.guest47Order._alpha = 0; _root.guest47.gotoAndStop('good'); } } } } movieClip 2316 { } movieClip 2320 { frame 1 { play(); } frame 520 { _root.guest47.gotoAndStop('bad'); } frame 780 { stop(); _root.guest47.gotoAndStop('leaveBad'); } } button 2322 { on (press) { if (pausePlay == 0) { _root.guest47.guest47Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest47.guest47Order._alpha = 0; _root.guest47.gotoAndStop('good'); } } } } movieClip 2323 { } movieClip 2325 { frame 1 { play(); } frame 24 { _root.guest47.gotoAndStop('leaveGood'); } } movieClip 2326 { frame 1 { stop(); } instance guest2Arrive of movieClip 2310 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 2320 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest49.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest49.gotoAndStop(2); } else { _root.guestCount -= 4; } } } movieClip 2328 { frame 1 { play(); } frame 248 { _root.guestArriveMusic.gotoAndStop(2); } frame 260 { _root.guest48.guest48Order.gotoAndStop(2); _root.guest48.gotoAndStop('waiting'); } } movieClip 2332 { } movieClip 2333 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2335 { on (press) { if (pausePlay == 0) { _root.guest48.guest48Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest48.guest48Order._alpha = 0; _root.guest48.gotoAndStop('good'); } } } } movieClip 2336 { } movieClip 2340 { frame 1 { play(); } frame 600 { _root.guest48.gotoAndStop('bad'); } frame 900 { stop(); _root.guest48.gotoAndStop('leaveBad'); } } button 2342 { on (press) { if (pausePlay == 0) { _root.guest48.guest48Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest48.guest48Order._alpha = 0; _root.guest48.gotoAndStop('good'); } } } } movieClip 2343 { } movieClip 2345 { frame 1 { play(); } frame 24 { _root.guest48.gotoAndStop('leaveGood'); } } movieClip 2346 { frame 1 { stop(); } instance of movieClip 2328 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 2340 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest3.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest3.gotoAndStop(2); } else { _root.guestCount -= 3; } } } movieClip 2348 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest49.guest49Order.gotoAndStop(2); _root.guest49.gotoAndStop('waiting'); } } movieClip 2350 { } movieClip 2352 { } movieClip 2353 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2355 { on (press) { if (pausePlay == 0) { if (_root.guest49FirstOrder == 0) { _root.guest49.guest49Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest49FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest49FirstOrder == 1) { _root.guest49.guest49Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest49SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest49.guest49Order._alpha = 0; _root.guest49.gotoAndStop('good'); } } } } } movieClip 2356 { } movieClip 2360 { frame 1 { play(); } frame 560 { _root.guest49.gotoAndStop('bad'); } frame 840 { stop(); _root.guest49.gotoAndStop('leaveBad'); } } button 2362 { on (press) { if (pausePlay == 0) { if (_root.guest49FirstOrder == 0) { _root.guest49.guest49Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest49FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest49FirstOrder == 1) { _root.guest49.guest49Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest49SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest49.guest49Order._alpha = 0; _root.guest49.gotoAndStop('good'); } } } } } movieClip 2363 { } movieClip 2365 { frame 1 { play(); } frame 24 { _root.guest49.gotoAndStop('leaveGood'); } } movieClip 2366 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2348 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2360 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone11.gotoAndStop('none'); _root.telephone14.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone11.gotoAndStop('none'); _root.telephone14.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance guest49 of movieClip 2366 { onClipEvent (load) { _root.guest49FirstOrder = 0; _root.guest49SecondOrder = 0; } } button 2370 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone14.phone14Order.gotoAndStop(2); _root.telephone14.gotoAndStop('waiting'); } } } movieClip 2386 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 2388 { } movieClip 2389 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2393 { frame 1 { play(); } frame 720 { stop(); _root.telephone14.gotoAndStop('leaveBad'); } } button 2394 { on (press) { if (pausePlay == 0) { _root.telephone14.phone14Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone14.gotoAndStop('good'); } } } } movieClip 2395 { } movieClip 2397 { frame 1 { play(); } frame 24 { _root.telephone14.gotoAndStop('leaveGood'); } } movieClip 2399 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2386 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2393 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest50.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest50.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); } } movieClip 2401 { } movieClip 2403 { } movieClip 2405 { } movieClip 2407 { } movieClip 2408 { } movieClip 2410 { } movieClip 2412 { } movieClip 2415 { } movieClip 2417 { frame 1 { play(); } frame 178 { _root.guestArriveMusic.gotoAndStop(2); } frame 190 { _root.specialGuest3.specialGuest3Order.gotoAndStop(2); _root.specialGuest3.gotoAndStop('waiting'); } } movieClip 2419 { } movieClip 2420 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2422 { on (press) { if (pausePlay == 0) { _root.specialGuest3.specialGuest3Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest3.specialGuest3Order._alpha = 0; _root.specialGuest3.gotoAndStop('good'); } } } } movieClip 2423 { } movieClip 2427 { frame 1 { play(); } frame 600 { _root.specialGuest3.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest3.gotoAndStop('leaveBad'); } } button 2429 { on (press) { if (pausePlay == 0) { _root.specialGuest3.specialGuest3Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest3.specialGuest3Order._alpha = 0; _root.specialGuest3.gotoAndStop('good'); } } } } movieClip 2430 { } movieClip 2432 { frame 1 { play(); } frame 24 { _root.specialGuest3.gotoAndStop('leaveGood'); } } movieClip 2433 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2417 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2427 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest51.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest51.gotoAndStop(2); } else { _root.guestCount -= 2; } } } movieClip 2435 { frame 1 { play(); } frame 148 { _root.guestArriveMusic.gotoAndStop(2); } frame 160 { _root.guest50.guest50Order.gotoAndStop(2); _root.guest50.gotoAndStop('waiting'); } } movieClip 2437 { } movieClip 2439 { } movieClip 2440 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2442 { on (press) { if (pausePlay == 0) { if (_root.guest50FirstOrder == 0) { _root.guest50.guest50Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest50FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest50FirstOrder == 1) { _root.guest50.guest50Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest50SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest50.guest50Order._alpha = 0; _root.guest50.gotoAndStop('good'); } } } } } movieClip 2443 { } movieClip 2447 { frame 1 { play(); } frame 560 { _root.guest50.gotoAndStop('bad'); } frame 820 { stop(); _root.guest50.gotoAndStop('leaveBad'); } } button 2449 { on (press) { if (pausePlay == 0) { if (_root.guest50FirstOrder == 0) { _root.guest50.guest50Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest50FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest50FirstOrder == 1) { _root.guest50.guest50Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest50SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest50.guest50Order._alpha = 0; _root.guest50.gotoAndStop('good'); } } } } } movieClip 2450 { } movieClip 2452 { frame 1 { play(); } frame 24 { _root.guest50.gotoAndStop('leaveGood'); } } movieClip 2453 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2435 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2447 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest52.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest52.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest50 of movieClip 2453 { onClipEvent (load) { _root.guest50FirstOrder = 0; _root.guest50SecondOrder = 0; } } movieClip 2455 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest51.guest51Order.gotoAndStop(2); _root.guest51.gotoAndStop('waiting'); } } movieClip 2456 { } movieClip 2458 { } movieClip 2459 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2461 { on (press) { if (pausePlay == 0) { if (_root.guest51FirstOrder == 0) { _root.guest51.guest51Order.gotoAndStop('2OrderPlay'); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.guest51FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest51FirstOrder == 1) { _root.guest51.guest51Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest51SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest51.guest51Order._alpha = 0; _root.guest51.gotoAndStop('good'); } } } } } movieClip 2462 { } movieClip 2466 { frame 1 { play(); } frame 640 { _root.guest51.gotoAndStop('bad'); } frame 960 { stop(); _root.guest51.gotoAndStop('leaveBad'); } } button 2468 { on (press) { if (pausePlay == 0) { if (_root.guest51FirstOrder == 0) { _root.guest51.guest51Order.gotoAndStop('2OrderPlay'); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.guest51FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest51FirstOrder == 1) { _root.guest51.guest51Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest51SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest51.guest51Order._alpha = 0; _root.guest51.gotoAndStop('good'); } } } } } movieClip 2469 { } movieClip 2471 { frame 1 { play(); } frame 24 { _root.guest51.gotoAndStop('leaveGood'); } } movieClip 2472 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2455 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2466 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest53.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest53.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest51 of movieClip 2472 { onClipEvent (load) { _root.guest51FirstOrder = 0; _root.guest51SecondOrder = 0; } } movieClip 2474 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest52.guest52Order.gotoAndStop(2); _root.guest52.gotoAndStop('waiting'); } } movieClip 2476 { } movieClip 2477 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2479 { on (press) { if (pausePlay == 0) { _root.guest52.guest52Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest52.guest52Order._alpha = 0; _root.guest52.gotoAndStop('good'); } } } } movieClip 2480 { } movieClip 2484 { frame 1 { play(); } frame 480 { _root.guest52.gotoAndStop('bad'); } frame 720 { stop(); _root.guest52.gotoAndStop('leaveBad'); } } button 2486 { on (press) { if (pausePlay == 0) { _root.guest52.guest52Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest52.guest52Order._alpha = 0; _root.guest52.gotoAndStop('good'); } } } } movieClip 2487 { } movieClip 2489 { frame 1 { play(); } frame 24 { _root.guest52.gotoAndStop('leaveGood'); } } movieClip 2490 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2474 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2484 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; _root.leaveMusic.gotoAndStop(2); } } movieClip 2492 { frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest53.guest53Order.gotoAndStop(2); _root.guest53.gotoAndStop('waiting'); } } movieClip 2494 { } movieClip 2495 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2497 { on (press) { if (pausePlay == 0) { _root.guest53.guest53Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest53.guest53Order._alpha = 0; _root.guest53.gotoAndStop('good'); } } } } movieClip 2498 { } movieClip 2502 { frame 1 { play(); } frame 400 { _root.guest53.gotoAndStop('bad'); } frame 600 { stop(); _root.guest53.gotoAndStop('leaveBad'); } } button 2504 { on (press) { if (pausePlay == 0) { _root.guest53.guest53Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest53.guest53Order._alpha = 0; _root.guest53.gotoAndStop('good'); } } } } movieClip 2505 { } movieClip 2507 { frame 1 { play(); } frame 24 { _root.guest53.gotoAndStop('leaveGood'); } } movieClip 2508 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2492 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2502 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 2510 { } movieClip 2511 { frame 1 { play(); } frame 24 { stop(); } } movieClip 2512 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 2512 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 299) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 7 & _root.goodJobScreen.score > 299) { this.gotoAndStop(2); } } } frame 12 { stop(); _root.day.countDay = 8; _global.currentLevel = 8; _root.guestCount = 10; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 2528 { frame 1 { play(); } frame 200 { _root.telephone15.gotoAndStop(2); } } button 2531 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone15.phone15Order.gotoAndStop(2); _root.telephone15.gotoAndStop('waiting'); } } } movieClip 2547 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 2549 { } movieClip 2550 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2554 { frame 1 { play(); } frame 720 { stop(); _root.telephone15.gotoAndStop('leaveBad'); } } button 2555 { on (press) { if (pausePlay == 0) { _root.telephone15.phone15Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone15.gotoAndStop('good'); } } } } movieClip 2556 { } movieClip 2558 { frame 1 { play(); } frame 24 { _root.telephone15.gotoAndStop('leaveGood'); } } movieClip 2560 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2547 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2554 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } button 2564 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone16.phone16Order.gotoAndStop(2); _root.telephone16.gotoAndStop('waiting'); } } } movieClip 2580 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 2582 { } movieClip 2583 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2587 { frame 1 { play(); } frame 720 { stop(); _root.telephone16.gotoAndStop('leaveBad'); } } button 2588 { on (press) { if (pausePlay == 0) { _root.telephone16.phone16Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone16.gotoAndStop('good'); } } } } movieClip 2589 { } movieClip 2591 { frame 1 { play(); } frame 24 { _root.telephone16.gotoAndStop('leaveGood'); } } movieClip 2593 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2580 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2587 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } movieClip 2594 { } movieClip 2596 { } movieClip 2598 { } movieClip 2600 { } movieClip 2602 { frame 1 { play(); } frame 118 { _root.guestArriveMusic.gotoAndStop(2); } frame 130 { _root.specialGuest8.specialGuest8Order.gotoAndStop(2); _root.specialGuest8.gotoAndStop('waiting'); } } movieClip 2604 { } movieClip 2606 { } movieClip 2607 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2609 { on (press) { if (pausePlay == 0) { if (_root.specialGuest8FirstOrder == 0) { _root.specialGuest8.specialGuest8Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest8FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest8FirstOrder == 1) { _root.specialGuest8.specialGuest8Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest8SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.juicerType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest8.specialGuest8Order._alpha = 0; _root.specialGuest8.gotoAndStop('good'); } } } } } movieClip 2610 { } movieClip 2614 { frame 1 { play(); } frame 680 { _root.specialGuest8.gotoAndStop('bad'); } frame 1020 { stop(); _root.specialGuest8.gotoAndStop('leaveBad'); } } button 2616 { on (press) { if (pausePlay == 0) { if (_root.specialGuest8FirstOrder == 0) { _root.specialGuest8.specialGuest8Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest8FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest8FirstOrder == 1) { _root.specialGuest8.specialGuest8Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest8SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.juicerType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest8.specialGuest8Order._alpha = 0; _root.specialGuest8.gotoAndStop('good'); } } } } } movieClip 2617 { } movieClip 2620 { } movieClip 2621 { } movieClip 2622 { frame 1 { play(); } frame 24 { _root.specialGuest8.gotoAndStop('leaveGood'); } } movieClip 2623 { frame 1 { stop(); } instance of movieClip 2602 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 2614 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest55.gotoAndStop(2); _root.guest56.gotoAndStop(2); } else { _root.guestCount -= 10; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest55.gotoAndStop(2); _root.guest56.gotoAndStop(2); } else { _root.guestCount -= 10; } } } instance specialGuest8 of movieClip 2623 { onClipEvent (load) { _root.specialGuest8FirstOrder = 0; _root.specialGuest8SecondOrder = 0; } } movieClip 2625 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest54.guest54Order.gotoAndStop(2); _root.guest54.gotoAndStop('waiting'); } } movieClip 2627 { } movieClip 2629 { } movieClip 2630 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2632 { on (press) { if (pausePlay == 0) { if (_root.guest54FirstOrder == 0) { _root.guest54.guest54Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest54FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest54FirstOrder == 1) { _root.guest54.guest54Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest54SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest54.guest54Order._alpha = 0; _root.guest54.gotoAndStop('good'); } } } } } movieClip 2633 { } movieClip 2637 { frame 1 { play(); } frame 640 { _root.guest54.gotoAndStop('bad'); } frame 960 { stop(); _root.guest54.gotoAndStop('leaveBad'); } } button 2639 { on (press) { if (pausePlay == 0) { if (_root.guest54FirstOrder == 0) { _root.guest54.guest54Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest54FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest54FirstOrder == 1) { _root.guest54.guest54Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest54SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest54.guest54Order._alpha = 0; _root.guest54.gotoAndStop('good'); } } } } } movieClip 2640 { } movieClip 2642 { frame 1 { play(); } frame 24 { _root.guest54.gotoAndStop('leaveGood'); } } movieClip 2643 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2625 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2637 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest55.gotoAndStop(2); _root.guest56.gotoAndStop(2); } else { _root.guestCount -= 9; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest55.gotoAndStop(2); _root.guest56.gotoAndStop(2); } else { _root.guestCount -= 9; } } } instance guest54 of movieClip 2643 { onClipEvent (load) { _root.guest54FirstOrder = 0; _root.guest54SecondOrder = 0; } } movieClip 2645 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest55.guest55Order.gotoAndStop(2); _root.guest55.gotoAndStop('waiting'); } } movieClip 2647 { } movieClip 2648 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2650 { on (press) { if (pausePlay == 0) { _root.guest55.guest55Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest55.guest55Order._alpha = 0; _root.guest55.gotoAndStop('good'); } } } } movieClip 2651 { } movieClip 2655 { frame 1 { play(); } frame 440 { _root.guest55.gotoAndStop('bad'); } frame 660 { stop(); _root.guest55.gotoAndStop('leaveBad'); } } button 2657 { on (press) { if (pausePlay == 0) { _root.guest55.guest55Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest55.guest55Order._alpha = 0; _root.guest55.gotoAndStop('good'); } } } } movieClip 2658 { } movieClip 2660 { frame 1 { play(); } frame 24 { _root.guest55.gotoAndStop('leaveGood'); } } movieClip 2661 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2645 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2655 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone15.gotoAndStop('none'); _root.telephone16.gotoAndStop(2); } else { _root.guestCount -= 8; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone15.gotoAndStop('none'); _root.telephone16.gotoAndStop(2); } else { _root.guestCount -= 8; } } } movieClip 2663 { frame 1 { play(); } frame 288 { _root.guestArriveMusic.gotoAndStop(2); } frame 300 { _root.guest56.guest56Order.gotoAndStop(2); _root.guest56.gotoAndStop('waiting'); } } movieClip 2665 { } movieClip 2666 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2668 { on (press) { if (pausePlay == 0) { _root.guest56.guest56Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest56.guest56Order._alpha = 0; _root.guest56.gotoAndStop('good'); } } } } movieClip 2669 { } movieClip 2673 { frame 1 { play(); } frame 440 { _root.guest56.gotoAndStop('bad'); } frame 660 { stop(); _root.guest56.gotoAndStop('leaveBad'); } } button 2675 { on (press) { if (pausePlay == 0) { _root.guest56.guest56Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest56.guest56Order._alpha = 0; _root.guest56.gotoAndStop('good'); } } } } movieClip 2676 { } movieClip 2678 { frame 1 { play(); } frame 24 { _root.guest56.gotoAndStop('leaveGood'); } } movieClip 2679 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2663 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2673 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest57.gotoAndStop(2); _root.guest58.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest57.gotoAndStop(2); _root.guest58.gotoAndStop(2); } else { _root.guestCount -= 7; } } } movieClip 2681 { frame 248 { _root.guestArriveMusic.gotoAndStop(2); } frame 260 { _root.guest57.guest57Order.gotoAndStop(2); _root.guest57.gotoAndStop('waiting'); } } movieClip 2683 { } movieClip 2684 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2686 { on (press) { if (pausePlay == 0) { _root.guest57.guest57Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest57.guest57Order._alpha = 0; _root.guest57.gotoAndStop('good'); } } } } movieClip 2687 { } movieClip 2691 { frame 1 { play(); } frame 520 { _root.guest57.gotoAndStop('bad'); } frame 780 { stop(); _root.guest57.gotoAndStop('leaveBad'); } } button 2693 { on (press) { if (pausePlay == 0) { _root.guest57.guest57Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest57.guest57Order._alpha = 0; _root.guest57.gotoAndStop('good'); } } } } movieClip 2694 { } movieClip 2696 { frame 1 { play(); } frame 24 { _root.guest57.gotoAndStop('leaveGood'); } } movieClip 2697 { frame 1 { stop(); } frame 2 { stop(); } instance guest2Arrive of movieClip 2681 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2691 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 2699 { frame 1 { play(); } frame 288 { _root.guestArriveMusic.gotoAndStop(2); } frame 300 { _root.guest58.guest58Order.gotoAndStop(2); _root.guest58.gotoAndStop('waiting'); } } movieClip 2704 { } movieClip 2706 { } movieClip 2707 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2709 { on (press) { if (pausePlay == 0) { if (_root.guest58FirstOrder == 0) { _root.guest58.guest58Order.gotoAndStop('2OrderPlay'); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; _root.guest58FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest58FirstOrder == 1) { _root.guest58.guest58Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest58SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest58.guest58Order._alpha = 0; _root.guest58.gotoAndStop('good'); } } } } } movieClip 2710 { } movieClip 2714 { frame 1 { play(); } frame 680 { _root.guest58.gotoAndStop('bad'); } frame 1020 { stop(); _root.guest58.gotoAndStop('leaveBad'); } } button 2716 { on (press) { if (pausePlay == 0) { if (_root.guest58FirstOrder == 0) { _root.guest58.guest58Order.gotoAndStop('2OrderPlay'); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; _root.guest58FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest58FirstOrder == 1) { _root.guest58.guest58Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest58SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest58.guest58Order._alpha = 0; _root.guest58.gotoAndStop('good'); } } } } } movieClip 2717 { } movieClip 2719 { frame 1 { play(); } frame 24 { _root.guest58.gotoAndStop('leaveGood'); } } movieClip 2720 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2699 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2714 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest59.gotoAndStop(2); _root.specialGuest5.gotoAndStop(2); } else { _root.guestCount -= 6; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest59.gotoAndStop(2); _root.specialGuest5.gotoAndStop(2); } else { _root.guestCount -= 6; } } } instance guest58 of movieClip 2720 { onClipEvent (load) { _root.guest58FirstOrder = 0; _root.guest58SecondOrder = 0; } } movieClip 2722 { } movieClip 2724 { } movieClip 2726 { } movieClip 2728 { } movieClip 2729 { } movieClip 2731 { } movieClip 2733 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.specialGuest5.specialGuest5Order.gotoAndStop(2); _root.specialGuest5.gotoAndStop('waiting'); } } movieClip 2735 { } movieClip 2736 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2738 { on (press) { if (pausePlay == 0) { _root.specialGuest5.specialGuest5Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 55; _root.goodJobScreen.score += 55; _root.shop.score += 55; _root.gameOverScreen.score += 55; } if (_root.juicerType == 2) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest5.specialGuest5Order._alpha = 0; _root.specialGuest5.gotoAndStop('good'); } } } } movieClip 2739 { } movieClip 2743 { frame 1 { play(); } frame 600 { _root.specialGuest5.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest5.gotoAndStop('leaveBad'); } } button 2745 { on (press) { if (pausePlay == 0) { _root.specialGuest5.specialGuest5Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 55; _root.goodJobScreen.score += 55; _root.shop.score += 55; _root.gameOverScreen.score += 55; } if (_root.juicerType == 2) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest5.specialGuest5Order._alpha = 0; _root.specialGuest5.gotoAndStop('good'); } } } } movieClip 2746 { } movieClip 2748 { frame 1 { play(); } frame 24 { _root.specialGuest5.gotoAndStop('leaveGood'); } } movieClip 2749 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2733 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2743 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 2751 { frame 1 { play(); } frame 208 { _root.guestArriveMusic.gotoAndStop(2); } frame 220 { _root.guest59.guest59Order.gotoAndStop(2); _root.guest59.gotoAndStop('waiting'); } } movieClip 2752 { } movieClip 2753 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2755 { on (press) { if (pausePlay == 0) { _root.guest59.guest59Order.gotoAndStop(2); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest59.guest59Order._alpha = 0; _root.guest59.gotoAndStop('good'); } } } } movieClip 2756 { } movieClip 2760 { frame 1 { play(); } frame 480 { _root.guest59.gotoAndStop('bad'); } frame 720 { stop(); _root.guest59.gotoAndStop('leaveBad'); } } button 2762 { on (press) { if (pausePlay == 0) { _root.guest59.guest59Order.gotoAndStop('2OrderPlay'); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest59.guest59Order._alpha = 0; _root.guest59.gotoAndStop('good'); } } } } movieClip 2763 { } movieClip 2765 { frame 1 { play(); } frame 24 { _root.guest59.gotoAndStop('leaveGood'); } } movieClip 2766 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2751 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2760 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone16.gotoAndStop('none'); _root.telephone26.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone16.gotoAndStop('none'); _root.telephone26.gotoAndStop(2); } else { _root.guestCount -= 1; } } } button 2769 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone26.phone26Order.gotoAndStop(2); _root.telephone26.gotoAndStop('waiting'); } } } movieClip 2785 { frame 1 { play(); } frame 127 { gotoAndPlay('order'); } } movieClip 2787 { } movieClip 2788 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 2792 { frame 1 { play(); } frame 760 { stop(); _root.telephone26.gotoAndStop('leaveBad'); } } button 2793 { on (press) { if (pausePlay == 0) { _root.telephone26.phone26Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone26.gotoAndStop('good'); } } } } movieClip 2794 { } movieClip 2796 { frame 1 { play(); } frame 24 { _root.telephone26.gotoAndStop('leaveGood'); } } movieClip 2798 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2785 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 2792 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } movieClip 2800 { } movieClip 2801 { frame 1 { play(); } frame 24 { stop(); } } movieClip 2802 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 2802 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 349) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 8 & _root.goodJobScreen.score > 349) { this.gotoAndStop(2); } } } frame 13 { stop(); _root.day.countDay = 9; _global.currentLevel = 9; _root.guestCount = 11; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 2819 { } movieClip 2821 { } movieClip 2823 { } movieClip 2825 { } movieClip 2827 { frame 1 { play(); } frame 118 { _root.guestArriveMusic.gotoAndStop(2); } frame 130 { _root.specialGuest4.specialGuest4Order.gotoAndStop(2); _root.specialGuest4.gotoAndStop('waiting'); } } movieClip 2829 { } movieClip 2831 { } movieClip 2832 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2834 { on (press) { if (pausePlay == 0) { if (_root.specialGuest4FirstOrder == 0) { _root.specialGuest4.specialGuest4Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest4FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest4FirstOrder == 1) { _root.specialGuest4.specialGuest4Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest4SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest4.specialGuest4Order._alpha = 0; _root.specialGuest4.gotoAndStop('good'); } } } } } movieClip 2835 { } movieClip 2839 { frame 1 { play(); } frame 680 { _root.specialGuest4.gotoAndStop('bad'); } frame 1020 { stop(); _root.specialGuest4.gotoAndStop('leaveBad'); } } button 2841 { on (press) { if (pausePlay == 0) { if (_root.specialGuest4FirstOrder == 0) { _root.specialGuest4.specialGuest4Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest4FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest4FirstOrder == 1) { _root.specialGuest4.specialGuest4Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest4SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest4.specialGuest4Order._alpha = 0; _root.specialGuest4.gotoAndStop('good'); } } } } } movieClip 2842 { } movieClip 2845 { } movieClip 2846 { } movieClip 2847 { frame 1 { play(); } frame 24 { _root.specialGuest4.gotoAndStop('leaveGood'); } } movieClip 2848 { frame 1 { stop(); } instance of movieClip 2827 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 2839 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest6.gotoAndStop(2); } else { _root.guestCount -= 10; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest6.gotoAndStop(2); } else { _root.guestCount -= 10; } } } instance specialGuest4 of movieClip 2848 { onClipEvent (load) { _root.specialGuest4FirstOrder = 0; _root.specialGuest4SecondOrder = 0; } } movieClip 2850 { frame 1 { play(); } frame 148 { _root.guestArriveMusic.gotoAndStop(2); } frame 160 { _root.guest60.guest60Order.gotoAndStop(2); _root.guest60.gotoAndStop('waiting'); } } movieClip 2852 { } movieClip 2853 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2855 { on (press) { if (pausePlay == 0) { _root.guest60.guest60Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest60.guest60Order._alpha = 0; _root.guest60.gotoAndStop('good'); } } } } movieClip 2856 { } movieClip 2860 { frame 1 { play(); } frame 440 { _root.guest60.gotoAndStop('bad'); } frame 660 { stop(); _root.guest60.gotoAndStop('leaveBad'); } } button 2862 { on (press) { if (pausePlay == 0) { _root.guest60.guest60Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest60.guest60Order._alpha = 0; _root.guest60.gotoAndStop('good'); } } } } movieClip 2863 { } movieClip 2865 { frame 1 { play(); } frame 24 { _root.guest60.gotoAndStop('leaveGood'); } } movieClip 2866 { frame 1 { stop(); } instance guest4Arrive of movieClip 2850 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 2860 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } } movieClip 2868 { } movieClip 2870 { } movieClip 2872 { } movieClip 2874 { } movieClip 2875 { } movieClip 2877 { } movieClip 2878 { } movieClip 2881 { } movieClip 2883 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.specialGuest6.specialGuest6Order.gotoAndStop(2); _root.specialGuest6.gotoAndStop('waiting'); } } movieClip 2885 { } movieClip 2886 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2888 { on (press) { if (pausePlay == 0) { _root.specialGuest6.specialGuest6Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 65; _root.goodJobScreen.score += 65; _root.shop.score += 65; _root.gameOverScreen.score += 65; } if (_root.stoveType == 2) { _root.score += 80; _root.goodJobScreen.score += 80; _root.shop.score += 80; _root.gameOverScreen.score += 80; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest6.specialGuest6Order._alpha = 0; _root.specialGuest6.gotoAndStop('good'); } } } } movieClip 2889 { } movieClip 2893 { frame 1 { play(); } frame 600 { _root.specialGuest6.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest6.gotoAndStop('leaveBad'); } } button 2895 { on (press) { if (pausePlay == 0) { _root.specialGuest6.specialGuest6Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 65; _root.goodJobScreen.score += 65; _root.shop.score += 65; _root.gameOverScreen.score += 65; } if (_root.stoveType == 2) { _root.score += 80; _root.goodJobScreen.score += 80; _root.shop.score += 80; _root.gameOverScreen.score += 80; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest6.specialGuest6Order._alpha = 0; _root.specialGuest6.gotoAndStop('good'); } } } } movieClip 2896 { } movieClip 2898 { frame 1 { play(); } frame 24 { _root.specialGuest6.gotoAndStop('leaveGood'); } } movieClip 2899 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2883 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2893 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest61.gotoAndStop(2); _root.guest62.gotoAndStop(2); } else { _root.guestCount -= 7; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest61.gotoAndStop(2); _root.guest62.gotoAndStop(2); } else { _root.guestCount -= 7; } } } movieClip 2901 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest61.guest61Order.gotoAndStop(2); _root.guest61.gotoAndStop('waiting'); } } movieClip 2903 { } movieClip 2905 { } movieClip 2906 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2908 { on (press) { if (pausePlay == 0) { if (_root.guest61FirstOrder == 0) { _root.guest61.guest61Order.gotoAndStop('2OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest61FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest61FirstOrder == 1) { _root.guest61.guest61Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest61SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest61.guest61Order._alpha = 0; _root.guest61.gotoAndStop('good'); } } } } } movieClip 2909 { } movieClip 2913 { frame 1 { play(); } frame 520 { _root.guest61.gotoAndStop('bad'); } frame 780 { stop(); _root.guest61.gotoAndStop('leaveBad'); } } button 2915 { on (press) { if (pausePlay == 0) { if (_root.guest61FirstOrder == 0) { _root.guest61.guest61Order.gotoAndStop('2OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest61FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest61FirstOrder == 1) { _root.guest61.guest61Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest61SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest61.guest61Order._alpha = 0; _root.guest61.gotoAndStop('good'); } } } } } movieClip 2916 { } movieClip 2918 { frame 1 { play(); } frame 24 { _root.guest61.gotoAndStop('leaveGood'); } } movieClip 2919 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2901 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2913 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest63.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest63.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance guest61 of movieClip 2919 { onClipEvent (load) { _root.guest61FirstOrder = 0; _root.guest61SecondOrder = 0; } } movieClip 2921 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest62.guest62Order.gotoAndStop(2); _root.guest62.gotoAndStop('waiting'); } } movieClip 2923 { } movieClip 2925 { } movieClip 2926 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2928 { on (press) { if (pausePlay == 0) { if (_root.guest62FirstOrder == 0) { _root.guest62.guest62Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest62FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest62FirstOrder == 1) { _root.guest62.guest62Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest62SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest62.guest62Order._alpha = 0; _root.guest62.gotoAndStop('good'); } } } } } movieClip 2929 { } movieClip 2933 { frame 1 { play(); } frame 560 { _root.guest62.gotoAndStop('bad'); } frame 840 { stop(); _root.guest62.gotoAndStop('leaveBad'); } } button 2935 { on (press) { if (pausePlay == 0) { if (_root.guest62FirstOrder == 0) { _root.guest62.guest62Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest62FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest62FirstOrder == 1) { _root.guest62.guest62Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest62SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest62.guest62Order._alpha = 0; _root.guest62.gotoAndStop('good'); } } } } } movieClip 2936 { } movieClip 2938 { frame 1 { play(); } frame 24 { _root.guest62.gotoAndStop('leaveGood'); } } movieClip 2939 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2921 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2933 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest64.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest64.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance guest62 of movieClip 2939 { onClipEvent (load) { _root.guest62FirstOrder = 0; _root.guest62SecondOrder = 0; } } movieClip 2941 { frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest63.guest63Order.gotoAndStop(2); _root.guest63.gotoAndStop('waiting'); } } movieClip 2943 { } movieClip 2944 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2946 { on (press) { if (pausePlay == 0) { _root.guest63.guest63Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest63.guest63Order._alpha = 0; _root.guest63.gotoAndStop('good'); } } } } movieClip 2947 { } movieClip 2951 { frame 1 { play(); } frame 480 { _root.guest63.gotoAndStop('bad'); } frame 720 { stop(); _root.guest63.gotoAndStop('leaveBad'); } } button 2953 { on (press) { if (pausePlay == 0) { _root.guest63.guest63Order.gotoAndStop(2); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest63.guest63Order._alpha = 0; _root.guest63.gotoAndStop('good'); } } } } movieClip 2954 { } movieClip 2956 { frame 1 { play(); } frame 24 { _root.guest63.gotoAndStop('leaveGood'); } } movieClip 2957 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2941 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2951 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest65.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest65.gotoAndStop(2); } else { _root.guestCount -= 2; } } } movieClip 2959 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest64.guest64Order.gotoAndStop(2); _root.guest64.gotoAndStop('waiting'); } } movieClip 2961 { } movieClip 2962 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 2964 { on (press) { if (pausePlay == 0) { _root.guest64.guest64Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest64.guest64Order._alpha = 0; _root.guest64.gotoAndStop('good'); } } } } movieClip 2965 { } movieClip 2969 { frame 1 { play(); } frame 440 { _root.guest64.gotoAndStop('bad'); } frame 660 { stop(); _root.guest64.gotoAndStop('leaveBad'); } } button 2971 { on (press) { if (pausePlay == 0) { _root.guest64.guest64Order.gotoAndStop(2); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest64.guest64Order._alpha = 0; _root.guest64.gotoAndStop('good'); } } } } movieClip 2972 { } movieClip 2974 { frame 1 { play(); } frame 24 { _root.guest64.gotoAndStop('leaveGood'); } } movieClip 2975 { frame 1 { stop(); } frame 2 { stop(); } instance guest4Arrive of movieClip 2959 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2969 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest66.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest66.gotoAndStop(2); } else { _root.guestCount -= 2; } } } movieClip 2977 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest65.guest65Order.gotoAndStop(2); _root.guest65.gotoAndStop('waiting'); } } movieClip 2979 { } movieClip 2981 { } movieClip 2982 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 2984 { on (press) { if (pausePlay == 0) { if (_root.guest65FirstOrder == 0) { _root.guest65.guest65Order.gotoAndStop('2OrderPlay'); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.guest65FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest65FirstOrder == 1) { _root.guest65.guest65Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest65SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest65.guest65Order._alpha = 0; _root.guest65.gotoAndStop('good'); } } } } } movieClip 2985 { } movieClip 2989 { frame 1 { play(); } frame 640 { _root.guest65.gotoAndStop('bad'); } frame 960 { stop(); _root.guest65.gotoAndStop('leaveBad'); } } button 2991 { on (press) { if (pausePlay == 0) { if (_root.guest65FirstOrder == 0) { _root.guest65.guest65Order.gotoAndStop('2OrderPlay'); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.guest65FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest65FirstOrder == 1) { _root.guest65.guest65Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest65SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest65.guest65Order._alpha = 0; _root.guest65.gotoAndStop('good'); } } } } } movieClip 2992 { } movieClip 2994 { frame 1 { play(); } frame 24 { _root.guest65.gotoAndStop('leaveGood'); } } movieClip 2995 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2977 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 2989 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest68.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest68.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest65 of movieClip 2995 { onClipEvent (load) { _root.guest65FirstOrder = 0; _root.guest65SecondOrder = 0; } } movieClip 2997 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest66.guest66Order.gotoAndStop(2); _root.guest66.gotoAndStop('waiting'); } } movieClip 3001 { } movieClip 3003 { } movieClip 3004 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3006 { on (press) { if (pausePlay == 0) { if (_root.guest66FirstOrder == 0) { _root.guest66.guest66Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest66FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest66FirstOrder == 1) { _root.guest66.guest66Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest66SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest66.guest66Order._alpha = 0; _root.guest66.gotoAndStop('good'); } } } } } movieClip 3007 { } movieClip 3011 { frame 1 { play(); } frame 600 { _root.guest66.gotoAndStop('bad'); } frame 900 { stop(); _root.guest66.gotoAndStop('leaveBad'); } } button 3013 { on (press) { if (pausePlay == 0) { if (_root.guest66FirstOrder == 0) { _root.guest66.guest66Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest66FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest66FirstOrder == 1) { _root.guest66.guest66Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest66SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest66.guest66Order._alpha = 0; _root.guest66.gotoAndStop('good'); } } } } } movieClip 3014 { } movieClip 3016 { frame 1 { play(); } frame 24 { _root.guest66.gotoAndStop('leaveGood'); } } movieClip 3017 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 2997 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3011 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest67.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest67.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest66 of movieClip 3017 { onClipEvent (load) { _root.guest66FirstOrder = 0; _root.guest66SecondOrder = 0; } } movieClip 3019 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest67.guest67Order.gotoAndStop(2); _root.guest67.gotoAndStop('waiting'); } } movieClip 3020 { } movieClip 3021 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3023 { on (press) { if (pausePlay == 0) { _root.guest67.guest67Order.gotoAndStop(2); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest67.guest67Order._alpha = 0; _root.guest67.gotoAndStop('good'); } } } } movieClip 3024 { } movieClip 3028 { frame 1 { play(); } frame 480 { _root.guest67.gotoAndStop('bad'); } frame 720 { stop(); _root.guest67.gotoAndStop('leaveBad'); } } button 3030 { on (press) { if (pausePlay == 0) { _root.guest67.guest67Order.gotoAndStop(2); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest67.guest67Order._alpha = 0; _root.guest67.gotoAndStop('good'); } } } } movieClip 3031 { } movieClip 3033 { frame 1 { play(); } frame 24 { _root.guest67.gotoAndStop('leaveGood'); } } movieClip 3034 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3019 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3028 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 3036 { frame 1 { play(); } frame 228 { _root.guestArriveMusic.gotoAndStop(2); } frame 240 { _root.guest68.guest68Order.gotoAndStop(2); _root.guest68.gotoAndStop('waiting'); } } movieClip 3038 { } movieClip 3039 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3041 { on (press) { if (pausePlay == 0) { _root.guest68.guest68Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest68.guest68Order._alpha = 0; _root.guest68.gotoAndStop('good'); } } } } movieClip 3042 { } movieClip 3046 { frame 1 { play(); } frame 400 { _root.guest68.gotoAndStop('bad'); } frame 600 { stop(); _root.guest68.gotoAndStop('leaveBad'); } } button 3048 { on (press) { if (pausePlay == 0) { _root.guest68.guest68Order.gotoAndStop(2); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest68.guest68Order._alpha = 0; _root.guest68.gotoAndStop('good'); } } } } movieClip 3049 { } movieClip 3051 { frame 1 { play(); } frame 24 { _root.guest68.gotoAndStop('leaveGood'); } } movieClip 3052 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3036 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3046 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 3054 { } movieClip 3055 { frame 1 { play(); } frame 24 { stop(); } } movieClip 3056 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 3056 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 399) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 9 & _root.goodJobScreen.score > 399) { this.gotoAndStop(2); } } } frame 14 { stop(); _root.day.countDay = 10; _global.currentLevel = 10; _root.guestCount = 13; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 3072 { frame 1 { play(); } frame 40 { _root.telephone17.gotoAndStop(2); } } button 3075 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone17.phone17Order.gotoAndStop(2); _root.telephone17.gotoAndStop('waiting'); } } } movieClip 3091 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3093 { } movieClip 3094 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3098 { frame 1 { play(); } frame 720 { stop(); _root.telephone17.gotoAndStop('leaveBad'); } } button 3099 { on (press) { if (pausePlay == 0) { _root.telephone17.phone17Order.gotoAndStop(2); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone17.gotoAndStop('good'); } } } } movieClip 3100 { } movieClip 3102 { frame 1 { play(); } frame 24 { _root.telephone17.gotoAndStop('leaveGood'); } } movieClip 3104 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3091 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3098 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone17.gotoAndStop('none'); _root.telephone18.gotoAndStop(2); } else { _root.guestCount -= 11; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone17.gotoAndStop('none'); _root.telephone18.gotoAndStop(2); } else { _root.guestCount -= 11; } } frame 7 { stop(); } } button 3107 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone18.phone18Order.gotoAndStop(2); _root.telephone18.gotoAndStop('waiting'); } } } movieClip 3123 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3125 { } movieClip 3126 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3130 { frame 1 { play(); } frame 720 { stop(); _root.telephone18.gotoAndStop('leaveBad'); } } button 3131 { on (press) { if (pausePlay == 0) { _root.telephone18.phone18Order.gotoAndStop(2); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone18.gotoAndStop('good'); } } } } movieClip 3132 { } movieClip 3134 { frame 1 { play(); } frame 24 { _root.telephone18.gotoAndStop('leaveGood'); } } movieClip 3136 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3123 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3130 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest69.gotoAndStop(2); _root.guest70.gotoAndStop(2); } else { _root.guestCount -= 10; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest69.gotoAndStop(2); _root.guest70.gotoAndStop(2); } else { _root.guestCount -= 10; } } frame 7 { stop(); } } button 3140 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone27.phone27Order.gotoAndStop(2); _root.telephone27.gotoAndStop('waiting'); } } } movieClip 3156 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3158 { } movieClip 3159 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } movieClip 3163 { frame 1 { play(); } frame 720 { stop(); _root.telephone18.gotoAndStop('leaveBad'); } } button 3164 { on (press) { if (pausePlay == 0) { _root.telephone27.phone27Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone27.gotoAndStop('good'); } } } } movieClip 3165 { } movieClip 3167 { frame 1 { play(); } frame 24 { _root.telephone27.gotoAndStop('leaveGood'); } } movieClip 3169 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3156 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3163 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); } } movieClip 3171 { } movieClip 3172 { frame 1 { play(); } frame 24 { stop(); } } movieClip 3173 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 3173 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 449) { this.gotoAndStop(2); } } } movieClip 3175 { frame 1 { play(); } frame 48 { _root.guestArriveMusic.gotoAndStop(2); } frame 60 { _root.guest69.guest69Order.gotoAndStop(2); _root.guest69.gotoAndStop('waiting'); } } movieClip 3177 { } movieClip 3178 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3180 { on (press) { if (pausePlay == 0) { _root.guest69.guest69Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest69.guest69Order._alpha = 0; _root.guest69.gotoAndStop('good'); } } } } movieClip 3181 { } movieClip 3185 { frame 1 { play(); } frame 440 { _root.guest69.gotoAndStop('bad'); } frame 640 { stop(); _root.guest69.gotoAndStop('leaveBad'); } } button 3187 { on (press) { if (pausePlay == 0) { _root.guest69.guest69Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest69.guest69Order._alpha = 0; _root.guest69.gotoAndStop('good'); } } } } movieClip 3188 { } movieClip 3190 { frame 1 { play(); } frame 24 { _root.guest69.gotoAndStop('leaveGood'); } } movieClip 3191 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3175 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3185 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest71.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest71.gotoAndStop(2); } else { _root.guestCount -= 5; } } } movieClip 3193 { frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest70.guest70Order.gotoAndStop(2); _root.guest70.gotoAndStop('waiting'); } } movieClip 3195 { } movieClip 3196 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3198 { on (press) { if (pausePlay == 0) { _root.guest70.guest70Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest70.guest70Order._alpha = 0; _root.guest70.gotoAndStop('good'); } } } } movieClip 3199 { } movieClip 3203 { frame 1 { play(); } frame 440 { _root.guest70.gotoAndStop('bad'); } frame 660 { stop(); _root.guest70.gotoAndStop('leaveBad'); } } button 3205 { on (press) { if (pausePlay == 0) { _root.guest70.guest70Order.gotoAndStop(2); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest70.guest70Order._alpha = 0; _root.guest70.gotoAndStop('good'); } } } } movieClip 3206 { } movieClip 3208 { frame 1 { play(); } frame 24 { _root.guest70.gotoAndStop('leaveGood'); } } movieClip 3209 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3193 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3203 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest7.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest7.gotoAndStop(2); } else { _root.guestCount -= 4; } } } movieClip 3211 { frame 1 { play(); } frame 188 { _root.guestArriveMusic.gotoAndStop(2); } frame 200 { _root.guest71.guest71Order.gotoAndStop(2); _root.guest71.gotoAndStop('waiting'); } } movieClip 3213 { } movieClip 3215 { } movieClip 3216 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3218 { on (press) { if (pausePlay == 0) { if (_root.guest71FirstOrder == 0) { _root.guest71.guest71Order.gotoAndStop('2OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest71FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest71FirstOrder == 1) { _root.guest71.guest71Order.gotoAndStop('1OrderPlay'); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.guest71SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest71.guest71Order._alpha = 0; _root.guest71.gotoAndStop('good'); } } } } } movieClip 3219 { } movieClip 3223 { frame 1 { play(); } frame 520 { _root.guest71.gotoAndStop('bad'); } frame 780 { stop(); _root.guest71.gotoAndStop('leaveBad'); } } button 3225 { on (press) { if (pausePlay == 0) { if (_root.guest71FirstOrder == 0) { _root.guest71.guest71Order.gotoAndStop('2OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest71FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest71FirstOrder == 1) { _root.guest71.guest71Order.gotoAndStop('1OrderPlay'); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.guest71SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest71.guest71Order._alpha = 0; _root.guest71.gotoAndStop('good'); } } } } } movieClip 3226 { } movieClip 3228 { frame 1 { play(); } frame 24 { _root.guest71.gotoAndStop('leaveGood'); } } movieClip 3229 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3211 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3223 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest72.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest72.gotoAndStop(2); } else { _root.guestCount -= 4; } } } instance guest71 of movieClip 3229 { onClipEvent (load) { _root.guest71FirstOrder = 0; _root.guest71SecondOrder = 0; } } movieClip 3231 { } movieClip 3233 { } movieClip 3235 { } movieClip 3237 { } movieClip 3238 { } movieClip 3240 { } movieClip 3242 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.specialGuest7.specialGuest7Order.gotoAndStop(2); _root.specialGuest7.gotoAndStop('waiting'); } } movieClip 3244 { } movieClip 3246 { } movieClip 3247 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3249 { on (press) { if (pausePlay == 0) { if (_root.specialGuest7FirstOrder == 0) { _root.specialGuest7.specialGuest7Order.gotoAndStop('2OrderPlay'); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.specialGuest7FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest7FirstOrder == 1) { _root.specialGuest7.specialGuest7Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest7SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest7.specialGuest7Order._alpha = 0; _root.specialGuest7.gotoAndStop('good'); } } } } } movieClip 3250 { } movieClip 3254 { frame 1 { play(); } frame 680 { _root.specialGuest7.gotoAndStop('bad'); } frame 1020 { stop(); _root.specialGuest7.gotoAndStop('leaveBad'); } } button 3256 { on (press) { if (pausePlay == 0) { if (_root.specialGuest7FirstOrder == 0) { _root.specialGuest7.specialGuest7Order.gotoAndStop('2OrderPlay'); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.specialGuest7FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest7FirstOrder == 1) { _root.specialGuest7.specialGuest7Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest7SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest7.specialGuest7Order._alpha = 0; _root.specialGuest7.gotoAndStop('good'); } } } } } movieClip 3257 { } movieClip 3259 { frame 1 { play(); } frame 24 { _root.specialGuest7.gotoAndStop('leaveGood'); } } movieClip 3260 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3242 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3254 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest73.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest73.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance specialGuest7 of movieClip 3260 { onClipEvent (load) { _root.specialGuest7FirstOrder = 0; _root.specialGuest7SecondOrder = 0; } } movieClip 3262 { frame 1 { play(); } frame 128 { _root.guestArriveMusic.gotoAndStop(2); } frame 140 { _root.guest72.guest72Order.gotoAndStop(2); _root.guest72.gotoAndStop('waiting'); } } movieClip 3264 { } movieClip 3265 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3267 { on (press) { if (pausePlay == 0) { _root.guest72.guest72Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest72.guest72Order._alpha = 0; _root.guest72.gotoAndStop('good'); } } } } movieClip 3268 { } movieClip 3272 { frame 1 { play(); } frame 440 { _root.guest72.gotoAndStop('bad'); } frame 660 { stop(); _root.guest72.gotoAndStop('leaveBad'); } } button 3274 { on (press) { if (pausePlay == 0) { _root.guest72.guest72Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest72.guest72Order._alpha = 0; _root.guest72.gotoAndStop('good'); } } } } movieClip 3275 { } movieClip 3277 { frame 1 { play(); } frame 24 { _root.guest72.gotoAndStop('leaveGood'); } } movieClip 3278 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3262 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3272 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone18.gotoAndStop('none'); _root.telephone27.gotoAndStop(2); _root.guest74.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone18.gotoAndStop('none'); _root.telephone27.gotoAndStop(2); _root.guest74.gotoAndStop(2); } else { _root.guestCount -= 3; } } } movieClip 3280 { frame 1 { play(); } frame 48 { _root.guestArriveMusic.gotoAndStop(2); } frame 60 { _root.guest74.guest74Order.gotoAndStop(2); _root.guest74.gotoAndStop('waiting'); } } movieClip 3281 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3283 { on (press) { if (pausePlay == 0) { if (_root.guest74FirstOrder == 0) { _root.guest74.guest74Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest74FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest74FirstOrder == 1) { _root.guest74.guest74Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest74SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest74.guest74Order._alpha = 0; _root.guest74.gotoAndStop('good'); } } } } } movieClip 3284 { } movieClip 3288 { frame 1 { play(); } frame 560 { _root.guest74.gotoAndStop('bad'); } frame 840 { stop(); _root.guest74.gotoAndStop('leaveBad'); } } button 3290 { on (press) { if (pausePlay == 0) { if (_root.guest74FirstOrder == 0) { _root.guest74.guest74Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest74FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest74FirstOrder == 1) { _root.guest74.guest74Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest74SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest74.guest74Order._alpha = 0; _root.guest74.gotoAndStop('good'); } } } } } movieClip 3291 { } movieClip 3293 { frame 1 { play(); } frame 24 { _root.guest74.gotoAndStop('leaveGood'); } } movieClip 3294 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3280 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3288 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest76.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest76.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest74 of movieClip 3294 { onClipEvent (load) { _root.guest74FirstOrder = 0; _root.guest74SecondOrder = 0; } } movieClip 3296 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest76.guest76Order.gotoAndStop(2); _root.guest76.gotoAndStop('waiting'); } } movieClip 3298 { } movieClip 3300 { } movieClip 3301 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3303 { on (press) { if (pausePlay == 0) { if (_root.guest76FirstOrder == 0) { _root.guest76.guest76Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest76FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest76FirstOrder == 1) { _root.guest76.guest76Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest76SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest76.guest76Order._alpha = 0; _root.guest76.gotoAndStop('good'); } } } } } movieClip 3304 { } movieClip 3308 { frame 1 { play(); } frame 560 { _root.guest76.gotoAndStop('bad'); } frame 840 { stop(); _root.guest76.gotoAndStop('leaveBad'); } } button 3310 { on (press) { if (pausePlay == 0) { if (_root.guest76FirstOrder == 0) { _root.guest76.guest76Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest76FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest76FirstOrder == 1) { _root.guest76.guest76Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest76SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest76.guest76Order._alpha = 0; _root.guest76.gotoAndStop('good'); } } } } } movieClip 3311 { } movieClip 3313 { frame 1 { play(); } frame 24 { _root.guest76.gotoAndStop('leaveGood'); } } movieClip 3314 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3296 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3308 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } instance guest76 of movieClip 3314 { onClipEvent (load) { _root.guest76FirstOrder = 0; _root.guest76SecondOrder = 0; } } movieClip 3316 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest73.guest73Order.gotoAndStop(2); _root.guest73.gotoAndStop('waiting'); } } movieClip 3318 { } movieClip 3320 { } movieClip 3321 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3323 { on (press) { if (pausePlay == 0) { if (_root.guest73FirstOrder == 0) { _root.guest73.guest73Order.gotoAndStop('2OrderPlay'); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.guest73FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest73FirstOrder == 1) { _root.guest73.guest73Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest73SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest73.guest73Order._alpha = 0; _root.guest73.gotoAndStop('good'); } } } } } movieClip 3324 { } movieClip 3328 { frame 1 { play(); } frame 560 { _root.guest73.gotoAndStop('bad'); } frame 840 { stop(); _root.guest73.gotoAndStop('leaveBad'); } } button 3330 { on (press) { if (pausePlay == 0) { if (_root.guest73FirstOrder == 0) { _root.guest73.guest73Order.gotoAndStop('2OrderPlay'); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.guest73FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.stoveType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest73FirstOrder == 1) { _root.guest73.guest73Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest73SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest73.guest73Order._alpha = 0; _root.guest73.gotoAndStop('good'); } } } } } movieClip 3331 { } movieClip 3333 { frame 1 { play(); } frame 24 { _root.guest73.gotoAndStop('leaveGood'); } } movieClip 3334 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3316 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3328 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest75.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest75.gotoAndStop(2); } else { _root.guestCount -= 2; } } } instance guest73 of movieClip 3334 { onClipEvent (load) { _root.guest73FirstOrder = 0; _root.guest73SecondOrder = 0; } } movieClip 3336 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest75.guest75Order.gotoAndStop(2); _root.guest75.gotoAndStop('waiting'); } } movieClip 3338 { } movieClip 3340 { } movieClip 3341 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3343 { on (press) { if (pausePlay == 0) { if (_root.guest75FirstOrder == 0) { _root.guest75.guest75Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest75FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest75FirstOrder == 1) { _root.guest75.guest75Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest75SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest75.guest75Order._alpha = 0; _root.guest75.gotoAndStop('good'); } } } } } movieClip 3344 { } movieClip 3348 { frame 1 { play(); } frame 560 { _root.guest75.gotoAndStop('bad'); } frame 840 { stop(); _root.guest75.gotoAndStop('leaveBad'); } } button 3350 { on (press) { if (pausePlay == 0) { if (_root.guest75FirstOrder == 0) { _root.guest75.guest75Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.guest75FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest75FirstOrder == 1) { _root.guest75.guest75Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest75SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest75.guest75Order._alpha = 0; _root.guest75.gotoAndStop('good'); } } } } } movieClip 3351 { } movieClip 3353 { frame 1 { play(); } frame 24 { _root.guest75.gotoAndStop('leaveGood'); } } movieClip 3354 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3336 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3348 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest9.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest9.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest75 of movieClip 3354 { onClipEvent (load) { _root.guest75FirstOrder = 0; _root.guest75SecondOrder = 0; } } movieClip 3356 { } movieClip 3358 { } movieClip 3360 { } movieClip 3362 { } movieClip 3363 { } movieClip 3365 { } movieClip 3366 { } movieClip 3369 { } movieClip 3371 { frame 1 { play(); } frame 78 { _root.guestArriveMusic.gotoAndStop(2); } frame 90 { _root.specialGuest9.specialGuest9Order.gotoAndStop(2); _root.specialGuest9.gotoAndStop('waiting'); } } movieClip 3373 { } movieClip 3375 { } movieClip 3376 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3378 { on (press) { if (pausePlay == 0) { if (_root.specialGuest9FirstOrder == 0) { _root.specialGuest9.specialGuest9Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest9FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest9FirstOrder == 1) { _root.specialGuest9.specialGuest9Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.specialGuest9SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest9.specialGuest9Order._alpha = 0; _root.specialGuest9.gotoAndStop('good'); } } } } } movieClip 3379 { } movieClip 3383 { frame 1 { play(); } frame 600 { _root.specialGuest9.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest9.gotoAndStop('leaveBad'); } } button 3385 { on (press) { if (pausePlay == 0) { if (_root.specialGuest9FirstOrder == 0) { _root.specialGuest9.specialGuest9Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest9FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest9FirstOrder == 1) { _root.specialGuest9.specialGuest9Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.specialGuest9SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest9.specialGuest9Order._alpha = 0; _root.specialGuest9.gotoAndStop('good'); } } } } } movieClip 3386 { } movieClip 3388 { frame 1 { play(); } frame 24 { _root.specialGuest9.gotoAndStop('leaveGood'); } } movieClip 3389 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3371 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3383 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } instance specialGuest9 of movieClip 3389 { onClipEvent (load) { _root.specialGuest9FirstOrder = 0; _root.specialGuest9SecondOrder = 0; } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 10 & _root.goodJobScreen.score > 449) { this.gotoAndStop(2); } } } frame 15 { stop(); _root.day.countDay = 11; _global.currentLevel = 11; _root.guestCount = 12; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 3406 { frame 1 { play(); } frame 60 { _root.telephone19.gotoAndStop(3); } } button 3409 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone19.phone19Order.gotoAndStop(2); _root.telephone19.gotoAndStop('waiting'); } } } movieClip 3425 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3427 { } movieClip 3428 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3432 { frame 1 { play(); } frame 720 { stop(); _root.telephone19.gotoAndStop('leaveBad'); } } button 3433 { on (press) { if (pausePlay == 0) { _root.telephone19.phone19Order.gotoAndStop(2); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone19.gotoAndStop('good'); } } } } movieClip 3434 { } movieClip 3436 { frame 1 { play(); } frame 24 { _root.telephone19.gotoAndStop('leaveGood'); } } movieClip 3438 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } instance of movieClip 3425 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3432 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest79.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest79.gotoAndStop(2); } else { _root.guestCount -= 5; } } frame 8 { stop(); } } button 3441 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone20.phone20Order.gotoAndStop(2); _root.telephone20.gotoAndStop('waiting'); } } } movieClip 3457 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3459 { } movieClip 3460 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3464 { frame 1 { play(); } frame 720 { stop(); _root.telephone20.gotoAndStop('leaveBad'); } } button 3465 { on (press) { if (pausePlay == 0) { _root.telephone20.phone20Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone20.gotoAndStop('good'); } } } } movieClip 3466 { } movieClip 3468 { frame 1 { play(); } frame 24 { _root.telephone20.gotoAndStop('leaveGood'); } } movieClip 3470 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3457 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3464 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest80.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest80.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); } } movieClip 3473 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest77.guest77Order.gotoAndStop(2); _root.guest77.gotoAndStop('waiting'); } } movieClip 3475 { } movieClip 3477 { } movieClip 3478 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3480 { on (press) { if (pausePlay == 0) { if (_root.guest77FirstOrder == 0) { _root.guest77.guest77Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest77FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest77FirstOrder == 1) { _root.guest77.guest77Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest77SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest77.guest77Order._alpha = 0; _root.guest77.gotoAndStop('good'); } } } } } movieClip 3481 { } movieClip 3485 { frame 1 { play(); } frame 560 { _root.guest77.gotoAndStop('bad'); } frame 840 { stop(); _root.guest77.gotoAndStop('leaveBad'); } } button 3487 { on (press) { if (pausePlay == 0) { if (_root.guest77FirstOrder == 0) { _root.guest77.guest77Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest77FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest77FirstOrder == 1) { _root.guest77.guest77Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest77SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest77.guest77Order._alpha = 0; _root.guest77.gotoAndStop('good'); } } } } } movieClip 3488 { } movieClip 3490 { frame 1 { play(); } frame 24 { _root.guest77.gotoAndStop('leaveGood'); } } movieClip 3491 { frame 1 { stop(); } instance of movieClip 3473 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 3485 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone17.gotoAndStop('none'); _root.telephone19.gotoAndStop(2); } else { _root.guestCount -= 6; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone17.gotoAndStop('none'); _root.telephone19.gotoAndStop(2); } else { _root.guestCount -= 11; } } } instance guest77 of movieClip 3491 { onClipEvent (load) { _root.guest77FirstOrder = 0; _root.guest77SecondOrder = 0; } } movieClip 3493 { frame 1 { play(); } frame 248 { _root.guestArriveMusic.gotoAndStop(2); } frame 260 { _root.guest78.guest78Order.gotoAndStop(2); _root.guest78.gotoAndStop('waiting'); } } movieClip 3495 { } movieClip 3497 { } movieClip 3498 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3500 { on (press) { if (pausePlay == 0) { if (_root.guest78FirstOrder == 0) { _root.guest78.guest78Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest78FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest78FirstOrder == 1) { _root.guest78.guest78Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest78SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest78.guest78Order._alpha = 0; _root.guest78.gotoAndStop('good'); } } } } } movieClip 3501 { } movieClip 3505 { frame 1 { play(); } frame 600 { _root.guest78.gotoAndStop('bad'); } frame 900 { stop(); _root.guest78.gotoAndStop('leaveBad'); } } button 3507 { on (press) { if (pausePlay == 0) { if (_root.guest78FirstOrder == 0) { _root.guest78.guest78Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest78FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest78FirstOrder == 1) { _root.guest78.guest78Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest78SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest78.guest78Order._alpha = 0; _root.guest78.gotoAndStop('good'); } } } } } movieClip 3508 { } movieClip 3510 { frame 1 { play(); } frame 24 { _root.guest78.gotoAndStop('leaveGood'); } } movieClip 3511 { frame 1 { stop(); } instance of movieClip 3493 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 3505 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest10.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest10.gotoAndStop(2); } else { _root.guestCount -= 4; } } } instance guest78 of movieClip 3511 { onClipEvent (load) { _root.guest78FirstOrder = 0; _root.guest78SecondOrder = 0; } } movieClip 3513 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest79.guest79Order.gotoAndStop(2); _root.guest79.gotoAndStop('waiting'); } } movieClip 3514 { } movieClip 3516 { } movieClip 3517 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3519 { on (press) { if (pausePlay == 0) { if (_root.guest79FirstOrder == 0) { _root.guest79.guest79Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest79FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest79FirstOrder == 1) { _root.guest79.guest79Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest79SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest79.guest79Order._alpha = 0; _root.guest79.gotoAndStop('good'); } } } } } movieClip 3520 { } movieClip 3524 { frame 1 { play(); } frame 600 { _root.guest79.gotoAndStop('bad'); } frame 900 { stop(); _root.guest79.gotoAndStop('leaveBad'); } } button 3526 { on (press) { if (pausePlay == 0) { if (_root.guest79FirstOrder == 0) { _root.guest79.guest79Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest79FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest79FirstOrder == 1) { _root.guest79.guest79Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest79SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest79.guest79Order._alpha = 0; _root.guest79.gotoAndStop('good'); } } } } } movieClip 3527 { } movieClip 3529 { frame 1 { play(); } frame 24 { _root.guest79.gotoAndStop('leaveGood'); } } movieClip 3530 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3513 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3524 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone19.gotoAndStop('none'); _root.telephone20.gotoAndStop(2); } else { _root.guestCount -= 4; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone19.gotoAndStop('none'); _root.telephone20.gotoAndStop(2); } else { _root.guestCount -= 4; } } } instance guest79 of movieClip 3530 { onClipEvent (load) { _root.guest79FirstOrder = 0; _root.guest79SecondOrder = 0; } } movieClip 3531 { } movieClip 3533 { } movieClip 3535 { } movieClip 3537 { } movieClip 3539 { frame 1 { play(); } frame 98 { _root.guestArriveMusic.gotoAndStop(2); } frame 110 { _root.specialGuest10.specialGuest10Order.gotoAndStop(2); _root.specialGuest10.gotoAndStop('waiting'); } } movieClip 3541 { } movieClip 3543 { } movieClip 3544 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3546 { on (press) { if (pausePlay == 0) { if (_root.specialGuest10FirstOrder == 0) { _root.specialGuest10.specialGuest10Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest10FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest10FirstOrder == 1) { _root.specialGuest10.specialGuest10Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.specialGuest10SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest10.specialGuest10Order._alpha = 0; _root.specialGuest10.gotoAndStop('good'); } } } } } movieClip 3547 { } movieClip 3551 { frame 1 { play(); } frame 680 { _root.specialGuest10.gotoAndStop('bad'); } frame 1020 { stop(); _root.specialGuest10.gotoAndStop('leaveBad'); } } button 3553 { on (press) { if (pausePlay == 0) { if (_root.specialGuest10FirstOrder == 0) { _root.specialGuest10.specialGuest10Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest10FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest10FirstOrder == 1) { _root.specialGuest10.specialGuest10Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.specialGuest10SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest10.specialGuest10Order._alpha = 0; _root.specialGuest10.gotoAndStop('good'); } } } } } movieClip 3554 { } movieClip 3557 { } movieClip 3558 { } movieClip 3559 { frame 1 { play(); } frame 24 { _root.specialGuest10.gotoAndStop('leaveGood'); } } movieClip 3560 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3539 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3551 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest82.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest82.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance specialGuest10 of movieClip 3560 { onClipEvent (load) { _root.specialGuest10FirstOrder = 0; _root.specialGuest10SecondOrder = 0; } } movieClip 3562 { frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.guest80.guest80Order.gotoAndStop(2); _root.guest80.gotoAndStop('waiting'); } } movieClip 3564 { } movieClip 3565 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3567 { on (press) { if (pausePlay == 0) { _root.guest80.guest80Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest80.guest80Order._alpha = 0; _root.guest80.gotoAndStop('good'); } } } } movieClip 3568 { } movieClip 3572 { frame 1 { play(); } frame 440 { _root.guest80.gotoAndStop('bad'); } frame 680 { stop(); _root.guest80.gotoAndStop('leaveBad'); } } button 3574 { on (press) { if (pausePlay == 0) { _root.guest80.guest80Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest80.guest80Order._alpha = 0; _root.guest80.gotoAndStop('good'); } } } } movieClip 3575 { } movieClip 3577 { frame 1 { play(); } frame 24 { _root.guest80.gotoAndStop('leaveGood'); } } movieClip 3578 { frame 1 { stop(); } frame 2 { stop(); } instance guest2Arrive of movieClip 3562 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3572 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone20.gotoAndStop('none'); _root.telephone21.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone20.gotoAndStop('none'); _root.telephone21.gotoAndStop(2); } else { _root.guestCount -= 2; } } } button 3581 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone21.phone21Order.gotoAndStop(2); _root.telephone21.gotoAndStop('waiting'); } } } movieClip 3597 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3599 { } movieClip 3600 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3604 { frame 1 { play(); } frame 720 { stop(); _root.telephone21.gotoAndStop('leaveBad'); } } button 3605 { on (press) { if (pausePlay == 0) { _root.telephone21.phone21Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone21.gotoAndStop('good'); } } } } movieClip 3606 { } movieClip 3608 { frame 1 { play(); } frame 24 { _root.telephone21.gotoAndStop('leaveGood'); } } movieClip 3610 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3597 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3604 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest81.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest81.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); } } movieClip 3612 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest81.guest81Order.gotoAndStop(2); _root.guest81.gotoAndStop('waiting'); } } movieClip 3614 { } movieClip 3615 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3617 { on (press) { if (pausePlay == 0) { _root.guest81.guest81Order.gotoAndStop(2); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest81.guest81Order._alpha = 0; _root.guest81.gotoAndStop('good'); } } } } movieClip 3618 { } movieClip 3622 { frame 1 { play(); } frame 480 { _root.guest67.gotoAndStop('bad'); } frame 720 { stop(); _root.guest81.gotoAndStop('leaveBad'); } } button 3624 { on (press) { if (pausePlay == 0) { _root.guest81.guest81Order.gotoAndStop(2); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest81.guest81Order._alpha = 0; _root.guest81.gotoAndStop('good'); } } } } movieClip 3625 { } movieClip 3627 { frame 1 { play(); } frame 24 { _root.guest81.gotoAndStop('leaveGood'); } } movieClip 3628 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3612 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3622 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 3630 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest82.guest82Order.gotoAndStop(2); _root.guest82.gotoAndStop('waiting'); } } movieClip 3632 { } movieClip 3633 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3635 { on (press) { if (pausePlay == 0) { _root.guest82.guest82Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest82.guest82Order._alpha = 0; _root.guest82.gotoAndStop('good'); } } } } movieClip 3636 { } movieClip 3640 { frame 1 { play(); } frame 440 { _root.guest82.gotoAndStop('bad'); } frame 660 { stop(); _root.guest82.gotoAndStop('leaveBad'); } } button 3642 { on (press) { if (pausePlay == 0) { _root.guest82.guest82Order.gotoAndStop(2); if (_root.grillSate == 1) { _global.trayFill = 0; _root.grillSate = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.grillType == 1) { _root.score += 18; _root.goodJobScreen.score += 18; _root.shop.score += 18; _root.gameOverScreen.score += 18; } if (_root.grillType == 2) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest82.guest82Order._alpha = 0; _root.guest82.gotoAndStop('good'); } } } } movieClip 3643 { } movieClip 3645 { frame 1 { play(); } frame 24 { _root.guest82.gotoAndStop('leaveGood'); } } movieClip 3646 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3630 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3640 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest11.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest11.gotoAndStop(2); } else { _root.guestCount -= 2; } } } movieClip 3648 { } movieClip 3650 { } movieClip 3652 { } movieClip 3654 { } movieClip 3655 { } movieClip 3657 { } movieClip 3659 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.specialGuest11.specialGuest11Order.gotoAndStop(2); _root.specialGuest11.gotoAndStop('waiting'); } } movieClip 3661 { } movieClip 3662 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop(1); } } button 3664 { on (press) { if (pausePlay == 0) { _root.specialGuest11.specialGuest11Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest11.specialGuest11Order._alpha = 0; _root.specialGuest11.gotoAndStop('good'); } } } } movieClip 3665 { } movieClip 3669 { frame 1 { play(); } frame 600 { _root.specialGuest11.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest11.gotoAndStop('leaveBad'); } } button 3671 { on (press) { if (pausePlay == 0) { _root.specialGuest11.specialGuest11Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest11.specialGuest11Order._alpha = 0; _root.specialGuest11.gotoAndStop('good'); } } } } movieClip 3672 { } movieClip 3674 { frame 1 { play(); } frame 24 { _root.specialGuest11.gotoAndStop('leaveGood'); } } movieClip 3675 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3659 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3669 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest83.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest83.gotoAndStop(2); } else { _root.guestCount -= 1; } } } movieClip 3677 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest83.guest83Order.gotoAndStop(2); _root.guest83.gotoAndStop('waiting'); } } movieClip 3679 { } movieClip 3680 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } } button 3682 { on (press) { if (pausePlay == 0) { _root.guest83.guest83Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest83.guest83Order._alpha = 0; _root.guest83.gotoAndStop('good'); } } } } movieClip 3683 { } movieClip 3687 { frame 1 { play(); } frame 480 { _root.guest83.gotoAndStop('bad'); } frame 720 { stop(); _root.guest83.gotoAndStop('leaveBad'); } } button 3689 { on (press) { if (pausePlay == 0) { _root.guest83.guest83Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest83.guest83Order._alpha = 0; _root.guest83.gotoAndStop('good'); } } } } movieClip 3690 { } movieClip 3692 { frame 1 { play(); } frame 24 { _root.guest83.gotoAndStop('leaveGood'); } } movieClip 3693 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3677 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3687 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } movieClip 3695 { } movieClip 3696 { frame 1 { play(); } frame 24 { stop(); } } movieClip 3697 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 3697 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 479) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 11 & _root.goodJobScreen.score > 479) { this.gotoAndStop(2); } } } frame 16 { stop(); _root.day.countDay = 12; _global.currentLevel = 12; _root.guestCount = 12; _root.restaurantClose = 0; _root.goodJobScreen.score = 0; _root.gameOverScreen.score = 0; if (_root.guestCount == 0 & _root.restaurantClose == 1) { if (_root.goodJobScreen.score > 499) { gotoAndStop('win'); } } _root.chef._x = 303.05; _root.chef._y = 280.55; } movieClip 3713 { frame 1 { play(); } frame 119 { _root.telephone22.gotoAndStop(2); } } button 3716 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone22.phone22Order.gotoAndStop(2); _root.telephone22.gotoAndStop('waiting'); } } } movieClip 3732 { frame 1 { play(); } frame 100 { gotoAndPlay('order'); } } movieClip 3734 { } movieClip 3735 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3739 { frame 1 { play(); } frame 720 { stop(); _root.telephone22.gotoAndStop('leaveBad'); } } button 3740 { on (press) { if (pausePlay == 0) { _root.telephone22.phone22Order.gotoAndStop(2); if (_root.pizzaCooked == 1) { _global.trayFill = 0; _root.pizzaCooked = 0; if (_root.stoveType == 1) { _root.score += 82; _root.goodJobScreen.score += 82; _root.shop.score += 82; _root.gameOverScreen.score += 82; } if (_root.stoveType == 2) { _root.score += 115; _root.goodJobScreen.score += 115; _root.shop.score += 115; _root.gameOverScreen.score += 115; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone22.gotoAndStop('good'); } } } } movieClip 3741 { } movieClip 3743 { frame 1 { play(); } frame 24 { _root.telephone22.gotoAndStop('leaveGood'); } } movieClip 3745 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3732 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3739 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone22.gotoAndStop('none'); _root.telephone23.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone22.gotoAndStop('none'); _root.telephone23.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 7 { stop(); } } movieClip 3748 { } movieClip 3750 { } movieClip 3752 { } movieClip 3755 { } movieClip 3757 { } movieClip 3759 { } movieClip 3760 { } movieClip 3763 { } movieClip 3765 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.specialGuest12.specialGuest12Order.gotoAndStop(2); _root.specialGuest12.gotoAndStop('waiting'); } } movieClip 3767 { } movieClip 3769 { } movieClip 3770 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3772 { on (press) { if (pausePlay == 0) { if (_root.specialGuest12FirstOrder == 0) { _root.specialGuest12.specialGuest12Order.gotoAndStop('2OrderPlay'); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.specialGuest12FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest12FirstOrder == 1) { _root.specialGuest12.specialGuest12Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.specialGuest12SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 55; _root.goodJobScreen.score += 55; _root.shop.score += 55; _root.gameOverScreen.score += 55; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest12.specialGuest12Order._alpha = 0; _root.specialGuest12.gotoAndStop('good'); } } } } } movieClip 3773 { } movieClip 3777 { frame 1 { play(); } frame 600 { _root.specialGuest12.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest12.gotoAndStop('leaveBad'); } } button 3779 { on (press) { if (pausePlay == 0) { if (_root.specialGuest12FirstOrder == 0) { _root.specialGuest12.specialGuest12Order.gotoAndStop('2OrderPlay'); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; _root.specialGuest12FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 75; _root.goodJobScreen.score += 75; _root.shop.score += 75; _root.gameOverScreen.score += 75; } if (_root.stoveType == 2) { _root.score += 89; _root.goodJobScreen.score += 89; _root.shop.score += 89; _root.gameOverScreen.score += 89; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest12FirstOrder == 1) { _root.specialGuest12.specialGuest12Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.specialGuest12SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 55; _root.goodJobScreen.score += 55; _root.shop.score += 55; _root.gameOverScreen.score += 55; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest12.specialGuest12Order._alpha = 0; _root.specialGuest12.gotoAndStop('good'); } } } } } movieClip 3780 { } movieClip 3782 { frame 1 { play(); } frame 24 { _root.specialGuest12.gotoAndStop('leaveGood'); } } movieClip 3783 { frame 1 { stop(); } instance of movieClip 3765 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 3777 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest86.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest86.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance specialGuest12 of movieClip 3783 { onClipEvent (load) { _root.specialGuest12FirstOrder = 0; _root.specialGuest12SecondOrder = 0; } } movieClip 3785 { frame 1 { play(); } frame 140 { _root.telephone23.gotoAndStop(3); } } button 3788 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone23.phone23Order.gotoAndStop(2); _root.telephone23.gotoAndStop('waiting'); } } } movieClip 3804 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3806 { } movieClip 3807 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3811 { frame 1 { play(); } frame 720 { stop(); _root.telephone23.gotoAndStop('leaveBad'); } } button 3812 { on (press) { if (pausePlay == 0) { _root.telephone23.phone23Order.gotoAndStop(2); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone23.gotoAndStop('good'); } } } } movieClip 3813 { } movieClip 3815 { frame 1 { play(); } frame 24 { _root.telephone23.gotoAndStop('leaveGood'); } } movieClip 3817 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } instance of movieClip 3804 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3811 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone23.gotoAndStop('none'); _root.telephone24.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone23.gotoAndStop('none'); _root.telephone24.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 8 { stop(); } } movieClip 3819 { frame 1 { play(); } frame 68 { _root.guestArriveMusic.gotoAndStop(2); } frame 80 { _root.guest86.guest86Order.gotoAndStop(2); _root.guest86.gotoAndStop('waiting'); } } movieClip 3821 { } movieClip 3823 { } movieClip 3824 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3826 { on (press) { if (pausePlay == 0) { if (_root.guest86FirstOrder == 0) { _root.guest86.guest86Order.gotoAndStop('2OrderPlay'); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; _root.guest86FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest86FirstOrder == 1) { _root.guest86.guest86Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest86SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest86.guest86Order._alpha = 0; _root.guest86.gotoAndStop('good'); } } } } } movieClip 3827 { } movieClip 3831 { frame 1 { play(); } frame 560 { _root.guest86.gotoAndStop('bad'); } frame 840 { stop(); _root.guest86.gotoAndStop('leaveBad'); } } button 3833 { on (press) { if (pausePlay == 0) { if (_root.guest86FirstOrder == 0) { _root.guest86.guest86Order.gotoAndStop('2OrderPlay'); if (_root.burger == 1) { _global.trayFill = 0; _root.burger = 0; _root.guest86FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 24; _root.goodJobScreen.score += 24; _root.shop.score += 24; _root.gameOverScreen.score += 24; } if (_root.stoveType == 2) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest86FirstOrder == 1) { _root.guest86.guest86Order.gotoAndStop('1OrderPlay'); if (_root.juiceTomato == 1) { _global.trayFill = 0; _root.juiceTomato = 0; _root.guest86SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest86.guest86Order._alpha = 0; _root.guest86.gotoAndStop('good'); } } } } } movieClip 3834 { } movieClip 3836 { frame 1 { play(); } frame 24 { _root.guest86.gotoAndStop('leaveGood'); } } movieClip 3837 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3819 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3831 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest87.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest87.gotoAndStop(2); } else { _root.guestCount -= 2; } } } instance guest86 of movieClip 3837 { onClipEvent (load) { _root.guest86FirstOrder = 0; _root.guest86SecondOrder = 0; } } movieClip 3839 { frame 1 { play(); } frame 180 { _root.telephone24.gotoAndStop(3); } } button 3842 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone24.phone24Order.gotoAndStop(2); _root.telephone24.gotoAndStop('waiting'); } } } movieClip 3858 { frame 1 { play(); } frame 129 { gotoAndPlay('order'); } } movieClip 3860 { } movieClip 3861 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3865 { frame 1 { play(); } frame 720 { stop(); _root.telephone24.gotoAndStop('leaveBad'); } } button 3866 { on (press) { if (pausePlay == 0) { _root.telephone24.phone24Order.gotoAndStop(2); if (_root.friedShrimp == 1) { _global.trayFill = 0; _root.friedShrimp = 0; if (_root.stoveType == 1) { _root.score += 35; _root.goodJobScreen.score += 35; _root.shop.score += 35; _root.gameOverScreen.score += 35; } if (_root.stoveType == 2) { _root.score += 40; _root.goodJobScreen.score += 40; _root.shop.score += 40; _root.gameOverScreen.score += 40; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone24.gotoAndStop('good'); } } } } movieClip 3867 { } movieClip 3869 { frame 1 { play(); } frame 24 { _root.telephone24.gotoAndStop('leaveGood'); } } movieClip 3871 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } instance of movieClip 3858 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3865 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone24.gotoAndStop('none'); _root.telephone25.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.telephone24.gotoAndStop('none'); _root.telephone25.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 8 { stop(); } } movieClip 3873 { frame 1 { play(); } frame 200 { _root.telephone25.gotoAndStop(3); } } button 3876 { on (press) { if (pausePlay == 0) { _root.clickMusic.gotoAndStop(2); _root.telephone25.phone25Order.gotoAndStop(2); _root.telephone25.gotoAndStop('waiting'); } } } movieClip 3892 { frame 1 { play(); } frame 133 { gotoAndPlay('order'); } } movieClip 3894 { } movieClip 3895 { frame 1 { stop(); } frame 2 { play(); } frame 46 { gotoAndStop(1); } } movieClip 3899 { frame 1 { play(); } frame 720 { stop(); _root.telephone25.gotoAndStop('leaveBad'); } } button 3900 { on (press) { if (pausePlay == 0) { _root.telephone25.phone25Order.gotoAndStop(2); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.telephone25.gotoAndStop('good'); } } } } movieClip 3901 { } movieClip 3903 { frame 1 { play(); } frame 24 { _root.telephone25.gotoAndStop('leaveGood'); } } movieClip 3905 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } instance of movieClip 3892 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } instance of movieClip 3899 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } frame 8 { stop(); } } movieClip 3907 { frame 1 { play(); } frame 148 { _root.guestArriveMusic.gotoAndStop(2); } frame 160 { _root.guest87.guest87Order.gotoAndStop(2); _root.guest87.gotoAndStop('waiting'); } } movieClip 3909 { } movieClip 3911 { } movieClip 3912 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3914 { on (press) { if (pausePlay == 0) { if (_root.guest87FirstOrder == 0) { _root.guest87.guest87Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest87FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest87FirstOrder == 1) { _root.guest87.guest87Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest87SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest87.guest87Order._alpha = 0; _root.guest87.gotoAndStop('good'); } } } } } movieClip 3915 { } movieClip 3919 { frame 1 { play(); } frame 440 { _root.guest87.gotoAndStop('bad'); } frame 660 { stop(); _root.guest87.gotoAndStop('leaveBad'); } } button 3921 { on (press) { if (pausePlay == 0) { if (_root.guest87FirstOrder == 0) { _root.guest87.guest87Order.gotoAndStop('2OrderPlay'); if (_root.noodleCooked == 1) { _global.trayFill = 0; _root.noodleCooked = 0; _root.guest87FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 25; _root.goodJobScreen.score += 25; _root.shop.score += 25; _root.gameOverScreen.score += 25; } if (_root.stoveType == 2) { _root.score += 30; _root.goodJobScreen.score += 30; _root.shop.score += 30; _root.gameOverScreen.score += 30; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest87FirstOrder == 1) { _root.guest87.guest87Order.gotoAndStop('1OrderPlay'); if (_root.friedFrenchFries == 1) { _global.trayFill = 0; _root.friedFrenchFries = 0; _root.guest87SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 10; _root.goodJobScreen.score += 10; _root.shop.score += 10; _root.gameOverScreen.score += 10; } if (_root.stoveType == 2) { _root.score += 14; _root.goodJobScreen.score += 14; _root.shop.score += 14; _root.gameOverScreen.score += 14; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest87.guest87Order._alpha = 0; _root.guest87.gotoAndStop('good'); } } } } } movieClip 3922 { } movieClip 3924 { frame 1 { play(); } frame 24 { _root.guest87.gotoAndStop('leaveGood'); } } movieClip 3925 { frame 1 { stop(); } frame 2 { stop(); } instance guest4Arrive of movieClip 3907 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3919 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest14.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest14.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance guest87 of movieClip 3925 { onClipEvent (load) { _root.guest87FirstOrder = 0; _root.guest87SecondOrder = 0; } } movieClip 3927 { } movieClip 3929 { } movieClip 3931 { } movieClip 3933 { } movieClip 3934 { } movieClip 3936 { } movieClip 3938 { frame 1 { play(); } frame 108 { _root.guestArriveMusic.gotoAndStop(2); } frame 120 { _root.specialGuest14.specialGuest14Order.gotoAndStop(2); _root.specialGuest14.gotoAndStop('waiting'); } } movieClip 3939 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3941 { on (press) { if (pausePlay == 0) { if (_root.specialGuest14FirstOrder == 0) { _root.specialGuest14.specialGuest14Order.gotoAndStop('2OrderPlay'); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.specialGuest14FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 55; _root.goodJobScreen.score += 55; _root.shop.score += 55; _root.gameOverScreen.score += 55; } if (_root.stoveType == 2) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest14FirstOrder == 1) { _root.specialGuest14.specialGuest14Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest14SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest14.specialGuest14Order._alpha = 0; _root.specialGuest14.gotoAndStop('good'); } } } } } movieClip 3942 { } movieClip 3946 { frame 1 { play(); } frame 600 { _root.specialGuest14.gotoAndStop('bad'); } frame 900 { stop(); _root.specialGuest14.gotoAndStop('leaveBad'); } } button 3948 { on (press) { if (pausePlay == 0) { if (_root.specialGuest14FirstOrder == 0) { _root.specialGuest14.specialGuest14Order.gotoAndStop('2OrderPlay'); if (_root.baksoCooked == 1) { _global.trayFill = 0; _root.baksoCooked = 0; _root.specialGuest14FirstOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 55; _root.goodJobScreen.score += 55; _root.shop.score += 55; _root.gameOverScreen.score += 55; } if (_root.stoveType == 2) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest14FirstOrder == 1) { _root.specialGuest14.specialGuest14Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest14SecondOrder = 1; _root.chef._x = 487.55; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest14.specialGuest14Order._alpha = 0; _root.specialGuest14.gotoAndStop('good'); } } } } } movieClip 3949 { } movieClip 3951 { frame 1 { play(); } frame 24 { _root.specialGuest14.gotoAndStop('leaveGood'); } } movieClip 3952 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3938 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3946 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } instance specialGuest14 of movieClip 3952 { onClipEvent (load) { _root.specialGuest14FirstOrder = 0; _root.specialGuest14SecondOrder = 0; } } movieClip 3954 { frame 1 { play(); } frame 208 { _root.guestArriveMusic.gotoAndStop(2); } frame 220 { _root.guest84.guest84Order.gotoAndStop(2); _root.guest84.gotoAndStop('waiting'); } } movieClip 3956 { } movieClip 3958 { } movieClip 3959 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3961 { on (press) { if (pausePlay == 0) { if (_root.guest84FirstOrder == 0) { _root.guest84.guest84Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest84FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest84FirstOrder == 1) { _root.guest84.guest84Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest84SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest84.guest84Order._alpha = 0; _root.guest84.gotoAndStop('good'); } } } } } movieClip 3962 { } movieClip 3966 { frame 1 { play(); } frame 480 { _root.guest84.gotoAndStop('bad'); } frame 720 { stop(); _root.guest84.gotoAndStop('leaveBad'); } } button 3968 { on (press) { if (pausePlay == 0) { if (_root.guest84FirstOrder == 0) { _root.guest84.guest84Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest84FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest84FirstOrder == 1) { _root.guest84.guest84Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest84SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest84.guest84Order._alpha = 0; _root.guest84.gotoAndStop('good'); } } } } } movieClip 3969 { } movieClip 3971 { frame 1 { play(); } frame 24 { _root.guest84.gotoAndStop('leaveGood'); } } movieClip 3972 { frame 1 { stop(); } instance of movieClip 3954 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 2 { stop(); } instance of movieClip 3966 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest85.gotoAndStop(2); } else { _root.guestCount -= 3; } } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest85.gotoAndStop(2); } else { _root.guestCount -= 3; } } } instance guest84 of movieClip 3972 { onClipEvent (load) { _root.guest84FirstOrder = 0; _root.guest84SecondOrder = 0; } } movieClip 3974 { frame 1 { play(); } frame 88 { _root.guestArriveMusic.gotoAndStop(2); } frame 100 { _root.guest85.guest85Order.gotoAndStop(2); _root.guest85.gotoAndStop('waiting'); } } movieClip 3975 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 3976 { on (press) { if (pausePlay == 0) { if (_root.guest85FirstOrder == 0) { _root.guest85.guest85Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest85FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest85FirstOrder == 1) { _root.guest85.guest85Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest85SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest85.guest85Order._alpha = 0; _root.guest85.gotoAndStop('good'); } } } } } movieClip 3977 { } movieClip 3981 { frame 1 { play(); } frame 560 { _root.guest85.gotoAndStop('bad'); } frame 840 { stop(); _root.guest85.gotoAndStop('leaveBad'); } } button 3982 { on (press) { if (pausePlay == 0) { if (_root.guest85FirstOrder == 0) { _root.guest85.guest85Order.gotoAndStop('2OrderPlay'); if (_root.hotDog == 1) { _global.trayFill = 0; _root.hotDog = 0; _root.guest85FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 22; _root.goodJobScreen.score += 22; _root.shop.score += 22; _root.gameOverScreen.score += 22; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4_alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest85FirstOrder == 1) { _root.guest85.guest85Order.gotoAndStop('1OrderPlay'); if (_root.juiceMelon == 1) { _global.trayFill = 0; _root.juiceMelon = 0; _root.guest85SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest85.guest85Order._alpha = 0; _root.guest85.gotoAndStop('good'); } } } } } movieClip 3983 { } movieClip 3985 { frame 1 { play(); } frame 24 { _root.guest85.gotoAndStop('leaveGood'); } } movieClip 3986 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3974 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 3981 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest13.gotoAndStop(2); } else { _root.guestCount -= 2; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.specialGuest13.gotoAndStop(2); } else { _root.guestCount -= 2; } } } instance guest85 of movieClip 3986 { onClipEvent (load) { _root.guest85FirstOrder = 0; _root.guest85SecondOrder = 0; } } movieClip 3987 { } movieClip 3989 { } movieClip 3991 { } movieClip 3993 { } movieClip 3995 { frame 1 { play(); } frame 118 { _root.guestArriveMusic.gotoAndStop(2); } frame 130 { _root.specialGuest13.specialGuest13Order.gotoAndStop(2); _root.specialGuest13.gotoAndStop('waiting'); } } movieClip 3997 { } movieClip 3999 { } movieClip 4000 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 4002 { on (press) { if (pausePlay == 0) { if (_root.specialGuest13FirstOrder == 0) { _root.specialGuest13.specialGuest13Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest13FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest13FirstOrder == 1) { _root.specialGuest13.specialGuest13Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest13SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest13.specialGuest13Order._alpha = 0; _root.specialGuest13.gotoAndStop('good'); } } } } } movieClip 4003 { } movieClip 4007 { frame 1 { play(); } frame 680 { _root.specialGuest13.gotoAndStop('bad'); } frame 1020 { stop(); _root.specialGuest13.gotoAndStop('leaveBad'); } } button 4009 { on (press) { if (pausePlay == 0) { if (_root.specialGuest13FirstOrder == 0) { _root.specialGuest13.specialGuest13Order.gotoAndStop('2OrderPlay'); if (_root.friedMartabak == 1) { _global.trayFill = 0; _root.friedMartabak = 0; _root.specialGuest13FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 70; _root.goodJobScreen.score += 70; _root.shop.score += 70; _root.gameOverScreen.score += 70; } if (_root.stoveType == 2) { _root.score += 85; _root.goodJobScreen.score += 85; _root.shop.score += 85; _root.gameOverScreen.score += 85; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.specialGuest13FirstOrder == 1) { _root.specialGuest13.specialGuest13Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.specialGuest13SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 45; _root.goodJobScreen.score += 45; _root.shop.score += 45; _root.gameOverScreen.score += 45; } if (_root.juicerType == 2) { _root.score += 60; _root.goodJobScreen.score += 60; _root.shop.score += 60; _root.gameOverScreen.score += 60; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.specialGuest13.specialGuest13Order._alpha = 0; _root.specialGuest13.gotoAndStop('good'); } } } } } movieClip 4010 { } movieClip 4013 { } movieClip 4014 { } movieClip 4015 { frame 1 { play(); } frame 24 { _root.specialGuest13.gotoAndStop('leaveGood'); } } movieClip 4016 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 3995 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 4007 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest88.gotoAndStop(2); } else { _root.guestCount -= 1; } } frame 7 { stop(); _root.guestCount -= 1; if (_root.restaurantClose == 0) { _root.guest88.gotoAndStop(2); } else { _root.guestCount -= 1; } } } instance specialGuest13 of movieClip 4016 { onClipEvent (load) { _root.specialGuest13FirstOrder = 0; _root.specialGuest13SecondOrder = 0; } } movieClip 4018 { frame 168 { _root.guestArriveMusic.gotoAndStop(2); } frame 180 { _root.guest88.guest88Order.gotoAndStop(2); _root.guest88.gotoAndStop('waiting'); } } movieClip 4020 { } movieClip 4022 { } movieClip 4023 { frame 1 { stop(); } frame 2 { play(); } frame 50 { gotoAndStop('2OrderStop'); } frame 51 { stop(); } frame 52 { play(); } frame 100 { gotoAndStop('1OrderStop'); } } button 4024 { on (press) { if (pausePlay == 0) { if (_root.guest88FirstOrder == 0) { _root.guest88.guest88Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest88FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest88FirstOrder == 1) { _root.guest88.guest88Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest88SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest88.guest88Order._alpha = 0; _root.guest88.gotoAndStop('good'); } } } } } movieClip 4025 { } movieClip 4029 { frame 1 { play(); } frame 520 { _root.guest88.gotoAndStop('bad'); } frame 780 { stop(); _root.guest88.gotoAndStop('leaveBad'); } } button 4030 { on (press) { if (pausePlay == 0) { if (_root.guest88FirstOrder == 0) { _root.guest88.guest88Order.gotoAndStop('2OrderPlay'); if (_root.friedRice == 1) { _global.trayFill = 0; _root.friedRice = 0; _root.guest88FirstOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.stoveType == 1) { _root.score += 28; _root.goodJobScreen.score += 28; _root.shop.score += 28; _root.gameOverScreen.score += 28; } if (_root.stoveType == 2) { _root.score += 32; _root.goodJobScreen.score += 32; _root.shop.score += 32; _root.gameOverScreen.score += 32; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.food1.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.food1.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.food1.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.food1.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.food1.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); } } if (_root.guest88FirstOrder == 1) { _root.guest88.guest88Order.gotoAndStop('1OrderPlay'); if (_root.juiceOrange == 1) { _global.trayFill = 0; _root.juiceOrange = 0; _root.guest88SecondOrder = 1; _root.chef._x = 303.05; _root.chef._y = 280.55; if (_root.juicerType == 1) { _root.score += 15; _root.goodJobScreen.score += 15; _root.shop.score += 15; _root.gameOverScreen.score += 15; } if (_root.juicerType == 2) { _root.score += 20; _root.goodJobScreen.score += 20; _root.shop.score += 20; _root.gameOverScreen.score += 20; } if (_root.chefType == 1) { _root.chef.chef1.gotoAndStop('stop'); _root.chef.chef1.tray._alpha = 0; _root.chef.chef1.hand1._alpha = 100; _root.chef.chef1.drinks.gotoAndStop('empty'); } if (_root.chefType == 2) { _root.chef.chef2.gotoAndStop('stop'); _root.chef.chef2.tray2._alpha = 0; _root.chef.chef2.hand2._alpha = 100; _root.chef.chef2.drinks.gotoAndStop('empty'); } if (_root.chefType == 3) { _root.chef.chef3.gotoAndStop('stop'); _root.chef.chef3.tray3._alpha = 0; _root.chef.chef3.hand3._alpha = 100; _root.chef.chef3.drinks.gotoAndStop('empty'); } if (_root.chefType == 4) { _root.chef.chef4.gotoAndStop('stop'); _root.chef.chef4.tray4._alpha = 0; _root.chef.chef4.hand4._alpha = 100; _root.chef.chef4.drinks.gotoAndStop('empty'); } if (_root.chefType == 5) { _root.chef.chef5.gotoAndStop('stop'); _root.chef.chef5.tray5._alpha = 0; _root.chef.chef5.hand5._alpha = 100; _root.chef.chef5.drinks.gotoAndStop('empty'); } _root.cashier.gotoAndStop('ok'); _root.guest88.guest88Order._alpha = 0; _root.guest88.gotoAndStop('good'); } } } } } movieClip 4031 { } movieClip 4033 { frame 1 { play(); } frame 24 { _root.guest88.gotoAndStop('leaveGood'); } } movieClip 4034 { frame 1 { stop(); } frame 2 { stop(); } instance guest2Arrive of movieClip 4018 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 3 { stop(); } instance of movieClip 4029 { onClipEvent (enterFrame) { if (pausePlay == 1) { this.stop(); } else { this.play(); } } } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); _root.guestCount -= 1; } frame 7 { stop(); _root.guestCount -= 1; } } instance guest88 of movieClip 4034 { onClipEvent (load) { _root.guest88FirstOrder = 0; _root.guest88SecondOrder = 0; } } movieClip 4036 { } movieClip 4037 { frame 1 { play(); } frame 24 { stop(); } } movieClip 4038 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 4038 { onClipEvent (enterFrame) { if (_root.goodJobScreen.score > 499) { this.gotoAndStop(2); } } } instance targetReached of movieClip 856 { onClipEvent (enterFrame) { if (currentLevel == 12 & _root.goodJobScreen.score > 499) { this.gotoAndStop(2); } } } frame 17 { stop(); stopAllSounds(); _root.loseMusic.gotoAndStop(2); _root.gameOverScreen.gotoAndStop(3); if (currentLevel == 1) { _root.gameOverScreen.scoreNeeded = 50; } if (currentLevel == 2) { _root.gameOverScreen.scoreNeeded = 80; } if (currentLevel == 3) { _root.gameOverScreen.scoreNeeded = 100; } if (currentLevel == 4) { _root.gameOverScreen.scoreNeeded = 150; } if (currentLevel == 5) { _root.gameOverScreen.scoreNeeded = 200; } if (currentLevel == 6) { _root.gameOverScreen.scoreNeeded = 250; } if (currentLevel == 7) { _root.gameOverScreen.scoreNeeded = 300; } if (currentLevel == 8) { _root.gameOverScreen.scoreNeeded = 350; } if (currentLevel == 9) { _root.gameOverScreen.scoreNeeded = 400; } if (currentLevel == 10) { _root.gameOverScreen.scoreNeeded = 450; } if (currentLevel == 11) { _root.gameOverScreen.scoreNeeded = 480; } if (currentLevel == 12) { _root.gameOverScreen.scoreNeeded = 500; } } movieClip 4041 { frame 1 { stop(); } frame 2 { play(); } frame 261 { stop(); } } frame 18 { stop(); stopAllSounds(); _root.winMusic.gotoAndStop(2); } movieClip 4043 { frame 1 { stop(); } frame 2 { play(); } frame 475 { _parent.gotoAndStop('highscores'); } } movieClip 4046 { } movieClip 4047 { frame 71 { _parent.nextFrame(); } } frame 19 { stop(); stopAllSounds(); onEnterFrame = function () { Mouse.show(); }; } movieClip 4059 { frame 1 { stop(); } } instance b1 of movieClip 4059 { onClipEvent (release) { x = new LoadVars(); x.n = _parent.newName.toLowerCase(); x.s = int(_root.score); x.sendAndLoad('http://hiscore.girlgamesclub.com/dinerchef_submit.php', x, 'POST'); _parent.gotoAndStop('highscores'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } // unknown tag 88 length 52 // unknown tag 88 length 168 frame 20 { stop(); stopAllSounds(); onEnterFrame = function () { Mouse.show(); }; } frame 21 { stop(); stopAllSounds(); onEnterFrame = function () { Mouse.show(); }; } frame 21 { var c = new LoadVars(); var i = new LoadVars(); c.sendAndLoad('http://hiscore.girlgamesclub.com/dinerchef_get.php', i, 'POST'); i.onLoad = function () { trace(i); name1 = i.name1; score1 = i.score1; name2 = i.name2; score2 = i.score2; name3 = i.name3; score3 = i.score3; name4 = i.name4; score4 = i.score4; name5 = i.name5; score5 = i.score5; name6 = i.name6; score6 = i.score6; name7 = i.name7; score7 = i.score7; name8 = i.name8; score8 = i.score8; name9 = i.name9; score9 = i.score9; name10 = i.name10; score10 = i.score10; }; } button 4073 { on (press) { gotoAndStop('menu'); } }




http://swfchan.com/52/256234/info.shtml
Created: 7/6 -2024 05:27:10 Last modified: 7/6 -2024 05:27:10 Server time: 17/09 -2024 02:50:59