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

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

Chocolate-Shop-Frenzy.swf

This is the info page for
Flash #110142

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


Text
Seize the Minute

Loading ...

<p align="center"></p>

Play

Play

Get More Games

Get More Games

One year ago

This has been one exciting
year! I left my marketing job
to run my own chocolate shop.

It wasn’t easy, but I guess
it’s better to start from the
beginning …

... there I was; trying to figure
out what to do with my life
since I didn't enjoy my job.

I saw an advertisement for a
chocolate shop on sale and
then it hit me: I could do that!

I got a loan, bought the shop
and quit my job in an instant!

It was a BIG risk, but I was
determined to make it.

xxx

Total Score:

<p align="left"><font face="Berlin Sans FB Demi" size="30" color="#ffffff" letterSpacing="2.000000" kerning="0"><b><i>0</i></b></font></p>

CLICK HERE

Getting tired? Enjoying a cup of HOT CHOCOLATE from time to time.

xxx

xxx
xxx

0

80

150

Report

Money earned:

Tips:

Total:

<p align="right"><font face="Berlin Sans FB Demi" size="30" color="#ffffff" letterSpacing="1.000000" kerning="0"><b><i>xx</i></b></font></p>

<p align="right"><font face="Berlin Sans FB Demi" size="30" color="#ffffff" letterSpacing="1.000000" kerning="0"><b><i>xx</i></b></font></p>

Target score reached!!!

Expert score reached!!!

<p align="right"><font face="Berlin Sans FB Demi" size="30" color="#ffffff" letterSpacing="1.000000" kerning="0"><b><i>xx</i></b></font></p>

PAUSED

Continue

Play Premium

Restart

Main Menu

xx

New Customer

Old Woman

This old lady buys chocolate for herself and her grandchildren.
She’s not the wealthiest person on earth, but she doesn’t mind
waiting.

0

100

220

Target score reached!

Expert score reached!

Target score
not reached!

<p align="right"><font face="Berlin Sans FB Demi" size="34" color="#ffffff" letterSpacing="0.500000" kerning="0"><b>xx</b></font></p>

<p align="right"><font face="Berlin Sans FB Demi" size="34" color="#ffffff" letterSpacing="0.500000" kerning="0"><b>xx</b></font></p>

Goal:

You got:

Select the SPECIALTY
CHOCOLATE machine to produce
chocolate figures.

0

150

250

Getting tired? Enjoying a cup of
HOT CHOCOLATE from time to
time.

0

200

300

0

220

480

New BOXED CHOCOLATE machine
has been added!

0

280

0

350

670

0

400

880

0

500

1180

Congratulations on completing the demo!
Play the Premium version to get:
- 42 levels of fast-paced, customer serving fun!
- Bonus match-3 mini-game to unlock secret chocolates!
- Upgrade your store with up to 6 different machines!
- plus much more!
Don't forget to visit DChoc.com for more fun-filled games!

ActionScript [AS1/AS2]

Frame 2
function ]\u0003() { Set("1\x03", true); Set("?", "mochiad1"); var _local3 = "http://www-ad.digitalchocolate.com/?aid=6&iid=0"; var \x06\x03 = new LoadVars(); \x06\x03.onLoad = function (_arg3) { Set("]\x02", true); if (_arg3) { var _local1 = new LoadVars(); _local1.decode(\x06\x03.toString()); var _local2 = 0; if (_local1.ad0 == _local2) { trace("AFG __________"); Set("?", "googleAd"); } else { trace("MOCHI __________"); Set("?", "mochiad1"); } } else { trace("check the URL for typos !!"); } }; \x06\x03.load(_local3); } stop(); var %\x03 = true; var ?; var ]\x02; var 1\x03; if (%\x03 && (!1\x03)) { ]\x03(); } this.onEnterFrame = function () { Set("\x0B\x02", _root.getBytesLoaded()); Set("\x1E", _root.getBytesTotal()); Set("7\x03", (\x0B\x02 / \x1E) * 100); if ((7\x03 < 100) || (%\x03 && (!]\x02))) { mc_loading.gotoAndStop(int(7\x03)); mc_loading.load_txt.text = int(7\x03) + " %"; gotoAndPlay (1); } else { delete this.onEnterFrame; mc_loading._visible = false; gotoAndPlay(?); } };
Frame 4
function \u0010(_arg4) { System.security.allowDomain("http://pagead2.googlesyndication.com/pagead"); trace("Loading Google ads swf..."); var _local2 = new Object(); _local2.onLoadStart = function () { trace("onLoadStart"); }; _local2.onLoadComplete = function () { trace("onLoadComplete"); }; _local2.onLoadInit = onLoadInit; _local2.onLoadError = function () { _root.gotoAndPlay("mochiad1"); trace("onLoadError"); }; var _local3 = new MovieClipLoader(); _local3.addListener(_local2); _local3.loadClip("http://pagead2.googlesyndication.com/pagead/googlevideoadslibrary.swf", _arg4); } function onLoadInit(_arg2) { var _local1 = new Object(); _local1.publisherId = \x11\x03; _local1.productType = \x16\x02; _local1.contentId = \x04\x03; _local1.channels = ["VideoAd", "ChocolateShop", "Action_Preroll", "Fun_Preroll"]; _local1.adType = "video"; trace("Making video ad request call."); _arg2.requestAds(_local1, 5); } function 5(_arg2) { trace("Video ad request successful? " + _arg2.success); if (_arg2.success) { var \x1D\x03 = _arg2.ads[0].getAdPlayerMovieClip(); \x1D\x03.setSize(800, 600); \x1D\x03.load(); \x1D\x03.playAds(); \x1D\x03.onError = function () { trace("Error occurred!"); }; \x1D\x03.onStateChange = function (_arg2, _arg1) { trace(((("State change from " + _arg2) + " to ") + _arg1) + "."); if (_arg1 == "completed") { trace("Video ad played to completion."); gotoAndPlay (8); \x1D\x03.destroy(); } }; } else { trace("Video ad request failure: " + _arg2.errorMsg); var _local1 = new Object(); _local1.publisherId = \x11\x03; _local1.productType = \x16\x02; _local1.contentId = \x04\x03; _local1.channels = ["FullscreenAd", "ChocolateShop", "Action_Preroll", "Fun_Preroll"]; _local1.adType = "fullscreen"; _local1.adTimePosition = "0"; _local1.pubWidth = "800"; _local1.pubHeight = "600"; _local1.videoDescriptionUrl = "http://www.digitalchocolate.com/games/pc/chocolate-shop-frenzy.html"; _local1.numAds = "3"; trace("Making fullscreen ad request call."); \x1A\x02.requestAds(_local1, 6\x02); } } function 6\u0002(_arg2) { trace("Fullscreen ad request successful? " + _arg2.success); if (_arg2.success) { var \x1D\x03 = _arg2.ads[0].getAdPlayerMovieClip(); \x1D\x03.setSize(800, 600); \x1D\x03.load(); \x1D\x03.playAds(10); \x1D\x03.onError = function () { trace("Error occurred!"); }; \x1D\x03.onStateChange = function (_arg3, _arg2) { trace(((("State change from " + _arg3) + " to ") + _arg2) + "."); if (_arg2 == "completed") { trace("Fullscreen ad played to completion."); _root.gotoAndPlay(8); \x1D\x03.destroy(); } }; } else { trace("Fullscreen ad request failure: " + _arg2.errorMsg); _root.gotoAndPlay("mochiad1"); } } var \x1A\x02 = this.createEmptyMovieClip("\x1A\x02", this.getNextHighestDepth()); var \x11\x03 = "ca-games-pub-4900311177793300"; var \x16\x02 = 4; var \x04\x03 = "dchocchocoshop"; \x10(\x1A\x02);
Frame 5
stop();
Frame 7
_root.sAdID = "eeaa76021c64ed8f"; 4\x03.showPreGameAd({id:"eeaa76021c64ed8f", res:"800x600"}); stop();
Frame 9
function 8\u0002(swfid, mc, lv, \u0016\u0003) { var x; var g; var '\x03; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } Set("'\x03", System.security); x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!'\x03) { Set("'\x03", {}); } sb = '\x03.sandboxType; if (sb == "localWithFile") { return(null); } x = '\x03.allowDomain; if (x) { '\x03.allowDomain(mbc); } x = '\x03.allowInsecureDomain; if (x) { '\x03.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (\x16\x03 ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } 8\x02("1f038b64", this, 10301, true);
Frame 10
function "\u0003(\u0019\u0003, 3) { getURL ("http://www.digitalchocolate.com", "_blank"); trace("get dchoc.com"); } stop(); var \x18\x02 = new \x0F(); var ^\x03 = \x18\x02["3\x02"]; var versionno = \x18\x02["\r"]; var 8\x03 = \x18\x02["\n\x02"]; _global.soundstat = "onn"; _focusrect = false; Set("\x01\x03", new ContextMenu()); \x01\x03.hideBuiltInItems(); \x01\x03.customItems.push(new ContextMenuItem("Visit Digital Chocolate", \"\x03)); _root.menu = \x01\x03; fscommand ("allowscale", false); this.main_mc.tabChildren = false; var ^\x02 = new Sound(); ^\x02.attachSound("mainmenu.mp3", true); ^\x02.onSoundComplete = function () { if (_global.soundstat == "onn") { ^\x02.start(); } }; var gameSound = new Sound(); gameSound.attachSound("gamebgsnd.mp3", true); gameSound.onSoundComplete = function () { if (_global.soundstat == "onn") { gameSound.start(); } }; var ` = new Sound(); `.attachSound("calendersnd.mp3", true); `.onSoundComplete = function () { if (_global.soundstat == "onn") { `.start(); } }; var choco_done_Sound = new Sound(); choco_done_Sound.attachSound("choco_done.mp3", true); var expert_score_Sound = new Sound(); expert_score_Sound.attachSound("expert_score.mp3", true); var target_score_Sound = new Sound(); target_score_Sound.attachSound("target_score.mp3", true); var hotchoco_done_Sound = new Sound(); hotchoco_done_Sound.attachSound("hotchoco_done.mp3", true); var combo1_Sound = new Sound(); combo1_Sound.attachSound("combo1.mp3", true); var combo2_Sound = new Sound(); combo2_Sound.attachSound("combo2.mp3", true); var combo3_Sound = new Sound(); combo3_Sound.attachSound("combo3.mp3", true); var phonering_Sound = new Sound(#\x03); phonering_Sound.attachSound("phonering.mp3", true); phonering_Sound.onSoundComplete = function () { if (_global.soundstat == "onn") { phonering_Sound.start(); } }; var customer_happy_Sound = new Sound(); customer_happy_Sound.attachSound("customer_happy.mp3", true); var level_complete_Sound = new Sound(); level_complete_Sound.attachSound("level_complete.mp3", true); var level_failed_Sound = new Sound(); level_failed_Sound.attachSound("level_failed.mp3", true); var money1_Sound = new Sound(); money1_Sound.attachSound("money1.mp3", true); var money2_Sound = new Sound(); money2_Sound.attachSound("money2.mp3", true); var money3_Sound = new Sound(); money3_Sound.attachSound("money3.mp3", true); var choco_producing_Sound = new Sound(); choco_producing_Sound.attachSound("choco_producing.mp3", true);
Symbol 5 MovieClip Frame 10
_parent.gotoAndStop(2);
Symbol 55 MovieClip Frame 32
_parent.gotoAndStop(2);
Symbol 71 MovieClip Frame 15
stop(); this._visible = false; this.removeMovieClip();
Symbol 76 MovieClip Frame 20
stop(); this._visible = false; this.removeMovieClip();
Symbol 77 MovieClip [oldlady] Frame 1
stop();
Symbol 77 MovieClip [oldlady] Frame 2
stop();
Symbol 77 MovieClip [oldlady] Frame 3
stop();
Symbol 77 MovieClip [oldlady] Frame 4
stop();
Symbol 77 MovieClip [oldlady] Frame 5
stop();
Symbol 77 MovieClip [oldlady] Frame 6
stop();
Symbol 83 MovieClip Frame 7
_parent.gotoAndStop(2);
Symbol 135 MovieClip Frame 48
_parent.gotoAndStop(2);
Symbol 147 MovieClip Frame 12
stop(); this._visible = false; this.removeMovieClip();
Symbol 151 MovieClip Frame 20
stop(); this._visible = false; this.removeMovieClip();
Symbol 152 MovieClip [younglady] Frame 1
stop();
Symbol 152 MovieClip [younglady] Frame 2
stop();
Symbol 152 MovieClip [younglady] Frame 3
stop();
Symbol 152 MovieClip [younglady] Frame 4
stop();
Symbol 152 MovieClip [younglady] Frame 5
stop();
Symbol 152 MovieClip [younglady] Frame 6
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 120
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 25
stop();
Symbol 204 MovieClip Frame 25
stop();
Symbol 207 MovieClip Frame 25
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 4
stop();
Symbol 220 MovieClip Frame 5
stop();
Symbol 221 MovieClip Frame 74
stop(); chocobox.gotoAndStop(_parent.neededchocolate); if (_global.levelSelected != 1) { if ((_parent.neededchocolate == _parent._parent.preferred_chocolate1) || (_parent.neededchocolate == _parent._parent.preferred_chocolate2)) { _parent.green_highlight._visible = true; } }
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 3
stop();
Symbol 257 MovieClip Frame 35
stop();
Symbol 258 MovieClip Frame 53
stop();
Symbol 259 MovieClip [orderbook] Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 259 MovieClip [orderbook] Frame 1
onClipEvent (load) { _visible = false; }
Symbol 259 MovieClip [orderbook] Frame 2
stop();
Symbol 259 MovieClip [orderbook] Frame 3
stop();
Symbol 1694 MovieClip [__Packages.MochiAd] Frame 0
class 4 { function 4 () { } static function getVersion() { return("2.7"); } static function showPreGameAd(options) { var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }, ad_progress:function (percent) { }}; options = _parseOptions(options, _local26); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local22 = 11000; var _local25 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var \x15 = mc.createEmptyMovieClip("_mochiad_wait", 3); \x15._x = _local4 * -0.5; \x15._y = _local13 * -0.5; var _local6 = \x15.createEmptyMovieClip("_mochiad_bar", 4); if (options.no_progress_bar) { _local6._visible = false; delete options.no_progress_bar; } else { _local6._x = 10; _local6._y = _local13 - 20; } var _local21 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local6.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local23, 100); _local7.moveTo(0, 0); _local7.lineTo(_local4 - 20, 0); _local7.lineTo(_local4 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); \x15.ad_msec = _local22; \x15.ad_timeout = _local25; \x15.started = getTimer(); \x15.showing = false; \x15.last_pcnt = 0; \x15.fadeout_time = fadeout_time; \x15.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; 4\x03.unload(_local3); delete this.onEnterFrame; } }; mc.lc.regContLC = function (_arg1) { mc._containerLCName = _arg1; }; var \x11\x02 = false; mc.lc.sendHostLoadProgress = function (lc_name) { Set("\x11\x02", true); }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (_arg3) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = _arg3; }; mc.lc.rpc = function (_arg2, _arg1) { 4\x03.rpc(clip, _arg2, _arg1); }; mc.rpcTestFn = function (_arg1) { trace("[MOCHIAD rpcTestFn] " + _arg1); return(_arg1); }; \x15.onEnterFrame = function () { var _local6 = this._parent._parent; var _local11 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local2 = (100 * _local8) / _local4; var _local10 = (100 * _local5) / \x15.ad_msec; var _local9 = this._mochiad_bar._inside; var _local13 = Math.min(100, Math.min(_local2 || 0, _local10)); _local13 = Math.max(this.last_pcnt, _local13); this.last_pcnt = _local13; _local9._xscale = _local13; options.ad_progress(_local13); if (\x11\x02) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2}); if (_local2 == 100) { Set("\x11\x02", false); } } if (!\x15.showing) { var _local7 = _local11.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { \x15.showing = true; \x15.started = getTimer(); } else if ((_local5 > \x15.ad_timeout) && (_local2 == 100)) { options.ad_failed(); _local3 = true; } } if (_local5 > \x15.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = \x15.fadeFunction; } } }; } static function showClickAwayAd(options) { var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () { }, ad_finished:function () { }, ad_loaded:function (width, height) { }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function () { }}; options = _parseOptions(options, _local9); var clip = options.clip; var _local8 = options.ad_timeout; delete options.ad_timeout; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local4 = _getRes(options); var _local10 = _local4[0]; var _local7 = _local4[1]; mc._x = _local10 * 0.5; mc._y = _local7 * 0.5; var \x15 = mc.createEmptyMovieClip("_mochiad_wait", 3); \x15.ad_timeout = _local8; \x15.started = getTimer(); \x15.showing = false; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.rpc = function (_arg2, _arg1) { 4\x03.rpc(clip, _arg2, _arg1); }; mc.rpcTestFn = function (_arg1) { trace("[MOCHIAD rpcTestFn] " + _arg1); return(_arg1); }; var _local20 = false; mc.lc.regContLC = function (_arg1) { mc._containerLCName = _arg1; }; \x15.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!\x15.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { _local2 = true; \x15.showing = true; \x15.started = getTimer(); } else if (_local4 > \x15.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local2) { delete this.onEnterFrame; } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }, ad_skipped:function () { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var \x15 = mc.createEmptyMovieClip("_mochiad_wait", 3); \x15.ad_msec = _local10; \x15.ad_timeout = _local12; \x15.started = getTimer(); \x15.showing = false; \x15.fadeout_time = fadeout_time; \x15.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; 4\x03.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (_arg3) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = _arg3 - 250; }; mc.lc.rpc = function (_arg2, _arg1) { 4\x03.rpc(clip, _arg2, _arg1); }; mc.rpcTestFn = function (_arg1) { trace("[MOCHIAD rpcTestFn] " + _arg1); return(_arg1); }; \x15.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!\x15.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { \x15.showing = true; \x15.started = getTimer(); } else if (_local4 > \x15.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > \x15.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showPreloaderAd(_arg1) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(_arg1); } static function showTimedAd(_arg1) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(_arg1); } static function _allowDomains(_arg2) { var _local1 = _arg2.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function load(_arg3) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; _arg3 = _parseOptions(_arg3, _local13); _arg3.swfv = _arg3.clip.getSWFVersion() || 6; _arg3.mav = getVersion(); var _local9 = _arg3.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = _arg3.depth; delete _arg3.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(_arg3); _arg3.res = (_local11[0] + "x") + _local11[1]; _arg3.server = _arg3.server + _arg3.id; delete _arg3.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in _arg3) { _local4[_local7] = _arg3[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; 4\x03.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(_arg2) { if (typeof(_arg2) == "undefined") { _arg2 = _root; } if (_arg2.clip && (_arg2.clip._mochiad)) { _arg2 = _arg2.clip; } if (!_arg2._mochiad) { return(false); } if (_arg2._mochiad._containerLCName != undefined) { _arg2._mochiad.lc.send(_arg2._mochiad._containerLCName, "notify", {id:"unload"}); } _arg2._mochiad.removeMovieClip(); delete _arg2._mochiad_loaded; delete _arg2._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(_arg5) { var _local3 = _arg5.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(_arg5.res) != "undefined") { var _local4 = _arg5.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(_arg6, _arg7) { var _local4 = {}; for (var _local8 in _arg7) { _local4[_local8] = _arg7[_local8]; } if (_arg6) { for (var _local8 in _arg6) { _local4[_local8] = _arg6[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } static function rpc(_arg1, _arg5, _arg2) { switch (_arg2.id) { case "setValue" : setValue(_arg1, _arg2.objectName, _arg2.value); break; case "getValue" : var _local4 = getValue(_arg1, _arg2.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg5, _local4); break; case "runMethod" : var _local3 = runMethod(_arg1, _arg2.method, _arg2.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg5, _local3); break; default : trace("[mochiads rpc] unknown rpc id: " + _arg2.id); } } static function setValue(_arg3, _arg5, _arg4) { var _local2 = _arg5.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((_arg3[_local2[_local1]] == undefined) || (_arg3[_local2[_local1]] == null)) { return(undefined); } _arg3 = _arg3[_local2[_local1]]; _local1++; } _arg3[_local2[_local1]] = _arg4; } static function getValue(_arg3, _arg4) { var _local2 = _arg4.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((_arg3[_local2[_local1]] == undefined) || (_arg3[_local2[_local1]] == null)) { return(undefined); } _arg3 = _arg3[_local2[_local1]]; _local1++; } return(_arg3[_local2[_local1]]); } static function runMethod(_arg3, _arg5, _arg4) { var _local2 = _arg5.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((_arg3[_local2[_local1]] == undefined) || (_arg3[_local2[_local1]] == null)) { return(undefined); } _arg3 = _arg3[_local2[_local1]]; _local1++; } if (typeof(_arg3[_local2[_local1]]) == "function") { return(_arg3[_local2[_local1]].apply(_arg3, _arg4)); } return(undefined); } }
Symbol 1695 MovieClip [__Packages.URLAndVersion] Frame 0
class  { var 3, , ; function  () { 3\x02 = "http://www.digitalchocolate.com"; \n\x02 = "http://www-redir.digitalchocolate.com/?aid=58&iid=0&type=upsale"; \r = "\u00A9 2008-2009 Digital Chocolate Inc. Version 1.0.1"; } }
Symbol 1696 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class <.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root["\x0F\x02"]) { <\x02.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("\x0F\x02", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 1697 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class <.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(_arg1, _arg2) { if (_arg1.broadcastMessage != undefined) { delete _arg1.broadcastMessage; } _arg1.addListener = <\x02.transitions.BroadcasterMX.prototype.addListener; _arg1.removeListener = <\x02.transitions.BroadcasterMX.prototype.removeListener; if (!_arg2) { _arg1._listeners = new Array(); } } function addListener(_arg2) { removeListener(_arg2); if (broadcastMessage == undefined) { broadcastMessage = <\x02.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(_arg2)); } function removeListener(_arg4) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == _arg4) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 1698 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class <.transitions.Tween { var , &, =, , _listeners, addListener, , _time, looping, _duration, broadcastMessage, , , `, , ), , ; function Tween (_arg8, _arg5, _arg4, _arg3, _arg6, _arg7, _arg9) { <\x02.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } \x19\x03 = _arg8; & = _arg5; =\x03 = _arg3; this.7(_arg3); duration = (_arg7); \x0E\x02 = _arg9; if (_arg4) { this["1"] = _arg4; }  = (_arg6); _listeners = []; addListener(this); start(); } function set time(_arg2) { \n = _time; if (_arg2 > duration) { if (looping) { \f\x03(_arg2 - _duration); \x07\x03(); broadcastMessage("onMotionLooped", this); } else { if (\x0E\x02) { _time = _duration; \x07\x03(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (_arg2 < 0) { \f\x03(); \x07\x03(); } else { _time = _arg2; \x07\x03(); } //return(time); } function get time() { return(_time); } function set duration(_arg3) { _duration = (((_arg3 == null) || (_arg3 <= 0)) ? (_global.Infinity) : (_arg3)); //return(duration); } function get duration() { return(_duration); } function set `(_arg3) { var _local2 = \x1A\x03; #(); \x05\x02 = _arg3; if (_local2) { \x0F\x03(); } //return(`); } function get `() { return(\x05\x02); } function set position(_arg2) { setPosition(_arg2); //return(position); } function setPosition(_arg2) { `\x03 = \x0B\x03; \x19\x03[&] = (\x0B\x03 = _arg2); broadcastMessage("onMotionChanged", this, \x0B\x03); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(_arg2) { if (_arg2 == undefined) { _arg2 = _time; } return(this.1(_arg2, =\x03, )\x02, _duration)); } function set (_arg2) { )\x02 = _arg2 - =\x03; //return(); } function get () { return(=\x03 + )\x02); } function (_arg3, _arg2) { =\x03 = position;  = (_arg3); if (_arg2 != undefined) { duration = (_arg2); } start(); } function @() { \x1B\x03(=\x03, time); } function () { if (\x05\x02 == undefined) { _global.MovieClip.addListener(this); } else { \x0E = setInterval(this, "onEnterFrame", 1000 / \x05\x02); } \x1A\x03 = true; } function #() { if (\x05\x02 == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(\x0E); } \x1A\x03 = false; } function start() { \f\x03(); \x0F\x03(); broadcastMessage("onMotionStarted", this); } function stop() { #(); broadcastMessage("onMotionStopped", this); } function () { \x1F(); \x0F\x03(); broadcastMessage("onMotionResumed", this); } function (_arg2) { _time = ((_arg2 == undefined) ? 0 : (_arg2)); \x1F(); \x07\x03(); } function !() { time = (_duration); \x1F(); } function nextFrame() { if (\x0E\x02) { time = ((getTimer() - \x17) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!\x0E\x02) { time = (_time - 1); } } function toString() { return("[Tween]"); } function () { if (\x0E\x02) { \x17 = getTimer() - (_time * 1000); } } function () { this.7(getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = <\x02.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = <\x02.transitions.BroadcasterMX.initialize(<\x02.transitions.Tween.prototype, true); function 1(_arg2, _arg4, _arg3, _arg1) { return(((_arg3 * _arg2) / _arg1) + _arg4); } }
Symbol 1699 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class <.transitions.easing.Strong { function Strong () { } static function easeIn(_arg1, _arg4, _arg3, _arg2) { _arg1 = _arg1 / _arg2; return((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg4); } static function easeOut(_arg1, _arg4, _arg3, _arg2) { _arg1 = (_arg1 / _arg2) - 1; return((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg4); } static function easeInOut(_arg1, _arg3, _arg2, _arg4) { _arg1 = _arg1 / (_arg4 / 2); if (_arg1 < 1) { return(((((((_arg2 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg3); } _arg1 = _arg1 - 2; return(((_arg2 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg3); } static var version = "1.1.0.52"; }
Symbol 1700 MovieClip [__Packages.Level2] Frame 0
class Level2 extends MovieClip { var salesGirl, btn_pause, _parent, choco_machines, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, specialcho_container, coffeeClip, chocolateClip, phone_mc, popup_mc, selectClip, special_choco_machines, dusbin, coffee_machine, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, expertScoreClip, table3, table2, table1, coin_Anim3, coin_Anim2, coin_Anim1, <, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer1, attachMovie, orderbook1, getNextHighestDepth, customer2, orderbook2, customer3, orderbook3, selectedTable, moveTarget; function Level2 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); salesGirl.coffeeicon._visible = false; btn_pause._visible = true; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; specialcho_container._visible = false; coffeeClip._visible = false; chocolateClip._visible = false; phone_mc._visible = false; popup_mc._visible = false; selectClip._visible = false; choco_machines._visible = false; special_choco_machines._visible = false; dusbin._visible = false; coffee_machine._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; expertScoreClip._visible = false; table2._visible = (table3._visible = false); table1._visible = false; coin_Anim2._visible = (coin_Anim3._visible = false); coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.customerCount = 0; owner.moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; owner.lobbyArr.length = 0; owner.lobbyArr = new Array(1, 2, 3); owner.9\x02(); var ,\x03 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[,\x03], "younglady"); owner.lobbyArr.splice(,\x03, 1); var ,\x03 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 4000, owner, owner.lobbyArr[,\x03], "younglady"); owner.lobbyArr.splice(,\x03, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.choco_machines._visible = true; owner.choco_machines.single_machine.gotoAndStop(2); owner.dusbin._visible = true; owner.dusbin.gotoAndStop(2); owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 730, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 6000, owner); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; < = new Object(); Key.addListener(<); <.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; <.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { trace("enter press"); owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; table1.onRollOver = (table2.onRollOver = (table3.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); } })); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } })); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.single_machine.gotoAndStop(3); } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.single_machine.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } })); table1.onPress = (table2.onPress = (table3.onPress = function () { trace((("from table len=" + owner.sequenceArr.length) + ", ") + owner.sequenceArr); if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; owner.<\x03(this); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } })); } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); choco_machines.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); dusbin.onRollOver(); } else if (((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) { eval ("this." + keyTarget).onRollOut(); choco_machines.onRollOver(); } } function () { if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 100) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 220) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if ((!isPopup) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((1 * \x18) / 1.5); choco_machines._y = choco_machines._y + ((1 * \x18) / 1.5); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); owner.chocolate_container.gotoAndStop(2); owner.dusbinStatus = "ready"; owner.machineStatus = "ready"; owner.isPopup = false; owner.machineshake = "onn"; owner.keyTarget = "choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { trace("call"); owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.keyTarget = "choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { trace("call close"); owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = function () { this.gotoAndStop(1); }))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = function () { this.gotoAndStop(1); }))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.customerCount = 0; owner.moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; owner.lobbyArr.length = 0; owner.lobbyArr = new Array(1, 2, 3); owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "younglady"); _local1 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 5000, owner, owner.lobbyArr[_local1], "younglady"); owner.lobbyArr.splice(_local1, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.choco_machines._visible = true; owner.choco_machines.single_machine.gotoAndStop(2); owner.dusbin._visible = true; owner.dusbin.gotoAndStop(2); owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 1000, owner); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function () { var _local2 = this; stopAllSounds(); _local2.bg.blink.gotoAndStop(_local2.bg.blink._currentframe); _local2.customer1.customer.gotoAndStop(_local2.customer1.customer._currentframe); _local2.customer2.customer.gotoAndStop(_local2.customer2.customer._currentframe); _local2.customer3.customer.gotoAndStop(_local2.customer3.customer._currentframe); _local2.special_choco_machines.machine1.blink.gotoAndStop(_local2.special_choco_machines.machine1.blink._currentframe); _local2.choco_machines.single_machine.blink.gotoAndStop(_local2.choco_machines.single_machine.blink._currentframe); _local2.salesGirl.coffeeicon.smoke.gotoAndStop(_local2.salesGirl.coffeeicon.smoke._currentframe); _local2.customer4.customer.gotoAndStop(_local2.customer4.customer._currentframe); _local2.coin_Anim1.coin.gotoAndStop(_local2.coin_Anim1.coin._currentframe); _local2.coin_Anim2.coin.gotoAndStop(_local2.coin_Anim2.coin._currentframe); _local2.coin_Anim3.coin.gotoAndStop(_local2.coin_Anim3.coin._currentframe); _local2.coin_Anim4.coin.gotoAndStop(_local2.coin_Anim4.coin._currentframe); _local2.comboClip.combo.gotoAndStop(_local2.comboClip.combo._currentframe); _local2.orderbook1.heartinClip.gotoAndStop(_local2.orderbook1.heartinClip._currentframe); _local2.orderbook2.heartinClip.gotoAndStop(_local2.orderbook2.heartinClip._currentframe); _local2.orderbook3.heartinClip.gotoAndStop(_local2.orderbook3.heartinClip._currentframe); _local2.orderbook4.heartinClip.gotoAndStop(_local2.orderbook4.heartinClip._currentframe); _local2.curScoreClip.gotoAndStop(_local2.curScoreClip._currentframe); _local2.coin_Anim1.coin.coin_rotate.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate._currentframe); _local2.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate2._currentframe); _local2.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate3._currentframe); _local2.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate4._currentframe); _local2.coin_Anim2.coin.coin_rotate.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate._currentframe); _local2.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate2._currentframe); _local2.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate3._currentframe); _local2.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate4._currentframe); _local2.coin_Anim3.coin.coin_rotate.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate._currentframe); _local2.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate2._currentframe); _local2.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate3._currentframe); _local2.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate4._currentframe); _local2.coin_Anim4.coin.coin_rotate.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate._currentframe); _local2.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate2._currentframe); _local2.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate3._currentframe); _local2.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate4._currentframe); _local2.comboClip.combo.coin_rotate.gotoAndStop(_local2.comboClip.combo.coin_rotate._currentframe); if (_local2.scoreIndicateClip._visible) { _local2.scoreIndicateClip.gotoAndStop(_local2.scoreIndicateClip._currentframe); } if (_local2.expertScoreClip._visible) { _local2.expertScoreClip.gotoAndStop(_local2.expertScoreClip._currentframe); } _local2.chocolateClip.mc.gotoAndStop(_local2.chocolateClip.mc._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local6 = (salesGirl._width / 4) + (%\x02._width / 4); var _local4 = 10; if (_local5 > _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * 12); salesGirl._y = salesGirl._y + (Math.sin(\x12) * 12); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg1) { if (!_arg1.isGameOver) { if ((_arg1.customerCount != 0) && (_arg1.moneyCount != 0)) { _arg1.CallNextCustomerSet(); } } else { clearInterval(_arg1.Re_customerEnterInterval); } } function CallCustomer(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function CallCustomer2(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval2); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval3); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.Re_customerEnterInterval); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function customerEnter(_arg3, _arg2) { if (_arg3 == 1) { table1._visible = true; customer1 = attachMovie(_arg2, "customer1", ([_arg3 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg2; orderbook1.heatcnt = 0; if (_arg2 == "oldlady") { orderbook1.heatInterval = setInterval(), 600, orderbook1, this, 1); } else if (_arg2 == "younglady") { orderbook1.heatInterval = setInterval(), 300, orderbook1, this, 1); } } else if (_arg3 == 2) { table2._visible = true; customer2 = attachMovie(_arg2, "customer2", ([_arg3 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg2; orderbook2.heatcnt = 0; if (_arg2 == "oldlady") { orderbook2.heatInterval = setInterval(), 600, orderbook2, this, 2); } else if (_arg2 == "younglady") { orderbook2.heatInterval = setInterval(), 300, orderbook2, this, 2); } } else if (_arg3 == 3) { table3._visible = true; customer3 = attachMovie(_arg2, "customer3", ([_arg3 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg2; orderbook3.heatcnt = 0; if (_arg2 == "oldlady") { orderbook3.heatInterval = setInterval(), 600, orderbook3, this, 3); } else if (_arg2 == "younglady") { orderbook3.heatInterval = setInterval(), 300, orderbook3, this, 3); } } customerCount++; moneyCount++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } function () { var owner = this; if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; +\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } else { owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 2); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.customer" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; CheckForMoneyCombo(); lobbyArr.push(selectedTable); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { if (lobbyArr.length == 3) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } } else { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; clearInterval(_local2.customerEnterInterval); clearInterval(_local2.customerEnterInterval2); clearInterval(_local2.customerEnterInterval3); if (lobbyArr.length == 1) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 2000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); } else if (lobbyArr.length == 2) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], "younglady"); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local6 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local6); } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 3000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local6 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval3); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4500, _local2, _local2.lobbyArr[_local3], "younglady"); var _local4 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local6); _local2.lobbyArr.push(_local4); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); machineStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 100; _global.expertScore = 220; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 100) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 3) { _global.levelSelected = 3; } if (_global.levelFinished <= 2) { _global.levelFinished = 2; } if (score >= 220) { _global.level2Status = "expert"; } else { _global.level2Status = "target"; } _global.level2Score = score; if (((score >= 100) && (scoreClip.target._currentframe == 1)) || ((score >= 220) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); eval ("myparent.customer" + curpoint).gotoAndStop(6); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x; comboClip._y = eval ("this.orderbook" + selectedTable)._y; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); choco_machines.onRollOut(); dusbin.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_round", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); Key.removeListener(<); keyTarget = undefined; pauseTarget = ""; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var dusbinStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_round", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var customerEnterInterval3 = -1; var 4 = -1; var isPaused = false; var  = 1; var machineshake = "off"; var  = "off"; var sequenceArr = new Array(); var tips = 0; var Re_customerEnterInterval = -1; var preparecnt = 0; }
Symbol 1701 MovieClip [__Packages.Level3] Frame 0
class Level3 extends MovieClip { var salesGirl, btn_pause, _parent, choco_machines, special_choco_machines, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, phone_mc, popup_mc, selectClip, coffee_machine, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table3, table2, table1, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, , keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer1, attachMovie, orderbook1, getNextHighestDepth, customer2, orderbook2, customer3, orderbook3, selectedTable, moveTarget, keylistener; function Level3 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); salesGirl.coffeeicon._visible = false; btn_pause._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; special_choco_machines.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; phone_mc._visible = false; popup_mc._visible = false; selectClip._visible = false; coffee_machine._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table2._visible = (table3._visible = false); table1._visible = false; coin_Anim2._visible = (coin_Anim3._visible = false); coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; choco_machines._visible = true; choco_machines.single_machine.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.intro.gotoAndPlay(1); gamestartInterval = setInterval(\x05\x03, 3000, this); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; \x1E\x03 = new Object(); Key.addListener(\x1E\x03); \x1E\x03.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; \x1E\x03.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; table1.onRollOver = (table2.onRollOver = (table3.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } })); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } })); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.single_machine.gotoAndStop(3); } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.single_machine.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "special_choco_machines"; owner.moveTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } })); table1.onPress = (table2.onPress = (table3.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; owner.<\x03(this); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } })); } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); special_choco_machines.onRollOver(); } else if (((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) { eval ("this." + keyTarget).onRollOut(); choco_machines.onRollOver(); } } function () { if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 150) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 250) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((1 * \x18) / 1.5); choco_machines._y = choco_machines._y + ((1 * \x18) / 1.5); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 1.5); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 1.5); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); owner.chocolate_container.gotoAndStop(2); owner.dusbinStatus = "ready"; owner.machineStatus = "ready"; owner.isPopup = false; owner.machineshake = "onn"; owner.keyTarget = "choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner.isPopup = false; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.customerCount = 0; owner.moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; owner.lobbyArr.length = 0; owner.lobbyArr = new Array(1, 2, 3); owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "younglady"); owner.lobbyArr.splice(_local1, 1); _local1 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 4000, owner, owner.lobbyArr[_local1], "younglady"); owner.lobbyArr.splice(_local1, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 730, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 6000, owner); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * 12); salesGirl._y = salesGirl._y + (Math.sin(\x12) * 12); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg2) { clearInterval(_arg2.gamestartInterval); _arg2.isPopup = true; _global.popupText = "Select the SPECIALTY CHOCOLATE machine to produce chocolate figures."; _arg2.ShowPopup(_arg2); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg1) { if (!_arg1.isGameOver) { if ((_arg1.customerCount != 0) && (_arg1.moneyCount != 0)) { _arg1.CallNextCustomerSet(); } } else { clearInterval(_arg1.Re_customerEnterInterval); } } function CallCustomer(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function CallCustomer2(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval2); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval3); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg3, _arg2) { if (_arg3 == 1) { table1._visible = true; customer1 = attachMovie(_arg2, "customer1", ([_arg3 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg2; orderbook1.heatcnt = 0; if (_arg2 == "oldlady") { orderbook1.heatInterval = setInterval(), 600, orderbook1, this, 1); } else if (_arg2 == "younglady") { orderbook1.heatInterval = setInterval(), 300, orderbook1, this, 1); } } else if (_arg3 == 2) { table2._visible = true; customer2 = attachMovie(_arg2, "customer2", ([_arg3 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg2; orderbook2.heatcnt = 0; if (_arg2 == "oldlady") { orderbook2.heatInterval = setInterval(), 600, orderbook2, this, 2); } else if (_arg2 == "younglady") { orderbook2.heatInterval = setInterval(), 300, orderbook2, this, 2); } } else if (_arg3 == 3) { table3._visible = true; customer3 = attachMovie(_arg2, "customer3", ([_arg3 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg2; orderbook3.heatcnt = 0; if (_arg2 == "oldlady") { orderbook3.heatInterval = setInterval(), 600, orderbook3, this, 3); } else if (_arg2 == "younglady") { orderbook3.heatInterval = setInterval(), 300, orderbook3, this, 3); } } customerCount++; moneyCount++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } function () { var owner = this; if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if (((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); if (!this["2"]) { trace("firsttime"); this["2"] = true; if (combo_bookcnt == 1) { eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[3]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[3]; } else { eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[0]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[0]; } } else { eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; } eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.customer" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; CheckForMoneyCombo(); lobbyArr.push(selectedTable); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { if (lobbyArr.length == 3) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } } else { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; clearInterval(_local2.customerEnterInterval); clearInterval(_local2.customerEnterInterval2); clearInterval(_local2.customerEnterInterval3); if (lobbyArr.length == 1) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 2000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); } else if (lobbyArr.length == 2) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], "younglady"); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local6 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local6); } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 3000, _local2, _local2.lobbyArr[_local3], "younglady"); var _local6 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4500, _local2, _local2.lobbyArr[_local3], "younglady"); var _local4 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local6); _local2.lobbyArr.push(_local4); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 150; _global.expertScore = 250; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 150) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 4) { _global.levelSelected = 4; } if (_global.levelFinished <= 3) { _global.levelFinished = 3; } if (score >= 250) { _global.level3Status = "expert"; } else { _global.level3Status = "target"; } _global.level3Score = score; if (((score >= 150) && (scoreClip.target._currentframe == 1)) || ((score >= 250) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); eval ("myparent.customer" + curpoint).gotoAndStop(6); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local2 = this; stopAllSounds(); _local2.bg.blink.gotoAndStop(_local2.bg.blink._currentframe); _local2.customer1.customer.gotoAndStop(_local2.customer1.customer._currentframe); _local2.customer2.customer.gotoAndStop(_local2.customer2.customer._currentframe); _local2.customer3.customer.gotoAndStop(_local2.customer3.customer._currentframe); _local2.special_choco_machines.machine1.blink.gotoAndStop(_local2.special_choco_machines.machine1.blink._currentframe); _local2.choco_machines.single_machine.blink.gotoAndStop(_local2.choco_machines.single_machine.blink._currentframe); _local2.salesGirl.coffeeicon.smoke.gotoAndStop(_local2.salesGirl.coffeeicon.smoke._currentframe); _local2.customer4.customer.gotoAndStop(_local2.customer4.customer._currentframe); _local2.coin_Anim1.coin.gotoAndStop(_local2.coin_Anim1.coin._currentframe); _local2.coin_Anim2.coin.gotoAndStop(_local2.coin_Anim2.coin._currentframe); _local2.coin_Anim3.coin.gotoAndStop(_local2.coin_Anim3.coin._currentframe); _local2.coin_Anim4.coin.gotoAndStop(_local2.coin_Anim4.coin._currentframe); _local2.comboClip.combo.gotoAndStop(_local2.comboClip.combo._currentframe); _local2.orderbook1.heartinClip.gotoAndStop(_local2.orderbook1.heartinClip._currentframe); _local2.orderbook2.heartinClip.gotoAndStop(_local2.orderbook2.heartinClip._currentframe); _local2.orderbook3.heartinClip.gotoAndStop(_local2.orderbook3.heartinClip._currentframe); _local2.orderbook4.heartinClip.gotoAndStop(_local2.orderbook4.heartinClip._currentframe); _local2.curScoreClip.gotoAndStop(_local2.curScoreClip._currentframe); _local2.coin_Anim1.coin.coin_rotate.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate._currentframe); _local2.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate2._currentframe); _local2.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate3._currentframe); _local2.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate4._currentframe); _local2.coin_Anim2.coin.coin_rotate.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate._currentframe); _local2.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate2._currentframe); _local2.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate3._currentframe); _local2.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate4._currentframe); _local2.coin_Anim3.coin.coin_rotate.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate._currentframe); _local2.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate2._currentframe); _local2.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate3._currentframe); _local2.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate4._currentframe); _local2.coin_Anim4.coin.coin_rotate.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate._currentframe); _local2.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate2._currentframe); _local2.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate3._currentframe); _local2.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate4._currentframe); _local2.comboClip.combo.coin_rotate.gotoAndStop(_local2.comboClip.combo.coin_rotate._currentframe); if (_local2.scoreIndicateClip._visible) { _local2.scoreIndicateClip.gotoAndStop(_local2.scoreIndicateClip._currentframe); } if (_local2.expertScoreClip._visible) { _local2.expertScoreClip.gotoAndStop(_local2.expertScoreClip._currentframe); } _local2.chocolateClip.mc.gotoAndStop(_local2.chocolateClip.mc._currentframe); _local2.specialChocolateClip.mc.gotoAndStop(_local2.specialChocolateClip.mc._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); choco_machines.onRollOut(); dusbin.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); Key.removeListener(keylistener); Key.removeListener(\x1E\x03); keyTarget = undefined; this["2"] = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var customerEnterInterval3 = -1; var 4 = -1; var isPaused = false; var  = 1; var " = 1; var machineshake = "off"; var  = "off"; var sequenceArr = new Array(); var tips = 0; var Re_customerEnterInterval = -1; var 2 = false; var preparecnt = 0; var  = 0; }
Symbol 1702 MovieClip [__Packages.Level4] Frame 0
class Level4 extends MovieClip { var salesGirl, btn_pause, _parent, choco_machines, special_choco_machines, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, phone_mc, popup_mc, selectClip, coffee_machine, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table3, table2, table1, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, ;, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer1, attachMovie, orderbook1, getNextHighestDepth, customer2, orderbook2, customer3, orderbook3, selectedTable, moveTarget, keylistener; function Level4 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); salesGirl.coffeeicon._visible = false; btn_pause._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; special_choco_machines.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; phone_mc._visible = false; popup_mc._visible = false; selectClip._visible = false; coffee_machine._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table2._visible = (table3._visible = false); table1._visible = false; coin_Anim2._visible = (coin_Anim3._visible = false); coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; choco_machines._visible = true; choco_machines.single_machine.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); isPopup = true; _global.popupText = "Welcome to my chocolate shop. Let's have a look around!"; ShowPopup(this); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; ;\x03 = new Object(); Key.addListener(;\x03); ;\x03.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; ;\x03.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; table1.onRollOver = (table2.onRollOver = (table3.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } })); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } })); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.single_machine.gotoAndStop(3); } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.single_machine.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "special_choco_machines"; owner.moveTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } })); table1.onPress = (table2.onPress = (table3.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; owner.<\x03(this); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } })); } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); special_choco_machines.onRollOver(); } else if (((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) { eval ("this." + keyTarget).onRollOut(); choco_machines.onRollOver(); } } function () { if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 150) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 250) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((1 * \x18) / 2); choco_machines._y = choco_machines._y + ((1 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); owner.chocolate_container.gotoAndStop(2); owner.dusbinStatus = "ready"; owner.machineStatus = "ready"; owner.isPopup = false; owner.machineshake = "onn"; owner.keyTarget = "choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner.isPopup = false; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "oldlady"); owner.lobbyArr.splice(_local1, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 700, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 6000, owner); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * 12); salesGirl._y = salesGirl._y + (Math.sin(\x12) * 12); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg2) { clearInterval(_arg2.gamestartInterval); _arg2.isPopup = true; _global.popupText = "Select the SPECIALTY CHOCOLATE machine to produce chocolate figures."; _arg2.ShowPopup(_arg2); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg1) { if (!_arg1.isGameOver) { if ((_arg1.customerCount != 0) && (_arg1.moneyCount != 0)) { _arg1.CallNextCustomerSet(); } } else { clearInterval(_arg1.Re_customerEnterInterval); } } function CallCustomer(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function CallCustomer2(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval2); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval3); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg3, _arg2) { if (_arg3 == 1) { table1._visible = true; customer1 = attachMovie(_arg2, "customer1", ([_arg3 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg2; orderbook1.heatcnt = 0; if (_arg2 == "oldlady") { orderbook1.heatInterval = setInterval(), 600, orderbook1, this, 1); } else if (_arg2 == "younglady") { orderbook1.heatInterval = setInterval(), 300, orderbook1, this, 1); } } else if (_arg3 == 2) { table2._visible = true; customer2 = attachMovie(_arg2, "customer2", ([_arg3 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg2; orderbook2.heatcnt = 0; if (_arg2 == "oldlady") { orderbook2.heatInterval = setInterval(), 600, orderbook2, this, 2); } else if (_arg2 == "younglady") { orderbook2.heatInterval = setInterval(), 300, orderbook2, this, 2); } } else if (_arg3 == 3) { table3._visible = true; customer3 = attachMovie(_arg2, "customer3", ([_arg3 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg2; orderbook3.heatcnt = 0; if (_arg2 == "oldlady") { orderbook3.heatInterval = setInterval(), 600, orderbook3, this, 3); } else if (_arg2 == "younglady") { orderbook3.heatInterval = setInterval(), 300, orderbook3, this, 3); } } customerCount++; moneyCount++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } function () { var owner = this; if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if (((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.customer" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; CheckForMoneyCombo(); lobbyArr.push(selectedTable); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { if (lobbyArr.length == 3) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } } else { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; clearInterval(_local2.customerEnterInterval); clearInterval(_local2.customerEnterInterval2); clearInterval(_local2.customerEnterInterval3); if (lobbyArr.length == 1) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); } else if (lobbyArr.length == 2) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 3000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local7 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local7); } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 3500, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local7 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4500, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local4 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local7); _local2.lobbyArr.push(_local4); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 150; _global.expertScore = 250; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 150) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 5) { _global.levelSelected = 5; } if (_global.levelFinished <= 4) { _global.levelFinished = 4; } if (score >= 250) { _global.level4Status = "expert"; } else { _global.level4Status = "target"; } _global.level4Score = score; if (((score >= 150) && (scoreClip.target._currentframe == 1)) || ((score >= 250) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); eval ("myparent.customer" + curpoint).gotoAndStop(6); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local2 = this; stopAllSounds(); _local2.bg.blink.gotoAndStop(_local2.bg.blink._currentframe); _local2.customer1.customer.gotoAndStop(_local2.customer1.customer._currentframe); _local2.customer2.customer.gotoAndStop(_local2.customer2.customer._currentframe); _local2.customer3.customer.gotoAndStop(_local2.customer3.customer._currentframe); _local2.special_choco_machines.machine1.blink.gotoAndStop(_local2.special_choco_machines.machine1.blink._currentframe); _local2.choco_machines.single_machine.blink.gotoAndStop(_local2.choco_machines.single_machine.blink._currentframe); _local2.salesGirl.coffeeicon.smoke.gotoAndStop(_local2.salesGirl.coffeeicon.smoke._currentframe); _local2.customer4.customer.gotoAndStop(_local2.customer4.customer._currentframe); _local2.coin_Anim1.coin.gotoAndStop(_local2.coin_Anim1.coin._currentframe); _local2.coin_Anim2.coin.gotoAndStop(_local2.coin_Anim2.coin._currentframe); _local2.coin_Anim3.coin.gotoAndStop(_local2.coin_Anim3.coin._currentframe); _local2.coin_Anim4.coin.gotoAndStop(_local2.coin_Anim4.coin._currentframe); _local2.comboClip.combo.gotoAndStop(_local2.comboClip.combo._currentframe); _local2.orderbook1.heartinClip.gotoAndStop(_local2.orderbook1.heartinClip._currentframe); _local2.orderbook2.heartinClip.gotoAndStop(_local2.orderbook2.heartinClip._currentframe); _local2.orderbook3.heartinClip.gotoAndStop(_local2.orderbook3.heartinClip._currentframe); _local2.orderbook4.heartinClip.gotoAndStop(_local2.orderbook4.heartinClip._currentframe); _local2.curScoreClip.gotoAndStop(_local2.curScoreClip._currentframe); _local2.coin_Anim1.coin.coin_rotate.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate._currentframe); _local2.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate2._currentframe); _local2.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate3._currentframe); _local2.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate4._currentframe); _local2.coin_Anim2.coin.coin_rotate.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate._currentframe); _local2.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate2._currentframe); _local2.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate3._currentframe); _local2.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate4._currentframe); _local2.coin_Anim3.coin.coin_rotate.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate._currentframe); _local2.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate2._currentframe); _local2.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate3._currentframe); _local2.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate4._currentframe); _local2.coin_Anim4.coin.coin_rotate.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate._currentframe); _local2.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate2._currentframe); _local2.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate3._currentframe); _local2.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate4._currentframe); _local2.comboClip.combo.coin_rotate.gotoAndStop(_local2.comboClip.combo.coin_rotate._currentframe); if (_local2.scoreIndicateClip._visible) { _local2.scoreIndicateClip.gotoAndStop(_local2.scoreIndicateClip._currentframe); } if (_local2.expertScoreClip._visible) { _local2.expertScoreClip.gotoAndStop(_local2.expertScoreClip._currentframe); } _local2.chocolateClip.mc.gotoAndStop(_local2.chocolateClip.mc._currentframe); _local2.specialChocolateClip.mc.gotoAndStop(_local2.specialChocolateClip.mc._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); choco_machines.onRollOut(); dusbin.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(Re_customerEnterInterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); Key.removeListener(keylistener); Key.removeListener(;\x03); keyTarget = undefined; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var customerEnterInterval3 = -1; var 4 = -1; var isPaused = false; var  = 1; var machineshake = "off"; var  = "off"; var " = 1; var sequenceArr = new Array(); var tips = 0; var Re_customerEnterInterval = -1; var # = new Array("younglady", "oldlady", "younglady"); var preparecnt = 0; var  = 0; }
Symbol 1703 MovieClip [__Packages.Level5] Frame 0
class Level5 extends MovieClip { var salesGirl, btn_pause, _parent, choco_machines, special_choco_machines, coffee_machine, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, phone_mc, popup_mc, selectClip, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table3, table2, table1, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer1, attachMovie, orderbook1, getNextHighestDepth, customer2, orderbook2, customer3, orderbook3, selectedTable, moveTarget, keylistener; function Level5 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); salesGirl.coffeeicon._visible = false; btn_pause._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; special_choco_machines.status = "empty"; coffee_machine.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; phone_mc._visible = false; popup_mc._visible = false; selectClip._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table2._visible = (table3._visible = false); table1._visible = false; coin_Anim2._visible = (coin_Anim3._visible = false); coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; choco_machines._visible = true; choco_machines.single_machine.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); coffee_machine._visible = true; coffee_machine.gotoAndStop(1); coffee_machine.intro.gotoAndPlay(1); gamestartInterval = setInterval(\x05\x03, 3000, this); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; this["?\x03"] = new Object(); Key.addListener(this["?\x03"]); this["?\x03"].onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; this["?\x03"].onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; table1.onRollOver = (table2.onRollOver = (table3.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } })); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } })); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.moveTarget = "choco_machines"; owner.keyTarget = "choco_machines"; this.single_machine.gotoAndStop(3); } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.single_machine.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.moveTarget = "dusbin"; owner.keyTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); coffee_machine.onRollOver = function () { if (((owner.coffeeStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.moveTarget = "coffee_machine"; owner.keyTarget = "coffee_machine"; this.gotoAndStop(3); } }; coffee_machine.onRollOut = (coffee_machine.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.moveTarget = "special_choco_machines"; owner.keyTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); coffee_machine.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.coffee_machine); } }; coffee_machine.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); this.pointer._visible = true; } }; choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } })); table1.onPress = (table2.onPress = (table3.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; owner.<\x03(this); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } })); } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); coffee_machine.onRollOver(); } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { coffee_machine.onRollOver(); } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); special_choco_machines.onRollOver(); } else if (((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) { eval ("this." + keyTarget).onRollOut(); coffee_machine.onRollOver(); } } function () { if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 200) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 300) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((1 * \x18) / 2); choco_machines._y = choco_machines._y + ((1 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } if (coffeemachineshake == "onn") { coffeemachinespeed = -coffeemachinespeed; coffee_machine._x = coffee_machine._x + ((1 * coffeemachinespeed) / 2); coffee_machine._y = coffee_machine._y + ((1 * coffeemachinespeed) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); owner.chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.machineStatus = "ready"; owner.machineshake = "onn"; owner.keyTarget = "choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "younglady"); owner.lobbyArr.splice(_local1, 1); _local1 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 4000, owner, owner.lobbyArr[_local1], "oldlady"); owner.lobbyArr.splice(_local1, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 700, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 6000, owner); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * \n\x03); salesGirl._y = salesGirl._y + (Math.sin(\x12) * \n\x03); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg2) { clearInterval(_arg2.gamestartInterval); _arg2.isPopup = true; _global.popupText = "Getting tired? Enjoying a cup of HOT CHOCOLATE from time to time."; _arg2.ShowPopup(_arg2); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg1) { if (!_arg1.isGameOver) { if ((_arg1.customerCount != 0) && (_arg1.moneyCount != 0)) { _arg1.CallNextCustomerSet(); } } else { clearInterval(_arg1.Re_customerEnterInterval); } } function CallCustomer(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function CallCustomer2(_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval2); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg2, _arg3, _arg4) { if (!_arg2.isPaused) { clearInterval(_arg2.customerEnterInterval3); if (!_arg2.isGameOver) { _arg2.customerEnter(_arg3, _arg4); var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == _arg3) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } else if ((_arg2.customerCount == 0) && (_arg2.moneyCount == 0)) { _arg2.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg3, _arg2) { if (_arg3 == 1) { table1._visible = true; customer1 = attachMovie(_arg2, "customer1", ([_arg3 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg2; orderbook1.heatcnt = 0; if (_arg2 == "oldlady") { orderbook1.heatInterval = setInterval(), 550, orderbook1, this, 1); } else if (_arg2 == "younglady") { orderbook1.heatInterval = setInterval(), 250, orderbook1, this, 1); } } else if (_arg3 == 2) { table2._visible = true; customer2 = attachMovie(_arg2, "customer2", ([_arg3 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg2; orderbook2.heatcnt = 0; if (_arg2 == "oldlady") { orderbook2.heatInterval = setInterval(), 550, orderbook2, this, 2); } else if (_arg2 == "younglady") { orderbook2.heatInterval = setInterval(), 250, orderbook2, this, 2); } } else if (_arg3 == 3) { table3._visible = true; customer3 = attachMovie(_arg2, "customer3", ([_arg3 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg2; orderbook3.heatcnt = 0; if (_arg2 == "oldlady") { orderbook3.heatInterval = setInterval(), 550, orderbook3, this, 3); } else if (_arg2 == "younglady") { orderbook3.heatInterval = setInterval(), 250, orderbook3, this, 3); } } customerCount++; moneyCount++; orderTaken++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } function () { var owner = this; if (selectedTarget == "coffee_machine") { coffee_machine.pointer._visible = false; if (coffee_machine.status == "empty") { coffee_machine.status = "prepared"; coffeeClip._visible = true; coffeeClip.gotoAndPlay(2); owner.isTargetReached = true; owner.coffee_preparecnt = 0; owner.coffee_process_interval = setInterval(owner.CoffeeIdleProcess, 100, owner); owner.isPopup = false; owner.coffeemachineshake = "onn"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (coffee_machine.status == "coffeeReady") { coffeeClip._visible = false; coffee_machine.status = "empty"; salesGirl.coffeeicon._visible = false; \n\x03 = 12; orderTaken = 0; salesGirl.gotoAndStop(2); if (salesGirl.chocolateCount == 0) { girlwalkframe = 9; } else if (salesGirl.chocolateCount == 1) { girlwalkframe = 10; } else if (salesGirl.chocolateCount == 2) { girlwalkframe = 11; } salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.jumpLady.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.jumpLady.chocobox2.gotoAndStop(preferred_chocolate2); owner.machineStatus = "notready"; owner.special_machineStatus = "notready"; owner.dusbinStatus = "notready"; owner.coffeeStatus = "notready"; owner.isPopup = true; this["?\x02"] = setInterval(\"\x02, 1100, this); } } else if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if (((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { CallNextCustomerSet(); } } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.customer" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; CheckForMoneyCombo(); if (orderTaken >= 6) { salesGirl.coffeeicon._visible = true; \n\x03 = 6; } lobbyArr.push(selectedTable); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { if (lobbyArr.length == 3) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } } else { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; clearInterval(_local2.customerEnterInterval); clearInterval(_local2.customerEnterInterval2); clearInterval(_local2.customerEnterInterval3); if (lobbyArr.length == 1) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); } else if (lobbyArr.length == 2) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 3000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local7 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local7); } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local5 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 3000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local7 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local6 = Math.ceil((Math.random() * 3) - 1); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local6]); var _local4 = _local2.lobbyArr[_local3]; _local2.lobbyArr.splice(_local3, 1); _local2.lobbyArr.push(_local5); _local2.lobbyArr.push(_local7); _local2.lobbyArr.push(_local4); } } function "(_arg1) { clearInterval(_arg1["?\x02"]); _arg1.machineStatus = "ready"; _arg1.special_machineStatus = "ready"; _arg1.dusbinStatus = "ready"; _arg1.coffeeStatus = "ready"; _arg1.isPopup = false; _arg1.sequenceArr.splice(0, 1); if (_arg1.sequenceArr.length >= 1) { _arg1.\f(); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(this["?\x02"]); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 200; _global.expertScore = 300; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 200) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 6) { _global.levelSelected = 6; } if (_global.levelFinished <= 5) { _global.levelFinished = 5; } if (score >= 300) { _global.level5Status = "expert"; } else { _global.level5Status = "target"; } _global.level5Score = score; if (((score >= 200) && (scoreClip.target._currentframe == 1)) || ((score >= 300) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); eval ("myparent.customer" + curpoint).gotoAndStop(6); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function CoffeeIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.coffee_preparecnt++; if (_arg3.coffee_preparecnt >= 20) { clearInterval(_arg3.coffee_process_interval); _arg3.coffeeStatus = "ready"; _arg3.coffeemachineshake = "off"; _arg3.coffee_machine.status = "coffeeReady"; if (_global.soundstat == "onn") { _root.hotchoco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == coffee_machine) { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); sequenceArr[0].pointer._visible = true; } } else if (((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local2 = this; stopAllSounds(); _local2.bg.blink.gotoAndStop(_local2.bg.blink._currentframe); _local2.customer1.customer.gotoAndStop(_local2.customer1.customer._currentframe); _local2.customer2.customer.gotoAndStop(_local2.customer2.customer._currentframe); _local2.customer3.customer.gotoAndStop(_local2.customer3.customer._currentframe); _local2.special_choco_machines.machine1.blink.gotoAndStop(_local2.special_choco_machines.machine1.blink._currentframe); _local2.choco_machines.single_machine.blink.gotoAndStop(_local2.choco_machines.single_machine.blink._currentframe); _local2.salesGirl.coffeeicon.smoke.gotoAndStop(_local2.salesGirl.coffeeicon.smoke._currentframe); _local2.customer4.customer.gotoAndStop(_local2.customer4.customer._currentframe); _local2.coin_Anim1.coin.gotoAndStop(_local2.coin_Anim1.coin._currentframe); _local2.coin_Anim2.coin.gotoAndStop(_local2.coin_Anim2.coin._currentframe); _local2.coin_Anim3.coin.gotoAndStop(_local2.coin_Anim3.coin._currentframe); _local2.coin_Anim4.coin.gotoAndStop(_local2.coin_Anim4.coin._currentframe); _local2.comboClip.combo.gotoAndStop(_local2.comboClip.combo._currentframe); _local2.orderbook1.heartinClip.gotoAndStop(_local2.orderbook1.heartinClip._currentframe); _local2.orderbook2.heartinClip.gotoAndStop(_local2.orderbook2.heartinClip._currentframe); _local2.orderbook3.heartinClip.gotoAndStop(_local2.orderbook3.heartinClip._currentframe); _local2.orderbook4.heartinClip.gotoAndStop(_local2.orderbook4.heartinClip._currentframe); _local2.curScoreClip.gotoAndStop(_local2.curScoreClip._currentframe); _local2.coin_Anim1.coin.coin_rotate.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate._currentframe); _local2.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate2._currentframe); _local2.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate3._currentframe); _local2.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate4._currentframe); _local2.coin_Anim2.coin.coin_rotate.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate._currentframe); _local2.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate2._currentframe); _local2.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate3._currentframe); _local2.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate4._currentframe); _local2.coin_Anim3.coin.coin_rotate.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate._currentframe); _local2.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate2._currentframe); _local2.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate3._currentframe); _local2.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate4._currentframe); _local2.coin_Anim4.coin.coin_rotate.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate._currentframe); _local2.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate2._currentframe); _local2.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate3._currentframe); _local2.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate4._currentframe); _local2.comboClip.combo.coin_rotate.gotoAndStop(_local2.comboClip.combo.coin_rotate._currentframe); if (_local2.scoreIndicateClip._visible) { _local2.scoreIndicateClip.gotoAndStop(_local2.scoreIndicateClip._currentframe); } if (_local2.expertScoreClip._visible) { _local2.expertScoreClip.gotoAndStop(_local2.expertScoreClip._currentframe); } _local2.chocolateClip.mc.gotoAndStop(_local2.chocolateClip.mc._currentframe); _local2.specialChocolateClip.mc.gotoAndStop(_local2.specialChocolateClip.mc._currentframe); _local2.coffeeClip.gotoAndStop(_local2.coffeeClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); _local4.coffeeClip.gotoAndPlay(_local4.coffeeClip._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); choco_machines.onRollOut(); dusbin.onRollOut(); coffee_machine.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(this["?\x02"]); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); \n\x03 = 12; Key.removeListener(keylistener); Key.removeListener(this["?\x03"]); keyTarget = undefined; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var coffeeStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var customerEnterInterval3 = -1; var 4 = -1; var isPaused = false; var coffee_process_interval = -1; var  = 1; var machineshake = "off"; var  = "off"; var coffeemachineshake = "off"; var " = 1; var coffeemachinespeed = 1; var  = 12; var sequenceArr = new Array(); var ? = -1; var tips = 0; var Re_customerEnterInterval = -1; var # = new Array("younglady", "oldlady", "younglady"); var preparecnt = 0; var  = 0; var coffee_preparecnt = 0; }
Symbol 1704 MovieClip [__Packages.Level6] Frame 0
class Level6 extends MovieClip { var deliveryboy, salesGirl, btn_pause, _parent, choco_machines, choco_machines2, special_choco_machines, coffee_machine, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, chocolateClip2, popup_mc, selectClip, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table4, table3, table2, table1, coin_Anim4, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, phone_mc, , keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer4, orderbook4, attachMovie, getNextHighestDepth, customer1, orderbook1, customer2, orderbook2, customer3, orderbook3, selectedTable, ', moveTarget, keylistener; function Level6 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); deliveryboy._visible = false; salesGirl.coffeeicon._visible = false; btn_pause._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; choco_machines2.status = "empty"; special_choco_machines.status = "empty"; coffee_machine.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; chocolateClip2._visible = false; popup_mc._visible = false; selectClip._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table3._visible = (table4._visible = false); table2._visible = false; table1._visible = false; coin_Anim3._visible = (coin_Anim4._visible = false); coin_Anim2._visible = false; coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; table4.point = 4; choco_machines._visible = true; choco_machines.single_machine.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); coffee_machine._visible = true; coffee_machine.gotoAndStop(2); choco_machines2._visible = false; choco_machines2.intro.gotoAndStop(1); choco_machines2.intro.shadow.gotoAndStop(1); choco_machines2.intro.star.gotoAndStop(1); phone_mc._visible = true; phone_mc.intro.gotoAndPlay(2); _global.popupText = "Select the PHONE to answer a call. Take the order of the client and prepare it. A delivery boy will pick it up later."; gamestartInterval = setInterval(\x05\x03, 3000, this); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; \x14 = new Object(); Key.addListener(\x14); \x14.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; \x14.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; phone_mc.onRollOver = function () { if (((!owner.isPaused) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(2); } else { this.gotoAndStop(3); } owner.moveTarget = "phone_mc"; } }; phone_mc.onRollOut = (phone_mc.onReleaseOutside = function () { this.gotoAndStop(2); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(1); } }); table1.onRollOver = (table2.onRollOver = (table3.onRollOver = (table4.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.moveTarget = this._name; owner.keyTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } }))); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = (table4.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } }))); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.single_machine.gotoAndStop(3); } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.single_machine.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); coffee_machine.onRollOver = function () { if (((owner.coffeeStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "coffee_machine"; owner.moveTarget = "coffee_machine"; this.gotoAndStop(3); } }; coffee_machine.onRollOut = (coffee_machine.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.moveTarget = "special_choco_machines"; owner.keyTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); coffee_machine.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.coffee_machine); } }; coffee_machine.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); this.pointer._visible = true; } }; choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines2); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = (table4.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } }))); table1.onPress = (table2.onPress = (table3.onPress = (table4.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; if (owner.selectedTarget == "table1") { owner.<\x03(this); owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.<\x03(this); owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.<\x03(this); owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } }))); phone_mc.onRelease = function () { if ((((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) && (owner.table4._visible == true)) { owner.sequenceArr.push(owner.phone_mc); } }; phone_mc.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "table4"; owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } }; } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } else if (table4._visible) { table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); coffee_machine.onRollOver(); } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { coffee_machine.onRollOver(); } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); special_choco_machines.onRollOver(); } else if ((((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) || (keyTarget == "table4")) { eval ("this." + keyTarget).onRollOut(); phone_mc.onRollOut(); coffee_machine.onRollOver(); } } function () { if (keyTarget == "table4") { if (table1._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOver(); } else if (table2._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table3.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table2.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table1") { if (table4._visible) { table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 220) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 480) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((1 * \x18) / 2); choco_machines._y = choco_machines._y + ((1 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } if (coffeemachineshake == "onn") { coffeemachinespeed = -coffeemachinespeed; coffee_machine._x = coffee_machine._x + ((1 * coffeemachinespeed) / 2); coffee_machine._y = coffee_machine._y + ((1 * coffeemachinespeed) / 2); } if ([ == "onn") { this["9"] = -this["9"]; choco_machines2._x = choco_machines2._x + ((1 * this["9"]) / 2); choco_machines2._y = choco_machines2._y + ((1 * this["9"]) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { if (owner.selectedTarget == "choco_machines") { owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.machineshake = "onn"; owner.machineStatus = "ready"; owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); } else if (owner.selectedTarget == "choco_machines2") { owner.chocolateClip2._visible = true; owner.chocolateClip2.gotoAndStop(this._name); owner.chocolateClip2.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box2_chocolate = this._name; if (owner.choco_machines2.status == "empty") { owner.choco_machines2.status = "prepared"; } owner["["] = "onn"; owner.machine2Status = "ready"; owner.process_interval = setInterval(owner.IdleProcess, 3000, owner); } owner.chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 1500, owner, owner.lobbyArr[_local1], "oldlady"); owner.lobbyArr.splice(_local1, 1); _local1 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 2500, owner, owner.lobbyArr[_local1], "younglady"); owner.lobbyArr.splice(_local1, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 650, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 3500, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * \n\x03); salesGirl._y = salesGirl._y + (Math.sin(\x12) * \n\x03); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg1) { clearInterval(_arg1.gamestartInterval); _arg1.isPopup = true; _arg1.ShowPopup(_arg1); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg2) { if (!_arg2.isGameOver) { if (_arg2.table4._visible) { var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == 1) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } if ((_arg2.customerCount != 0) && (_arg2.moneyCount != 0)) { _arg2.CallNextCustomerSet(); } } else { clearInterval(_arg2.Re_customerEnterInterval); } } function CallCustomer(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function CallCustomer2(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval2); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval3); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg5, _arg4) { if (!isGameOver) { if (_arg4 == "phoneorder") { ringstat = "onn"; phone_mc._visible = true; table4._visible = true; customer4 = phone_mc; phone_mc.ring._visible = true; phone_mc.ring.gotoAndPlay(2); orderbook4 = attachMovie("orderbook", "orderbook4", getNextHighestDepth(), {_x:170, _y:400}); orderbook4._visible = false; orderbook4.type = "phone"; customer4.type = _arg4; orderbook4.heatcnt = 0; orderbook4.heatInterval = setInterval(), 550, orderbook4, this, 4); phoneringcnt = 0; phoneInterval = setInterval(\x1C, 1000, this); if (_global.soundstat == "onn") { _root.phonering_Sound.start(); } } else if (_arg5 == 1) { table1._visible = true; customer1 = attachMovie(_arg4, "customer1", ([_arg5 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg4; orderbook1.heatcnt = 0; if (_arg4 == "oldlady") { orderbook1.heatInterval = setInterval(), 550, orderbook1, this, 1); } else if (_arg4 == "younglady") { orderbook1.heatInterval = setInterval(), 250, orderbook1, this, 1); } } else if (_arg5 == 2) { table2._visible = true; customer2 = attachMovie(_arg4, "customer2", ([_arg5 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg4; orderbook2.heatcnt = 0; if (_arg4 == "oldlady") { orderbook2.heatInterval = setInterval(), 550, orderbook2, this, 2); } else if (_arg4 == "younglady") { orderbook2.heatInterval = setInterval(), 250, orderbook2, this, 2); } } else if (_arg5 == 3) { table3._visible = true; customer3 = attachMovie(_arg4, "customer3", ([_arg5 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg4; orderbook3.heatcnt = 0; if (_arg4 == "oldlady") { orderbook3.heatInterval = setInterval(), 550, orderbook3, this, 3); } else if (_arg4 == "younglady") { orderbook3.heatInterval = setInterval(), 250, orderbook3, this, 3); } } customerCount++; moneyCount++; orderTaken++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } } function (owner) { if (!owner.isPaused) { owner.phoneringcnt++; if (owner.phoneringcnt >= 20) { clearInterval(owner.phoneInterval); clearInterval(owner.orderbook4.heatInterval); owner.moneyCount--; owner.customerCount--; owner.orderbook4._visible = false; owner.table4._visible = false; owner.orderbook4.type = "empty"; owner.ringstat = "off"; owner.phone_mc.ring.gotoAndStop(1); _root.phonering_Sound.stop(); if ((owner.customerCount == 0) && (owner.moneyCount == 0)) { if (!owner.isGameOver) { owner.CallNextCustomerSet(); } else { owner.callResult(); } } } } } function () { var owner = this; if (selectedTarget == "coffee_machine") { coffee_machine.pointer._visible = false; if (coffee_machine.status == "empty") { coffee_machine.status = "prepared"; coffeeClip._visible = true; coffeeClip.gotoAndPlay(2); owner.isTargetReached = true; owner.coffee_preparecnt = 0; owner.coffee_process_interval = setInterval(owner.CoffeeIdleProcess, 100, owner); owner.isPopup = false; owner.coffeemachineshake = "onn"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (coffee_machine.status == "coffeeReady") { coffeeClip._visible = false; coffee_machine.status = "empty"; salesGirl.coffeeicon._visible = false; \n\x03 = 12; orderTaken = 0; salesGirl.gotoAndStop(2); if (salesGirl.chocolateCount == 0) { girlwalkframe = 9; } else if (salesGirl.chocolateCount == 1) { girlwalkframe = 10; } else if (salesGirl.chocolateCount == 2) { girlwalkframe = 11; } salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.jumpLady.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.jumpLady.chocobox2.gotoAndStop(preferred_chocolate2); owner.machineStatus = "notready"; owner.special_machineStatus = "notready"; owner.dusbinStatus = "notready"; owner.coffeeStatus = "notready"; owner.isPopup = true; this["?\x02"] = setInterval(\"\x02, 1100, this); } } else if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { if (orderbook4.book_mc._currentframe == 74) { orderbook4.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "choco_machines2") { choco_machines2.pointer._visible = false; if (choco_machines2.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machine2Status = "notready"; dusbinStatus = "notready"; isPopup = true; } } else if (choco_machines2.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box2_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box2_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip2._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines2.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if ((((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) || (selectedTarget == "table4")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "phone") { isphonecalled = true; _root.phonering_Sound.stop(); clearInterval(phoneInterval); combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; ringstat = "off"; phone_mc.ring.gotoAndStop(1); eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable)._visible = true; eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(2); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { trace("table4visile"); var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { trace("table4visile"); var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; if (owner.selectedTarget != "table4") { eval ("this.customer" + selectedTable)._visible = false; } CheckForMoneyCombo(); if (orderTaken >= 6) { salesGirl.coffeeicon._visible = true; \n\x03 = 6; } if (selectedTable != 4) { lobbyArr.push(selectedTable); } else if (table1._visible == false) { lobbyArr.push(1); } trace((("money=" + lobbyArr.length) + ", lobby=") + lobbyArr); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } else { callResult(); } } else if (isGameOver) { if ((((table1._visible == false) && (table2._visible == false)) && (table3._visible == false)) && (table4._visible == false)) { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function >() { var _local2 = this; var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); if (table4._visible) { _local3 = 1; } else { _local3 = 0; } _local2.Re_customerEnterInterval = setInterval(_local2["\x01"], 100, _local2, _local2.lobbyArr[_local3], "younglady"); _local2.lobbyArr.splice(_local3, 1); } function CallNextCustomerSet() { var _local2 = this; trace("call next cus=" + lobbyArr); if (lobbyArr.length >= 1) { if (lobbyArr.length == 1) { if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 2) { '\x02 = "onn"; trace("in lobby arr 2=" + isphonecalled); if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); if (_local2.lobbyArr[0] == 1) { _local3 = 1; } else if (_local2.lobbyArr[1] == 1) { _local3 = 0; } clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval3); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } } function >(owner) { clearInterval(owner.deliveryinterval); owner.orderbook4.type = "money"; owner.coin_Anim4._visible = true; owner.coin_Anim4.gotoAndStop(1); owner.coin_Anim4.coin.gotoAndPlay(1); owner.orderbook4.gotoAndStop(3); if ((owner.orderbook4.heatcnt > 60) && (owner.orderbook4.heatcnt <= 100)) { owner.orderbook4.money_mc.gotoAndStop(2); owner.orderbook4.highlight._visible = false; } else if (owner.orderbook4.heatcnt > 100) { owner.orderbook4.money_mc.gotoAndStop(3); owner.orderbook4.highlight._visible = false; owner.orderbook4.highlight_small._visible = false; } if (!owner.isGameOver) { if (owner.table4._visible) { trace("table4visile"); var i = 0; while (i < owner.lobbyArr.length) { if (owner.lobbyArr[i] == 1) { owner.lobbyArr.splice(i, 1); } i++; } } owner.CallNextCustomerSet(); } } function "(_arg1) { clearInterval(_arg1["?\x02"]); _arg1.machineStatus = "ready"; _arg1.special_machineStatus = "ready"; _arg1.dusbinStatus = "ready"; _arg1.coffeeStatus = "ready"; _arg1.isPopup = false; _arg1.sequenceArr.splice(0, 1); if (_arg1.sequenceArr.length >= 1) { _arg1.\f(); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } if (orderbook4.book_mc._currentframe >= 74) { if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } else { orderbook4.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); clearInterval(this["?\x02"]); clearInterval(phoneInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 220; _global.expertScore = 480; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 220) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 7) { _global.levelSelected = 7; } if (_global.levelFinished <= 6) { _global.levelFinished = 6; } if (score >= 480) { _global.level6Status = "expert"; } else { _global.level6Status = "target"; } _global.level6Score = score; if (((score >= 220) && (scoreClip.target._currentframe == 1)) || ((score >= 480) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function CoffeeIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.coffee_preparecnt++; if (_arg3.coffee_preparecnt >= 20) { clearInterval(_arg3.coffee_process_interval); _arg3.coffeeStatus = "ready"; _arg3.coffeemachineshake = "off"; _arg3.coffee_machine.status = "coffeeReady"; if (_global.soundstat == "onn") { _root.hotchoco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == coffee_machine) { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); sequenceArr[0].pointer._visible = true; } } else if ((((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) || (sequenceArr[0] == table4)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local3 = this; stopAllSounds(); _local3.bg.blink.gotoAndStop(_local3.bg.blink._currentframe); _local3.customer1.customer.gotoAndStop(_local3.customer1.customer._currentframe); _local3.customer2.customer.gotoAndStop(_local3.customer2.customer._currentframe); _local3.customer3.customer.gotoAndStop(_local3.customer3.customer._currentframe); _local3.special_choco_machines.machine1.blink.gotoAndStop(_local3.special_choco_machines.machine1.blink._currentframe); _local3.choco_machines.single_machine.blink.gotoAndStop(_local3.choco_machines.single_machine.blink._currentframe); _local3.salesGirl.coffeeicon.smoke.gotoAndStop(_local3.salesGirl.coffeeicon.smoke._currentframe); _local3.customer4.customer.gotoAndStop(_local3.customer4.customer._currentframe); _local3.coin_Anim1.coin.gotoAndStop(_local3.coin_Anim1.coin._currentframe); _local3.coin_Anim2.coin.gotoAndStop(_local3.coin_Anim2.coin._currentframe); _local3.coin_Anim3.coin.gotoAndStop(_local3.coin_Anim3.coin._currentframe); _local3.coin_Anim4.coin.gotoAndStop(_local3.coin_Anim4.coin._currentframe); _local3.comboClip.combo.gotoAndStop(_local3.comboClip.combo._currentframe); _local3.orderbook1.heartinClip.gotoAndStop(_local3.orderbook1.heartinClip._currentframe); _local3.orderbook2.heartinClip.gotoAndStop(_local3.orderbook2.heartinClip._currentframe); _local3.orderbook3.heartinClip.gotoAndStop(_local3.orderbook3.heartinClip._currentframe); _local3.orderbook4.heartinClip.gotoAndStop(_local3.orderbook4.heartinClip._currentframe); _local3.curScoreClip.gotoAndStop(_local3.curScoreClip._currentframe); _local3.coin_Anim1.coin.coin_rotate.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate._currentframe); _local3.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate2._currentframe); _local3.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate3._currentframe); _local3.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate4._currentframe); _local3.coin_Anim2.coin.coin_rotate.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate._currentframe); _local3.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate2._currentframe); _local3.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate3._currentframe); _local3.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate4._currentframe); _local3.coin_Anim3.coin.coin_rotate.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate._currentframe); _local3.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate2._currentframe); _local3.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate3._currentframe); _local3.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate4._currentframe); _local3.coin_Anim4.coin.coin_rotate.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate._currentframe); _local3.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate2._currentframe); _local3.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate3._currentframe); _local3.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate4._currentframe); _local3.comboClip.combo.coin_rotate.gotoAndStop(_local3.comboClip.combo.coin_rotate._currentframe); if (_local3.scoreIndicateClip._visible) { _local3.scoreIndicateClip.gotoAndStop(_local3.scoreIndicateClip._currentframe); } if (_local3.expertScoreClip._visible) { _local3.expertScoreClip.gotoAndStop(_local3.expertScoreClip._currentframe); } _global.ringvisible = phone_mc.ring._visible; phone_mc.ring._visible = false; _local3.chocolateClip.mc.gotoAndStop(_local3.chocolateClip.mc._currentframe); _local3.specialChocolateClip.mc.gotoAndStop(_local3.specialChocolateClip.mc._currentframe); _local3.coffeeClip.gotoAndStop(_local3.coffeeClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } phone_mc.ring._visible = _global.ringvisible; _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); _local4.coffeeClip.gotoAndPlay(_local4.coffeeClip._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); table4.onRollOut(); phone_mc.onRollOut(); choco_machines.onRollOut(); dusbin.onRollOut(); coffee_machine.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); \n\x03 = 12; Key.removeListener(keylistener); clearInterval(this["?\x02"]); clearInterval(phoneInterval); Key.removeListener(\x14); keyTarget = undefined; phoneringcnt = 0; isphonecalled = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var machine2Status = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var coffeeStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var 4 = -1; var isPaused = false; var coffee_process_interval = -1; var ringstat = "off"; var phone_status = "notready"; var  = 1; var machineshake = "off"; var  = "off"; var coffeemachineshake = "off"; var [ = "off"; var " = 1; var coffeemachinespeed = 1; var 9 = 1; var  = 12; var sequenceArr = new Array(); var customerEnterInterval3 = -1; var deliveryinterval = -1; var ? = -1; var tips = 0; var phoneInterval = -1; var Re_customerEnterInterval = -1; var phoneringcnt = 0; var # = new Array("younglady", "oldlady", "younglady"); var isphonecalled = false; var preparecnt = 0; var  = 0; var coffee_preparecnt = 0; }
Symbol 1705 MovieClip [__Packages.Level7] Frame 0
class Level7 extends MovieClip { var dummy_highlight, deliveryboy, salesGirl, btn_pause, _parent, choco_machines, choco_machines2, special_choco_machines, coffee_machine, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, chocolateClip2, popup_mc, selectClip, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table4, table3, table2, table1, coin_Anim4, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, phone_mc, ^, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer4, orderbook4, attachMovie, getNextHighestDepth, customer1, orderbook1, customer2, orderbook2, customer3, orderbook3, selectedTable, ', moveTarget, keylistener; function Level7 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); dummy_highlight._visible = false; deliveryboy._visible = false; salesGirl.coffeeicon._visible = false; btn_pause._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; choco_machines2.status = "empty"; special_choco_machines.status = "empty"; coffee_machine.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; chocolateClip2._visible = false; popup_mc._visible = false; selectClip._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table3._visible = (table4._visible = false); table2._visible = false; table1._visible = false; coin_Anim3._visible = (coin_Anim4._visible = false); coin_Anim2._visible = false; coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; table4.point = 4; choco_machines._visible = true; choco_machines.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); coffee_machine._visible = true; coffee_machine.gotoAndStop(2); choco_machines2._visible = true; choco_machines2.intro.gotoAndStop(1); choco_machines2.intro.shadow.gotoAndPlay(2); choco_machines2.intro.star.gotoAndPlay(2); phone_mc._visible = true; phone_mc.gotoAndStop(2); phone_mc.ring.gotoAndStop(1); _global.popupText = "New BOXED CHOCOLATE machine has been added!"; gamestartInterval = setInterval(\x05\x03, 3000, this); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; ^ = new Object(); Key.addListener(^); ^.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; ^.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; phone_mc.onRollOver = function () { if (((!owner.isPaused) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(2); } else { this.gotoAndStop(3); } owner.moveTarget = "phone_mc"; } }; phone_mc.onRollOut = (phone_mc.onReleaseOutside = function () { this.gotoAndStop(2); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(1); } }); table1.onRollOver = (table2.onRollOver = (table3.onRollOver = (table4.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } }))); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = (table4.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } }))); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.gotoAndStop(3); owner.dummy_highlight._visible = true; } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.gotoAndStop(2); owner.dummy_highlight._visible = false; }); choco_machines2.onRollOver = function () { if (((owner.machine2Status == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines2"; owner.moveTarget = "choco_machines2"; this.gotoAndStop(3); } }; choco_machines2.onRollOut = (choco_machines2.onReleaseOutside = function () { this.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); coffee_machine.onRollOver = function () { if (((owner.coffeeStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "coffee_machine"; owner.moveTarget = "coffee_machine"; this.gotoAndStop(3); } }; coffee_machine.onRollOut = (coffee_machine.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "special_choco_machines"; owner.moveTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); coffee_machine.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.coffee_machine); } }; coffee_machine.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); this.pointer._visible = true; } }; choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; choco_machines2.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines2); } }; choco_machines2.onPress = function () { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = (table4.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } }))); table1.onPress = (table2.onPress = (table3.onPress = (table4.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; if (owner.selectedTarget == "table1") { owner.<\x03(this); owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.<\x03(this); owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.<\x03(this); owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } }))); phone_mc.onRelease = function () { if ((((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) && (owner.table4._visible == true)) { owner.sequenceArr.push(owner.phone_mc); } }; phone_mc.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "table4"; owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } }; } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } else if (table4._visible) { table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); coffee_machine.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines2.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { coffee_machine.onRollOver(); } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); choco_machines2.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); special_choco_machines.onRollOver(); } else if ((((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) || (keyTarget == "table4")) { eval ("this." + keyTarget).onRollOut(); phone_mc.onRollOut(); coffee_machine.onRollOver(); } } function () { if (keyTarget == "table4") { if (table1._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOver(); } else if (table2._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table3.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table2.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table1") { if (table4._visible) { table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 280) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 480) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((2 * \x18) / 2); choco_machines._y = choco_machines._y + ((2 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } if (coffeemachineshake == "onn") { coffeemachinespeed = -coffeemachinespeed; coffee_machine._x = coffee_machine._x + ((1 * coffeemachinespeed) / 2); coffee_machine._y = coffee_machine._y + ((1 * coffeemachinespeed) / 2); } if ([ == "onn") { this["9"] = -this["9"]; choco_machines2._x = choco_machines2._x + ((2 * this["9"]) / 2); choco_machines2._y = choco_machines2._y + ((2 * this["9"]) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { if (owner.selectedTarget == "choco_machines") { owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.machineshake = "onn"; owner.machineStatus = "ready"; owner.keyTarget = "choco_machines"; owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); } else if (owner.selectedTarget == "choco_machines2") { owner.chocolateClip2._visible = true; owner.chocolateClip2.gotoAndStop(this._name); owner.chocolateClip2.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box2_chocolate = this._name; if (owner.choco_machines2.status == "empty") { owner.choco_machines2.status = "prepared"; } owner["["] = "onn"; owner.machine2Status = "ready"; owner.keyTarget = "choco_machines2"; owner["(\x02"] = 0; owner["&\x03"] = setInterval(owner.IdleProcess2, 100, owner); } owner.chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; if (owner.selectedTarget == "choco_machines") { owner.keyTarget = "choco_machines"; } else { owner.keyTarget = "choco_machines2"; } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 1500, owner, owner.lobbyArr[_local1], "younglady"); owner.lobbyArr.splice(_local1, 1); _local1 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 2500, owner, owner.lobbyArr[_local1], "oldlady"); owner.lobbyArr.splice(_local1, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 660, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 3500, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * \n\x03); salesGirl._y = salesGirl._y + (Math.sin(\x12) * \n\x03); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg1) { clearInterval(_arg1.gamestartInterval); _arg1.isPopup = true; _arg1.ShowPopup(_arg1); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg2) { if (!_arg2.isGameOver) { if (_arg2.table4._visible) { var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == 1) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } if ((_arg2.customerCount != 0) && (_arg2.moneyCount != 0)) { _arg2.CallNextCustomerSet(); } } else { clearInterval(_arg2.Re_customerEnterInterval); } } function CallCustomer(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function CallCustomer2(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval2); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval3); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg5, _arg4) { if (!isGameOver) { if (_arg4 == "phoneorder") { isphonecalled = true; ringstat = "onn"; phone_mc._visible = true; table4._visible = true; customer4 = phone_mc; phone_mc.ring._visible = true; phone_mc.ring.gotoAndPlay(2); orderbook4 = attachMovie("orderbook", "orderbook4", getNextHighestDepth(), {_x:170, _y:400}); orderbook4._visible = false; orderbook4.type = "phone"; customer4.type = _arg4; orderbook4.heatcnt = 0; orderbook4.heatInterval = setInterval(), 550, orderbook4, this, 4); phoneringcnt = 0; phoneInterval = setInterval(\x1C, 1000, this); if (_global.soundstat == "onn") { _root.phonering_Sound.start(); } } else if (_arg5 == 1) { table1._visible = true; customer1 = attachMovie(_arg4, "customer1", ([_arg5 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg4; orderbook1.heatcnt = 0; if (_arg4 == "oldlady") { orderbook1.heatInterval = setInterval(), 550, orderbook1, this, 1); } else if (_arg4 == "younglady") { orderbook1.heatInterval = setInterval(), 250, orderbook1, this, 1); } } else if (_arg5 == 2) { table2._visible = true; customer2 = attachMovie(_arg4, "customer2", ([_arg5 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg4; orderbook2.heatcnt = 0; if (_arg4 == "oldlady") { orderbook2.heatInterval = setInterval(), 550, orderbook2, this, 2); } else if (_arg4 == "younglady") { orderbook2.heatInterval = setInterval(), 250, orderbook2, this, 2); } } else if (_arg5 == 3) { table3._visible = true; customer3 = attachMovie(_arg4, "customer3", ([_arg5 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg4; orderbook3.heatcnt = 0; if (_arg4 == "oldlady") { orderbook3.heatInterval = setInterval(), 550, orderbook3, this, 3); } else if (_arg4 == "younglady") { orderbook3.heatInterval = setInterval(), 250, orderbook3, this, 3); } } customerCount++; moneyCount++; orderTaken++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } } function (owner) { if (!owner.isPaused) { owner.phoneringcnt++; if (owner.phoneringcnt >= 20) { clearInterval(owner.phoneInterval); clearInterval(owner.orderbook4.heatInterval); owner.moneyCount--; owner.customerCount--; owner.orderbook4._visible = false; owner.table4._visible = false; owner.orderbook4.type = "empty"; owner.ringstat = "off"; owner.phone_mc.ring.gotoAndStop(1); _root.phonering_Sound.stop(); if ((owner.customerCount == 0) && (owner.moneyCount == 0)) { if (!owner.isGameOver) { owner.CallNextCustomerSet(); } else { owner.callResult(); } } } } } function () { var owner = this; if (selectedTarget == "coffee_machine") { coffee_machine.pointer._visible = false; if (coffee_machine.status == "empty") { coffee_machine.status = "prepared"; coffeeClip._visible = true; coffeeClip.gotoAndPlay(2); owner.isTargetReached = true; owner.coffee_preparecnt = 0; owner.coffee_process_interval = setInterval(owner.CoffeeIdleProcess, 100, owner); owner.isPopup = false; owner.coffeemachineshake = "onn"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (coffee_machine.status == "coffeeReady") { coffeeClip._visible = false; coffee_machine.status = "empty"; salesGirl.coffeeicon._visible = false; \n\x03 = 12; orderTaken = 0; salesGirl.gotoAndStop(2); if (salesGirl.chocolateCount == 0) { girlwalkframe = 9; } else if (salesGirl.chocolateCount == 1) { girlwalkframe = 10; } else if (salesGirl.chocolateCount == 2) { girlwalkframe = 11; } salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.jumpLady.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.jumpLady.chocobox2.gotoAndStop(preferred_chocolate2); owner.machineStatus = "notready"; owner.special_machineStatus = "notready"; owner.dusbinStatus = "notready"; owner.coffeeStatus = "notready"; owner.isPopup = true; this["?\x02"] = setInterval(\"\x02, 1100, this); } } else if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { if (orderbook4.book_mc._currentframe == 74) { orderbook4.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "choco_machines2") { choco_machines2.pointer._visible = false; if (choco_machines2.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machine2Status = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines2.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box2_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box2_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip2._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines2.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { trace("Ready"); if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if ((((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) || (selectedTarget == "table4")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "phone") { isphonecalled = true; _root.phonering_Sound.stop(); clearInterval(phoneInterval); combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; ringstat = "off"; phone_mc.ring.gotoAndStop(1); eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable)._visible = true; eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(2); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (!isGameOver) { if (table4._visible) { trace("table4visile"); var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { trace("table4visile"); var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; trace((("before cus cont=" + customerCount) + ", ") + moneyCount); moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; if (owner.selectedTarget != "table4") { eval ("this.customer" + selectedTable)._visible = false; } CheckForMoneyCombo(); if (orderTaken >= 6) { salesGirl.coffeeicon._visible = true; \n\x03 = 6; } if (selectedTable != 4) { lobbyArr.push(selectedTable); } else if (table1._visible == false) { lobbyArr.push(1); } if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } else { callResult(); } } else if (isGameOver) { if ((((table1._visible == false) && (table2._visible == false)) && (table3._visible == false)) && (table4._visible == false)) { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; if (lobbyArr.length >= 1) { if (lobbyArr.length == 1) { if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 2) { '\x02 = "onn"; if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); if (_local2.lobbyArr[0] == 1) { _local3 = 1; } else if (_local2.lobbyArr[1] == 1) { _local3 = 0; } clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval3); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } } function >(owner) { clearInterval(owner.deliveryinterval); owner.orderbook4.type = "money"; owner.coin_Anim4._visible = true; owner.coin_Anim4.gotoAndStop(1); owner.coin_Anim4.coin.gotoAndPlay(1); owner.orderbook4.gotoAndStop(3); if ((owner.orderbook4.heatcnt > 60) && (owner.orderbook4.heatcnt <= 100)) { owner.orderbook4.money_mc.gotoAndStop(2); owner.orderbook4.highlight._visible = false; } else if (owner.orderbook4.heatcnt > 100) { owner.orderbook4.money_mc.gotoAndStop(3); owner.orderbook4.highlight._visible = false; owner.orderbook4.highlight_small._visible = false; } if (!owner.isGameOver) { if (owner.table4._visible) { trace("table4visile"); var i = 0; while (i < owner.lobbyArr.length) { if (owner.lobbyArr[i] == 1) { owner.lobbyArr.splice(i, 1); } i++; } } owner.CallNextCustomerSet(); } } function "(_arg1) { clearInterval(_arg1["?\x02"]); _arg1.machineStatus = "ready"; _arg1.special_machineStatus = "ready"; _arg1.dusbinStatus = "ready"; _arg1.coffeeStatus = "ready"; _arg1.isPopup = false; _arg1.sequenceArr.splice(0, 1); if (_arg1.sequenceArr.length >= 1) { _arg1.\f(); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } if (orderbook4.book_mc._currentframe >= 74) { if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } else { orderbook4.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); clearInterval(this["?\x02"]); clearInterval(phoneInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 280; _global.expertScore = 480; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 280) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 8) { _global.levelSelected = 8; } if (_global.levelFinished <= 7) { _global.levelFinished = 7; } if (score >= 480) { _global.level7Status = "expert"; } else { _global.level7Status = "target"; } _global.level7Score = score; reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function IdleProcess2(_arg3) { if (!_arg3.isPaused) { _arg3["(\x02"]++; if (_arg3["(\x02"] >= 20) { clearInterval(_arg3["&\x03"]); _arg3.machine2Status = "ready"; _arg3["["] = "off"; if (_arg3.choco_machines2.status == "prepared") { _arg3.choco_machines2.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { trace("special done"); clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function CoffeeIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.coffee_preparecnt++; if (_arg3.coffee_preparecnt >= 20) { clearInterval(_arg3.coffee_process_interval); _arg3.coffeeStatus = "ready"; _arg3.coffeemachineshake = "off"; _arg3.coffee_machine.status = "coffeeReady"; if (_global.soundstat == "onn") { _root.hotchoco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == choco_machines2) { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == coffee_machine) { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); sequenceArr[0].pointer._visible = true; } } else if ((((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) || (sequenceArr[0] == table4)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local3 = this; stopAllSounds(); _local3.bg.blink.gotoAndStop(_local3.bg.blink._currentframe); _local3.customer1.customer.gotoAndStop(_local3.customer1.customer._currentframe); _local3.customer2.customer.gotoAndStop(_local3.customer2.customer._currentframe); _local3.customer3.customer.gotoAndStop(_local3.customer3.customer._currentframe); _local3.special_choco_machines.machine1.blink.gotoAndStop(_local3.special_choco_machines.machine1.blink._currentframe); _local3.choco_machines.single_machine.blink.gotoAndStop(_local3.choco_machines.single_machine.blink._currentframe); _local3.salesGirl.coffeeicon.smoke.gotoAndStop(_local3.salesGirl.coffeeicon.smoke._currentframe); _local3.customer4.customer.gotoAndStop(_local3.customer4.customer._currentframe); _local3.coin_Anim1.coin.gotoAndStop(_local3.coin_Anim1.coin._currentframe); _local3.coin_Anim2.coin.gotoAndStop(_local3.coin_Anim2.coin._currentframe); _local3.coin_Anim3.coin.gotoAndStop(_local3.coin_Anim3.coin._currentframe); _local3.coin_Anim4.coin.gotoAndStop(_local3.coin_Anim4.coin._currentframe); _local3.comboClip.combo.gotoAndStop(_local3.comboClip.combo._currentframe); _local3.orderbook1.heartinClip.gotoAndStop(_local3.orderbook1.heartinClip._currentframe); _local3.orderbook2.heartinClip.gotoAndStop(_local3.orderbook2.heartinClip._currentframe); _local3.orderbook3.heartinClip.gotoAndStop(_local3.orderbook3.heartinClip._currentframe); _local3.orderbook4.heartinClip.gotoAndStop(_local3.orderbook4.heartinClip._currentframe); _local3.curScoreClip.gotoAndStop(_local3.curScoreClip._currentframe); _local3.coin_Anim1.coin.coin_rotate.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate._currentframe); _local3.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate2._currentframe); _local3.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate3._currentframe); _local3.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate4._currentframe); _local3.coin_Anim2.coin.coin_rotate.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate._currentframe); _local3.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate2._currentframe); _local3.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate3._currentframe); _local3.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate4._currentframe); _local3.coin_Anim3.coin.coin_rotate.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate._currentframe); _local3.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate2._currentframe); _local3.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate3._currentframe); _local3.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate4._currentframe); _local3.coin_Anim4.coin.coin_rotate.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate._currentframe); _local3.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate2._currentframe); _local3.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate3._currentframe); _local3.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate4._currentframe); _local3.comboClip.combo.coin_rotate.gotoAndStop(_local3.comboClip.combo.coin_rotate._currentframe); if (_local3.scoreIndicateClip._visible) { _local3.scoreIndicateClip.gotoAndStop(_local3.scoreIndicateClip._currentframe); } if (_local3.expertScoreClip._visible) { _local3.expertScoreClip.gotoAndStop(_local3.expertScoreClip._currentframe); } _global.ringvisible = phone_mc.ring._visible; phone_mc.ring._visible = false; _local3.chocolateClip.mc.gotoAndStop(_local3.chocolateClip.mc._currentframe); _local3.specialChocolateClip.mc.gotoAndStop(_local3.specialChocolateClip.mc._currentframe); _local3.chocolateClip2.mc.gotoAndStop(_local3.chocolateClip2.mc._currentframe); _local3.coffeeClip.gotoAndStop(_local3.coffeeClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } phone_mc.ring._visible = _global.ringvisible; _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); _local4.chocolateClip2.mc.gotoAndPlay(_local4.chocolateClip2.mc._currentframe - 1); _local4.coffeeClip.gotoAndPlay(_local4.coffeeClip._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); table4.onRollOut(); phone_mc.onRollOut(); choco_machines.onRollOut(); choco_machines2.onRollOut(); dusbin.onRollOut(); coffee_machine.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); clearInterval(&\x03); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); \n\x03 = 12; Key.removeListener(keylistener); clearInterval(this["?\x02"]); clearInterval(phoneInterval); Key.removeListener(^); keyTarget = undefined; phoneringcnt = 0; isphonecalled = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var machine2Status = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var coffeeStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var 4 = -1; var isPaused = false; var coffee_process_interval = -1; var ringstat = "off"; var phone_status = "notready"; var  = 1; var machineshake = "off"; var  = "off"; var coffeemachineshake = "off"; var [ = "off"; var " = 1; var coffeemachinespeed = 1; var 9 = 1; var  = 12; var sequenceArr = new Array(); var customerEnterInterval3 = -1; var deliveryinterval = -1; var ? = -1; var tips = 0; var phoneInterval = -1; var & = -1; var Re_customerEnterInterval = -1; var phoneringcnt = 0; var # = new Array("younglady", "oldlady", "younglady"); var isphonecalled = false; var preparecnt = 0; var ( = 0; var  = 0; var coffee_preparecnt = 0; }
Symbol 1706 MovieClip [__Packages.Level8] Frame 0
class Level8 extends MovieClip { var dummy_highlight, deliveryboy, salesGirl, _parent, choco_machines, choco_machines2, special_choco_machines, coffee_machine, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, chocolateClip2, popup_mc, selectClip, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table4, table3, table2, table1, coin_Anim4, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, phone_mc, btn_pause, -, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer4, orderbook4, attachMovie, getNextHighestDepth, customer1, orderbook1, customer2, orderbook2, customer3, orderbook3, selectedTable, ', moveTarget; function Level8 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); dummy_highlight._visible = false; deliveryboy._visible = false; salesGirl.coffeeicon._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; choco_machines2.status = "empty"; special_choco_machines.status = "empty"; coffee_machine.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; chocolateClip2._visible = false; popup_mc._visible = false; selectClip._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table3._visible = (table4._visible = false); table2._visible = false; table1._visible = false; coin_Anim3._visible = (coin_Anim4._visible = false); coin_Anim2._visible = false; coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; table4.point = 4; choco_machines._visible = true; choco_machines.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); coffee_machine._visible = true; coffee_machine.gotoAndStop(2); choco_machines2._visible = true; choco_machines2.gotoAndStop(2); phone_mc._visible = true; phone_mc.gotoAndStop(2); phone_mc.ring.gotoAndStop(1); owner.combo_bookcnt = 0; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var ,\x03 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 1500, owner, owner.lobbyArr[,\x03], "oldlady"); owner.lobbyArr.splice(,\x03, 1); var ,\x03 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 2500, owner, owner.lobbyArr[,\x03], "younglady"); owner.lobbyArr.splice(,\x03, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 660, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 3500, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; - = new Object(); Key.addListener(-); -.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; -.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; phone_mc.onRollOver = function () { if (((!owner.isPaused) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(2); } else { this.gotoAndStop(3); } owner.moveTarget = "phone_mc"; } }; phone_mc.onRollOut = (phone_mc.onReleaseOutside = function () { this.gotoAndStop(2); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(1); } }); table1.onRollOver = (table2.onRollOver = (table3.onRollOver = (table4.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } }))); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = (table4.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } }))); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.gotoAndStop(3); owner.dummy_highlight._visible = true; } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.gotoAndStop(2); owner.dummy_highlight._visible = false; }); choco_machines2.onRollOver = function () { if (((owner.machine2Status == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines2"; owner.moveTarget = "choco_machines2"; this.gotoAndStop(3); } }; choco_machines2.onRollOut = (choco_machines2.onReleaseOutside = function () { this.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); coffee_machine.onRollOver = function () { if (((owner.coffeeStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "coffee_machine"; owner.moveTarget = "coffee_machine"; this.gotoAndStop(3); } }; coffee_machine.onRollOut = (coffee_machine.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "special_choco_machines"; owner.moveTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); coffee_machine.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.coffee_machine); } }; coffee_machine.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); this.pointer._visible = true; } }; choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; choco_machines2.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines2); } }; choco_machines2.onPress = function () { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = (table4.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } }))); table1.onPress = (table2.onPress = (table3.onPress = (table4.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; if (owner.selectedTarget == "table1") { owner.<\x03(this); owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.<\x03(this); owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.<\x03(this); owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } }))); phone_mc.onRelease = function () { if ((((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) && (owner.table4._visible == true)) { owner.sequenceArr.push(owner.phone_mc); } }; phone_mc.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "table4"; owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } }; } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } else if (table4._visible) { table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); coffee_machine.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines2.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { coffee_machine.onRollOver(); } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); choco_machines2.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); special_choco_machines.onRollOver(); } else if ((((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) || (keyTarget == "table4")) { eval ("this." + keyTarget).onRollOut(); phone_mc.onRollOut(); coffee_machine.onRollOver(); } } function () { if (keyTarget == "table4") { if (table1._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOver(); } else if (table2._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table3.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table2.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table1") { if (table4._visible) { table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 350) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 670) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((2 * \x18) / 2); choco_machines._y = choco_machines._y + ((2 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } if (coffeemachineshake == "onn") { coffeemachinespeed = -coffeemachinespeed; coffee_machine._x = coffee_machine._x + ((1 * coffeemachinespeed) / 2); coffee_machine._y = coffee_machine._y + ((1 * coffeemachinespeed) / 2); } if ([ == "onn") { this["9"] = -this["9"]; choco_machines2._x = choco_machines2._x + ((2 * this["9"]) / 2); choco_machines2._y = choco_machines2._y + ((2 * this["9"]) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { if (owner.selectedTarget == "choco_machines") { owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.machineshake = "onn"; owner.machineStatus = "ready"; owner.keyTarget = "choco_machines"; owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); } else if (owner.selectedTarget == "choco_machines2") { owner.chocolateClip2._visible = true; owner.chocolateClip2.gotoAndStop(this._name); owner.chocolateClip2.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box2_chocolate = this._name; if (owner.choco_machines2.status == "empty") { owner.choco_machines2.status = "prepared"; } owner["["] = "onn"; owner.machine2Status = "ready"; owner.keyTarget = "choco_machines2"; owner["(\x02"] = 0; owner["&\x03"] = setInterval(owner.IdleProcess2, 100, owner); } owner.chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; if (owner.selectedTarget == "choco_machines") { owner.keyTarget = "choco_machines"; } else { owner.keyTarget = "choco_machines2"; } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "oldlady"); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 1000, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * \n\x03); salesGirl._y = salesGirl._y + (Math.sin(\x12) * \n\x03); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg2) { clearInterval(_arg2.gamestartInterval); _arg2.isPopup = true; _global.popupText = "Select the PHONE to answer a call. Take the order of the client and prepare it. A delivery boy will pick it up later."; _arg2.ShowPopup(_arg2); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg2) { if (!_arg2.isGameOver) { trace((("new cus len=" + _arg2.lobbyArr.length) + ", ") + _arg2.lobbyArr); if (_arg2.table4._visible) { var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == 1) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } if ((_arg2.customerCount != 0) && (_arg2.moneyCount != 0)) { trace("call new cus"); _arg2.CallNextCustomerSet(); } } else { clearInterval(_arg2.Re_customerEnterInterval); } } function CallCustomer(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function CallCustomer2(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval2); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval3); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { trace((("interval next customer=" + _arg3) + ", ") + _arg2); _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg5, _arg4) { if (!isGameOver) { if (_arg4 == "phoneorder") { isphonecalled = true; ringstat = "onn"; phone_mc._visible = true; table4._visible = true; customer4 = phone_mc; phone_mc.ring._visible = true; phone_mc.ring.gotoAndPlay(2); orderbook4 = attachMovie("orderbook", "orderbook4", getNextHighestDepth(), {_x:170, _y:400}); orderbook4._visible = false; orderbook4.type = "phone"; customer4.type = _arg4; orderbook4.heatcnt = 0; orderbook4.heatInterval = setInterval(), 500, orderbook4, this, 4); phoneringcnt = 0; phoneInterval = setInterval(\x1C, 1000, this); if (_global.soundstat == "onn") { _root.phonering_Sound.start(); } } else if (_arg5 == 1) { table1._visible = true; customer1 = attachMovie(_arg4, "customer1", ([_arg5 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg4; orderbook1.heatcnt = 0; if (_arg4 == "oldlady") { orderbook1.heatInterval = setInterval(), 500, orderbook1, this, 1); } else if (_arg4 == "younglady") { orderbook1.heatInterval = setInterval(), 250, orderbook1, this, 1); } } else if (_arg5 == 2) { table2._visible = true; customer2 = attachMovie(_arg4, "customer2", ([_arg5 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg4; orderbook2.heatcnt = 0; if (_arg4 == "oldlady") { orderbook2.heatInterval = setInterval(), 500, orderbook2, this, 2); } else if (_arg4 == "younglady") { orderbook2.heatInterval = setInterval(), 250, orderbook2, this, 2); } } else if (_arg5 == 3) { table3._visible = true; customer3 = attachMovie(_arg4, "customer3", ([_arg5 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg4; orderbook3.heatcnt = 0; if (_arg4 == "oldlady") { orderbook3.heatInterval = setInterval(), 500, orderbook3, this, 3); } else if (_arg4 == "younglady") { orderbook3.heatInterval = setInterval(), 250, orderbook3, this, 3); } } customerCount++; moneyCount++; orderTaken++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } } function (owner) { if (!owner.isPaused) { owner.phoneringcnt++; if (owner.phoneringcnt >= 20) { clearInterval(owner.phoneInterval); clearInterval(owner.orderbook4.heatInterval); owner.moneyCount--; owner.customerCount--; owner.orderbook4._visible = false; owner.table4._visible = false; owner.orderbook4.type = "empty"; owner.ringstat = "off"; owner.phone_mc.ring.gotoAndStop(1); _root.phonering_Sound.stop(); if ((owner.customerCount == 0) && (owner.moneyCount == 0)) { if (!owner.isGameOver) { owner.CallNextCustomerSet(); } else { owner.callResult(); } } } } } function () { var owner = this; if (selectedTarget == "coffee_machine") { coffee_machine.pointer._visible = false; if (coffee_machine.status == "empty") { coffee_machine.status = "prepared"; coffeeClip._visible = true; coffeeClip.gotoAndPlay(2); owner.isTargetReached = true; owner.coffee_preparecnt = 0; owner.coffee_process_interval = setInterval(owner.CoffeeIdleProcess, 100, owner); owner.isPopup = false; owner.coffeemachineshake = "onn"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (coffee_machine.status == "coffeeReady") { coffeeClip._visible = false; coffee_machine.status = "empty"; salesGirl.coffeeicon._visible = false; \n\x03 = 12; orderTaken = 0; salesGirl.gotoAndStop(2); if (salesGirl.chocolateCount == 0) { girlwalkframe = 9; } else if (salesGirl.chocolateCount == 1) { girlwalkframe = 10; } else if (salesGirl.chocolateCount == 2) { girlwalkframe = 11; } salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.jumpLady.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.jumpLady.chocobox2.gotoAndStop(preferred_chocolate2); owner.machineStatus = "notready"; owner.special_machineStatus = "notready"; owner.dusbinStatus = "notready"; owner.coffeeStatus = "notready"; owner.isPopup = true; this["?\x02"] = setInterval(\"\x02, 1100, this); } } else if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { if (orderbook4.book_mc._currentframe == 74) { orderbook4.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "choco_machines2") { choco_machines2.pointer._visible = false; if (choco_machines2.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machine2Status = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines2.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box2_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box2_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip2._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines2.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if ((((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) || (selectedTarget == "table4")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "phone") { isphonecalled = true; _root.phonering_Sound.stop(); clearInterval(phoneInterval); combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; ringstat = "off"; phone_mc.ring.gotoAndStop(1); eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable)._visible = true; eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(2); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; if (owner.selectedTarget != "table4") { eval ("this.customer" + selectedTable)._visible = false; } if (orderTaken >= 6) { salesGirl.coffeeicon._visible = true; \n\x03 = 6; } if (selectedTable != 4) { lobbyArr.push(selectedTable); } else if (table1._visible == false) { lobbyArr.push(1); } CheckForMoneyCombo(); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } else { callResult(); } } else if (isGameOver) { if ((((table1._visible == false) && (table2._visible == false)) && (table3._visible == false)) && (table4._visible == false)) { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; if (lobbyArr.length >= 1) { if (lobbyArr.length == 1) { if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 2) { '\x02 = "onn"; if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); if (_local2.lobbyArr[0] == 1) { _local3 = 1; } else if (_local2.lobbyArr[1] == 1) { _local3 = 0; } clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval3); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } } function >(owner) { clearInterval(owner.deliveryinterval); owner.orderbook4.type = "money"; owner.coin_Anim4._visible = true; owner.coin_Anim4.gotoAndStop(1); owner.coin_Anim4.coin.gotoAndPlay(1); owner.orderbook4.gotoAndStop(3); if ((owner.orderbook4.heatcnt > 60) && (owner.orderbook4.heatcnt <= 100)) { owner.orderbook4.money_mc.gotoAndStop(2); owner.orderbook4.highlight._visible = false; } else if (owner.orderbook4.heatcnt > 100) { owner.orderbook4.money_mc.gotoAndStop(3); owner.orderbook4.highlight._visible = false; owner.orderbook4.highlight_small._visible = false; } if (!owner.isGameOver) { if (owner.table4._visible) { trace("table4visile"); var i = 0; while (i < owner.lobbyArr.length) { if (owner.lobbyArr[i] == 1) { owner.lobbyArr.splice(i, 1); } i++; } } owner.CallNextCustomerSet(); } } function "(_arg1) { clearInterval(_arg1["?\x02"]); _arg1.machineStatus = "ready"; _arg1.special_machineStatus = "ready"; _arg1.dusbinStatus = "ready"; _arg1.coffeeStatus = "ready"; _arg1.isPopup = false; _arg1.sequenceArr.splice(0, 1); if (_arg1.sequenceArr.length >= 1) { _arg1.\f(); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } if (orderbook4.book_mc._currentframe >= 74) { if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } else { orderbook4.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); clearInterval(this["?\x02"]); clearInterval(phoneInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 350; _global.expertScore = 670; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 350) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 9) { _global.levelSelected = 9; } if (_global.levelFinished <= 8) { _global.levelFinished = 8; } if (score >= 670) { _global.level8Status = "expert"; } else { _global.level8Status = "target"; } _global.level8Score = score; if (((score >= 350) && (scoreClip.target._currentframe == 1)) || ((score >= 670) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function IdleProcess2(_arg3) { if (!_arg3.isPaused) { _arg3["(\x02"]++; if (_arg3["(\x02"] >= 20) { clearInterval(_arg3["&\x03"]); _arg3.machine2Status = "ready"; _arg3["["] = "off"; if (_arg3.choco_machines2.status == "prepared") { _arg3.choco_machines2.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function CoffeeIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.coffee_preparecnt++; if (_arg3.coffee_preparecnt >= 20) { clearInterval(_arg3.coffee_process_interval); _arg3.coffeeStatus = "ready"; _arg3.coffeemachineshake = "off"; _arg3.coffee_machine.status = "coffeeReady"; if (_global.soundstat == "onn") { _root.hotchoco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == choco_machines2) { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == coffee_machine) { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); sequenceArr[0].pointer._visible = true; } } else if ((((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) || (sequenceArr[0] == table4)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local3 = this; stopAllSounds(); _local3.bg.blink.gotoAndStop(_local3.bg.blink._currentframe); _local3.customer1.customer.gotoAndStop(_local3.customer1.customer._currentframe); _local3.customer2.customer.gotoAndStop(_local3.customer2.customer._currentframe); _local3.customer3.customer.gotoAndStop(_local3.customer3.customer._currentframe); _local3.special_choco_machines.machine1.blink.gotoAndStop(_local3.special_choco_machines.machine1.blink._currentframe); _local3.choco_machines.single_machine.blink.gotoAndStop(_local3.choco_machines.single_machine.blink._currentframe); _local3.salesGirl.coffeeicon.smoke.gotoAndStop(_local3.salesGirl.coffeeicon.smoke._currentframe); _local3.customer4.customer.gotoAndStop(_local3.customer4.customer._currentframe); _local3.coin_Anim1.coin.gotoAndStop(_local3.coin_Anim1.coin._currentframe); _local3.coin_Anim2.coin.gotoAndStop(_local3.coin_Anim2.coin._currentframe); _local3.coin_Anim3.coin.gotoAndStop(_local3.coin_Anim3.coin._currentframe); _local3.coin_Anim4.coin.gotoAndStop(_local3.coin_Anim4.coin._currentframe); _local3.comboClip.combo.gotoAndStop(_local3.comboClip.combo._currentframe); _local3.orderbook1.heartinClip.gotoAndStop(_local3.orderbook1.heartinClip._currentframe); _local3.orderbook2.heartinClip.gotoAndStop(_local3.orderbook2.heartinClip._currentframe); _local3.orderbook3.heartinClip.gotoAndStop(_local3.orderbook3.heartinClip._currentframe); _local3.orderbook4.heartinClip.gotoAndStop(_local3.orderbook4.heartinClip._currentframe); _local3.curScoreClip.gotoAndStop(_local3.curScoreClip._currentframe); _local3.coin_Anim1.coin.coin_rotate.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate._currentframe); _local3.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate2._currentframe); _local3.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate3._currentframe); _local3.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate4._currentframe); _local3.coin_Anim2.coin.coin_rotate.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate._currentframe); _local3.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate2._currentframe); _local3.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate3._currentframe); _local3.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate4._currentframe); _local3.coin_Anim3.coin.coin_rotate.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate._currentframe); _local3.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate2._currentframe); _local3.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate3._currentframe); _local3.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate4._currentframe); _local3.coin_Anim4.coin.coin_rotate.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate._currentframe); _local3.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate2._currentframe); _local3.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate3._currentframe); _local3.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate4._currentframe); _local3.comboClip.combo.coin_rotate.gotoAndStop(_local3.comboClip.combo.coin_rotate._currentframe); if (_local3.scoreIndicateClip._visible) { _local3.scoreIndicateClip.gotoAndStop(_local3.scoreIndicateClip._currentframe); } if (_local3.expertScoreClip._visible) { _local3.expertScoreClip.gotoAndStop(_local3.expertScoreClip._currentframe); } _global.ringvisible = phone_mc.ring._visible; phone_mc.ring._visible = false; _local3.chocolateClip.mc.gotoAndStop(_local3.chocolateClip.mc._currentframe); _local3.specialChocolateClip.mc.gotoAndStop(_local3.specialChocolateClip.mc._currentframe); _local3.chocolateClip2.mc.gotoAndStop(_local3.chocolateClip2.mc._currentframe); _local3.coffeeClip.gotoAndStop(_local3.coffeeClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } phone_mc.ring._visible = _global.ringvisible; _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); _local4.chocolateClip2.mc.gotoAndPlay(_local4.chocolateClip2.mc._currentframe - 1); _local4.coffeeClip.gotoAndPlay(_local4.coffeeClip._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); table4.onRollOut(); phone_mc.onRollOut(); choco_machines.onRollOut(); choco_machines2.onRollOut(); dusbin.onRollOut(); coffee_machine.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); \n\x03 = 12; clearInterval(this["?\x02"]); clearInterval(phoneInterval); Key.removeListener(-); keyTarget = undefined; phoneringcnt = 0; isphonecalled = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var machine2Status = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var coffeeStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var 4 = -1; var isPaused = false; var coffee_process_interval = -1; var ringstat = "off"; var phone_status = "notready"; var  = 1; var machineshake = "off"; var  = "off"; var coffeemachineshake = "off"; var [ = "off"; var " = 1; var coffeemachinespeed = 1; var 9 = 1; var  = 12; var sequenceArr = new Array(); var  = -1; var customerEnterInterval3 = -1; var deliveryinterval = -1; var ? = -1; var tips = 0; var phoneInterval = -1; var & = -1; var Re_customerEnterInterval = -1; var phoneringcnt = 0; var # = new Array("younglady", "oldlady", "younglady"); var isphonecalled = false; var preparecnt = 0; var ( = 0; var  = 0; var coffee_preparecnt = 0; }
Symbol 1707 MovieClip [__Packages.Level9] Frame 0
class Level9 extends MovieClip { var dummy_highlight, deliveryboy, salesGirl, _parent, choco_machines, choco_machines2, special_choco_machines, coffee_machine, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, chocolateClip2, popup_mc, selectClip, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table4, table3, table2, table1, coin_Anim4, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, phone_mc, btn_pause, &, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer4, orderbook4, attachMovie, getNextHighestDepth, customer1, orderbook1, customer2, orderbook2, customer3, orderbook3, selectedTable, ', moveTarget; function Level9 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); dummy_highlight._visible = false; deliveryboy._visible = false; salesGirl.coffeeicon._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; choco_machines2.status = "empty"; special_choco_machines.status = "empty"; coffee_machine.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; chocolateClip2._visible = false; popup_mc._visible = false; selectClip._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table3._visible = (table4._visible = false); table2._visible = false; table1._visible = false; coin_Anim3._visible = (coin_Anim4._visible = false); coin_Anim2._visible = false; coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; table4.point = 4; choco_machines._visible = true; choco_machines.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); coffee_machine._visible = true; coffee_machine.gotoAndStop(2); choco_machines2._visible = true; choco_machines2.gotoAndStop(2); phone_mc._visible = true; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var ,\x03 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 1500, owner, owner.lobbyArr[,\x03], "oldlady"); owner.lobbyArr.splice(,\x03, 1); var ,\x03 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 2500, owner, owner.lobbyArr[,\x03], "younglady"); owner.lobbyArr.splice(,\x03, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 660, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 3500, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; &\x02 = new Object(); Key.addListener(&\x02); &\x02.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; &\x02.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; phone_mc.onRollOver = function () { if (((!owner.isPaused) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(2); } else { this.gotoAndStop(3); } owner.moveTarget = "phone_mc"; } }; phone_mc.onRollOut = (phone_mc.onReleaseOutside = function () { this.gotoAndStop(2); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(1); } }); table1.onRollOver = (table2.onRollOver = (table3.onRollOver = (table4.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } }))); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = (table4.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } }))); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.gotoAndStop(3); owner.dummy_highlight._visible = true; } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.gotoAndStop(2); owner.dummy_highlight._visible = false; }); choco_machines2.onRollOver = function () { if (((owner.machine2Status == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines2"; owner.moveTarget = "choco_machines2"; this.gotoAndStop(3); } }; choco_machines2.onRollOut = (choco_machines2.onReleaseOutside = function () { this.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); coffee_machine.onRollOver = function () { if (((owner.coffeeStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "coffee_machine"; owner.moveTarget = "coffee_machine"; this.gotoAndStop(3); } }; coffee_machine.onRollOut = (coffee_machine.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "special_choco_machines"; owner.moveTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); coffee_machine.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.coffee_machine); } }; coffee_machine.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); this.pointer._visible = true; } }; choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; choco_machines2.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines2); } }; choco_machines2.onPress = function () { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = (table4.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } }))); table1.onPress = (table2.onPress = (table3.onPress = (table4.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; if (owner.selectedTarget == "table1") { owner.<\x03(this); owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.<\x03(this); owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.<\x03(this); owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } }))); phone_mc.onRelease = function () { if ((((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) && (owner.table4._visible == true)) { owner.sequenceArr.push(owner.phone_mc); } }; phone_mc.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "table4"; owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } }; } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } else if (table4._visible) { table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); coffee_machine.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines2.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { coffee_machine.onRollOver(); } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); choco_machines2.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); special_choco_machines.onRollOver(); } else if ((((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) || (keyTarget == "table4")) { eval ("this." + keyTarget).onRollOut(); phone_mc.onRollOut(); coffee_machine.onRollOver(); } } function () { if (keyTarget == "table4") { if (table1._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOver(); } else if (table2._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table3.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table2.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table1") { if (table4._visible) { table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 400) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 880) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((2 * \x18) / 2); choco_machines._y = choco_machines._y + ((2 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } if (coffeemachineshake == "onn") { coffeemachinespeed = -coffeemachinespeed; coffee_machine._x = coffee_machine._x + ((1 * coffeemachinespeed) / 2); coffee_machine._y = coffee_machine._y + ((1 * coffeemachinespeed) / 2); } if ([ == "onn") { this["9"] = -this["9"]; choco_machines2._x = choco_machines2._x + ((2 * this["9"]) / 2); choco_machines2._y = choco_machines2._y + ((2 * this["9"]) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { if (owner.selectedTarget == "choco_machines") { owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.machineshake = "onn"; owner.machineStatus = "ready"; owner.keyTarget = "choco_machines"; owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); } else if (owner.selectedTarget == "choco_machines2") { owner.chocolateClip2._visible = true; owner.chocolateClip2.gotoAndStop(this._name); owner.chocolateClip2.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box2_chocolate = this._name; if (owner.choco_machines2.status == "empty") { owner.choco_machines2.status = "prepared"; } owner["["] = "onn"; owner.machine2Status = "ready"; owner.keyTarget = "choco_machines2"; owner["(\x02"] = 0; owner["&\x03"] = setInterval(owner.IdleProcess2, 100, owner); } owner.chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; if (owner.selectedTarget == "choco_machines") { owner.keyTarget = "choco_machines"; } else { owner.keyTarget = "choco_machines2"; } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "oldlady"); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 658, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * \n\x03); salesGirl._y = salesGirl._y + (Math.sin(\x12) * \n\x03); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg2) { clearInterval(_arg2.gamestartInterval); _arg2.isPopup = true; _global.popupText = "Select the PHONE to answer a call. Take the order of the client and prepare it. A delivery boy will pick it up later."; _arg2.ShowPopup(_arg2); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg2) { if (!_arg2.isGameOver) { if (_arg2.table4._visible) { var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == 1) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } if ((_arg2.customerCount != 0) && (_arg2.moneyCount != 0)) { _arg2.CallNextCustomerSet(); } } else { clearInterval(_arg2.Re_customerEnterInterval); } } function CallCustomer(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function CallCustomer2(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval2); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval3); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg5, _arg4) { if (!isGameOver) { if (_arg4 == "phoneorder") { isphonecalled = true; ringstat = "onn"; phone_mc._visible = true; table4._visible = true; customer4 = phone_mc; phone_mc.ring._visible = true; phone_mc.ring.gotoAndPlay(2); orderbook4 = attachMovie("orderbook", "orderbook4", getNextHighestDepth(), {_x:170, _y:400}); orderbook4._visible = false; orderbook4.type = "phone"; customer4.type = _arg4; orderbook4.heatcnt = 0; orderbook4.heatInterval = setInterval(), 500, orderbook4, this, 4); phoneringcnt = 0; phoneInterval = setInterval(\x1C, 1000, this); if (_global.soundstat == "onn") { _root.phonering_Sound.start(); } } else if (_arg5 == 1) { table1._visible = true; customer1 = attachMovie(_arg4, "customer1", ([_arg5 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg4; orderbook1.heatcnt = 0; if (_arg4 == "oldlady") { orderbook1.heatInterval = setInterval(), 400, orderbook1, this, 1); } else if (_arg4 == "younglady") { orderbook1.heatInterval = setInterval(), 200, orderbook1, this, 1); } } else if (_arg5 == 2) { table2._visible = true; customer2 = attachMovie(_arg4, "customer2", ([_arg5 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg4; orderbook2.heatcnt = 0; if (_arg4 == "oldlady") { orderbook2.heatInterval = setInterval(), 400, orderbook2, this, 2); } else if (_arg4 == "younglady") { orderbook2.heatInterval = setInterval(), 200, orderbook2, this, 2); } } else if (_arg5 == 3) { table3._visible = true; customer3 = attachMovie(_arg4, "customer3", ([_arg5 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg4; orderbook3.heatcnt = 0; if (_arg4 == "oldlady") { orderbook3.heatInterval = setInterval(), 400, orderbook3, this, 3); } else if (_arg4 == "younglady") { orderbook3.heatInterval = setInterval(), 200, orderbook3, this, 3); } } customerCount++; moneyCount++; orderTaken++; salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } } function (owner) { if (!owner.isPaused) { owner.phoneringcnt++; if (owner.phoneringcnt >= 20) { clearInterval(owner.phoneInterval); clearInterval(owner.orderbook4.heatInterval); owner.moneyCount--; owner.customerCount--; owner.orderbook4._visible = false; owner.table4._visible = false; owner.orderbook4.type = "empty"; owner.ringstat = "off"; owner.phone_mc.ring.gotoAndStop(1); _root.phonering_Sound.stop(); if ((owner.customerCount == 0) && (owner.moneyCount == 0)) { if (!owner.isGameOver) { owner.CallNextCustomerSet(); } else { owner.callResult(); } } } } } function () { var owner = this; if (selectedTarget == "coffee_machine") { coffee_machine.pointer._visible = false; if (coffee_machine.status == "empty") { coffee_machine.status = "prepared"; coffeeClip._visible = true; coffeeClip.gotoAndPlay(2); owner.isTargetReached = true; owner.coffee_preparecnt = 0; owner.coffee_process_interval = setInterval(owner.CoffeeIdleProcess, 100, owner); owner.isPopup = false; owner.coffeemachineshake = "onn"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (coffee_machine.status == "coffeeReady") { coffeeClip._visible = false; coffee_machine.status = "empty"; salesGirl.coffeeicon._visible = false; \n\x03 = 12; orderTaken = 0; salesGirl.gotoAndStop(2); if (salesGirl.chocolateCount == 0) { girlwalkframe = 9; } else if (salesGirl.chocolateCount == 1) { girlwalkframe = 10; } else if (salesGirl.chocolateCount == 2) { girlwalkframe = 11; } salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.jumpLady.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.jumpLady.chocobox2.gotoAndStop(preferred_chocolate2); owner.machineStatus = "notready"; owner.special_machineStatus = "notready"; owner.dusbinStatus = "notready"; owner.coffeeStatus = "notready"; owner.isPopup = true; this["?\x02"] = setInterval(\"\x02, 1100, this); } } else if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { if (orderbook4.book_mc._currentframe == 74) { orderbook4.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "choco_machines2") { choco_machines2.pointer._visible = false; if (choco_machines2.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machine2Status = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines2.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box2_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box2_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip2._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines2.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if ((((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) || (selectedTarget == "table4")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "phone") { isphonecalled = true; _root.phonering_Sound.stop(); clearInterval(phoneInterval); combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; ringstat = "off"; phone_mc.ring.gotoAndStop(1); eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable)._visible = true; eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(2); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; if (owner.selectedTarget != "table4") { eval ("this.customer" + selectedTable)._visible = false; } CheckForMoneyCombo(); if (orderTaken >= 6) { salesGirl.coffeeicon._visible = true; \n\x03 = 6; } if (selectedTable != 4) { lobbyArr.push(selectedTable); } else if (table1._visible == false) { lobbyArr.push(1); } if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } else { callResult(); } } else if (isGameOver) { if ((((table1._visible == false) && (table2._visible == false)) && (table3._visible == false)) && (table4._visible == false)) { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function CallNextCustomerSet() { var _local2 = this; if (lobbyArr.length >= 1) { if (lobbyArr.length == 1) { if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 2) { '\x02 = "onn"; if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); if (_local2.lobbyArr[0] == 1) { _local3 = 1; } else if (_local2.lobbyArr[1] == 1) { _local3 = 0; } clearInterval(_local2.customerEnterInterval); trace("lobbyphone 2,1=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); trace("lobbyphone 2,2=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); trace("lobby2,1=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); trace("lobby2,2=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); trace("lobby3,1=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); trace("lobby3,2=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval3); trace("lobby3,3=" + _local2.lobbyArr[_local3]); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } trace("after nextcus=" + lobbyArr); } function >(owner) { clearInterval(owner.deliveryinterval); owner.orderbook4.type = "money"; owner.coin_Anim4._visible = true; owner.coin_Anim4.gotoAndStop(1); owner.coin_Anim4.coin.gotoAndPlay(1); owner.orderbook4.gotoAndStop(3); if ((owner.orderbook4.heatcnt > 60) && (owner.orderbook4.heatcnt <= 100)) { owner.orderbook4.money_mc.gotoAndStop(2); owner.orderbook4.highlight._visible = false; } else if (owner.orderbook4.heatcnt > 100) { owner.orderbook4.money_mc.gotoAndStop(3); owner.orderbook4.highlight._visible = false; owner.orderbook4.highlight_small._visible = false; } if (!owner.isGameOver) { if (owner.table4._visible) { var i = 0; while (i < owner.lobbyArr.length) { if (owner.lobbyArr[i] == 1) { owner.lobbyArr.splice(i, 1); } i++; } } owner.CallNextCustomerSet(); } } function "(_arg1) { clearInterval(_arg1["?\x02"]); _arg1.machineStatus = "ready"; _arg1.special_machineStatus = "ready"; _arg1.dusbinStatus = "ready"; _arg1.coffeeStatus = "ready"; _arg1.isPopup = false; _arg1.sequenceArr.splice(0, 1); if (_arg1.sequenceArr.length >= 1) { _arg1.\f(); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } if (orderbook4.book_mc._currentframe >= 74) { if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } else { orderbook4.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); clearInterval(this["?\x02"]); clearInterval(phoneInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 400; _global.expertScore = 880; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 400) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 10) { _global.levelSelected = 10; } if (_global.levelFinished <= 9) { _global.levelFinished = 9; } if (score >= 880) { _global.level9Status = "expert"; } else { _global.level9Status = "target"; } _global.level9Score = score; if (((score >= 400) && (scoreClip.target._currentframe == 1)) || ((score >= 880) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); myparent.moneyCount--; myparent.customerCount--; eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function IdleProcess2(_arg3) { if (!_arg3.isPaused) { _arg3["(\x02"]++; if (_arg3["(\x02"] >= 20) { clearInterval(_arg3["&\x03"]); _arg3.machine2Status = "ready"; _arg3["["] = "off"; if (_arg3.choco_machines2.status == "prepared") { _arg3.choco_machines2.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function CoffeeIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.coffee_preparecnt++; if (_arg3.coffee_preparecnt >= 20) { clearInterval(_arg3.coffee_process_interval); _arg3.coffeeStatus = "ready"; _arg3.coffeemachineshake = "off"; _arg3.coffee_machine.status = "coffeeReady"; if (_global.soundstat == "onn") { _root.hotchoco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == choco_machines2) { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == coffee_machine) { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); sequenceArr[0].pointer._visible = true; } } else if ((((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) || (sequenceArr[0] == table4)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local3 = this; stopAllSounds(); _local3.bg.blink.gotoAndStop(_local3.bg.blink._currentframe); _local3.customer1.customer.gotoAndStop(_local3.customer1.customer._currentframe); _local3.customer2.customer.gotoAndStop(_local3.customer2.customer._currentframe); _local3.customer3.customer.gotoAndStop(_local3.customer3.customer._currentframe); _local3.special_choco_machines.machine1.blink.gotoAndStop(_local3.special_choco_machines.machine1.blink._currentframe); _local3.choco_machines.single_machine.blink.gotoAndStop(_local3.choco_machines.single_machine.blink._currentframe); _local3.salesGirl.coffeeicon.smoke.gotoAndStop(_local3.salesGirl.coffeeicon.smoke._currentframe); _local3.customer4.customer.gotoAndStop(_local3.customer4.customer._currentframe); _local3.coin_Anim1.coin.gotoAndStop(_local3.coin_Anim1.coin._currentframe); _local3.coin_Anim2.coin.gotoAndStop(_local3.coin_Anim2.coin._currentframe); _local3.coin_Anim3.coin.gotoAndStop(_local3.coin_Anim3.coin._currentframe); _local3.coin_Anim4.coin.gotoAndStop(_local3.coin_Anim4.coin._currentframe); _local3.comboClip.combo.gotoAndStop(_local3.comboClip.combo._currentframe); _local3.orderbook1.heartinClip.gotoAndStop(_local3.orderbook1.heartinClip._currentframe); _local3.orderbook2.heartinClip.gotoAndStop(_local3.orderbook2.heartinClip._currentframe); _local3.orderbook3.heartinClip.gotoAndStop(_local3.orderbook3.heartinClip._currentframe); _local3.orderbook4.heartinClip.gotoAndStop(_local3.orderbook4.heartinClip._currentframe); _local3.curScoreClip.gotoAndStop(_local3.curScoreClip._currentframe); _local3.coin_Anim1.coin.coin_rotate.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate._currentframe); _local3.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate2._currentframe); _local3.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate3._currentframe); _local3.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate4._currentframe); _local3.coin_Anim2.coin.coin_rotate.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate._currentframe); _local3.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate2._currentframe); _local3.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate3._currentframe); _local3.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate4._currentframe); _local3.coin_Anim3.coin.coin_rotate.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate._currentframe); _local3.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate2._currentframe); _local3.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate3._currentframe); _local3.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate4._currentframe); _local3.coin_Anim4.coin.coin_rotate.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate._currentframe); _local3.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate2._currentframe); _local3.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate3._currentframe); _local3.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate4._currentframe); _local3.comboClip.combo.coin_rotate.gotoAndStop(_local3.comboClip.combo.coin_rotate._currentframe); if (_local3.scoreIndicateClip._visible) { _local3.scoreIndicateClip.gotoAndStop(_local3.scoreIndicateClip._currentframe); } if (_local3.expertScoreClip._visible) { _local3.expertScoreClip.gotoAndStop(_local3.expertScoreClip._currentframe); } _global.ringvisible = phone_mc.ring._visible; phone_mc.ring._visible = false; _local3.chocolateClip.mc.gotoAndStop(_local3.chocolateClip.mc._currentframe); _local3.specialChocolateClip.mc.gotoAndStop(_local3.specialChocolateClip.mc._currentframe); _local3.chocolateClip2.mc.gotoAndStop(_local3.chocolateClip2.mc._currentframe); _local3.coffeeClip.gotoAndStop(_local3.coffeeClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } phone_mc.ring._visible = _global.ringvisible; _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); _local4.chocolateClip2.mc.gotoAndPlay(_local4.chocolateClip2.mc._currentframe - 1); _local4.coffeeClip.gotoAndPlay(_local4.coffeeClip._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); table4.onRollOut(); phone_mc.onRollOut(); choco_machines.onRollOut(); choco_machines2.onRollOut(); dusbin.onRollOut(); coffee_machine.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); \n\x03 = 12; clearInterval(this["?\x02"]); clearInterval(phoneInterval); Key.removeListener(&\x02); keyTarget = undefined; phoneringcnt = 0; isphonecalled = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var machine2Status = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var coffeeStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var 4 = -1; var isPaused = false; var coffee_process_interval = -1; var ringstat = "off"; var phone_status = "notready"; var  = 1; var machineshake = "off"; var  = "off"; var coffeemachineshake = "off"; var [ = "off"; var " = 1; var coffeemachinespeed = 1; var 9 = 1; var  = 12; var sequenceArr = new Array(); var customerEnterInterval3 = -1; var deliveryinterval = -1; var ? = -1; var tips = 0; var phoneInterval = -1; var & = -1; var Re_customerEnterInterval = -1; var phoneringcnt = 0; var # = new Array("younglady", "oldlady", "younglady"); var isphonecalled = false; var preparecnt = 0; var ( = 0; var  = 0; var coffee_preparecnt = 0; }
Symbol 1708 MovieClip [__Packages.Level10] Frame 0
class Level10 extends MovieClip { var dummy_highlight, deliveryboy, salesGirl, _parent, choco_machines, choco_machines2, special_choco_machines, coffee_machine, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, special_chocolate_container, coffeeClip, chocolateClip, chocolateClip2, popup_mc, selectClip, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, dusbinContainer, curScoreClip, specialChocolateClip, expertScoreClip, table4, table3, table2, table1, coin_Anim4, coin_Anim3, coin_Anim2, coin_Anim1, dusbin, phone_mc, btn_pause, ,, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer4, orderbook4, attachMovie, getNextHighestDepth, customer1, orderbook1, customer2, orderbook2, customer3, orderbook3, selectedTable, ', moveTarget; function Level10 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); dummy_highlight._visible = false; deliveryboy._visible = false; salesGirl.coffeeicon._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; choco_machines.status = "empty"; choco_machines2.status = "empty"; special_choco_machines.status = "empty"; coffee_machine.status = "empty"; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; special_chocolate_container._visible = false; special_chocolate_container.mc.gotoAndStop(1); coffeeClip._visible = false; chocolateClip._visible = false; chocolateClip2._visible = false; popup_mc._visible = false; selectClip._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; dusbinContainer._visible = false; curScoreClip._visible = false; specialChocolateClip._visible = false; expertScoreClip._visible = false; table3._visible = (table4._visible = false); table2._visible = false; table1._visible = false; coin_Anim3._visible = (coin_Anim4._visible = false); coin_Anim2._visible = false; coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; table4.point = 4; choco_machines._visible = true; choco_machines.gotoAndStop(2); dusbin._visible = true; dusbin.gotoAndStop(2); special_choco_machines._visible = true; special_choco_machines.gotoAndStop(1); special_choco_machines.machine1.gotoAndStop(2); coffee_machine._visible = true; coffee_machine.gotoAndStop(2); choco_machines2._visible = true; choco_machines2.gotoAndStop(2); phone_mc._visible = true; owner.combo_ordercnt = 0; owner.combo_moneycnt = 0; owner.btn_pause._visible = true; owner.9\x02(); var ,\x03 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 1500, owner, owner.lobbyArr[,\x03], "oldlady"); owner.lobbyArr.splice(,\x03, 1); var ,\x03 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 2500, owner, owner.lobbyArr[,\x03], "younglady"); owner.lobbyArr.splice(,\x03, 1); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 750, owner); owner.Re_customerEnterInterval = setInterval(owner.CallNewCustomer, 3500, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; , = new Object(); Key.addListener(,); ,.onKeyUp = function () { if (Key.getCode() == 13) { if ((!owner.isPaused) && (!owner.isGameOver)) { owner.\x14\x02(); } } }; ,.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { if (owner.reportMc._currentframe == 1) { owner.reportMc.mc.btn_continue.onRelease(); } else { owner.reportMc.mc.btn_retry.onRelease(); } } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; phone_mc.onRollOver = function () { if (((!owner.isPaused) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(2); } else { this.gotoAndStop(3); } owner.moveTarget = "phone_mc"; } }; phone_mc.onRollOut = (phone_mc.onReleaseOutside = function () { this.gotoAndStop(2); if (owner.ringstat == "off") { this.ring.gotoAndStop(1); eval ("owner.orderbook" + this.point).highlight.gotoAndStop(1); } }); table1.onRollOver = (table2.onRollOver = (table3.onRollOver = (table4.onRollOver = function () { if ((!owner.isPaused) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = this._name; owner.moveTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(2); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(2); } } }))); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = (table4.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); if (eval ("this.orderbook" + this.point).money_mc._currentframe == 2) { eval ("this.orderbook" + this.point).highlight_small.gotoAndStop(1); } else if (eval ("this.orderbook" + this.point).money_mc._currentframe == 3) { eval ("this.orderbook" + this.point).highlight_small_coin.gotoAndStop(1); } }))); choco_machines.onRollOver = function () { if (((owner.machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines"; owner.moveTarget = "choco_machines"; this.gotoAndStop(3); owner.dummy_highlight._visible = true; } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.gotoAndStop(2); owner.dummy_highlight._visible = false; }); choco_machines2.onRollOver = function () { if (((owner.machine2Status == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "choco_machines2"; owner.moveTarget = "choco_machines2"; this.gotoAndStop(3); } }; choco_machines2.onRollOut = (choco_machines2.onReleaseOutside = function () { this.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; owner.moveTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); coffee_machine.onRollOver = function () { if (((owner.coffeeStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "coffee_machine"; owner.moveTarget = "coffee_machine"; this.gotoAndStop(3); } }; coffee_machine.onRollOut = (coffee_machine.onReleaseOutside = function () { this.gotoAndStop(2); }); special_choco_machines.onRollOver = function () { if (((owner.special_machineStatus == "ready") && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.1\x02(); owner.keyTarget = "special_choco_machines"; owner.moveTarget = "special_choco_machines"; this.machine1.gotoAndStop(3); } }; special_choco_machines.onRollOut = (special_choco_machines.onReleaseOutside = function () { this.machine1.gotoAndStop(2); }); coffee_machine.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.coffee_machine); } }; coffee_machine.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); this.pointer._visible = true; } }; choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines); } }; choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; choco_machines2.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.choco_machines2); } }; choco_machines2.onPress = function () { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); this.pointer._visible = true; } }; special_choco_machines.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.special_choco_machines); } }; special_choco_machines.onPress = function () { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); this.pointer._visible = true; } }; dusbin.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(owner.dusbin); } }; dusbin.onPress = function () { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onRelease = (table2.onRelease = (table3.onRelease = (table4.onRelease = function () { if (((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) { owner.sequenceArr.push(this); } }))); table1.onPress = (table2.onPress = (table3.onPress = (table4.onPress = function () { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = this._name; if (owner.selectedTarget == "table1") { owner.<\x03(this); owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.<\x03(this); owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.<\x03(this); owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } }))); phone_mc.onRelease = function () { if ((((!owner.isPaused) && (owner.dusbinStatus == "ready")) && (!owner.isTargetReached)) && (owner.table4._visible == true)) { owner.sequenceArr.push(owner.phone_mc); } }; phone_mc.onPress = function () { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.table4._visible == true)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "table4"; owner.<\x03(owner.phone_indicate); owner.selectedTable = 4; } }; } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOut(); eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOver(); } } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } else if (table4._visible) { table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); coffee_machine.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); choco_machines2.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (special_chocolate_container._visible) { if (special_chocolate_container.mc.type_rabbit._currentframe == 2) { special_chocolate_container.mc.type_rabbit.onRollOut(); special_chocolate_container.mc.type_fish.onRollOver(); } else if (special_chocolate_container.mc.type_fish._currentframe == 2) { special_chocolate_container.mc.type_fish.onRollOut(); special_chocolate_container.mc.type_rabbit.onRollOver(); } } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRollOut(); eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRollOver(); } } else if (keyTarget == undefined) { coffee_machine.onRollOver(); } else if (keyTarget == "coffee_machine") { coffee_machine.onRollOut(); choco_machines.onRollOver(); } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); choco_machines2.onRollOver(); } else if (keyTarget == "choco_machines2") { choco_machines2.onRollOut(); special_choco_machines.onRollOver(); } else if ((((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) || (keyTarget == "table4")) { eval ("this." + keyTarget).onRollOut(); phone_mc.onRollOut(); coffee_machine.onRollOver(); } } function () { if (keyTarget == "table4") { if (table1._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOver(); } else if (table2._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table4.onRollOut(); phone_mc.onRollOut(); table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); special_choco_machines.onRollOver(); } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table3.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } else if (table4._visible) { table2.onRollOut(); table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "table1") { if (table4._visible) { table1.onRollOut(); table4.onRollOver(); phone_mc.onRollOver(); } } else if (keyTarget == "special_choco_machines") { special_choco_machines.onRollOut(); dusbin.onRollOver(); } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else if (special_chocolate_container._visible) { eval ("this.special_chocolate_container.mc." + keyTarget).onRelease(); } else if (dusbinContainer._visible) { if (keyTarget == _global.preferred_chocolate1) { eval ("this.dusbinContainer.mc.chocobox1." + _global.preferred_chocolate1).onRelease(); } else if (keyTarget == _global.preferred_chocolate2) { eval ("this.dusbinContainer.mc.chocobox2." + _global.preferred_chocolate2).onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 500) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); scoreIndicateClip._visible = true; scoreIndicateClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 1180) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); expertScoreClip._visible = true; expertScoreClip.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if (((!isPopup) && (!isTargetReached)) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((2 * \x18) / 2); choco_machines._y = choco_machines._y + ((2 * \x18) / 2); } if (\x0E\x03 == "onn") { \" = -\"; special_choco_machines._x = special_choco_machines._x + ((1 * \") / 2); special_choco_machines._y = special_choco_machines._y + ((1 * \") / 2); } else { special_choco_machines._x = 631; special_choco_machines._y = 101; } if (coffeemachineshake == "onn") { coffeemachinespeed = -coffeemachinespeed; coffee_machine._x = coffee_machine._x + ((1 * coffeemachinespeed) / 2); coffee_machine._y = coffee_machine._y + ((1 * coffeemachinespeed) / 2); } if ([ == "onn") { this["9"] = -this["9"]; choco_machines2._x = choco_machines2._x + ((2 * this["9"]) / 2); choco_machines2._y = choco_machines2._y + ((2 * this["9"]) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); } })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { if (!owner.isPaused) { if (owner.selectedTarget == "choco_machines") { owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box_chocolate = this._name; if (owner.choco_machines.status == "empty") { owner.choco_machines.status = "prepared"; } owner.machineshake = "onn"; owner.machineStatus = "ready"; owner.keyTarget = "choco_machines"; owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); } else if (owner.selectedTarget == "choco_machines2") { owner.chocolateClip2._visible = true; owner.chocolateClip2.gotoAndStop(this._name); owner.chocolateClip2.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_box2_chocolate = this._name; if (owner.choco_machines2.status == "empty") { owner.choco_machines2.status = "prepared"; } owner["["] = "onn"; owner.machine2Status = "ready"; owner.keyTarget = "choco_machines2"; owner["(\x02"] = 0; owner["&\x03"] = setInterval(owner.IdleProcess2, 100, owner); } owner.chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } })); chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; if (owner.selectedTarget == "choco_machines") { owner.keyTarget = "choco_machines"; } else { owner.keyTarget = "choco_machines2"; } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; special_chocolate_container.mc.type_rabbit.onRollOver = (special_chocolate_container.mc.type_fish.onRollOver = function () { if (!owner.isPaused) { owner.keyTarget = this._name; owner.special_chocolate_container.mc.type_rabbit.gotoAndStop(1); owner.special_chocolate_container.mc.type_fish.gotoAndStop(1); this.gotoAndStop(2); } }); special_chocolate_container.mc.type_rabbit.onRelease = (special_chocolate_container.mc.type_fish.onRelease = function () { if (!owner.isPaused) { owner.infoClip._visible = false; owner.specialChocolateClip._visible = true; owner.specialChocolateClip.gotoAndStop(this._name); owner.specialChocolateClip.mc.gotoAndPlay(1); owner.isTargetReached = true; owner.preferred_special_chocolate = this._name; if (owner.special_choco_machines.status == "empty") { owner.special_choco_machines.status = "prepared"; } owner["\x1C\x03"] = 0; owner["@\x02"] = setInterval(owner.SpecialIdleProcess, 100, owner); owner.special_chocolate_container.gotoAndStop(2); owner.isPopup = false; owner.dusbinStatus = "ready"; owner.special_machineStatus = "ready"; owner["\x0E\x03"] = "onn"; owner.keyTarget = "special_choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }); special_chocolate_container.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.special_machineStatus = "ready"; owner.special_chocolate_container._visible = false; owner.isPopup = false; owner.dusbinStatus = "ready"; owner.keyTarget = "special_choco_machines"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; dusbinContainer.mc.chocobox1.type_triangle.onRollOver = (dusbinContainer.mc.chocobox1.type_round.onRollOver = (dusbinContainer.mc.chocobox1.type_box.onRollOver = (dusbinContainer.mc.chocobox2.type_triangle.onRollOver = (dusbinContainer.mc.chocobox2.type_round.onRollOver = (dusbinContainer.mc.chocobox2.type_box.onRollOver = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox1.type_fish.onRollOver = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOver = (dusbinContainer.mc.chocobox2.type_fish.onRollOver = function () { owner.keyTarget = this._name; this.gotoAndStop(2); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRollOut = (dusbinContainer.mc.chocobox1.type_round.onRollOut = (dusbinContainer.mc.chocobox1.type_box.onRollOut = (dusbinContainer.mc.chocobox2.type_triangle.onRollOut = (dusbinContainer.mc.chocobox2.type_round.onRollOut = (dusbinContainer.mc.chocobox2.type_box.onRollOut = (dusbinContainer.mc.chocobox1.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox1.type_fish.onRollOut = (dusbinContainer.mc.chocobox2.type_rabbit.onRollOut = (dusbinContainer.mc.chocobox2.type_fish.onRollOut = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_triangle.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_round.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_box.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox1.type_fish.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_rabbit.onReleaseOutside = (dusbinContainer.mc.chocobox2.type_fish.onReleaseOutside = function () { this.gotoAndStop(1); }))))))))); dusbinContainer.mc.chocobox1.type_triangle.onRelease = (dusbinContainer.mc.chocobox1.type_round.onRelease = (dusbinContainer.mc.chocobox1.type_box.onRelease = (dusbinContainer.mc.chocobox2.type_triangle.onRelease = (dusbinContainer.mc.chocobox2.type_round.onRelease = (dusbinContainer.mc.chocobox2.type_box.onRelease = (dusbinContainer.mc.chocobox1.type_rabbit.onRelease = (dusbinContainer.mc.chocobox1.type_fish.onRelease = (dusbinContainer.mc.chocobox2.type_rabbit.onRelease = (dusbinContainer.mc.chocobox2.type_fish.onRelease = function () { if (!owner.isPaused) { if (this._name == owner.preferred_chocolate1) { owner.preferred_chocolate1 = owner.preferred_chocolate2; owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } else { owner.preferred_chocolate2 = null; owner.salesGirl.chocolateCount--; owner.girlwalkframe = owner.girlwalkframe / 2; owner.salesGirl.girlwalk.gotoAndStop(owner.girlwalkframe); owner.salesGirl.girlwalk.chocobox1.gotoAndStop(owner.preferred_chocolate1); owner.salesGirl.girlwalk.chocobox2.gotoAndStop(owner.preferred_chocolate2); } owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }))))))))); dusbinContainer.mc.btn_close.onRelease = function () { if (!owner.isPaused) { owner.dusbinStatus = "ready"; owner.dusbinContainer._visible = false; owner.isPopup = false; owner.keyTarget = "dusbin"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } }; reportMc.mc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; stopAllSounds(); owner._parent.gotoAndStop("upshell"); }; reportMc.mc.btn_menu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; reportMc.mc.btn_retry.onRelease = function () { owner.(\x03(); owner._parent.play(); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.btn_pause._visible = true; owner.9\x02(); var _local1 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local1], "oldlady"); owner.isPopup = false; owner.popup_info = "level2_start"; owner.bg.gotoAndStop(2); owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.ismoveready = true; owner.machineStatus = "ready"; owner.machine2Status = "ready"; owner.special_machineStatus = "ready"; owner.dusbinStatus = "ready"; owner.coffeeStatus = "ready"; owner.timerClip._visible = true; clearInterval(owner.gameInterval); owner.gametimer = 0; owner.gameInterval = setInterval(owner.GameTimeLimit, 1000, owner); owner.phone_mc.gotoAndStop(2); owner.phone_mc.ring.gotoAndStop(1); } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 >= _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * \n\x03); salesGirl._y = salesGirl._y + (Math.sin(\x12) * \n\x03); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg2) { clearInterval(_arg2.gamestartInterval); _arg2.isPopup = true; _global.popupText = "Select the PHONE to answer a call. Take the order of the client and prepare it. A delivery boy will pick it up later."; _arg2.ShowPopup(_arg2); } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallNewCustomer(_arg2) { if (!_arg2.isGameOver) { if (_arg2.table4._visible) { var _local1 = 0; while (_local1 < _arg2.lobbyArr.length) { if (_arg2.lobbyArr[_local1] == 1) { _arg2.lobbyArr.splice(_local1, 1); } _local1++; } } if ((_arg2.customerCount != 0) && (_arg2.moneyCount != 0)) { _arg2.CallNextCustomerSet(); } } else { clearInterval(_arg2.Re_customerEnterInterval); } } function CallCustomer(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function CallCustomer2(_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval2); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval3); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function (_arg1, _arg3, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.Re_customerEnterInterval); if (!_arg1.isGameOver) { _arg1.customerEnter(_arg3, _arg2); } else if ((_arg1.customerCount == 0) && (_arg1.moneyCount == 0)) { _arg1.callResult(); } } } function customerEnter(_arg5, _arg4) { if (!isGameOver) { if (_arg4 == "phoneorder") { isphonecalled = true; ringstat = "onn"; phone_mc._visible = true; table4._visible = true; customer4 = phone_mc; phone_mc.ring._visible = true; phone_mc.ring.gotoAndPlay(2); orderbook4 = attachMovie("orderbook", "orderbook4", getNextHighestDepth(), {_x:170, _y:400}); orderbook4._visible = false; orderbook4.type = "phone"; customer4.type = _arg4; orderbook4.heatcnt = 0; orderbook4.heatInterval = setInterval(), 400, orderbook4, this, 4); phoneringcnt = 0; phoneInterval = setInterval(\x1C, 1000, this); if (_global.soundstat == "onn") { _root.phonering_Sound.start(); } } else if (_arg5 == 1) { table1._visible = true; customer1 = attachMovie(_arg4, "customer1", ([_arg5 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; customer1.type = _arg4; orderbook1.heatcnt = 0; if (_arg4 == "oldlady") { orderbook1.heatInterval = setInterval(), 400, orderbook1, this, 1); } else if (_arg4 == "younglady") { orderbook1.heatInterval = setInterval(), 200, orderbook1, this, 1); } } else if (_arg5 == 2) { table2._visible = true; customer2 = attachMovie(_arg4, "customer2", ([_arg5 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; customer2.type = _arg4; orderbook2.heatcnt = 0; if (_arg4 == "oldlady") { orderbook2.heatInterval = setInterval(), 400, orderbook2, this, 2); } else if (_arg4 == "younglady") { orderbook2.heatInterval = setInterval(), 200, orderbook2, this, 2); } } else if (_arg5 == 3) { table3._visible = true; customer3 = attachMovie(_arg4, "customer3", ([_arg5 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; customer3.type = _arg4; orderbook3.heatcnt = 0; if (_arg4 == "oldlady") { orderbook3.heatInterval = setInterval(), 400, orderbook3, this, 3); } else if (_arg4 == "younglady") { orderbook3.heatInterval = setInterval(), 200, orderbook3, this, 3); } } customerCount++; moneyCount++; orderTaken++; trace((("in cus enter=" + customerCount) + ", ") + moneyCount); salesGirl.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); special_chocolate_container.swapDepths(getNextHighestDepth()); dusbinContainer.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } } function (owner) { if (!owner.isPaused) { owner.phoneringcnt++; if (owner.phoneringcnt >= 20) { clearInterval(owner.phoneInterval); clearInterval(owner.orderbook4.heatInterval); owner.moneyCount--; owner.customerCount--; owner.orderbook4._visible = false; owner.table4._visible = false; owner.orderbook4.type = "empty"; owner.ringstat = "off"; owner.phone_mc.ring.gotoAndStop(1); _root.phonering_Sound.stop(); if ((owner.customerCount == 0) && (owner.moneyCount == 0)) { if (!owner.isGameOver) { owner.CallNextCustomerSet(); } else { owner.callResult(); } } } } } function () { var owner = this; if (selectedTarget == "coffee_machine") { coffee_machine.pointer._visible = false; if (coffee_machine.status == "empty") { coffee_machine.status = "prepared"; coffeeClip._visible = true; coffeeClip.gotoAndPlay(2); owner.isTargetReached = true; owner.coffee_preparecnt = 0; owner.coffee_process_interval = setInterval(owner.CoffeeIdleProcess, 100, owner); owner.isPopup = false; owner.coffeemachineshake = "onn"; owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (coffee_machine.status == "coffeeReady") { coffeeClip._visible = false; coffee_machine.status = "empty"; salesGirl.coffeeicon._visible = false; \n\x03 = 12; orderTaken = 0; salesGirl.gotoAndStop(2); if (salesGirl.chocolateCount == 0) { girlwalkframe = 9; } else if (salesGirl.chocolateCount == 1) { girlwalkframe = 10; } else if (salesGirl.chocolateCount == 2) { girlwalkframe = 11; } salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.jumpLady.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.jumpLady.chocobox2.gotoAndStop(preferred_chocolate2); owner.machineStatus = "notready"; owner.special_machineStatus = "notready"; owner.dusbinStatus = "notready"; owner.coffeeStatus = "notready"; owner.isPopup = true; this["?\x02"] = setInterval(\"\x02, 1100, this); } } else if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { if (orderbook1.book_mc._currentframe == 74) { orderbook1.green_highlight._visible = true; } } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { if (orderbook2.book_mc._currentframe == 74) { orderbook2.green_highlight._visible = true; } } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { if (orderbook3.book_mc._currentframe == 74) { orderbook3.green_highlight._visible = true; } } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { if (orderbook4.book_mc._currentframe == 74) { orderbook4.green_highlight._visible = true; } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "choco_machines2") { choco_machines2.pointer._visible = false; if (choco_machines2.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machine2Status = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else if (choco_machines2.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_box2_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_box2_chocolate; } owner.salesGirl.chocolateCount++; chocolateClip2._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); choco_machines2.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "special_choco_machines") { special_choco_machines.pointer._visible = false; if (special_choco_machines.status == "empty") { if (owner.salesGirl.chocolateCount < 3) { special_chocolate_container._visible = true; special_chocolate_container.gotoAndStop(1); special_chocolate_container.mc.gotoAndPlay(1); special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; keyTarget = "type_rabbit"; } } else if (special_choco_machines.status == "chocolateReady") { if (owner.salesGirl.chocolateCount < 2) { if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = owner.preferred_special_chocolate; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = owner.preferred_special_chocolate; } owner.salesGirl.chocolateCount++; specialChocolateClip._visible = false; salesGirl.gotoAndStop(2); girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); special_choco_machines.status = "empty"; if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (salesGirl.chocolateCount == 1) { salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); preferred_chocolate1 = null; preferred_chocolate2 = null; owner.+\x03(); owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } else if (salesGirl.chocolateCount >= 2) { dusbinStatus = "notready"; isPopup = true; _global.preferred_chocolate1 = preferred_chocolate1; _global.preferred_chocolate2 = preferred_chocolate2; keyTarget = _global.preferred_chocolate1; dusbinContainer._visible = true; dusbinContainer.gotoAndStop(1); dusbinContainer.mc.gotoAndPlay(1); } } else if ((((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) || (selectedTarget == "table4")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "phone") { isphonecalled = true; _root.phonering_Sound.stop(); clearInterval(phoneInterval); combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; ringstat = "off"; phone_mc.ring.gotoAndStop(1); eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable)._visible = true; eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(2); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "book") { combo_bookcnt++; combo_ordercnt = 0; combo_moneycnt = 0; eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; var ,\x03 = owner.@\x03(0, 4); eval ("this.orderbook" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.customer" + selectedTable).neededchocolate = !\x02[,\x03]; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); var \x06\x02 = int(eval ("this.orderbook" + selectedTable).heatcnt / 4); if (\x06\x02 > 1) { eval ("this.orderbook" + selectedTable).heatcnt = \x06\x02; } else { eval ("this.orderbook" + selectedTable).heatcnt = 1; } CheckForBookCombo(); } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if ((salesGirl.chocolateCount >= 1) && (eval ("this.orderbook" + selectedTable).book_mc._currentframe >= 74)) { combo_bookcnt = 0; combo_moneycnt = 0; if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate1) { combo_ordercnt++; preferred_chocolate1 = preferred_chocolate2; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; if (salesGirl.chocolateCount == 1) { preferred_chocolate1 = null; } salesGirl.chocolateCount--; owner.+\x03(); } else if (eval ("owner.customer" + owner.selectedTable).neededchocolate == owner.preferred_chocolate2) { combo_ordercnt++; salesGirl.chocolateCount--; preferred_chocolate2 = null; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (selectedTarget == "table4") { orderbook4.type = "none"; orderbook4.temp_box._visible = false; orderbook4.green_highlight._visible = false; orderbook4.highlight._visible = false; orderbook4.timelimit._visible = false; phone_mc.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); expertScoreClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); deliveryboy._visible = true; deliveryboy.gotoAndPlay(2); clearInterval(deliveryinterval); deliveryinterval = setInterval(>, 1500, this); } else { eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); if ((eval ("this.orderbook" + selectedTable).heatcnt > 60) && (eval ("this.orderbook" + selectedTable).heatcnt <= 100)) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(2); eval ("this.orderbook" + selectedTable).highlight._visible = false; } else if (eval ("this.orderbook" + selectedTable).heatcnt > 100) { eval ("this.orderbook" + selectedTable).money_mc.gotoAndStop(3); eval ("this.orderbook" + selectedTable).highlight._visible = false; eval ("this.orderbook" + selectedTable).highlight_small._visible = false; } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } clearInterval(eval ("this.orderbook" + selectedTable).heatInterval); CheckForOrderCombo(); customerCount--; owner.+\x03(); } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt++; trace((("money before=" + customerCount) + ", ") + moneyCount); moneyCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; if (owner.selectedTarget != "table4") { eval ("this.customer" + selectedTable)._visible = false; } CheckForMoneyCombo(); if (orderTaken >= 6) { salesGirl.coffeeicon._visible = true; \n\x03 = 6; } if (selectedTable != 4) { lobbyArr.push(selectedTable); } else if (table1._visible == false) { lobbyArr.push(1); } trace((("money after=" + customerCount) + ", ") + moneyCount); if ((customerCount == 0) && (moneyCount == 0)) { if (!isGameOver) { customerCount = 0; moneyCount = 0; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; CallNextCustomerSet(); } else { callResult(); } } else if (isGameOver) { if ((((table1._visible == false) && (table2._visible == false)) && (table3._visible == false)) && (table4._visible == false)) { callResult(); } } } owner.sequenceArr.splice(0, 1); if (owner.sequenceArr.length >= 1) { owner.\f(); } } } function >() { var _local2 = this; var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); if (table4._visible) { _local3 = 1; } else { _local3 = 0; } _local2.Re_customerEnterInterval = setInterval(_local2["\x01"], 100, _local2, _local2.lobbyArr[_local3], "younglady"); _local2.lobbyArr.splice(_local3, 1); } function CallNextCustomerSet() { var _local2 = this; if (lobbyArr.length >= 1) { if (lobbyArr.length == 1) { if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 2) { '\x02 = "onn"; if (((!isphonecalled) && (table4._visible == false)) && (table1._visible == false)) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); if (_local2.lobbyArr[0] == 1) { _local3 = 1; } else if (_local2.lobbyArr[1] == 1) { _local3 = 0; } clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], "phoneorder"); } else { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 100, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } else if (lobbyArr.length == 3) { var _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); var _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval); _local2.customerEnterInterval = setInterval(_local2.CallCustomer, 1000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval2); _local2.customerEnterInterval2 = setInterval(_local2.CallCustomer2, 2000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); _local3 = _local2.@\x03(0, _local2.lobbyArr.length - 1); _local4 = Math.ceil((Math.random() * 3) - 1); clearInterval(_local2.customerEnterInterval3); _local2.customerEnterInterval3 = setInterval(_local2["\x1F\x03"], 4000, _local2, _local2.lobbyArr[_local3], _local2["#\x02"][_local4]); _local2.lobbyArr.splice(_local3, 1); } } } function >(owner) { clearInterval(owner.deliveryinterval); owner.orderbook4.type = "money"; owner.coin_Anim4._visible = true; owner.coin_Anim4.gotoAndStop(1); owner.coin_Anim4.coin.gotoAndPlay(1); owner.orderbook4.gotoAndStop(3); if ((owner.orderbook4.heatcnt > 60) && (owner.orderbook4.heatcnt <= 100)) { owner.orderbook4.money_mc.gotoAndStop(2); owner.orderbook4.highlight._visible = false; } else if (owner.orderbook4.heatcnt > 100) { owner.orderbook4.money_mc.gotoAndStop(3); owner.orderbook4.highlight._visible = false; owner.orderbook4.highlight_small._visible = false; } if (!owner.isGameOver) { if (owner.table4._visible) { var i = 0; while (i < owner.lobbyArr.length) { if (owner.lobbyArr[i] == 1) { owner.lobbyArr.splice(i, 1); } i++; } } owner.CallNextCustomerSet(); } } function "(_arg1) { clearInterval(_arg1["?\x02"]); _arg1.machineStatus = "ready"; _arg1.special_machineStatus = "ready"; _arg1.dusbinStatus = "ready"; _arg1.coffeeStatus = "ready"; _arg1.isPopup = false; _arg1.sequenceArr.splice(0, 1); if (_arg1.sequenceArr.length >= 1) { _arg1.\f(); } } function +() { if (orderbook1.book_mc._currentframe >= 74) { if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } else { orderbook1.green_highlight._visible = false; } } if (orderbook2.book_mc._currentframe >= 74) { if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } else { orderbook2.green_highlight._visible = false; } } if (orderbook3.book_mc._currentframe >= 74) { if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } else { orderbook3.green_highlight._visible = false; } } if (orderbook4.book_mc._currentframe >= 74) { if ((orderbook4.neededchocolate == preferred_chocolate1) || (orderbook4.neededchocolate == preferred_chocolate2)) { orderbook4.green_highlight._visible = true; } else { orderbook4.green_highlight._visible = false; } } } function callResult() { clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); clearInterval(this["?\x02"]); clearInterval(phoneInterval); machineStatus = "notready"; special_machineStatus = "notready"; dusbinStatus = "notready"; isPopup = true; _global.report_moneyEarned = score; _global.report_tips = tips; _global.targetScore = 500; _global.expertScore = 1180; btn_pause._visible = false; dusbinStatus = "notready"; score = score + tips; if (score < 500) { reportMc._visible = true; reportMc.gotoAndStop(2); reportMc.mc.gotoAndPlay(2); if (_global.soundstat == "onn") { _root.level_failed_Sound.start(); } } else { if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } if (_global.levelSelected < 11) { _global.levelSelected = 11; } if (_global.levelFinished <= 10) { _global.levelFinished = 10; } if (score >= 1180) { _global.level10Status = "expert"; } else { _global.level10Status = "target"; } _global.level10Score = score; if (((score >= 500) && (scoreClip.target._currentframe == 1)) || ((score >= 1180) && (scoreClip.expert._currentframe == 1))) { this["4"] = setInterval( \x02, 2300, this); } else { reportMc._visible = true; reportMc.gotoAndStop(1); reportMc.mc.gotoAndPlay(2); } } } function (_arg1) { clearInterval(_arg1["4"]); _arg1.reportMc._visible = true; _arg1.reportMc.gotoAndStop(1); _arg1.reportMc.mc.gotoAndPlay(2); } function )(owner, myparent, curpoint) { if (!myparent.isPaused) { owner.heatcnt++; owner.timelimit.gotoAndStop(owner.heatcnt); if (owner.heatcnt == 100) { eval ("myparent.customer" + curpoint).gotoAndStop(4); } if (owner.heatcnt >= 120) { clearInterval(owner.heatInterval); trace((("lose before=" + myparent.customerCount) + ", ") + myparent.moneyCount); myparent.moneyCount--; myparent.customerCount--; trace((("lose after=" + myparent.customerCount) + ", ") + myparent.moneyCount); eval ("myparent.orderbook" + curpoint)._visible = false; eval ("myparent.table" + curpoint)._visible = false; if (eval ("myparent.customer" + curpoint).type == "oldlady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 10)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 10) { myparent.score = myparent.score - 10; myparent.curScoreClip.disp.score.text = -10; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } else if (eval ("myparent.customer" + curpoint).type == "younglady") { eval ("myparent.customer" + curpoint).gotoAndStop(6); if (myparent.score > 0) { myparent.curScoreClip._visible = true; myparent.curScoreClip.gotoAndPlay(1); if ((myparent.score >= 2) && (myparent.score < 15)) { myparent.score = myparent.score - 2; myparent.curScoreClip.disp.score.text = -2; } else if (myparent.score >= 15) { myparent.score = myparent.score - 15; myparent.curScoreClip.disp.score.text = -15; } myparent.scoreClip.score_txt.text = myparent.score; myparent.scoreClip.loading.gotoAndStop(myparent.score); } } eval ("myparent.orderbook" + curpoint).type = "empty"; myparent.lobbyArr.push(curpoint); if ((myparent.customerCount == 0) && (myparent.moneyCount == 0)) { if (!myparent.isGameOver) { myparent.CallNextCustomerSet(); } else { myparent.callResult(); } } } } } function GameTimeLimit(_arg1) { if (!_arg1.isPaused) { _arg1.gametimer++; _arg1.timerClip.gotoAndStop(_arg1.gametimer); if (_arg1.gametimer >= 90) { _arg1.isGameOver = true; _arg1.bg.gotoAndStop(1); _arg1.shopclosedClip._visible = true; _arg1.shopclosedClip.gotoAndPlay(1); _arg1.gametimer = 0; clearInterval(_arg1.gameInterval); } } } function CheckForBookCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_bookcnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_bookcnt); comboClip.combo.gotoAndPlay(1); score = score + 4; curScoreClip.disp.score.text = 4; tips = tips + 4; } else { score = score + 2; curScoreClip.disp.score.text = 2; tips = tips + 2; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_bookcnt) + "_Sound").start(); } } function CheckForOrderCombo() { curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_ordercnt >= 2) { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_ordercnt); comboClip.combo.gotoAndPlay(1); score = score + 20; curScoreClip.disp.score.text = 20; } else { score = score + 10; curScoreClip.disp.score.text = 10; } if (_global.soundstat == "onn") { eval (("_root.combo" + combo_ordercnt) + "_Sound").start(); } } function CheckForMoneyCombo() { if (_global.soundstat == "onn") { eval (("_root.money" + combo_moneycnt) + "_Sound").start(); } curScoreClip._visible = true; curScoreClip.gotoAndPlay(1); if (combo_moneycnt >= 2) { comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop(combo_moneycnt); comboClip.combo.gotoAndPlay(1); if (eval ("this.orderbook" + selectedTable).neededchocolate == "type_rabbit") { score = score + (combo_moneycnt * 30); curScoreClip.disp.score.text = combo_moneycnt * 30; } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 14); curScoreClip.disp.score.text = combo_moneycnt * 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 11); curScoreClip.disp.score.text = combo_moneycnt * 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 10); curScoreClip.disp.score.text = combo_moneycnt * 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + (combo_moneycnt * 24); curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + (combo_moneycnt * 21); curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + (combo_moneycnt * 17); curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + (combo_moneycnt * 15); curScoreClip.disp.score.text = combo_moneycnt * 15; } } if (!isGameOver) { if (table4._visible) { var i = 0; while (i < lobbyArr.length) { if (lobbyArr[i] == 1) { lobbyArr.splice(i, 1); } i++; } } CallNextCustomerSet(); } } else if (eval ("this.customer" + selectedTable).type == "oldlady") { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 17; curScoreClip.disp.score.text = 17; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 14; curScoreClip.disp.score.text = 14; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 11; curScoreClip.disp.score.text = 11; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 10; curScoreClip.disp.score.text = 10; } } else { var myheatcnt = eval ("this.orderbook" + selectedTable).heatcnt; if ((myheatcnt >= 0) && (myheatcnt <= 30)) { score = score + 24; curScoreClip.disp.score.text = combo_moneycnt * 24; } else if ((myheatcnt > 30) && (myheatcnt <= 60)) { score = score + 21; curScoreClip.disp.score.text = combo_moneycnt * 21; } else if ((myheatcnt > 60) && (myheatcnt <= 90)) { score = score + 17; curScoreClip.disp.score.text = combo_moneycnt * 17; } else if ((myheatcnt > 90) && (myheatcnt <= 119)) { score = score + 15; curScoreClip.disp.score.text = combo_moneycnt * 15; } } } function IdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.preparecnt++; if (_arg3.preparecnt >= 20) { clearInterval(_arg3.process_interval); _arg3.machineStatus = "ready"; _arg3.machineshake = "off"; if (_arg3.choco_machines.status == "prepared") { _arg3.choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function IdleProcess2(_arg3) { if (!_arg3.isPaused) { _arg3["(\x02"]++; if (_arg3["(\x02"] >= 20) { clearInterval(_arg3["&\x03"]); _arg3.machine2Status = "ready"; _arg3["["] = "off"; if (_arg3.choco_machines2.status == "prepared") { _arg3.choco_machines2.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function SpecialIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3["\x1C\x03"]++; if (_arg3["\x1C\x03"] >= 40) { clearInterval(_arg3["@\x02"]); _arg3.special_machineStatus = "ready"; _arg3["\x0E\x03"] = "off"; if (_arg3.special_choco_machines.status == "prepared") { _arg3.special_choco_machines.status = "chocolateReady"; } if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } } } } function CoffeeIdleProcess(_arg3) { if (!_arg3.isPaused) { _arg3.coffee_preparecnt++; if (_arg3.coffee_preparecnt >= 20) { clearInterval(_arg3.coffee_process_interval); _arg3.coffeeStatus = "ready"; _arg3.coffeemachineshake = "off"; _arg3.coffee_machine.status = "coffeeReady"; if (_global.soundstat == "onn") { _root.hotchoco_done_Sound.start(); } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var owner = this; eval ("this." + moveTarget).onRelease(); } function () { var owner = this; if (sequenceArr[0] == choco_machines) { if (((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == choco_machines2) { if (((owner.isTargetReached && (owner.machine2Status == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines2"; owner.<\x03(owner.chomac_indicate2); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == special_choco_machines) { if (((owner.isTargetReached && (owner.special_machineStatus == "ready")) && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "special_choco_machines"; owner.<\x03(owner.splmn_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == dusbin) { if ((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); sequenceArr[0].pointer._visible = true; } } else if (sequenceArr[0] == coffee_machine) { if (((owner.isTargetReached && (!owner.isPaused)) && (owner.coffeeStatus == "ready")) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = "coffee_machine"; owner.<\x03(owner.coffee_indicate); sequenceArr[0].pointer._visible = true; } } else if ((((sequenceArr[0] == table1) || (sequenceArr[0] == table2)) || (sequenceArr[0] == table3)) || (sequenceArr[0] == table4)) { if ((owner.isTargetReached && (!owner.isPaused)) && (owner.dusbinStatus == "ready")) { owner.isTargetReached = false; owner.selectedTarget = sequenceArr[0]._name; owner.<\x03(sequenceArr[0]); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } else if (owner.selectedTarget == "table4") { owner.selectedTable = 4; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } } } function () { var _local3 = this; stopAllSounds(); _local3.bg.blink.gotoAndStop(_local3.bg.blink._currentframe); _local3.customer1.customer.gotoAndStop(_local3.customer1.customer._currentframe); _local3.customer2.customer.gotoAndStop(_local3.customer2.customer._currentframe); _local3.customer3.customer.gotoAndStop(_local3.customer3.customer._currentframe); _local3.special_choco_machines.machine1.blink.gotoAndStop(_local3.special_choco_machines.machine1.blink._currentframe); _local3.choco_machines.single_machine.blink.gotoAndStop(_local3.choco_machines.single_machine.blink._currentframe); _local3.salesGirl.coffeeicon.smoke.gotoAndStop(_local3.salesGirl.coffeeicon.smoke._currentframe); _local3.customer4.customer.gotoAndStop(_local3.customer4.customer._currentframe); _local3.coin_Anim1.coin.gotoAndStop(_local3.coin_Anim1.coin._currentframe); _local3.coin_Anim2.coin.gotoAndStop(_local3.coin_Anim2.coin._currentframe); _local3.coin_Anim3.coin.gotoAndStop(_local3.coin_Anim3.coin._currentframe); _local3.coin_Anim4.coin.gotoAndStop(_local3.coin_Anim4.coin._currentframe); _local3.comboClip.combo.gotoAndStop(_local3.comboClip.combo._currentframe); _local3.orderbook1.heartinClip.gotoAndStop(_local3.orderbook1.heartinClip._currentframe); _local3.orderbook2.heartinClip.gotoAndStop(_local3.orderbook2.heartinClip._currentframe); _local3.orderbook3.heartinClip.gotoAndStop(_local3.orderbook3.heartinClip._currentframe); _local3.orderbook4.heartinClip.gotoAndStop(_local3.orderbook4.heartinClip._currentframe); _local3.curScoreClip.gotoAndStop(_local3.curScoreClip._currentframe); _local3.coin_Anim1.coin.coin_rotate.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate._currentframe); _local3.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate2._currentframe); _local3.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate3._currentframe); _local3.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim1.coin.coin_rotate4._currentframe); _local3.coin_Anim2.coin.coin_rotate.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate._currentframe); _local3.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate2._currentframe); _local3.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate3._currentframe); _local3.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim2.coin.coin_rotate4._currentframe); _local3.coin_Anim3.coin.coin_rotate.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate._currentframe); _local3.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate2._currentframe); _local3.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate3._currentframe); _local3.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim3.coin.coin_rotate4._currentframe); _local3.coin_Anim4.coin.coin_rotate.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate._currentframe); _local3.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate2._currentframe); _local3.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate3._currentframe); _local3.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local3.coin_Anim4.coin.coin_rotate4._currentframe); _local3.comboClip.combo.coin_rotate.gotoAndStop(_local3.comboClip.combo.coin_rotate._currentframe); if (_local3.scoreIndicateClip._visible) { _local3.scoreIndicateClip.gotoAndStop(_local3.scoreIndicateClip._currentframe); } if (_local3.expertScoreClip._visible) { _local3.expertScoreClip.gotoAndStop(_local3.expertScoreClip._currentframe); } _global.ringvisible = phone_mc.ring._visible; phone_mc.ring._visible = false; _local3.chocolateClip.mc.gotoAndStop(_local3.chocolateClip.mc._currentframe); _local3.specialChocolateClip.mc.gotoAndStop(_local3.specialChocolateClip.mc._currentframe); _local3.chocolateClip2.mc.gotoAndStop(_local3.chocolateClip2.mc._currentframe); _local3.coffeeClip.gotoAndStop(_local3.coffeeClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); if (_local4.scoreIndicateClip._visible) { _local4.scoreIndicateClip.gotoAndPlay(_local4.scoreIndicateClip._currentframe - 1); } if (_local4.expertScoreClip._visible) { _local4.expertScoreClip.gotoAndPlay(_local4.expertScoreClip._currentframe - 1); } phone_mc.ring._visible = _global.ringvisible; _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.specialChocolateClip.mc.gotoAndPlay(_local4.specialChocolateClip.mc._currentframe - 1); _local4.chocolateClip2.mc.gotoAndPlay(_local4.chocolateClip2.mc._currentframe - 1); _local4.coffeeClip.gotoAndPlay(_local4.coffeeClip._currentframe - 1); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); table4.onRollOut(); phone_mc.onRollOut(); choco_machines.onRollOut(); choco_machines2.onRollOut(); dusbin.onRollOut(); coffee_machine.onRollOut(); special_choco_machines.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(@\x02); clearInterval(process_interval); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; orderTaken = 0; customerCount = 0; machineStatus = "notready"; dusbinStatus = "notready"; girlwalkframe = 2; \x10\x02 = false; (.length = 0; ( = new Array(-10313, -10315, -10317); !\x02.length = 0; !\x02 = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); customerEnterset = "firstset"; moneyCount = 0; clearInterval(gameInterval); gametimer = 0; isGameOver = false; combo_bookcnt = 0; combo_ordercnt = 0; combo_moneycnt = 0; \x15\x02 = ""; clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); clearInterval(customerEnterInterval3); clearInterval(Re_customerEnterInterval); clearInterval(this["4"]); clearInterval(orderbook1.heatInterval); clearInterval(orderbook2.heatInterval); clearInterval(orderbook3.heatInterval); clearInterval(orderbook4.heatInterval); clearInterval(deliveryinterval); clearInterval(this["?\x02"]); clearInterval(phoneInterval); isPaused = false; sequenceArr.length = 0; sequenceArr = new Array(); \n\x03 = 12; Key.removeListener(,); keyTarget = undefined; phoneringcnt = 0; isphonecalled = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var @ = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var machine2Status = "notready"; var special_machineStatus = "notready"; var dusbinStatus = "notready"; var coffeeStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var ! = new Array("type_triangle", "type_fish", "type_round", "type_rabbit", "type_box"); var customerEnterset = "firstset"; var moneyCount = 0; var gameInterval = -1; var gametimer = 0; var isGameOver = false; var combo_bookcnt = 0; var combo_ordercnt = 0; var combo_moneycnt = 0; var gamestartInterval = -1; var  = ""; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var 4 = -1; var isPaused = false; var coffee_process_interval = -1; var ringstat = "off"; var phone_status = "notready"; var  = 1; var machineshake = "off"; var  = "off"; var coffeemachineshake = "off"; var [ = "off"; var " = 1; var coffeemachinespeed = 1; var 9 = 1; var  = 12; var sequenceArr = new Array(); var  = -1; var customerEnterInterval3 = -1; var deliveryinterval = -1; var ? = -1; var tips = 0; var phoneInterval = -1; var & = -1; var Re_customerEnterInterval = -1; var phoneringcnt = 0; var # = new Array("younglady", "oldlady", "younglady"); var isphonecalled = false; var preparecnt = 0; var ( = 0; var  = 0; var coffee_preparecnt = 0; }
Symbol 1709 MovieClip [__Packages.Level1] Frame 0
class Level1 extends MovieClip { var salesGirl, btn_pause, _parent, scoreIndicateClip, shopclosedClip, timerClip, chocolate_container, specialcho_container, coffeeClip, chocolateClip, phone_mc, popup_mc, selectClip, choco_machines, special_choco_machines, dusbin, coffee_machine, heartinClip, shopopenClip, reportMc, cancel_mc, infoClip, comboClip, table3, table2, table1, coin_Anim3, coin_Anim2, coin_Anim1, 5, keyTarget, pauseTarget, scoreClip, , ,, preferred_chocolate1, preferred_chocolate2, customer1, attachMovie, orderbook1, getNextHighestDepth, customer2, orderbook2, customer3, orderbook3, intervalstatus, iscorrectChocolateChoose, selectedTable, rantable1, rantable2, customerOrderbook1, customerOrderbook2, keylistener; function Level1 () { super(); } function onLoad() { var owner = this; clearInterval(this["0"]); clearInterval(process_interval); (\x03(); salesGirl.coffeeicon._visible = false; btn_pause._visible = false; _parent.pauseClip._visible = false; salesGirl.gotoAndStop(=\x02); salesGirl.chocolateCount = 0; salesGirl.girlwalk.gotoAndStop(girlwalkframe); scoreIndicateClip._visible = false; shopclosedClip._visible = false; timerClip._visible = false; chocolate_container._visible = false; specialcho_container._visible = false; coffeeClip._visible = false; chocolateClip._visible = false; phone_mc._visible = false; popup_mc._visible = false; selectClip._visible = false; choco_machines._visible = false; special_choco_machines._visible = false; dusbin._visible = false; coffee_machine._visible = false; heartinClip._visible = false; shopopenClip._visible = false; reportMc._visible = false; cancel_mc._visible = false; infoClip._visible = false; comboClip._visible = false; table2._visible = (table3._visible = false); table1._visible = false; coin_Anim2._visible = (coin_Anim3._visible = false); coin_Anim1._visible = false; table1.point = 1; table2.point = 2; table3.point = 3; isPopup = true; _global.popupText = "Hi! Welcome to my chocolate shop. Let\u2019s have a look around! I\u2019ll show you 2 important things. Are you ready?"; ShowPopup(this); btn_pause.onRelease = function () { if (this._visible && (owner._parent.pauseClip._visible == false)) { owner.pauseTarget = "btn_continue"; owner.isPaused = true; owner.isPopup = true; this._visible = false; owner._parent.pauseClip._visible = true; owner._parent.pauseClip.gotoAndPlay(2); owner.\x12\x02(); } }; 5\x03 = new Object(); Key.addListener(5\x03); 5\x03.onKeyDown = function () { if (Key.getCode() == 37) { if (!owner.isPaused) { owner.9\x03(); } } else if (Key.getCode() == 39) { if (!owner.isPaused) { owner.%(); } } else if (Key.getCode() == 38) { if (!owner.isPaused) { owner. \x03(); } else { owner.pauseUpNavigation(); } } else if (Key.getCode() == 40) { if (!owner.isPaused) { owner.\x13\x03(); } else { owner.pauseDownNavigation(); } } else if (Key.getCode() == 13) { if (owner.popup_mc._visible) { owner.popup_mc.btn_ok.onRelease(); } else if (owner.reportMc._visible) { owner.reportMc.btn_continue.onRelease(); } else if (!owner.isPaused) { owner.\x1B(); } else { owner.\r\x02(); } } else if (Key.getAscii() == 27) { if (!owner.isPaused) { owner.btn_pause.onRelease(); } else if (owner.isPaused) { owner._parent.pauseClip.btn_continue.onRelease(); } } }; table1.onRollOver = (table2.onRollOver = (table3.onRollOver = function () { if (owner.isTargetReached && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = this._name; eval ("this.orderbook" + this.point).highlight.gotoAndStop(2); } })); table1.onRollOut = (table2.onRollOut = (table3.onRollOut = function () { eval ("this.orderbook" + this.point).highlight.gotoAndStop(1); })); choco_machines.onRollOver = function () { if ((owner.machineStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "choco_machines"; this.single_machine.gotoAndStop(3); } }; choco_machines.onRollOut = (choco_machines.onReleaseOutside = function () { this.single_machine.gotoAndStop(2); }); dusbin.onRollOver = function () { if ((owner.dusbinStatus == "ready") && (!owner.isPaused)) { owner.1\x02(); owner.keyTarget = "dusbin"; this.gotoAndStop(3); } }; dusbin.onRollOut = (dusbin.onReleaseOutside = function () { this.gotoAndStop(2); }); choco_machines.onPress = function () { trace((((owner.isTargetReached + ", ") + owner.machineStatus) + ", ") + owner.isPaused); if ((owner.isTargetReached && (owner.machineStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "choco_machines"; owner.<\x03(owner.chomac_indicate); this.pointer._visible = true; } }; dusbin.onPress = function () { if (((owner.isTargetReached && (owner.dusbinStatus == "ready")) && (owner.machineStatus == "ready")) && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = "dusbin"; owner.<\x03(owner.dusbin_indicate); this.pointer._visible = true; } }; table1.onPress = (table2.onPress = (table3.onPress = function () { if (owner.isTargetReached && (!owner.isPaused)) { owner.isTargetReached = false; owner.selectedTarget = this._name; owner.<\x03(this); if (owner.selectedTarget == "table1") { owner.selectedTable = 1; } else if (owner.selectedTarget == "table2") { owner.selectedTable = 2; } else if (owner.selectedTarget == "table3") { owner.selectedTable = 3; } eval ("owner.orderbook" + owner.selectedTable).pointer._visible = true; } })); } function 9() { if (chocolate_container._visible) { if (keyTarget == "type_box") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_triangle.onRollOver(); } } else if (keyTarget == undefined) { if (table1._visible) { table1.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table3._visible) { table3.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); if (table3._visible) { table3.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table1._visible) { table1.onRollOver(); } } else if (keyTarget == "dusbin") { dusbin.onRollOut(); choco_machines.onRollOver(); } } function %() { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_round.onRollOver(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_box.onRollOver(); } } else if (keyTarget == undefined) { if (table1._visible) { table1.onRollOver(); } else if (table2._visible) { table2.onRollOver(); } else if (table3._visible) { table3.onRollOver(); } } else if (keyTarget == "choco_machines") { choco_machines.onRollOut(); dusbin.onRollOver(); } else if (((keyTarget == "table1") || (keyTarget == "table2")) || (keyTarget == "table3")) { eval ("this." + keyTarget).onRollOut(); choco_machines.onRollOver(); } } function () { if (keyTarget == "table1") { if (table2._visible) { table1.onRollOut(); table2.onRollOver(); } else if (table3._visible) { table1.onRollOut(); table3.onRollOver(); } } else if (keyTarget == "table2") { if (table3._visible) { table2.onRollOut(); table3.onRollOver(); } } } function () { if (keyTarget == "table3") { if (table2._visible) { table3.onRollOut(); table2.onRollOver(); } else if (table1._visible) { table3.onRollOut(); table1.onRollOver(); } } else if (keyTarget == "table2") { if (table1._visible) { table2.onRollOut(); table1.onRollOver(); } } } function () { if (chocolate_container._visible) { if (keyTarget == "type_triangle") { chocolate_container.mc.type_triangle.onRelease(); } else if (keyTarget == "type_round") { chocolate_container.mc.type_round.onRelease(); } else if (keyTarget == "type_box") { chocolate_container.mc.type_box.onRelease(); } } else { eval ("this." + keyTarget).onPress(); } } function () { eval ("this._parent.pauseClip." + pauseTarget).onRelease(); } function pauseUpNavigation() { if (pauseTarget == "btn_premium") { _parent.pauseClip.btn_premium.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_continue.onRollOver(); } } function pauseDownNavigation() { if (pauseTarget == "pause") { _parent.pauseClip.btn_continue.onRollOver(); } else if (pauseTarget == "btn_continue") { _parent.pauseClip.btn_continue.onRollOut(); _parent.pauseClip.btn_restart.onRollOver(); } else if (pauseTarget == "btn_restart") { _parent.pauseClip.btn_restart.onRollOut(); _parent.pauseClip.btn_mainmenu.onRollOver(); } else if (pauseTarget == "btn_mainmenu") { _parent.pauseClip.btn_mainmenu.onRollOut(); _parent.pauseClip.btn_premium.onRollOver(); } } function updateScore() { scoreClip.score_txt.text = score; scoreClip.loading.gotoAndStop(score); if ((score >= 80) && (scoreClip.target._currentframe == 1)) { scoreClip.target.gotoAndPlay(1); if (_global.soundstat == "onn") { _root.target_score_Sound.start(); } } if ((score >= 150) && (scoreClip.expert._currentframe == 1)) { scoreClip.expert.gotoAndPlay(1); if (_global.soundstat == "onn") { _root.expert_score_Sound.start(); } } } function onEnterFrame() { var owner = this; if ((!isPopup) && (!owner.isPaused)) { this.8(); } if (machineshake == "onn") { \x18 = -\x18; choco_machines._x = choco_machines._x + ((1 * \x18) / 2); choco_machines._y = choco_machines._y + ((1 * \x18) / 2); } _parent.pauseClip.btn_continue.onRollOver = (_parent.pauseClip.btn_restart.onRollOver = (_parent.pauseClip.btn_mainmenu.onRollOver = (_parent.pauseClip.btn_premium.onRollOver = function () { owner._parent.pauseClip.btn_continue.onRollOut(); owner._parent.pauseClip.btn_restart.onRollOut(); owner._parent.pauseClip.btn_mainmenu.onRollOut(); owner._parent.pauseClip.btn_premium.onRollOut(); owner.pauseTarget = this._name; this.gotoAndStop(2); }))); _parent.pauseClip.btn_continue.onRollOut = (_parent.pauseClip.btn_restart.onRollOut = (_parent.pauseClip.btn_mainmenu.onRollOut = (_parent.pauseClip.btn_premium.onRollOut = function () { this.gotoAndStop(1); }))); _parent.pauseClip.btn_continue.onRelease = function () { owner.isPaused = false; owner.isPopup = false; owner.btn_pause._visible = true; owner._parent.pauseClip._visible = false; owner.)\x03(); }; _parent.pauseClip.btn_restart.onRelease = function () { owner.(\x03(); owner._parent.play(); }; _parent.pauseClip.btn_mainmenu.onRelease = function () { owner.(\x03(); owner._parent.gotoAndStop("mainmenu"); }; _parent.pauseClip.btn_premium.onRelease = function () { this.getURL(_root["^\x03"], "_blank"); }; popup_mc.btn_ok.onRollOver = function () { this.gotoAndStop(2); }; popup_mc.btn_ok.onRollOut = (popup_mc.btn_ok.onReleaseOutside = function () { this.gotoAndStop(1); }); chocolate_container.mc.type_triangle.onRollOver = (chocolate_container.mc.type_round.onRollOver = (chocolate_container.mc.type_box.onRollOver = function () { owner.keyTarget = this._name; owner.chocolate_container.mc.type_triangle.gotoAndStop(1); owner.chocolate_container.mc.type_round.gotoAndStop(1); owner.chocolate_container.mc.type_box.gotoAndStop(1); this.gotoAndStop(2); })); chocolate_container.mc.type_triangle.onRelease = (chocolate_container.mc.type_round.onRelease = (chocolate_container.mc.type_box.onRelease = function () { owner.infoClip._visible = false; owner.chocolateClip._visible = true; owner.chocolateClip.gotoAndStop(this._name); owner.chocolateClip.mc.gotoAndPlay(1); owner.intervalstatus = "chocolateready"; owner.isTargetReached = true; if (owner.salesGirl.chocolateCount == 0) { owner.preferred_chocolate1 = this._name; } else if (owner.salesGirl.chocolateCount == 1) { owner.preferred_chocolate2 = this._name; } owner.preparecnt = 0; owner.process_interval = setInterval(owner.IdleProcess, 100, owner); owner.chocolate_container.gotoAndStop(2); owner.machineshake = "onn"; owner.keyTarget = "choco_machines"; if (_global.soundstat == "onn") { _root.choco_producing_Sound.start(); } })); chocolate_container.mc.btn_close.onRelease = function () { owner.machineStatus = "ready"; owner.chocolate_container._visible = false; owner.isPopup = false; owner.keyTarget = "choco_machines"; }; reportMc.btn_continue.onRelease = function () { owner.(\x03(); _global.calenderfrom = "game"; owner._parent.gotoAndStop("calender"); }; popup_mc.btn_ok.onRelease = function () { if (owner.popup_info == "welcome") { owner.9\x02(); owner.popup_info = "chocolate_machine_intro"; owner.choco_machines._visible = true; owner.choco_machines.gotoAndStop(1); owner.choco_machines.single_machine.intro.gotoAndPlay(1); _global.popupText = "This is the BOXED CHOCOLATE machine. It produces round, square and triangle shaped chocolates."; owner["0"] = setInterval(owner.ShowPopup, 4000, owner); } else if (owner.popup_info == "chocolate_machine_intro") { owner.9\x02(); owner.popup_info = "serve_start"; owner.dusbin._visible = true; owner.choco_machines.single_machine.gotoAndStop(2); owner.dusbin.dusbin_intro.gotoAndPlay(1); _global.popupText = "What happens if you make a mistake? No worries, just throw the unwanted chocolate to the TRASH BIN. Ready to start?"; owner["0"] = setInterval(owner.ShowPopup, 4000, owner); } else if (owner.popup_info == "serve_start") { owner.9\x02(); owner.popup_info = ""; var _local2 = owner.@\x03(0, 2); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[_local2]); owner.isPopup = false; owner.popup_info = "level1_start"; owner.bg.gotoAndStop(2); owner.btn_pasue._visible = true; owner.shopopenClip._visible = true; owner.shopopenClip.gotoAndPlay(1); owner.infoClip._visible = true; owner.infoClip.gotoAndStop(2); owner.infoClip.info.text = "Learn the basics. Click on the customer to hand her a MENU."; owner.btn_pause._visible = true; } else if (owner.popup_info == "order") { owner.9\x02(); owner.isPopup = false; owner.popup_info = ""; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; owner.btn_pause._visible = true; } else if (owner.popup_info == "mismatch") { owner.9\x02(); owner.isPopup = false; owner.btn_pause._visible = true; } }; } function 8() { var _local3 = (salesGirl._x + salesGirl.pointer._x) - %\x02._x; var _local2 = (salesGirl._y + salesGirl.pointer._y) - %\x02._y; var _local5 = Math.sqrt((_local2 * _local2) + (_local3 * _local3)); var _local4 = 10; if (_local5 > _local4) { salesGirl._x = salesGirl._x + (Math.cos(\x12) * 12); salesGirl._y = salesGirl._y + (Math.sin(\x12) * 12); } else if (!isTargetReached) { isTargetReached = true; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); \x1D\x02(); updateScore(); } } function (_arg1) { clearInterval(_arg1["\x10\x03"]); _arg1.infoClip._visible = true; _arg1.infoClip.gotoAndStop(2); _arg1.infoClip.info.text = "Nice! She wants a round box of chocolate. Click on the BOXED CHOCOLATE MACHINE and select the round box of chocolate to produce it."; _arg1.selectClip._visible = true; _arg1.selectClip._x = _arg1.choco_machines._x; _arg1.selectClip._y = _arg1.choco_machines._y - 80; } function <(mc) { if (!isPopup) { %\x02 = mc; var \x1F\x02 = (eval (mc)._x - (salesGirl._x + salesGirl.pointer._x)); var ! = (eval (mc)._y - (salesGirl._y + salesGirl.pointer._y)); \x12 = Math.atan2(!, \x1F\x02); if (Math.abs(\x1F\x02) > Math.abs(!)) { if (\x1F\x02 > 0) { ,\x02 = "right"; } else { ,\x02 = "left"; } } else if (! > 0) { ,\x02 = "down"; } else { ,\x02 = "up"; } if (\x15\x02 != selectedTarget) { \x15\x02 = selectedTarget; salesGirl.gotoAndStop(,\x02); salesGirl.girlwalk.gotoAndStop(girlwalkframe - 1); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); } } } function ShowPopup(_arg1) { clearInterval(_arg1["0"]); _arg1.btn_pause._visible = false; _arg1.isPopup = true; _arg1.popup_mc._visible = true; _arg1.popup_mc.swapDepths(_arg1.getNextHighestDepth()); _arg1.popup_mc.gotoAndPlay(1); } function 9() { popup_mc.gotoAndStop(1); popup_mc._visible = false; } function CallCustomer(_arg1, _arg2) { if (!_arg1.isPaused) { clearInterval(_arg1.customerEnterInterval); _arg1.selectClip._visible = true; _arg1.customerEnter(_arg2); } } function CallCustomer2(owner, lobby) { if (!owner.isPaused) { clearInterval(owner.customerEnterInterval2); owner.customerEnter(lobby); owner.selectClip._visible = true; owner.selectClip._x = eval ("owner.orderbook" + owner.rantable1)._x - 20; owner.selectClip._y = eval ("owner.orderbook" + owner.rantable1)._y - 80; owner.infoClip._visible = true; owner.infoClip.gotoAndStop(2); owner.infoClip.info.text = "Excellent! Let\u2019s learn how to make COMBOS. Click on the next customer to hand her a MENU."; } } function customerEnter(_arg2) { if (_arg2 == 1) { table1._visible = true; customer1 = attachMovie("younglady", "younglady1", ([_arg2 - 1], {_x:115, _y:356}); orderbook1 = attachMovie("orderbook", "orderbook1", getNextHighestDepth(), {_x:170, _y:374}); orderbook1.type = "book"; selectClip._x = orderbook1._x - 20; selectClip._y = orderbook1._y - 80; } else if (_arg2 == 2) { table2._visible = true; customer2 = attachMovie("younglady", "younglady2", ([_arg2 - 1], {_x:119, _y:235}); orderbook2 = attachMovie("orderbook", "orderbook2", getNextHighestDepth(), {_x:177, _y:278}); orderbook2.type = "book"; selectClip._x = orderbook2._x - 20; selectClip._y = orderbook2._y - 80; } else if (_arg2 == 3) { table3._visible = true; customer3 = attachMovie("younglady", "younglady3", ([_arg2 - 1], {_x:127, _y:140}); orderbook3 = attachMovie("orderbook", "orderbook3", getNextHighestDepth(), {_x:184, _y:185}); orderbook3.type = "book"; selectClip._x = orderbook3._x - 20; selectClip._y = orderbook3._y - 80; } customerCount++; salesGirl.swapDepths(getNextHighestDepth()); infoClip.swapDepths(getNextHighestDepth()); selectClip.swapDepths(getNextHighestDepth()); scoreIndicateClip.swapDepths(getNextHighestDepth()); chocolate_container.swapDepths(getNextHighestDepth()); comboClip.swapDepths(getNextHighestDepth()); reportMc.swapDepths(getNextHighestDepth()); } function () { var owner = this; if (selectedTarget == "choco_machines") { choco_machines.pointer._visible = false; if (orderTaken <= 0) { cancel_mc._visible = true; cancel_mc._x = choco_machines._x + 100; cancel_mc._y = choco_machines._y + 100; cancel_mc.gotoAndPlay(1); } else if (salesGirl.chocolateCount < orderTaken) { if (intervalstatus == "chocolateready") { intervalstatus = "empty"; salesGirl.chocolateCount++; chocolateClip._visible = false; salesGirl.gotoAndStop(2); if ((orderTaken == 1) && (iscorrectChocolateChoose)) { infoClip._visible = true; owner.infoClip.gotoAndStop(3); infoClip.info.text = "Take the chocolate to the customer!"; selectClip._visible = true; selectClip._x = eval ("this.orderbook" + selectedTable)._x - 20; selectClip._y = eval ("this.orderbook" + selectedTable)._y - 80; } else if (((orderTaken == 2) && (iscorrectChocolateChoose)) && (salesGirl.chocolateCount == 1)) { infoClip._visible = true; owner.infoClip.gotoAndStop(2); infoClip.info.text = "Good! Now click on the BOXED CHOCOLATE MACHINE again to produce another box."; selectClip._visible = true; selectClip._x = choco_machines._x; selectClip._y = choco_machines._y - 80; } else if (!iscorrectChocolateChoose) { infoClip._visible = true; owner.infoClip.gotoAndStop(3); infoClip.info.text = "Take it to the TRASH BIN!"; selectClip._visible = true; selectClip._x = dusbin._x - 50; selectClip._y = dusbin._y - 100; } else { infoClip._visible = false; selectClip._visible = true; selectClip._x = eval ("this.orderbook" + rantable1)._x - 20; selectClip._y = eval ("this.orderbook" + rantable1)._y - 80; } girlwalkframe = salesGirl.chocolateCount * 4; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if ((orderbook1.neededchocolate == preferred_chocolate1) || (orderbook1.neededchocolate == preferred_chocolate2)) { orderbook1.green_highlight._visible = true; } if ((orderbook2.neededchocolate == preferred_chocolate1) || (orderbook2.neededchocolate == preferred_chocolate2)) { orderbook2.green_highlight._visible = true; } if ((orderbook3.neededchocolate == preferred_chocolate1) || (orderbook3.neededchocolate == preferred_chocolate2)) { orderbook3.green_highlight._visible = true; } } else if ((!iscorrectChocolateChoose) && (salesGirl.chocolateCount >= 1)) { cancel_mc._visible = true; cancel_mc._x = choco_machines._x + 100; cancel_mc._y = choco_machines._y + 100; cancel_mc.gotoAndPlay(1); } else if (eval ("this.orderbook" + selectedTable).type == "money") { cancel_mc._visible = true; cancel_mc._x = choco_machines._x + 100; cancel_mc._y = choco_machines._y + 100; cancel_mc.gotoAndPlay(1); } else { chocolate_container._visible = true; chocolate_container.gotoAndStop(1); chocolate_container.mc.gotoAndPlay(1); machineStatus = "notready"; isPopup = true; keyTarget = "type_round"; } } else { cancel_mc._visible = true; cancel_mc._x = choco_machines._x + 100; cancel_mc._y = choco_machines._y + 100; cancel_mc.gotoAndPlay(1); } } else if (selectedTarget == "dusbin") { dusbin.pointer._visible = false; if (orderTaken <= 0) { cancel_mc._visible = true; cancel_mc._x = dusbin._x + 25; cancel_mc._y = dusbin._y + 50; cancel_mc.gotoAndPlay(1); } else if (orderTaken == 1) { if (salesGirl.chocolateCount >= 1) { if (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) { iscorrectChocolateChoose = true; salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); selectClip._visible = true; selectClip._x = choco_machines._x; selectClip._y = choco_machines._y - 80; } else { cancel_mc._visible = true; cancel_mc._x = dusbin._x + 25; cancel_mc._y = dusbin._y + 50; cancel_mc.gotoAndPlay(1); } } else { cancel_mc._visible = true; cancel_mc._x = dusbin._x + 25; cancel_mc._y = dusbin._y + 50; cancel_mc.gotoAndPlay(1); } } else if (orderTaken == 2) { if (salesGirl.chocolateCount == 2) { if ((eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) || (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate2)) { iscorrectChocolateChoose = true; salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); selectClip._visible = true; selectClip._x = choco_machines._x; selectClip._y = choco_machines._y - 80; } else { cancel_mc._visible = true; cancel_mc._x = dusbin._x + 25; cancel_mc._y = dusbin._y + 50; cancel_mc.gotoAndPlay(1); } } else if (salesGirl.chocolateCount == 1) { if (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) { iscorrectChocolateChoose = true; salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); selectClip._visible = true; selectClip._x = choco_machines._x; selectClip._y = choco_machines._y - 80; } else { cancel_mc._visible = true; cancel_mc._x = dusbin._x + 25; cancel_mc._y = dusbin._y + 50; cancel_mc.gotoAndPlay(1); } } else { cancel_mc._visible = true; cancel_mc._x = dusbin._x + 25; cancel_mc._y = dusbin._y + 50; cancel_mc.gotoAndPlay(1); } } } else if (((selectedTarget == "table1") || (selectedTarget == "table2")) || (selectedTarget == "table3")) { eval ("this.orderbook" + selectedTable).pointer._visible = false; if (eval ("this.orderbook" + selectedTable).type == "book") { eval ("this.orderbook" + selectedTable).type = "chocolateOrder"; eval ("this.orderbook" + selectedTable).neededchocolate = "type_round"; eval ("this.customer" + selectedTable).neededchocolate = "type_round"; eval ("this.orderbook" + selectedTable).gotoAndStop(2); eval ("this.customer" + selectedTable).gotoAndStop(3); eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).green_highlight._visible = false; selectClip._visible = false; infoClip._visible = false; orderTaken++; trace((("order=" + rantable1) + ", ") + rantable2); if (orderTaken == 1) { score = score + 2; if (popup_info != "level1_start") { infoClip._visible = true; owner.infoClip.gotoAndStop(3); infoClip.info.text = "Then click on the other customer to make a COMBO."; selectClip._visible = true; if (rantable2 != selectedTable) { selectClip._x = eval ("owner.orderbook" + rantable2)._x - 20; selectClip._y = eval ("owner.orderbook" + rantable2)._y - 80; } } else if (popup_info == "level1_start") { owner.machineStatus = "notready"; \x19 = setInterval(\x02, 3000, this); popup_info = ""; owner.ismoveready = true; owner.dusbinStatus = "ready"; } if (_global.soundstat == "onn") { _root.combo1_Sound.start(); } } else if (orderTaken == 2) { infoClip._visible = true; owner.infoClip.gotoAndStop(1); infoClip.info.text = "Well done! Let\u2019s make another COMBO. Click on the BOXED CHOCOLATE MACHINE to produce a round box of chocolate."; score = score + 4; machineStatus = "ready"; dusbinStatus = "ready"; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop("two"); comboClip.combo.gotoAndPlay(1); if (_global.soundstat == "onn") { _root.combo2_Sound.start(); } } } else if (eval ("this.orderbook" + selectedTable).type == "chocolateOrder") { if (salesGirl.chocolateCount >= 1) { if (orderTaken == 1) { if (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) { cancel_mc._visible = true; cancel_mc.swapDepths(getNextHighestDepth()); cancel_mc._x = eval ("this.orderbook" + selectedTable)._x + 40; cancel_mc._y = eval ("this.orderbook" + selectedTable)._y + 30; cancel_mc.gotoAndPlay(1); } else { if (!\x10\x02) { score = score + 10; } else { score = score + 20; } salesGirl.chocolateCount--; girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); infoClip._visible = true; owner.infoClip.gotoAndStop(3); infoClip.info.text = "Great! Now collect the money on the counter!"; selectClip._visible = true; selectClip._x = eval ("this.orderbook" + selectedTable)._x - 20; selectClip._y = eval ("this.orderbook" + selectedTable)._y - 80; if (_global.soundstat == "onn") { _root.combo1_Sound.start(); } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } } } else if ((orderTaken == 2) && (owner.salesGirl.chocolateCount == 2)) { if ((eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) || (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate2)) { cancel_mc._visible = true; cancel_mc.swapDepths(getNextHighestDepth()); cancel_mc._x = eval ("this.orderbook" + selectedTable)._x + 40; cancel_mc._y = eval ("this.orderbook" + selectedTable)._y + 30; cancel_mc.gotoAndPlay(1); } else { girlwalkframe = girlwalkframe / 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); eval ("this.orderbook" + selectedTable).type = "money"; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(1); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable).gotoAndStop(3); eval ("this.customer" + selectedTable).gotoAndStop(5); infoClip._visible = true; if (infoClip.info.text == "Great! Now give the second box to the next customer.") { comboClip._x = eval ("this.customer" + selectedTable)._x - 20; comboClip._y = eval ("this.customer" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop("two"); comboClip.combo.gotoAndPlay(1); score = score + 20; owner.infoClip.gotoAndStop(1); infoClip.info.text = "Well done! You can gain COMBO bonuses by doing similar actions in a row. Collect the money and you have accomplished the first level."; } else { score = score + 10; owner.infoClip.gotoAndStop(3); infoClip.info.text = "Great! Now give the second box to the next customer."; if (eval ("this.orderbook" + rantable2).type != "money") { selectClip._visible = true; selectClip._x = eval ("this.orderbook" + rantable2)._x - 20; selectClip._y = eval ("this.orderbook" + rantable2)._y - 80; } } if (_global.soundstat == "onn") { _root.combo2_Sound.start(); } if (_global.soundstat == "onn") { _root.customer_happy_Sound.start(); } } } else { cancel_mc._visible = true; cancel_mc.swapDepths(getNextHighestDepth()); cancel_mc._x = eval ("this.orderbook" + selectedTable)._x + 40; cancel_mc._y = eval ("this.orderbook" + selectedTable)._y + 30; cancel_mc.gotoAndPlay(1); } } } else if (eval ("this.orderbook" + selectedTable).type == "money") { if (orderTaken == 1) { orderTaken--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.customer" + selectedTable)._visible = false; eval ("this.table" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; owner.selectClip._visible = false; if (orderTaken == 0) { salesGirl.chocolateCount = 0; girlwalkframe = 2; salesGirl.girlwalk.gotoAndStop(girlwalkframe); salesGirl.girlwalk.chocobox1.gotoAndStop(preferred_chocolate1); salesGirl.girlwalk.chocobox2.gotoAndStop(preferred_chocolate2); if (!\x10\x02) { if (_global.soundstat == "onn") { _root.money1_Sound.start(); } score = score + 27; \x10\x02 = true; owner.selectClip._visible = false; owner.table2._visible = (owner.table3._visible = false); owner.table1._visible = false; var ,\x03 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval = setInterval(owner.CallCustomer, 2000, owner, owner.lobbyArr[,\x03]); var \x04 = owner.lobbyArr[,\x03]; customerOrderbook1 = \x04; owner.lobbyArr.splice(,\x03, 1); var ,\x03 = owner.@\x03(0, owner.lobbyArr.length - 1); owner.customerEnterInterval2 = setInterval(owner.CallCustomer2, 2500, owner, owner.lobbyArr[,\x03]); var ;\x02 = owner.lobbyArr[,\x03]; customerOrderbook2 = ;\x02; owner.lobbyArr.splice(,\x03, 1); if (\x04 > ;\x02) { rantable1 = \x04; rantable2 = ;\x02; } else { rantable1 = ;\x02; rantable2 = \x04; } infoClip._visible = false; machineStatus = "notready"; dusbinStatus = "notready"; } else { if (_global.soundstat == "onn") { _root.money2_Sound.start(); } comboClip._x = eval ("this.orderbook" + selectedTable)._x - 20; comboClip._y = eval ("this.orderbook" + selectedTable)._y + 20; comboClip._visible = true; comboClip.gotoAndStop("two"); comboClip.combo.gotoAndPlay(1); score = score + 54; machineStatus = "notready"; isPopup = true; _global.report_moneyEarned = 120; _global.report_tips = 36; if (_global.levelSelected < 2) { _global.levelSelected = 2; } if (_global.levelFinished <= 1) { _global.levelFinished = 1; } _global.level1Score = score; _global.level1Status = "expert"; btn_pause._visible = false; dusbinStatus = "notready"; reportMc._visible = true; reportMc.gotoAndPlay(2); infoClip._visible = false; if (_global.soundstat == "onn") { _root.level_complete_Sound.start(); } } } } else if (orderTaken == 2) { if ((eval ("this.orderbook" + customerOrderbook1).type == "money") && (eval ("this.orderbook" + customerOrderbook2).type == "money")) { selectClip._visible = false; score = score + 27; orderTaken--; salesGirl.chocolateCount--; eval ("this.coin_Anim" + selectedTable)._visible = true; eval ("this.coin_Anim" + selectedTable).gotoAndStop(2); eval ("this.coin_Anim" + selectedTable).coin.gotoAndPlay(1); eval ("this.orderbook" + selectedTable)._visible = false; eval ("this.customer" + selectedTable)._visible = false; eval ("this.orderbook" + selectedTable).type = "empty"; if (_global.soundstat == "onn") { _root.money1_Sound.start(); } } else { cancel_mc._visible = true; cancel_mc.swapDepths(getNextHighestDepth()); cancel_mc._x = eval ("this.orderbook" + selectedTable)._x + 40; cancel_mc._y = eval ("this.orderbook" + selectedTable)._y + 30; cancel_mc.gotoAndPlay(1); } selectClip._visible = true; if (rantable2 != selectedTable) { selectClip._x = eval ("owner.orderbook" + rantable2)._x - 20; selectClip._y = eval ("owner.orderbook" + rantable2)._y - 80; } else { selectClip._x = eval ("owner.orderbook" + rantable1)._x - 20; selectClip._y = eval ("owner.orderbook" + rantable1)._y - 80; } } } } } function (_arg1) { clearInterval(_arg1["\x19"]); _arg1.machineStatus = "ready"; _arg1.infoClip._visible = true; _arg1.infoClip.gotoAndStop(1); _arg1.infoClip.info.text = "Nice! She wants a round box of chocolate. Click on the BOXED CHOCOLATE MACHINE and select the round box of chocolate to produce it."; _arg1.selectClip._visible = true; _arg1.selectClip._x = _arg1.choco_machines._x; _arg1.selectClip._y = _arg1.choco_machines._y - 80; } function IdleProcess(owner) { if (!owner.isPaused) { owner.preparecnt++; if (owner.preparecnt >= 20) { clearInterval(owner.process_interval); if (owner.intervalstatus == "chocolateready") { owner.machineshake = "off"; owner.machineStatus = "ready"; owner.isPopup = false; if (_global.soundstat == "onn") { _root.choco_done_Sound.start(); } if (owner.orderTaken == 1) { if (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) { owner.iscorrectChocolateChoose = false; owner.popup_info = "mismatch"; _global.popupText = "Oops! You need to make a ROUND box of chocolate. Click on the chocolate to pick it up and then take it to the TRASH BIN!"; owner.ShowPopup(owner); } else { owner.iscorrectChocolateChoose = true; owner.infoClip._visible = true; owner.infoClip.gotoAndStop(2); owner.infoClip.info.text = "Great! Now click on the BOXED CHOCOLATE MACHINE to pick up the chocolate."; } } else if (owner.orderTaken == 2) { if (owner.salesGirl.chocolateCount == 0) { if (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) { owner.iscorrectChocolateChoose = false; owner.popup_info = "mismatch"; _global.popupText = "Oops! You need to make a ROUND box of chocolate. Click on the chocolate to pick it up and then take it to the TRASH BIN!"; owner.ShowPopup(owner); } else { owner.iscorrectChocolateChoose = true; owner.infoClip._visible = true; owner.infoClip.gotoAndStop(3); owner.infoClip.info.text = "Great! Pick up the round box of chocolate."; } } else if (owner.salesGirl.chocolateCount == 1) { if ((eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate1) || (eval ("owner.customer" + owner.selectedTable).neededchocolate != owner.preferred_chocolate2)) { owner.iscorrectChocolateChoose = false; owner.popup_info = "mismatch"; _global.popupText = "Oops! You need to make a ROUND box of chocolate. Click on the chocolate to pick it up and then take it to the TRASH BIN!"; owner.ShowPopup(owner); } else { owner.iscorrectChocolateChoose = true; owner.infoClip._visible = true; owner.infoClip.gotoAndStop(2); owner.infoClip.info.text = "Nice! Pick up the second box and take the boxes to the customers."; owner.selectClip._visible = true; owner.selectClip._x = owner.choco_machines._x; owner.selectClip._y = owner.choco_machines._y - 80; } } } } } } } function @(_arg4, _arg5) { var _local3 = _arg5 - _arg4; var _local2 = Math.random() * _local3; var _local1 = Math.round(_local2); _local1 = _local1 + _arg4; return(_local1); } function () { var _local2 = this; stopAllSounds(); _local2.bg.blink.gotoAndStop(_local2.bg.blink._currentframe); _local2.customer1.customer.gotoAndStop(_local2.customer1.customer._currentframe); _local2.customer2.customer.gotoAndStop(_local2.customer2.customer._currentframe); _local2.customer3.customer.gotoAndStop(_local2.customer3.customer._currentframe); _local2.special_choco_machines.machine1.blink.gotoAndStop(_local2.special_choco_machines.machine1.blink._currentframe); _local2.choco_machines.single_machine.blink.gotoAndStop(_local2.choco_machines.single_machine.blink._currentframe); _local2.salesGirl.coffeeicon.smoke.gotoAndStop(_local2.salesGirl.coffeeicon.smoke._currentframe); _local2.customer4.customer.gotoAndStop(_local2.customer4.customer._currentframe); _local2.coin_Anim1.coin.gotoAndStop(_local2.coin_Anim1.coin._currentframe); _local2.coin_Anim2.coin.gotoAndStop(_local2.coin_Anim2.coin._currentframe); _local2.coin_Anim3.coin.gotoAndStop(_local2.coin_Anim3.coin._currentframe); _local2.coin_Anim4.coin.gotoAndStop(_local2.coin_Anim4.coin._currentframe); _local2.comboClip.combo.gotoAndStop(_local2.comboClip.combo._currentframe); _local2.orderbook1.heartinClip.gotoAndStop(_local2.orderbook1.heartinClip._currentframe); _local2.orderbook2.heartinClip.gotoAndStop(_local2.orderbook2.heartinClip._currentframe); _local2.orderbook3.heartinClip.gotoAndStop(_local2.orderbook3.heartinClip._currentframe); _local2.orderbook4.heartinClip.gotoAndStop(_local2.orderbook4.heartinClip._currentframe); _local2.curScoreClip.gotoAndStop(_local2.curScoreClip._currentframe); _local2.coin_Anim1.coin.coin_rotate.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate._currentframe); _local2.coin_Anim1.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate2._currentframe); _local2.coin_Anim1.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate3._currentframe); _local2.coin_Anim1.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim1.coin.coin_rotate4._currentframe); _local2.coin_Anim2.coin.coin_rotate.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate._currentframe); _local2.coin_Anim2.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate2._currentframe); _local2.coin_Anim2.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate3._currentframe); _local2.coin_Anim2.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim2.coin.coin_rotate4._currentframe); _local2.coin_Anim3.coin.coin_rotate.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate._currentframe); _local2.coin_Anim3.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate2._currentframe); _local2.coin_Anim3.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate3._currentframe); _local2.coin_Anim3.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim3.coin.coin_rotate4._currentframe); _local2.coin_Anim4.coin.coin_rotate.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate._currentframe); _local2.coin_Anim4.coin.coin_rotate2.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate2._currentframe); _local2.coin_Anim4.coin.coin_rotate3.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate3._currentframe); _local2.coin_Anim4.coin.coin_rotate4.gotoAndStop(_local2.coin_Anim4.coin.coin_rotate4._currentframe); _local2.comboClip.combo.coin_rotate.gotoAndStop(_local2.comboClip.combo.coin_rotate._currentframe); _local2.chocolateClip.mc.gotoAndStop(_local2.chocolateClip.mc._currentframe); _local2.selectClip.gotoAndStop(_local2.selectClip._currentframe); } function )() { var _local4 = this; if (_global.soundstat == "onn") { _root.gameSound.start(); } _local4.bg.blink.gotoAndPlay(_local4.bg.blink._currentframe); _local4.customer1.customer.gotoAndPlay(_local4.customer1.customer._currentframe); _local4.customer2.customer.gotoAndPlay(_local4.customer2.customer._currentframe); _local4.customer3.customer.gotoAndPlay(_local4.customer3.customer._currentframe); _local4.special_choco_machines.machine1.blink.gotoAndPlay(_local4.special_choco_machines.machine1.blink._currentframe); _local4.choco_machines.single_machine.blink.gotoAndPlay(_local4.choco_machines.single_machine.blink._currentframe); _local4.salesGirl.coffeeicon.smoke.gotoAndPlay(_local4.salesGirl.coffeeicon.smoke._currentframe); _local4.customer4.customer.gotoAndPlay(_local4.customer4.customer._currentframe); _local4.coin_Anim1.coin.gotoAndPlay(_local4.coin_Anim1.coin._currentframe - 1); _local4.coin_Anim2.coin.gotoAndPlay(_local4.coin_Anim2.coin._currentframe - 1); _local4.coin_Anim3.coin.gotoAndPlay(_local4.coin_Anim3.coin._currentframe - 1); _local4.coin_Anim4.coin.gotoAndPlay(_local4.coin_Anim4.coin._currentframe - 1); _local4.comboClip.combo.gotoAndPlay(_local4.comboClip.combo._currentframe - 1); _local4.orderbook1.heartinClip.gotoAndPlay(_local4.orderbook1.heartinClip._currentframe - 1); _local4.orderbook2.heartinClip.gotoAndPlay(_local4.orderbook2.heartinClip._currentframe - 1); _local4.orderbook3.heartinClip.gotoAndPlay(_local4.orderbook3.heartinClip._currentframe - 1); _local4.orderbook4.heartinClip.gotoAndPlay(_local4.orderbook4.heartinClip._currentframe - 1); _local4.curScoreClip.gotoAndPlay(_local4.curScoreClip._currentframe); _local4.coin_Anim1.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate._currentframe); _local4.coin_Anim1.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate2._currentframe); _local4.coin_Anim1.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate3._currentframe); _local4.coin_Anim1.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim1.coin.coin_rotate4._currentframe); _local4.coin_Anim2.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate._currentframe); _local4.coin_Anim2.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate2._currentframe); _local4.coin_Anim2.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate3._currentframe); _local4.coin_Anim2.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim2.coin.coin_rotate4._currentframe); _local4.coin_Anim3.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate._currentframe); _local4.coin_Anim3.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate2._currentframe); _local4.coin_Anim3.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate3._currentframe); _local4.coin_Anim3.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim3.coin.coin_rotate4._currentframe); _local4.coin_Anim4.coin.coin_rotate.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate._currentframe); _local4.coin_Anim4.coin.coin_rotate2.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate2._currentframe); _local4.coin_Anim4.coin.coin_rotate3.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate3._currentframe); _local4.coin_Anim4.coin.coin_rotate4.gotoAndPlay(_local4.coin_Anim4.coin.coin_rotate4._currentframe); _local4.comboClip.combo.coin_rotate.gotoAndPlay(_local4.comboClip.combo.coin_rotate._currentframe); _local4.chocolateClip.mc.gotoAndPlay(_local4.chocolateClip.mc._currentframe - 1); _local4.selectClip.gotoAndPlay(_local4.selectClip._currentframe); } function 1() { table1.onRollOut(); table2.onRollOut(); table3.onRollOut(); choco_machines.onRollOut(); dusbin.onRollOut(); } function (() { %\x02 = "table1"; lobbyArr.length = 0; lobbyArr = new Array(1, 2, 3); =\x02 = "down"; ,\x02 = ""; isPopup = false; popup_info = "welcome"; clearInterval(this["0"]); clearInterval(process_interval); clearInterval(customerEnterInterval); clearInterval(customerEnterInterval2); this["0"] = -1; isTargetReached = true; selectedTarget = ""; orderno = 0; score = 0; ismoveready = false; Key.removeListener(keylistener); Key.removeListener(5\x03); keyTarget = undefined; infoClip._visible = false; } var % = "table1"; var lobbyArr = new Array(1, 2, 3); var = = "down"; var isPopup = false; var popup_info = "welcome"; var 0 = -1; var process_interval = -1; var isTargetReached = true; var selectedTarget = ""; var orderno = 0; var ismoveready = false; var orderTaken = 0; var customerCount = 0; var machineStatus = "notready"; var dusbinStatus = "notready"; var girlwalkframe = 2; var  = false; var score = 0; var ( = new Array(-10313, -10315, -10317); var  = ""; var  = -1; var customerEnterInterval = -1; var customerEnterInterval2 = -1; var  = -1; var isPaused = false; var  = 1; var machineshake = "off"; var  = "off"; var preparecnt = 0; }
Symbol 271 Button
on (rollOver) { hud = true; } on (rollOut) { hud = false; }
Symbol 274 Button
on (release) { getURL (_root["^\x03"], "_blank"); }
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
stop();
Symbol 287 MovieClip Frame 132
_parent.gotoAndPlay(3);
Symbol 301 MovieClip Frame 1
version_info.text = _root.versionno; trace(_root.versionno);
Symbol 305 MovieClip Frame 126
_parent.gotoAndPlay("mainmenu");
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 2
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 2
stop();
Symbol 327 MovieClip Frame 1
function menuNavigation(_arg1) { btn_play.gotoAndStop(1); btn_instructions.gotoAndStop(1); btn_moregames.gotoAndStop(1); if (_arg1 == 1) { btn_play.gotoAndStop(2); } else if (_arg1 == 2) { btn_moregames.gotoAndStop(2); } } var owner = this; var cnt = 1; var maxcnt = 2; var menuobj = new Object(); Key.addListener(menuobj); menuNavigation(cnt); menuobj.onKeyDown = function () { if (Key.getCode() == 38) { if (cnt <= 1) { cnt = maxcnt; } else { cnt--; } menuNavigation(cnt); } else if (Key.getCode() == 40) { if (cnt >= maxcnt) { cnt = 1; } else { cnt++; } menuNavigation(cnt); } else if ((Key.getCode() == 32) || (Key.getCode() == 13)) { if (cnt == 1) { Key.removeListener(menuobj); btn_play.onRelease(); } else if (cnt == 2) { Key.removeListener(menuobj); btn_moregames.onRelease(); } } }; btn_play.onRollOver = function () { cnt = 1; menuNavigation(cnt); }; btn_play.onRollOut = (btn_play.onReleaseOutside = function () { btn_play.gotoAndStop(1); }); btn_moregames.onRollOver = function () { cnt = 2; menuNavigation(cnt); }; btn_moregames.onRollOut = (btn_moregames.onReleaseOutside = function () { btn_moregames.gotoAndStop(1); }); btn_play.onRelease = function () { _root["^\x02"].stop(); _global.calenderfrom = "mainmenu"; owner._parent.gotoAndStop("intro"); };
Instance of Symbol 324 MovieClip "btn_moregames" in Symbol 327 MovieClip Frame 1
on (release) { getURL (_root["^\x03"], "_blank"); }
Symbol 407 MovieClip Frame 1
function start_play(clip) { rectw = 700; recth = 500; xpos = random(rectw - 5); ypos = random(recth - 5); xyscale = random(100) + 100; eval (clip)._x = xpos; eval (clip)._rotation = random(10) - 5; eval (clip)._xscale = xyscale; eval (clip)._yscale = xyscale; clip.gotoAndPlay(3); } threshold = 28; num = random(30); if (threshold < num) { start_play(this); }
Symbol 407 MovieClip Frame 2
gotoAndPlay (1);
Symbol 407 MovieClip Frame 3
counter = random(5); gotoAndPlay("l" + counter);
Symbol 407 MovieClip Frame 133
gotoAndPlay (1);
Symbol 407 MovieClip Frame 327
gotoAndPlay (1);
Symbol 407 MovieClip Frame 449
stop(); gotoAndPlay (1);
Symbol 407 MovieClip Frame 623
stop(); gotoAndPlay (1);
Symbol 409 MovieClip Frame 1
var leafarr = new Array(); var k = 0; while (k < leafarr.length) { leafarr[k].removeMovieClip(); k++; } i = 1; while (i < 60) { duplicateMovieClip ("ani_clip", "ani_clip" + i, 16384 + i); leafarr.push(eval ("ani_clip" + i)); i++; }
Symbol 418 MovieClip Frame 1
function start_play(clip) { rectw = 700; recth = 500; xpos = random(rectw - 5); ypos = random(recth - 5); xyscale = random(100) + 100; eval (clip)._x = xpos; eval (clip)._rotation = random(10) - 5; eval (clip)._xscale = xyscale; eval (clip)._yscale = xyscale; clip.gotoAndPlay(3); } threshold = 28; num = random(30); if (threshold < num) { start_play(this); }
Symbol 418 MovieClip Frame 2
gotoAndPlay (1);
Symbol 418 MovieClip Frame 3
counter = random(20); gotoAndPlay("l" + counter);
Symbol 418 MovieClip Frame 45
gotoAndPlay (1);
Symbol 419 MovieClip Frame 1
var rainarr = new Array(); var j = 0; while (j < rainarr.length) { rainarr[j].removeMovieClip(); j++; } i = 1; while (i < 180) { duplicateMovieClip ("ani_clip", "ani_clip" + i, 16384 + i); rainarr.push(eval ("ani_clip" + i)); i++; }
Symbol 425 MovieClip Frame 15
stop();
Symbol 438 MovieClip Frame 15
stop();
Symbol 445 MovieClip Frame 1
function start_play(clip) { rectw = 700; recth = 500; xpos = random(rectw - 5); ypos = random(recth - 5); xyscale = random(100) + 100; eval (clip)._x = xpos; eval (clip)._rotation = random(10) - 5; eval (clip)._xscale = xyscale; eval (clip)._yscale = xyscale; clip.gotoAndPlay(3); } threshold = 28; num = random(30); if (threshold < num) { start_play(this); }
Symbol 445 MovieClip Frame 2
gotoAndPlay (1);
Symbol 445 MovieClip Frame 3
counter = random(5); gotoAndPlay("l" + counter);
Symbol 445 MovieClip Frame 133
gotoAndPlay (1);
Symbol 445 MovieClip Frame 327
gotoAndPlay (1);
Symbol 445 MovieClip Frame 449
stop(); gotoAndPlay (1);
Symbol 445 MovieClip Frame 623
stop(); gotoAndPlay (1);
Symbol 446 MovieClip Frame 1
var leafarr = new Array(); var k = 0; while (k < leafarr.length) { leafarr[k].removeMovieClip(); k++; } i = 1; while (i < 30) { duplicateMovieClip ("ani_clip", "ani_clip" + i, 16384 + i); leafarr.push(eval ("ani_clip" + i)); i++; }
Symbol 448 MovieClip Frame 12
stop();
Symbol 450 MovieClip Frame 15
stop();
Symbol 451 MovieClip Frame 20
stop();
Symbol 452 MovieClip Frame 13
stop(); var xScaleT = (new <\x02.transitions.Tween(sigla, "_y", <\x02.transitions.easing.Strong.easeOut, 520, 408.9, 1, true)); var mcTween = (new <\x02.transitions.Tween(box, "_alpha", <\x02.transitions.easing.Strong.easeOut, 0, 100, 3, true)); var snowarr = new Array(); var i = 0; while (i < snowarr.length) { snowarr[i].removeMovieClip(); i++; } k = 0; while (k < 100) { duplicateMovieClip (snow, "snow" + k, k); var eval (undefined) = undefined; snowarr.push(eval ("snow" + k)); k++; }
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
stop();
Symbol 453 MovieClip Frame 3
stop();
Symbol 453 MovieClip Frame 4
stop();
Symbol 453 MovieClip Frame 5
stop();
Symbol 453 MovieClip Frame 6
stop();
Symbol 453 MovieClip Frame 7
stop();
Symbol 477 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 2
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 2
stop();
Symbol 521 MovieClip Frame 23
stop();
Symbol 535 MovieClip Frame 15
stop();
Symbol 546 MovieClip Frame 15
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
stop();
Symbol 547 MovieClip Frame 3
stop();
Symbol 547 MovieClip Frame 4
stop();
Symbol 568 MovieClip Frame 1
if (_global.levelSelected > 9) { _global[">\x03"] = -100; seasonMc.gotoAndStop(2); } else { btn_left._visible = false; } monthMc._x = _global[">\x03"]; var total = 0; var curmc; var i = 1; while (i <= 10) { eval (("monthMc.level" + i) + ".hand_mc")._visible = false; i++; } if (_global.levelFinished == undefined) { _global.levelSelected = 1; _global.gotolevel = 1; _global.levelFinished = 0; eval (("monthMc.level" + _global.levelSelected) + ".hand_mc")._visible = true; monthMc.level1.gotoAndStop(2); } else { _global.gotolevel = _global.levelSelected; eval (("monthMc.level" + _global.levelSelected) + ".hand_mc")._visible = true; eval ("monthMc.level" + _global.levelSelected).gotoAndStop(2); var i = 1; while (i <= _global.levelFinished) { if (eval (("_global.level" + i) + "Status") == "expert") { eval ("monthMc.level" + i).gotoAndStop(3); if ((i != _global.levelFinished) && (_global.calenderfrom != "game")) { eval ("monthMc.level" + i).clip.gotoAndStop(10); } } else { eval ("monthMc.level" + i).gotoAndStop(4); if ((i != _global.levelFinished) && (_global.calenderfrom != "game")) { eval ("monthMc.level" + i).clip.gotoAndStop(10); } } eval ("monthMc.level" + i).blink_mc.gotoAndStop(1); eval ("monthMc.level" + i).score.text = eval (("_global.level" + i) + "Score"); total = total + eval (("_global.level" + i) + "Score"); i++; } totalscoreMc.score.text = total; } monthMc.level1.onRelease = function () { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level1.hand_mc._visible = true; monthMc.level1.blink_mc.gotoAndPlay(1); _global.gotolevel = 1; btn_play.onRelease(); }; monthMc.level2.onRelease = function () { if (_global.levelFinished >= 1) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level2.hand_mc._visible = true; monthMc.level2.blink_mc.gotoAndPlay(1); _global.gotolevel = 2; btn_play.onRelease(); } }; monthMc.level3.onRelease = function () { if (_global.levelFinished >= 2) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level3.hand_mc._visible = true; monthMc.level3.blink_mc.gotoAndPlay(1); _global.gotolevel = 3; btn_play.onRelease(); } }; monthMc.level4.onRelease = function () { if (_global.levelFinished >= 3) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level4.hand_mc._visible = true; monthMc.level4.blink_mc.gotoAndPlay(1); _global.gotolevel = 4; btn_play.onRelease(); } }; monthMc.level5.onRelease = function () { if (_global.levelFinished >= 4) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level5.hand_mc._visible = true; monthMc.level5.blink_mc.gotoAndPlay(1); _global.gotolevel = 5; btn_play.onRelease(); } }; monthMc.level6.onRelease = function () { if (_global.levelFinished >= 5) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level6.hand_mc._visible = true; monthMc.level6.blink_mc.gotoAndPlay(1); _global.gotolevel = 6; btn_play.onRelease(); } }; monthMc.level7.onRelease = function () { if (_global.levelFinished >= 6) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level7.hand_mc._visible = true; monthMc.level7.blink_mc.gotoAndPlay(1); _global.gotolevel = 7; btn_play.onRelease(); } }; monthMc.level8.onRelease = function () { if (_global.levelFinished >= 7) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level8.hand_mc._visible = true; monthMc.level8.blink_mc.gotoAndPlay(1); _global.gotolevel = 8; btn_play.onRelease(); } }; monthMc.level9.onRelease = function () { if (_global.levelFinished >= 8) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level9.hand_mc._visible = true; monthMc.level9.blink_mc.gotoAndPlay(1); _global.gotolevel = 9; btn_play.onRelease(); } }; monthMc.level10.onRelease = function () { if (_global.levelFinished >= 9) { eval (("monthMc.level" + _global.gotolevel) + ".hand_mc")._visible = false; eval ("monthMc.level" + _global.gotolevel).blink_mc.gotoAndStop(1); monthMc.level10.hand_mc._visible = true; monthMc.level10.blink_mc.gotoAndPlay(1); _global.gotolevel = 10; btn_play.onRelease(); } }; btn_play.onRelease = function () { Key.removeListener(levelkeyobj); this._parent._parent.gotoAndStop("level" + _global.gotolevel); }; btn_menu.onRelease = function () { Key.removeListener(levelkeyobj); this._parent._parent.gotoAndStop("mainmenu"); }; function levelNavigationRight() { if (levelcnt < _global.levelSelected) { eval (("monthMc.level" + levelcnt) + ".hand_mc")._visible = false; eval ("monthMc.level" + levelcnt).blink_mc.gotoAndStop(1); levelcnt++; eval (("monthMc.level" + levelcnt) + ".hand_mc")._visible = true; eval ("monthMc.level" + levelcnt).blink_mc.gotoAndPlay(1); _global.gotolevel = levelcnt; } } function levelNavigationLeft() { if (levelcnt > 1) { eval (("monthMc.level" + levelcnt) + ".hand_mc")._visible = false; eval ("monthMc.level" + levelcnt).blink_mc.gotoAndStop(1); levelcnt--; eval (("monthMc.level" + levelcnt) + ".hand_mc")._visible = true; eval ("monthMc.level" + levelcnt).blink_mc.gotoAndPlay(1); _global.gotolevel = levelcnt; } } function seasonChange(_arg1) { if ((_arg1.monthMc._x < 500) && (_arg1.monthMc._x >= -90)) { if ((_arg1.seasonMc._currentframe != 1) && (_arg1.seasonMc._currentframe != 7)) { _arg1.seasonMc.gotoAndStop(1); } } else if ((_arg1.monthMc._x < -90) && (_arg1.monthMc._x >= -920)) { if ((_arg1.seasonMc._currentframe != 2) && (_arg1.seasonMc._currentframe != 6)) { _arg1.seasonMc.gotoAndStop(2); } } else if ((_arg1.monthMc._x < -920) && (_arg1.monthMc._x >= -1750)) { if ((_arg1.seasonMc._currentframe != 3) && (_arg1.seasonMc._currentframe != 5)) { _arg1.seasonMc.gotoAndStop(3); } } else if (_arg1.monthMc._x < -1750) { if (_arg1.seasonMc._currentframe != 4) { _arg1.seasonMc.gotoAndStop(4); } } } function seasonChangeReverse(_arg1) { if ((_arg1.monthMc._x < 500) && (_arg1.monthMc._x >= -90)) { if ((_arg1.seasonMc._currentframe != 7) && (_arg1.seasonMc._currentframe != 1)) { _arg1.seasonMc.gotoAndStop(7); } } else if ((_arg1.monthMc._x < -90) && (_arg1.monthMc._x >= -920)) { if ((_arg1.seasonMc._currentframe != 6) && (_arg1.seasonMc._currentframe != 2)) { _arg1.seasonMc.gotoAndStop(6); } } else if ((_arg1.monthMc._x < -920) && (_arg1.monthMc._x >= -1750)) { if ((_arg1.seasonMc._currentframe != 5) && (_arg1.seasonMc._currentframe != 3)) { _arg1.seasonMc.gotoAndStop(5); } } else if (_arg1.monthMc._x < -1750) { if (_arg1.seasonMc._currentframe != 4) { _arg1.seasonMc.gotoAndStop(4); } } } var levelkeyobj; var rightInterval = -1; var leftInterval = -1; var owner = this; var curframe = 1; var easing = 0.003; var easingright = 0.003; var targetX; var isRightready = false; var isLeftready = false; var levelcnt; levelcnt = _global.levelSelected; levelkeyobj = new Object(); Key.addListener(levelkeyobj); levelkeyobj.onKeyDown = function () { if (Key.getCode() == 39) { levelNavigationRight(); } else if (Key.getCode() == 37) { levelNavigationLeft(); } else if (Key.getCode() == 13) { btn_play.onRelease(); } else if (Key.getAscii() == 27) { btn_menu.onRelease(); } }; btn_right.onPress = function () { targetX = -10000; isRightready = true; }; btn_left.onPress = function () { targetX = 8000; isLeftready = true; }; btn_right.onRelease = function () { isRightready = false; }; btn_left.onRelease = function () { isLeftready = false; }; this.onEnterFrame = function () { if (isRightready) { var _local2 = (targetX - monthMc._x) * easingright; monthMc._x = monthMc._x + _local2; if (monthMc._x <= -2130) { btn_right._visible = false; monthMc._x = -2130; isRightready = false; } else { btn_left._visible = true; } seasonChange(this); } if (isLeftready) { var _local2 = (targetX - monthMc._x) * easing; monthMc._x = monthMc._x + _local2; if (monthMc._x >= 430) { btn_left._visible = false; monthMc._x = 430; isLeftready = false; } else { btn_right._visible = true; } seasonChangeReverse(this); } };
Symbol 576 MovieClip Frame 3
stop();
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 2
stop();
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 2
stop();
Symbol 594 MovieClip Frame 66
stop();
Symbol 595 MovieClip Frame 16
stop();
Symbol 603 MovieClip Frame 10
stop();
Symbol 604 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 604 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 604 MovieClip Frame 2
stop();
Symbol 604 MovieClip Frame 3
stop();
Symbol 615 MovieClip Frame 61
stop();
Symbol 616 MovieClip Frame 15
stop();
Symbol 625 MovieClip Frame 9
stop();
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 2
stop();
Symbol 626 MovieClip Frame 3
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 2
stop();
Symbol 636 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 636 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 636 MovieClip Frame 2
stop();
Symbol 675 MovieClip Frame 26
stop();
Symbol 676 MovieClip Frame 51
stop();
Symbol 697 MovieClip Frame 26
stop();
Symbol 698 MovieClip Frame 58
stop();
Symbol 723 MovieClip Frame 25
stop();
Symbol 724 MovieClip Frame 72
stop();
Symbol 725 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 2
stop();
Symbol 725 MovieClip Frame 3
stop();
Symbol 775 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 64
stop();
Symbol 787 MovieClip Frame 16
stop();
Symbol 796 MovieClip Frame 10
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 2
stop();
Symbol 797 MovieClip Frame 3
stop();
Symbol 815 MovieClip Frame 64
stop();
Symbol 816 MovieClip Frame 16
stop();
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 2
stop();
Symbol 827 MovieClip Frame 3
stop();
Symbol 828 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 828 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 828 MovieClip Frame 2
stop();
Symbol 832 MovieClip Frame 26
stop();
Symbol 833 MovieClip Frame 121
stop();
Symbol 837 MovieClip Frame 26
stop();
Symbol 838 MovieClip Frame 123
stop();
Symbol 846 MovieClip Frame 26
stop();
Symbol 847 MovieClip Frame 151
stop();
Symbol 855 MovieClip Frame 26
stop();
Symbol 856 MovieClip Frame 151
stop();
Symbol 864 MovieClip Frame 26
stop();
Symbol 865 MovieClip Frame 151
stop();
Symbol 873 MovieClip Frame 26
stop();
Symbol 874 MovieClip Frame 150
stop();
Symbol 875 MovieClip Frame 1
stop();
Symbol 875 MovieClip Frame 2
stop();
Symbol 875 MovieClip Frame 3
stop();
Symbol 875 MovieClip Frame 4
stop();
Symbol 875 MovieClip Frame 5
stop();
Symbol 875 MovieClip Frame 6
stop();
Symbol 880 MovieClip Frame 75
stop();
Symbol 881 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 15
stop();
Symbol 889 MovieClip Frame 10
stop();
Symbol 890 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 890 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 890 MovieClip Frame 2
stop();
Symbol 890 MovieClip Frame 3
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 126
stop();
Symbol 944 MovieClip Frame 55
stop();
Symbol 948 MovieClip Frame 10
stop();
Symbol 970 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 2
stop();
Symbol 970 MovieClip Frame 3
stop();
Symbol 991 MovieClip Frame 32
stop(); this._visible = false;
Symbol 1022 MovieClip Frame 35
stop();
Symbol 1053 MovieClip Frame 1
stop();
Symbol 1053 MovieClip Frame 2
stop();
Symbol 1055 MovieClip Frame 1
stop();
Symbol 1055 MovieClip Frame 2
stop();
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1057 MovieClip Frame 2
stop();
Symbol 1059 MovieClip Frame 1
stop();
Symbol 1059 MovieClip Frame 2
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 2
stop();
Symbol 1063 MovieClip Frame 1
stop();
Symbol 1063 MovieClip Frame 2
stop();
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 2
stop();
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 2
stop();
Symbol 1066 MovieClip Frame 3
stop();
Symbol 1066 MovieClip Frame 4
stop();
Symbol 1066 MovieClip Frame 5
stop();
Symbol 1066 MovieClip Frame 6
stop();
Symbol 1066 MovieClip Frame 7
stop();
Symbol 1066 MovieClip Frame 8
stop();
Symbol 1066 MovieClip Frame 9
stop();
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 2
stop();
Symbol 1084 MovieClip Frame 3
stop();
Symbol 1084 MovieClip Frame 4
stop();
Symbol 1084 MovieClip Frame 5
stop();
Symbol 1084 MovieClip Frame 6
stop();
Symbol 1147 MovieClip Frame 21
stop(); _parent._parent._parent.girlwalkframe = 2; _parent.gotoAndStop(2);
Symbol 1154 MovieClip Frame 21
stop(); _global["\x12\x03"] = true; _global["\r\x03"] = chocobox1._currentframe; _parent._parent._parent.girlwalkframe = 4; _parent.gotoAndStop(4);
Symbol 1161 MovieClip Frame 21
stop(); _global["\x12\x03"] = true; _global["\r\x03"] = chocobox1._currentframe; _global["\x1C\x02"] = chocobox2._currentframe; _parent._parent._parent.girlwalkframe = 8; _parent.gotoAndStop(8);
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1162 MovieClip Frame 2
stop();
Symbol 1162 MovieClip Frame 3
stop();
Symbol 1162 MovieClip Frame 4
stop(); if (_global["\x12\x03"] == true) { _global["\x12\x03"] = false; chocobox1.gotoAndStop(_global["\r\x03"]); }
Symbol 1162 MovieClip Frame 7
stop();
Symbol 1162 MovieClip Frame 8
stop(); if (_global["\x12\x03"] == true) { _global["\x12\x03"] = false; chocobox1.gotoAndStop(_global["\r\x03"]); chocobox2.gotoAndStop(_global["\x1C\x02"]); }
Symbol 1162 MovieClip Frame 9
stop();
Symbol 1162 MovieClip Frame 10
stop();
Symbol 1162 MovieClip Frame 11
stop();
Symbol 1224 MovieClip Frame 1
stop();
Symbol 1224 MovieClip Frame 2
stop();
Symbol 1224 MovieClip Frame 3
stop();
Symbol 1224 MovieClip Frame 4
stop();
Symbol 1224 MovieClip Frame 5
stop();
Symbol 1224 MovieClip Frame 6
stop();
Symbol 1224 MovieClip Frame 7
stop();
Symbol 1224 MovieClip Frame 8
stop();
Symbol 1228 MovieClip Frame 1
stop();
Symbol 1228 MovieClip Frame 2
stop();
Symbol 1228 MovieClip Frame 3
stop();
Symbol 1228 MovieClip Frame 4
stop();
Symbol 1228 MovieClip Frame 5
stop();
Symbol 1228 MovieClip Frame 6
stop();
Symbol 1228 MovieClip Frame 7
stop();
Symbol 1228 MovieClip Frame 8
stop();
Symbol 1229 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 2
stop();
Symbol 1229 MovieClip Frame 3
stop();
Symbol 1229 MovieClip Frame 4
stop();
Symbol 1234 MovieClip Frame 1
stop();
Symbol 1234 MovieClip Frame 2
stop();
Symbol 1235 MovieClip Frame 1
stop();
Symbol 1235 MovieClip Frame 2
stop();
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 2
stop();
Symbol 1242 MovieClip Frame 5
stop(); type_round.gotoAndStop(2);
Symbol 1243 MovieClip Frame 6
stop(); this._parent._visible = false;
Symbol 1244 MovieClip Frame 1
stop();
Symbol 1244 MovieClip Frame 2
stop();
Symbol 1253 MovieClip Frame 53
stop();
Symbol 1257 MovieClip Frame 53
stop();
Symbol 1261 MovieClip Frame 53
stop();
Symbol 1265 MovieClip Frame 53
stop();
Symbol 1266 MovieClip Frame 1
stop();
Symbol 1266 MovieClip Frame 2
stop();
Symbol 1266 MovieClip Frame 3
stop();
Symbol 1266 MovieClip Frame 4
stop();
Symbol 1266 MovieClip Frame 5
stop();
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1287 MovieClip Frame 2
stop();
Symbol 1287 MovieClip Frame 3
stop();
Symbol 1288 MovieClip Frame 1
stop();
Symbol 1288 MovieClip Frame 7
stop(); popup_txt.text = _global.popupText;
Symbol 1296 MovieClip Frame 1
stop();
Symbol 1296 MovieClip Frame 2
stop();
Symbol 1296 MovieClip Frame 3
stop();
Symbol 1304 MovieClip Frame 1
stop();
Symbol 1304 MovieClip Frame 150
stop();
Symbol 1307 MovieClip Frame 1
stop();
Symbol 1307 MovieClip Frame 2
stop();
Symbol 1328 MovieClip Frame 1
stop();
Symbol 1328 MovieClip Frame 30
stop();
Symbol 1347 MovieClip Frame 1
stop();
Symbol 1347 MovieClip Frame 27
stop();
Symbol 1351 MovieClip Frame 1
stop();
Symbol 1395 MovieClip Frame 23
stop();
Symbol 1400 MovieClip Frame 23
stop();
Symbol 1401 MovieClip Frame 1
stop();
Symbol 1401 MovieClip Frame 2
stop();
Symbol 1403 MovieClip Frame 1
money_earned.text = _global.report_moneyEarned; tips.text = _global.report_tips; totalScore = _global.report_moneyEarned + _global.report_tips; total.text = totalScore; if ((totalScore >= _global.targetScore) && (totalScore < _global.expertScore)) { result.gotoAndStop(1); result.mc.gotoAndPlay(1); } else if (totalScore >= _global.expertScore) { result.gotoAndStop(2); result.mc.gotoAndPlay(1); }
Symbol 1411 MovieClip Frame 1
stop();
Symbol 1411 MovieClip Frame 7
stop(); starScore = _global.report_moneyEarned + _global.report_tips; star_anim._visible = false; if (starScore >= _global.expertScore) { star_anim._visible = true; }
Symbol 1418 MovieClip Frame 14
stop();
Symbol 1423 MovieClip Frame 8
stop();
Symbol 1424 MovieClip Frame 23
stop();
Symbol 1425 MovieClip Frame 21
stop();
Symbol 1426 MovieClip Frame 29
stop();
Symbol 1427 MovieClip Frame 1
stop();
Symbol 1427 MovieClip Frame 2
stop();
Symbol 1427 MovieClip Frame 3
stop();
Symbol 1428 MovieClip Frame 29
stop();
Symbol 1429 MovieClip Frame 25
stop();
Symbol 1430 MovieClip Frame 28
stop();
Symbol 1431 MovieClip Frame 1
stop();
Symbol 1431 MovieClip Frame 2
stop();
Symbol 1431 MovieClip Frame 3
stop();
Symbol 1432 MovieClip Frame 39
stop();
Symbol 1433 MovieClip Frame 27
stop();
Symbol 1434 MovieClip Frame 29
stop();
Symbol 1435 MovieClip Frame 1
stop();
Symbol 1435 MovieClip Frame 2
stop();
Symbol 1435 MovieClip Frame 3
stop();
Symbol 1436 MovieClip [level1] Frame 1
#initclip 26 Object.registerClass("level1", Level1); #endinitclip
Symbol 1458 MovieClip Frame 1
stop();
Symbol 1458 MovieClip Frame 2
stop();
Symbol 1460 Button
on (release) { getURL (_root["8\x03"], "_blank"); }
Symbol 1462 MovieClip Frame 1
stop();
Symbol 1462 MovieClip Frame 2
stop();
Symbol 1464 MovieClip Frame 1
stop();
Symbol 1464 MovieClip Frame 2
stop();
Symbol 1465 MovieClip Frame 1
stop();
Symbol 1465 MovieClip Frame 8
stop(); btn_continue.gotoAndStop(2);
Symbol 1467 MovieClip Frame 5
stop(); chocobox1.gotoAndStop(_global.preferred_chocolate1); chocobox2.gotoAndStop(_global.preferred_chocolate2);
Symbol 1469 MovieClip Frame 1
stop();
Symbol 1469 MovieClip Frame 2
stop();
Symbol 1472 MovieClip Frame 40
stop(); this._visible = false;
Symbol 1486 MovieClip Frame 1
stop();
Symbol 1486 MovieClip Frame 5
stop();
Symbol 1488 MovieClip Frame 1
stop();
Symbol 1488 MovieClip Frame 220
stop();
Symbol 1492 MovieClip Frame 1
stop();
Symbol 1511 MovieClip Frame 18
stop();
Symbol 1512 MovieClip Frame 1
stop();
Symbol 1512 MovieClip Frame 56
stop();
Symbol 1517 MovieClip Frame 1
stop();
Symbol 1517 MovieClip Frame 56
stop();
Symbol 1525 MovieClip Frame 1
stop(); goal.text = _global.targetScore; yougot.text = _global.report_moneyEarned + _global.report_tips;
Symbol 1532 MovieClip Frame 7
stop();
Symbol 1533 MovieClip Frame 1
stop();
Symbol 1533 MovieClip Frame 2
stop();
Symbol 1534 MovieClip [level2] Frame 1
#initclip 17 Object.registerClass("level2", Level2); #endinitclip
Symbol 1538 MovieClip Frame 1
stop();
Symbol 1538 MovieClip Frame 7
stop(); popup_txt.text = _global.popupText;
Symbol 1540 MovieClip Frame 1
stop();
Symbol 1540 MovieClip Frame 250
stop();
Symbol 1544 MovieClip Frame 1
stop();
Symbol 1546 MovieClip Frame 5
stop(); var firstclipx = 7; var firstclipy = 42; var secondclipx = 75; var secondclipy = 42; var random = Math.ceil((1 + (Math.random() * 2)) - 1); if (random == 1) { this.pos = 1; this._parent._parent.keyTarget = "type_rabbit"; type_rabbit.gotoAndStop(2); type_rabbit._x = firstclipx; type_rabbit._y = firstclipy; type_fish._x = secondclipx; type_fish._y = secondclipy; } else if (random == 2) { this.pos = 2; this._parent._parent.keyTarget = "type_fish"; type_fish.gotoAndStop(2); type_fish._x = firstclipx; type_fish._y = firstclipy; type_rabbit._x = secondclipx; type_rabbit._y = secondclipy; }
Symbol 1547 MovieClip Frame 6
stop(); this._parent._visible = false;
Symbol 1548 MovieClip Frame 1
stop();
Symbol 1548 MovieClip Frame 2
stop();
Symbol 1549 MovieClip [level3] Frame 1
#initclip 18 Object.registerClass("level3", Level3); #endinitclip
Symbol 1550 MovieClip [level4] Frame 1
#initclip 19 Object.registerClass("level4", Level4); #endinitclip
Symbol 1553 MovieClip Frame 1
stop();
Symbol 1553 MovieClip Frame 7
stop(); popup_txt.text = _global.popupText;
Symbol 1555 MovieClip Frame 1
stop();
Symbol 1555 MovieClip Frame 300
stop();
Symbol 1559 MovieClip Frame 1
stop();
Symbol 1562 MovieClip [level5] Frame 1
#initclip 20 Object.registerClass("level5", Level5); #endinitclip
Symbol 1595 MovieClip Frame 1
stop();
Symbol 1595 MovieClip Frame 55
stop();
Symbol 1597 MovieClip Frame 1
stop();
Symbol 1597 MovieClip Frame 480
stop();
Symbol 1601 MovieClip Frame 1
stop();
Symbol 1602 MovieClip [level6] Frame 1
#initclip 21 Object.registerClass("level6", Level6); #endinitclip
Symbol 1607 MovieClip Frame 61
stop();
Symbol 1611 MovieClip Frame 16
stop();
Symbol 1614 MovieClip Frame 10
stop();
Symbol 1615 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 1615 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 1615 MovieClip Frame 2
stop();
Symbol 1615 MovieClip Frame 3
stop();
Symbol 1623 MovieClip Frame 10
stop();
Symbol 1624 MovieClip Frame 1
stop();
Instance of Symbol 175 MovieClip "pointer" in Symbol 1624 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 1624 MovieClip Frame 2
stop();
Symbol 1624 MovieClip Frame 3
stop();
Symbol 1634 MovieClip Frame 1
stop();
Symbol 1634 MovieClip Frame 7
stop(); popup_txt.text = _global.popupText;
Symbol 1636 MovieClip Frame 1
stop();
Symbol 1636 MovieClip Frame 480
stop();
Symbol 1639 MovieClip Frame 1
stop();
Symbol 1640 MovieClip [level7] Frame 1
#initclip 22 Object.registerClass("level7", Level7); #endinitclip
Symbol 1642 MovieClip Frame 1
stop();
Symbol 1642 MovieClip Frame 670
stop();
Symbol 1646 MovieClip Frame 1
stop();
Symbol 1647 MovieClip [level8] Frame 1
#initclip 23 Object.registerClass("level8", Level8); #endinitclip
Symbol 1649 MovieClip Frame 1
stop();
Symbol 1649 MovieClip Frame 880
stop();
Symbol 1652 MovieClip Frame 1
stop();
Symbol 1652 MovieClip Frame 2
stop();
Symbol 1656 MovieClip Frame 1
stop();
Symbol 1657 MovieClip [level9] Frame 1
#initclip 24 Object.registerClass("level9", Level9); #endinitclip
Symbol 1659 MovieClip Frame 1
stop();
Symbol 1659 MovieClip Frame 1180
stop();
Symbol 1662 MovieClip Frame 1
stop();
Symbol 1662 MovieClip Frame 2
stop();
Symbol 1666 MovieClip Frame 1
stop();
Symbol 1667 MovieClip [level10] Frame 1
#initclip 25 Object.registerClass("level10", Level10); #endinitclip
Symbol 1671 Button
on (release) { getURL (_root["8\x03"], "_blank"); }
Symbol 1675 MovieClip Frame 1
_global[">\x03"] = 430; Mouse.hide(); this.onEnterFrame = function () { mouseClip._x = _xmouse; mouseClip._y = _ymouse; if (Key.isDown(2)) { Mouse.hide(); } };
Symbol 1675 MovieClip Frame 2
stop();
Symbol 1675 MovieClip Frame 3
stop();
Symbol 1675 MovieClip Frame 4
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root["^\x02"].start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { _root["^\x02"].stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root["^\x02"].start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 5
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); var intro_obj = new Object(); Key.addListener(intro_obj); intro_obj.onKeyDown = function () { if (Key.getCode() == 13) { btn_continue.onRelease(); } }; btn_continue.onRollOver = function () { this.gotoAndStop(2); }; btn_continue.onRollOut = (btn_continue.onReleaseOutside = function () { this.gotoAndStop(1); }); btn_continue.onRelease = function () { Key.removeListener(intro_obj); gotoAndStop ("Calender"); }; if (_global.soundstat == "onn") { _root["^\x02"].start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { _root["^\x02"].stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root["^\x02"].start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 6
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root["`"].start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { _root["`"].stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root["`"].start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 7
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 8
gotoAndStop ("Level1");
Symbol 1675 MovieClip Frame 9
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 10
gotoAndStop ("Level2");
Symbol 1675 MovieClip Frame 11
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 12
gotoAndStop ("Level3");
Symbol 1675 MovieClip Frame 13
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 14
gotoAndStop ("Level4");
Symbol 1675 MovieClip Frame 15
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 16
gotoAndStop ("Level5");
Symbol 1675 MovieClip Frame 17
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 18
gotoAndStop ("Level6");
Symbol 1675 MovieClip Frame 19
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 20
gotoAndStop ("Level7");
Symbol 1675 MovieClip Frame 21
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 22
gotoAndStop ("Level8");
Symbol 1675 MovieClip Frame 23
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 24
gotoAndStop ("Level9");
Symbol 1675 MovieClip Frame 25
stop(); _root["^\x02"].stop(); _root.gameSound.stop(); _root["`"].stop(); if (_global.soundstat == "onn") { _root.gameSound.start(); } music_btn.onRelease = function () { if (_global.soundstat == "onn") { stopAllSounds(); _root.gameSound.stop(); _global.soundstat = "off"; music_btn.gotoAndStop(2); } else if (_global.soundstat == "off") { _root.gameSound.start(); _global.soundstat = "onn"; music_btn.gotoAndStop(1); } };
Symbol 1675 MovieClip Frame 26
gotoAndStop ("Level10");
Symbol 1675 MovieClip Frame 27
stop(); var upshell_obj = new Object(); Key.addListener(upshell_obj); upshell_obj.onKeyDown = function () { if (Key.getCode() == 13) { upshell_mc.btn_menu.onRelease(); } }; upshell_mc.btn_menu.onRelease = function () { Key.removeListener(upshell_obj); gotoAndStop ("Mainmenu"); };

Library Items

Symbol 1 ShapeTweeningUsed by:5
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:5 46 71 1485
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:1 3 4Used by:77
Symbol 6 GraphicUsed by:77
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:7Used by:46 1485
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:46 1485
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:46 1485
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:46 1485
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:46 1485
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:46 1485
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:46 1485
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:46 1485
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:46 1485
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:46 1485
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:46 1485
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:46 1485
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:46 1485
Symbol 33 BitmapUsed by:35 40 45
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:33 34Used by:46 1485
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:46 1485
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:46 1485
Symbol 40 GraphicUses:33Used by:46 1485
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:46 1485
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:46 1485
Symbol 45 GraphicUses:33Used by:46 1485
Symbol 46 MovieClipUses:3 8 10 12 14 16 18 20 22 24 26 28 30 32 35 37 39 40 42 44 45Used by:77
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:55
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:55
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:55
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:55
Symbol 55 MovieClipUses:48 50 52 54Used by:77
Symbol 56 BitmapUsed by:57 73
Symbol 57 GraphicUses:56Used by:68
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:68
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:68
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:68
Symbol 64 BitmapUsed by:65 73
Symbol 65 GraphicUses:64Used by:68
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClipUses:57 59 61 63 65 67Used by:77
Symbol 69 ShapeTweeningUsed by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:69 3 70Used by:77
Symbol 72 ShapeTweeningUsed by:76
Symbol 73 GraphicUses:64 56Used by:74
Symbol 74 MovieClipUses:73Used by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:72 74 75Used by:77
Symbol 77 MovieClip [oldlady]Uses:5 6 46 55 68 71 76Used by:1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 78 ShapeTweeningUsed by:83
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:81 128
Symbol 81 MovieClipUses:80Used by:83 147
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:78 81 82Used by:152
Symbol 84 GraphicUsed by:152
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:128
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:128
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:128
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:128
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:128
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:128
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:128
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:128
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:128
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:128
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:128
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:128
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:128
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:128
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:128
Symbol 115 BitmapUsed by:116 119
Symbol 116 GraphicUses:115Used by:128
Symbol 117 BitmapUsed by:118 119
Symbol 118 GraphicUses:117Used by:128
Symbol 119 GraphicUses:115 117Used by:128
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:128
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:128
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:128
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:80 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 119 121 123 125 127Used by:152
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:135
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:135
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:135
Symbol 135 MovieClipUses:130 132 134Used by:152
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:144
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:144
Symbol 140 BitmapUsed by:141 149
Symbol 141 GraphicUses:140Used by:144
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:144
Symbol 144 MovieClipUses:137 139 141 143Used by:152
Symbol 145 ShapeTweeningUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:145 81 146Used by:152
Symbol 148 ShapeTweeningUsed by:151
Symbol 149 GraphicUses:140Used by:151
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:148 149 150Used by:152
Symbol 152 MovieClip [younglady]Uses:83 84 128 135 144 147 151Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 153 ShapeTweeningUsed by:156
Symbol 154 ShapeTweeningUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:153 154 155Used by:157
Symbol 157 MovieClipUses:156Used by:259
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:179 259
Symbol 160 ShapeTweeningUsed by:169
Symbol 161 ShapeTweeningUsed by:169
Symbol 162 ShapeTweeningUsed by:169
Symbol 163 ShapeTweeningUsed by:166
Symbol 164 ShapeTweeningUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:163 164 165Used by:169
Symbol 167 GraphicUsed by:169
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:160 161 162 166 167 168Used by:259
Symbol 170 BitmapUsed by:171
Symbol 171 GraphicUses:170Used by:172
Symbol 172 MovieClipUses:171Used by:259
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:175
Symbol 175 MovieClipUses:174Used by:259 604 636 828 890 1615 1624
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:178
Symbol 178 MovieClipUses:177Used by:259
Symbol 179 MovieClipUses:159Used by:259
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:221 269
Symbol 182 BitmapUsed by:183 1519
Symbol 183 GraphicUses:182Used by:198
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:198
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:198
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:198
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:198
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:198
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:198
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClipUses:183 185 187 189 191 193 195 197Used by:221 1424 1425 1426 1428 1429 1430 1432 1433 1434
Symbol 199 BitmapUsed by:200 1052
Symbol 200 GraphicUses:199Used by:201 675 676
Symbol 201 MovieClipUses:200Used by:220
Symbol 202 BitmapUsed by:203 1056
Symbol 203 GraphicUses:202Used by:204 697 698
Symbol 204 MovieClipUses:203Used by:220
Symbol 205 BitmapUsed by:206 1054
Symbol 206 GraphicUses:205Used by:207 723 724
Symbol 207 MovieClipUses:206Used by:220
Symbol 208 GraphicUsed by:213
Symbol 209 ShapeTweeningUsed by:212
Symbol 210 ShapeTweeningUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:209 210 211Used by:213 832
Symbol 213 MovieClipUses:208 212Used by:220 1066 1546
Symbol 214 GraphicUsed by:219
Symbol 215 ShapeTweeningUsed by:218
Symbol 216 ShapeTweeningUsed by:218
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:215 216 217Used by:219 837
Symbol 219 MovieClipUses:214 218Used by:220 1066 1546
Symbol 220 MovieClipUses:201 204 207 213 219Used by:221
Symbol 221 MovieClipUses:181 198 220Used by:259
Symbol 222 ShapeTweeningUsed by:226
Symbol 223 GraphicUsed by:226
Symbol 224 ShapeTweeningUsed by:226
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:222 223 224 225Used by:227
Symbol 227 MovieClipUses:226Used by:259
Symbol 228 ShapeTweeningUsed by:231
Symbol 229 ShapeTweeningUsed by:231
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:228 229 230Used by:233 249
Symbol 232 GraphicUsed by:233 249
Symbol 233 MovieClipUses:231 232Used by:259
Symbol 234 ShapeTweeningUsed by:237
Symbol 235 ShapeTweeningUsed by:237
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:234 235 236Used by:238
Symbol 238 MovieClipUses:237Used by:253 259
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:246
Symbol 241 ShapeTweeningUsed by:244
Symbol 242 ShapeTweeningUsed by:244
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:241 242 243Used by:246
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:240 244 245Used by:254
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:249
Symbol 249 MovieClipUses:248 231 232Used by:254
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:253
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:251 238 252Used by:254
Symbol 254 MovieClipUses:246 249 253Used by:259
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:257
Symbol 257 MovieClipUses:256Used by:258
Symbol 258 MovieClipUses:257Used by:259
Symbol 259 MovieClip [orderbook]Uses:157 159 169 172 175 178 179 221 227 233 238 254 258Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 260 ShapeTweeningUsed by:268
Symbol 261 GraphicUsed by:268
Symbol 262 FontUsed by:263 267
Symbol 263 TextUses:262Used by:268
Symbol 264 GraphicUsed by:268
Symbol 265 FontUsed by:266
Symbol 266 TextUses:265Used by:268
Symbol 267 EditableTextUses:262Used by:268
Symbol 268 MovieClipUses:260 261 263 264 266 267Used by:Timeline
Symbol 1694 MovieClip [__Packages.MochiAd]
Symbol 1695 MovieClip [__Packages.URLAndVersion]
Symbol 1696 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 1697 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 1698 MovieClip [__Packages.mx.transitions.Tween]
Symbol 1699 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 1700 MovieClip [__Packages.Level2]
Symbol 1701 MovieClip [__Packages.Level3]
Symbol 1702 MovieClip [__Packages.Level4]
Symbol 1703 MovieClip [__Packages.Level5]
Symbol 1704 MovieClip [__Packages.Level6]
Symbol 1705 MovieClip [__Packages.Level7]
Symbol 1706 MovieClip [__Packages.Level8]
Symbol 1707 MovieClip [__Packages.Level9]
Symbol 1708 MovieClip [__Packages.Level10]
Symbol 1709 MovieClip [__Packages.Level1]
Symbol 269 MovieClipUses:181Used by:1675
Symbol 270 GraphicUsed by:271
Symbol 271 ButtonUses:270Used by:1675
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:274
Symbol 274 ButtonUses:273Used by:1675
Symbol 275 GraphicUsed by:277
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:275 276Used by:1675
Symbol 278 GraphicUsed by:1675
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:283
Symbol 281 BitmapUsed by:282
Symbol 282 GraphicUses:281Used by:283
Symbol 283 MovieClipUses:280 282Used by:1675
Symbol 284 GraphicUsed by:305 378 568 833 838 847 856 865 874 1395 1400 1675
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:287
Symbol 287 MovieClipUses:286Used by:1675
Symbol 288 BitmapUsed by:294
Symbol 289 BitmapUsed by:294
Symbol 290 BitmapUsed by:294
Symbol 291 BitmapUsed by:294
Symbol 292 BitmapUsed by:294
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:288 289 290 291 292 293Used by:305
Symbol 295 GraphicUsed by:301
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:301
Symbol 298 GraphicUsed by:301
Symbol 299 FontUsed by:300
Symbol 300 EditableTextUses:299Used by:301
Symbol 301 MovieClipUses:295 297 298 300Used by:305
Symbol 302 ShapeTweeningUsed by:305
Symbol 303 GraphicUsed by:305 579
Symbol 304 ShapeTweeningUsed by:305
Symbol 305 MovieClipUses:294 301 284 302 303 304Used by:1675
Symbol 306 BitmapUsed by:307
Symbol 307 GraphicUses:306Used by:311
Symbol 308 BitmapUsed by:310
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:308 309Used by:311
Symbol 311 MovieClipUses:307 310Used by:1675
Symbol 312 BitmapUsed by:313
Symbol 313 GraphicUses:312Used by:327
Symbol 314 FontUsed by:315 317 320 322 522 1348 1349 1350 1470 1489 1490 1491 1541 1542 1543 1556 1557 1558 1598 1599 1600 1637 1638 1643 1644 1645 1653 1654 1655 1663 1664 1665
Symbol 315 TextUses:314Used by:319
Symbol 316 GraphicUsed by:319
Symbol 317 TextUses:314Used by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:315 316 317 318Used by:327
Symbol 320 TextUses:314Used by:324
Symbol 321 GraphicUsed by:324
Symbol 322 TextUses:314Used by:324
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:320 321 322 323Used by:327
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:327
Symbol 327 MovieClipUses:313 319 324 326Used by:1675
Symbol 328 GraphicUsed by:331
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:331
Symbol 331 MovieClipUses:328 330Used by:378
Symbol 332 GraphicUsed by:378
Symbol 333 GraphicUsed by:337 340 346 365 368 371
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:337
Symbol 336 GraphicUsed by:337 340 346 365 368 371
Symbol 337 MovieClipUses:333 335 336Used by:378
Symbol 338 BitmapUsed by:339
Symbol 339 GraphicUses:338Used by:340
Symbol 340 MovieClipUses:333 339 336Used by:378
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:346
Symbol 343 GraphicUsed by:346
Symbol 344 FontUsed by:345 372 373 374 375 376 377
Symbol 345 TextUses:344Used by:346
Symbol 346 MovieClipUses:333 342 343 345 336Used by:378
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:365
Symbol 349 BitmapUsed by:364
Symbol 350 BitmapUsed by:364
Symbol 351 BitmapUsed by:364
Symbol 352 BitmapUsed by:364
Symbol 353 BitmapUsed by:364
Symbol 354 BitmapUsed by:364
Symbol 355 BitmapUsed by:364
Symbol 356 BitmapUsed by:364
Symbol 357 BitmapUsed by:364
Symbol 358 BitmapUsed by:364
Symbol 359 BitmapUsed by:364
Symbol 360 BitmapUsed by:364
Symbol 361 BitmapUsed by:364
Symbol 362 BitmapUsed by:364
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:349 350 351 352 353 354 355 356 357 358 359 360 361 362 363Used by:365
Symbol 365 MovieClipUses:333 348 364 336Used by:378
Symbol 366 BitmapUsed by:367
Symbol 367 GraphicUses:366Used by:368
Symbol 368 MovieClipUses:333 367 336Used by:378
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:371
Symbol 371 MovieClipUses:333 370 336Used by:378
Symbol 372 TextUses:344Used by:378
Symbol 373 TextUses:344Used by:378
Symbol 374 TextUses:344Used by:378
Symbol 375 TextUses:344Used by:378
Symbol 376 TextUses:344Used by:378
Symbol 377 TextUses:344Used by:378
Symbol 378 MovieClipUses:284 331 332 337 340 346 365 368 371 372 373 374 375 376 377Used by:1675
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379Used by:383
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:383
Symbol 383 ButtonUses:380 382Used by:1675
Symbol 384 BitmapUsed by:385
Symbol 385 GraphicUses:384Used by:410
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:386Used by:388
Symbol 388 MovieClipUses:387Used by:410
Symbol 389 ShapeTweeningUsed by:392
Symbol 390 ShapeTweeningUsed by:392
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:389 390 391Used by:410
Symbol 393 GraphicUsed by:410
Symbol 394 GraphicUsed by:395 396
Symbol 395 MovieClipUses:394Used by:410
Symbol 396 MovieClipUses:394Used by:410
Symbol 397 ShapeTweeningUsed by:400
Symbol 398 ShapeTweeningUsed by:400
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:397 398 399Used by:410
Symbol 401 GraphicUsed by:403
Symbol 402 GraphicUsed by:403
Symbol 403 MovieClipUses:401 402Used by:404
Symbol 404 MovieClipUses:403Used by:405
Symbol 405 MovieClipUses:404Used by:406
Symbol 406 MovieClipUses:405Used by:407
Symbol 407 MovieClipUses:406Used by:409
Symbol 408 GraphicUsed by:409 419 446
Symbol 409 MovieClipUses:407 408Used by:410
Symbol 410 MovieClipUses:385 388 392 393 395 396 400 409Used by:425 452 453
Symbol 411 BitmapUsed by:412
Symbol 412 GraphicUses:411Used by:424 437
Symbol 413 GraphicUsed by:424
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClipUses:414Used by:416
Symbol 416 MovieClipUses:415Used by:417
Symbol 417 MovieClipUses:416Used by:418
Symbol 418 MovieClipUses:417Used by:419
Symbol 419 MovieClipUses:418 408Used by:424
Symbol 420 ShapeTweeningUsed by:424
Symbol 421 ShapeTweeningUsed by:424
Symbol 422 ShapeTweeningUsed by:424
Symbol 423 ShapeTweeningUsed by:424
Symbol 424 MovieClipUses:412 413 419 420 421 422 423Used by:425 451
Symbol 425 MovieClipUses:424 410Used by:453
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:436
Symbol 428 ShapeTweeningUsed by:431
Symbol 429 ShapeTweeningUsed by:431
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:428 429 430Used by:434
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:434
Symbol 434 MovieClipUses:431 433Used by:435
Symbol 435 MovieClipUses:434Used by:436
Symbol 436 MovieClipUses:427 435Used by:438 448 450 451
Symbol 437 MovieClipUses:412Used by:438 452
Symbol 438 MovieClipUses:436 437Used by:453
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:447 449
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:441Used by:443
Symbol 443 MovieClipUses:442Used by:444
Symbol 444 MovieClipUses:443Used by:445
Symbol 445 MovieClipUses:444Used by:446
Symbol 446 MovieClipUses:445 408Used by:447
Symbol 447 MovieClipUses:440 446Used by:448
Symbol 448 MovieClipUses:447 436Used by:453
Symbol 449 MovieClipUses:440Used by:450
Symbol 450 MovieClipUses:436 449Used by:453
Symbol 451 MovieClipUses:424 436Used by:453
Symbol 452 MovieClipUses:437 410Used by:453
Symbol 453 MovieClipUses:410 425 438 448 450 451 452Used by:568
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:458
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:458
Symbol 458 ButtonUses:455 457Used by:568
Symbol 459 BitmapUsed by:472
Symbol 460 BitmapUsed by:472
Symbol 461 BitmapUsed by:472
Symbol 462 BitmapUsed by:472
Symbol 463 BitmapUsed by:472
Symbol 464 BitmapUsed by:472
Symbol 465 BitmapUsed by:472
Symbol 466 BitmapUsed by:472
Symbol 467 BitmapUsed by:472
Symbol 468 BitmapUsed by:472
Symbol 469 BitmapUsed by:472
Symbol 470 BitmapUsed by:472
Symbol 471 BitmapUsed by:472
Symbol 472 GraphicUses:459 460 461 462 463 464 465 466 467 468 469 470 471Used by:549
Symbol 473 BitmapUsed by:474
Symbol 474 GraphicUses:473Used by:477
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:477
Symbol 477 MovieClipUses:474 476Used by:549
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:482
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:482
Symbol 482 MovieClipUses:479 481Used by:549
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:487
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:487
Symbol 487 MovieClipUses:484 486Used by:549
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:492
Symbol 490 BitmapUsed by:491
Symbol 491 GraphicUses:490Used by:492
Symbol 492 MovieClipUses:489 491Used by:549
Symbol 493 GraphicUsed by:549
Symbol 494 BitmapUsed by:495 548
Symbol 495 GraphicUses:494Used by:549
Symbol 496 BitmapUsed by:497
Symbol 497 GraphicUses:496Used by:500
Symbol 498 BitmapUsed by:499
Symbol 499 GraphicUses:498Used by:500
Symbol 500 MovieClipUses:497 499Used by:549
Symbol 501 GraphicUsed by:547
Symbol 502 GraphicUsed by:505
Symbol 503 GraphicUsed by:504
Symbol 504 MovieClipUses:503Used by:505
Symbol 505 MovieClipUses:502 504Used by:516
Symbol 506 ShapeTweeningUsed by:516
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:513
Symbol 509 GraphicUsed by:510
Symbol 510 MovieClipUses:509Used by:513
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:513
Symbol 513 MovieClipUses:508 510 512Used by:516
Symbol 514 ShapeTweeningUsed by:516
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:505 506 513 514 515Used by:547
Symbol 517 GraphicUsed by:521 547
Symbol 518 ShapeTweeningUsed by:521
Symbol 519 GraphicUsed by:521 547
Symbol 520 GraphicUsed by:521 547
Symbol 521 MovieClipUses:517 518 519 520Used by:547
Symbol 522 EditableTextUses:314Used by:547
Symbol 523 BitmapUsed by:524
Symbol 524 GraphicUses:523Used by:547
Symbol 525 BitmapUsed by:526
Symbol 526 GraphicUses:525Used by:535
Symbol 527 BitmapUsed by:528
Symbol 528 GraphicUses:527Used by:535
Symbol 529 BitmapUsed by:530
Symbol 530 GraphicUses:529Used by:535
Symbol 531 BitmapUsed by:532
Symbol 532 GraphicUses:531Used by:535
Symbol 533 BitmapUsed by:534 1514
Symbol 534 GraphicUses:533Used by:535
Symbol 535 MovieClipUses:526 528 530 532 534Used by:547
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:546
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:546
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:546
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:546
Symbol 544 BitmapUsed by:545 1494
Symbol 545 GraphicUses:544Used by:546
Symbol 546 MovieClipUses:537 539 541 543 545Used by:547
Symbol 547 MovieClipUses:501 516 521 517 520 519 522 524 535 546Used by:549
Symbol 548 GraphicUses:494Used by:549
Symbol 549 MovieClipUses:472 477 482 487 492 493 495 500 547 548Used by:568
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:568
Symbol 552 FontUsed by:553 554 1363 1364 1365 1366 1367 1368 1379 1398 1402 1482 1483 1495 1515
Symbol 553 TextUses:552Used by:555
Symbol 554 EditableTextUses:552Used by:555
Symbol 555 MovieClipUses:553 554Used by:568
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:562
Symbol 558 BitmapUsed by:559
Symbol 559 GraphicUses:558Used by:562
Symbol 560 GraphicUsed by:561 1410
Symbol 561 MovieClipUses:560Used by:562
Symbol 562 ButtonUses:557 559 561Used by:568
Symbol 563 BitmapUsed by:564
Symbol 564 GraphicUses:563Used by:567 1670
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:567 1670
Symbol 567 ButtonUses:564 566Used by:568 1532
Symbol 568 MovieClipUses:284 453 458 549 551 555 562 567Used by:1675
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:585
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:576
Symbol 573 BitmapUsed by:575
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:573 574Used by:576
Symbol 576 MovieClipUses:572 575Used by:585
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:579
Symbol 579 MovieClipUses:303 578Used by:585
Symbol 580 BitmapUsed by:581
Symbol 581 GraphicUses:580Used by:584
Symbol 582 BitmapUsed by:583
Symbol 583 GraphicUses:582Used by:584
Symbol 584 MovieClipUses:581 583Used by:585
Symbol 585 MovieClipUses:570 576 579 584Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 586 BitmapUsed by:587
Symbol 587 GraphicUses:586Used by:604 890
Symbol 588 BitmapUsed by:589
Symbol 589 GraphicUses:588Used by:595 604
Symbol 590 GraphicUsed by:595
Symbol 591 ShapeTweeningUsed by:595
Symbol 592 GraphicUsed by:595 603
Symbol 593 GraphicUsed by:594 615 786 815 880 944 1607
Symbol 594 MovieClipUses:593Used by:595
Symbol 595 MovieClipUses:589 590 591 592 594Used by:604
Symbol 596 ShapeTweeningUsed by:599
Symbol 597 ShapeTweeningUsed by:599
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:596 597 598Used by:604
Symbol 600 BitmapUsed by:601
Symbol 601 GraphicUses:600Used by:604
Symbol 602 ShapeTweeningUsed by:603
Symbol 603 MovieClipUses:602 592Used by:604
Symbol 604 MovieClipUses:587 595 175 589 599 601 603Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 605 GraphicUsed by:606
Symbol 606 MovieClipUses:605Used by:626
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:616 626
Symbol 609 GraphicUsed by:611
Symbol 610 GraphicUsed by:611
Symbol 611 MovieClipUses:609 610Used by:616 626
Symbol 612 GraphicUsed by:616
Symbol 613 ShapeTweeningUsed by:616
Symbol 614 GraphicUsed by:616
Symbol 615 MovieClipUses:593Used by:616
Symbol 616 MovieClipUses:608 611 612 613 614 615Used by:626
Symbol 617 ShapeTweeningUsed by:620
Symbol 618 ShapeTweeningUsed by:620
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:617 618 619Used by:626
Symbol 621 BitmapUsed by:622
Symbol 622 GraphicUses:621Used by:626
Symbol 623 ShapeTweeningUsed by:625
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:623 624Used by:626
Symbol 626 MovieClipUses:606 616 608 611 620 622 625Used by:636
Symbol 627 BitmapUsed by:628 1603 1605
Symbol 628 GraphicUses:627Used by:635
Symbol 629 ShapeTweeningUsed by:632
Symbol 630 ShapeTweeningUsed by:632
Symbol 631 GraphicUsed by:632
Symbol 632 MovieClipUses:629 630 631Used by:635
Symbol 633 BitmapUsed by:634 1620
Symbol 634 GraphicUses:633Used by:635
Symbol 635 MovieClipUses:628 632 634Used by:636
Symbol 636 MovieClipUses:626 175 635Used by:1436 1534 1549 1550 1562 1602
Symbol 637 GraphicUsed by:656 941
Symbol 638 BitmapUsed by:639
Symbol 639 GraphicUses:638Used by:656 941
Symbol 640 BitmapUsed by:641
Symbol 641 GraphicUses:640Used by:656 941
Symbol 642 BitmapUsed by:643
Symbol 643 GraphicUses:642Used by:656 941
Symbol 644 BitmapUsed by:645
Symbol 645 GraphicUses:644Used by:656 941
Symbol 646 BitmapUsed by:647
Symbol 647 GraphicUses:646Used by:656 941
Symbol 648 BitmapUsed by:649
Symbol 649 GraphicUses:648Used by:656 941
Symbol 650 BitmapUsed by:651
Symbol 651 GraphicUses:650Used by:656 941
Symbol 652 BitmapUsed by:653
Symbol 653 GraphicUses:652Used by:656 941
Symbol 654 BitmapUsed by:655
Symbol 655 GraphicUses:654Used by:656 941
Symbol 656 MovieClipUses:637 639 641 643 645 647 649 651 653 655Used by:676 698 724 833 838 847 856 865 874
Symbol 657 BitmapUsed by:658 1052
Symbol 658 GraphicUses:657Used by:676
Symbol 659 BitmapUsed by:660
Symbol 660 GraphicUses:659Used by:676
Symbol 661 BitmapUsed by:662
Symbol 662 GraphicUses:661Used by:676
Symbol 663 BitmapUsed by:664
Symbol 664 GraphicUses:663Used by:676
Symbol 665 BitmapUsed by:666
Symbol 666 GraphicUses:665Used by:676
Symbol 667 BitmapUsed by:668
Symbol 668 GraphicUses:667Used by:676
Symbol 669 BitmapUsed by:670
Symbol 670 GraphicUses:669Used by:676
Symbol 671 ShapeTweeningUsed by:674
Symbol 672 ShapeTweeningUsed by:674
Symbol 673 GraphicUsed by:674
Symbol 674 MovieClipUses:671 672 673Used by:675 1053 1236
Symbol 675 MovieClipUses:674 200Used by:676
Symbol 676 MovieClipUses:656 658 660 662 664 666 668 670 200 675Used by:725
Symbol 677 BitmapUsed by:678 1056
Symbol 678 GraphicUses:677Used by:698
Symbol 679 BitmapUsed by:680
Symbol 680 GraphicUses:679Used by:698
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:698
Symbol 683 BitmapUsed by:684
Symbol 684 GraphicUses:683Used by:698
Symbol 685 BitmapUsed by:686
Symbol 686 GraphicUses:685Used by:698
Symbol 687 BitmapUsed by:688
Symbol 688 GraphicUses:687Used by:698
Symbol 689 BitmapUsed by:690
Symbol 690 GraphicUses:689Used by:698
Symbol 691 BitmapUsed by:692
Symbol 692 GraphicUses:691Used by:698
Symbol 693 ShapeTweeningUsed by:696
Symbol 694 ShapeTweeningUsed by:696
Symbol 695 GraphicUsed by:696
Symbol 696 MovieClipUses:693 694 695Used by:697 1057 1234
Symbol 697 MovieClipUses:696 203Used by:698
Symbol 698 MovieClipUses:656 678 680 682 684 686 688 690 692 203 697Used by:725
Symbol 699 BitmapUsed by:700 1054
Symbol 700 GraphicUses:699Used by:724
Symbol 701 BitmapUsed by:702
Symbol 702 GraphicUses:701Used by:724
Symbol 703 BitmapUsed by:704
Symbol 704 GraphicUses:703Used by:724
Symbol 705 BitmapUsed by:706
Symbol 706 GraphicUses:705Used by:724
Symbol 707 BitmapUsed by:708
Symbol 708 GraphicUses:707Used by:724
Symbol 709 BitmapUsed by:710
Symbol 710 GraphicUses:709Used by:724
Symbol 711 BitmapUsed by:712
Symbol 712 GraphicUses:711Used by:724
Symbol 713 BitmapUsed by:714
Symbol 714 GraphicUses:713Used by:724
Symbol 715 BitmapUsed by:716
Symbol 716 GraphicUses:715Used by:724
Symbol 717 BitmapUsed by:718
Symbol 718 GraphicUses:717Used by:724
Symbol 719 ShapeTweeningUsed by:722
Symbol 720 ShapeTweeningUsed by:722
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:719 720 721Used by:723 1055 1235
Symbol 723 MovieClipUses:722 206Used by:724
Symbol 724 MovieClipUses:656 700 702 704 706 708 710 712 714 716 718 206 723Used by:725
Symbol 725 MovieClipUses:676 698 724Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 726 BitmapUsed by:728
Symbol 727 BitmapUsed by:728
Symbol 728 GraphicUses:726 727Used by:775
Symbol 729 ShapeTweeningUsed by:775
Symbol 730 BitmapUsed by:731
Symbol 731 GraphicUses:730Used by:775
Symbol 732 GraphicUsed by:733
Symbol 733 MovieClipUses:732Used by:775
Symbol 734 ShapeTweeningUsed by:775
Symbol 735 GraphicUsed by:775
Symbol 736 ShapeTweeningUsed by:775
Symbol 737 ShapeTweeningUsed by:775
Symbol 738 GraphicUsed by:775
Symbol 739 GraphicUsed by:775
Symbol 740 GraphicUsed by:775
Symbol 741 ShapeTweeningUsed by:775
Symbol 742 GraphicUsed by:775
Symbol 743 ShapeTweeningUsed by:775
Symbol 744 GraphicUsed by:775
Symbol 745 GraphicUsed by:775
Symbol 746 GraphicUsed by:775
Symbol 747 ShapeTweeningUsed by:775
Symbol 748 GraphicUsed by:775
Symbol 749 ShapeTweeningUsed by:775
Symbol 750 GraphicUsed by:775
Symbol 751 GraphicUsed by:775
Symbol 752 GraphicUsed by:775
Symbol 753 ShapeTweeningUsed by:775
Symbol 754 GraphicUsed by:775
Symbol 755 ShapeTweeningUsed by:775
Symbol 756 GraphicUsed by:775
Symbol 757 ShapeTweeningUsed by:775
Symbol 758 GraphicUsed by:775
Symbol 759 GraphicUsed by:775
Symbol 760 GraphicUsed by:775
Symbol 761 ShapeTweeningUsed by:775
Symbol 762 GraphicUsed by:775
Symbol 763 ShapeTweeningUsed by:775
Symbol 764 GraphicUsed by:775
Symbol 765 GraphicUsed by:775
Symbol 766 ShapeTweeningUsed by:775
Symbol 767 ShapeTweeningUsed by:775
Symbol 768 GraphicUsed by:775
Symbol 769 GraphicUsed by:775
Symbol 770 GraphicUsed by:775
Symbol 771 ShapeTweeningUsed by:775
Symbol 772 ShapeTweeningUsed by:775
Symbol 773 GraphicUsed by:775
Symbol 774 GraphicUsed by:775
Symbol 775 MovieClipUses:728 729 731 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 776 GraphicUsed by:777
Symbol 777 MovieClipUses:776Used by:797 827
Symbol 778 BitmapUsed by:779
Symbol 779 GraphicUses:778Used by:787 797
Symbol 780 GraphicUsed by:782
Symbol 781 GraphicUsed by:782
Symbol 782 MovieClipUses:780 781Used by:787 797
Symbol 783 GraphicUsed by:787
Symbol 784 ShapeTweeningUsed by:787
Symbol 785 GraphicUsed by:787 796
Symbol 786 MovieClipUses:593Used by:787
Symbol 787 MovieClipUses:779 782 783 784 785 786Used by:797
Symbol 788 BitmapUsed by:790
Symbol 789 BitmapUsed by:790
Symbol 790 GraphicUses:788 789Used by:797
Symbol 791 ShapeTweeningUsed by:794
Symbol 792 ShapeTweeningUsed by:794
Symbol 793 GraphicUsed by:794
Symbol 794 MovieClipUses:791 792 793Used by:797
Symbol 795 ShapeTweeningUsed by:796
Symbol 796 MovieClipUses:795 785Used by:797
Symbol 797 MovieClipUses:777 787 779 782 790 794 796Used by:828
Symbol 798 BitmapUsed by:799
Symbol 799 GraphicUses:798Used by:816 827
Symbol 800 GraphicUsed by:801
Symbol 801 MovieClipUses:800Used by:816
Symbol 802 GraphicUsed by:811
Symbol 803 BitmapUsed by:809
Symbol 804 BitmapUsed by:809
Symbol 805 BitmapUsed by:809
Symbol 806 BitmapUsed by:809
Symbol 807 BitmapUsed by:809
Symbol 808 BitmapUsed by:809
Symbol 809 GraphicUses:803 804 805 806 807 808Used by:810
Symbol 810 MovieClipUses:809Used by:811
Symbol 811 MovieClipUses:802 810Used by:816 827
Symbol 812 GraphicUsed by:816
Symbol 813 ShapeTweeningUsed by:816
Symbol 814 GraphicUsed by:816 826
Symbol 815 MovieClipUses:593Used by:816
Symbol 816 MovieClipUses:799 801 811 812 813 814 815Used by:827
Symbol 817 BitmapUsed by:818
Symbol 818 GraphicUses:817Used by:827
Symbol 819 ShapeTweeningUsed by:822
Symbol 820 ShapeTweeningUsed by:822
Symbol 821 GraphicUsed by:822
Symbol 822 MovieClipUses:819 820 821Used by:827
Symbol 823 BitmapUsed by:824
Symbol 824 GraphicUses:823Used by:827
Symbol 825 ShapeTweeningUsed by:826
Symbol 826 MovieClipUses:825 814Used by:827
Symbol 827 MovieClipUses:777 816 799 811 818 822 824 826Used by:828
Symbol 828 MovieClipUses:797 175 827Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 829 ShapeTweeningUsed by:833
Symbol 830 BitmapUsed by:831
Symbol 831 GraphicUses:830Used by:832 833
Symbol 832 MovieClipUses:212 831Used by:833
Symbol 833 MovieClipUses:656 829 831 284 832Used by:875
Symbol 834 ShapeTweeningUsed by:838
Symbol 835 BitmapUsed by:836
Symbol 836 GraphicUses:835Used by:837 838
Symbol 837 MovieClipUses:218 836Used by:838
Symbol 838 MovieClipUses:656 834 836 284 837Used by:875
Symbol 839 ShapeTweeningUsed by:847
Symbol 840 BitmapUsed by:841
Symbol 841 GraphicUses:840Used by:846 847
Symbol 842 ShapeTweeningUsed by:845
Symbol 843 ShapeTweeningUsed by:845
Symbol 844 GraphicUsed by:845
Symbol 845 MovieClipUses:842 843 844Used by:846 1061
Symbol 846 MovieClipUses:845 841Used by:847
Symbol 847 MovieClipUses:656 839 841 284 846Used by:875
Symbol 848 ShapeTweeningUsed by:856
Symbol 849 BitmapUsed by:850
Symbol 850 GraphicUses:849Used by:855 856
Symbol 851 ShapeTweeningUsed by:854
Symbol 852 ShapeTweeningUsed by:854
Symbol 853 GraphicUsed by:854
Symbol 854 MovieClipUses:851 852 853Used by:855 1063
Symbol 855 MovieClipUses:854 850Used by:856
Symbol 856 MovieClipUses:656 848 850 284 855Used by:875
Symbol 857 ShapeTweeningUsed by:865
Symbol 858 BitmapUsed by:859
Symbol 859 GraphicUses:858Used by:864 865
Symbol 860 ShapeTweeningUsed by:863
Symbol 861 ShapeTweeningUsed by:863
Symbol 862 GraphicUsed by:863
Symbol 863 MovieClipUses:860 861 862Used by:864 1065
Symbol 864 MovieClipUses:863 859Used by:865
Symbol 865 MovieClipUses:656 857 859 284 864Used by:875
Symbol 866 ShapeTweeningUsed by:874
Symbol 867 BitmapUsed by:868
Symbol 868 GraphicUses:867Used by:873 874
Symbol 869 ShapeTweeningUsed by:872
Symbol 870 ShapeTweeningUsed by:872
Symbol 871 GraphicUsed by:872
Symbol 872 MovieClipUses:869 870 871Used by:873 1059
Symbol 873 MovieClipUses:872 868Used by:874
Symbol 874 MovieClipUses:656 866 868 284 873Used by:875
Symbol 875 MovieClipUses:833 838 847 856 865 874Used by:1436 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 876 BitmapUsed by:877
Symbol 877 GraphicUses:876Used by:881 890
Symbol 878 GraphicUsed by:881
Symbol 879 GraphicUsed by:881 889
Symbol 880 MovieClipUses:593Used by:881
Symbol 881 MovieClipUses:877 878 879 880Used by:890
Symbol 882 ShapeTweeningUsed by:885
Symbol 883 ShapeTweeningUsed by:885
Symbol 884 GraphicUsed by:885
Symbol 885 MovieClipUses:882 883 884Used by:890
Symbol 886 BitmapUsed by:887
Symbol 887 GraphicUses:886Used by:890
Symbol 888 ShapeTweeningUsed by:889
Symbol 889 MovieClipUses:888 879Used by:890
Symbol 890 MovieClipUses:587 881 175 877 885 887 889Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 891 BitmapUsed by:892
Symbol 892 GraphicUses:891Used by:941
Symbol 893 BitmapUsed by:894
Symbol 894 GraphicUses:893Used by:941
Symbol 895 BitmapUsed by:896
Symbol 896 GraphicUses:895Used by:941
Symbol 897 BitmapUsed by:898
Symbol 898 GraphicUses:897Used by:941
Symbol 899 BitmapUsed by:900
Symbol 900 GraphicUses:899Used by:941
Symbol 901 BitmapUsed by:902
Symbol 902 GraphicUses:901Used by:941
Symbol 903 BitmapUsed by:904
Symbol 904 GraphicUses:903Used by:941
Symbol 905 BitmapUsed by:906
Symbol 906 GraphicUses:905Used by:941
Symbol 907 BitmapUsed by:908
Symbol 908 GraphicUses:907Used by:941
Symbol 909 BitmapUsed by:910
Symbol 910 GraphicUses:909Used by:941
Symbol 911 BitmapUsed by:912 918
Symbol 912 GraphicUses:911Used by:941 1089
Symbol 913 ShapeTweeningUsed by:916
Symbol 914 ShapeTweeningUsed by:916
Symbol 915 GraphicUsed by:916
Symbol 916 MovieClipUses:913 914 915Used by:941
Symbol 917 BitmapUsed by:918 919
Symbol 918 GraphicUses:917 911Used by:941
Symbol 919 GraphicUses:917Used by:940 941
Symbol 920 BitmapUsed by:921
Symbol 921 GraphicUses:920Used by:940 941
Symbol 922 BitmapUsed by:923
Symbol 923 GraphicUses:922Used by:940 941
Symbol 924 BitmapUsed by:925
Symbol 925 GraphicUses:924Used by:940 941
Symbol 926 BitmapUsed by:927
Symbol 927 GraphicUses:926Used by:940 941
Symbol 928 BitmapUsed by:929
Symbol 929 GraphicUses:928Used by:940 941
Symbol 930 BitmapUsed by:931
Symbol 931 GraphicUses:930Used by:940 941
Symbol 932 BitmapUsed by:933
Symbol 933 GraphicUses:932Used by:940 941
Symbol 934 BitmapUsed by:935
Symbol 935 GraphicUses:934Used by:940 941
Symbol 936 BitmapUsed by:937
Symbol 937 GraphicUses:936Used by:940 941
Symbol 938 BitmapUsed by:939
Symbol 939 GraphicUses:938Used by:940 941
Symbol 940 MovieClipUses:919 921 923 925 927 929 931 933 935 937 939Used by:941 1089 1453
Symbol 941 MovieClipUses:637 639 641 643 892 645 647 649 894 651 653 896 655 898 900 902 904 906 908 910 912 916 918 919 921 923 925 927 929 931 933 935 937 939 940Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 942 BitmapUsed by:943 950
Symbol 943 GraphicUses:942Used by:949 962
Symbol 944 MovieClipUses:593Used by:949
Symbol 945 GraphicUsed by:948
Symbol 946 ShapeTweeningUsed by:948
Symbol 947 GraphicUsed by:948
Symbol 948 MovieClipUses:945 946 947Used by:949
Symbol 949 MovieClipUses:943 944 948Used by:970
Symbol 950 GraphicUses:942Used by:962
Symbol 951 BitmapUsed by:953
Symbol 952 BitmapUsed by:953
Symbol 953 GraphicUses:951 952Used by:962
Symbol 954 BitmapUsed by:956
Symbol 955 BitmapUsed by:956
Symbol 956 GraphicUses:954 955Used by:962
Symbol 957 BitmapUsed by:959
Symbol 958 BitmapUsed by:959
Symbol 959 GraphicUses:957 958Used by:962
Symbol 960 BitmapUsed by:961
Symbol 961 GraphicUses:960Used by:962
Symbol 962 MovieClipUses:950 953 956 959 943 961Used by:970
Symbol 963 ShapeTweeningUsed by:966
Symbol 964 ShapeTweeningUsed by:966
Symbol 965 GraphicUsed by:966
Symbol 966 MovieClipUses:963 964 965Used by:970
Symbol 967 BitmapUsed by:969
Symbol 968 BitmapUsed by:969
Symbol 969 GraphicUses:967 968Used by:970
Symbol 970 MovieClipUses:949 962 966 969Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 971 BitmapUsed by:972
Symbol 972 GraphicUses:971Used by:991
Symbol 973 BitmapUsed by:974
Symbol 974 GraphicUses:973Used by:991
Symbol 975 BitmapUsed by:976
Symbol 976 GraphicUses:975Used by:991
Symbol 977 BitmapUsed by:978
Symbol 978 GraphicUses:977Used by:991
Symbol 979 BitmapUsed by:980
Symbol 980 GraphicUses:979Used by:991
Symbol 981 BitmapUsed by:982
Symbol 982 GraphicUses:981Used by:991
Symbol 983 BitmapUsed by:984
Symbol 984 GraphicUses:983Used by:991
Symbol 985 BitmapUsed by:986
Symbol 986 GraphicUses:985Used by:991
Symbol 987 BitmapUsed by:988
Symbol 988 GraphicUses:987Used by:991
Symbol 989 BitmapUsed by:990
Symbol 990 GraphicUses:989Used by:991
Symbol 991 MovieClipUses:972 974 976 978 980 982 984 986 988 990Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 992 BitmapUsed by:993
Symbol 993 GraphicUses:992Used by:1022
Symbol 994 BitmapUsed by:995
Symbol 995 GraphicUses:994Used by:1022
Symbol 996 BitmapUsed by:997
Symbol 997 GraphicUses:996Used by:1022
Symbol 998 BitmapUsed by:999
Symbol 999 GraphicUses:998Used by:1022
Symbol 1000 BitmapUsed by:1001
Symbol 1001 GraphicUses:1000Used by:1022
Symbol 1002 BitmapUsed by:1003
Symbol 1003 GraphicUses:1002Used by:1022
Symbol 1004 BitmapUsed by:1005
Symbol 1005 GraphicUses:1004Used by:1022
Symbol 1006 BitmapUsed by:1007
Symbol 1007 GraphicUses:1006Used by:1022
Symbol 1008 BitmapUsed by:1009
Symbol 1009 GraphicUses:1008Used by:1022
Symbol 1010 BitmapUsed by:1011
Symbol 1011 GraphicUses:1010Used by:1022
Symbol 1012 BitmapUsed by:1013
Symbol 1013 GraphicUses:1012Used by:1022
Symbol 1014 BitmapUsed by:1015
Symbol 1015 GraphicUses:1014Used by:1022
Symbol 1016 BitmapUsed by:1017
Symbol 1017 GraphicUses:1016Used by:1022
Symbol 1018 BitmapUsed by:1019
Symbol 1019 GraphicUses:1018Used by:1022
Symbol 1020 BitmapUsed by:1021
Symbol 1021 GraphicUses:1020Used by:1022
Symbol 1022 MovieClipUses:993 995 997 999 1001 1003 1005 1007 1009 1011 1013 1015 1017 1019 1021Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1023 GraphicUsed by:1084
Symbol 1024 BitmapUsed by:1025
Symbol 1025 GraphicUses:1024Used by:1036
Symbol 1026 BitmapUsed by:1027
Symbol 1027 GraphicUses:1026Used by:1036
Symbol 1028 BitmapUsed by:1029
Symbol 1029 GraphicUses:1028Used by:1036
Symbol 1030 BitmapUsed by:1031
Symbol 1031 GraphicUses:1030Used by:1036
Symbol 1032 BitmapUsed by:1033
Symbol 1033 GraphicUses:1032Used by:1036
Symbol 1034 BitmapUsed by:1035
Symbol 1035 GraphicUses:1034Used by:1036
Symbol 1036 MovieClipUses:1025 1027 1029 1031 1033 1035Used by:1084
Symbol 1037 BitmapUsed by:1038
Symbol 1038 GraphicUses:1037Used by:1084
Symbol 1039 BitmapUsed by:1040
Symbol 1040 GraphicUses:1039Used by:1051
Symbol 1041 BitmapUsed by:1042
Symbol 1042 GraphicUses:1041Used by:1051
Symbol 1043 BitmapUsed by:1044
Symbol 1044 GraphicUses:1043Used by:1051
Symbol 1045 BitmapUsed by:1046
Symbol 1046 GraphicUses:1045Used by:1051
Symbol 1047 BitmapUsed by:1048
Symbol 1048 GraphicUses:1047Used by:1051
Symbol 1049 BitmapUsed by:1050
Symbol 1050 GraphicUses:1049Used by:1051
Symbol 1051 MovieClipUses:1040 1042 1044 1046 1048 1050Used by:1084
Symbol 1052 GraphicUses:199 657Used by:1053 1236
Symbol 1053 MovieClipUses:1052 674Used by:1066
Symbol 1054 GraphicUses:205 699Used by:1055 1235
Symbol 1055 MovieClipUses:1054 722Used by:1066
Symbol 1056 GraphicUses:202 677Used by:1057 1234
Symbol 1057 MovieClipUses:1056 696Used by:1066
Symbol 1058 GraphicUsed by:1059
Symbol 1059 MovieClipUses:1058 872Used by:1066
Symbol 1060 GraphicUsed by:1061
Symbol 1061 MovieClipUses:1060 845Used by:1066
Symbol 1062 GraphicUsed by:1063
Symbol 1063 MovieClipUses:1062 854Used by:1066
Symbol 1064 GraphicUsed by:1065
Symbol 1065 MovieClipUses:1064 863Used by:1066
Symbol 1066 MovieClipUses:1053 1055 1057 213 219 1059 1061 1063 1065Used by:1084 1154 1161 1162 1224 1228 1467
Symbol 1067 BitmapUsed by:1068
Symbol 1068 GraphicUses:1067Used by:1084
Symbol 1069 BitmapUsed by:1070
Symbol 1070 GraphicUses:1069Used by:1081
Symbol 1071 BitmapUsed by:1072
Symbol 1072 GraphicUses:1071Used by:1081
Symbol 1073 BitmapUsed by:1074
Symbol 1074 GraphicUses:1073Used by:1081
Symbol 1075 BitmapUsed by:1076
Symbol 1076 GraphicUses:1075Used by:1081
Symbol 1077 BitmapUsed by:1078
Symbol 1078 GraphicUses:1077Used by:1081
Symbol 1079 BitmapUsed by:1080
Symbol 1080 GraphicUses:1079Used by:1081
Symbol 1081 MovieClipUses:1070 1072 1074 1076 1078 1080Used by:1084
Symbol 1082 BitmapUsed by:1083
Symbol 1083 GraphicUses:1082Used by:1084
Symbol 1084 MovieClipUses:1023 1036 1038 1051 1066 1068 1081 1083Used by:1229
Symbol 1085 GraphicUsed by:1086
Symbol 1086 MovieClipUses:1085Used by:1229
Symbol 1087 GraphicUsed by:1088
Symbol 1088 MovieClipUses:1087Used by:1089
Symbol 1089 MovieClipUses:1088 912 940Used by:1229
Symbol 1090 GraphicUsed by:1162
Symbol 1091 BitmapUsed by:1092
Symbol 1092 GraphicUses:1091Used by:1103
Symbol 1093 BitmapUsed by:1094
Symbol 1094 GraphicUses:1093Used by:1103
Symbol 1095 BitmapUsed by:1096
Symbol 1096 GraphicUses:1095Used by:1103
Symbol 1097 BitmapUsed by:1098
Symbol 1098 GraphicUses:1097Used by:1103
Symbol 1099 BitmapUsed by:1100
Symbol 1100 GraphicUses:1099Used by:1103
Symbol 1101 BitmapUsed by:1102
Symbol 1102 GraphicUses:1101Used by:1103
Symbol 1103 MovieClipUses:1092 1094 1096 1098 1100 1102Used by:1162
Symbol 1104 BitmapUsed by:1105
Symbol 1105 GraphicUses:1104Used by:1108 1147
Symbol 1106 BitmapUsed by:1107
Symbol 1107 GraphicUses:1106Used by:1108 1124 1140
Symbol 1108 MovieClipUses:1105 1107Used by:1162 1228
Symbol 1109 BitmapUsed by:1110
Symbol 1110 GraphicUses:1109Used by:1121
Symbol 1111 BitmapUsed by:1112
Symbol 1112 GraphicUses:1111Used by:1121
Symbol 1113 BitmapUsed by:1114
Symbol 1114 GraphicUses:1113Used by:1121
Symbol 1115 BitmapUsed by:1116
Symbol 1116 GraphicUses:1115Used by:1121
Symbol 1117 BitmapUsed by:1118
Symbol 1118 GraphicUses:1117Used by:1121
Symbol 1119 BitmapUsed by:1120
Symbol 1120 GraphicUses:1119Used by:1121
Symbol 1121 MovieClipUses:1110 1112 1114 1116 1118 1120Used by:1162
Symbol 1122 BitmapUsed by:1123
Symbol 1123 GraphicUses:1122Used by:1124 1154
Symbol 1124 MovieClipUses:1123 1107Used by:1162 1228
Symbol 1125 BitmapUsed by:1126
Symbol 1126 GraphicUses:1125Used by:1137
Symbol 1127 BitmapUsed by:1128
Symbol 1128 GraphicUses:1127Used by:1137
Symbol 1129 BitmapUsed by:1130
Symbol 1130 GraphicUses:1129Used by:1137
Symbol 1131 BitmapUsed by:1132
Symbol 1132 GraphicUses:1131Used by:1137
Symbol 1133 BitmapUsed by:1134
Symbol 1134 GraphicUses:1133Used by:1137
Symbol 1135 BitmapUsed by:1136
Symbol 1136 GraphicUses:1135Used by:1137
Symbol 1137 MovieClipUses:1126 1128 1130 1132 1134 1136Used by:1162
Symbol 1138 BitmapUsed by:1139
Symbol 1139 GraphicUses:1138Used by:1140 1161
Symbol 1140 MovieClipUses:1139 1107Used by:1162 1228
Symbol 1141 BitmapUsed by:1142
Symbol 1142 GraphicUses:1141Used by:1147
Symbol 1143 BitmapUsed by:1144
Symbol 1144 GraphicUses:1143Used by:1147
Symbol 1145 BitmapUsed by:1146
Symbol 1146 GraphicUses:1145Used by:1147
Symbol 1147 MovieClipUses:1142 1144 1146 1105Used by:1162
Symbol 1148 BitmapUsed by:1149
Symbol 1149 GraphicUses:1148Used by:1154
Symbol 1150 BitmapUsed by:1151
Symbol 1151 GraphicUses:1150Used by:1154
Symbol 1152 BitmapUsed by:1153
Symbol 1153 GraphicUses:1152Used by:1154
Symbol 1154 MovieClipUses:1149 1066 1151 1153 1123Used by:1162
Symbol 1155 BitmapUsed by:1156
Symbol 1156 GraphicUses:1155Used by:1161
Symbol 1157 BitmapUsed by:1158
Symbol 1158 GraphicUses:1157Used by:1161
Symbol 1159 BitmapUsed by:1160
Symbol 1160 GraphicUses:1159Used by:1161
Symbol 1161 MovieClipUses:1156 1066 1158 1160 1139Used by:1162
Symbol 1162 MovieClipUses:1090 1103 1108 1121 1066 1124 1137 1140 1147 1154 1161Used by:1229
Symbol 1163 GraphicUsed by:1224
Symbol 1164 BitmapUsed by:1165
Symbol 1165 GraphicUses:1164Used by:1176
Symbol 1166 BitmapUsed by:1167
Symbol 1167 GraphicUses:1166Used by:1176
Symbol 1168 BitmapUsed by:1169
Symbol 1169 GraphicUses:1168Used by:1176
Symbol 1170 BitmapUsed by:1171
Symbol 1171 GraphicUses:1170Used by:1176
Symbol 1172 BitmapUsed by:1173
Symbol 1173 GraphicUses:1172Used by:1176
Symbol 1174 BitmapUsed by:1175
Symbol 1175 GraphicUses:1174Used by:1176
Symbol 1176 MovieClipUses:1165 1167 1169 1171 1173 1175Used by:1224 1228
Symbol 1177 BitmapUsed by:1178
Symbol 1178 GraphicUses:1177Used by:1224
Symbol 1179 BitmapUsed by:1180
Symbol 1180 GraphicUses:1179Used by:1191
Symbol 1181 BitmapUsed by:1182
Symbol 1182 GraphicUses:1181Used by:1191
Symbol 1183 BitmapUsed by:1184
Symbol 1184 GraphicUses:1183Used by:1191
Symbol 1185 BitmapUsed by:1186
Symbol 1186 GraphicUses:1185Used by:1191
Symbol 1187 BitmapUsed by:1188
Symbol 1188 GraphicUses:1187Used by:1191
Symbol 1189 BitmapUsed by:1190
Symbol 1190 GraphicUses:1189Used by:1191
Symbol 1191 MovieClipUses:1180 1182 1184 1186 1188 1190Used by:1224 1228
Symbol 1192 BitmapUsed by:1193 1227
Symbol 1193 GraphicUses:1192Used by:1224
Symbol 1194 BitmapUsed by:1195
Symbol 1195 GraphicUses:1194Used by:1206
Symbol 1196 BitmapUsed by:1197
Symbol 1197 GraphicUses:1196Used by:1206
Symbol 1198 BitmapUsed by:1199
Symbol 1199 GraphicUses:1198Used by:1206
Symbol 1200 BitmapUsed by:1201
Symbol 1201 GraphicUses:1200Used by:1206
Symbol 1202 BitmapUsed by:1203
Symbol 1203 GraphicUses:1202Used by:1206
Symbol 1204 BitmapUsed by:1205
Symbol 1205 GraphicUses:1204Used by:1206
Symbol 1206 MovieClipUses:1195 1197 1199 1201 1203 1205Used by:1224 1228
Symbol 1207 BitmapUsed by:1208
Symbol 1208 GraphicUses:1207Used by:1224
Symbol 1209 BitmapUsed by:1210
Symbol 1210 GraphicUses:1209Used by:1221
Symbol 1211 BitmapUsed by:1212
Symbol 1212 GraphicUses:1211Used by:1221
Symbol 1213 BitmapUsed by:1214
Symbol 1214 GraphicUses:1213Used by:1221
Symbol 1215 BitmapUsed by:1216
Symbol 1216 GraphicUses:1215Used by:1221
Symbol 1217 BitmapUsed by:1218
Symbol 1218 GraphicUses:1217Used by:1221
Symbol 1219 BitmapUsed by:1220
Symbol 1220 GraphicUses:1219Used by:1221
Symbol 1221 MovieClipUses:1210 1212 1214 1216 1218 1220Used by:1224 1228
Symbol 1222 BitmapUsed by:1223
Symbol 1223 GraphicUses:1222Used by:1224
Symbol 1224 MovieClipUses:1163 1176 1178 1191 1066 1193 1206 1208 1221 1223Used by:1229
Symbol 1225 GraphicUsed by:1228
Symbol 1226 GraphicUsed by:1228
Symbol 1227 GraphicUses:1192Used by:1228
Symbol 1228 MovieClipUses:1225 1176 1226 1108 1206 1066 1124 1191 1227 1221 1140Used by:1229
Symbol 1229 MovieClipUses:1084 1086 1089 1162 1224 1228Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1230 BitmapUsed by:1233 1275 1290 1292 1294 1466 1545
Symbol 1231 BitmapUsed by:1233 1275 1466 1545
Symbol 1232 BitmapUsed by:1233 1275 1290 1292 1294 1466 1545
Symbol 1233 GraphicUses:1230 1231 1232Used by:1242 1243
Symbol 1234 MovieClipUses:1056 696Used by:1242
Symbol 1235 MovieClipUses:1054 722Used by:1242
Symbol 1236 MovieClipUses:1052 674Used by:1242
Symbol 1237 BitmapUsed by:1238
Symbol 1238 GraphicUses:1237Used by:1241
Symbol 1239 BitmapUsed by:1240
Symbol 1240 GraphicUses:1239Used by:1241
Symbol 1241 ButtonUses:1238 1240Used by:1242 1467 1546
Symbol 1242 MovieClipUses:1233 1234 1235 1236 1241Used by:1244
Symbol 1243 MovieClipUses:1233Used by:1244
Symbol 1244 MovieClipUses:1242 1243Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1245 GraphicUsed by:1248
Symbol 1246 FontUsed by:1247
Symbol 1247 TextUses:1246Used by:1248
Symbol 1248 MovieClipUses:1245 1247Used by:1249
Symbol 1249 MovieClipUses:1248Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1250 BitmapUsed by:1251
Symbol 1251 GraphicUses:1250Used by:1252
Symbol 1252 MovieClipUses:1251Used by:1253
Symbol 1253 MovieClipUses:1252Used by:1266
Symbol 1254 BitmapUsed by:1255
Symbol 1255 GraphicUses:1254Used by:1256
Symbol 1256 MovieClipUses:1255Used by:1257
Symbol 1257 MovieClipUses:1256Used by:1266
Symbol 1258 BitmapUsed by:1259
Symbol 1259 GraphicUses:1258Used by:1260
Symbol 1260 MovieClipUses:1259Used by:1261
Symbol 1261 MovieClipUses:1260Used by:1266
Symbol 1262 BitmapUsed by:1263
Symbol 1263 GraphicUses:1262Used by:1264
Symbol 1264 MovieClipUses:1263Used by:1265
Symbol 1265 MovieClipUses:1264Used by:1266
Symbol 1266 MovieClipUses:1253 1257 1261 1265Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1267 BitmapUsed by:1268
Symbol 1268 GraphicUses:1267Used by:1271
Symbol 1269 BitmapUsed by:1270
Symbol 1270 GraphicUses:1269Used by:1271
Symbol 1271 ButtonUses:1268 1270Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1272 GraphicUsed by:1288 1538 1553 1634
Symbol 1273 ShapeTweeningUsed by:1288
Symbol 1274 BitmapUsed by:1275
Symbol 1275 GraphicUses:1230 1232 1274 1231Used by:1276 1536
Symbol 1276 MovieClipUses:1275Used by:1288 1553 1634
Symbol 1277 BitmapUsed by:1278
Symbol 1278 GraphicUses:1277Used by:1279
Symbol 1279 MovieClipUses:1278Used by:1288 1538 1553 1634
Symbol 1280 GraphicUsed by:1288 1538 1553 1634
Symbol 1281 FontUsed by:1282 1291 1293 1295 1484 1537 1552 1633
Symbol 1282 EditableTextUses:1281Used by:1288
Symbol 1283 BitmapUsed by:1284
Symbol 1284 GraphicUses:1283Used by:1287
Symbol 1285 BitmapUsed by:1286
Symbol 1286 GraphicUses:1285Used by:1287
Symbol 1287 MovieClipUses:1284 1286Used by:1288 1538 1553 1634
Symbol 1288 MovieClipUses:1272 1273 1276 1279 1280 1282 1287Used by:1436 1602 1647 1657 1667
Symbol 1289 BitmapUsed by:1290 1292 1294
Symbol 1290 GraphicUses:1289 1230 1232Used by:1296
Symbol 1291 EditableTextUses:1281Used by:1296
Symbol 1292 GraphicUses:1289 1230 1232Used by:1296
Symbol 1293 EditableTextUses:1281Used by:1296
Symbol 1294 GraphicUses:1289 1230 1232Used by:1296
Symbol 1295 EditableTextUses:1281Used by:1296
Symbol 1296 MovieClipUses:1290 1291 1292 1293 1294 1295Used by:1436
Symbol 1297 BitmapUsed by:1299
Symbol 1298 BitmapUsed by:1299
Symbol 1299 GraphicUses:1297 1298Used by:1351 1492 1544 1559 1601 1639 1646 1656 1666
Symbol 1300 ShapeTweeningUsed by:1304
Symbol 1301 BitmapUsed by:1302
Symbol 1302 GraphicUses:1301Used by:1304 1488 1540 1555 1597 1636 1642 1649 1659
Symbol 1303 GraphicUsed by:1304 1488 1540 1555 1597 1636 1642 1649 1659
Symbol 1304 MovieClipUses:1300 1302 1303Used by:1351
Symbol 1305 GraphicUsed by:1307
Symbol 1306 GraphicUsed by:1307
Symbol 1307 MovieClipUses:1305 1306Used by:1351 1492 1544 1559 1601 1639 1646
Symbol 1308 BitmapUsed by:1309
Symbol 1309 GraphicUses:1308Used by:1328
Symbol 1310 BitmapUsed by:1311
Symbol 1311 GraphicUses:1310Used by:1328
Symbol 1312 BitmapUsed by:1313
Symbol 1313 GraphicUses:1312Used by:1328
Symbol 1314 BitmapUsed by:1315
Symbol 1315 GraphicUses:1314Used by:1328
Symbol 1316 BitmapUsed by:1317
Symbol 1317 GraphicUses:1316Used by:1328
Symbol 1318 BitmapUsed by:1319
Symbol 1319 GraphicUses:1318Used by:1328
Symbol 1320 BitmapUsed by:1321
Symbol 1321 GraphicUses:1320Used by:1328
Symbol 1322 BitmapUsed by:1323
Symbol 1323 GraphicUses:1322Used by:1328
Symbol 1324 BitmapUsed by:1325
Symbol 1325 GraphicUses:1324Used by:1328
Symbol 1326 BitmapUsed by:1327
Symbol 1327 GraphicUses:1326Used by:1328
Symbol 1328 MovieClipUses:1309 1311 1313 1315 1317 1319 1321 1323 1325 1327Used by:1351 1492 1544 1559 1601 1639 1646 1656 1666
Symbol 1329 BitmapUsed by:1330
Symbol 1330 GraphicUses:1329Used by:1347
Symbol 1331 BitmapUsed by:1332
Symbol 1332 GraphicUses:1331Used by:1347
Symbol 1333 BitmapUsed by:1334
Symbol 1334 GraphicUses:1333Used by:1347
Symbol 1335 BitmapUsed by:1336
Symbol 1336 GraphicUses:1335Used by:1347
Symbol 1337 BitmapUsed by:1338
Symbol 1338 GraphicUses:1337Used by:1347
Symbol 1339 BitmapUsed by:1340
Symbol 1340 GraphicUses:1339Used by:1347
Symbol 1341 BitmapUsed by:1342
Symbol 1342 GraphicUses:1341Used by:1347
Symbol 1343 BitmapUsed by:1344
Symbol 1344 GraphicUses:1343Used by:1347
Symbol 1345 BitmapUsed by:1346
Symbol 1346 GraphicUses:1345Used by:1347
Symbol 1347 MovieClipUses:1330 1332 1334 1336 1338 1340 1342 1344 1346Used by:1351 1492 1544 1559 1601 1639 1646 1656 1666
Symbol 1348 EditableTextUses:314Used by:1351
Symbol 1349 TextUses:314Used by:1351
Symbol 1350 TextUses:314Used by:1351
Symbol 1351 MovieClipUses:1299 1304 1307 1328 1347 1348 1349 1350Used by:1436
Symbol 1352 GraphicUsed by:1411 1465
Symbol 1353 GraphicUsed by:1411 1532
Symbol 1354 ShapeTweeningUsed by:1411
Symbol 1355 BitmapUsed by:1362
Symbol 1356 BitmapUsed by:1362
Symbol 1357 BitmapUsed by:1362 1519
Symbol 1358 BitmapUsed by:1362 1519
Symbol 1359 BitmapUsed by:1362 1519
Symbol 1360 BitmapUsed by:1362 1519
Symbol 1361 BitmapUsed by:1362 1519
Symbol 1362 GraphicUses:1355 1356 1357 1358 1359 1360 1361Used by:1403
Symbol 1363 TextUses:552Used by:1403
Symbol 1364 TextUses:552Used by:1403
Symbol 1365 TextUses:552Used by:1403
Symbol 1366 TextUses:552Used by:1403
Symbol 1367 EditableTextUses:552Used by:1403
Symbol 1368 EditableTextUses:552Used by:1403
Symbol 1369 BitmapUsed by:1370
Symbol 1370 GraphicUses:1369Used by:1395 1400
Symbol 1371 BitmapUsed by:1372
Symbol 1372 GraphicUses:1371Used by:1395 1400
Symbol 1373 BitmapUsed by:1374
Symbol 1374 GraphicUses:1373Used by:1395 1400
Symbol 1375 BitmapUsed by:1376
Symbol 1376 GraphicUses:1375Used by:1395 1400
Symbol 1377 BitmapUsed by:1378
Symbol 1378 GraphicUses:1377Used by:1395 1400
Symbol 1379 TextUses:552Used by:1380
Symbol 1380 MovieClipUses:1379Used by:1395
Symbol 1381 BitmapUsed by:1382
Symbol 1382 GraphicUses:1381Used by:1395
Symbol 1383 BitmapUsed by:1384
Symbol 1384 GraphicUses:1383Used by:1395 1400
Symbol 1385 BitmapUsed by:1386
Symbol 1386 GraphicUses:1385Used by:1395 1400
Symbol 1387 BitmapUsed by:1388
Symbol 1388 GraphicUses:1387Used by:1395 1400
Symbol 1389 BitmapUsed by:1390
Symbol 1390 GraphicUses:1389Used by:1395 1400
Symbol 1391 BitmapUsed by:1392
Symbol 1392 GraphicUses:1391Used by:1395 1400
Symbol 1393 BitmapUsed by:1394
Symbol 1394 GraphicUses:1393Used by:1395 1400
Symbol 1395 MovieClipUses:1370 284 1372 1374 1376 1378 1380 1382 1384 1386 1388 1390 1392 1394Used by:1401
Symbol 1396 BitmapUsed by:1397
Symbol 1397 GraphicUses:1396Used by:1400
Symbol 1398 TextUses:552Used by:1399
Symbol 1399 MovieClipUses:1398Used by:1400
Symbol 1400 MovieClipUses:1370 284 1372 1374 1376 1378 1397 1384 1399 1386 1388 1390 1392 1394Used by:1401
Symbol 1401 MovieClipUses:1395 1400Used by:1403
Symbol 1402 EditableTextUses:552Used by:1403
Symbol 1403 MovieClipUses:1362 1363 1364 1365 1366 1367 1368 1401 1402Used by:1411
Symbol 1404 GraphicUsed by:1411 1486
Symbol 1405 BitmapUsed by:1406
Symbol 1406 GraphicUses:1405Used by:1409
Symbol 1407 BitmapUsed by:1408
Symbol 1408 GraphicUses:1407Used by:1409
Symbol 1409 ButtonUses:1406 1408Used by:1411
Symbol 1410 MovieClipUses:560Used by:1411
Symbol 1411 MovieClipUses:1352 1353 1354 1403 1404 1409 1410Used by:1436 1533
Symbol 1412 GraphicUsed by:1413
Symbol 1413 MovieClipUses:1412Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1414 GraphicUsed by:1415
Symbol 1415 MovieClipUses:1414Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1416 GraphicUsed by:1417
Symbol 1417 MovieClipUses:1416Used by:1418
Symbol 1418 MovieClipUses:1417Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1419 GraphicUsed by:1420
Symbol 1420 MovieClipUses:1419Used by:1422
Symbol 1421 GraphicUsed by:1422
Symbol 1422 MovieClipUses:1420 1421Used by:1423
Symbol 1423 MovieClipUses:1422Used by:1424 1425 1426 1428 1429 1430 1432 1433 1434
Symbol 1424 MovieClipUses:198 1423Used by:1427
Symbol 1425 MovieClipUses:198 1423Used by:1427
Symbol 1426 MovieClipUses:198 1423Used by:1427
Symbol 1427 MovieClipUses:1424 1425 1426Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1428 MovieClipUses:198 1423Used by:1431
Symbol 1429 MovieClipUses:198 1423Used by:1431
Symbol 1430 MovieClipUses:198 1423Used by:1431
Symbol 1431 MovieClipUses:1428 1429 1430Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1432 MovieClipUses:198 1423Used by:1435
Symbol 1433 MovieClipUses:198 1423Used by:1435
Symbol 1434 MovieClipUses:198 1423Used by:1435
Symbol 1435 MovieClipUses:1432 1433 1434Used by:1436 1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1436 MovieClip [level1]Uses:585 604 636 725 775 828 875 890 941 970 991 1022 259 152 1229 1244 1249 1266 1271 1288 1296 1351 1411 1413 1415 1418 1427 1431 1435Used by:1675
Symbol 1437 GraphicUsed by:1438
Symbol 1438 MovieClipUses:1437Used by:1442
Symbol 1439 FontUsed by:1440 1457 1459 1461 1463 1520 1521 1522 1523 1524 1673
Symbol 1440 TextUses:1439Used by:1442
Symbol 1441 GraphicUsed by:1442
Symbol 1442 MovieClipUses:1438 1440 1441Used by:1465
Symbol 1443 GraphicUsed by:1465
Symbol 1444 BitmapUsed by:1450 1475
Symbol 1445 BitmapUsed by:1450
Symbol 1446 BitmapUsed by:1450 1475
Symbol 1447 BitmapUsed by:1450
Symbol 1448 BitmapUsed by:1450 1475
Symbol 1449 BitmapUsed by:1450 1475
Symbol 1450 GraphicUses:1444 1445 1446 1447 1448 1449Used by:1456 1465
Symbol 1451 BitmapUsed by:1452
Symbol 1452 GraphicUses:1451Used by:1453
Symbol 1453 MovieClipUses:1452 940Used by:1465
Symbol 1454 GraphicUsed by:1455
Symbol 1455 MovieClipUses:1454Used by:1465
Symbol 1456 MovieClipUses:1450Used by:1465
Symbol 1457 TextUses:1439Used by:1458
Symbol 1458 MovieClipUses:1457Used by:1465
Symbol 1459 TextUses:1439Used by:1460 1671
Symbol 1460 ButtonUses:1459Used by:1465
Symbol 1461 TextUses:1439Used by:1462
Symbol 1462 MovieClipUses:1461Used by:1465
Symbol 1463 TextUses:1439Used by:1464
Symbol 1464 MovieClipUses:1463Used by:1465
Symbol 1465 MovieClipUses:1442 1443 1352 1450 1453 1455 1456 1458 1460 1462 1464Used by:1675
Symbol 1466 GraphicUses:1230 1231 1232Used by:1467 1468
Symbol 1467 MovieClipUses:1466 1241 1066Used by:1469
Symbol 1468 MovieClipUses:1466Used by:1469
Symbol 1469 MovieClipUses:1467 1468Used by:1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1470 EditableTextUses:314Used by:1471
Symbol 1471 MovieClipUses:1470Used by:1472
Symbol 1472 MovieClipUses:1471Used by:1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1473 ShapeTweeningUsed by:1486
Symbol 1474 BitmapUsed by:1475
Symbol 1475 GraphicUses:1474 1444 1448 1446 1449Used by:1476
Symbol 1476 MovieClipUses:1475Used by:1486
Symbol 1477 BitmapUsed by:1478
Symbol 1478 GraphicUses:1477Used by:1481
Symbol 1479 BitmapUsed by:1480
Symbol 1480 GraphicUses:1479Used by:1481
Symbol 1481 ButtonUses:1478 1480Used by:1486
Symbol 1482 TextUses:552Used by:1486
Symbol 1483 TextUses:552Used by:1486
Symbol 1484 TextUses:1281Used by:1486
Symbol 1485 MovieClipUses:3 8 10 12 14 16 18 20 22 24 26 28 30 32 35 37 39 40 42 44 45Used by:1486
Symbol 1486 MovieClipUses:1473 1476 1404 1481 1482 1483 1484 1485Used by:1534 1550
Symbol 1487 ShapeTweeningUsed by:1488
Symbol 1488 MovieClipUses:1487 1302 1303Used by:1492
Symbol 1489 EditableTextUses:314Used by:1492
Symbol 1490 TextUses:314Used by:1492
Symbol 1491 TextUses:314Used by:1492
Symbol 1492 MovieClipUses:1299 1488 1307 1328 1347 1489 1490 1491Used by:1534
Symbol 1493 BitmapUsed by:1494
Symbol 1494 GraphicUses:544 1493Used by:1496
Symbol 1495 TextUses:552Used by:1496
Symbol 1496 MovieClipUses:1494 1495Used by:1512
Symbol 1497 BitmapUsed by:1498
Symbol 1498 GraphicUses:1497Used by:1511
Symbol 1499 BitmapUsed by:1500 1502 1504 1506 1508 1510
Symbol 1500 GraphicUses:1499Used by:1511
Symbol 1501 BitmapUsed by:1502 1504 1506 1508 1510
Symbol 1502 GraphicUses:1499 1501Used by:1511
Symbol 1503 BitmapUsed by:1504 1506 1508 1510
Symbol 1504 GraphicUses:1503 1499 1501Used by:1511
Symbol 1505 BitmapUsed by:1506 1508 1510
Symbol 1506 GraphicUses:1505 1503 1499 1501Used by:1511
Symbol 1507 BitmapUsed by:1508 1510
Symbol 1508 GraphicUses:1507 1505 1503 1499 1501Used by:1511
Symbol 1509 BitmapUsed by:1510
Symbol 1510 GraphicUses:1509 1507 1505 1503 1499 1501Used by:1511
Symbol 1511 MovieClipUses:1498 1500 1502 1504 1506 1508 1510Used by:1512 1517
Symbol 1512 MovieClipUses:1496 1511Used by:1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1513 BitmapUsed by:1514
Symbol 1514 GraphicUses:533 1513Used by:1516
Symbol 1515 TextUses:552Used by:1516
Symbol 1516 MovieClipUses:1514 1515Used by:1517
Symbol 1517 MovieClipUses:1516 1511Used by:1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1518 ShapeTweeningUsed by:1532
Symbol 1519 GraphicUses:182 1357 1358 1359 1360 1361Used by:1525
Symbol 1520 TextUses:1439Used by:1525
Symbol 1521 EditableTextUses:1439Used by:1525
Symbol 1522 EditableTextUses:1439Used by:1525
Symbol 1523 TextUses:1439Used by:1525
Symbol 1524 TextUses:1439Used by:1525
Symbol 1525 MovieClipUses:1519 1520 1521 1522 1523 1524Used by:1532
Symbol 1526 GraphicUsed by:1532
Symbol 1527 BitmapUsed by:1528
Symbol 1528 GraphicUses:1527Used by:1531
Symbol 1529 BitmapUsed by:1530
Symbol 1530 GraphicUses:1529Used by:1531
Symbol 1531 ButtonUses:1528 1530Used by:1532
Symbol 1532 MovieClipUses:1518 1353 1525 1526 567 1531Used by:1533
Symbol 1533 MovieClipUses:1411 1532Used by:1534 1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1534 MovieClip [level2]Uses:585 604 636 775 828 890 941 970 991 1022 725 259 152 77 1229 1244 1249 1266 1469 1472 1271 1486 1492 1512 1517 1533 1413 1415 1418 1427 1431 1435Used by:1675
Symbol 1535 ShapeTweeningUsed by:1538
Symbol 1536 MovieClipUses:1275Used by:1538
Symbol 1537 TextUses:1281Used by:1538
Symbol 1538 MovieClipUses:1272 1535 1536 1279 1280 1537 1287Used by:1549
Symbol 1539 ShapeTweeningUsed by:1540
Symbol 1540 MovieClipUses:1539 1302 1303Used by:1544
Symbol 1541 EditableTextUses:314Used by:1544
Symbol 1542 TextUses:314Used by:1544
Symbol 1543 TextUses:314Used by:1544
Symbol 1544 MovieClipUses:1299 1540 1307 1328 1347 1541 1542 1543Used by:1549 1550
Symbol 1545 GraphicUses:1230 1231 1232Used by:1546 1547
Symbol 1546 MovieClipUses:1545 1241 213 219Used by:1548
Symbol 1547 MovieClipUses:1545Used by:1548
Symbol 1548 MovieClipUses:1546 1547Used by:1549 1550 1562 1602 1640 1647 1657 1667
Symbol 1549 MovieClip [level3]Uses:585 604 636 775 828 875 890 941 970 991 1022 725 259 152 77 1229 1244 1249 1266 1472 1469 1271 1538 1544 1512 1517 1533 1413 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1550 MovieClip [level4]Uses:585 604 636 775 828 875 890 941 970 991 1022 725 259 152 77 1229 1244 1249 1266 1472 1469 1271 1486 1544 1512 1517 1533 1413 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1551 ShapeTweeningUsed by:1553
Symbol 1552 TextUses:1281Used by:1553
Symbol 1553 MovieClipUses:1272 1551 1276 1279 1280 1552 1287Used by:1562
Symbol 1554 ShapeTweeningUsed by:1555
Symbol 1555 MovieClipUses:1554 1302 1303Used by:1559
Symbol 1556 EditableTextUses:314Used by:1559
Symbol 1557 TextUses:314Used by:1559
Symbol 1558 TextUses:314Used by:1559
Symbol 1559 MovieClipUses:1299 1555 1307 1328 1347 1556 1557 1558Used by:1562
Symbol 1560 GraphicUsed by:1561
Symbol 1561 MovieClipUses:1560Used by:1562 1602 1640 1647 1657 1667
Symbol 1562 MovieClip [level5]Uses:585 604 636 775 828 875 890 941 970 991 1022 725 259 152 77 1229 1244 1249 1266 1472 1469 1271 1553 1559 1512 1517 1533 1413 1561 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1563 BitmapUsed by:1564
Symbol 1564 GraphicUses:1563Used by:1595
Symbol 1565 BitmapUsed by:1566
Symbol 1566 GraphicUses:1565Used by:1595
Symbol 1567 BitmapUsed by:1568
Symbol 1568 GraphicUses:1567Used by:1595
Symbol 1569 BitmapUsed by:1570
Symbol 1570 GraphicUses:1569Used by:1595
Symbol 1571 BitmapUsed by:1572
Symbol 1572 GraphicUses:1571Used by:1595
Symbol 1573 BitmapUsed by:1574
Symbol 1574 GraphicUses:1573Used by:1595
Symbol 1575 BitmapUsed by:1576
Symbol 1576 GraphicUses:1575Used by:1595
Symbol 1577 BitmapUsed by:1578
Symbol 1578 GraphicUses:1577Used by:1595
Symbol 1579 BitmapUsed by:1580
Symbol 1580 GraphicUses:1579Used by:1595
Symbol 1581 BitmapUsed by:1582
Symbol 1582 GraphicUses:1581Used by:1595
Symbol 1583 BitmapUsed by:1584
Symbol 1584 GraphicUses:1583Used by:1595
Symbol 1585 BitmapUsed by:1586
Symbol 1586 GraphicUses:1585Used by:1595
Symbol 1587 BitmapUsed by:1588
Symbol 1588 GraphicUses:1587Used by:1595
Symbol 1589 BitmapUsed by:1590
Symbol 1590 GraphicUses:1589Used by:1595
Symbol 1591 BitmapUsed by:1592
Symbol 1592 GraphicUses:1591Used by:1595
Symbol 1593 BitmapUsed by:1594
Symbol 1594 GraphicUses:1593Used by:1595
Symbol 1595 MovieClipUses:1564 1566 1568 1570 1572 1574 1576 1578 1580 1582 1584 1586 1588 1590 1592 1594Used by:1602 1640 1647 1657 1667
Symbol 1596 ShapeTweeningUsed by:1597
Symbol 1597 MovieClipUses:1596 1302 1303Used by:1601
Symbol 1598 EditableTextUses:314Used by:1601
Symbol 1599 TextUses:314Used by:1601
Symbol 1600 TextUses:314Used by:1601 1639
Symbol 1601 MovieClipUses:1299 1597 1307 1328 1347 1598 1599 1600Used by:1602
Symbol 1602 MovieClip [level6]Uses:585 604 636 775 828 875 890 941 991 1022 970 725 259 152 77 1229 1595 1244 1249 1266 1472 1469 1271 1288 1601 1512 1517 1533 1413 1561 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1603 GraphicUses:627Used by:1604
Symbol 1604 MovieClipUses:1603Used by:1612 1615
Symbol 1605 GraphicUses:627Used by:1606
Symbol 1606 MovieClipUses:1605Used by:1612 1624
Symbol 1607 MovieClipUses:593Used by:1612
Symbol 1608 GraphicUsed by:1611
Symbol 1609 ShapeTweeningUsed by:1611
Symbol 1610 GraphicUsed by:1611 1614
Symbol 1611 MovieClipUses:1608 1609 1610Used by:1612
Symbol 1612 MovieClipUses:1604 1606 1607 1611Used by:1615 1624
Symbol 1613 ShapeTweeningUsed by:1614
Symbol 1614 MovieClipUses:1613 1610Used by:1615
Symbol 1615 MovieClipUses:1612 175 1604 1614Used by:1640 1647 1657 1667
Symbol 1616 ShapeTweeningUsed by:1619
Symbol 1617 ShapeTweeningUsed by:1619
Symbol 1618 GraphicUsed by:1619
Symbol 1619 MovieClipUses:1616 1617 1618Used by:1624
Symbol 1620 GraphicUses:633Used by:1624
Symbol 1621 ShapeTweeningUsed by:1623
Symbol 1622 GraphicUsed by:1623
Symbol 1623 MovieClipUses:1621 1622Used by:1624
Symbol 1624 MovieClipUses:1612 175 1606 1619 1620 1623Used by:1640 1647 1657 1667
Symbol 1625 GraphicUsed by:1631
Symbol 1626 ShapeTweeningUsed by:1629
Symbol 1627 ShapeTweeningUsed by:1629
Symbol 1628 GraphicUsed by:1629
Symbol 1629 MovieClipUses:1626 1627 1628Used by:1631
Symbol 1630 GraphicUsed by:1631
Symbol 1631 MovieClipUses:1625 1629 1630Used by:1640 1647 1657 1667
Symbol 1632 ShapeTweeningUsed by:1634
Symbol 1633 TextUses:1281Used by:1634
Symbol 1634 MovieClipUses:1272 1632 1276 1279 1280 1633 1287Used by:1640
Symbol 1635 ShapeTweeningUsed by:1636
Symbol 1636 MovieClipUses:1635 1302 1303Used by:1639
Symbol 1637 EditableTextUses:314Used by:1639
Symbol 1638 TextUses:314Used by:1639
Symbol 1639 MovieClipUses:1299 1636 1307 1328 1347 1637 1638 1600Used by:1640
Symbol 1640 MovieClip [level7]Uses:585 1615 604 1624 1631 775 828 875 890 941 991 1022 970 725 259 152 77 1229 1595 1244 1249 1266 1472 1469 1271 1634 1639 1548 1533 1413 1561 1415 1418 1427 1431 1435 1512 1517Used by:1675
Symbol 1641 ShapeTweeningUsed by:1642
Symbol 1642 MovieClipUses:1641 1302 1303Used by:1646
Symbol 1643 EditableTextUses:314Used by:1646
Symbol 1644 TextUses:314Used by:1646
Symbol 1645 TextUses:314Used by:1646
Symbol 1646 MovieClipUses:1299 1642 1307 1328 1347 1643 1644 1645Used by:1647
Symbol 1647 MovieClip [level8]Uses:585 1615 604 1624 1631 775 828 875 890 941 991 1022 970 725 259 152 77 1229 1595 1244 1249 1266 1472 1469 1271 1288 1646 1512 1517 1533 1413 1561 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1648 ShapeTweeningUsed by:1649
Symbol 1649 MovieClipUses:1648 1302 1303Used by:1656
Symbol 1650 GraphicUsed by:1652
Symbol 1651 GraphicUsed by:1652
Symbol 1652 MovieClipUses:1650 1651Used by:1656
Symbol 1653 EditableTextUses:314Used by:1656
Symbol 1654 TextUses:314Used by:1656
Symbol 1655 TextUses:314Used by:1656
Symbol 1656 MovieClipUses:1299 1649 1652 1328 1347 1653 1654 1655Used by:1657
Symbol 1657 MovieClip [level9]Uses:585 1615 1624 604 1631 775 828 875 890 941 970 991 1022 725 259 152 77 1229 1595 1244 1249 1266 1472 1469 1271 1288 1656 1512 1517 1533 1413 1561 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1658 ShapeTweeningUsed by:1659
Symbol 1659 MovieClipUses:1658 1302 1303Used by:1666
Symbol 1660 GraphicUsed by:1662
Symbol 1661 GraphicUsed by:1662
Symbol 1662 MovieClipUses:1660 1661Used by:1666
Symbol 1663 EditableTextUses:314Used by:1666
Symbol 1664 TextUses:314Used by:1666
Symbol 1665 TextUses:314Used by:1666
Symbol 1666 MovieClipUses:1299 1659 1662 1328 1347 1663 1664 1665Used by:1667
Symbol 1667 MovieClip [level10]Uses:585 1615 1624 604 1631 775 828 875 890 941 970 991 1022 725 259 152 77 1229 1595 1244 1249 1266 1472 1469 1271 1288 1666 1512 1517 1533 1413 1561 1415 1418 1427 1431 1435 1548Used by:1675
Symbol 1668 BitmapUsed by:1669
Symbol 1669 GraphicUses:1668Used by:1674
Symbol 1670 ButtonUses:564 566Used by:1674
Symbol 1671 ButtonUses:1459Used by:1674
Symbol 1672 GraphicUsed by:1674
Symbol 1673 TextUses:1439Used by:1674
Symbol 1674 MovieClipUses:1669 1670 1671 1672 1673Used by:1675
Symbol 1675 MovieClipUses:269 271 274 277 278 283 284 287 305 311 327 378 383 568 1436 1465 1534 1549 1550 1562 1602 1640 1647 1657 1667 1674Used by:Timeline
Symbol 1676 Sound [mainmenu.mp3]Used by:Timeline
Symbol 1677 Sound [gamebgsnd.mp3]Used by:Timeline
Symbol 1678 Sound [calendersnd.mp3]Used by:Timeline
Symbol 1679 Sound [choco_done.mp3]Used by:Timeline
Symbol 1680 Sound [combo1.mp3]Used by:Timeline
Symbol 1681 Sound [combo2.mp3]Used by:Timeline
Symbol 1682 Sound [combo3.mp3]Used by:Timeline
Symbol 1683 Sound [expert_score.mp3]Used by:Timeline
Symbol 1684 Sound [hotchoco_done.mp3]Used by:Timeline
Symbol 1685 Sound [phonering.mp3]Used by:Timeline
Symbol 1686 Sound [target_score.mp3]Used by:Timeline
Symbol 1687 Sound [customer_happy.mp3]Used by:Timeline
Symbol 1688 Sound [level_complete.mp3]Used by:Timeline
Symbol 1689 Sound [level_failed.mp3]Used by:Timeline
Symbol 1690 Sound [money1.mp3]Used by:Timeline
Symbol 1691 Sound [money2.mp3]Used by:Timeline
Symbol 1692 Sound [money3.mp3]Used by:Timeline
Symbol 1693 Sound [choco_producing.mp3]Used by:Timeline

Instance Names

"mc_loading"Frame 1Symbol 268 MovieClip
"#"Frame 10Symbol 1675 MovieClip
"customer"Symbol 77 MovieClip [oldlady] Frame 1Symbol 5 MovieClip
"customer"Symbol 77 MovieClip [oldlady] Frame 2Symbol 46 MovieClip
"customer"Symbol 77 MovieClip [oldlady] Frame 3Symbol 55 MovieClip
"customer"Symbol 77 MovieClip [oldlady] Frame 4Symbol 68 MovieClip
"customer"Symbol 77 MovieClip [oldlady] Frame 5Symbol 71 MovieClip
"customer"Symbol 77 MovieClip [oldlady] Frame 6Symbol 76 MovieClip
"customer"Symbol 152 MovieClip [younglady] Frame 1Symbol 83 MovieClip
"customer"Symbol 152 MovieClip [younglady] Frame 2Symbol 128 MovieClip
"customer"Symbol 152 MovieClip [younglady] Frame 3Symbol 135 MovieClip
"customer"Symbol 152 MovieClip [younglady] Frame 4Symbol 144 MovieClip
"customer"Symbol 152 MovieClip [younglady] Frame 5Symbol 147 MovieClip
"customer"Symbol 152 MovieClip [younglady] Frame 6Symbol 151 MovieClip
"box"Symbol 179 MovieClip Frame 1Symbol 159 MovieClip
"type_rabbit"Symbol 220 MovieClip Frame 4Symbol 213 MovieClip
"type_fish"Symbol 220 MovieClip Frame 5Symbol 219 MovieClip
"chocobox"Symbol 221 MovieClip Frame 74Symbol 220 MovieClip
"highlight_small_coin"Symbol 238 MovieClip Frame 2Symbol 237 MovieClip
"big_money"Symbol 254 MovieClip Frame 1Symbol 246 MovieClip
"small_money"Symbol 254 MovieClip Frame 2Symbol 249 MovieClip
"highlight"Symbol 259 MovieClip [orderbook] Frame 1Symbol 157 MovieClip
"timelimit"Symbol 259 MovieClip [orderbook] Frame 1Symbol 169 MovieClip
"pointer"Symbol 259 MovieClip [orderbook] Frame 1Symbol 175 MovieClip
"green_highlight"Symbol 259 MovieClip [orderbook] Frame 2Symbol 178 MovieClip
"temp_box"Symbol 259 MovieClip [orderbook] Frame 2Symbol 179 MovieClip
"book_mc"Symbol 259 MovieClip [orderbook] Frame 2Symbol 221 MovieClip
"highlight"Symbol 259 MovieClip [orderbook] Frame 3Symbol 227 MovieClip
"highlight_small"Symbol 259 MovieClip [orderbook] Frame 3Symbol 233 MovieClip
"highlight_small_coin"Symbol 259 MovieClip [orderbook] Frame 3Symbol 238 MovieClip
"money_mc"Symbol 259 MovieClip [orderbook] Frame 3Symbol 254 MovieClip
"heartinClip"Symbol 259 MovieClip [orderbook] Frame 3Symbol 258 MovieClip
"load_txt"Symbol 268 MovieClip Frame 1Symbol 267 EditableText
"version_info"Symbol 301 MovieClip Frame 1Symbol 300 EditableText
"btn_play"Symbol 327 MovieClip Frame 1Symbol 319 MovieClip
"btn_moregames"Symbol 327 MovieClip Frame 1Symbol 324 MovieClip
"ani_clip"Symbol 409 MovieClip Frame 1Symbol 407 MovieClip
"ani_clip"Symbol 419 MovieClip Frame 1Symbol 418 MovieClip
"ani_clip"Symbol 446 MovieClip Frame 1Symbol 445 MovieClip
"blink_mc"Symbol 516 MovieClip Frame 1Symbol 505 MovieClip
"hand_mc"Symbol 547 MovieClip Frame 1Symbol 516 MovieClip
"score"Symbol 547 MovieClip Frame 3Symbol 522 EditableText
"clip"Symbol 547 MovieClip Frame 3Symbol 535 MovieClip
"clip"Symbol 547 MovieClip Frame 4Symbol 546 MovieClip
"level1"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level2"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level3"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level4"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level5"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level6"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level7"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level8"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level9"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"level10"Symbol 549 MovieClip Frame 1Symbol 547 MovieClip
"score"Symbol 555 MovieClip Frame 1Symbol 554 EditableText
"seasonMc"Symbol 568 MovieClip Frame 1Symbol 453 MovieClip
"btn_left"Symbol 568 MovieClip Frame 1Symbol 458 Button
"btn_right"Symbol 568 MovieClip Frame 1Symbol 458 Button
"monthMc"Symbol 568 MovieClip Frame 1Symbol 549 MovieClip
"totalscoreMc"Symbol 568 MovieClip Frame 1Symbol 555 MovieClip
"btn_play"Symbol 568 MovieClip Frame 1Symbol 562 Button
"btn_menu"Symbol 568 MovieClip Frame 1Symbol 567 Button
"blink"Symbol 585 MovieClip Frame 2Symbol 579 MovieClip
"dusbin_intro"Symbol 604 MovieClip Frame 1Symbol 595 MovieClip
"pointer"Symbol 604 MovieClip Frame 1Symbol 175 MovieClip
"intro"Symbol 626 MovieClip Frame 1Symbol 616 MovieClip
"blink"Symbol 626 MovieClip Frame 2Symbol 611 MovieClip
"single_machine"Symbol 636 MovieClip Frame 1Symbol 626 MovieClip
"pointer"Symbol 636 MovieClip Frame 1Symbol 175 MovieClip
"double_machine"Symbol 636 MovieClip Frame 2Symbol 635 MovieClip
"mc"Symbol 725 MovieClip Frame 1Symbol 676 MovieClip
"mc"Symbol 725 MovieClip Frame 2Symbol 698 MovieClip
"mc"Symbol 725 MovieClip Frame 3Symbol 724 MovieClip
"intro"Symbol 797 MovieClip Frame 1Symbol 787 MovieClip
"blink"Symbol 797 MovieClip Frame 2Symbol 782 MovieClip
"intro"Symbol 827 MovieClip Frame 1Symbol 816 MovieClip
"machine1"Symbol 828 MovieClip Frame 1Symbol 797 MovieClip
"pointer"Symbol 828 MovieClip Frame 1Symbol 175 MovieClip
"machine2"Symbol 828 MovieClip Frame 2Symbol 827 MovieClip
"mc"Symbol 875 MovieClip Frame 1Symbol 833 MovieClip
"mc"Symbol 875 MovieClip Frame 2Symbol 838 MovieClip
"mc"Symbol 875 MovieClip Frame 3Symbol 847 MovieClip
"mc"Symbol 875 MovieClip Frame 4Symbol 856 MovieClip
"mc"Symbol 875 MovieClip Frame 5Symbol 865 MovieClip
"mc"Symbol 875 MovieClip Frame 6Symbol 874 MovieClip
"intro"Symbol 890 MovieClip Frame 1Symbol 881 MovieClip
"pointer"Symbol 890 MovieClip Frame 1Symbol 175 MovieClip
"smoke"Symbol 941 MovieClip Frame 125Symbol 940 MovieClip
"ring"Symbol 970 MovieClip Frame 2Symbol 962 MovieClip
"type_triangle"Symbol 1066 MovieClip Frame 1Symbol 1053 MovieClip
"type_box"Symbol 1066 MovieClip Frame 2Symbol 1055 MovieClip
"type_round"Symbol 1066 MovieClip Frame 3Symbol 1057 MovieClip
"type_rabbit"Symbol 1066 MovieClip Frame 4Symbol 213 MovieClip
"type_fish"Symbol 1066 MovieClip Frame 5Symbol 219 MovieClip
"chocobox1"Symbol 1084 MovieClip Frame 3Symbol 1066 MovieClip
"chocobox2"Symbol 1084 MovieClip Frame 5Symbol 1066 MovieClip
"smoke"Symbol 1089 MovieClip Frame 1Symbol 940 MovieClip
"chocobox1"Symbol 1154 MovieClip Frame 1Symbol 1066 MovieClip
"chocobox1"Symbol 1161 MovieClip Frame 1Symbol 1066 MovieClip
"chocobox2"Symbol 1161 MovieClip Frame 1Symbol 1066 MovieClip
"chocobox1"Symbol 1162 MovieClip Frame 3Symbol 1066 MovieClip
"chocobox1"Symbol 1162 MovieClip Frame 7Symbol 1066 MovieClip
"chocobox2"Symbol 1162 MovieClip Frame 7Symbol 1066 MovieClip
"chocobox2"Symbol 1162 MovieClip Frame 8Symbol 1066 MovieClip
"jumpLady"Symbol 1162 MovieClip Frame 9Symbol 1147 MovieClip
"jumpLady"Symbol 1162 MovieClip Frame 10Symbol 1154 MovieClip
"jumpLady"Symbol 1162 MovieClip Frame 11Symbol 1161 MovieClip
"chocobox1"Symbol 1224 MovieClip Frame 3Symbol 1066 MovieClip
"chocobox2"Symbol 1224 MovieClip Frame 7Symbol 1066 MovieClip
"lefttoright"Symbol 1228 MovieClip Frame 1Symbol 1176 MovieClip
"chocobox1"Symbol 1228 MovieClip Frame 3Symbol 1066 MovieClip
"chocobox2"Symbol 1228 MovieClip Frame 7Symbol 1066 MovieClip
"girlwalk"Symbol 1229 MovieClip Frame 1Symbol 1084 MovieClip
"pointer"Symbol 1229 MovieClip Frame 1Symbol 1086 MovieClip
"coffeeicon"Symbol 1229 MovieClip Frame 1Symbol 1089 MovieClip
"girlwalk"Symbol 1229 MovieClip Frame 2Symbol 1162 MovieClip
"girlwalk"Symbol 1229 MovieClip Frame 3Symbol 1224 MovieClip
"girlwalk"Symbol 1229 MovieClip Frame 4Symbol 1228 MovieClip
"type_round"Symbol 1242 MovieClip Frame 5Symbol 1234 MovieClip
"type_box"Symbol 1242 MovieClip Frame 5Symbol 1235 MovieClip
"type_triangle"Symbol 1242 MovieClip Frame 5Symbol 1236 MovieClip
"btn_close"Symbol 1242 MovieClip Frame 5Symbol 1241 Button
"mc"Symbol 1244 MovieClip Frame 1Symbol 1242 MovieClip
"mc"Symbol 1244 MovieClip Frame 2Symbol 1243 MovieClip
"combo"Symbol 1266 MovieClip Frame 1Symbol 1253 MovieClip
"combo"Symbol 1266 MovieClip Frame 3Symbol 1257 MovieClip
"combo"Symbol 1266 MovieClip Frame 4Symbol 1261 MovieClip
"combo"Symbol 1266 MovieClip Frame 5Symbol 1265 MovieClip
"popup_txt"Symbol 1288 MovieClip Frame 7Symbol 1282 EditableText
"btn_ok"Symbol 1288 MovieClip Frame 7Symbol 1287 MovieClip
"info"Symbol 1296 MovieClip Frame 1Symbol 1291 EditableText
"info"Symbol 1296 MovieClip Frame 2Symbol 1293 EditableText
"info"Symbol 1296 MovieClip Frame 3Symbol 1295 EditableText
"loading"Symbol 1351 MovieClip Frame 1Symbol 1304 MovieClip
"target"Symbol 1351 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1351 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1351 MovieClip Frame 1Symbol 1348 EditableText
"mc"Symbol 1401 MovieClip Frame 1Symbol 1395 MovieClip
"mc"Symbol 1401 MovieClip Frame 2Symbol 1400 MovieClip
"money_earned"Symbol 1403 MovieClip Frame 1Symbol 1367 EditableText
"tips"Symbol 1403 MovieClip Frame 1Symbol 1368 EditableText
"result"Symbol 1403 MovieClip Frame 1Symbol 1401 MovieClip
"total"Symbol 1403 MovieClip Frame 1Symbol 1402 EditableText
"btn_continue"Symbol 1411 MovieClip Frame 7Symbol 1409 Button
"star_anim"Symbol 1411 MovieClip Frame 7Symbol 1410 MovieClip
"coin_rotate"Symbol 1424 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate"Symbol 1425 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate2"Symbol 1425 MovieClip Frame 6Symbol 198 MovieClip
"coin_rotate"Symbol 1425 MovieClip Frame 18Symbol 198 MovieClip
"coin_rotate"Symbol 1426 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate2"Symbol 1426 MovieClip Frame 6Symbol 198 MovieClip
"coin_rotate3"Symbol 1426 MovieClip Frame 10Symbol 198 MovieClip
"coin_rotate4"Symbol 1426 MovieClip Frame 13Symbol 198 MovieClip
"coin"Symbol 1427 MovieClip Frame 1Symbol 1424 MovieClip
"coin"Symbol 1427 MovieClip Frame 2Symbol 1425 MovieClip
"coin"Symbol 1427 MovieClip Frame 3Symbol 1426 MovieClip
"coin_rotate"Symbol 1428 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate"Symbol 1429 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate2"Symbol 1429 MovieClip Frame 6Symbol 198 MovieClip
"coin_rotate"Symbol 1430 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate2"Symbol 1430 MovieClip Frame 6Symbol 198 MovieClip
"coin_rotate3"Symbol 1430 MovieClip Frame 10Symbol 198 MovieClip
"coin_rotate4"Symbol 1430 MovieClip Frame 13Symbol 198 MovieClip
"coin"Symbol 1431 MovieClip Frame 1Symbol 1428 MovieClip
"coin"Symbol 1431 MovieClip Frame 2Symbol 1429 MovieClip
"coin"Symbol 1431 MovieClip Frame 3Symbol 1430 MovieClip
"coin_rotate"Symbol 1432 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate"Symbol 1433 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate2"Symbol 1433 MovieClip Frame 6Symbol 198 MovieClip
"coin_rotate"Symbol 1434 MovieClip Frame 1Symbol 198 MovieClip
"coin_rotate2"Symbol 1434 MovieClip Frame 6Symbol 198 MovieClip
"coin_rotate3"Symbol 1434 MovieClip Frame 10Symbol 198 MovieClip
"coin_rotate4"Symbol 1434 MovieClip Frame 13Symbol 198 MovieClip
"coin_rotate"Symbol 1434 MovieClip Frame 26Symbol 198 MovieClip
"coin"Symbol 1435 MovieClip Frame 1Symbol 1432 MovieClip
"coin"Symbol 1435 MovieClip Frame 2Symbol 1433 MovieClip
"coin"Symbol 1435 MovieClip Frame 3Symbol 1434 MovieClip
"bg"Symbol 1436 MovieClip [level1] Frame 1Symbol 585 MovieClip
"dusbin"Symbol 1436 MovieClip [level1] Frame 1Symbol 604 MovieClip
"choco_machines"Symbol 1436 MovieClip [level1] Frame 1Symbol 636 MovieClip
"chocolateClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 725 MovieClip
"timerClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1436 MovieClip [level1] Frame 1Symbol 828 MovieClip
"specialcho_container"Symbol 1436 MovieClip [level1] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1436 MovieClip [level1] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1436 MovieClip [level1] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 1022 MovieClip
"salesGirl"Symbol 1436 MovieClip [level1] Frame 1Symbol 1229 MovieClip
"chocolate_container"Symbol 1436 MovieClip [level1] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 1266 MovieClip
"btn_pause"Symbol 1436 MovieClip [level1] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1436 MovieClip [level1] Frame 1Symbol 1288 MovieClip
"infoClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 1296 MovieClip
"scoreClip"Symbol 1436 MovieClip [level1] Frame 1Symbol 1351 MovieClip
"reportMc"Symbol 1436 MovieClip [level1] Frame 1Symbol 1411 MovieClip
"chomac_indicate"Symbol 1436 MovieClip [level1] Frame 1Symbol 1413 MovieClip
"dusbin_indicate"Symbol 1436 MovieClip [level1] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1436 MovieClip [level1] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1436 MovieClip [level1] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1436 MovieClip [level1] Frame 1Symbol 1415 MovieClip
"table2"Symbol 1436 MovieClip [level1] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1436 MovieClip [level1] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1436 MovieClip [level1] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1436 MovieClip [level1] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1436 MovieClip [level1] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1436 MovieClip [level1] Frame 1Symbol 1435 MovieClip
"pause_timer"Symbol 1465 MovieClip Frame 1Symbol 1442 MovieClip
"btn_continue"Symbol 1465 MovieClip Frame 8Symbol 1458 MovieClip
"btn_premium"Symbol 1465 MovieClip Frame 8Symbol 1460 Button
"btn_restart"Symbol 1465 MovieClip Frame 8Symbol 1462 MovieClip
"btn_mainmenu"Symbol 1465 MovieClip Frame 8Symbol 1464 MovieClip
"btn_close"Symbol 1467 MovieClip Frame 5Symbol 1241 Button
"chocobox1"Symbol 1467 MovieClip Frame 5Symbol 1066 MovieClip
"chocobox2"Symbol 1467 MovieClip Frame 5Symbol 1066 MovieClip
"mc"Symbol 1469 MovieClip Frame 1Symbol 1467 MovieClip
"score"Symbol 1471 MovieClip Frame 1Symbol 1470 EditableText
"disp"Symbol 1472 MovieClip Frame 1Symbol 1471 MovieClip
"btn_ok"Symbol 1486 MovieClip Frame 5Symbol 1481 Button
"loading"Symbol 1492 MovieClip Frame 1Symbol 1488 MovieClip
"target"Symbol 1492 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1492 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1492 MovieClip Frame 1Symbol 1489 EditableText
"goal"Symbol 1525 MovieClip Frame 1Symbol 1521 EditableText
"yougot"Symbol 1525 MovieClip Frame 1Symbol 1522 EditableText
"btn_menu"Symbol 1532 MovieClip Frame 7Symbol 567 Button
"btn_retry"Symbol 1532 MovieClip Frame 7Symbol 1531 Button
"mc"Symbol 1533 MovieClip Frame 1Symbol 1411 MovieClip
"mc"Symbol 1533 MovieClip Frame 2Symbol 1532 MovieClip
"bg"Symbol 1534 MovieClip [level2] Frame 1Symbol 585 MovieClip
"dusbin"Symbol 1534 MovieClip [level2] Frame 1Symbol 604 MovieClip
"choco_machines"Symbol 1534 MovieClip [level2] Frame 1Symbol 636 MovieClip
"timerClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1534 MovieClip [level2] Frame 1Symbol 828 MovieClip
"coffee_machine"Symbol 1534 MovieClip [level2] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1534 MovieClip [level2] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1022 MovieClip
"chocolateClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1534 MovieClip [level2] Frame 1Symbol 1229 MovieClip
"chocolate_container"Symbol 1534 MovieClip [level2] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1266 MovieClip
"dusbinContainer"Symbol 1534 MovieClip [level2] Frame 1Symbol 1469 MovieClip
"curScoreClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1472 MovieClip
"btn_pause"Symbol 1534 MovieClip [level2] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1534 MovieClip [level2] Frame 1Symbol 1486 MovieClip
"scoreClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1492 MovieClip
"scoreIndicateClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1534 MovieClip [level2] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1534 MovieClip [level2] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1534 MovieClip [level2] Frame 1Symbol 1413 MovieClip
"dusbin_indicate"Symbol 1534 MovieClip [level2] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1534 MovieClip [level2] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1534 MovieClip [level2] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1534 MovieClip [level2] Frame 1Symbol 1415 MovieClip
"table2"Symbol 1534 MovieClip [level2] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1534 MovieClip [level2] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1534 MovieClip [level2] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1534 MovieClip [level2] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1534 MovieClip [level2] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1534 MovieClip [level2] Frame 1Symbol 1435 MovieClip
"btn_ok"Symbol 1538 MovieClip Frame 7Symbol 1287 MovieClip
"loading"Symbol 1544 MovieClip Frame 1Symbol 1540 MovieClip
"target"Symbol 1544 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1544 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1544 MovieClip Frame 1Symbol 1541 EditableText
"btn_close"Symbol 1546 MovieClip Frame 5Symbol 1241 Button
"type_rabbit"Symbol 1546 MovieClip Frame 5Symbol 213 MovieClip
"type_fish"Symbol 1546 MovieClip Frame 5Symbol 219 MovieClip
"mc"Symbol 1548 MovieClip Frame 1Symbol 1546 MovieClip
"mc"Symbol 1548 MovieClip Frame 2Symbol 1547 MovieClip
"bg"Symbol 1549 MovieClip [level3] Frame 1Symbol 585 MovieClip
"dusbin"Symbol 1549 MovieClip [level3] Frame 1Symbol 604 MovieClip
"choco_machines"Symbol 1549 MovieClip [level3] Frame 1Symbol 636 MovieClip
"timerClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1549 MovieClip [level3] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1549 MovieClip [level3] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1549 MovieClip [level3] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1022 MovieClip
"chocolateClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1549 MovieClip [level3] Frame 1Symbol 1229 MovieClip
"chocolate_container"Symbol 1549 MovieClip [level3] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1549 MovieClip [level3] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1549 MovieClip [level3] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1549 MovieClip [level3] Frame 1Symbol 1538 MovieClip
"scoreClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1544 MovieClip
"scoreIndicateClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1549 MovieClip [level3] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1549 MovieClip [level3] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1549 MovieClip [level3] Frame 1Symbol 1413 MovieClip
"dusbin_indicate"Symbol 1549 MovieClip [level3] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1549 MovieClip [level3] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1549 MovieClip [level3] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1549 MovieClip [level3] Frame 1Symbol 1415 MovieClip
"table2"Symbol 1549 MovieClip [level3] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1549 MovieClip [level3] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1549 MovieClip [level3] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1549 MovieClip [level3] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1549 MovieClip [level3] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1549 MovieClip [level3] Frame 1Symbol 1435 MovieClip
"special_chocolate_container"Symbol 1549 MovieClip [level3] Frame 1Symbol 1548 MovieClip
"bg"Symbol 1550 MovieClip [level4] Frame 1Symbol 585 MovieClip
"dusbin"Symbol 1550 MovieClip [level4] Frame 1Symbol 604 MovieClip
"choco_machines"Symbol 1550 MovieClip [level4] Frame 1Symbol 636 MovieClip
"timerClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1550 MovieClip [level4] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1550 MovieClip [level4] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1550 MovieClip [level4] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1022 MovieClip
"chocolateClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1550 MovieClip [level4] Frame 1Symbol 1229 MovieClip
"chocolate_container"Symbol 1550 MovieClip [level4] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1550 MovieClip [level4] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1550 MovieClip [level4] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1550 MovieClip [level4] Frame 1Symbol 1486 MovieClip
"scoreClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1544 MovieClip
"scoreIndicateClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1550 MovieClip [level4] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1550 MovieClip [level4] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1550 MovieClip [level4] Frame 1Symbol 1413 MovieClip
"dusbin_indicate"Symbol 1550 MovieClip [level4] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1550 MovieClip [level4] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1550 MovieClip [level4] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1550 MovieClip [level4] Frame 1Symbol 1415 MovieClip
"table2"Symbol 1550 MovieClip [level4] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1550 MovieClip [level4] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1550 MovieClip [level4] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1550 MovieClip [level4] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1550 MovieClip [level4] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1550 MovieClip [level4] Frame 1Symbol 1435 MovieClip
"special_chocolate_container"Symbol 1550 MovieClip [level4] Frame 1Symbol 1548 MovieClip
"btn_ok"Symbol 1553 MovieClip Frame 7Symbol 1287 MovieClip
"loading"Symbol 1559 MovieClip Frame 1Symbol 1555 MovieClip
"target"Symbol 1559 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1559 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1559 MovieClip Frame 1Symbol 1556 EditableText
"bg"Symbol 1562 MovieClip [level5] Frame 1Symbol 585 MovieClip
"dusbin"Symbol 1562 MovieClip [level5] Frame 1Symbol 604 MovieClip
"choco_machines"Symbol 1562 MovieClip [level5] Frame 1Symbol 636 MovieClip
"timerClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1562 MovieClip [level5] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1562 MovieClip [level5] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1562 MovieClip [level5] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1022 MovieClip
"chocolateClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1562 MovieClip [level5] Frame 1Symbol 1229 MovieClip
"chocolate_container"Symbol 1562 MovieClip [level5] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1562 MovieClip [level5] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1562 MovieClip [level5] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1562 MovieClip [level5] Frame 1Symbol 1553 MovieClip
"scoreClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1559 MovieClip
"scoreIndicateClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1562 MovieClip [level5] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1562 MovieClip [level5] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1562 MovieClip [level5] Frame 1Symbol 1413 MovieClip
"dusbin_indicate"Symbol 1562 MovieClip [level5] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1562 MovieClip [level5] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1562 MovieClip [level5] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1562 MovieClip [level5] Frame 1Symbol 1561 MovieClip
"table2"Symbol 1562 MovieClip [level5] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1562 MovieClip [level5] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1562 MovieClip [level5] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1562 MovieClip [level5] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1562 MovieClip [level5] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1562 MovieClip [level5] Frame 1Symbol 1435 MovieClip
"special_chocolate_container"Symbol 1562 MovieClip [level5] Frame 1Symbol 1548 MovieClip
"loading"Symbol 1601 MovieClip Frame 1Symbol 1597 MovieClip
"target"Symbol 1601 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1601 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1601 MovieClip Frame 1Symbol 1598 EditableText
"bg"Symbol 1602 MovieClip [level6] Frame 1Symbol 585 MovieClip
"dusbin"Symbol 1602 MovieClip [level6] Frame 1Symbol 604 MovieClip
"choco_machines"Symbol 1602 MovieClip [level6] Frame 1Symbol 636 MovieClip
"timerClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1602 MovieClip [level6] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1602 MovieClip [level6] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 941 MovieClip
"shopopenClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1022 MovieClip
"phone_mc"Symbol 1602 MovieClip [level6] Frame 1Symbol 970 MovieClip
"chocolateClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1602 MovieClip [level6] Frame 1Symbol 1229 MovieClip
"deliveryboy"Symbol 1602 MovieClip [level6] Frame 1Symbol 1595 MovieClip
"chocolate_container"Symbol 1602 MovieClip [level6] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1602 MovieClip [level6] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1602 MovieClip [level6] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1602 MovieClip [level6] Frame 1Symbol 1288 MovieClip
"scoreClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1601 MovieClip
"scoreIndicateClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1602 MovieClip [level6] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1602 MovieClip [level6] Frame 1Symbol 1533 MovieClip
"coffee_indicate"Symbol 1602 MovieClip [level6] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1602 MovieClip [level6] Frame 1Symbol 1561 MovieClip
"table2"Symbol 1602 MovieClip [level6] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1602 MovieClip [level6] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1602 MovieClip [level6] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1602 MovieClip [level6] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1602 MovieClip [level6] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1602 MovieClip [level6] Frame 1Symbol 1435 MovieClip
"chomac_indicate"Symbol 1602 MovieClip [level6] Frame 1Symbol 1413 MovieClip
"coin_Anim4"Symbol 1602 MovieClip [level6] Frame 1Symbol 1435 MovieClip
"phone_indicate"Symbol 1602 MovieClip [level6] Frame 1Symbol 1413 MovieClip
"table4"Symbol 1602 MovieClip [level6] Frame 1Symbol 1415 MovieClip
"dusbin_indicate"Symbol 1602 MovieClip [level6] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1602 MovieClip [level6] Frame 1Symbol 1413 MovieClip
"special_chocolate_container"Symbol 1602 MovieClip [level6] Frame 1Symbol 1548 MovieClip
"star"Symbol 1612 MovieClip Frame 1Symbol 1607 MovieClip
"shadow"Symbol 1612 MovieClip Frame 1Symbol 1611 MovieClip
"pointer"Symbol 1615 MovieClip Frame 1Symbol 175 MovieClip
"intro"Symbol 1624 MovieClip Frame 1Symbol 1612 MovieClip
"pointer"Symbol 1624 MovieClip Frame 1Symbol 175 MovieClip
"btn_ok"Symbol 1634 MovieClip Frame 7Symbol 1287 MovieClip
"loading"Symbol 1639 MovieClip Frame 1Symbol 1636 MovieClip
"target"Symbol 1639 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1639 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1639 MovieClip Frame 1Symbol 1637 EditableText
"bg"Symbol 1640 MovieClip [level7] Frame 1Symbol 585 MovieClip
"choco_machines"Symbol 1640 MovieClip [level7] Frame 1Symbol 1615 MovieClip
"dusbin"Symbol 1640 MovieClip [level7] Frame 1Symbol 604 MovieClip
"choco_machines2"Symbol 1640 MovieClip [level7] Frame 1Symbol 1624 MovieClip
"dummy_highlight"Symbol 1640 MovieClip [level7] Frame 1Symbol 1631 MovieClip
"timerClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1640 MovieClip [level7] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1640 MovieClip [level7] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 941 MovieClip
"shopopenClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1022 MovieClip
"phone_mc"Symbol 1640 MovieClip [level7] Frame 1Symbol 970 MovieClip
"chocolateClip2"Symbol 1640 MovieClip [level7] Frame 1Symbol 725 MovieClip
"chocolateClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1640 MovieClip [level7] Frame 1Symbol 1229 MovieClip
"deliveryboy"Symbol 1640 MovieClip [level7] Frame 1Symbol 1595 MovieClip
"chocolate_container"Symbol 1640 MovieClip [level7] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1640 MovieClip [level7] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1640 MovieClip [level7] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1640 MovieClip [level7] Frame 1Symbol 1634 MovieClip
"scoreClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1639 MovieClip
"special_chocolate_container"Symbol 1640 MovieClip [level7] Frame 1Symbol 1548 MovieClip
"reportMc"Symbol 1640 MovieClip [level7] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1640 MovieClip [level7] Frame 1Symbol 1413 MovieClip
"chomac_indicate2"Symbol 1640 MovieClip [level7] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1640 MovieClip [level7] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1640 MovieClip [level7] Frame 1Symbol 1561 MovieClip
"table2"Symbol 1640 MovieClip [level7] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1640 MovieClip [level7] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1640 MovieClip [level7] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1640 MovieClip [level7] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1640 MovieClip [level7] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1640 MovieClip [level7] Frame 1Symbol 1435 MovieClip
"coin_Anim4"Symbol 1640 MovieClip [level7] Frame 1Symbol 1435 MovieClip
"phone_indicate"Symbol 1640 MovieClip [level7] Frame 1Symbol 1413 MovieClip
"table4"Symbol 1640 MovieClip [level7] Frame 1Symbol 1415 MovieClip
"dusbin_indicate"Symbol 1640 MovieClip [level7] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1640 MovieClip [level7] Frame 1Symbol 1413 MovieClip
"scoreIndicateClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1640 MovieClip [level7] Frame 1Symbol 1517 MovieClip
"loading"Symbol 1646 MovieClip Frame 1Symbol 1642 MovieClip
"target"Symbol 1646 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1646 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1646 MovieClip Frame 1Symbol 1643 EditableText
"bg"Symbol 1647 MovieClip [level8] Frame 1Symbol 585 MovieClip
"choco_machines"Symbol 1647 MovieClip [level8] Frame 1Symbol 1615 MovieClip
"dusbin"Symbol 1647 MovieClip [level8] Frame 1Symbol 604 MovieClip
"choco_machines2"Symbol 1647 MovieClip [level8] Frame 1Symbol 1624 MovieClip
"dummy_highlight"Symbol 1647 MovieClip [level8] Frame 1Symbol 1631 MovieClip
"timerClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1647 MovieClip [level8] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1647 MovieClip [level8] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 941 MovieClip
"shopopenClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1022 MovieClip
"phone_mc"Symbol 1647 MovieClip [level8] Frame 1Symbol 970 MovieClip
"chocolateClip2"Symbol 1647 MovieClip [level8] Frame 1Symbol 725 MovieClip
"chocolateClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1647 MovieClip [level8] Frame 1Symbol 1229 MovieClip
"deliveryboy"Symbol 1647 MovieClip [level8] Frame 1Symbol 1595 MovieClip
"chocolate_container"Symbol 1647 MovieClip [level8] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1647 MovieClip [level8] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1647 MovieClip [level8] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1647 MovieClip [level8] Frame 1Symbol 1288 MovieClip
"scoreClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1646 MovieClip
"scoreIndicateClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1647 MovieClip [level8] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1647 MovieClip [level8] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1647 MovieClip [level8] Frame 1Symbol 1413 MovieClip
"chomac_indicate2"Symbol 1647 MovieClip [level8] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1647 MovieClip [level8] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1647 MovieClip [level8] Frame 1Symbol 1561 MovieClip
"table2"Symbol 1647 MovieClip [level8] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1647 MovieClip [level8] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1647 MovieClip [level8] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1647 MovieClip [level8] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1647 MovieClip [level8] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1647 MovieClip [level8] Frame 1Symbol 1435 MovieClip
"coin_Anim4"Symbol 1647 MovieClip [level8] Frame 1Symbol 1435 MovieClip
"phone_indicate"Symbol 1647 MovieClip [level8] Frame 1Symbol 1413 MovieClip
"table4"Symbol 1647 MovieClip [level8] Frame 1Symbol 1415 MovieClip
"dusbin_indicate"Symbol 1647 MovieClip [level8] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1647 MovieClip [level8] Frame 1Symbol 1413 MovieClip
"special_chocolate_container"Symbol 1647 MovieClip [level8] Frame 1Symbol 1548 MovieClip
"loading"Symbol 1656 MovieClip Frame 1Symbol 1649 MovieClip
"target"Symbol 1656 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1656 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1656 MovieClip Frame 1Symbol 1653 EditableText
"bg"Symbol 1657 MovieClip [level9] Frame 1Symbol 585 MovieClip
"choco_machines"Symbol 1657 MovieClip [level9] Frame 1Symbol 1615 MovieClip
"choco_machines2"Symbol 1657 MovieClip [level9] Frame 1Symbol 1624 MovieClip
"dusbin"Symbol 1657 MovieClip [level9] Frame 1Symbol 604 MovieClip
"dummy_highlight"Symbol 1657 MovieClip [level9] Frame 1Symbol 1631 MovieClip
"timerClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1657 MovieClip [level9] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1657 MovieClip [level9] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1657 MovieClip [level9] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1022 MovieClip
"chocolateClip2"Symbol 1657 MovieClip [level9] Frame 1Symbol 725 MovieClip
"chocolateClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1657 MovieClip [level9] Frame 1Symbol 1229 MovieClip
"deliveryboy"Symbol 1657 MovieClip [level9] Frame 1Symbol 1595 MovieClip
"chocolate_container"Symbol 1657 MovieClip [level9] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1657 MovieClip [level9] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1657 MovieClip [level9] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1657 MovieClip [level9] Frame 1Symbol 1288 MovieClip
"scoreClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1656 MovieClip
"scoreIndicateClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1657 MovieClip [level9] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1657 MovieClip [level9] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1657 MovieClip [level9] Frame 1Symbol 1413 MovieClip
"chomac_indicate2"Symbol 1657 MovieClip [level9] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1657 MovieClip [level9] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1657 MovieClip [level9] Frame 1Symbol 1561 MovieClip
"table2"Symbol 1657 MovieClip [level9] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1657 MovieClip [level9] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1657 MovieClip [level9] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1657 MovieClip [level9] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1657 MovieClip [level9] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1657 MovieClip [level9] Frame 1Symbol 1435 MovieClip
"coin_Anim4"Symbol 1657 MovieClip [level9] Frame 1Symbol 1435 MovieClip
"phone_indicate"Symbol 1657 MovieClip [level9] Frame 1Symbol 1413 MovieClip
"table4"Symbol 1657 MovieClip [level9] Frame 1Symbol 1415 MovieClip
"dusbin_indicate"Symbol 1657 MovieClip [level9] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1657 MovieClip [level9] Frame 1Symbol 1413 MovieClip
"special_chocolate_container"Symbol 1657 MovieClip [level9] Frame 1Symbol 1548 MovieClip
"loading"Symbol 1666 MovieClip Frame 1Symbol 1659 MovieClip
"target"Symbol 1666 MovieClip Frame 1Symbol 1328 MovieClip
"expert"Symbol 1666 MovieClip Frame 1Symbol 1347 MovieClip
"score_txt"Symbol 1666 MovieClip Frame 1Symbol 1663 EditableText
"bg"Symbol 1667 MovieClip [level10] Frame 1Symbol 585 MovieClip
"choco_machines"Symbol 1667 MovieClip [level10] Frame 1Symbol 1615 MovieClip
"choco_machines2"Symbol 1667 MovieClip [level10] Frame 1Symbol 1624 MovieClip
"dusbin"Symbol 1667 MovieClip [level10] Frame 1Symbol 604 MovieClip
"dummy_highlight"Symbol 1667 MovieClip [level10] Frame 1Symbol 1631 MovieClip
"timerClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 775 MovieClip
"special_choco_machines"Symbol 1667 MovieClip [level10] Frame 1Symbol 828 MovieClip
"specialChocolateClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 875 MovieClip
"coffee_machine"Symbol 1667 MovieClip [level10] Frame 1Symbol 890 MovieClip
"coffeeClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 941 MovieClip
"phone_mc"Symbol 1667 MovieClip [level10] Frame 1Symbol 970 MovieClip
"shopopenClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 991 MovieClip
"shopclosedClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1022 MovieClip
"chocolateClip2"Symbol 1667 MovieClip [level10] Frame 1Symbol 725 MovieClip
"chocolateClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 725 MovieClip
"salesGirl"Symbol 1667 MovieClip [level10] Frame 1Symbol 1229 MovieClip
"deliveryboy"Symbol 1667 MovieClip [level10] Frame 1Symbol 1595 MovieClip
"chocolate_container"Symbol 1667 MovieClip [level10] Frame 1Symbol 1244 MovieClip
"selectClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1249 MovieClip
"comboClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1266 MovieClip
"curScoreClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1472 MovieClip
"dusbinContainer"Symbol 1667 MovieClip [level10] Frame 1Symbol 1469 MovieClip
"btn_pause"Symbol 1667 MovieClip [level10] Frame 1Symbol 1271 Button
"popup_mc"Symbol 1667 MovieClip [level10] Frame 1Symbol 1288 MovieClip
"scoreClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1666 MovieClip
"scoreIndicateClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1512 MovieClip
"expertScoreClip"Symbol 1667 MovieClip [level10] Frame 1Symbol 1517 MovieClip
"reportMc"Symbol 1667 MovieClip [level10] Frame 1Symbol 1533 MovieClip
"chomac_indicate"Symbol 1667 MovieClip [level10] Frame 1Symbol 1413 MovieClip
"chomac_indicate2"Symbol 1667 MovieClip [level10] Frame 1Symbol 1413 MovieClip
"coffee_indicate"Symbol 1667 MovieClip [level10] Frame 1Symbol 1413 MovieClip
"table3"Symbol 1667 MovieClip [level10] Frame 1Symbol 1561 MovieClip
"table2"Symbol 1667 MovieClip [level10] Frame 1Symbol 1415 MovieClip
"table1"Symbol 1667 MovieClip [level10] Frame 1Symbol 1415 MovieClip
"cancel_mc"Symbol 1667 MovieClip [level10] Frame 1Symbol 1418 MovieClip
"coin_Anim3"Symbol 1667 MovieClip [level10] Frame 1Symbol 1427 MovieClip
"coin_Anim2"Symbol 1667 MovieClip [level10] Frame 1Symbol 1431 MovieClip
"coin_Anim1"Symbol 1667 MovieClip [level10] Frame 1Symbol 1435 MovieClip
"coin_Anim4"Symbol 1667 MovieClip [level10] Frame 1Symbol 1435 MovieClip
"phone_indicate"Symbol 1667 MovieClip [level10] Frame 1Symbol 1413 MovieClip
"table4"Symbol 1667 MovieClip [level10] Frame 1Symbol 1415 MovieClip
"dusbin_indicate"Symbol 1667 MovieClip [level10] Frame 1Symbol 1413 MovieClip
"splmn_indicate"Symbol 1667 MovieClip [level10] Frame 1Symbol 1413 MovieClip
"special_chocolate_container"Symbol 1667 MovieClip [level10] Frame 1Symbol 1548 MovieClip
"btn_menu"Symbol 1674 MovieClip Frame 1Symbol 1670 Button
"btn_playpremium"Symbol 1674 MovieClip Frame 1Symbol 1671 Button
"dchoc_btn"Symbol 1675 MovieClip Frame 1Symbol 274 Button
"music_btn"Symbol 1675 MovieClip Frame 1Symbol 277 MovieClip
"mouseClip"Symbol 1675 MovieClip Frame 1Symbol 283 MovieClip
"menuMc"Symbol 1675 MovieClip Frame 4Symbol 327 MovieClip
"btn_continue"Symbol 1675 MovieClip Frame 5Symbol 383 Button
"calenderMc"Symbol 1675 MovieClip Frame 6Symbol 568 MovieClip
"main_level1"Symbol 1675 MovieClip Frame 7Symbol 1436 MovieClip [level1]
"pauseClip"Symbol 1675 MovieClip Frame 7Symbol 1465 MovieClip
"main_level2"Symbol 1675 MovieClip Frame 9Symbol 1534 MovieClip [level2]
"pauseClip"Symbol 1675 MovieClip Frame 9Symbol 1465 MovieClip
"main_level3"Symbol 1675 MovieClip Frame 11Symbol 1549 MovieClip [level3]
"pauseClip"Symbol 1675 MovieClip Frame 11Symbol 1465 MovieClip
"main_level4"Symbol 1675 MovieClip Frame 13Symbol 1550 MovieClip [level4]
"pauseClip"Symbol 1675 MovieClip Frame 13Symbol 1465 MovieClip
"main_level5"Symbol 1675 MovieClip Frame 15Symbol 1562 MovieClip [level5]
"pauseClip"Symbol 1675 MovieClip Frame 15Symbol 1465 MovieClip
"main_level6"Symbol 1675 MovieClip Frame 17Symbol 1602 MovieClip [level6]
"pauseClip"Symbol 1675 MovieClip Frame 17Symbol 1465 MovieClip
"main_level7"Symbol 1675 MovieClip Frame 19Symbol 1640 MovieClip [level7]
"pauseClip"Symbol 1675 MovieClip Frame 19Symbol 1465 MovieClip
"main_level8"Symbol 1675 MovieClip Frame 21Symbol 1647 MovieClip [level8]
"pauseClip"Symbol 1675 MovieClip Frame 21Symbol 1465 MovieClip
"main_level9"Symbol 1675 MovieClip Frame 23Symbol 1657 MovieClip [level9]
"pauseClip"Symbol 1675 MovieClip Frame 23Symbol 1465 MovieClip
"main_level10"Symbol 1675 MovieClip Frame 25Symbol 1667 MovieClip [level10]
"pauseClip"Symbol 1675 MovieClip Frame 25Symbol 1465 MovieClip
"upshell_mc"Symbol 1675 MovieClip Frame 27Symbol 1674 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 77 as "oldlady"
ExportAssets (56)Timeline Frame 1Symbol 152 as "younglady"
ExportAssets (56)Timeline Frame 1Symbol 259 as "orderbook"
ExportAssets (56)Timeline Frame 1Symbol 1694 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 1695 as "__Packages.URLAndVersion"
ExportAssets (56)Timeline Frame 1Symbol 1696 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 1697 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 1698 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 1699 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 1700 as "__Packages.Level2"
ExportAssets (56)Timeline Frame 1Symbol 1701 as "__Packages.Level3"
ExportAssets (56)Timeline Frame 1Symbol 1702 as "__Packages.Level4"
ExportAssets (56)Timeline Frame 1Symbol 1703 as "__Packages.Level5"
ExportAssets (56)Timeline Frame 1Symbol 1704 as "__Packages.Level6"
ExportAssets (56)Timeline Frame 1Symbol 1705 as "__Packages.Level7"
ExportAssets (56)Timeline Frame 1Symbol 1706 as "__Packages.Level8"
ExportAssets (56)Timeline Frame 1Symbol 1707 as "__Packages.Level9"
ExportAssets (56)Timeline Frame 1Symbol 1708 as "__Packages.Level10"
ExportAssets (56)Timeline Frame 1Symbol 1709 as "__Packages.Level1"
ExportAssets (56)Timeline Frame 10Symbol 1436 as "level1"
ExportAssets (56)Timeline Frame 10Symbol 1534 as "level2"
ExportAssets (56)Timeline Frame 10Symbol 1549 as "level3"
ExportAssets (56)Timeline Frame 10Symbol 1550 as "level4"
ExportAssets (56)Timeline Frame 10Symbol 1562 as "level5"
ExportAssets (56)Timeline Frame 10Symbol 1602 as "level6"
ExportAssets (56)Timeline Frame 10Symbol 1640 as "level7"
ExportAssets (56)Timeline Frame 10Symbol 1647 as "level8"
ExportAssets (56)Timeline Frame 10Symbol 1657 as "level9"
ExportAssets (56)Timeline Frame 10Symbol 1667 as "level10"
ExportAssets (56)Timeline Frame 10Symbol 1676 as "mainmenu.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1677 as "gamebgsnd.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1678 as "calendersnd.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1679 as "choco_done.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1680 as "combo1.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1681 as "combo2.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1682 as "combo3.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1683 as "expert_score.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1684 as "hotchoco_done.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1685 as "phonering.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1686 as "target_score.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1687 as "customer_happy.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1688 as "level_complete.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1689 as "level_failed.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1690 as "money1.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1691 as "money2.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1692 as "money3.mp3"
ExportAssets (56)Timeline Frame 10Symbol 1693 as "choco_producing.mp3"

Labels

"Googlead"Frame 3
"Mochiad1"Frame 6
"Type_triangle"Symbol 220 MovieClip Frame 1
"Type_round"Symbol 220 MovieClip Frame 2
"Type_box"Symbol 220 MovieClip Frame 3
"Type_rabbit"Symbol 220 MovieClip Frame 4
"Type_fish"Symbol 220 MovieClip Frame 5
#"L0"Symbol 407 MovieClip Frame 3
"L1"Symbol 407 MovieClip Frame 134
"L2"Symbol 407 MovieClip Frame 328
"L3"Symbol 407 MovieClip Frame 450
#"L0"Symbol 418 MovieClip Frame 3
#"L0"Symbol 445 MovieClip Frame 3
"L1"Symbol 445 MovieClip Frame 134
"L2"Symbol 445 MovieClip Frame 328
"L3"Symbol 445 MovieClip Frame 450
"Type_triangle"Symbol 725 MovieClip Frame 1
"Type_round"Symbol 725 MovieClip Frame 2
"Type_box"Symbol 725 MovieClip Frame 3
"Type_rabbit"Symbol 875 MovieClip Frame 1
"Type_fish"Symbol 875 MovieClip Frame 2
"Type_triangle"Symbol 1066 MovieClip Frame 1
"Type_box"Symbol 1066 MovieClip Frame 2
"Type_round"Symbol 1066 MovieClip Frame 3
"Type_rabbit"Symbol 1066 MovieClip Frame 4
"Type_fish"Symbol 1066 MovieClip Frame 5
"Up"Symbol 1229 MovieClip Frame 1
"Down"Symbol 1229 MovieClip Frame 2
"Left"Symbol 1229 MovieClip Frame 3
"Right"Symbol 1229 MovieClip Frame 4
"Two"Symbol 1266 MovieClip Frame 2
"Mainmenu"Symbol 1675 MovieClip Frame 4
"Intro"Symbol 1675 MovieClip Frame 5
"Calender"Symbol 1675 MovieClip Frame 6
"Level1"Symbol 1675 MovieClip Frame 7
"Level2"Symbol 1675 MovieClip Frame 9
"Level3"Symbol 1675 MovieClip Frame 11
"Level4"Symbol 1675 MovieClip Frame 13
"Level5"Symbol 1675 MovieClip Frame 15
"Level6"Symbol 1675 MovieClip Frame 17
"Level7"Symbol 1675 MovieClip Frame 19
"Level8"Symbol 1675 MovieClip Frame 21
"Level9"Symbol 1675 MovieClip Frame 23
"Level10"Symbol 1675 MovieClip Frame 25
"Upshell"Symbol 1675 MovieClip Frame 27




http://swfchan.com/23/110142/info.shtml
Created: 13/3 -2019 23:03:48 Last modified: 13/3 -2019 23:03:48 Server time: 28/04 -2024 20:14:16