Section 1
//asep_anim_31 (AnnaGlace2_fla.asep_anim_31)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class asep_anim_31 extends MovieClip {
public function asep_anim_31(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 2
//asep_anim2_270 (AnnaGlace2_fla.asep_anim2_270)
package AnnaGlace2_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.ui.*;
import flash.filters.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class asep_anim2_270 extends MovieClip {
public var obj;
public function asep_anim2_270(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
obj = this.parent;
obj.gotoAndStop(1);
}
}
}//package AnnaGlace2_fla
Section 3
//belanja_panel_468 (AnnaGlace2_fla.belanja_panel_468)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class belanja_panel_468 extends MovieClip {
public var btnclose:SimpleButton;
public var btn3:SimpleButton;
public var btn2:SimpleButton;
public var mcrefill2:MovieClip;
public var btntopping:SimpleButton;
public var btn1:SimpleButton;
public var mcrefill3:MovieClip;
public var mcrefill1:MovieClip;
public function belanja_panel_468(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 4
//bluenunggudimeja_265 (AnnaGlace2_fla.bluenunggudimeja_265)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class bluenunggudimeja_265 extends MovieClip {
public function bluenunggudimeja_265(){
addFrameScript(38, frame39, 54, frame55, 93, frame94);
}
function frame94(){
gotoAndPlay("angry");
}
function frame39(){
gotoAndPlay("idle");
}
function frame55(){
gotoAndPlay("eating");
}
}
}//package AnnaGlace2_fla
Section 5
//bluenunggudimejacopy_279 (AnnaGlace2_fla.bluenunggudimejacopy_279)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class bluenunggudimejacopy_279 extends MovieClip {
public function bluenunggudimejacopy_279(){
addFrameScript(38, frame39, 54, frame55, 93, frame94);
}
function frame94(){
gotoAndPlay("angry");
}
function frame39(){
gotoAndPlay("idle");
}
function frame55(){
gotoAndPlay("eating");
}
}
}//package AnnaGlace2_fla
Section 6
//BUKURESEP_548 (AnnaGlace2_fla.BUKURESEP_548)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class BUKURESEP_548 extends MovieClip {
public var btnclose:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc5:MovieClip;
public var mc2:MovieClip;
public var mc4:MovieClip;
public var btnnext:SimpleButton;
public var mc6:MovieClip;
public var exp2:MovieClip;
public var exp4:MovieClip;
public var exp6:MovieClip;
public var exp1:MovieClip;
public var exp3:MovieClip;
public var btnpre:SimpleButton;
public var exp5:MovieClip;
public function BUKURESEP_548(){
addFrameScript(0, frame1, 5, frame6, 10, frame11);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame11(){
gotoAndStop(1);
}
}
}//package AnnaGlace2_fla
Section 7
//BUKURESEP_550 (AnnaGlace2_fla.BUKURESEP_550)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class BUKURESEP_550 extends MovieClip {
public function BUKURESEP_550(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 8
//BUKURESEP_552 (AnnaGlace2_fla.BUKURESEP_552)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class BUKURESEP_552 extends MovieClip {
public var astorr:MovieClip;
public var strawberry:MovieClip;
public var cherry:MovieClip;
public var chips:MovieClip;
public function BUKURESEP_552(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 9
//cewe_268 (AnnaGlace2_fla.cewe_268)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class cewe_268 extends MovieClip {
public function cewe_268(){
addFrameScript(13, frame14, 27, frame28, 41, frame42);
}
function frame14(){
gotoAndPlay("idle");
}
function frame28(){
gotoAndPlay("eating");
}
function frame42(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 10
//cewe_282 (AnnaGlace2_fla.cewe_282)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class cewe_282 extends MovieClip {
public function cewe_282(){
addFrameScript(13, frame14, 27, frame28, 41, frame42);
}
function frame14(){
gotoAndPlay("idle");
}
function frame28(){
gotoAndPlay("eating");
}
function frame42(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 11
//efek2_443 (AnnaGlace2_fla.efek2_443)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class efek2_443 extends MovieClip {
public function efek2_443(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 12
//efek3_32 (AnnaGlace2_fla.efek3_32)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class efek3_32 extends MovieClip {
public function efek3_32(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 13
//gelas_kosong_433 (AnnaGlace2_fla.gelas_kosong_433)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class gelas_kosong_433 extends MovieClip {
public function gelas_kosong_433(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 14
//girl_267 (AnnaGlace2_fla.girl_267)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class girl_267 extends MovieClip {
public function girl_267(){
addFrameScript(21, frame22, 35, frame36, 71, frame72);
}
function frame72(){
gotoAndPlay("angry");
}
function frame22(){
gotoAndPlay("idle");
}
function frame36(){
gotoAndPlay("eating");
}
}
}//package AnnaGlace2_fla
Section 15
//girl_281 (AnnaGlace2_fla.girl_281)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class girl_281 extends MovieClip {
public function girl_281(){
addFrameScript(21, frame22, 35, frame36, 71, frame72);
}
function frame72(){
gotoAndPlay("angry");
}
function frame22(){
gotoAndPlay("idle");
}
function frame36(){
gotoAndPlay("eating");
}
}
}//package AnnaGlace2_fla
Section 16
//girlgamesnow_bar_16 (AnnaGlace2_fla.girlgamesnow_bar_16)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class girlgamesnow_bar_16 extends MovieClip {
public var sparker:MovieClip;
}
}//package AnnaGlace2_fla
Section 17
//girlgamesnow_logoanimation_3 (AnnaGlace2_fla.girlgamesnow_logoanimation_3)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class girlgamesnow_logoanimation_3 extends MovieClip {
public var loaderbar:MovieClip;
public function girlgamesnow_logoanimation_3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 18
//glowingglass_526 (AnnaGlace2_fla.glowingglass_526)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class glowingglass_526 extends MovieClip {
public function glowingglass_526(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package AnnaGlace2_fla
Section 19
//INGAME_248 (AnnaGlace2_fla.INGAME_248)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_248 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair8:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair9:MovieClip;
public var mcchair5:MovieClip;
public var mcchair12:MovieClip;
public var mcchair10:MovieClip;
public var mcpainting:MovieClip;
public var mcaquarium:MovieClip;
public var mcchair11:MovieClip;
public var mckarpet4:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet5:MovieClip;
public var mckarpet6:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mcchair7:MovieClip;
public var mckarpet3:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 20
//INGAME_251 (AnnaGlace2_fla.INGAME_251)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_251 extends MovieClip {
public function INGAME_251(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 21
//INGAME_258 (AnnaGlace2_fla.INGAME_258)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_258 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_258(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 22
//INGAME_260 (AnnaGlace2_fla.INGAME_260)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_260 extends MovieClip {
public function INGAME_260(){
addFrameScript(15, frame16, 25, frame26, 41, frame42);
}
function frame16(){
gotoAndPlay("idle");
}
function frame26(){
gotoAndPlay("eating");
}
function frame42(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 23
//INGAME_271 (AnnaGlace2_fla.INGAME_271)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_271 extends MovieClip {
public function INGAME_271(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 24
//INGAME_273 (AnnaGlace2_fla.INGAME_273)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_273 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_273(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 25
//INGAME_274 (AnnaGlace2_fla.INGAME_274)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_274 extends MovieClip {
public function INGAME_274(){
addFrameScript(15, frame16, 25, frame26, 41, frame42);
}
function frame16(){
gotoAndPlay("idle");
}
function frame26(){
gotoAndPlay("eating");
}
function frame42(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 26
//INGAME_283 (AnnaGlace2_fla.INGAME_283)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_283 extends MovieClip {
public function INGAME_283(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 27
//INGAME_284 (AnnaGlace2_fla.INGAME_284)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_284 extends MovieClip {
public function INGAME_284(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 28
//INGAME_292 (AnnaGlace2_fla.INGAME_292)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_292 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair5:MovieClip;
public var mcpainting:MovieClip;
public var mclamp:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mckarpet3:MovieClip;
public var mckorden:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 29
//INGAME_295 (AnnaGlace2_fla.INGAME_295)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_295 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 30
//INGAME_304 (AnnaGlace2_fla.INGAME_304)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_304 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair8:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair9:MovieClip;
public var mcchair5:MovieClip;
public var mcchair12:MovieClip;
public var mcchair10:MovieClip;
public var mcpainting:MovieClip;
public var mcaquarium:MovieClip;
public var mcchair11:MovieClip;
public var mclamp:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mcchair7:MovieClip;
public var mckarpet3:MovieClip;
public var mckorden:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 31
//INGAME_313 (AnnaGlace2_fla.INGAME_313)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_313 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair8:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair5:MovieClip;
public var mcpainting:MovieClip;
public var mcaquarium:MovieClip;
public var mclamp:MovieClip;
public var mckarpet4:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mckarpet3:MovieClip;
public var mcchair7:MovieClip;
public var mckorden:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 32
//INGAME_315 (AnnaGlace2_fla.INGAME_315)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_315 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 33
//INGAME_34 (AnnaGlace2_fla.INGAME_34)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_34 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_34(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 34
//INGAME_346 (AnnaGlace2_fla.INGAME_346)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_346 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 35
//INGAME_347 (AnnaGlace2_fla.INGAME_347)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_347 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair5:MovieClip;
public var mcpainting:MovieClip;
public var mclamp:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mcnumba5:MovieClip;
public var mckarpet3:MovieClip;
public var mcnumba1:MovieClip;
public var mcnumba4:MovieClip;
public var mcnumba3:MovieClip;
public var mcnumba2:MovieClip;
public var mcnumba6:MovieClip;
public var mckorden:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 36
//INGAME_348 (AnnaGlace2_fla.INGAME_348)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_348 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var eskrim:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 37
//INGAME_355 (AnnaGlace2_fla.INGAME_355)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_355 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair8:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair5:MovieClip;
public var mcpainting:MovieClip;
public var mcaquarium:MovieClip;
public var mclamp:MovieClip;
public var mckarpet4:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mcnumba5:MovieClip;
public var mckarpet3:MovieClip;
public var mcnumba7:MovieClip;
public var mcnumba1:MovieClip;
public var mcchair7:MovieClip;
public var mcnumba8:MovieClip;
public var mcnumba3:MovieClip;
public var mcnumba2:MovieClip;
public var mcnumba4:MovieClip;
public var mcnumba6:MovieClip;
public var mckorden:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 38
//INGAME_356 (AnnaGlace2_fla.INGAME_356)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_356 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var eskrim:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 39
//INGAME_362 (AnnaGlace2_fla.INGAME_362)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_362 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair8:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair9:MovieClip;
public var mcchair5:MovieClip;
public var mcchair12:MovieClip;
public var mcchair10:MovieClip;
public var mcpainting:MovieClip;
public var mcaquarium:MovieClip;
public var mcchair11:MovieClip;
public var mckarpet5:MovieClip;
public var mckarpet6:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet4:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mcnumba5:MovieClip;
public var mcnumba7:MovieClip;
public var mcnumba1:MovieClip;
public var mcchair7:MovieClip;
public var mcnumba8:MovieClip;
public var mcnumba9:MovieClip;
public var mcnumba3:MovieClip;
public var mcnumba2:MovieClip;
public var mcnumba4:MovieClip;
public var mcnumba10:MovieClip;
public var mcnumba11:MovieClip;
public var mcnumba12:MovieClip;
public var mcnumba6:MovieClip;
public var mckarpet3:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 40
//INGAME_371 (AnnaGlace2_fla.INGAME_371)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_371 extends MovieClip {
public var mcenvironment1:MovieClip;
public var mcenvironment2:MovieClip;
public var mcchair1:MovieClip;
public var mcchair2:MovieClip;
public var mcchair4:MovieClip;
public var mcchair8:MovieClip;
public var mcchair3:MovieClip;
public var mcchair6:MovieClip;
public var mcchair9:MovieClip;
public var mcchair5:MovieClip;
public var mcchair12:MovieClip;
public var mcchair10:MovieClip;
public var mcpainting:MovieClip;
public var mcaquarium:MovieClip;
public var mcchair11:MovieClip;
public var mclamp:MovieClip;
public var mckarpet1:MovieClip;
public var mckarpet2:MovieClip;
public var mcclosed:MovieClip;
public var mcnumba5:MovieClip;
public var mcnumba7:MovieClip;
public var mcnumba1:MovieClip;
public var mcchair7:MovieClip;
public var mcnumba8:MovieClip;
public var mcnumba3:MovieClip;
public var mcnumba9:MovieClip;
public var mcnumba2:MovieClip;
public var mcnumba4:MovieClip;
public var mcnumba10:MovieClip;
public var mcnumba11:MovieClip;
public var mcnumba12:MovieClip;
public var mcnumba6:MovieClip;
public var mckorden:MovieClip;
public var mckarpet3:MovieClip;
public var mcpot:MovieClip;
}
}//package AnnaGlace2_fla
Section 41
//INGAME_373 (AnnaGlace2_fla.INGAME_373)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_373 extends MovieClip {
public function INGAME_373(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 42
//INGAME_399 (AnnaGlace2_fla.INGAME_399)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_399 extends MovieClip {
public function INGAME_399(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 43
//INGAME_412 (AnnaGlace2_fla.INGAME_412)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_412 extends MovieClip {
public function INGAME_412(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 44
//INGAME_416 (AnnaGlace2_fla.INGAME_416)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_416 extends MovieClip {
public function INGAME_416(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 45
//INGAME_422 (AnnaGlace2_fla.INGAME_422)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_422 extends MovieClip {
public function INGAME_422(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 46
//INGAME_434 (AnnaGlace2_fla.INGAME_434)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_434 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_434(){
addFrameScript(0, frame1, 18, frame19, 33, frame34, 54, frame55);
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame34(){
stop();
}
function frame55(){
gotoAndStop(1);
}
}
}//package AnnaGlace2_fla
Section 47
//INGAME_446 (AnnaGlace2_fla.INGAME_446)
package AnnaGlace2_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.ui.*;
import flash.filters.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class INGAME_446 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_446(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
mc1.txt1.text = "";
mc1.txt2.text = "";
mc1.txt3.text = "";
mc1.txt4.text = "";
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 48
//INGAME_458 (AnnaGlace2_fla.INGAME_458)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_458 extends MovieClip {
public var astorr:MovieClip;
public var strawberry:MovieClip;
public var cherry:MovieClip;
public var chips:MovieClip;
public function INGAME_458(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 49
//INGAME_481 (AnnaGlace2_fla.INGAME_481)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_481 extends MovieClip {
public var btnclose:SimpleButton;
public var btn3:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc5:MovieClip;
public var mc2:MovieClip;
public var mcrefill2:MovieClip;
public var btn6:SimpleButton;
public var mcrefill6:MovieClip;
public var btn1:SimpleButton;
public var btn4:SimpleButton;
public var btn5:SimpleButton;
public var mc4:MovieClip;
public var mcrefill4:MovieClip;
public var mcrefill3:MovieClip;
public var btn2:SimpleButton;
public var mcrefill1:MovieClip;
public var mc6:MovieClip;
public var mcrefill5:MovieClip;
public var btnx:SimpleButton;
}
}//package AnnaGlace2_fla
Section 50
//INGAME_484 (AnnaGlace2_fla.INGAME_484)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_484 extends MovieClip {
public var btn3:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc2:MovieClip;
public var btn1:SimpleButton;
public var btn2:SimpleButton;
public var btnx:SimpleButton;
}
}//package AnnaGlace2_fla
Section 51
//INGAME_490 (AnnaGlace2_fla.INGAME_490)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_490 extends MovieClip {
public function INGAME_490(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 52
//INGAME_494 (AnnaGlace2_fla.INGAME_494)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_494 extends MovieClip {
public function INGAME_494(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 53
//INGAME_495 (AnnaGlace2_fla.INGAME_495)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_495 extends MovieClip {
public function INGAME_495(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 54
//INGAME_496 (AnnaGlace2_fla.INGAME_496)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_496 extends MovieClip {
public var cherry:MovieClip;
public function INGAME_496(){
addFrameScript(0, frame1, 1, frame2, 12, frame13);
}
function frame1(){
stop();
this.visible = false;
}
function frame13(){
gotoAndPlay(2);
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 55
//INGAME_497 (AnnaGlace2_fla.INGAME_497)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_497 extends MovieClip {
public function INGAME_497(){
addFrameScript(0, frame1, 1, frame2, 11, frame12);
}
function frame12(){
gotoAndPlay(2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 56
//INGAME_498 (AnnaGlace2_fla.INGAME_498)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_498 extends MovieClip {
public function INGAME_498(){
addFrameScript(0, frame1, 1, frame2, 12, frame13);
}
function frame1(){
stop();
this.visible = false;
}
function frame13(){
gotoAndPlay(2);
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 57
//INGAME_499 (AnnaGlace2_fla.INGAME_499)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_499 extends MovieClip {
public function INGAME_499(){
addFrameScript(0, frame1, 1, frame2, 11, frame12);
}
function frame12(){
gotoAndPlay(2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 58
//INGAME_500 (AnnaGlace2_fla.INGAME_500)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_500 extends MovieClip {
public var chips:MovieClip;
public function INGAME_500(){
addFrameScript(0, frame1, 1, frame2, 13, frame14);
}
function frame14(){
gotoAndPlay(2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 59
//INGAME_501 (AnnaGlace2_fla.INGAME_501)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_501 extends MovieClip {
public function INGAME_501(){
addFrameScript(0, frame1, 1, frame2, 14, frame15);
}
function frame15(){
gotoAndPlay(2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 60
//INGAME_502 (AnnaGlace2_fla.INGAME_502)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class INGAME_502 extends MovieClip {
public var mccannot:MovieClip;
public var txtmoney:TextField;
public var mctime:MovieClip;
public var txtgoal:TextField;
}
}//package AnnaGlace2_fla
Section 61
//INGAME_511 (AnnaGlace2_fla.INGAME_511)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_511 extends MovieClip {
public function INGAME_511(){
addFrameScript(0, frame1, 100, frame101);
}
function frame1(){
stop();
}
function frame101(){
stop();
}
}
}//package AnnaGlace2_fla
Section 62
//INGAME_533 (AnnaGlace2_fla.INGAME_533)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_533 extends MovieClip {
public function INGAME_533(){
addFrameScript(0, frame1, 19, frame20, 38, frame39, 57, frame58, 76, frame77, 130, frame131);
}
function frame77(){
stop();
}
function frame1(){
stop();
}
function frame20(){
stop();
}
function frame39(){
stop();
}
function frame131(){
stop();
}
function frame58(){
stop();
}
}
}//package AnnaGlace2_fla
Section 63
//INGAME_536 (AnnaGlace2_fla.INGAME_536)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_536 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_536(){
addFrameScript(0, frame1, 116, frame117);
}
function frame1(){
stop();
}
function frame117(){
stop();
}
}
}//package AnnaGlace2_fla
Section 64
//INGAME_540 (AnnaGlace2_fla.INGAME_540)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_540 extends MovieClip {
public function INGAME_540(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 65
//INGAME_541 (AnnaGlace2_fla.INGAME_541)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_541 extends MovieClip {
public var btnon:SimpleButton;
public var btnresume:SimpleButton;
public var btnoff:SimpleButton;
public var btngiveup:SimpleButton;
public var btngirl:SimpleButton;
}
}//package AnnaGlace2_fla
Section 66
//INGAME_559 (AnnaGlace2_fla.INGAME_559)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_559 extends MovieClip {
public var btnnext:SimpleButton;
public var btnskip:SimpleButton;
public function INGAME_559(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 67
//INGAME_565 (AnnaGlace2_fla.INGAME_565)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_565 extends MovieClip {
public function INGAME_565(){
addFrameScript(0, frame1, 1, frame2, 115, frame116);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
function frame116(){
stop();
}
}
}//package AnnaGlace2_fla
Section 68
//INGAME_566 (AnnaGlace2_fla.INGAME_566)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_566 extends MovieClip {
public var btnokay:SimpleButton;
public function INGAME_566(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 69
//INGAME_567 (AnnaGlace2_fla.INGAME_567)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_567 extends MovieClip {
public function INGAME_567(){
addFrameScript(0, frame1, 1, frame2, 174, frame175);
}
function frame1(){
stop();
this.visible = false;
}
function frame175(){
stop();
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 70
//INGAME_568 (AnnaGlace2_fla.INGAME_568)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_568 extends MovieClip {
public function INGAME_568(){
addFrameScript(0, frame1, 1, frame2, 150, frame151);
}
function frame151(){
stop();
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 71
//INGAME_569 (AnnaGlace2_fla.INGAME_569)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_569 extends MovieClip {
public function INGAME_569(){
addFrameScript(0, frame1, 1, frame2, 174, frame175);
}
function frame1(){
stop();
this.visible = false;
}
function frame175(){
stop();
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 72
//INGAME_570 (AnnaGlace2_fla.INGAME_570)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_570 extends MovieClip {
public var mc1:MovieClip;
public function INGAME_570(){
addFrameScript(0, frame1, 14, frame15, 29, frame30);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
function frame30(){
stop();
}
}
}//package AnnaGlace2_fla
Section 73
//INGAME_573 (AnnaGlace2_fla.INGAME_573)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class INGAME_573 extends MovieClip {
public var txtincome:TextField;
public var mc1:MovieClip;
public var mc2:MovieClip;
public var btnnext:SimpleButton;
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt5:TextField;
public var txt6:TextField;
public var txt4:TextField;
}
}//package AnnaGlace2_fla
Section 74
//INGAME_585 (AnnaGlace2_fla.INGAME_585)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_585 extends MovieClip {
public var btnnext:SimpleButton;
}
}//package AnnaGlace2_fla
Section 75
//INGAME_586 (AnnaGlace2_fla.INGAME_586)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_586 extends MovieClip {
public var btnback:SimpleButton;
public var mc1:MovieClip;
public var btnretry:SimpleButton;
}
}//package AnnaGlace2_fla
Section 76
//INGAME_587 (AnnaGlace2_fla.INGAME_587)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_587 extends MovieClip {
public function INGAME_587(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 77
//INGAME_591 (AnnaGlace2_fla.INGAME_591)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class INGAME_591 extends MovieClip {
public var btnmenu:SimpleButton;
public function INGAME_591(){
addFrameScript(484, frame485);
}
function frame485(){
stop();
}
}
}//package AnnaGlace2_fla
Section 78
//kopi_435 (AnnaGlace2_fla.kopi_435)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class kopi_435 extends MovieClip {
public function kopi_435(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
stop();
}
function frame8(){
gotoAndPlay(2);
}
}
}//package AnnaGlace2_fla
Section 79
//kulkaskecil_420 (AnnaGlace2_fla.kulkaskecil_420)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class kulkaskecil_420 extends MovieClip {
public function kulkaskecil_420(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 80
//Layer14copy8_288 (AnnaGlace2_fla.Layer14copy8_288)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Layer14copy8_288 extends MovieClip {
public function Layer14copy8_288(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 81
//Layer5copy_309 (AnnaGlace2_fla.Layer5copy_309)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Layer5copy_309 extends MovieClip {
public var mcpainting:MovieClip;
public function Layer5copy_309(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 82
//lemaries_426 (AnnaGlace2_fla.lemaries_426)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class lemaries_426 extends MovieClip {
public function lemaries_426(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 83
//LEVELSELECT_112 (AnnaGlace2_fla.LEVELSELECT_112)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class LEVELSELECT_112 extends MovieClip {
public var mc10:SimpleButton;
public var mc11:SimpleButton;
public var mc12:SimpleButton;
public var mc13:SimpleButton;
public var mc16:SimpleButton;
public var mc17:SimpleButton;
public var mc19:SimpleButton;
public var mc18:SimpleButton;
public var mc14:SimpleButton;
public var mc15:SimpleButton;
public var mc20:SimpleButton;
public var mc21:SimpleButton;
public var lv10:MovieClip;
public var lv11:MovieClip;
public var lv12:MovieClip;
public var lv13:MovieClip;
public var lv14:MovieClip;
public var lv15:MovieClip;
public var lv16:MovieClip;
public var lv17:MovieClip;
public var lv18:MovieClip;
public var lv19:MovieClip;
public var lv20:MovieClip;
public var lv21:MovieClip;
public var btnshop:SimpleButton;
public var mc1:SimpleButton;
public var mc3:SimpleButton;
public var mc5:SimpleButton;
public var mc8:SimpleButton;
public var mc2:SimpleButton;
public var mc4:SimpleButton;
public var mc9:SimpleButton;
public var mc6:SimpleButton;
public var mc7:SimpleButton;
public var btnmenu:SimpleButton;
public var lv2:MovieClip;
public var lv3:MovieClip;
public var lv5:MovieClip;
public var lv6:MovieClip;
public var lv7:MovieClip;
public var lv1:MovieClip;
public var lv9:MovieClip;
public var lv4:MovieClip;
public var lv8:MovieClip;
}
}//package AnnaGlace2_fla
Section 84
//MAINMENU_104 (AnnaGlace2_fla.MAINMENU_104)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class MAINMENU_104 extends MovieClip {
public var btnokay:SimpleButton;
public var btnoups:SimpleButton;
}
}//package AnnaGlace2_fla
Section 85
//MAINMENU_95 (AnnaGlace2_fla.MAINMENU_95)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class MAINMENU_95 extends MovieClip {
public var btnplaymoregames:SimpleButton;
public var btncontinue:SimpleButton;
public var house:MovieClip;
public var btncredit:SimpleButton;
public var btnplay:SimpleButton;
public var btngirl:SimpleButton;
public function MAINMENU_95(){
addFrameScript(259, frame260);
}
function frame260(){
stop();
}
}
}//package AnnaGlace2_fla
Section 86
//MAINMENU_96 (AnnaGlace2_fla.MAINMENU_96)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class MAINMENU_96 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 87
//MainTimeline (AnnaGlace2_fla.MainTimeline)
package AnnaGlace2_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.ui.*;
import flash.filters.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var gameabis;
public var btnpreviewx:SimpleButton;
public var mccredit:MovieClip;
public var mcanimatedcherry:MovieClip;
public var mcblack:MovieClip;
public var boleisi;
public var targetbanana;
public var mcbonus:MovieClip;
public var jumlahmaxantri;
public var fivesec;
public var lock1:MovieClip;
public var lock2:MovieClip;
public var lock3:MovieClip;
public var mcanimatedbean:MovieClip;
public var k;
public var soundingame:Sound;
public var j;
public var l;
public var lock4:MovieClip;
public var mcmake:MovieClip;
public var arraygoto2;
public var i;
public var targetisimixpanel;
public var levelgoal;
public var soundlose:Sound;
public var waktugenerate;
public var soundmainmenu:Sound;
public var tournamenttomax;
public var moneytogoal;
public var poweruptimer:MovieClip;
public var sparklingimage:Array;
public var soundbutton:Sound;
public var soundmoney:Sound;
public var mcstory:MovieClip;
public var targetchocochips;
public var mcshoptutor:MovieClip;
public var mcmejadapur:MovieClip;
public var mcflowerpot:MovieClip;
public var customerstatus:Array;
public var targeticecreamtournament;
public var mcfailed:MovieClip;
public var mc4show:MovieClip;
public var jumkursi;
public var customertipegenerate:Array;
public var btnsyrupmaker:SimpleButton;
public var targetstrawberry;
public var waktucombo;
public var mclose:MovieClip;
public var mcanimatedchocostick:MovieClip;
public var customereatingtime:Array;
public var soundmuter:Sound;
public var orderplateimage:Array;
public var mc3show:MovieClip;
public var shopresepindex;
public var mcanimatedbanana:MovieClip;
public var btnconeholder:SimpleButton;
public var mcsparker:spark;
public var txtstamina:TextField;
public var targetobjsuccessok;
public var mckopitutor:MovieClip;
public var tipeplate:Array;
public var tempbuy:Array;
public var posstrawberryx;
public var posstrawberryy;
public var mcrefillpanel:MovieClip;
public var mcrecipee:MovieClip;
public var jumlahcustomerinsit;
public var txtstock1:TextField;
public var txtstock2:TextField;
public var txtstock3:TextField;
public var stresslevel;
public var txtstock4:TextField;
public var mixpanelisi;
public var mc2show:MovieClip;
public var objmcpreview;
public var indexbole;
public var mckulkastutor:MovieClip;
public var mckulkastutor2:MovieClip;
public var eskrimprice;
public var soundcannotbuy:Sound;
public var targetframe;
public var bole;
public var percentage:Number;
public var mcwinlose:MovieClip;
public var waitingtime;
public var btnbuy:SimpleButton;
public var icecreampricenumba:Array;
public var comboer;
public var mcenvironment;
public var indexpreview;
public var btnbuy1:SimpleButton;
public var btnbuy2:SimpleButton;
public var btnbuy3:SimpleButton;
public var btnbuy4:SimpleButton;
public var time;
public var mc1show:MovieClip;
public var penambahaneffect;
public var btnpreviewnext:SimpleButton;
public var jumlahmix;
public var poschocochipsx;
public var mctutorial:MovieClip;
public var berapakali;
public var orderplateimageindex;
public var btngirl:SimpleButton;
public var poschocochipsy;
public var loaderint;
public var lockicecream:Array;
public var hargaicecream;
public var waktustage:Array;
public var interioreffect;
public var nomorke;
public var maxsimpen;
public var btnnext:SimpleButton;
public var soundbuangsampah:Sound;
public var mcenvironmentfail:MovieClip;
public var isikopi;
public var mctrash:MovieClip;
public var ordermax;
public var btnheart:SimpleButton;
public var mcmenubawah:MovieClip;
public var mcrefilltopping:MovieClip;
public var btncart:SimpleButton;
public var customContextMenu:ContextMenu;
public var level;
public var contextmenu;
public var btnautocart:SimpleButton;
public var hargatopping;
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt4:TextField;
public var surrenderbool:Boolean;
public var indexdecor;
public var btntoppingholder:MovieClip;
public var mcconepanel:MovieClip;
public var ease;
public var mcdekor11:MovieClip;
public var mcdekor12:MovieClip;
public var mcdekor13:MovieClip;
public var mcdekor14:MovieClip;
public var mcdekor16:MovieClip;
public var mcdekor17:MovieClip;
public var mcannounce:MovieClip;
public var targetkulkasicecream;
public var mcdekor18:MovieClip;
public var mcdekor15:MovieClip;
public var targetchocostick;
public var mcrowcustomer1:MovieClip;
public var mcrowcustomer2:MovieClip;
public var mcrowcustomer3:MovieClip;
public var mcrowcustomer4:MovieClip;
public var mcrowcustomer5:MovieClip;
public var mcrowcustomer6:MovieClip;
public var mcrowcustomer7:MovieClip;
public var mcrowcustomer8:MovieClip;
public var mcrowcustomer9:MovieClip;
public var mcdekor23:MovieClip;
public var mcdekor24:MovieClip;
public var mcdekor25:MovieClip;
public var mcdekor26:MovieClip;
public var mcdekor27:MovieClip;
public var mcdekor21:MovieClip;
public var mcdekor22:MovieClip;
public var mcmakingicecream:MovieClip;
public var mcdekor28:MovieClip;
public var tipecustomerygditaroh;
public var cupposisix;
public var cupposisiy;
public var mcdekor31:MovieClip;
public var mcdekor32:MovieClip;
public var mcdekor33:MovieClip;
public var mcdekor34:MovieClip;
public var mcdekor35:MovieClip;
public var mcdekor36:MovieClip;
public var mcdekor37:MovieClip;
public var mcdekor38:MovieClip;
public var tempbuy2:Array;
public var customerpatience2:Array;
public var indexdecorobj:Array;
public var txtmoney:TextField;
public var jumlahcustomerlost;
public var mcdekor41:MovieClip;
public var mcdekor42:MovieClip;
public var mcdekor43:MovieClip;
public var mcdekor44:MovieClip;
public var mcdekor45:MovieClip;
public var mcdekor46:MovieClip;
public var mcdekor47:MovieClip;
public var mcdekor48:MovieClip;
public var soundresepsalah:Sound;
public var mctransisi:MovieClip;
public var soundwin:Sound;
public var mckopigiveneffect:MovieClip;
public var posisiicecreamimagex;
public var posisiicecreamimagey;
public var tipecustomertosit;
public var soundingame2:Sound;
public var btnstamina:SimpleButton;
public var arraypembanding:Array;
public var soundclosedstage:Sound;
public var jumlahcustomerserved;
public var soundproccess:Sound;
public var soundchannelingame:SoundChannel;
public var targetnomorkursi;
public var mcmixpanel:MovieClip;
public var targetbean;
public var jumlahcustomer;
public var mcmouse:MovieClip;
public var posbananax;
public var posbananay;
public var mccup:MovieClip;
public var posbeanx;
public var posbeany;
public var soundngerukes:Sound;
public var customercharacteristic:Array;
public var poschocostickx;
public var poscherryx;
public var poscherryy;
public var btndouble:SimpleButton;
public var tempso:Array;
public var poschocosticky;
public var btnpreviewpre:SimpleButton;
public var btnback:SimpleButton;
public var leveltemp;
public var mc1:MovieClip;
public var mc2:MovieClip;
public var mc3:MovieClip;
public var mc4:MovieClip;
public var mcbuyrecipee:MovieClip;
public var combobool;
public var txtcart:TextField;
public var variasitopping;
public var glow:GlowFilter;
public var mcx:MovieClip;
public var mcsuccess:MovieClip;
public var btnmenu:SimpleButton;
public var endscoopindex;
public var stresslabel:Array;
public var customerpatience:Array;
public var mckulkasicecream1:MovieClip;
public var btnpreview:SimpleButton;
public var mckulkasicecream0:MovieClip;
public var tempmaxsimpen;
public var mcrowcustomer10:MovieClip;
public var mcrowcustomer11:MovieClip;
public var mcrowcustomer12:MovieClip;
public var icecreamlinkage:Array;
public var mccannot:MovieClip;
public var customertimegenerate;
public var mccustomerexp:MovieClip;
public var mclevelselect:MovieClip;
public var mcmainmenu:MovieClip;
public var btntutorialskip:SimpleButton;
public var soundtamudatang:Sound;
public var so:SharedObject;
public var mctournament11:MovieClip;
public var btncup:SimpleButton;
public var reffiltime;
public var tournament11reecipee:Array;
public var targetcherry;
public var btnpretipe:SimpleButton;
public var targetkulkas1;
public var targetkulkas2;
public var alphaer;
public var btnicecreamholder:MovieClip;
public var mctimer2:MovieClip;
public var halrecipee;
public var btnrecipee:SimpleButton;
public var btnnext2:SimpleButton;
public var btnnext3:SimpleButton;
public var mcstress:MovieClip;
public var mctutorialtournament11:MovieClip;
public var objdecor;
public var mcanimatedchocochips:MovieClip;
public var hargacart;
public var icecreamprice:Array;
public var stagetime;
public var linkageke;
public var soundbukubalik:Sound;
public var icecreamimage:Array;
public var pausegame;
public var objbutton;
public var objtextkurangi;
public var btnnexttipe:SimpleButton;
public var mckulkas2down:MovieClip;
public var keruk3;
public var keruk1;
public var keruk2;
public var txtcompiler:TextField;
public var soundbuy:Sound;
public var volume;
public var preloaderlogo:MovieClip;
public var format1:TextFormat;
public var tournamenttowin;
public var arraygoto;
public var mctimeup:MovieClip;
public var abilitytobuy;
public var mcsyruptutor:MovieClip;
public var jumlahcustomerinrow;
public var mcanimatedstrawberry:MovieClip;
public var statshop;
public var btnkulkas1:MovieClip;
public var btnkulkas2:MovieClip;
public var jumlahicecreamneeded;
public var mcsyrupholder:MovieClip;
public var rumusicecream:Array;
public var btncoffemaker:SimpleButton;
public var mckulkas1down:MovieClip;
public var mcorder10:orderplate;
public var mcorder11:orderplate;
public var mcorder12:orderplate;
public var mcpreloader:MovieClip;
public var soundchannelmainmenu:SoundChannel;
public var mcpayment:MovieClip;
public var countdowntimer;
public var mcorder1:orderplate;
public var mcorder2:orderplate;
public var mcorder3:orderplate;
public var mcorder4:orderplate;
public var mcorder5:orderplate;
public var mcorder6:orderplate;
public var mcorder7:orderplate;
public var mcorder8:orderplate;
public var mcorder9:orderplate;
public var tambahtopping;
public var soundstab:Sound;
public var mccoffe:MovieClip;
public var statawaly;
public var mcmenu:MovieClip;
public var statawalx;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13);
}
public function conGGmap(_arg1:MouseEvent):void{
var _local2:URLRequest;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = new URLRequest("http://www.girlgamesnow.com");
navigateToURL(_local2);
}
public function waitingcustomerinrow(_arg1:Event):void{
var _local2:*;
var _local3:*;
if (pausegame == false){
_local2 = 1;
while (_local2 <= jumlahmaxantri) {
_local3 = getChildByName(("mcrowcustomer" + _local2));
if (_local3.currentFrame != 1){
var _local4 = waitingtime;
var _local5 = _local2;
var _local6 = (_local4[_local5] - 1);
_local4[_local5] = _local6;
if (waitingtime[_local2] <= 0){
tipecustomertosit = _local3.currentFrame;
if (jumlahcustomerinsit < jumkursi[level]){
jumlahcustomerinrow--;
jumlahcustomerinsit++;
tarohcustomersit();
_local3.gotoAndStop(1);
break;
};
};
};
_local2++;
};
};
}
function frame10(){
if (level <= 11){
soundchannelingame = soundingame.play(0, 999, new SoundTransform(volume));
} else {
soundchannelingame = soundingame2.play(0, 999, new SoundTransform(volume));
};
format1 = new TextFormat();
format1.color = 0xFF0000;
pausegame = false;
levelgoal = [undefined, 20, 160, 200, 260, 340, "0/20", 600, 900, 1000, 1200, "0/5", 1800, 2000, 2300, 2600, "no lost cust.", 3500, 3700, 4100, 4300, 4700];
trace(("cek level: " + level));
eskrimprice = [undefined];
icecreamimage = new Array();
orderplateimage = new Array();
orderplateimageindex = 0;
posisiicecreamimagex = 411;
posisiicecreamimagey = 390;
glow = new GlowFilter();
glow.color = 16738047;
glow.alpha = 1;
glow.blurX = 10;
glow.blurY = 10;
glow.quality = BitmapFilterQuality.MEDIUM;
rumusicecream = new Array();
i = 1;
while (i <= 24) {
rumusicecream[i] = new Array();
i++;
};
rumusicecream[1] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
rumusicecream[2] = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
rumusicecream[3] = [1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0];
rumusicecream[4] = [0, 1, 2, 0, 0, 0, 0, 1, 0, 0, 1, 0];
rumusicecream[5] = [1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0];
rumusicecream[6] = [1, 1, 1, 0, 0, 0, 1, 1, 0, 2, 0, 0];
rumusicecream[7] = [2, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0];
rumusicecream[8] = [1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0];
rumusicecream[9] = [2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0];
rumusicecream[10] = [0, 0, 2, 1, 0, 0, 2, 0, 0, 2, 0, 1];
rumusicecream[11] = [0, 2, 0, 0, 2, 0, 0, 0, 0, 2, 2, 1];
rumusicecream[12] = [2, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1];
rumusicecream[13] = [0, 0, 2, 1, 0, 0, 3, 0, 0, 2, 0, 0];
rumusicecream[14] = [1, 2, 1, 0, 0, 0, 2, 0, 1, 0, 1, 1];
rumusicecream[15] = [0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0];
rumusicecream[16] = [2, 1, 0, 0, 2, 0, 1, 0, 0, 2, 0, 1];
rumusicecream[17] = [0, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 0];
rumusicecream[18] = [1, 2, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0];
rumusicecream[19] = [1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0];
rumusicecream[20] = [1, 1, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0];
rumusicecream[21] = [0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 1];
rumusicecream[22] = [0, 2, 1, 0, 0, 2, 0, 1, 0, 0, 1, 0];
rumusicecream[23] = [0, 2, 1, 0, 0, 1, 1, 1, 0, 2, 0, 0];
rumusicecream[24] = [0, 2, 1, 1, 0, 0, 3, 0, 0, 2, 0, 0];
tipeplate = new Array();
tipeplate[1] = [3];
tipeplate[2] = [3];
tipeplate[3] = (tipeplate[4] = (tipeplate[5] = [3]));
tipeplate[6] = [3];
tipeplate[7] = (tipeplate[8] = [3]);
tipeplate[9] = [2];
tipeplate[10] = (tipeplate[11] = (tipeplate[12] = (tipeplate[13] = [2])));
tipeplate[14] = (tipeplate[15] = [2]);
tipeplate[16] = (tipeplate[17] = [2]);
tipeplate[18] = (tipeplate[19] = [2]);
tipeplate[20] = [2];
tipeplate[21] = [1];
tipeplate[22] = [1];
tipeplate[23] = (tipeplate[24] = [1]);
ordermax = 12;
maxsimpen = 1;
tempmaxsimpen = 1;
cekcustomerexp();
variasitopping = [undefined, "cherry", "chocostick", "banana", "strawberry", "chocochips", "bean"];
btntutorialskip.addEventListener(MouseEvent.CLICK, tutorialskip);
countdowntimer = 50;
endscoopindex = 0;
tournament11reecipee = new Array();
tournament11reecipee = [3, 4, 7, 10, 11, 12, 14, 16, 18, 23];
tournamenttowin = 5;
tournamenttomax = 7;
berapakali = 0;
tempso = new Array();
targeticecreamtournament = 0;
surrenderbool = false;
tambahtopping = 6;
hargatopping = 15;
hargaicecream = 20;
poscherryx = mcanimatedcherry.x;
poscherryy = mcanimatedcherry.y;
poschocostickx = mcanimatedchocostick.x;
poschocosticky = mcanimatedchocostick.y;
posbananax = mcanimatedbanana.x;
posbananay = mcanimatedbanana.y;
posstrawberryx = mcanimatedstrawberry.x;
posstrawberryy = mcanimatedstrawberry.y;
poschocochipsx = mcanimatedchocochips.x;
poschocochipsy = mcanimatedchocochips.y;
posbeanx = mcanimatedbean.x;
posbeany = mcanimatedbean.y;
arraygoto2 = [undefined, 1, 2, 5, 6, 8, 9, 13, 15, 17, 19, 20, 21, 22, 24, 0, 19, 0, 0, 0, 0, 0, 0, 0];
halrecipee = 0;
cupposisix = 662;
cupposisiy = 371;
isikopi = 2;
reffiltime = 720;
arraypembanding = new Array();
arraypembanding = ["vanilla", "strawberry", "chocolate", "vanillasyrup", "tuttifruttisyrup", "chocolatesyrup", "toppingstrawberry", "bean", "chocochips", "chocostick", "cherry", "banana"];
stresslevel = 0;
stresslabel = new Array();
stresslabel = [undefined, "one", "two", "three", "four", "five"];
icecreamlinkage = new Array();
icecreamlinkage = [undefined, icecream1, icecream2, icecream3, icecream4, icecream5, icecream6, icecream7, icecream8, icecream9, icecream10, icecream11, icecream12, icecream13, icecream14, icecream15, icecream16, icecream17, icecream18, icecream19, icecream20, icecream21, icecream22, icecream23, icecream24, icecreamfailedplate, icecreamfailedglass, icecreamfailedcone];
icecreamprice = new Array();
icecreamprice = [undefined, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3];
icecreampricenumba = new Array();
icecreampricenumba = [undefined, 25, 30, 45, 50, 45, 50, 125, 90, 100, 185, 185, 190, 125, 200, 160, 215, 180, 220, 185, 190, 200, 215, 290, 220, 10, 10, 10];
jumlahicecreamneeded = 0;
moneytogoal = 0;
keruk1 = false;
keruk2 = false;
keruk3 = false;
boleisi = false;
jumlahmix = 0;
customertimegenerate = [undefined, undefined, 360, 360, 300, 300, 150, 250, 230, 230, 230, 0, 220, 220, 220, 220, 250, 220, 220, 220, 220, 220];
customertipegenerate = new Array();
i = 2;
while (i <= 21) {
customertipegenerate[i] = new Array();
i++;
};
customertipegenerate[2] = [2];
customertipegenerate[3] = [2];
customertipegenerate[4] = [2, 3];
customertipegenerate[5] = [2, 3];
customertipegenerate[6] = [2, 3];
customertipegenerate[7] = [2, 3];
customertipegenerate[8] = [2, 3, 4];
customertipegenerate[9] = [2, 3, 4, 5];
customertipegenerate[10] = [3, 4, 5, 6];
customertipegenerate[11] = [3, 4, 5, 6];
customertipegenerate[12] = [4, 5, 6, 7];
customertipegenerate[13] = [4, 5, 6, 7, 7];
customertipegenerate[14] = [5, 6, 7, 7, 8];
customertipegenerate[15] = [6, 7, 7, 8, 9];
customertipegenerate[16] = [6, 7, 7, 8, 9];
customertipegenerate[17] = [6, 7, 8, 9];
customertipegenerate[18] = [6, 7, 8, 9, 10];
customertipegenerate[19] = [6, 7, 8, 9, 10];
customertipegenerate[20] = [6, 7, 8, 9, 10, 11];
customertipegenerate[21] = [6, 7, 8, 9, 10, 11];
customereatingtime = new Array();
customereatingtime = [undefined, 120, 120, 100, 200, 120, 240, 180, 200, 160, 140, 160];
customercharacteristic = new Array();
i = 1;
while (i <= 10) {
customercharacteristic[i] = new Array();
i++;
};
customercharacteristic[2] = [1, 3, 0.1, 5];
customercharacteristic[3] = [1, 3, 0.2, 7];
customercharacteristic[4] = [2, 2, 0.1, 10];
customercharacteristic[5] = [2, 3, 0.2, 7];
customercharacteristic[6] = [2, 4, 0.2, 10];
customercharacteristic[7] = [3, 1.5, 0.1, 25];
customercharacteristic[8] = [4, 1.5, 0.5, 40];
customercharacteristic[9] = [2, 3, 0.2, 20];
customercharacteristic[10] = [2, 2, 0.2, 1];
customercharacteristic[11] = [2, 4, 0.5, 1];
jumlahcustomer = 0;
jumlahcustomerserved = 0;
jumlahcustomerlost = 0;
waktugenerate = 48;
jumlahmaxantri = 9;
jumlahcustomerinrow = 0;
customerstatus = new Array();
i = 1;
while (i <= 12) {
customerstatus[i] = "";
i++;
};
customerpatience = new Array();
i = 1;
while (i <= 12) {
customerpatience[i] = 0;
i++;
};
customerpatience2 = new Array();
i = 1;
while (i <= 12) {
customerpatience2[i] = 0;
i++;
};
jumkursi = [undefined, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8, 8, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12];
waitingtime = [undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined];
jumlahcustomerinsit = 0;
abilitytobuy = 4;
ease = 4;
statawalx = 862;
statawaly = 220;
gameabis = false;
waktustage = new Array();
waktustage = [undefined, undefined, 1.5, 1.5, 1.7, 1.7, 3, 2.5, 2.5, 2.5, 2.5, 0, 2.5, 2.5, 2.5, 2.6, 2.6, 2.7, 2.7, 2.8, 2.9, 3];
stagetime = ((waktustage[level] * 60) * 24);
trace(("lama game : " + (waktustage[level] * 60)));
time = 0;
combobool = false;
comboer = 0;
waktucombo = 360;
stage.addEventListener(KeyboardEvent.KEY_DOWN, anykey);
alphaer = 0.4;
}
function frame11(){
gotoAndStop("shop2");
}
function frame12(){
}
function frame13(){
stop();
so.data.ending = 1;
mc1.btnmenu.addEventListener(MouseEvent.CLICK, endingmenu);
stage.addEventListener(Event.ENTER_FRAME, endingstab);
}
public function levelselectshop(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "shop2";
}
public function countdowntutorial(_arg1:Event):void{
countdowntimer--;
if (countdowntimer <= 0){
mctutorial.nextFrame();
cektutorial();
mcrowcustomer1.gotoAndStop(1);
mcenvironment.mc1.mcchair1.mccustomer.gotoAndStop(2);
mcenvironment.mc1.mcnumba1.visible = true;
orderplateimage[0].mc1.gotoAndStop(1);
stage.removeEventListener(Event.ENTER_FRAME, countdowntutorial);
};
}
public function preloaderag2(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.girlgamesnow.com");
navigateToURL(_local2);
}
public function transisimc(_arg1:Event):void{
if (mctransisi.currentLabel == "switch"){
gotoAndStop(targetframe);
mctransisi.nextFrame();
};
if (mctransisi.currentFrame == mctransisi.totalFrames){
mctransisi.gotoAndStop(1);
};
}
public function bwatkopitutor(){
mckopitutor.gotoAndPlay(2);
}
public function makingicecreamanimation(_arg1:Event):void{
if (linkageke == 25){
if (mcfailed.currentFrame == mcfailed.totalFrames){
mcfailed.removeEventListener(Event.ENTER_FRAME, makingicecreamanimation);
if (linkageke == 25){
if (mcmakingicecream.currentFrame == 2){
linkageke = 25;
} else {
if (mcmakingicecream.currentFrame == 3){
linkageke = 26;
} else {
if (mcmakingicecream.currentFrame == 4){
linkageke = 27;
};
};
};
};
tarohicecream();
};
} else {
if (linkageke != 25){
if (mcsuccess.currentFrame == mcsuccess.totalFrames){
mcsuccess.removeEventListener(Event.ENTER_FRAME, makingicecreamanimation);
tarohicecream();
};
};
};
}
public function ilanginglow(){
var _local1:*;
var _local2:*;
_local1 = 1;
while (_local1 <= ordermax) {
_local2 = getChildByName(("mcorder" + _local1));
_local2.filters = null;
_local1++;
};
}
public function loadrecipee(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = 1;
while (_local1 <= 6) {
_local2 = (_local1 + halrecipee);
if (_local2 > 14){
_local3 = mcrecipee.getChildByName(("mc" + _local1));
_local3.visible = false;
_local3 = mcrecipee.getChildByName(("exp" + _local1));
_local3.visible = false;
} else {
_local2 = arraygoto2[_local2];
if (so.data.icecream[_local2] == 1){
_local3 = mcrecipee.getChildByName(("mc" + _local1));
_local3.visible = true;
_local3.gotoAndStop(_local2);
_local3 = mcrecipee.getChildByName(("exp" + _local1));
_local3.visible = true;
_local3.gotoAndStop(_local2);
} else {
if (so.data.icecream[_local2] == 0){
_local3 = mcrecipee.getChildByName(("mc" + _local1));
_local3.gotoAndStop(25);
_local3 = mcrecipee.getChildByName(("exp" + _local1));
_local3.gotoAndStop(25);
};
};
};
_local1++;
};
}
public function cleaning(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local1 = 1;
while (_local1 <= 6) {
_local2 = objdecor.getChildByName(("btnnext" + _local1));
if (_local2 != null){
_local2.removeEventListener(MouseEvent.CLICK, shopdecorbuttonsmallnext);
};
_local3 = objdecor.getChildByName(("btnpre" + _local1));
if (_local3 != null){
_local3.removeEventListener(MouseEvent.CLICK, shopdecorbuttonsmallpre);
};
_local4 = objdecor.getChildByName(("btncentang" + _local1));
if (_local4 != null){
_local4.removeEventListener(MouseEvent.CLICK, shopdecorbuttoncentang);
};
_local4 = objdecor.getChildByName(("mccentang" + _local1));
if (_local4 != null){
_local4.removeEventListener(MouseEvent.CLICK, shopdecorbuttoncentang2);
};
_local1++;
};
}
public function decornexttipe(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
if (indexdecor < 8){
btnpretipe.visible = true;
indexdecor++;
if (indexdecor == 8){
btnnexttipe.visible = false;
};
cleaning();
buwatfungsidecor();
};
}
public function buwattournament11(){
var _local1:*;
mctimer2.removeEventListener(Event.ENTER_FRAME, waiting5sec3);
mctimer2.gotoAndStop(1);
mctournament11.gotoAndStop(1);
mctournament11.mctimer.gotoAndStop(1);
berapakali++;
mcmake.visible = false;
mctournament11.addEventListener(Event.ENTER_FRAME, waiting5sec);
_local1 = randRange(0, (tournament11reecipee.length - 1));
targeticecreamtournament = tournament11reecipee[_local1];
trace(("RANDOM JD : " + tournament11reecipee[_local1]));
mctournament11.mc1.gotoAndStop(tournament11reecipee[_local1]);
}
public function ingamecupup(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
alphamixpanelfalse();
_local2 = false;
_local3 = 1;
while (_local3 < 12) {
_local4 = getChildByName(("mcorder" + _local3));
if ((((btncup.hitTestObject(_local4) == true)) && ((_local4.visible == true)))){
mckopigiveneffect.x = _local4.x;
mckopigiveneffect.y = _local4.y;
mckopigiveneffect.gotoAndPlay(2);
_local5 = mcenvironment.mc1.getChildByName(("mcchair" + _local4.txt1.text));
_local5.mcminumkopi.gotoAndPlay(2);
_local5.mccustomer2.mc1.gotoAndPlay("idle");
_local5.mccustomer.mc1.gotoAndPlay("idle");
customerpatience[_local4.txt1.text] = customerpatience2[_local4.txt1.text];
_local4.mctime.gotoAndStop(1);
customerstatus[_local4.txt1.text] = "idle";
trace(((((("buwat customer no : " + _local4.txt1.text) + " dari patience : ") + customerpatience[_local4.txt1.text]) + " jadi : ") + customerpatience2[_local4.txt1.text]));
_local2 = true;
cleaningcup();
break;
};
_local3++;
};
if (_local2 == false){
stage.removeEventListener(Event.ENTER_FRAME, ingamecupdrag);
btncup.x = cupposisix;
btncup.y = cupposisiy;
};
ilanginglow();
}
public function cektamat(){
trace("CEK TAMAT");
txtcompiler.text = "END CHECKING";
if (((((!((level == 6))) && (!((level == 11))))) && (!((level == 16))))){
mcwinlose.txt1.text = ("$" + mcmenubawah.txtgoal.text);
mcwinlose.txt2.text = ("$" + mcmenubawah.txtmoney.text);
mcwinlose.txt3.text = (jumlahcustomer + " customers");
mcwinlose.txt4.text = (jumlahcustomerserved + " customers");
mcwinlose.txt5.text = (jumlahcustomerlost + " customers");
if ((((surrenderbool == true)) || ((Number(mcmenubawah.txtmoney.text) < Number(mcmenubawah.txtgoal.text))))){
mcwinlose.txt6.text = "$0";
} else {
if (Number(mcmenubawah.txtmoney.text) >= Number(mcmenubawah.txtgoal.text)){
mcwinlose.txt6.text = (Number(mcmenubawah.txtmoney.text) - Number(mcmenubawah.txtgoal.text));
so.data.money = (so.data.money + (Number(mcmenubawah.txtmoney.text) - Number(mcmenubawah.txtgoal.text)));
};
};
mcwinlose.txt6.text = ("$" + so.data.money);
txtcompiler.text = ((((("END CHECKER : " + surrenderbool) + " ") + Number(mcmenubawah.txtmoney.text)) + " ") + Number(mcmenubawah.txtgoal.text));
if ((((surrenderbool == true)) || ((Number(mcmenubawah.txtmoney.text) < Number(mcmenubawah.txtgoal.text))))){
txtcompiler.text = "LOSE";
kalah();
} else {
if (Number(mcmenubawah.txtmoney.text) >= Number(mcmenubawah.txtgoal.text)){
txtcompiler.text = "WIN";
menang();
};
};
} else {
if (level == 6){
mcwinlose.txt1.text = "20 icecream sold";
mcwinlose.txt2.text = (jumlahcustomerserved + " icecream sold");
mcwinlose.txt3.text = (jumlahcustomer + " customers");
mcwinlose.txt4.text = (jumlahcustomerserved + " customers");
mcwinlose.txt5.text = (jumlahcustomerlost + " customers");
if ((((surrenderbool == true)) || ((jumlahcustomerserved < 20)))){
mcwinlose.txt6.text = "$0";
} else {
if (jumlahcustomerserved >= 20){
mcwinlose.txt6.text = Number(mcmenubawah.txtmoney.text);
so.data.money = (so.data.money + Number(mcmenubawah.txtmoney.text));
};
};
mcwinlose.txt6.text = ("$" + so.data.money);
if ((((surrenderbool == true)) || ((jumlahcustomerserved < 20)))){
kalah();
} else {
if (jumlahcustomerserved >= 20){
menang();
};
};
} else {
if (level == 11){
mcwinlose.txt1.text = (tournamenttowin + " icecream match");
mcwinlose.txtincome.text = "Today match :";
mcwinlose.txt2.text = (jumlahicecreamneeded + " icecream match");
mcwinlose.txt3.text = (0 + " customers");
mcwinlose.txt4.text = (0 + " customers");
mcwinlose.txt5.text = (0 + " customers");
if ((((surrenderbool == true)) || ((jumlahicecreamneeded < tournamenttowin)))){
mcwinlose.txt6.text = "$0";
} else {
if (jumlahicecreamneeded >= tournamenttowin){
mcwinlose.txt6.text = Number(mcmenubawah.txtmoney.text);
so.data.money = (so.data.money + Number(mcmenubawah.txtmoney.text));
};
};
mcwinlose.txt6.text = ("$" + so.data.money);
if ((((surrenderbool == true)) || ((jumlahicecreamneeded < tournamenttowin)))){
kalah();
} else {
if (jumlahicecreamneeded >= tournamenttowin){
menang();
};
};
} else {
if (level == 16){
mcwinlose.txt1.text = "no customer lost";
mcwinlose.txt2.text = (jumlahcustomerserved + " icecream sold");
mcwinlose.txt3.text = (jumlahcustomer + " customers");
mcwinlose.txt4.text = (jumlahcustomerserved + " customers");
mcwinlose.txt5.text = (jumlahcustomerlost + " customers");
if ((((jumlahcustomerlost >= 1)) || ((surrenderbool == true)))){
mcwinlose.txt6.text = "$0";
} else {
if (jumlahcustomerlost == 0){
mcwinlose.txt6.text = Number(mcmenubawah.txtmoney.text);
so.data.money = (so.data.money + Number(mcmenubawah.txtmoney.text));
};
};
mcwinlose.txt6.text = ("$" + so.data.money);
if ((((jumlahcustomerlost >= 1)) || ((surrenderbool == true)))){
kalah();
} else {
if (jumlahcustomerlost == 0){
menang();
};
};
};
};
};
};
}
public function loading(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
_local2 = this.stage.loaderInfo.bytesTotal;
_local3 = this.stage.loaderInfo.bytesLoaded;
percentage = ((_local3 / _local2) * 100);
trace(("PERSENTASE : " + percentage));
mcpreloader.loaderbar.gotoAndStop(int(percentage));
i = 0;
while (i < 1) {
sparklingimage[i] = new (spark);
addChild(sparklingimage[i]);
sparklingimage[i].x = ((270 + ((percentage / 100) * 244)) + (Math.random() * 30));
sparklingimage[i].y = (343 + (Math.random() * 10));
i++;
};
}
public function cektoppingsyrup(){
var _local1:*;
btntoppingholder.btncherry.visible = false;
btntoppingholder.txt1.visible = false;
btntoppingholder.btnchocostick.visible = false;
btntoppingholder.txt2.visible = false;
btntoppingholder.btnbanana.visible = false;
btntoppingholder.txt3.visible = false;
btntoppingholder.btnstrawberry.visible = false;
btntoppingholder.txt4.visible = false;
btntoppingholder.btnchocochips.visible = false;
btntoppingholder.txt5.visible = false;
btntoppingholder.btnbean.visible = false;
btntoppingholder.txt6.visible = false;
mcrefilltopping.btn1.visible = false;
mcrefilltopping.btn2.visible = false;
mcrefilltopping.btn3.visible = false;
mcrefilltopping.btn4.visible = false;
mcrefilltopping.btn5.visible = false;
mcrefilltopping.btn6.visible = false;
btnsyrupmaker.visible = false;
_local1 = 1;
while (_local1 <= 24) {
if (so.data.icecream[_local1] >= 1){
if ((((((rumusicecream[_local1][3] == 1)) || ((rumusicecream[_local1][4] == 1)))) || ((rumusicecream[_local1][5] == 1)))){
btnsyrupmaker.visible = true;
};
if (rumusicecream[_local1][6] >= 1){
mcrefilltopping.btn4.visible = true;
btntoppingholder.btnstrawberry.visible = true;
btntoppingholder.txt4.visible = true;
};
if (rumusicecream[_local1][7] >= 1){
mcrefilltopping.btn6.visible = true;
btntoppingholder.btnbean.visible = true;
btntoppingholder.txt6.visible = true;
};
if (rumusicecream[_local1][8] >= 1){
mcrefilltopping.btn5.visible = true;
btntoppingholder.btnchocochips.visible = true;
btntoppingholder.txt5.visible = true;
};
if (rumusicecream[_local1][9] >= 1){
mcrefilltopping.btn2.visible = true;
btntoppingholder.btnchocostick.visible = true;
btntoppingholder.txt2.visible = true;
};
if (rumusicecream[_local1][10] >= 1){
mcrefilltopping.btn1.visible = true;
btntoppingholder.btncherry.visible = true;
btntoppingholder.txt1.visible = true;
};
if (rumusicecream[_local1][11] >= 1){
mcrefilltopping.btn3.visible = true;
btntoppingholder.btnbanana.visible = true;
btntoppingholder.txt3.visible = true;
};
};
_local1++;
};
}
public function ingamecupdown(_arg1:MouseEvent):void{
stage.addEventListener(Event.ENTER_FRAME, ingamecupdrag);
}
public function shopdecorbuttonsmallnext(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = _arg1.target.name;
_local3 = _local2.charAt((_local2.length - 1));
_local4 = objdecor.getChildByName(("mc" + _local3));
_local4.nextFrame();
cleaning();
buwatfungsidecor();
}
public function ingameanimatedchocochips(_arg1:Event):void{
var _local2:*;
var _local3:Point;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local2 = mcmixpanel.getChildByName(("mc" + targetchocochips));
_local3 = new Point(_local2.x, _local2.y);
_local3 = mcmixpanel.localToGlobal(_local3);
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _local3.x) / 10));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _local3.y) / 10));
if (_arg1.target.hitTestObject(_local2) == true){
_arg1.target.gotoAndStop(1);
_arg1.target.x = poschocochipsx;
_arg1.target.y = poschocochipsy;
mcanimatedchocochips.removeEventListener(Event.ENTER_FRAME, ingameanimatedchocochips);
_local4 = mcmixpanel.getChildByName(("txt" + targetchocochips));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
_local4 = mcmixpanel.getChildByName(("mc" + targetchocochips));
_local4.gotoAndStop("chocochips");
};
}
public function creditokay(_arg1:MouseEvent):void{
mccredit.visible = false;
}
public function buwatfungsidecorstandart(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local1 = 1;
while (_local1 <= 4) {
_local2 = 1;
while (_local2 <= 8) {
objdecor = getChildByName((("mcdekor" + _local1) + _local2));
if (objdecor != null){
objdecor.visible = false;
_local3 = 1;
while (_local3 <= 6) {
_local4 = objdecor.getChildByName(("mccentang" + _local3));
if (_local4 != null){
_local4.visible = false;
};
_local3++;
};
};
_local2++;
};
_local1++;
};
objdecor = getChildByName((("mcdekor" + leveltemp) + indexdecor));
objdecor.visible = true;
}
public function decornext(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
if (statshop == "lose"){
targetframe = "ingame";
} else {
if (statshop == "win"){
targetframe = "level select";
};
};
}
public function previewpre(_arg1:MouseEvent):void{
if (indexpreview > 0){
indexpreview--;
resetpreview();
tampilin();
};
}
public function conGG(_arg1:MouseEvent):void{
var _local2:URLRequest;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = new URLRequest("http://www.girlgamesnow.com");
navigateToURL(_local2);
}
public function tutorialskip(_arg1:MouseEvent):void{
cleartutorial();
}
public function loadshopresep(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local1 = 0;
_local2 = 1;
while (_local2 <= 4) {
_local3 = getChildByName(("btnbuy" + _local2));
_local3.visible = true;
_local4 = getChildByName(("lock" + _local2));
_local4.visible = false;
_local3.addEventListener(MouseEvent.MOUSE_UP, buyitem);
_local5 = getChildByName(("mc" + _local2));
_local6 = (shopresepindex + _local1);
_local6 = arraygoto[_local6];
_local5.gotoAndStop(_local6);
if (so.data.icecream[int(_local6)] == 1){
_local5.buttonMode = true;
_local5.removeEventListener(MouseEvent.CLICK, clickeskrimresep);
_local5.addEventListener(MouseEvent.CLICK, clickeskrimresep);
_local3.visible = false;
_local4.visible = false;
} else {
if (int((shopresepindex + _local1)) > 14){
_local5.visible = false;
_local3.visible = false;
_local4.visible = false;
_local7 = getChildByName((("mc" + _local2) + "show"));
_local7.visible = false;
} else {
_local7 = getChildByName((("mc" + _local2) + "show"));
_local7.visible = true;
_local5.visible = true;
if (int((shopresepindex + _local1)) > lockicecream[so.data.levele]){
_local5.buttonMode = false;
_local5.removeEventListener(MouseEvent.CLICK, clickeskrimresep);
_local3.visible = false;
_local4.visible = true;
_local4.gotoAndStop(1);
} else {
if (int((shopresepindex + _local1)) == indexbole){
_local5.buttonMode = true;
_local5.removeEventListener(MouseEvent.CLICK, clickeskrimresep);
_local5.addEventListener(MouseEvent.CLICK, clickeskrimresep);
trace((("gambar ke : " + int((shopresepindex + _local1))) + " bole d beli"));
indexbole = (shopresepindex + _local1);
bole = false;
_local3.visible = true;
_local4.visible = false;
} else {
if ((((int((shopresepindex + _local1)) <= lockicecream[so.data.levele])) && ((bole == true)))){
_local5.buttonMode = true;
_local5.removeEventListener(MouseEvent.CLICK, clickeskrimresep);
_local5.addEventListener(MouseEvent.CLICK, clickeskrimresep);
trace((("gambar ke : " + int((shopresepindex + _local1))) + " bole d beli"));
indexbole = (shopresepindex + _local1);
bole = false;
_local3.visible = true;
_local4.visible = false;
} else {
if ((((((int((shopresepindex + _local1)) > indexbole)) && ((int((shopresepindex + _local1)) <= lockicecream[so.data.levele])))) && ((bole == false)))){
_local5.buttonMode = true;
_local5.removeEventListener(MouseEvent.CLICK, clickeskrimresep);
_local5.addEventListener(MouseEvent.CLICK, clickeskrimresep);
trace((("gambar ke : " + int((shopresepindex + _local1))) + " hrs bl yg sbme doloe"));
_local3.visible = false;
_local4.visible = true;
_local4.gotoAndStop(2);
};
};
};
};
};
};
_local1++;
_local2++;
};
}
public function buwatfungsitutorial(){
var tutorialskip:Function;
var tutorialnext:Function;
tutorialskip = function (_arg1:MouseEvent):void{
cleartutorial();
};
tutorialnext = function (_arg1:MouseEvent):void{
mctutorial.nextFrame();
cektutorial();
};
mctutorial.btnskip.addEventListener(MouseEvent.CLICK, tutorialskip);
mctutorial.btnnext.addEventListener(MouseEvent.CLICK, tutorialnext);
}
public function ingamecupdrag(_arg1:Event):void{
var _local2:*;
var _local3:*;
alphamixpaneltrue();
btncup.x = mouseX;
btncup.y = mouseY;
ilanginglow();
_local2 = 1;
while (_local2 <= ordermax) {
_local3 = getChildByName(("mcorder" + _local2));
if (btncup.hitTestObject(_local3) == true){
_local3.filters = [glow];
break;
};
_local2++;
};
}
public function ingameanimatedstrawberry(_arg1:Event):void{
var _local2:*;
var _local3:Point;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local2 = mcmixpanel.getChildByName(("mc" + targetstrawberry));
_local3 = new Point(_local2.x, _local2.y);
_local3 = mcmixpanel.localToGlobal(_local3);
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _local3.x) / 10));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _local3.y) / 10));
if (_arg1.target.hitTestObject(_local2) == true){
_arg1.target.gotoAndStop(1);
_arg1.target.x = posstrawberryx;
_arg1.target.y = posstrawberryy;
mcanimatedstrawberry.removeEventListener(Event.ENTER_FRAME, ingameanimatedstrawberry);
_local4 = mcmixpanel.getChildByName(("txt" + targetstrawberry));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
_local4 = mcmixpanel.getChildByName(("mc" + targetstrawberry));
_local4.gotoAndStop("toppingstrawberry");
};
}
public function icecreamimagedrag(_arg1:Event):void{
icecreamimage[0].x = mouseX;
icecreamimage[0].y = mouseY;
if (icecreamimage[0].hitTestObject(orderplateimage[0]) == true){
orderplateimage[0].filters = [glow];
} else {
if (icecreamimage[0].hitTestObject(orderplateimage[0]) == false){
orderplateimage[0].filters = null;
};
};
}
public function tarohcustomerrow(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = 1;
while (_local1 <= jumlahmaxantri) {
_local2 = getChildByName(("mcrowcustomer" + _local1));
if (_local2.currentFrame == 1){
_local3 = randRange(0, (customertipegenerate[level].length - 1));
_local2.gotoAndStop(customertipegenerate[level][_local3]);
tipecustomerygditaroh = customertipegenerate[level][_local3];
waitingtime[_local1] = 50;
break;
};
_local1++;
};
}
public function tampilin(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
if (tempbuy.length > 0){
_local1 = getChildByName(("mc" + leveltemp));
_local1 = _local1.mc1;
trace(("cek awal " + tempbuy[indexpreview]));
_local2 = indexdecorobj[tempbuy[indexpreview].charAt(0)][tempbuy[indexpreview].charAt(1)];
if (tempbuy[indexpreview].charAt(0) == 3){
trace("taplak");
_local3 = 1;
while (_local3 <= 12) {
_local4 = _local1;
_local4 = _local4.getChildByName(("mcchair" + _local3));
if (_local4 != null){
_local4 = _local4.getChildByName("mctaplak");
trace(_local4.name);
if (_local4 != null){
_local5 = (((int((tempbuy[indexpreview].charAt(1) - 1)) * 4) + int(tempbuy[indexpreview].charAt(2))) + 1);
_local4.gotoAndStop(_local5);
trace(((_local4.name + " goto : ") + _local5));
};
} else {
break;
};
_local3++;
};
} else {
if (tempbuy[indexpreview].charAt(0) == 5){
trace("karpet");
_local3 = 1;
while (_local3 <= 12) {
_local4 = _local1;
_local4 = _local4.getChildByName(("mckarpet" + _local3));
if (_local4 != null){
_local5 = (((int((tempbuy[indexpreview].charAt(1) - 1)) * 4) + int(tempbuy[indexpreview].charAt(2))) + 1);
_local4.gotoAndStop(_local5);
_local4.visible = true;
trace(((_local4.name + " goto : ") + _local5));
} else {
break;
};
_local3++;
};
} else {
if (tempbuy[indexpreview].charAt(0) == 8){
trace("korden");
_local4 = _local1;
_local4 = _local4.getChildByName("mckorden");
if (_local4 != null){
_local5 = (((int((tempbuy[indexpreview].charAt(1) - 1)) * 3) + int(tempbuy[indexpreview].charAt(2))) + 1);
_local4.gotoAndStop(_local5);
_local4.visible = true;
trace(((_local4.name + " goto : ") + _local5));
};
} else {
_local1 = _local1.getChildByName(_local2);
_local1.gotoAndStop(2);
};
};
};
_local1.visible = true;
};
}
public function bwatsyruptutor(){
mcsyruptutor.gotoAndPlay(2);
}
public function gametimer(_arg1:Event):void{
var percentagetime:*;
var no:*;
var i:*;
var objchair:*;
var timeupnext:Function;
var event = _arg1;
if (pausegame == false){
time++;
percentagetime = ((time / stagetime) * 100);
mcmenubawah.mctime.gotoAndStop(int(percentagetime));
if (mcmenubawah.mctime.currentFrame == mcmenubawah.mctime.totalFrames){
soundclosedstage.play(0, 1, new SoundTransform(volume));
if (level != 6){
mcenvironment.mc1.mcclosed.visible = true;
stage.removeEventListener(Event.ENTER_FRAME, gametimer);
gameabis = true;
no = false;
i = 1;
while (i <= 12) {
objchair = mcenvironment.mc1.getChildByName(("mcchair" + i));
if (objchair != null){
if (objchair.mccustomer.currentFrame != 1){
no = true;
break;
};
};
i = (i + 1);
};
i = 1;
while (i <= 12) {
objchair = getChildByName(("mcrowcustomer" + i));
if (objchair.currentFrame != 1){
no = true;
break;
};
i = (i + 1);
};
if (no == false){
stopgame();
cektamat();
};
} else {
timeupnext = function (_arg1:MouseEvent):void{
mctimeup.visible = false;
cektamat();
};
stopgame();
stage.removeEventListener(Event.ENTER_FRAME, gametimer);
gameabis = true;
mctimeup.mc1.btnnext.addEventListener(MouseEvent.CLICK, timeupnext);
mctimeup.visible = true;
mctimeup.gotoAndPlay(2);
};
};
};
}
public function icecreamkeruk3(_arg1:Event):void{
if (btnicecreamholder.mc3.currentFrame == btnicecreamholder.mc3.totalFrames){
mcmixpanel.visible = true;
keruk3 = false;
objtextkurangi = btnicecreamholder.txt3;
mixpanelisi = "chocolate";
isimixpanel();
stage.removeEventListener(Event.ENTER_FRAME, icecreamkeruk3);
};
}
public function icecreamkeruk1(_arg1:Event):void{
if (btnicecreamholder.mc1.currentFrame == btnicecreamholder.mc1.totalFrames){
mcmixpanel.visible = true;
keruk1 = false;
objtextkurangi = btnicecreamholder.txt1;
mixpanelisi = "vanilla";
isimixpanel();
stage.removeEventListener(Event.ENTER_FRAME, icecreamkeruk1);
};
}
public function cleaningicecreamimage(){
stage.removeEventListener(Event.ENTER_FRAME, ingameicecreamimagedrag);
icecreamimage[0].addEventListener(MouseEvent.MOUSE_UP, ingameicecreamimageup);
icecreamimage[0].addEventListener(MouseEvent.MOUSE_DOWN, ingameicecreamimagedown);
removeChild(icecreamimage[0]);
icecreamimage[0] = null;
}
public function cleaningcup(){
stage.removeEventListener(Event.ENTER_FRAME, ingamecupdrag);
btncup.removeEventListener(MouseEvent.MOUSE_DOWN, ingamecupdown);
btncup.removeEventListener(MouseEvent.MOUSE_UP, ingamecupup);
btncup.visible = false;
btncup.x = cupposisix;
btncup.y = cupposisiy;
mccup.visible = true;
mccup.gotoAndStop(1);
mccoffe.visible = true;
}
public function cektutorial(){
var tutorialrecipee:Function;
var tutorialrecipeeclose:Function;
var tutorialconeholder:Function;
var tutorialstrawberry:Function;
var tutorialchocolate:Function;
var mixpanelmix:Function;
var icecreamimagedown:Function;
var icecreamimageup:Function;
var tutorialcart:Function;
var tutorialcarttopping:Function;
var tutorialcarttoppingchoco:Function;
var tutorialcarttoppingclose:Function;
if (mctutorial.currentLabel == "customercome"){
tutorialsatu();
} else {
if (mctutorial.currentLabel == "customerorder"){
tutorialdua();
} else {
if (mctutorial.currentLabel == "orange"){
orderplateimage[0].mctime.gotoAndStop(25);
} else {
if (mctutorial.currentLabel == "btnrecipee"){
tutorialrecipee = function (_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
_local2 = 2;
while (_local2 <= 6) {
_local3 = mcrecipee.getChildByName(("mc" + _local2));
_local3.gotoAndStop(25);
_local3 = mcrecipee.getChildByName(("exp" + _local2));
_local3.gotoAndStop(25);
_local2++;
};
btnrecipee.removeEventListener(MouseEvent.CLICK, tutorialrecipee);
mctutorial.nextFrame();
cektutorial();
mcrecipee.visible = true;
};
btnrecipee.addEventListener(MouseEvent.CLICK, tutorialrecipee);
} else {
if (mctutorial.currentLabel == "closerecipee"){
tutorialrecipeeclose = function (_arg1:MouseEvent):void{
mctutorial.nextFrame();
cektutorial();
mcrecipee.visible = false;
};
mcrecipee.btnclose.addEventListener(MouseEvent.CLICK, tutorialrecipeeclose);
} else {
if (mctutorial.currentLabel == "coneholder"){
tutorialconeholder = function (_arg1:MouseEvent):void{
btnconeholder.removeEventListener(MouseEvent.CLICK, tutorialconeholder);
mctutorial.nextFrame();
cektutorial();
};
btnconeholder.addEventListener(MouseEvent.CLICK, tutorialconeholder);
} else {
if (mctutorial.currentLabel == "conepanel"){
mcconepanel.visible = true;
buwatfungsiconepanel();
} else {
if (mctutorial.currentLabel == "strawberryicecream"){
tutorialstrawberry = function (_arg1:MouseEvent):void{
btnicecreamholder.btn2.removeEventListener(MouseEvent.CLICK, tutorialstrawberry);
btnicecreamholder.mc2.gotoAndPlay(2);
endscoopindex = 1;
btnicecreamholder.mc2.addEventListener(Event.ENTER_FRAME, endscoop);
};
btnicecreamholder.btn2.addEventListener(MouseEvent.CLICK, tutorialstrawberry);
} else {
if (mctutorial.currentLabel == "chocolateicecream"){
tutorialchocolate = function (_arg1:MouseEvent):void{
btnicecreamholder.btn3.removeEventListener(MouseEvent.CLICK, tutorialchocolate);
btnicecreamholder.mc3.gotoAndPlay(2);
endscoopindex = 2;
btnicecreamholder.mc3.addEventListener(Event.ENTER_FRAME, endscoop);
};
btnicecreamholder.btn3.addEventListener(MouseEvent.CLICK, tutorialchocolate);
} else {
if (mctutorial.currentLabel == "mix"){
mixpanelmix = function (_arg1:MouseEvent):void{
mcmixpanel.btnmix.removeEventListener(MouseEvent.CLICK, mixpanelmix);
mcmixpanel.visible = false;
mcsuccess.gotoAndPlay(2);
endscoopindex = 3;
mcsuccess.addEventListener(Event.ENTER_FRAME, endscoop);
mctutorial.nextFrame();
cektutorial();
};
mcmixpanel.btnmix.addEventListener(MouseEvent.CLICK, mixpanelmix);
} else {
if (mctutorial.currentLabel == "done"){
icecreamimagedown = function (_arg1:MouseEvent):void{
stage.addEventListener(Event.ENTER_FRAME, icecreamimagedrag);
};
icecreamimageup = function (_arg1:MouseEvent):void{
if (icecreamimage[0].hitTestObject(orderplateimage[0]) == true){
mcmenubawah.txtmoney.text = "$27";
mcpayment.mc1.txt1.text = "$25";
mcpayment.mc1.txt2.text = "+$2";
mcpayment.x = orderplateimage[0].x;
mcpayment.y = orderplateimage[0].y;
mcpayment.gotoAndPlay(2);
mcenvironment.mc1.mcnumba1.visible = false;
icecreamimage[0].removeEventListener(MouseEvent.MOUSE_DOWN, icecreamimagedown);
stage.removeEventListener(Event.ENTER_FRAME, icecreamimagedrag);
icecreamimage[0].removeEventListener(MouseEvent.MOUSE_UP, icecreamimageup);
removeChild(icecreamimage[0]);
icecreamimage[0] = null;
removeChild(orderplateimage[0]);
orderplateimage[0] = null;
mcenvironment.mc1.mcchair1.mccustomer.mc1.gotoAndPlay("eating");
mcenvironment.mc1.mcchair1.eskrim.gotoAndStop(1);
mctutorial.nextFrame();
cektutorial();
} else {
if (icecreamimage[0].hitTestObject(orderplateimage[0]) == false){
stage.removeEventListener(Event.ENTER_FRAME, icecreamimagedrag);
icecreamimage[0].x = posisiicecreamimagex;
icecreamimage[0].y = posisiicecreamimagey;
};
};
};
mcmakingicecream.gotoAndStop(1);
icecreamimage[0] = new (icecream1);
addChildAt(icecreamimage[0], getChildIndex(mcmakingicecream));
icecreamimage[0].x = posisiicecreamimagex;
icecreamimage[0].y = posisiicecreamimagey;
icecreamimage[0].addEventListener(MouseEvent.MOUSE_DOWN, icecreamimagedown);
icecreamimage[0].addEventListener(MouseEvent.MOUSE_UP, icecreamimageup);
} else {
if (mctutorial.currentLabel == "btnshopping"){
tutorialcart = function (_arg1:MouseEvent):void{
btncart.removeEventListener(MouseEvent.CLICK, tutorialcart);
mcrefillpanel.visible = true;
mctutorial.nextFrame();
cektutorial();
};
btncart.addEventListener(MouseEvent.CLICK, tutorialcart);
} else {
if (mctutorial.currentLabel == "btntopping"){
tutorialcarttopping = function (_arg1:MouseEvent):void{
mcrefillpanel.btntopping.removeEventListener(MouseEvent.CLICK, tutorialcarttopping);
mcrefillpanel.visible = false;
mcrefilltopping.visible = true;
mctutorial.nextFrame();
cektutorial();
};
mcrefillpanel.btntopping.addEventListener(MouseEvent.CLICK, tutorialcarttopping);
} else {
if (mctutorial.currentLabel == "btnchocostick"){
tutorialcarttoppingchoco = function (_arg1:MouseEvent):void{
mcrefilltopping.btn2.removeEventListener(MouseEvent.CLICK, tutorialcarttoppingchoco);
mcrefilltopping.mc2.gotoAndStop(2);
btntoppingholder.mcrefill2.gotoAndPlay(2);
endscoopindex = 4;
btntoppingholder.mcrefill2.addEventListener(Event.ENTER_FRAME, endscoop);
mctutorial.nextFrame();
cektutorial();
};
mcrefilltopping.btn2.addEventListener(MouseEvent.CLICK, tutorialcarttoppingchoco);
} else {
if (mctutorial.currentLabel == "btnok"){
tutorialcarttoppingclose = function (_arg1:MouseEvent):void{
if (mcrefilltopping.mc2.currentFrame == 2){
mcrefilltopping.btnx.removeEventListener(MouseEvent.CLICK, tutorialcarttoppingclose);
mcrefilltopping.visible = false;
mctutorial.nextFrame();
cektutorial();
};
};
mcrefilltopping.btnx.addEventListener(MouseEvent.CLICK, tutorialcarttoppingclose);
} else {
if (mctutorial.currentLabel == "end2"){
cleartutorial();
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function blankso(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
so.clear();
so.data.ending = 0;
so.data.levele = 1;
so.data.money = 0;
so.data.icecream = new Array();
so.data.icecream = [undefined, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
so.data.upgrade = new Array();
_local1 = 1;
while (_local1 <= 4) {
so.data.upgrade[_local1] = new Array();
_local2 = 1;
while (_local2 <= 8) {
so.data.upgrade[_local1][_local2] = new Array();
_local3 = 1;
while (_local3 <= 6) {
so.data.upgrade[_local1][_local2][_local3] = new Array();
_local4 = 1;
while (_local4 <= 4) {
so.data.upgrade[_local1][_local2][_local3][_local4] = 0;
_local4++;
};
_local3++;
};
_local2++;
};
_local1++;
};
so.data.tipetaplak = "00";
so.data.tipekarpet = "00";
so.data.tipekorden = "00";
so.data.kopi = 0;
so.data.kopitemp = 0;
so.data.kulkas = 0;
so.data.kulkastemp = 0;
so.data.kulkastemp2 = 0;
so.data.syrup = 0;
so.data.shop = 0;
so.data.vitc = 0;
so.data.autocart = 0;
so.data.aoeheart = 0;
so.data.aoedouble = 0;
}
public function previewnext(_arg1:MouseEvent):void{
if (indexpreview < (tempbuy.length - 1)){
indexpreview++;
resetpreview();
tampilin();
};
}
public function icecreamkeruk2(_arg1:Event):void{
if (btnicecreamholder.mc2.currentFrame == btnicecreamholder.mc2.totalFrames){
mcmixpanel.visible = true;
keruk2 = false;
objtextkurangi = btnicecreamholder.txt2;
mixpanelisi = "strawberry";
isimixpanel();
stage.removeEventListener(Event.ENTER_FRAME, icecreamkeruk2);
};
}
public function customerpatiencetimer(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
if (pausegame == false){
_local2 = 1;
while (_local2 <= 12) {
if (customerpatience[_local2] > 0){
if (customerstatus[_local2] == "eating"){
var _local8 = customerpatience;
var _local9 = _local2;
var _local10 = (_local8[_local9] - 1);
_local8[_local9] = _local10;
_local3 = ((customerpatience2[_local2] - customerpatience[_local2]) / customerpatience2[_local2]);
_local3 = int((40 * _local3));
if (customerpatience[_local2] <= 0){
_local4 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
customerstatus[_local2] = "";
jumlahcustomerinsit--;
customerpatience[_local2] = 0;
_local4.eskrim.gotoAndStop("none");
_local4.mccustomer2.gotoAndStop(1);
_local4.mccustomer.gotoAndStop(1);
_local4 = mcenvironment.mc1.getChildByName(("mcnumba" + _local2));
_local4.visible = false;
_local5 = 1;
while (_local5 <= 12) {
_local6 = getChildByName(("mcorder" + _local5));
if (_local6.txt1.text == _local2){
_local6.txt1.text = "99";
break;
};
_local5++;
};
if (gameabis == true){
_local7 = false;
_local2 = 1;
while (_local2 <= 12) {
_local4 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local4 != null){
if (_local4.mccustomer.currentFrame != 1){
trace(("ada1 " + _local2));
_local7 = true;
break;
};
};
_local2++;
};
_local2 = 1;
while (_local2 <= jumlahmaxantri) {
_local4 = getChildByName(("mcrowcustomer" + _local2));
if (_local4.currentFrame != 1){
trace(("ada2 " + _local2));
_local7 = true;
break;
};
_local2++;
};
trace(("NO : " + _local7));
if (_local7 == false){
stopgame();
cektamat();
};
};
};
} else {
if ((((customerstatus[_local2] == "idle")) || ((customerstatus[_local2] == "angry")))){
_local5 = 1;
while (_local5 <= 12) {
_local6 = getChildByName(("mcorder" + _local5));
if (_local6.txt1.text == _local2){
if ((((_local6.x < 636)) && ((_local6.x > -29)))){
_local8 = customerpatience;
_local9 = _local2;
_local10 = (_local8[_local9] - 1);
_local8[_local9] = _local10;
_local3 = ((customerpatience2[_local2] - customerpatience[_local2]) / customerpatience2[_local2]);
_local3 = int((40 * _local3));
_local6.mctime.gotoAndStop(_local3);
break;
};
};
_local5++;
};
_local4 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local4 != null){
if ((((customerpatience[_local2] <= 0)) && (!((customerstatus[_local2] == "eating"))))){
customerstatus[_local2] = "";
moneytogoal = int((int(moneytogoal) - int(customercharacteristic[_local4.mccustomer.currentFrame][3])));
mcmenubawah.txtmoney.text = moneytogoal;
if (moneytogoal < 0){
moneytogoal = 0;
mcmenubawah.txtmoney.text = moneytogoal;
};
jumlahcustomerlost++;
jumlahcustomerinsit--;
customerpatience[_local2] = 0;
_local5 = 1;
while (_local5 <= 12) {
_local6 = getChildByName(("mcorder" + _local5));
if (_local6.txt1.text == _local2){
_local6.mc1.visible = false;
_local6.mc2.visible = false;
_local6.mc3.visible = false;
_local6.mc4.visible = false;
_local6.mctime.visible = false;
_local6.mcyellow.visible = false;
_local6.txt1.visible = false;
_local6.mcpayment.mc1.txt1.text = ("-$" + int(customercharacteristic[_local4.mccustomer.currentFrame][3]));
_local6.mcpayment.mc1.txt1.setTextFormat(format1);
_local6.mcpayment.gotoAndPlay(2);
_local6.mcfail.gotoAndPlay(2);
_local6.addEventListener(Event.ENTER_FRAME, ingameicecreamfailok);
break;
};
_local5++;
};
_local4.mccustomer2.gotoAndStop(1);
_local4.mccustomer.gotoAndStop(1);
_local4.mccustomer.gotoAndStop("fail");
_local4 = mcenvironment.mc1.getChildByName(("mcnumba" + _local2));
_local4.visible = false;
if (gameabis == true){
_local7 = false;
_local2 = 1;
while (_local2 <= 12) {
_local4 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local4 != null){
if (((!((_local4.mccustomer.currentFrame == 1))) && (!((_local4.mccustomer.currentLabel == "fail"))))){
trace(("ada1 " + _local2));
_local7 = true;
break;
};
} else {
if (_local4 == null){
trace("nda ada");
break;
};
};
_local2++;
};
_local2 = 1;
while (_local2 <= jumlahmaxantri) {
_local4 = getChildByName(("mcrowcustomer" + _local2));
if (_local4.currentFrame != 1){
trace(("ada2 " + _local2));
_local7 = true;
break;
};
_local2++;
};
trace(("NO : " + _local7));
if (_local7 == false){
stopgame();
cektamat();
};
};
if (level == 16){
stopgame();
cektamat();
};
} else {
if ((((customerpatience[_local2] <= 240)) && (!((customerstatus[_local2] == "eating"))))){
if (customerstatus[_local2] != "angry"){
customerstatus[_local2] = "angry";
_local4.mccustomer2.mc1.gotoAndPlay("angry");
_local4.mccustomer.mc1.gotoAndPlay("angry");
};
} else {
if ((((customerpatience[_local2] <= 0)) && ((customerstatus[_local2] == "eating")))){
customerstatus[_local2] = "";
jumlahcustomerinsit--;
customerpatience[_local2] = 0;
_local4.eskrim.gotoAndStop("none");
_local4.mccustomer2.gotoAndStop(1);
_local4.mccustomer.gotoAndStop(1);
_local4 = mcenvironment.mc1.getChildByName(("mcnumba" + _local2));
_local4.visible = false;
_local5 = 1;
while (_local5 <= 12) {
_local6 = getChildByName(("mcorder" + _local5));
if (_local6.txt1.text == _local2){
_local6.txt1.text = "99";
break;
};
_local5++;
};
if (gameabis == true){
_local7 = false;
_local2 = 1;
while (_local2 <= 12) {
_local4 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local4 != null){
if (_local4.mccustomer.currentFrame != 1){
trace(("ada1 " + _local2));
_local7 = true;
break;
};
};
_local2++;
};
_local2 = 1;
while (_local2 <= jumlahmaxantri) {
_local4 = getChildByName(("mcrowcustomer" + _local2));
if (_local4.currentFrame != 1){
trace(("ada2 " + _local2));
_local7 = true;
break;
};
_local2++;
};
trace(("NO : " + _local7));
if (_local7 == false){
stopgame();
cektamat();
};
};
};
};
};
};
};
};
};
_local2++;
};
};
}
public function levelselectmenu(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "main menu";
}
public function buwatfungsidecor(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
_local1 = 1;
while (_local1 <= 8) {
trace(((("aie : " + leveltemp) + " ") + _local1));
objdecor = getChildByName((("mcdekor" + leveltemp) + _local1));
objdecor.visible = false;
_local1++;
};
trace(((("aie2 : " + leveltemp) + " ") + indexdecor));
objdecor = getChildByName((("mcdekor" + leveltemp) + indexdecor));
objdecor.visible = true;
_local1 = 1;
while (_local1 <= 6) {
trace("1");
_local2 = objdecor.getChildByName(("mcsold" + _local1));
trace(_local2);
if (_local2 != null){
_local2.visible = false;
_local6 = objdecor.getChildByName(("mc" + _local1));
if (so.data.upgrade[leveltemp][indexdecor][_local1][_local6.currentFrame] == 1){
_local2.visible = true;
};
};
trace("2");
_local3 = objdecor.getChildByName(("btnnext" + _local1));
if (_local3 != null){
_local3.addEventListener(MouseEvent.CLICK, shopdecorbuttonsmallnext);
};
trace("3");
_local4 = objdecor.getChildByName(("btnpre" + _local1));
if (_local4 != null){
_local4.addEventListener(MouseEvent.CLICK, shopdecorbuttonsmallpre);
};
_local5 = objdecor.getChildByName(("btncentang" + _local1));
if (_local5 != null){
_local5.addEventListener(MouseEvent.CLICK, shopdecorbuttoncentang);
};
_local5 = objdecor.getChildByName(("mccentang" + _local1));
if (_local5 != null){
_local6 = objdecor.getChildByName(("mc" + _local1));
if (tempbuy2[leveltemp][indexdecor][_local1][_local6.currentFrame] == 1){
_local5.visible = true;
} else {
if (tempbuy2[leveltemp][indexdecor][_local1][_local6.currentFrame] == 0){
_local5.visible = false;
};
};
_local5.addEventListener(MouseEvent.CLICK, shopdecorbuttoncentang2);
};
_local1++;
};
}
public function stopgame(){
var _local1:*;
var _local2:*;
trace("STOP GAME");
stage.removeEventListener(Event.ENTER_FRAME, stressmax);
mctimer2.removeEventListener(Event.ENTER_FRAME, waiting5sec3);
mctournament11.mctimer.removeEventListener(Event.ENTER_FRAME, waiting5sec2);
mctournament11.removeEventListener(Event.ENTER_FRAME, waiting5sec);
stage.removeEventListener(Event.ENTER_FRAME, combotime);
stage.removeEventListener(Event.ENTER_FRAME, gametimer);
mcanimatedcherry.removeEventListener(Event.ENTER_FRAME, ingameanimatedcherry);
mcanimatedchocostick.removeEventListener(Event.ENTER_FRAME, ingameanimatedchocostick);
_local1 = 1;
while (_local1 <= 12) {
_local2 = getChildByName(("mcorder" + _local1));
_local2.removeEventListener(Event.ENTER_FRAME, ingameicecreamfailok);
_local2.removeEventListener(Event.ENTER_FRAME, ingameicecreamsuccessok);
_local1++;
};
stage.removeEventListener(Event.ENTER_FRAME, customerpatiencetimer);
stage.removeEventListener(Event.ENTER_FRAME, ordergeser);
stage.removeEventListener(Event.ENTER_FRAME, waitingcustomerinrow);
stage.removeEventListener(Event.ENTER_FRAME, customergenerate);
stage.removeEventListener(Event.ENTER_FRAME, ingamecupdrag);
btncup.removeEventListener(MouseEvent.MOUSE_DOWN, ingamecupdown);
btncup.removeEventListener(MouseEvent.MOUSE_UP, ingamecupup);
stage.removeEventListener(Event.ENTER_FRAME, waitingisi);
stage.removeEventListener(Event.ENTER_FRAME, coffereffil);
stage.removeEventListener(Event.ENTER_FRAME, ingameicecreamimagedrag);
if (icecreamimage[0] != null){
icecreamimage[0].removeEventListener(MouseEvent.MOUSE_UP, ingameicecreamimageup);
icecreamimage[0].removeEventListener(MouseEvent.MOUSE_DOWN, ingameicecreamimagedown);
removeChild(icecreamimage[0]);
icecreamimage[0] = null;
};
stage.removeEventListener(Event.ENTER_FRAME, ingameicecreamimagedrag);
mcsuccess.removeEventListener(Event.ENTER_FRAME, makingicecreamanimation);
mcfailed.removeEventListener(Event.ENTER_FRAME, makingicecreamanimation);
stage.removeEventListener(Event.ENTER_FRAME, icecreamkeruk1);
stage.removeEventListener(Event.ENTER_FRAME, icecreamkeruk2);
stage.removeEventListener(Event.ENTER_FRAME, icecreamkeruk3);
}
public function waitingisi(_arg1:Event):void{
if (mccup.currentFrame == mccup.totalFrames){
mccoffe.mc1.gotoAndStop(1);
mccup.visible = false;
btncup.visible = true;
btncup.addEventListener(MouseEvent.MOUSE_DOWN, ingamecupdown);
btncup.addEventListener(MouseEvent.MOUSE_UP, ingamecupup);
if (isikopi == 0){
stage.addEventListener(Event.ENTER_FRAME, coffereffil);
};
};
}
public function alphamixpaneltrue(){
mcmixpanel.alpha = alphaer;
mcconepanel.alpha = alphaer;
mcsyrupholder.alpha = alphaer;
mcrefilltopping.alpha = alphaer;
mcrefillpanel.alpha = alphaer;
mcmixpanel.mouseEnabled = false;
mcconepanel.mouseEnabled = false;
mcsyrupholder.mouseEnabled = false;
mcrefilltopping.mouseEnabled = false;
mcrefillpanel.mouseEnabled = false;
mcmixpanel.mouseChildren = false;
mcconepanel.mouseChildren = false;
mcsyrupholder.mouseChildren = false;
mcrefilltopping.mouseChildren = false;
mcrefillpanel.mouseChildren = false;
}
public function tarohicecream(){
mcmakingicecream.gotoAndStop(1);
icecreamimage[0] = new (icecreamlinkage[linkageke]);
addChildAt(icecreamimage[0], getChildIndex(mcmakingicecream));
icecreamimage[0].x = posisiicecreamimagex;
icecreamimage[0].y = posisiicecreamimagey;
icecreamimage[0].tipeke = linkageke;
if (level == 11){
if (berapakali < tournamenttomax){
if (linkageke == targeticecreamtournament){
jumlahicecreamneeded++;
mcpayment.mc1.txt1.text = (jumlahicecreamneeded + " icecream match");
mcpayment.gotoAndPlay(2);
mcpayment.x = icecreamimage[0].x;
mcpayment.y = icecreamimage[0].y;
moneytogoal = int((int(moneytogoal) + int(30)));
mcmenubawah.txtmoney.text = moneytogoal;
mcmenubawah.txtgoal.text = ((jumlahicecreamneeded + "/") + tournamenttowin);
} else {
mcpayment.mc1.txt1.text = "not match";
mcpayment.gotoAndPlay(2);
mcpayment.x = icecreamimage[0].x;
mcpayment.y = icecreamimage[0].y;
};
removeChild(icecreamimage[0]);
icecreamimage[0] = null;
buwattournament11();
} else {
if (berapakali >= tournamenttomax){
if (linkageke == targeticecreamtournament){
jumlahicecreamneeded++;
};
stopgame();
cektamat();
};
};
} else {
icecreamimage[0].addEventListener(MouseEvent.MOUSE_DOWN, ingameicecreamimagedown);
icecreamimage[0].addEventListener(MouseEvent.MOUSE_UP, ingameicecreamimageup);
};
}
public function tarohcustomerpesenan(){
var _local1:Array;
var _local2:*;
var _local3:*;
var _local4:Array;
var _local5:Array;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_local1 = new Array();
_local2 = 1;
while (_local2 <= 24) {
if (so.data.icecream[_local2] == 1){
_local1[_local1.length] = _local2;
};
_local2++;
};
trace(_local1);
berapakali = _local1.length;
_local3 = 0;
_local4 = new Array();
_local5 = new Array();
_local6 = "";
_local2 = 1;
while (_local2 <= berapakali) {
_local3 = (_local3 + _local2);
_local4[_local2] = _local2;
_local2++;
};
_local2 = 1;
while (_local2 <= berapakali) {
_local5[_local2] = ((_local4[_local2] / _local3) * 100);
_local6 = ((_local6 + int(_local5[_local2])) + ",");
_local2++;
};
trace(_local5);
_local8 = false;
do {
_local7 = randRange(1, 100);
_local2 = 1;
while (_local2 <= berapakali) {
if (_local2 == 1){
trace(((_local7 + " < ") + _local5[_local2]));
if (_local7 < _local5[_local2]){
_local7 = _local2;
_local8 = true;
break;
};
} else {
if (_local2 == berapakali){
trace(((((((_local7 + " > ") + _local5[_local2]) + " && ") + _local7) + " < ") + 100));
if ((((_local7 > _local5[_local2])) && ((_local7 < 100)))){
_local7 = _local2;
_local8 = true;
break;
};
} else {
trace(((((((_local7 + " > ") + _local5[(_local2 - 1)]) + " && ") + _local7) + " < ") + int((_local5[(_local2 - 1)] + _local5[_local2]))));
if ((((_local7 > _local5[(_local2 - 1)])) && ((_local7 < (_local5[(_local2 - 1)] + _local5[_local2]))))){
_local7 = _local2;
_local8 = true;
break;
};
};
};
_local2++;
};
} while (_local8 == false);
trace(("hasil eskrim ke : " + _local1[(_local7 - 1)]));
_local9 = _local1[(_local7 - 1)];
_local10 = false;
_local2 = 1;
while (_local2 <= ordermax) {
_local11 = getChildByName(("mcorder" + _local2));
if ((((_local11.mc1.currentLabel == "none")) && ((_local11.x > 690)))){
_local11.mc1.visible = true;
_local11.mc2.visible = true;
_local11.mc3.visible = true;
_local11.mc4.visible = true;
_local11.mcyellow.visible = true;
_local11.mctime.visible = true;
_local11.mctime.gotoAndStop(1);
_local11.txt1.visible = true;
_local10 = true;
_local11.mc1.gotoAndStop(_local9);
_local11.txt1.text = nomorke;
_local11.visible = true;
stage.addEventListener(Event.ENTER_FRAME, ordergeser);
break;
};
_local2++;
};
if (_local10 == false){
_local2 = 1;
while (_local2 <= ordermax) {
_local11 = getChildByName(("mcorder" + _local2));
if ((((_local11.mc1.currentLabel == "none")) && ((_local11.x > 115)))){
_local10 = true;
_local11.mc1.gotoAndStop(_local9);
_local11.txt1.text = nomorke;
_local11.visible = true;
stage.addEventListener(Event.ENTER_FRAME, ordergeser);
break;
};
_local2++;
};
};
}
public function buwatconeimut(){
if (icecreamimage[0] == null){
mcmakingicecream.visible = true;
if (mcconepanel.mc1.currentFrame == 2){
mcmakingicecream.gotoAndStop(2);
} else {
if (mcconepanel.mc2.currentFrame == 2){
mcmakingicecream.gotoAndStop(3);
} else {
if (mcconepanel.mc3.currentFrame == 2){
mcmakingicecream.gotoAndStop(4);
};
};
};
};
}
public function mousefollowhit(_arg1:Event):void{
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = 0;
mcmouse.visible = false;
mcmouse.x = mouseX;
mcmouse.y = mouseY;
i = 1;
while (i <= 4) {
_local3 = getChildByName((("mc" + i) + "show"));
_local3.gotoAndStop(1);
i++;
};
i = 1;
while (i <= 4) {
_local3 = getChildByName((("mc" + i) + "show"));
_local4 = getChildByName(("mc" + i));
if (mcmouse.hitTestObject(_local4) == true){
_local2 = i;
_local3.visible = true;
_local3.gotoAndStop(2);
};
i++;
};
}
public function mainmenuend(_arg1:Event):void{
var conGG2:Function;
var mainmenuplay:Function;
var mainmenucontinue:Function;
var mainmenuplaymoregames:Function;
var mainmenucredit:Function;
var e = _arg1;
if (mcmainmenu.currentFrame == mcmainmenu.totalFrames){
conGG2 = function (_arg1:MouseEvent):void{
var _local2:URLRequest;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = new URLRequest("http://www.girlgamesnow.com");
navigateToURL(_local2);
};
mainmenuplay = function (_arg1:MouseEvent):void{
var mainmenuokay:Function;
var mainmenuoups:Function;
var event = _arg1;
soundbutton.play(0, 1, new SoundTransform(volume));
if (mcannounce.visible == false){
if (so.size == 0){
blankso();
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "story";
} else {
mainmenuokay = function (_arg1:MouseEvent):void{
blankso();
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "story";
};
mainmenuoups = function (_arg1:MouseEvent):void{
mcannounce.visible = false;
};
mcannounce.visible = true;
mcannounce.btnokay.addEventListener(MouseEvent.CLICK, mainmenuokay);
mcannounce.btnoups.addEventListener(MouseEvent.CLICK, mainmenuoups);
};
};
};
mainmenucontinue = function (_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
if (mcannounce.visible == false){
if (so.size != 0){
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "level select";
};
};
};
mainmenuplaymoregames = function (_arg1:MouseEvent):void{
var _local2:URLRequest;
soundbutton.play(0, 1, new SoundTransform(volume));
if (mcannounce.visible == false){
_local2 = new URLRequest("http://www.girlgamesnow.com");
navigateToURL(_local2);
};
};
mainmenucredit = function (_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
if (mcannounce.visible == false){
mccredit.visible = true;
};
};
mcmainmenu.removeEventListener(Event.ENTER_FRAME, mainmenuend);
mcmainmenu.btngirl.addEventListener(MouseEvent.CLICK, conGG2);
mcmainmenu.btnplay.addEventListener(MouseEvent.CLICK, mainmenuplay);
mcmainmenu.btncontinue.addEventListener(MouseEvent.CLICK, mainmenucontinue);
mcmainmenu.btnplaymoregames.addEventListener(MouseEvent.CLICK, mainmenuplaymoregames);
mcmainmenu.btncredit.addEventListener(MouseEvent.CLICK, mainmenucredit);
};
}
public function ingameanimatedcherry(_arg1:Event):void{
var _local2:*;
var _local3:Point;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local2 = mcmixpanel.getChildByName(("mc" + targetcherry));
_local3 = new Point(_local2.x, _local2.y);
_local3 = mcmixpanel.localToGlobal(_local3);
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _local3.x) / 10));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _local3.y) / 10));
if (_arg1.target.hitTestObject(_local2) == true){
_arg1.target.gotoAndStop(1);
_arg1.target.x = poscherryx;
_arg1.target.y = poscherryy;
mcanimatedcherry.removeEventListener(Event.ENTER_FRAME, ingameanimatedcherry);
_local4 = mcmixpanel.getChildByName(("txt" + targetcherry));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
_local4 = mcmixpanel.getChildByName(("mc" + targetcherry));
_local4.gotoAndStop("cherry");
};
}
public function conSF(_arg1:MouseEvent):void{
var _local2:URLRequest;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = new URLRequest("http://www.smallfarmstudio.com");
navigateToURL(_local2);
}
public function shopdecorbuttonsmallpre(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = _arg1.target.name;
_local3 = _local2.charAt((_local2.length - 1));
_local4 = objdecor.getChildByName(("mc" + _local3));
_local4.prevFrame();
cleaning();
buwatfungsidecor();
}
public function ingameicecreamfailok(_arg1:Event):void{
if (_arg1.target.mcfail.currentFrame == _arg1.target.mcfail.totalFrames){
_arg1.target.txt1.text = 99;
_arg1.target.mc1.gotoAndStop("none");
_arg1.target.visible = false;
_arg1.target.removeEventListener(Event.ENTER_FRAME, ingameicecreamfailok);
};
}
public function buwatfungsipanel(){
var menuresume:Function;
var menugiveup:Function;
var menusoundon:Function;
var menusoundoff:Function;
var conGGmenu:Function;
var powerupstamina:Function;
var powerupdouble:Function;
var powerupheart:Function;
var powerupautocart:Function;
var ingamemenu:Function;
var ingameconeholder:Function;
var ingameconeselect1:Function;
var ingameconeselect2:Function;
var ingameconeselect3:Function;
var ingameconeselectx:Function;
var ingametoppingselectcherry:Function;
var ingametoppingselectchocostick:Function;
var ingametoppingselectbanana:Function;
var ingametoppingselectstrawberry:Function;
var ingametoppingselectchocochips:Function;
var ingametoppingselectbean:Function;
var ingameicecreamselect1:Function;
var ingameicecreamselect2:Function;
var ingameicecreamselect3:Function;
var ingamemixpanelmix:Function;
var ingamesyrupmaker:Function;
var ingamesyrupholderbtn1:Function;
var ingamesyrupholderbtn2:Function;
var ingamesyrupholderbtn3:Function;
var ingamesyrupholderx:Function;
var ingamefillcoffe:Function;
var ingamerecipee:Function;
var ingamerecipeenext:Function;
var ingamerecipeepre:Function;
var ingamerecipeeclose:Function;
var ingamecart:Function;
var ingamerefillbtntopping:Function;
var ingamerefillbtnclose:Function;
var ingamerefillbtn1:Function;
var ingamerefillbtn2:Function;
var ingamerefillbtn3:Function;
var ingamerefilltoppingclose:Function;
var ingamerefilltoppingx:Function;
var ingamerefilltopping1:Function;
var ingamerefilltopping2:Function;
var ingamerefilltopping3:Function;
var ingamerefilltopping4:Function;
var ingamerefilltopping5:Function;
var ingamerefilltopping6:Function;
var tutorialtournament11okay:Function;
menuresume = function (_arg1:MouseEvent):void{
mcmenu.visible = false;
pausegame = false;
};
menugiveup = function (_arg1:MouseEvent):void{
surrenderbool = true;
stopgame();
cektamat();
};
menusoundon = function (_arg1:MouseEvent):void{
volume = 1;
soundchannelingame.soundTransform = new SoundTransform(volume);
mcmenu.btnon.visible = false;
mcmenu.btnoff.visible = true;
};
menusoundoff = function (_arg1:MouseEvent):void{
volume = 0;
soundchannelingame.soundTransform = new SoundTransform(volume);
mcmenu.btnon.visible = true;
mcmenu.btnoff.visible = false;
};
conGGmenu = function (_arg1:MouseEvent):void{
var _local2:URLRequest;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = new URLRequest("http://www.girlgamesnow.com");
navigateToURL(_local2);
};
powerupstamina = function (_arg1:MouseEvent):void{
if (so.data.vitc > 0){
if (stresslevel > 0){
so.data.vitc--;
txtstamina.text = so.data.vitc;
stresslevel--;
mcstress.gotoAndPlay(stresslabel[stresslevel]);
if (so.data.vitc <= 0){
txtstamina.visible = false;
_arg1.target.visible = false;
};
};
};
};
powerupdouble = function (_arg1:MouseEvent):void{
if (so.data.aoedouble > 0){
so.data.aoedouble--;
poweruptimer.gotoAndPlay(2);
};
};
powerupheart = function (_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
if (so.data.aoeheart > 0){
so.data.aoeheart--;
_arg1.target.visible = false;
_local2 = 1;
while (_local2 <= 12) {
customerpatience[_local2] = customerpatience2[_local2];
_local3 = getChildByName(("mcorder" + _local2));
_local3.mctime.gotoAndStop(1);
_local2++;
};
_local2 = 1;
while (_local2 <= 12) {
_local4 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local4 != null){
_local4.mcminumhati.gotoAndPlay(2);
};
_local2++;
};
};
};
powerupautocart = function (_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
if (so.data.autocart > 0){
so.data.autocart--;
_arg1.target.visible = false;
_local2 = 1;
while (_local2 <= 6) {
_local3 = btntoppingholder.getChildByName(("mcrefill" + _local2));
_local3.gotoAndPlay(2);
_local4 = btntoppingholder.getChildByName(("txt" + _local2));
_local4.text = Number((Number(_local4.text) + tambahtopping));
_local2++;
};
_local2 = 1;
while (_local2 <= 3) {
_local3 = btnicecreamholder.getChildByName(("mcrefill" + _local2));
_local3.gotoAndPlay(2);
_local4 = btnicecreamholder.getChildByName(("txt" + _local2));
_local4.text = Number((Number(_local4.text) + tambahtopping));
_local2++;
};
};
};
ingamemenu = function (_arg1:MouseEvent):void{
mcmenu.visible = true;
pausegame = true;
if (volume == 1){
mcmenu.btnon.visible = false;
mcmenu.btnoff.visible = true;
} else {
if (volume == 0){
mcmenu.btnon.visible = true;
mcmenu.btnoff.visible = false;
};
};
};
ingameconeholder = function (_arg1:MouseEvent):void{
if (mctournament11.visible == false){
mcconepanel.visible = true;
mcconepanel.mc1.gotoAndStop(1);
mcconepanel.mc2.gotoAndStop(1);
mcconepanel.mc3.gotoAndStop(1);
};
};
ingameconeselect1 = function (_arg1:MouseEvent):void{
if (mctournament11.visible == false){
mcconepanel.mc1.gotoAndStop(2);
mcconepanel.mc2.gotoAndStop(1);
mcconepanel.mc3.gotoAndStop(1);
buwatconeimut();
};
};
ingameconeselect2 = function (_arg1:MouseEvent):void{
if (mctournament11.visible == false){
mcconepanel.mc1.gotoAndStop(1);
mcconepanel.mc2.gotoAndStop(2);
mcconepanel.mc3.gotoAndStop(1);
buwatconeimut();
};
};
ingameconeselect3 = function (_arg1:MouseEvent):void{
if (mctournament11.visible == false){
mcconepanel.mc1.gotoAndStop(1);
mcconepanel.mc2.gotoAndStop(1);
mcconepanel.mc3.gotoAndStop(2);
buwatconeimut();
};
};
ingameconeselectx = function (_arg1:MouseEvent):void{
mcconepanel.visible = false;
};
ingametoppingselectcherry = function (_arg1:MouseEvent):void{
trace(((((("CEK : " + Number(btntoppingholder.txt1.text)) + " ") + mcmakingicecream.currentFrame) + " ") + mcanimatedcherry.currentFrame));
if ((((((Number(btntoppingholder.txt1.text) > 0)) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcanimatedcherry.currentFrame == 1)))){
objtextkurangi = btntoppingholder.txt1;
mixpanelisi = "cherry";
cekisimixpanel();
if (targetisimixpanel != 0){
btntoppingholder.txt1.text = (Number(btntoppingholder.txt1.text) - 1);
targetcherry = targetisimixpanel;
mcanimatedcherry.gotoAndPlay(2);
soundmuter.play(0, 2, new SoundTransform(volume));
mcanimatedcherry.addEventListener(Event.ENTER_FRAME, ingameanimatedcherry);
};
};
};
ingametoppingselectchocostick = function (_arg1:MouseEvent):void{
if ((((((Number(btntoppingholder.txt2.text) > 0)) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcanimatedchocostick.currentFrame == 1)))){
objtextkurangi = btntoppingholder.txt2;
mixpanelisi = "chocostick";
cekisimixpanel();
if (targetisimixpanel != 0){
btntoppingholder.txt2.text = (Number(btntoppingholder.txt2.text) - 1);
targetchocostick = targetisimixpanel;
mcanimatedchocostick.gotoAndPlay(2);
soundmuter.play(0, 2, new SoundTransform(volume));
mcanimatedchocostick.addEventListener(Event.ENTER_FRAME, ingameanimatedchocostick);
};
};
};
ingametoppingselectbanana = function (_arg1:MouseEvent):void{
if ((((((Number(btntoppingholder.txt3.text) > 0)) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcanimatedbanana.currentFrame == 1)))){
objtextkurangi = btntoppingholder.txt3;
mixpanelisi = "banana";
cekisimixpanel();
if (targetisimixpanel != 0){
btntoppingholder.txt3.text = (Number(btntoppingholder.txt3.text) - 1);
targetbanana = targetisimixpanel;
mcanimatedbanana.gotoAndPlay(2);
soundmuter.play(0, 2, new SoundTransform(volume));
mcanimatedbanana.addEventListener(Event.ENTER_FRAME, ingameanimatedbanana);
};
};
};
ingametoppingselectstrawberry = function (_arg1:MouseEvent):void{
if ((((((Number(btntoppingholder.txt4.text) > 0)) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcanimatedstrawberry.currentFrame == 1)))){
objtextkurangi = btntoppingholder.txt4;
mixpanelisi = "toppingstrawberry";
cekisimixpanel();
if (targetisimixpanel != 0){
btntoppingholder.txt4.text = (Number(btntoppingholder.txt4.text) - 1);
targetstrawberry = targetisimixpanel;
mcanimatedstrawberry.gotoAndPlay(2);
soundmuter.play(0, 2, new SoundTransform(volume));
mcanimatedstrawberry.addEventListener(Event.ENTER_FRAME, ingameanimatedstrawberry);
};
};
};
ingametoppingselectchocochips = function (_arg1:MouseEvent):void{
if ((((((Number(btntoppingholder.txt5.text) > 0)) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcanimatedchocochips.currentFrame == 1)))){
objtextkurangi = btntoppingholder.txt5;
mixpanelisi = "chocochips";
cekisimixpanel();
if (targetisimixpanel != 0){
btntoppingholder.txt5.text = (Number(btntoppingholder.txt5.text) - 1);
targetchocochips = targetisimixpanel;
mcanimatedchocochips.gotoAndPlay(2);
soundmuter.play(0, 2, new SoundTransform(volume));
mcanimatedchocochips.addEventListener(Event.ENTER_FRAME, ingameanimatedchocochips);
};
};
};
ingametoppingselectbean = function (_arg1:MouseEvent):void{
if ((((((Number(btntoppingholder.txt6.text) > 0)) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcanimatedbean.currentFrame == 1)))){
objtextkurangi = btntoppingholder.txt6;
mixpanelisi = "bean";
cekisimixpanel();
if (targetisimixpanel != 0){
btntoppingholder.txt6.text = (Number(btntoppingholder.txt6.text) - 1);
targetbean = targetisimixpanel;
mcanimatedbean.gotoAndPlay(2);
soundmuter.play(0, 2, new SoundTransform(volume));
mcanimatedbean.addEventListener(Event.ENTER_FRAME, ingameanimatedbean);
};
};
};
ingameicecreamselect1 = function (_arg1:MouseEvent):void{
if ((((((((((keruk1 == false)) && ((Number(btnicecreamholder.txt1.text) > 0)))) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcmakingicecream.visible == true)))) && ((btnicecreamholder.mcrefill1.currentFrame == 1)))){
mixpanelisi = "vanilla";
cekisimixpanel();
if (boleisi == true){
boleisi = false;
keruk1 = true;
btnicecreamholder.mc1.gotoAndPlay(2);
soundngerukes.play(0, 2, new SoundTransform(volume));
stage.addEventListener(Event.ENTER_FRAME, icecreamkeruk1);
};
};
};
ingameicecreamselect2 = function (_arg1:MouseEvent):void{
if ((((((((((keruk2 == false)) && ((Number(btnicecreamholder.txt2.text) > 0)))) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcmakingicecream.visible == true)))) && ((btnicecreamholder.mcrefill2.currentFrame == 1)))){
mixpanelisi = "strawberry";
cekisimixpanel();
if (boleisi == true){
boleisi = false;
keruk2 = true;
btnicecreamholder.mc2.gotoAndPlay(2);
soundngerukes.play(0, 2, new SoundTransform(volume));
stage.addEventListener(Event.ENTER_FRAME, icecreamkeruk2);
};
};
};
ingameicecreamselect3 = function (_arg1:MouseEvent):void{
if ((((((((((keruk3 == false)) && ((Number(btnicecreamholder.txt3.text) > 0)))) && (!((mcmakingicecream.currentFrame == 1))))) && ((mcmakingicecream.visible == true)))) && ((btnicecreamholder.mcrefill3.currentFrame == 1)))){
mixpanelisi = "chocolate";
cekisimixpanel();
if (boleisi == true){
boleisi = false;
keruk3 = true;
btnicecreamholder.mc3.gotoAndPlay(2);
soundngerukes.play(0, 2, new SoundTransform(volume));
stage.addEventListener(Event.ENTER_FRAME, icecreamkeruk3);
};
};
};
ingamemixpanelmix = function (_arg1:MouseEvent):void{
if (((((((((((((((((((!((mcmakingicecream.currentFrame == 1))) && ((keruk1 == false)))) && ((keruk2 == false)))) && ((keruk3 == false)))) && ((mcanimatedstrawberry.currentFrame == 1)))) && ((mcanimatedcherry.currentFrame == 1)))) && ((mcanimatedchocostick.currentFrame == 1)))) && ((mcanimatedbanana.currentFrame == 1)))) && ((mcanimatedchocochips.currentFrame == 1)))) && ((mcanimatedbean.currentFrame == 1)))){
mcconepanel.mc1.gotoAndStop(1);
mcconepanel.mc2.gotoAndStop(1);
mcconepanel.mc3.gotoAndStop(1);
buwaticecream();
};
};
ingamesyrupmaker = function (_arg1:MouseEvent):void{
mcsyrupholder.visible = true;
};
ingamesyrupholderbtn1 = function (_arg1:MouseEvent):void{
if (mcmakingicecream.currentFrame != 1){
mcsyrupholder.visible = false;
mixpanelisi = "vanillasyrup";
isimixpanel();
};
};
ingamesyrupholderbtn2 = function (_arg1:MouseEvent):void{
if (mcmakingicecream.currentFrame != 1){
mcsyrupholder.visible = false;
mixpanelisi = "chocolatesyrup";
isimixpanel();
};
};
ingamesyrupholderbtn3 = function (_arg1:MouseEvent):void{
if (mcmakingicecream.currentFrame != 1){
mcsyrupholder.visible = false;
mixpanelisi = "tuttifruttisyrup";
isimixpanel();
};
};
ingamesyrupholderx = function (_arg1:MouseEvent):void{
mcsyrupholder.visible = false;
};
ingamefillcoffe = function (_arg1:MouseEvent):void{
if ((((((isikopi > 0)) && ((mccup.visible == true)))) && ((mccup.currentFrame == 1)))){
if (isikopi == 2){
isikopi = 1;
mccoffe.gotoAndPlay("one");
mccoffe.mc1.gotoAndPlay(2);
mccup.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, waitingisi);
} else {
if (isikopi == 1){
isikopi = 0;
mccoffe.gotoAndPlay("two");
mccoffe.mc1.gotoAndPlay(2);
mccup.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, waitingisi);
};
};
};
};
ingamerecipee = function (_arg1:MouseEvent):void{
pausegame = true;
mcrecipee.visible = true;
loadrecipee();
};
ingamerecipeenext = function (_arg1:MouseEvent):void{
if (halrecipee < 12){
soundbukubalik.play(0, 1, new SoundTransform(volume));
halrecipee = (halrecipee + 6);
trace(("HAL : " + halrecipee));
mcrecipee.gotoAndPlay("forward");
loadrecipee();
};
};
ingamerecipeepre = function (_arg1:MouseEvent):void{
if (halrecipee > 0){
soundbukubalik.play(0, 1, new SoundTransform(volume));
halrecipee = (halrecipee - 6);
mcrecipee.gotoAndPlay("backward");
loadrecipee();
};
};
ingamerecipeeclose = function (_arg1:MouseEvent):void{
pausegame = false;
mcrecipee.visible = false;
halrecipee = 0;
};
ingamecart = function (_arg1:MouseEvent):void{
mcrefillpanel.visible = true;
};
ingamerefillbtntopping = function (_arg1:MouseEvent):void{
mcrefilltopping.visible = true;
mcrefillpanel.visible = false;
};
ingamerefillbtnclose = function (_arg1:MouseEvent):void{
mcrefillpanel.visible = false;
};
ingamerefillbtn1 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargaicecream)) && ((btnicecreamholder.mcrefill1.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargaicecream);
mcmenubawah.txtmoney.text = moneytogoal;
btnicecreamholder.mcrefill1.gotoAndPlay(2);
mcrefillpanel.mcrefill1.gotoAndPlay(2);
btnicecreamholder.txt1.text = (Number(btnicecreamholder.txt1.text) + tambahtopping);
} else {
if (moneytogoal < hargaicecream){
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mcmenubawah.mccannot.gotoAndPlay(2);
};
};
};
ingamerefillbtn2 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargaicecream)) && ((btnicecreamholder.mcrefill2.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargaicecream);
mcmenubawah.txtmoney.text = moneytogoal;
btnicecreamholder.mcrefill2.gotoAndPlay(2);
mcrefillpanel.mcrefill2.gotoAndPlay(2);
btnicecreamholder.txt2.text = (Number(btnicecreamholder.txt2.text) + tambahtopping);
} else {
if (moneytogoal < hargaicecream){
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mcmenubawah.mccannot.gotoAndPlay(2);
};
};
};
ingamerefillbtn3 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargaicecream)) && ((btnicecreamholder.mcrefill3.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargaicecream);
mcmenubawah.txtmoney.text = moneytogoal;
btnicecreamholder.mcrefill3.gotoAndPlay(2);
mcrefillpanel.mcrefill3.gotoAndPlay(2);
btnicecreamholder.txt3.text = (Number(btnicecreamholder.txt3.text) + tambahtopping);
} else {
if (moneytogoal < hargaicecream){
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mcmenubawah.mccannot.gotoAndPlay(2);
};
};
};
ingamerefilltoppingclose = function (_arg1:MouseEvent):void{
mcrefillpanel.visible = true;
mcrefilltopping.visible = false;
};
ingamerefilltoppingx = function (_arg1:MouseEvent):void{
mcrefilltopping.visible = false;
};
ingamerefilltopping1 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargatopping)) && ((btntoppingholder.mcrefill1.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargatopping);
mcmenubawah.txtmoney.text = moneytogoal;
btntoppingholder.mcrefill1.gotoAndPlay(2);
mcrefilltopping.mcrefill1.gotoAndPlay(2);
btntoppingholder.txt1.text = (Number(btntoppingholder.txt1.text) + tambahtopping);
} else {
if (moneytogoal < hargatopping){
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mcmenubawah.mccannot.gotoAndPlay(2);
};
};
};
ingamerefilltopping2 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargatopping)) && ((btntoppingholder.mcrefill2.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargatopping);
mcmenubawah.txtmoney.text = moneytogoal;
btntoppingholder.mcrefill2.gotoAndPlay(2);
mcrefilltopping.mcrefill2.gotoAndPlay(2);
btntoppingholder.txt2.text = (Number(btntoppingholder.txt2.text) + tambahtopping);
} else {
if (moneytogoal < hargatopping){
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mcmenubawah.mccannot.gotoAndPlay(2);
};
};
};
ingamerefilltopping3 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargatopping)) && ((btntoppingholder.mcrefill3.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargatopping);
mcmenubawah.txtmoney.text = moneytogoal;
btntoppingholder.mcrefill3.gotoAndPlay(2);
mcrefilltopping.mcrefill3.gotoAndPlay(2);
btntoppingholder.txt3.text = (Number(btntoppingholder.txt3.text) + tambahtopping);
} else {
if (moneytogoal < hargatopping){
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mcmenubawah.mccannot.gotoAndPlay(2);
};
};
};
ingamerefilltopping4 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargatopping)) && ((btntoppingholder.mcrefill4.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargatopping);
mcmenubawah.txtmoney.text = moneytogoal;
btntoppingholder.mcrefill4.gotoAndPlay(2);
mcrefilltopping.mcrefill4.gotoAndPlay(2);
btntoppingholder.txt4.text = (Number(btntoppingholder.txt4.text) + tambahtopping);
};
};
ingamerefilltopping5 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargatopping)) && ((btntoppingholder.mcrefill5.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargatopping);
mcmenubawah.txtmoney.text = moneytogoal;
btntoppingholder.mcrefill5.gotoAndPlay(2);
mcrefilltopping.mcrefill5.gotoAndPlay(2);
btntoppingholder.txt5.text = (Number(btntoppingholder.txt5.text) + tambahtopping);
};
};
ingamerefilltopping6 = function (_arg1:MouseEvent):void{
if ((((moneytogoal >= hargatopping)) && ((btntoppingholder.mcrefill6.currentFrame == 1)))){
moneytogoal = (moneytogoal - hargatopping);
mcmenubawah.txtmoney.text = moneytogoal;
btntoppingholder.mcrefill6.gotoAndPlay(2);
mcrefilltopping.mcrefill6.gotoAndPlay(2);
btntoppingholder.txt6.text = (Number(btntoppingholder.txt6.text) + tambahtopping);
};
};
mcmenu.btnresume.addEventListener(MouseEvent.CLICK, menuresume);
mcmenu.btngiveup.addEventListener(MouseEvent.CLICK, menugiveup);
mcmenu.btnon.addEventListener(MouseEvent.CLICK, menusoundon);
mcmenu.btnoff.addEventListener(MouseEvent.CLICK, menusoundoff);
mcmenu.btngirl.addEventListener(MouseEvent.CLICK, conGGmenu);
btnstamina.addEventListener(MouseEvent.CLICK, powerupstamina);
btndouble.addEventListener(MouseEvent.CLICK, powerupdouble);
btnheart.addEventListener(MouseEvent.CLICK, powerupheart);
btnautocart.addEventListener(MouseEvent.CLICK, powerupautocart);
if (level == 11){
tutorialtournament11okay = function (_arg1:MouseEvent):void{
if (mctutorialtournament11.currentFrame != mctutorialtournament11.totalFrames){
mctutorialtournament11.nextFrame();
} else {
mctutorialtournament11.visible = false;
buwattournament11();
};
};
mcx.visible = true;
mctutorialtournament11.visible = true;
mctutorialtournament11.btnokay.addEventListener(MouseEvent.CLICK, tutorialtournament11okay);
} else {
mcbonus.mc1.txt1.text = (("Decoration Bonus : " + interioreffect) + "%");
mcbonus.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, gametimer);
stage.addEventListener(Event.ENTER_FRAME, customergenerate);
stage.addEventListener(Event.ENTER_FRAME, waitingcustomerinrow);
};
btnmenu.addEventListener(MouseEvent.CLICK, ingamemenu);
btnconeholder.addEventListener(MouseEvent.CLICK, ingameconeholder);
mcconepanel.btn1.addEventListener(MouseEvent.CLICK, ingameconeselect1);
mcconepanel.btn2.addEventListener(MouseEvent.CLICK, ingameconeselect2);
mcconepanel.btn3.addEventListener(MouseEvent.CLICK, ingameconeselect3);
mcconepanel.btnx.addEventListener(MouseEvent.CLICK, ingameconeselectx);
btntoppingholder.btncherry.addEventListener(MouseEvent.CLICK, ingametoppingselectcherry);
btntoppingholder.btnchocostick.addEventListener(MouseEvent.CLICK, ingametoppingselectchocostick);
btntoppingholder.btnbanana.addEventListener(MouseEvent.CLICK, ingametoppingselectbanana);
btntoppingholder.btnstrawberry.addEventListener(MouseEvent.CLICK, ingametoppingselectstrawberry);
btntoppingholder.btnchocochips.addEventListener(MouseEvent.CLICK, ingametoppingselectchocochips);
btntoppingholder.btnbean.addEventListener(MouseEvent.CLICK, ingametoppingselectbean);
btnicecreamholder.btn1.addEventListener(MouseEvent.CLICK, ingameicecreamselect1);
btnicecreamholder.btn2.addEventListener(MouseEvent.CLICK, ingameicecreamselect2);
btnicecreamholder.btn3.addEventListener(MouseEvent.CLICK, ingameicecreamselect3);
mcmixpanel.btnmix.addEventListener(MouseEvent.CLICK, ingamemixpanelmix);
btnsyrupmaker.addEventListener(MouseEvent.CLICK, ingamesyrupmaker);
mcsyrupholder.btn1.addEventListener(MouseEvent.CLICK, ingamesyrupholderbtn1);
mcsyrupholder.btn2.addEventListener(MouseEvent.CLICK, ingamesyrupholderbtn2);
mcsyrupholder.btn3.addEventListener(MouseEvent.CLICK, ingamesyrupholderbtn3);
mcsyrupholder.btnx.addEventListener(MouseEvent.CLICK, ingamesyrupholderx);
btncoffemaker.addEventListener(MouseEvent.CLICK, ingamefillcoffe);
btnrecipee.addEventListener(MouseEvent.CLICK, ingamerecipee);
mcrecipee.btnnext.addEventListener(MouseEvent.CLICK, ingamerecipeenext);
mcrecipee.btnpre.addEventListener(MouseEvent.CLICK, ingamerecipeepre);
mcrecipee.btnclose.addEventListener(MouseEvent.CLICK, ingamerecipeeclose);
btncart.addEventListener(MouseEvent.CLICK, ingamecart);
mcrefillpanel.btntopping.addEventListener(MouseEvent.CLICK, ingamerefillbtntopping);
mcrefillpanel.btnclose.addEventListener(MouseEvent.CLICK, ingamerefillbtnclose);
mcrefillpanel.btn1.addEventListener(MouseEvent.CLICK, ingamerefillbtn1);
mcrefillpanel.btn2.addEventListener(MouseEvent.CLICK, ingamerefillbtn2);
mcrefillpanel.btn3.addEventListener(MouseEvent.CLICK, ingamerefillbtn3);
mcrefilltopping.btnclose.addEventListener(MouseEvent.CLICK, ingamerefilltoppingclose);
mcrefilltopping.btnx.addEventListener(MouseEvent.CLICK, ingamerefilltoppingx);
mcrefilltopping.btn1.addEventListener(MouseEvent.CLICK, ingamerefilltopping1);
mcrefilltopping.btn2.addEventListener(MouseEvent.CLICK, ingamerefilltopping2);
mcrefilltopping.btn3.addEventListener(MouseEvent.CLICK, ingamerefilltopping3);
mcrefilltopping.btn4.addEventListener(MouseEvent.CLICK, ingamerefilltopping4);
mcrefilltopping.btn5.addEventListener(MouseEvent.CLICK, ingamerefilltopping5);
mcrefilltopping.btn6.addEventListener(MouseEvent.CLICK, ingamerefilltopping6);
}
public function buwaticecream(){
var _local1:*;
var _local2:Array;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
mcmakingicecream.visible = false;
_local1 = 0;
_local2 = new Array();
_local2[1] = new Array();
_local3 = 0;
while (_local3 <= (arraypembanding.length - 1)) {
_local2[1][_local3] = 0;
_local3++;
};
_local1 = 0;
while (_local1 <= (arraypembanding.length - 1)) {
_local3 = 1;
while (_local3 <= 7) {
_local4 = mcmixpanel.getChildByName(("mc" + _local3));
if (_local4.currentLabel == arraypembanding[_local1]){
_local5 = mcmixpanel.getChildByName(("txt" + _local3));
_local6 = _local5.text;
_local7 = _local5.text.charAt((_local6.length - 1));
_local2[1][_local1] = _local7;
break;
};
_local3++;
};
_local1++;
};
linkageke = 25;
_local3 = 1;
while (_local3 <= 24) {
if (level != 11){
if ((((_local2[1].toString() == rumusicecream[_local3].toString())) && ((so.data.icecream[_local3] == 1)))){
trace((((("YA SAMA " + int(tipeplate[_local3])) + 1) + " ") + mcmakingicecream.currentFrame));
if ((int(tipeplate[_local3]) + 1) == mcmakingicecream.currentFrame){
linkageke = _local3;
break;
};
};
} else {
if (level == 11){
if (_local2[1].toString() == rumusicecream[_local3].toString()){
if ((((_local3 < 9)) && ((mcmakingicecream.currentFrame == 4)))){
linkageke = _local3;
break;
} else {
if ((((((_local3 > 8)) && ((_local3 < 17)))) && ((mcmakingicecream.currentFrame == 2)))){
linkageke = _local3;
break;
} else {
if ((((_local3 > 16)) && ((mcmakingicecream.currentFrame == 3)))){
linkageke = _local3;
break;
};
};
};
};
};
};
_local3++;
};
if (level == 11){
if (linkageke != targeticecreamtournament){
linkageke = 25;
};
};
animasibintangjadi();
cleaningmixpanel();
}
public function waiting5sec(_arg1:Event):void{
if (pausegame == false){
mctournament11.nextFrame();
if (_arg1.target.currentFrame == _arg1.target.totalFrames){
mctournament11.removeEventListener(Event.ENTER_FRAME, waiting5sec);
mctournament11.mctimer.addEventListener(Event.ENTER_FRAME, waiting5sec2);
};
};
}
public function ingameicecreamimagedown(_arg1:MouseEvent):void{
stage.addEventListener(Event.ENTER_FRAME, ingameicecreamimagedrag);
}
public function clickeskrimresep(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local2 = _arg1.target.name;
_local3 = _local2.charAt((_local2.length - 1));
_local4 = getChildByName(("mc" + _local3));
_local5 = Number(_local4.currentFrame);
mcbuyrecipee.gotoAndPlay(2);
mcbuyrecipee.mc1.gotoAndStop(_local5);
mcbuyrecipee.visible = true;
}
public function randRange(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
_local3 = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1);
return (_local3);
}
public function ordergeser(_arg1:Event):void{
var _local2:*;
var _local3:*;
if (pausegame == false){
_local2 = 1;
while (_local2 <= ordermax) {
_local3 = getChildByName(("mcorder" + _local2));
_local3.x--;
if (_local3.x < -66){
_local3.x = statawalx;
_local3.y = statawaly;
};
_local2++;
};
};
}
public function mcstoryend2(_arg1:KeyboardEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mcstory.removeEventListener(Event.ENTER_FRAME, mcstoryend);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, mcstoryend2);
stage.removeEventListener(MouseEvent.CLICK, mcstoryclick);
gotoAndStop("level select");
}
public function ingameicecreamimagedrag(_arg1:Event):void{
var _local2:*;
var _local3:*;
alphamixpaneltrue();
icecreamimage[0].x = mouseX;
icecreamimage[0].y = mouseY;
if ((((icecreamimage[0].hitTestObject(mctrash) == true)) && ((mctrash.currentFrame == 1)))){
mctrash.gotoAndPlay(2);
} else {
if ((((icecreamimage[0].hitTestObject(mctrash) == false)) && ((mctrash.currentLabel == "opened")))){
mctrash.gotoAndPlay("closed");
} else {
if (icecreamimage[0].hitTestObject(btnkulkas1) == true){
btnkulkas1.gotoAndStop(2);
} else {
if ((((icecreamimage[0].hitTestObject(btnkulkas1) == false)) && ((btnkulkas1.currentFrame == 2)))){
btnkulkas1.gotoAndStop(1);
};
};
};
};
ilanginglow();
_local2 = 1;
while (_local2 <= ordermax) {
_local3 = getChildByName(("mcorder" + _local2));
if (icecreamimage[0].hitTestObject(_local3) == true){
_local3.filters = [glow];
break;
};
_local2++;
};
}
function frame2(){
volume = 1;
gotoAndStop("main menu");
}
public function menang(){
var ingamewinnext:Function;
ingamewinnext = function (_arg1:MouseEvent):void{
if (level == 21){
soundchannelmainmenu = soundmainmenu.play(0, 999, new SoundTransform(volume));
gotoAndStop("ending");
} else {
soundchannelmainmenu = soundmainmenu.play(0, 999, new SoundTransform(volume));
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "shop2";
};
};
soundchannelingame.stop();
soundwin.play(0, 1, new SoundTransform(volume));
statshop = "win";
mcwinlose.btnnext.addEventListener(MouseEvent.CLICK, ingamewinnext);
mcwinlose.visible = true;
mcwinlose.mc1.gotoAndPlay("win");
mcwinlose.mc2.gotoAndStop("win");
if (level != 21){
if (level == so.data.levele){
so.data.levele++;
};
};
}
function frame4(){
stop();
if (so.data.ending == 1){
trace("ENDING");
mcmainmenu.house.mc1.gotoAndStop(2);
};
statshop = "none";
soundstab = new stabsound();
soundclosedstage = new closedstagesound();
soundwin = new winsound();
soundcannotbuy = new cannotbuysound();
soundbutton = new buttonsound();
soundbuy = new buysound();
soundlose = new losesound();
soundmoney = new moneysound();
soundbukubalik = new bukubaliksound();
soundresepsalah = new resepsalahsound();
soundngerukes = new ngerukessound();
soundtamudatang = new tamudatangsound();
soundproccess = new processsound();
soundbuangsampah = new buangsampahsound();
soundmuter = new mutersound();
soundingame = new ingamesound();
soundingame2 = new ingamesound2();
soundmainmenu = new mainmenusound();
if (soundchannelmainmenu == null){
soundchannelmainmenu = soundmainmenu.play(0, 999, new SoundTransform(volume));
};
mccredit.visible = false;
mccredit.btngirl.addEventListener(MouseEvent.CLICK, conGG);
mccredit.btnsf.addEventListener(MouseEvent.CLICK, conSF);
mccredit.btnokay.addEventListener(MouseEvent.CLICK, creditokay);
mcannounce.visible = false;
mcmainmenu.addEventListener(Event.ENTER_FRAME, mainmenuend);
}
function frame5(){
stop();
mcstory.addEventListener(Event.ENTER_FRAME, mcstoryend);
stage.addEventListener(KeyboardEvent.KEY_DOWN, mcstoryend2);
stage.addEventListener(MouseEvent.CLICK, mcstoryclick);
}
function frame1(){
stop();
sparklingimage = new Array();
percentage = 0;
stage.addEventListener(Event.ENTER_FRAME, loading);
customContextMenu = new ContextMenu();
customContextMenu.hideBuiltInItems();
contextmenu = new ContextMenuItem("Smallfarm studio");
contextmenu.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, clikLG);
customContextMenu.customItems.push(contextmenu);
contextMenu = customContextMenu;
so = SharedObject.getLocal("AnnaGlace2");
fivesec = 125;
loaderint = 0;
stage.addEventListener(Event.ENTER_FRAME, fivesecloading);
mcpreloader.buttonMode = true;
mcpreloader.addEventListener(MouseEvent.CLICK, preloaderag2);
}
public function ingameicecreamsuccessok(_arg1:Event):void{
if (_arg1.target.mcsuccess.currentFrame == _arg1.target.mcsuccess.totalFrames){
targetnomorkursi = _arg1.target.txt1.text;
targetobjsuccessok = _arg1.target;
buwatharga();
_arg1.target.mctime.gotoAndStop(1);
_arg1.target.mc1.gotoAndStop("none");
_arg1.target.visible = false;
_arg1.target.removeEventListener(Event.ENTER_FRAME, ingameicecreamsuccessok);
};
}
function frame9(){
txtmoney.text = ("$" + so.data.money);
loadshop3();
i = 1;
while (i <= 4) {
objbutton = getChildByName(("btnbuy" + i));
objbutton.addEventListener(MouseEvent.CLICK, clikbutt);
i++;
};
btnnext3.addEventListener(MouseEvent.CLICK, shopresepnext3);
}
public function alphamixpanelfalse(){
mcmixpanel.alpha = 1;
mcconepanel.alpha = 1;
mcsyrupholder.alpha = 1;
mcrefilltopping.alpha = 1;
mcrefillpanel.alpha = 1;
mcmixpanel.mouseEnabled = true;
mcconepanel.mouseEnabled = true;
mcsyrupholder.mouseEnabled = true;
mcrefilltopping.mouseEnabled = true;
mcrefillpanel.mouseEnabled = true;
mcmixpanel.mouseChildren = true;
mcconepanel.mouseChildren = true;
mcsyrupholder.mouseChildren = true;
mcrefilltopping.mouseChildren = true;
mcrefillpanel.mouseChildren = true;
}
function frame6(){
level = 1;
statshop = "none";
btngirl.visible = false;
if (so.data.levele >= 3){
btngirl.visible = true;
};
btngirl.addEventListener(MouseEvent.CLICK, conGGmap);
loadlevel();
mclevelselect.btnmenu.addEventListener(MouseEvent.CLICK, levelselectmenu);
mclevelselect.btnshop.addEventListener(MouseEvent.CLICK, levelselectshop);
}
function frame7(){
stop();
btnpreviewpre.visible = false;
btnpreviewnext.visible = false;
btnpreviewx.visible = false;
mc1.visible = false;
mc2.visible = false;
mc3.visible = false;
mc4.visible = false;
mcblack.visible = false;
if (so.data.shop == 0){
so.data.shop = 1;
bwatshoptutor();
};
indexdecor = 1;
leveltemp = 0;
txtcart.text = "$0";
txtmoney.text = ("$" + so.data.money);
tempbuy = new Array();
tempbuy2 = new Array();
i = 1;
while (i <= 8) {
tempbuy2[i] = new Array();
j = 1;
while (j <= 8) {
tempbuy2[i][j] = new Array();
k = 1;
while (k <= 8) {
tempbuy2[i][j][k] = new Array();
l = 1;
while (l <= 8) {
tempbuy2[i][j][k][l] = 0;
l++;
};
k++;
};
j++;
};
i++;
};
cekleveltemp();
hargacart = 0;
btnnexttipe.addEventListener(MouseEvent.CLICK, decornexttipe);
btnpretipe.addEventListener(MouseEvent.CLICK, decorpretipe);
btnbuy.addEventListener(MouseEvent.CLICK, decorbuy);
btnnext.addEventListener(MouseEvent.CLICK, decornext);
indexdecorobj = new Array();
indexdecorobj[1] = new Array();
indexdecorobj[1][1] = "mcenvironment1";
indexdecorobj[1][2] = "mcenvironment2";
indexdecorobj[2] = new Array();
indexdecorobj[2][1] = "mcpot";
indexdecorobj[3] = new Array();
indexdecorobj[3][1] = "mctaplak";
indexdecorobj[3][2] = "mctaplak";
indexdecorobj[3][3] = "mctaplak";
indexdecorobj[3][4] = "mctaplak";
indexdecorobj[3][5] = "mctaplak";
indexdecorobj[3][6] = "mctaplak";
indexdecorobj[4] = new Array();
indexdecorobj[4][1] = "mcpainting";
indexdecorobj[5] = new Array();
indexdecorobj[5][1] = "mckarpet";
indexdecorobj[5][2] = "mckarpet";
indexdecorobj[5][3] = "mckarpet";
indexdecorobj[5][4] = "mckarpet";
indexdecorobj[6] = new Array();
indexdecorobj[6][1] = "mclamp";
indexdecorobj[7] = new Array();
indexdecorobj[7][1] = "mcaquarium";
indexdecorobj[8] = new Array();
indexdecorobj[8][1] = "mckorden";
indexdecorobj[8][2] = "mckorden";
indexdecorobj[8][3] = "mckorden";
indexdecorobj[8][4] = "mckorden";
indexdecorobj[8][5] = "mckorden";
indexpreview = -1;
btnpreview.addEventListener(MouseEvent.CLICK, decorpreview);
btnpreviewnext.addEventListener(MouseEvent.CLICK, previewnext);
btnpreviewpre.addEventListener(MouseEvent.CLICK, previewpre);
btnpreviewx.addEventListener(MouseEvent.CLICK, previewx);
}
public function kalah(){
var ingamelosenext:Function;
ingamelosenext = function (_arg1:MouseEvent):void{
var ingameloseretry:Function;
var ingameloseback:Function;
var event = _arg1;
ingameloseretry = function (_arg1:MouseEvent):void{
gotoAndStop("retryer");
soundchannelingame.stop();
};
ingameloseback = function (_arg1:MouseEvent):void{
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "level select";
soundchannelingame.stop();
soundchannelmainmenu = soundmainmenu.play(0, 999, new SoundTransform(volume));
};
mclose.mc1.gotoAndPlay(2);
mclose.visible = true;
mclose.btnretry.addEventListener(MouseEvent.CLICK, ingameloseretry);
mclose.btnback.addEventListener(MouseEvent.CLICK, ingameloseback);
};
soundchannelingame.stop();
soundlose.play(0, 1, new SoundTransform(volume));
statshop = "lose";
mcwinlose.txtincome.setTextFormat(format1);
mcwinlose.txt2.setTextFormat(format1);
mcwinlose.btnnext.addEventListener(MouseEvent.CLICK, ingamelosenext);
mcwinlose.visible = true;
mcwinlose.mc1.gotoAndPlay("lose");
mcwinlose.mc2.gotoAndStop("lose");
}
function frame3(){
stop();
this.addEventListener(Event.ENTER_FRAME, loadingsplash);
}
public function ingameanimatedchocostick(_arg1:Event):void{
var _local2:*;
var _local3:Point;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local2 = mcmixpanel.getChildByName(("mc" + targetchocostick));
_local3 = new Point(_local2.x, _local2.y);
_local3 = mcmixpanel.localToGlobal(_local3);
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _local3.x) / 10));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _local3.y) / 10));
if (_arg1.target.hitTestObject(_local2) == true){
_arg1.target.gotoAndStop(1);
_arg1.target.x = poschocostickx;
_arg1.target.y = poschocosticky;
mcanimatedchocostick.removeEventListener(Event.ENTER_FRAME, ingameanimatedchocostick);
_local4 = mcmixpanel.getChildByName(("txt" + targetchocostick));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
_local4 = mcmixpanel.getChildByName(("mc" + targetchocostick));
_local4.gotoAndStop("chocostick");
};
}
public function shopresepnext(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
_local2 = 1;
while (_local2 <= 4) {
_local3 = getChildByName(("btnbuy" + _local2));
_local3.visible = true;
_local3.removeEventListener(MouseEvent.MOUSE_UP, buyitem);
_local2++;
};
soundbutton.play(0, 1, new SoundTransform(volume));
if (shopresepindex < 13){
shopresepindex = (shopresepindex + 4);
if (shopresepindex >= 13){
btnnext.visible = false;
};
btnback.visible = true;
trace(shopresepindex);
loadshopresep();
};
}
public function loadinterior(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
txtcompiler.text = "interior";
if (level < 7){
_local1 = 1;
} else {
if ((((level > 6)) && ((level < 13)))){
_local1 = 2;
} else {
if ((((level > 12)) && ((level < 19)))){
_local1 = 3;
} else {
if ((((level > 18)) && ((level < 25)))){
_local1 = 4;
};
};
};
};
interioreffect = 0;
penambahaneffect = 3;
trace("1");
txtcompiler.text = "interior1";
if (so.data.upgrade[_local1][1][1][1] == 1){
mcenvironment.mc1.mcenvironment1.gotoAndStop(2);
interioreffect = (interioreffect + penambahaneffect);
};
trace("2");
txtcompiler.text = "interior2";
if (so.data.upgrade[_local1][1][2][1] == 1){
mcenvironment.mc1.mcenvironment2.gotoAndStop(2);
interioreffect = (interioreffect + penambahaneffect);
};
trace("3");
txtcompiler.text = "interior3";
if (so.data.upgrade[_local1][2][1][1] == 1){
mcenvironment.mc1.mcpot.gotoAndStop(2);
trace(((("POT" + interioreffect) + " ") + penambahaneffect));
interioreffect = (interioreffect + penambahaneffect);
};
trace("4");
txtcompiler.text = ("interior4" + so.data.tipetaplak);
if (so.data.tipetaplak != "00"){
interioreffect = (interioreffect + penambahaneffect);
_local2 = 1;
while (_local2 <= 12) {
trace(("cek chair : " + _local2));
_local3 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local3 != null){
trace((so.data.tipetaplak.charAt(0) - 1));
_local4 = (((int((so.data.tipetaplak.charAt(0) - 1)) * 4) + int(so.data.tipetaplak.charAt(1))) + 1);
trace(_local3.mctaplak);
_local3.mctaplak.gotoAndStop(_local4);
};
_local2++;
};
};
trace("5");
txtcompiler.text = "interior5";
if (so.data.tipekarpet != "00"){
interioreffect = (interioreffect + penambahaneffect);
_local2 = 1;
while (_local2 <= 6) {
_local5 = mcenvironment.mc1.getChildByName(("mckarpet" + _local2));
if (_local5 != null){
trace(("skrg ke : " + _local2));
_local4 = (((int((so.data.tipekarpet.charAt(0) - 1)) * 4) + int(so.data.tipekarpet.charAt(1))) + 1);
trace(("karpet : " + _local4));
_local5.gotoAndStop(_local4);
};
_local2++;
};
};
trace("6");
txtcompiler.text = "interior6";
if (so.data.upgrade[_local1][4][1][1] == 1){
interioreffect = (interioreffect + penambahaneffect);
mcenvironment.mc1.mcpainting.gotoAndStop(2);
};
trace("7");
txtcompiler.text = "interior7";
if (so.data.upgrade[_local1][6][1][1] == 1){
_local6 = mcenvironment.mc1.mclamp;
if (_local6 != null){
interioreffect = (interioreffect + penambahaneffect);
mcenvironment.mc1.mclamp.gotoAndStop(2);
};
};
trace("8");
txtcompiler.text = "interior8";
if (so.data.upgrade[_local1][7][1][1] == 1){
interioreffect = (interioreffect + penambahaneffect);
mcenvironment.mc1.mcaquarium.gotoAndStop(2);
};
trace("9");
txtcompiler.text = "interior9";
if (so.data.tipekorden != "00"){
interioreffect = (interioreffect + penambahaneffect);
_local7 = mcenvironment.mc1.getChildByName("mckorden");
if (_local7 != null){
trace(("skrg ke : " + _local2));
_local4 = (((int((so.data.tipekorden.charAt(0) - 1)) * 3) + int(so.data.tipekorden.charAt(1))) + 1);
trace(("korden : " + _local4));
_local7.gotoAndStop(_local4);
};
};
txtcompiler.text = "done";
}
public function shopresepnext2(_arg1:MouseEvent):void{
stage.removeEventListener(Event.ENTER_FRAME, mousefollowhit);
soundbutton.play(0, 1, new SoundTransform(volume));
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "shop3";
}
function frame8(){
stop();
arraygoto = [undefined, 1, 2, 5, 6, 8, 9, 13, 15, 17, 19, 20, 21, 22, 24, 0, 19, 0, 0, 0, 0, 0, 0, 0];
stage.addEventListener(Event.ENTER_FRAME, mousefollowhit);
btnback.visible = false;
mcbuyrecipee.visible = false;
mcbuyrecipee.mc1.btnx.addEventListener(MouseEvent.CLICK, buyrecipeeclose);
lockicecream = new Array();
lockicecream = [undefined, 2, 2, 3, 3, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 24, 24, 24, 24, 24, 24, 24];
trace(("diunlock mpe resep : " + lockicecream[so.data.levele]));
txtmoney.text = ("$" + so.data.money);
shopresepindex = 1;
bole = true;
indexbole = 0;
loadshopresep();
btnnext.addEventListener(MouseEvent.CLICK, shopresepnext);
btnback.addEventListener(MouseEvent.CLICK, shopresepback);
btnnext2.addEventListener(MouseEvent.CLICK, shopresepnext2);
}
public function shopresepnext3(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
if (level > 2){
targetframe = "shop";
} else {
if ((((level <= 2)) && ((statshop == "lose")))){
targetframe = "ingame";
} else {
targetframe = "level select";
};
};
}
public function cleartutorial(){
stage.removeEventListener(Event.ENTER_FRAME, countdowntutorial);
btnicecreamholder.mc3.removeEventListener(Event.ENTER_FRAME, endscoop);
btnicecreamholder.mc1.removeEventListener(Event.ENTER_FRAME, endscoop);
stage.removeEventListener(Event.ENTER_FRAME, icecreamimagedrag);
if (orderplateimage[0] != null){
removeChild(orderplateimage[0]);
orderplateimage[0] = null;
};
if (icecreamimage[0] != null){
removeChild(icecreamimage[0]);
icecreamimage[0] = null;
};
statshop = "win";
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "shop2";
if (so.data.levele < 2){
so.data.levele = 2;
};
soundchannelingame.stop();
soundchannelmainmenu = soundmainmenu.play(0, 999, new SoundTransform(volume));
}
public function buwatfungsiconepanel(){
var btn1cone:Function;
var btn2cone:Function;
var btn3cone:Function;
btn1cone = function (_arg1:MouseEvent):void{
mcmakingicecream.gotoAndStop(Number(2));
mcconepanel.mc1.gotoAndStop(2);
mcconepanel.mc2.gotoAndStop(1);
mcconepanel.mc3.gotoAndStop(1);
};
btn2cone = function (_arg1:MouseEvent):void{
mcmakingicecream.gotoAndStop(Number(3));
mcconepanel.mc1.gotoAndStop(1);
mcconepanel.mc2.gotoAndStop(2);
mcconepanel.mc3.gotoAndStop(1);
};
btn3cone = function (_arg1:MouseEvent):void{
mcmakingicecream.gotoAndStop(Number(4));
mcconepanel.visible = false;
mctutorial.nextFrame();
cektutorial();
mcconepanel.mc1.gotoAndStop(1);
mcconepanel.mc2.gotoAndStop(1);
mcconepanel.mc3.gotoAndStop(2);
};
mcconepanel.btn1.addEventListener(MouseEvent.CLICK, btn1cone);
mcconepanel.btn2.addEventListener(MouseEvent.CLICK, btn2cone);
mcconepanel.btn3.addEventListener(MouseEvent.CLICK, btn3cone);
}
public function anykey(_arg1:KeyboardEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = 1;
while (_local2 <= 12) {
trace(((((("customer patience ke : " + _local2) + " adalah : ") + customerpatience[_local2]) + " stat : ") + customerstatus[_local2]));
_local2++;
};
_local3 = 1;
while (_local3 <= 12) {
_local4 = getChildByName(("mcorder" + _local3));
_local4.visible = true;
_local4.txt1.visible = true;
_local3++;
};
}
public function ingameicecreamimageup(_arg1:MouseEvent):void{
var cocokicecream:*;
var kulkaspickover:Function;
var kulkaspickout:Function;
var kulkaspick:Function;
var i:*;
var objorder:*;
var event = _arg1;
alphamixpanelfalse();
ilanginglow();
cocokicecream = false;
if (icecreamimage[0].hitTestObject(mctrash) == true){
soundbuangsampah.play(0, 1, new SoundTransform(volume));
mcpayment.mc1.txt1.text = ("-$" + int((icecreampricenumba[icecreamimage[0].tipeke] / 2)));
mcpayment.mc1.txt1.setTextFormat(format1);
mcpayment.gotoAndPlay(2);
mcpayment.x = mctrash.x;
mcpayment.y = mctrash.y;
moneytogoal = int((int(moneytogoal) - int((icecreampricenumba[icecreamimage[0].tipeke] / 2))));
mcmenubawah.txtmoney.text = moneytogoal;
if (moneytogoal < 0){
moneytogoal = 0;
mcmenubawah.txtmoney.text = moneytogoal;
};
mctrash.mcthrow.gotoAndPlay(2);
mctrash.gotoAndPlay("closed");
cleaningicecreamimage();
} else {
if ((((((btnkulkas2.visible == true)) && ((icecreamimage[0].hitTestObject(btnkulkas2) == true)))) || ((((btnkulkas1.visible == true)) && ((icecreamimage[0].hitTestObject(btnkulkas1) == true)))))){
if ((((icecreamimage[0].hitTestObject(targetkulkas1) == true)) && ((maxsimpen > 0)))){
kulkaspickover = function (_arg1:MouseEvent):void{
trace("OVER");
_arg1.target.gotoAndStop(2);
};
kulkaspickout = function (_arg1:MouseEvent):void{
if (_arg1.target.currentFrame == 2){
_arg1.target.gotoAndStop(1);
};
};
kulkaspick = function (_arg1:MouseEvent):void{
if ((((icecreamimage[0] == null)) && ((mcmakingicecream.currentFrame == 1)))){
soundbuangsampah.play(0, 1, new SoundTransform(volume));
targetkulkas1.removeEventListener(MouseEvent.CLICK, kulkaspick);
targetkulkas1.removeEventListener(MouseEvent.MOUSE_OVER, kulkaspickover);
targetkulkas1.removeEventListener(MouseEvent.MOUSE_OUT, kulkaspickout);
targetkulkasicecream.visible = false;
targetkulkas2.gotoAndPlay(2);
linkageke = targetkulkasicecream.currentFrame;
tarohicecream();
maxsimpen++;
targetkulkasicecream = getChildByName(("mckulkasicecream" + maxsimpen));
if (maxsimpen == tempmaxsimpen){
targetkulkas1.buttonMode = false;
};
};
};
targetkulkas1.removeEventListener(MouseEvent.MOUSE_OVER, kulkaspickover);
targetkulkas1.removeEventListener(MouseEvent.MOUSE_OUT, kulkaspickout);
targetkulkas1.removeEventListener(MouseEvent.CLICK, kulkaspick);
maxsimpen--;
cleaningicecreamimage();
targetkulkasicecream = getChildByName(("mckulkasicecream" + maxsimpen));
targetkulkasicecream.gotoAndStop(linkageke);
targetkulkasicecream.visible = true;
targetkulkas1.gotoAndStop(1);
targetkulkas1.buttonMode = true;
targetkulkas1.addEventListener(MouseEvent.MOUSE_OVER, kulkaspickover);
targetkulkas1.addEventListener(MouseEvent.MOUSE_OUT, kulkaspickout);
targetkulkas1.addEventListener(MouseEvent.CLICK, kulkaspick);
};
} else {
i = 1;
while (i <= ordermax) {
objorder = getChildByName(("mcorder" + i));
if (icecreamimage[0].hitTestObject(objorder) == true){
if ((((((icecreamimage[0].tipeke == objorder.mc1.currentFrame)) && ((objorder.mcfail.currentFrame == 1)))) && ((objorder.mcsuccess.currentFrame == 1)))){
if ((((comboer >= 1)) && ((combobool == true)))){
comboer++;
resetcombo();
stage.addEventListener(Event.ENTER_FRAME, combotime);
} else {
if (comboer == 0){
comboer = 1;
stage.addEventListener(Event.ENTER_FRAME, combotime);
};
};
jumlahcustomerserved++;
cocokicecream = true;
objorder.mcsuccess.gotoAndPlay(2);
objorder.addEventListener(Event.ENTER_FRAME, ingameicecreamsuccessok);
ilanginglow();
cleaningicecreamimage();
break;
};
};
i = (i + 1);
};
if (cocokicecream == false){
stage.removeEventListener(Event.ENTER_FRAME, ingameicecreamimagedrag);
icecreamimage[0].x = posisiicecreamimagex;
icecreamimage[0].y = posisiicecreamimagey;
if (mctrash.currentLabel == "opened"){
mctrash.gotoAndPlay("closed");
};
};
};
};
}
public function ingameanimatedbanana(_arg1:Event):void{
var _local2:*;
var _local3:Point;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local2 = mcmixpanel.getChildByName(("mc" + targetbanana));
_local3 = new Point(_local2.x, _local2.y);
_local3 = mcmixpanel.localToGlobal(_local3);
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _local3.x) / 10));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _local3.y) / 10));
if (_arg1.target.hitTestObject(_local2) == true){
_arg1.target.gotoAndStop(1);
_arg1.target.x = posbananax;
_arg1.target.y = posbananay;
mcanimatedbanana.removeEventListener(Event.ENTER_FRAME, ingameanimatedbanana);
_local4 = mcmixpanel.getChildByName(("txt" + targetbanana));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
_local4 = mcmixpanel.getChildByName(("mc" + targetbanana));
_local4.gotoAndStop("banana");
};
}
public function cleaningmixpanel(){
var _local1:*;
var _local2:*;
_local1 = 1;
while (_local1 <= 7) {
_local2 = mcmixpanel.getChildByName(("mc" + _local1));
_local2.gotoAndStop(1);
_local2 = mcmixpanel.getChildByName(("txt" + _local1));
_local2.text = "x0";
_local1++;
};
mcmixpanel.visible = false;
jumlahmix = 0;
}
public function resetmaking(){
var _local1:*;
var _local2:*;
mcmakingicecream.gotoAndStop(1);
jumlahmix = 0;
_local1 = 1;
while (_local1 <= 7) {
_local2 = mcmixpanel.getChildByName(("mc" + _local1));
_local2.gotoAndStop(1);
_local2 = mcmixpanel.getChildByName(("txt" + _local1));
_local2.text = "x0";
_local1++;
};
}
public function tarohcustomersit(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = 1;
while (_local1 <= 12) {
_local2 = mcenvironment.mc1.getChildByName(("mcchair" + _local1));
if (_local2 != null){
if ((((_local2.mccustomer.currentFrame == 1)) || ((_local2.mccustomer.currentLabel == "fail")))){
_local2.mccustomer2.gotoAndStop(tipecustomertosit);
_local2.mccustomer.gotoAndStop(tipecustomertosit);
_local2 = mcenvironment.mc1.getChildByName(("mcnumba" + _local1));
_local2.visible = true;
nomorke = _local1;
tarohcustomerpesenan();
customerpatience[_local1] = (customercharacteristic[tipecustomertosit][1] * 480);
customerstatus[_local1] = "idle";
_local3 = (customerpatience[_local1] * (penambahaneffect / 100));
customerpatience[_local1] = (customerpatience[_local1] + _local3);
customerpatience2[_local1] = customerpatience[_local1];
stage.addEventListener(Event.ENTER_FRAME, customerpatiencetimer);
break;
};
};
_local1++;
};
}
public function buyrecipeeclose(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mcbuyrecipee.visible = false;
}
public function combotime(_arg1:Event):void{
if (pausegame == false){
combobool = true;
waktucombo--;
if (waktucombo <= 0){
comboer = 0;
resetcombo();
};
};
}
public function animasibintangjadi(){
if (linkageke == 25){
stresslevel++;
trace(((("STRESS : " + stresslevel) + " JADI GO TO : ") + stresslabel[stresslevel]));
mcstress.gotoAndPlay(stresslabel[stresslevel]);
if (mcstress.currentLabel == "five"){
stage.addEventListener(Event.ENTER_FRAME, stressmax);
};
mcfailed.gotoAndPlay(2);
mcfailed.addEventListener(Event.ENTER_FRAME, makingicecreamanimation);
soundresepsalah.play(0, 1, new SoundTransform(volume));
} else {
soundproccess.play(0, 1, new SoundTransform(volume));
mcsuccess.gotoAndPlay(2);
mcsuccess.addEventListener(Event.ENTER_FRAME, makingicecreamanimation);
};
}
public function bwatkulkastutor(){
mckulkastutor.gotoAndPlay(2);
}
public function waiting5sec2(_arg1:Event):void{
if (pausegame == false){
mctournament11.mctimer.nextFrame();
if (_arg1.target.currentFrame == _arg1.target.totalFrames){
mctournament11.mctimer.removeEventListener(Event.ENTER_FRAME, waiting5sec2);
mctournament11.visible = false;
mcmake.visible = true;
mctimer2.gotoAndPlay(2);
mctimer2.addEventListener(Event.ENTER_FRAME, waiting5sec3);
};
};
}
public function waiting5sec3(_arg1:Event):void{
if (pausegame == false){
if (_arg1.target.currentFrame == _arg1.target.totalFrames){
mctimer2.removeEventListener(Event.ENTER_FRAME, waiting5sec3);
if (icecreamimage[0] == null){
mcpayment.mc1.txt1.text = "not match";
mcpayment.gotoAndPlay(2);
mcpayment.x = 380;
mcpayment.y = 340;
buwattournament11();
resetmaking();
trace(("RESET : " + mcmakingicecream.currentFrame));
};
};
};
}
public function cekcustomerexp(){
var ingamecustomerexpok:Function;
mc1.visible = false;
mc2.visible = false;
mc3.visible = false;
mc4.visible = false;
if (level < 7){
mcenvironment = mc1;
mc1.visible = true;
} else {
if ((((level > 6)) && ((level < 12)))){
mcenvironment = mc2;
mc2.visible = true;
} else {
if ((((level > 11)) && ((level < 17)))){
mcenvironment = mc3;
mc3.visible = true;
} else {
if ((((level > 16)) && ((level < 25)))){
mcenvironment = mc4;
mc4.visible = true;
};
};
};
};
loadinterior();
trace(("in effect : " + interioreffect));
if (level == 1){
loadsavegame();
} else {
if (level > 1){
ingamecustomerexpok = function (_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
if ((((so.data.syrup == 0)) && ((btnsyrupmaker.visible == true)))){
so.data.syrup = 1;
bwatsyruptutor();
};
if ((((so.data.kulkastemp == 0)) && ((so.data.kulkas == 1)))){
so.data.kulkastemp = 1;
bwatkulkastutor();
};
if ((((so.data.kulkastemp2 == 0)) && ((so.data.kulkas == 2)))){
so.data.kulkastemp2 = 1;
bwatkulkas2tutor();
};
if ((((so.data.kopitemp == 0)) && ((so.data.kopi == 1)))){
so.data.kopitemp = 1;
bwatkopitutor();
};
mccustomerexp.gotoAndPlay("up");
buwatfungsipanel();
};
loadsavegame();
mccustomerexp.mc1.btnokay.addEventListener(MouseEvent.CLICK, ingamecustomerexpok);
mccustomerexp.mc1.gotoAndStop(level);
mccustomerexp.gotoAndPlay(2);
} else {
loadsavegame();
buwatfungsipanel();
};
};
}
public function resetcombo(){
stage.removeEventListener(Event.ENTER_FRAME, combotime);
waktucombo = 360;
combobool = false;
}
public function tutorialsatu(){
mcrowcustomer1.gotoAndStop(2);
countdowntimer = 100;
stage.addEventListener(Event.ENTER_FRAME, countdowntutorial);
}
public function previewx(_arg1:MouseEvent):void{
indexpreview = 0;
resetpreview();
btnpreviewpre.visible = false;
btnpreviewnext.visible = false;
btnpreviewx.visible = false;
mc1.visible = false;
mc2.visible = false;
mc3.visible = false;
mc4.visible = false;
mcblack.visible = false;
}
public function loadsavegame(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
mcmenu.visible = false;
txtstamina.visible = false;
btnstamina.visible = false;
btndouble.visible = false;
btnheart.visible = false;
btnautocart.visible = false;
if (so.data.vitc > 0){
txtstamina.visible = true;
btnstamina.visible = true;
};
if (so.data.aoedouble > 0){
btndouble.visible = true;
};
if (so.data.aoeheart > 0){
btnheart.visible = true;
};
if (so.data.autocart > 0){
btnautocart.visible = true;
};
mccoffe.mouseEnabled = false;
mccoffe.mouseChildren = false;
txtstamina.mouseEnabled = false;
mckulkasicecream0.visible = false;
mckulkasicecream0.mouseEnabled = false;
mckulkasicecream0.mouseChildren = false;
mckulkasicecream1.visible = false;
mckulkasicecream1.mouseEnabled = false;
mckulkasicecream1.mouseChildren = false;
if ((((level >= 5)) && ((level < 15)))){
so.data.kulkas = 1;
} else {
if (level >= 15){
so.data.kulkas = 2;
} else {
if (level < 5){
so.data.kulkas = 0;
};
};
};
if (level >= 14){
so.data.kopi = 1;
};
mcx.visible = false;
mcmake.visible = false;
mctimeup.visible = false;
mctimeup.stop();
txtmoney.text = ("$" + so.data.money);
txtstamina.text = so.data.vitc;
trace("1");
txtcompiler.text = "1";
mckulkas2down.visible = false;
mckulkas1down.visible = false;
_local1 = 6;
if (level == 11){
_local1 = 99;
};
_local2 = 1;
while (_local2 <= 6) {
_local3 = btntoppingholder.getChildByName(("txt" + _local2));
_local3.text = _local1;
_local2++;
};
_local2 = 1;
while (_local2 <= 3) {
_local3 = btnicecreamholder.getChildByName(("txt" + _local2));
_local3.text = _local1;
_local2++;
};
btncup.visible = false;
mcmenubawah.txtmoney.text = "0";
trace(levelgoal[level]);
mcmenubawah.txtgoal.text = levelgoal[level];
trace(("level goal : " + levelgoal[level]));
mcmixpanel.visible = false;
mcconepanel.visible = false;
mcrefillpanel.visible = false;
mcrefilltopping.visible = false;
mcrecipee.visible = false;
mcsyrupholder.visible = false;
mcwinlose.visible = false;
btncup.visible = false;
mccup.visible = false;
btncoffemaker.visible = false;
mccoffe.visible = false;
btncup.visible = false;
mclose.visible = false;
mctutorialtournament11.visible = false;
mctournament11.visible = false;
trace("3");
txtcompiler.text = "3";
_local2 = 1;
while (_local2 <= ordermax) {
_local4 = getChildByName(("mcorder" + _local2));
_local4.mc1.gotoAndStop("none");
_local4.visible = false;
_local2++;
};
_local2 = 1;
while (_local2 <= 12) {
trace(mcenvironment);
_local3 = mcenvironment.mc1.getChildByName(("mcnumba" + _local2));
if (_local3 != null){
_local3.visible = false;
};
_local2++;
};
trace("4");
txtcompiler.text = "4";
_local2 = 1;
while (_local2 <= 12) {
_local5 = mcenvironment.mc1.getChildByName(("mcchair" + _local2));
if (_local5 != null){
_local5.eskrim.gotoAndStop("none");
};
_local2++;
};
trace("5");
txtcompiler.text = "5";
mcenvironment.mc1.mcclosed.visible = false;
if (so.data.kopi == 1){
mccoffe.visible = true;
btncoffemaker.visible = true;
mccup.visible = true;
};
if ((((level == 1)) || ((so.data.kulkas == 0)))){
btnkulkas1.visible = false;
btnkulkas2.visible = false;
} else {
if (so.data.kulkas == 1){
maxsimpen = 1;
tempmaxsimpen = maxsimpen;
targetkulkas1 = btnkulkas1;
targetkulkas2 = mckulkas1down;
btnkulkas1.visible = true;
btnkulkas2.visible = false;
mcflowerpot.visible = false;
} else {
if (so.data.kulkas == 2){
maxsimpen = 2;
tempmaxsimpen = maxsimpen;
targetkulkas1 = btnkulkas2;
targetkulkas2 = mckulkas2down;
btnkulkas2.visible = true;
btnkulkas1.visible = false;
mcflowerpot.visible = false;
};
};
};
if (level != 1){
trace("6");
txtcompiler.text = "61";
if (level != 11){
cektoppingsyrup();
};
btntutorialskip.visible = false;
mctutorial.visible = false;
trace("7");
txtcompiler.text = "7";
} else {
buwatfungsitutorial();
};
trace("6");
txtcompiler.text = "62";
}
public function tutorialdua(){
orderplateimage[0] = new (orderplate);
addChildAt(orderplateimage[0], (getChildIndex(mcmejadapur) + 1));
orderplateimage[0].x = 570;
orderplateimage[0].y = 205;
orderplateimage[0].gotoAndStop(1);
orderplateimage[0].txt1.text = "1";
}
public function buwatharga(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
soundmoney.play(0, 1, new SoundTransform(volume));
_local1 = mcenvironment.mc1.getChildByName(("mcchair" + targetnomorkursi));
if (level != 6){
if (_local1.mccustomer.mc1.currentLabel != "angry"){
_local4 = icecreampricenumba[linkageke];
if (poweruptimer.currentFrame > 1){
_local4 = (icecreampricenumba[linkageke] * 2);
};
mcpayment.mc1.txt1.text = ("$" + _local4);
moneytogoal = int((int(moneytogoal) + int(_local4)));
mcmenubawah.txtmoney.text = moneytogoal;
} else {
if (_local1.mccustomer.mc1.currentLabel == "angry"){
_local4 = (icecreampricenumba[linkageke] / 2);
if (poweruptimer.currentFrame > 1){
_local4 = ((icecreampricenumba[linkageke] / 2) * 2);
};
mcpayment.mc1.txt1.text = ("$" + int(_local4));
moneytogoal = int((int(moneytogoal) + int(_local4)));
mcmenubawah.txtmoney.text = moneytogoal;
};
};
_local3 = _local1.mccustomer.currentFrame;
if (_local1.mccustomer.mc1.currentLabel != "angry"){
mcpayment.mc1.txt2.text = ("+$" + int((int((icecreampricenumba[linkageke] * customercharacteristic[_local3][2])) + int((icecreampricenumba[linkageke] * int((interioreffect / 100)))))));
moneytogoal = int((int(moneytogoal) + int((int((icecreampricenumba[linkageke] * customercharacteristic[_local3][2])) + int((icecreampricenumba[linkageke] * int((interioreffect / 100))))))));
mcmenubawah.txtmoney.text = moneytogoal;
} else {
if (_local1.mccustomer.mc1.currentLabel == "angry"){
mcpayment.mc1.txt2.text = "+$0";
};
};
if (comboer > 1){
mcpayment.mc1.txt3.text = ("Combo x" + comboer);
mcpayment.mc1.txt4.text = ("+$" + (int((icecreampricenumba[linkageke] * 0.2)) + comboer));
moneytogoal = int((int(moneytogoal) + (int((icecreampricenumba[linkageke] * 0.2)) + comboer)));
mcmenubawah.txtmoney.text = moneytogoal;
};
mcpayment.x = targetobjsuccessok.x;
mcpayment.y = targetobjsuccessok.y;
mcpayment.gotoAndPlay(2);
} else {
if (level == 6){
jumlahicecreamneeded++;
mcpayment.mc1.txt1.text = (jumlahicecreamneeded + " icecream sold");
mcpayment.gotoAndPlay(2);
mcpayment.x = targetobjsuccessok.x;
mcpayment.y = targetobjsuccessok.y;
moneytogoal = int((int(moneytogoal) + int(icecreampricenumba[linkageke])));
mcmenubawah.txtmoney.text = moneytogoal;
mcmenubawah.txtgoal.text = (jumlahicecreamneeded + "/20");
};
};
_local2 = mcenvironment.mc1.getChildByName(("mcnumba" + targetnomorkursi));
_local2.visible = false;
customerpatience[targetnomorkursi] = 0;
_local1.eskrim.gotoAndStop(linkageke);
_local1.mccustomer.mc1.gotoAndPlay("eating");
_local1.mccustomer2.mc1.gotoAndPlay("eating");
customerpatience[targetnomorkursi] = customereatingtime[tipecustomertosit];
customerstatus[targetnomorkursi] = "eating";
}
public function clikLG(_arg1:ContextMenuEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.smallfarmstudio.com");
navigateToURL(_local2);
}
public function endscoop(_arg1:Event):void{
if (endscoopindex == 1){
if (btnicecreamholder.mc2.currentFrame == btnicecreamholder.mc2.totalFrames){
mcmixpanel.visible = true;
mcmixpanel.mc1.gotoAndStop("strawberry");
btnicecreamholder.mc2.removeEventListener(Event.ENTER_FRAME, endscoop);
mctutorial.nextFrame();
cektutorial();
};
} else {
if (endscoopindex == 2){
if (btnicecreamholder.mc3.currentFrame == btnicecreamholder.mc3.totalFrames){
mcmixpanel.mc2.gotoAndStop("chocolate");
btnicecreamholder.mc3.removeEventListener(Event.ENTER_FRAME, endscoop);
mctutorial.nextFrame();
cektutorial();
};
} else {
if (endscoopindex == 3){
if (mcsuccess.currentFrame == mcsuccess.totalFrames){
mcsuccess.removeEventListener(Event.ENTER_FRAME, endscoop);
mctutorial.nextFrame();
cektutorial();
};
} else {
if (endscoopindex == 4){
if (btntoppingholder.mcrefill2.currentFrame == btntoppingholder.mcrefill2.totalFrames){
btntoppingholder.txt2.text = "15";
btntoppingholder.mcrefill2.removeEventListener(Event.ENTER_FRAME, endscoop);
mctutorial.nextFrame();
cektutorial();
};
};
};
};
};
}
public function loadlevel(){
var i:*;
var levelselectmenu:Function;
i = Number(so.data.levele);
while (i >= 1) {
levelselectmenu = function (_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = _arg1.target.name;
_local3 = "";
_local4 = 2;
while (_local4 < _local2.length) {
_local3 = (_local3 + _local2.charAt(_local4));
_local4++;
};
level = _local3;
loadingame();
};
mclevelselect.getChildByName(("lv" + i)).visible = false;
mclevelselect.getChildByName(("mc" + i)).addEventListener(MouseEvent.CLICK, levelselectmenu);
i = (i - 1);
};
}
public function shopdecorbuttoncentang2(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = _arg1.target.name;
_local3 = _local2.charAt((_local2.length - 1));
trace("a");
_local4 = objdecor.getChildByName(("mcsold" + _local3));
if (_local4.visible == false){
trace("b");
_local5 = objdecor.getChildByName(("mc" + _local3));
trace(((((((leveltemp + " ") + indexdecor) + " ") + _local3) + " ") + _local5.currentFrame));
tempbuy2[leveltemp][indexdecor][_local3][_local5.currentFrame] = 0;
_local6 = 0;
while (_local6 < tempbuy.length) {
_local10 = String(((indexdecor + _local3) + _local5.currentFrame));
trace(_local10);
trace(((_local10 + " mbe : ") + tempbuy[_local6]));
if (_local10 == tempbuy[_local6]){
tempbuy.splice(_local6, 1);
break;
};
_local6++;
};
trace("c");
_arg1.target.visible = false;
_local7 = objdecor.getChildByName(("txt" + _local3));
_local8 = _local7.text;
_local9 = "";
_local6 = 2;
while (_local6 < _local8.length) {
_local9 = (_local9 + _local8.charAt(_local6));
_local6++;
};
hargacart = (hargacart - int(_local9));
txtcart.text = ("$" + hargacart);
};
}
public function shopresepback(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
_local2 = 1;
while (_local2 <= 4) {
_local3 = getChildByName(("btnbuy" + _local2));
_local3.visible = true;
_local3.removeEventListener(MouseEvent.MOUSE_UP, buyitem);
_local2++;
};
soundbutton.play(0, 1, new SoundTransform(volume));
if (shopresepindex > 1){
shopresepindex = (shopresepindex - 4);
if (shopresepindex <= 1){
btnback.visible = false;
};
btnnext.visible = true;
trace(shopresepindex);
loadshopresep();
};
}
public function buyitem(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
_local2 = _arg1.target.name;
_local3 = _local2.charAt((_local2.length - 1));
_local4 = getChildByName(("mc" + _local3));
trace(("nomore : " + _local3));
_local5 = _local4.txt1;
_local6 = _local5.text;
_local7 = "";
trace(("hrge : " + _local6));
_local8 = 1;
while (_local8 < _local6.length) {
_local7 = (_local7 + _local6.charAt(_local8));
_local8++;
};
trace(("hrge jd: " + _local7));
if (int(_local7) <= so.data.money){
soundbuy.play(0, 1, new SoundTransform(volume));
trace(((("kurangi :" + so.data.money) + " mbe : ") + _local7));
so.data.money = (so.data.money - int(_local7));
txtmoney.text = ("$" + so.data.money);
trace(("jadi : " + so.data.money));
_local9 = _local4.currentFrame;
so.data.icecream[_local9] = 1;
trace((("save ke : " + _local9) + " dibuwat jd 1"));
_arg1.target.visible = false;
mcbuyrecipee.gotoAndPlay(2);
mcbuyrecipee.mc1.gotoAndStop(_local9);
mcbuyrecipee.visible = true;
trace(((("NOMOR AMBILE : " + _local3) + " INDEX : ") + shopresepindex));
if (_local3 < 4){
indexbole = (((int(shopresepindex) - 1) + int(_local3)) + 1);
} else {
if (_local3 == 4){
indexbole = (int(shopresepindex) + 4);
};
};
trace(("INDEX BOLE SEKARANG : " + indexbole));
loadshopresep();
} else {
if (int(_local7) > so.data.money){
trace(((("nda isa soale : " + int(_local7)) + " duweke : ") + so.data.money));
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mccannot.gotoAndPlay(2);
};
};
}
public function isimixpanel(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local1 = false;
_local2 = 1;
while (_local2 <= 7) {
_local3 = mcmixpanel.getChildByName(("mc" + _local2));
if (_local3.currentLabel == mixpanelisi){
_local4 = mcmixpanel.getChildByName(("txt" + _local2));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
if (((((!((mixpanelisi == "vanillasyrup"))) && (!((mixpanelisi == "tuttifruttisyrup"))))) && (!((mixpanelisi == "chocolatesyrup"))))){
objtextkurangi.text = (Number(objtextkurangi.text) - 1);
};
_local1 = true;
break;
};
_local2++;
};
if ((((_local1 == false)) && ((((((mixpanelisi == "vanilla")) || ((mixpanelisi == "strawberry")))) || ((mixpanelisi == "chocolate")))))){
_local2 = 1;
while (_local2 <= 7) {
_local3 = mcmixpanel.getChildByName(("mc" + _local2));
if (_local3.currentFrame == 1){
_local4 = mcmixpanel.getChildByName(("txt" + _local2));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
if (((((!((mixpanelisi == "vanillasyrup"))) && (!((mixpanelisi == "tuttifruttisyrup"))))) && (!((mixpanelisi == "chocolatesyrup"))))){
objtextkurangi.text = (Number(objtextkurangi.text) - 1);
};
_local3.gotoAndStop(mixpanelisi);
break;
};
_local2++;
};
} else {
if ((((_local1 == false)) && ((jumlahmix < 7)))){
jumlahmix++;
_local2 = 1;
while (_local2 <= 7) {
_local3 = mcmixpanel.getChildByName(("mc" + _local2));
if (_local3.currentFrame == 1){
_local4 = mcmixpanel.getChildByName(("txt" + _local2));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
if (((((!((mixpanelisi == "vanillasyrup"))) && (!((mixpanelisi == "tuttifruttisyrup"))))) && (!((mixpanelisi == "chocolatesyrup"))))){
objtextkurangi.text = (Number(objtextkurangi.text) - 1);
};
trace(("bentuke : " + mixpanelisi));
_local3.gotoAndStop(mixpanelisi);
break;
};
_local2++;
};
};
};
}
public function loadingsplash(_arg1:Event):void{
var clikGF:Function;
var clikLG:Function;
var e = _arg1;
if (preloaderlogo.currentLabel == "GF"){
clikGF = function (_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.gamesfree.com");
navigateToURL(_local2);
};
preloaderlogo.connectbtn.addEventListener(MouseEvent.CLICK, clikGF);
};
if (preloaderlogo.currentLabel == "SF"){
clikLG = function (_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.smallfarmstudio.com");
navigateToURL(_local2);
};
preloaderlogo.connectbtn.addEventListener(MouseEvent.CLICK, clikLG);
};
if (preloaderlogo.currentFrame == preloaderlogo.totalFrames){
this.removeEventListener(Event.ENTER_FRAME, loadingsplash);
gotoAndPlay("main menu");
};
}
public function cekisimixpanel(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = false;
_local2 = 1;
while (_local2 <= 7) {
_local3 = mcmixpanel.getChildByName(("mc" + _local2));
if (_local3.currentLabel == mixpanelisi){
targetisimixpanel = _local2;
boleisi = true;
_local1 = true;
break;
};
_local2++;
};
if ((((_local1 == false)) && ((jumlahmix < 7)))){
jumlahmix++;
targetisimixpanel = jumlahmix;
boleisi = true;
} else {
if ((((_local1 == false)) && ((jumlahmix >= 7)))){
targetisimixpanel = 0;
};
};
}
public function decorpreview(_arg1:MouseEvent):void{
btnpreviewpre.visible = true;
btnpreviewnext.visible = true;
btnpreviewx.visible = true;
objmcpreview.visible = true;
mcblack.visible = true;
indexpreview = 0;
tampilin();
}
public function loadshop3(){
txtstock1.text = ("in stock : " + so.data.vitc);
txtstock2.text = ("in stock : " + so.data.autocart);
if (so.data.autocart == 1){
btnbuy2.visible = false;
};
txtstock3.text = ("in stock : " + so.data.aoeheart);
if (so.data.aoeheart == 1){
btnbuy3.visible = false;
};
txtstock4.text = ("in stock : " + so.data.aoedouble);
if (so.data.aoedouble == 1){
btnbuy4.visible = false;
};
}
public function loadingame(){
soundchannelmainmenu.stop();
mctransisi.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, transisimc);
targetframe = "ingame";
}
public function endingmenu(_arg1:MouseEvent):void{
gotoAndStop("main menu");
stage.removeEventListener(Event.ENTER_FRAME, endingstab);
}
public function decorbuy(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
soundbuy.play(0, 1, new SoundTransform(volume));
objdecor = getChildByName((("mcdekor" + leveltemp) + indexdecor));
trace("1");
_local2 = 0;
while (_local2 < tempbuy.length) {
trace(((("asdsadsa d : " + _local2) + " ") + tempbuy[_local2]));
_local3 = 0;
while (_local3 <= tempbuy[_local2].length) {
trace(tempbuy[_local2].charAt(_local3));
_local3++;
};
trace(((("ke : " + _local2) + " adl : ") + so.data.upgrade[leveltemp][tempbuy[_local2].charAt(0)][tempbuy[_local2].charAt(1)][tempbuy[_local2].charAt(2)]));
so.data.upgrade[leveltemp][tempbuy[_local2].charAt(0)][tempbuy[_local2].charAt(1)][tempbuy[_local2].charAt(2)] = 1;
trace(("ja : " + tempbuy[_local2].charAt(0)));
_local4 = int(tempbuy[_local2].charAt(0));
if (_local4 == 3){
_local5 = 1;
while (_local5 <= 4) {
so.data.upgrade[_local5][tempbuy[_local2].charAt(0)][tempbuy[_local2].charAt(1)][tempbuy[_local2].charAt(2)] = 1;
_local5++;
};
} else {
if (_local4 == 5){
_local5 = 1;
while (_local5 <= 4) {
so.data.upgrade[_local5][tempbuy[_local2].charAt(0)][tempbuy[_local2].charAt(1)][tempbuy[_local2].charAt(2)] = 1;
_local5++;
};
} else {
if (_local4 == 8){
_local5 = 1;
while (_local5 <= 4) {
so.data.upgrade[_local5][tempbuy[_local2].charAt(0)][tempbuy[_local2].charAt(1)][tempbuy[_local2].charAt(2)] = 1;
_local5++;
};
};
};
};
trace(("lev : " + leveltemp));
trace(("i nya : " + _local2));
trace(((("ja 2 : " + leveltemp) + " ") + tempbuy[_local2]));
trace(((((leveltemp + " ") + tempbuy[_local2].charAt(0)) + tempbuy[_local2].charAt(1)) + tempbuy[_local2].charAt(2)));
_local2++;
};
trace("2");
_local2 = 1;
while (_local2 <= 6) {
_local6 = objdecor.getChildByName(("mcsold" + _local2));
if (_local6 != null){
_local7 = objdecor.getChildByName(("mc" + _local2));
if (so.data.upgrade[leveltemp][indexdecor][_local2][_local7.currentFrame] == 1){
_local6.visible = true;
};
};
_local2++;
};
trace("3");
_local2 = 1;
while (_local2 <= 6) {
_local8 = objdecor.getChildByName(("mccentang" + _local2));
if (_local8 != null){
_local8.visible = false;
};
_local2++;
};
trace("4");
so.data.money = (so.data.money - hargacart);
txtmoney.text = ("$" + so.data.money);
hargacart = 0;
txtcart.text = ("$" + hargacart);
tempbuy = new Array();
_local2 = 1;
while (_local2 <= 8) {
tempbuy2[_local2] = new Array();
_local5 = 1;
while (_local5 <= 8) {
tempbuy2[_local2][_local5] = new Array();
_local9 = 1;
while (_local9 <= 8) {
tempbuy2[_local2][_local5][_local9] = new Array();
_local10 = 1;
while (_local10 <= 8) {
tempbuy2[_local2][_local5][_local9][_local10] = 0;
_local10++;
};
_local9++;
};
_local5++;
};
_local2++;
};
}
public function cekleveltemp(){
var _local1:*;
if (level < 6){
leveltemp = 1;
} else {
if ((((level >= 6)) && ((level < 11)))){
leveltemp = 2;
} else {
if ((((level >= 11)) && ((level < 16)))){
leveltemp = 3;
} else {
if (level >= 16){
leveltemp = 4;
};
};
};
};
trace(("LEVELTEMP : " + leveltemp));
_local1 = getChildByName(("mc" + leveltemp));
objmcpreview = _local1;
_local1 = _local1.mc1;
buwatfungsidecorstandart();
buwatfungsidecor();
}
public function stressmax(_arg1:Event):void{
if (mcstress.currentFrame == mcstress.totalFrames){
stage.removeEventListener(Event.ENTER_FRAME, stressmax);
stopgame();
cektamat();
};
}
public function decorpretipe(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
if (indexdecor > 1){
btnnexttipe.visible = true;
indexdecor--;
if (indexdecor == 1){
btnpretipe.visible = false;
};
cleaning();
buwatfungsidecor();
};
}
public function customergenerate(_arg1:Event):void{
var _local2:*;
if (pausegame == false){
if (gameabis == false){
waktugenerate--;
if (waktugenerate <= 0){
_local2 = randRange(1, 3);
_local2 = (_local2 * 24);
waktugenerate = (customertimegenerate[level] - _local2);
if (jumlahcustomerinrow < 12){
soundtamudatang.play(0, 1, new SoundTransform(volume));
jumlahcustomer++;
jumlahcustomerinrow++;
tarohcustomerrow();
};
};
};
};
}
public function mcstoryend(_arg1:Event):void{
if (mcstory.currentFrame == mcstory.totalFrames){
mcstory.removeEventListener(Event.ENTER_FRAME, mcstoryend);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, mcstoryend2);
stage.removeEventListener(MouseEvent.CLICK, mcstoryclick);
gotoAndStop("level select");
};
}
public function coffereffil(_arg1:Event):void{
if (pausegame == false){
reffiltime--;
if (reffiltime <= 0){
isikopi = 2;
mccoffe.gotoAndPlay("refill");
reffiltime = 720;
stage.removeEventListener(Event.ENTER_FRAME, coffereffil);
};
};
}
public function bwatkulkas2tutor(){
mckulkastutor2.gotoAndPlay(2);
}
public function resetpreview(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local1 = getChildByName(("mc" + leveltemp));
_local1 = _local1.mc1;
trace("1");
_local1.mcenvironment1.gotoAndStop(1);
trace("2");
_local1.mcenvironment2.gotoAndStop(1);
trace("3");
_local1.mcpot.gotoAndStop(1);
trace("4");
_local2 = 1;
while (_local2 <= 12) {
_local3 = _local1.getChildByName(("mcchair" + _local2));
if (_local3 != null){
_local4 = _local3.getChildByName("mctaplak");
_local4.gotoAndStop(1);
} else {
break;
};
_local2++;
};
trace("5");
_local1.mcpainting.gotoAndStop(1);
trace("6");
_local2 = 1;
while (_local2 <= 12) {
_local3 = _local1.getChildByName(("mckarpet" + _local2));
if (_local3 != null){
_local3.gotoAndStop(1);
} else {
break;
};
_local2++;
};
trace("7");
_local3 = _local1.getChildByName("mclamp");
if (_local3 != null){
_local3.gotoAndStop(1);
};
trace("8");
_local3 = _local1.getChildByName("mcaquarium");
if (_local3 != null){
_local3.gotoAndStop(1);
};
trace("9");
_local4 = _local1.getChildByName("mckorden");
if (_local4 != null){
_local4.gotoAndStop(1);
};
trace("10");
}
public function bwatshoptutor(){
var waittutor:Function;
waittutor = function (_arg1:Event):void{
if (mcshoptutor.currentFrame == mcshoptutor.totalFrames){
stage.removeEventListener(Event.ENTER_FRAME, waittutor);
};
};
mcshoptutor.gotoAndPlay(2);
stage.addEventListener(Event.ENTER_FRAME, waittutor);
}
public function mcstoryclick(_arg1:MouseEvent):void{
soundbutton.play(0, 1, new SoundTransform(volume));
mcstory.removeEventListener(Event.ENTER_FRAME, mcstoryend);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, mcstoryend2);
stage.removeEventListener(MouseEvent.CLICK, mcstoryclick);
gotoAndStop("level select");
}
public function clikbutt(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local2 = _arg1.target.name;
_local2 = _local2.charAt((_local2.length - 1));
_local3 = getChildByName(("txt" + _local2));
_local3 = _local3.text;
_local4 = "";
trace(("harga : " + _local3));
_local5 = 2;
while (_local5 < (_local3.length - 1)) {
trace(("txt ke : " + _local3.charAt(_local5)));
_local4 = (_local4 + _local3.charAt(_local5));
_local5++;
};
trace(((("bandingin : " + so.data.money) + " ma : ") + _local4));
if (int(so.data.money) >= int(_local4)){
soundbuy.play(0, 1, new SoundTransform(volume));
if (_local2 == 1){
so.data.vitc++;
so.data.money = (so.data.money - _local4);
txtmoney.text = ("$" + so.data.money);
} else {
if ((((_local2 == 2)) && ((so.data.autocart == 0)))){
so.data.autocart++;
_arg1.target.visible = false;
so.data.money = (so.data.money - _local4);
txtmoney.text = ("$" + so.data.money);
} else {
if ((((_local2 == 3)) && ((so.data.aoeheart == 0)))){
so.data.aoeheart++;
_arg1.target.visible = false;
so.data.money = (so.data.money - _local4);
txtmoney.text = ("$" + so.data.money);
} else {
if ((((_local2 == 4)) && ((so.data.aoedouble == 0)))){
so.data.aoedouble++;
_arg1.target.visible = false;
so.data.money = (so.data.money - _local4);
txtmoney.text = ("$" + so.data.money);
};
};
};
};
loadshop3();
} else {
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mccannot.gotoAndPlay(2);
};
}
public function endingstab(_arg1:Event):void{
if (mc1.currentLabel == "stab"){
soundstab.play(0, 1, new SoundTransform(volume));
};
}
public function ingameanimatedbean(_arg1:Event):void{
var _local2:*;
var _local3:Point;
var _local4:*;
var _local5:*;
var _local6:*;
mcmixpanel.visible = true;
_local2 = mcmixpanel.getChildByName(("mc" + targetbean));
_local3 = new Point(_local2.x, _local2.y);
_local3 = mcmixpanel.localToGlobal(_local3);
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _local3.x) / 10));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _local3.y) / 10));
if (_arg1.target.hitTestObject(_local2) == true){
_arg1.target.gotoAndStop(1);
_arg1.target.x = posbeanx;
_arg1.target.y = posbeany;
mcanimatedbean.removeEventListener(Event.ENTER_FRAME, ingameanimatedbean);
_local4 = mcmixpanel.getChildByName(("txt" + targetbean));
_local5 = _local4.text;
_local6 = _local4.text.charAt((_local5.length - 1));
_local6 = (Number(_local6) + 1);
_local4.text = ("x" + _local6);
_local4 = mcmixpanel.getChildByName(("mc" + targetbean));
_local4.gotoAndStop("bean");
};
}
public function shopdecorbuttoncentang(_arg1:MouseEvent):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:int;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:*;
var _local19:*;
soundbutton.play(0, 1, new SoundTransform(volume));
_local2 = _arg1.target.name;
_local3 = _local2.charAt((_local2.length - 1));
_local4 = objdecor.getChildByName(("mccentang" + _local3));
_local5 = objdecor.getChildByName(("mcsold" + _local3));
_local6 = objdecor.getChildByName(("mc" + _local3));
if (_local5.visible == true){
if (indexdecor == 3){
so.data.tipetaplak = String((_local3 + _local6.currentFrame));
} else {
if (indexdecor == 5){
so.data.tipekarpet = String((_local3 + _local6.currentFrame));
} else {
if (indexdecor == 8){
so.data.tipekorden = String((_local3 + _local6.currentFrame));
};
};
};
_local4.visible = true;
} else {
if ((((((indexdecor == 3)) || ((indexdecor == 5)))) || ((indexdecor == 8)))){
_local13 = indexdecor;
_local10 = 0;
while (_local10 < tempbuy.length) {
_local14 = _local13;
trace(((_local14 + " mbe taplak : ") + tempbuy[_local10].charAt(0)));
if (_local14 == tempbuy[_local10].charAt(0)){
_local15 = 1;
while (_local15 <= 6) {
trace("1");
_local5 = objdecor.getChildByName(("mccentang" + _local15));
_local16 = objdecor.getChildByName(("mcsold" + _local15));
trace(_local5);
if (_local5 != null){
if ((((_local5.visible == true)) && ((_local16.visible == false)))){
trace("true");
_local17 = tempbuy[_local10].charAt(1);
_local7 = objdecor.getChildByName(("txt" + _local17));
trace(_local7.name);
_local8 = _local7.text;
_local9 = "";
_local18 = 2;
while (_local18 < _local8.length) {
_local9 = (_local9 + _local8.charAt(_local18));
_local18++;
};
trace(("kurangi duwek dgn : " + _local9));
hargacart = (hargacart - int(_local9));
txtcart.text = ("$" + hargacart);
_local5.visible = false;
};
};
_local15++;
};
tempbuy.splice(_local10, 1);
break;
};
_local10++;
};
};
_local7 = objdecor.getChildByName(("txt" + _local3));
_local8 = _local7.text;
_local9 = "";
_local10 = 2;
while (_local10 < _local8.length) {
_local9 = (_local9 + _local8.charAt(_local10));
_local10++;
};
trace(("jadi harganya : " + _local9));
trace(("sementara harga cart skrg : " + hargacart));
_local11 = (int(_local9) + int(hargacart));
trace(((("bandingin : " + _local11) + " ") + so.data.money));
_local12 = _local9;
if (_local11 <= so.data.money){
hargacart = (hargacart + int(_local12));
txtcart.text = ("$" + hargacart);
_local19 = objdecor.getChildByName(("mc" + _local3));
_local19 = _local19.currentFrame;
tempbuy[tempbuy.length] = ((indexdecor + _local3) + _local19);
tempbuy2[leveltemp][indexdecor][_local3][_local6.currentFrame] = 1;
_local4.visible = true;
} else {
soundcannotbuy.play(0, 1, new SoundTransform(volume));
mccannot.gotoAndPlay(2);
};
};
}
public function fivesecloading(_arg1:Event):void{
fivesec--;
if (fivesec < 0){
if (percentage >= 100){
mcpreloader.loaderbar.gotoAndStop(100);
gotoAndPlay("preloader2");
stage.removeEventListener(Event.ENTER_FRAME, loading);
stage.removeEventListener(Event.ENTER_FRAME, fivesecloading);
};
};
}
}
}//package AnnaGlace2_fla
Section 88
//menang_574 (AnnaGlace2_fla.menang_574)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class menang_574 extends MovieClip {
public function menang_574(){
addFrameScript(0, frame1, 16, frame17, 58, frame59);
}
function frame1(){
stop();
}
function frame17(){
stop();
}
function frame59(){
stop();
}
}
}//package AnnaGlace2_fla
Section 89
//michael_269 (AnnaGlace2_fla.michael_269)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class michael_269 extends MovieClip {
public function michael_269(){
addFrameScript(16, frame17, 32, frame33, 48, frame49);
}
function frame17(){
gotoAndPlay("idle");
}
function frame33(){
gotoAndPlay("eating");
}
function frame49(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 90
//milihtempat_448 (AnnaGlace2_fla.milihtempat_448)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class milihtempat_448 extends MovieClip {
public var btn3:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc2:MovieClip;
public var btn1:SimpleButton;
public var btn2:SimpleButton;
public var btnx:SimpleButton;
}
}//package AnnaGlace2_fla
Section 91
//moneyLayer1copy_234 (AnnaGlace2_fla.moneyLayer1copy_234)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class moneyLayer1copy_234 extends MovieClip {
public function moneyLayer1copy_234(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 92
//Ngantuk_264 (AnnaGlace2_fla.Ngantuk_264)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Ngantuk_264 extends MovieClip {
public function Ngantuk_264(){
addFrameScript(153, frame154, 164, frame165, 180, frame181);
}
function frame154(){
gotoAndPlay("idle");
}
function frame165(){
gotoAndPlay("eating");
}
function frame181(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 93
//Ngantuk_278 (AnnaGlace2_fla.Ngantuk_278)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Ngantuk_278 extends MovieClip {
public function Ngantuk_278(){
addFrameScript(153, frame154, 164, frame165, 180, frame181);
}
function frame154(){
gotoAndPlay("idle");
}
function frame165(){
gotoAndPlay("eating");
}
function frame181(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 94
//nyendok_chocolate_410 (AnnaGlace2_fla.nyendok_chocolate_410)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class nyendok_chocolate_410 extends MovieClip {
public function nyendok_chocolate_410(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 95
//nyendok_strobery_409 (AnnaGlace2_fla.nyendok_strobery_409)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class nyendok_strobery_409 extends MovieClip {
public function nyendok_strobery_409(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 96
//nyendok_Vanilla_411 (AnnaGlace2_fla.nyendok_Vanilla_411)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class nyendok_Vanilla_411 extends MovieClip {
public function nyendok_Vanilla_411(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 97
//orientalgirlnunggudimeja_263 (AnnaGlace2_fla.orientalgirlnunggudimeja_263)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class orientalgirlnunggudimeja_263 extends MovieClip {
public function orientalgirlnunggudimeja_263(){
addFrameScript(15, frame16, 29, frame30, 45, frame46);
}
function frame16(){
gotoAndPlay("idle");
}
function frame30(){
gotoAndPlay("eating");
}
function frame46(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 98
//orientalgirlnunggudimeja2_277 (AnnaGlace2_fla.orientalgirlnunggudimeja2_277)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class orientalgirlnunggudimeja2_277 extends MovieClip {
public function orientalgirlnunggudimeja2_277(){
addFrameScript(15, frame16, 29, frame30, 45, frame46);
}
function frame16(){
gotoAndPlay("idle");
}
function frame30(){
gotoAndPlay("eating");
}
function frame46(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 99
//preloaderlogo_91 (AnnaGlace2_fla.preloaderlogo_91)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class preloaderlogo_91 extends MovieClip {
public var connectbtn:SimpleButton;
}
}//package AnnaGlace2_fla
Section 100
//punknunggudimeja_262 (AnnaGlace2_fla.punknunggudimeja_262)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class punknunggudimeja_262 extends MovieClip {
public function punknunggudimeja_262(){
addFrameScript(12, frame13, 27, frame28, 41, frame42);
}
function frame13(){
gotoAndPlay("idle");
}
function frame28(){
gotoAndPlay("eating");
}
function frame42(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 101
//punknunggudimeja2_276 (AnnaGlace2_fla.punknunggudimeja2_276)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class punknunggudimeja2_276 extends MovieClip {
public function punknunggudimeja2_276(){
addFrameScript(12, frame13, 27, frame28, 41, frame42);
}
function frame13(){
gotoAndPlay("idle");
}
function frame28(){
gotoAndPlay("eating");
}
function frame42(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 102
//SHOP_243 (AnnaGlace2_fla.SHOP_243)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class SHOP_243 extends MovieClip {
public function SHOP_243(){
addFrameScript(0, frame1, 1, frame2, 180, frame181);
}
function frame181(){
stop();
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 103
//SHOP2_335 (AnnaGlace2_fla.SHOP2_335)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class SHOP2_335 extends MovieClip {
public var astorr:MovieClip;
public var strawberry:MovieClip;
public var cherry:MovieClip;
public var chips:MovieClip;
public var btnx:SimpleButton;
public function SHOP2_335(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 104
//SHOP2_488 (AnnaGlace2_fla.SHOP2_488)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class SHOP2_488 extends MovieClip {
public var mc1:MovieClip;
public var mctimer:MovieClip;
public function SHOP2_488(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 105
//SHOP2_489 (AnnaGlace2_fla.SHOP2_489)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class SHOP2_489 extends MovieClip {
public var astorr:MovieClip;
public var strawberry:MovieClip;
public var cherry:MovieClip;
public var chips:MovieClip;
public function SHOP2_489(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 106
//SHOPRESEP_328 (AnnaGlace2_fla.SHOPRESEP_328)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class SHOPRESEP_328 extends MovieClip {
public function SHOPRESEP_328(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 107
//SHOPRESEP_329 (AnnaGlace2_fla.SHOPRESEP_329)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class SHOPRESEP_329 extends MovieClip {
public var txt1:TextField;
}
}//package AnnaGlace2_fla
Section 108
//siboy_261 (AnnaGlace2_fla.siboy_261)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class siboy_261 extends MovieClip {
public function siboy_261(){
addFrameScript(17, frame18, 33, frame34, 43, frame44);
}
function frame18(){
gotoAndPlay("idle");
}
function frame34(){
gotoAndPlay("eating");
}
function frame44(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 109
//siboy_275 (AnnaGlace2_fla.siboy_275)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class siboy_275 extends MovieClip {
public function siboy_275(){
addFrameScript(17, frame18, 33, frame34, 43, frame44);
}
function frame18(){
gotoAndPlay("idle");
}
function frame34(){
gotoAndPlay("eating");
}
function frame44(){
gotoAndPlay("angry");
}
}
}//package AnnaGlace2_fla
Section 110
//STORY_111 (AnnaGlace2_fla.STORY_111)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class STORY_111 extends MovieClip {
public function STORY_111(){
addFrameScript(346, frame347);
}
function frame347(){
stop();
}
}
}//package AnnaGlace2_fla
Section 111
//Symbol100_27 (AnnaGlace2_fla.Symbol100_27)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol100_27 extends MovieClip {
public function Symbol100_27(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 112
//Symbol102_537 (AnnaGlace2_fla.Symbol102_537)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol102_537 extends MovieClip {
public var txt1:TextField;
}
}//package AnnaGlace2_fla
Section 113
//Symbol104_245 (AnnaGlace2_fla.Symbol104_245)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol104_245 extends MovieClip {
public var btncentang1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 114
//Symbol110_333 (AnnaGlace2_fla.Symbol110_333)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol110_333 extends MovieClip {
public var mc1:MovieClip;
public function Symbol110_333(){
addFrameScript(0, frame1, 1, frame2, 14, frame15);
}
function frame15(){
stop();
}
function frame1(){
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 115
//Symbol111_361 (AnnaGlace2_fla.Symbol111_361)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol111_361 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 116
//Symbol111copy_247 (AnnaGlace2_fla.Symbol111copy_247)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol111copy_247 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 117
//Symbol112_363 (AnnaGlace2_fla.Symbol112_363)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol112_363 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var eskrim:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 118
//Symbol112copy_364 (AnnaGlace2_fla.Symbol112copy_364)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol112copy_364 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var eskrim:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 119
//Symbol112copy2_365 (AnnaGlace2_fla.Symbol112copy2_365)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol112copy2_365 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var eskrim:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 120
//Symbol112copy3_257 (AnnaGlace2_fla.Symbol112copy3_257)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol112copy3_257 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 121
//Symbol112copy4_285 (AnnaGlace2_fla.Symbol112copy4_285)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol112copy4_285 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 122
//Symbol112copy5_286 (AnnaGlace2_fla.Symbol112copy5_286)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol112copy5_286 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 123
//Symbol115_287 (AnnaGlace2_fla.Symbol115_287)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol115_287 extends MovieClip {
public function Symbol115_287(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 124
//Symbol116_254 (AnnaGlace2_fla.Symbol116_254)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol116_254 extends MovieClip {
public function Symbol116_254(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 125
//Symbol117_256 (AnnaGlace2_fla.Symbol117_256)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol117_256 extends MovieClip {
public function Symbol117_256(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 126
//Symbol134_250 (AnnaGlace2_fla.Symbol134_250)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol134_250 extends MovieClip {
public function Symbol134_250(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 127
//Symbol135_314 (AnnaGlace2_fla.Symbol135_314)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol135_314 extends MovieClip {
public function Symbol135_314(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 128
//Symbol140_331 (AnnaGlace2_fla.Symbol140_331)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol140_331 extends MovieClip {
public function Symbol140_331(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 129
//Symbol144_307 (AnnaGlace2_fla.Symbol144_307)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol144_307 extends MovieClip {
public function Symbol144_307(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 130
//Symbol145_372 (AnnaGlace2_fla.Symbol145_372)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol145_372 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var eskrim:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 131
//Symbol145copy_311 (AnnaGlace2_fla.Symbol145copy_311)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol145copy_311 extends MovieClip {
public var mctaplak:MovieClip;
public var mccustomer2:MovieClip;
public var mccustomer:MovieClip;
public var mcminumhati:MovieClip;
public var mcminumkopi:MovieClip;
}
}//package AnnaGlace2_fla
Section 132
//Symbol146_308 (AnnaGlace2_fla.Symbol146_308)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol146_308 extends MovieClip {
public function Symbol146_308(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 133
//Symbol147_310 (AnnaGlace2_fla.Symbol147_310)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol147_310 extends MovieClip {
public var mcpainting:MovieClip;
public function Symbol147_310(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 134
//Symbol148_370 (AnnaGlace2_fla.Symbol148_370)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol148_370 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 135
//Symbol148copy_303 (AnnaGlace2_fla.Symbol148copy_303)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol148copy_303 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 136
//Symbol151_508 (AnnaGlace2_fla.Symbol151_508)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol151_508 extends MovieClip {
public function Symbol151_508(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 137
//Symbol159_306 (AnnaGlace2_fla.Symbol159_306)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol159_306 extends MovieClip {
public function Symbol159_306(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 138
//Symbol164_97 (AnnaGlace2_fla.Symbol164_97)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol164_97 extends MovieClip {
public function Symbol164_97(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 139
//Symbol165_107 (AnnaGlace2_fla.Symbol165_107)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol165_107 extends MovieClip {
public var btnokay:SimpleButton;
public var btnsf:SimpleButton;
public var btngirl:SimpleButton;
}
}//package AnnaGlace2_fla
Section 140
//Symbol23_28 (AnnaGlace2_fla.Symbol23_28)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol23_28 extends MovieClip {
public function Symbol23_28(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = false;
}
}
}//package AnnaGlace2_fla
Section 141
//Symbol24_297 (AnnaGlace2_fla.Symbol24_297)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol24_297 extends MovieClip {
public function Symbol24_297(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 142
//Symbol25_300 (AnnaGlace2_fla.Symbol25_300)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol25_300 extends MovieClip {
public function Symbol25_300(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 143
//Symbol26_294 (AnnaGlace2_fla.Symbol26_294)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol26_294 extends MovieClip {
public function Symbol26_294(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 144
//Symbol27_302 (AnnaGlace2_fla.Symbol27_302)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol27_302 extends MovieClip {
public function Symbol27_302(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 145
//Symbol28_289 (AnnaGlace2_fla.Symbol28_289)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol28_289 extends MovieClip {
public function Symbol28_289(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 146
//Symbol58_449 (AnnaGlace2_fla.Symbol58_449)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol58_449 extends MovieClip {
public function Symbol58_449(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 147
//Symbol80_571 (AnnaGlace2_fla.Symbol80_571)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol80_571 extends MovieClip {
public var btnokay:SimpleButton;
}
}//package AnnaGlace2_fla
Section 148
//Symbol81_447 (AnnaGlace2_fla.Symbol81_447)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol81_447 extends MovieClip {
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt4:TextField;
}
}//package AnnaGlace2_fla
Section 149
//Symbol81copy_35 (AnnaGlace2_fla.Symbol81copy_35)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Symbol81copy_35 extends MovieClip {
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt4:TextField;
}
}//package AnnaGlace2_fla
Section 150
//Symbol82_90 (AnnaGlace2_fla.Symbol82_90)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol82_90 extends MovieClip {
public function Symbol82_90(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 151
//Symbol90_330 (AnnaGlace2_fla.Symbol90_330)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol90_330 extends MovieClip {
public function Symbol90_330(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 152
//Symbol91_322 (AnnaGlace2_fla.Symbol91_322)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol91_322 extends MovieClip {
public function Symbol91_322(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 153
//Symbol92_317 (AnnaGlace2_fla.Symbol92_317)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol92_317 extends MovieClip {
public function Symbol92_317(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 154
//Symbol93_319 (AnnaGlace2_fla.Symbol93_319)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol93_319 extends MovieClip {
public function Symbol93_319(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 155
//Symbol94_321 (AnnaGlace2_fla.Symbol94_321)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol94_321 extends MovieClip {
public function Symbol94_321(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 156
//Symbol95_293 (AnnaGlace2_fla.Symbol95_293)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol95_293 extends MovieClip {
public function Symbol95_293(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 157
//Symbol95copy_305 (AnnaGlace2_fla.Symbol95copy_305)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol95copy_305 extends MovieClip {
public function Symbol95copy_305(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 158
//Symbol96_359 (AnnaGlace2_fla.Symbol96_359)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol96_359 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 159
//Symbol96copy_291 (AnnaGlace2_fla.Symbol96copy_291)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol96copy_291 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 160
//Symbol97_360 (AnnaGlace2_fla.Symbol97_360)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol97_360 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 161
//Symbol97copy_312 (AnnaGlace2_fla.Symbol97copy_312)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol97copy_312 extends MovieClip {
public var mc1:MovieClip;
}
}//package AnnaGlace2_fla
Section 162
//Symbol98_584 (AnnaGlace2_fla.Symbol98_584)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class Symbol98_584 extends MovieClip {
public var mc1:MovieClip;
public function Symbol98_584(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package AnnaGlace2_fla
Section 163
//tante_266 (AnnaGlace2_fla.tante_266)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class tante_266 extends MovieClip {
public function tante_266(){
addFrameScript(46, frame47, 58, frame59, 64, frame65);
}
function frame65(){
gotoAndPlay("angry");
}
function frame47(){
gotoAndPlay("idle");
}
function frame59(){
gotoAndPlay("eating");
}
}
}//package AnnaGlace2_fla
Section 164
//tante_280 (AnnaGlace2_fla.tante_280)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class tante_280 extends MovieClip {
public function tante_280(){
addFrameScript(46, frame47, 58, frame59, 64, frame65);
}
function frame65(){
gotoAndPlay("angry");
}
function frame47(){
gotoAndPlay("idle");
}
function frame59(){
gotoAndPlay("eating");
}
}
}//package AnnaGlace2_fla
Section 165
//tempatsampah_438 (AnnaGlace2_fla.tempatsampah_438)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class tempatsampah_438 extends MovieClip {
public var mcthrow:MovieClip;
public function tempatsampah_438(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
stop();
}
}
}//package AnnaGlace2_fla
Section 166
//tmpt_ice_402 (AnnaGlace2_fla.tmpt_ice_402)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class tmpt_ice_402 extends MovieClip {
public var btn3:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc2:MovieClip;
public var mcrefill2:MovieClip;
public var btn1:SimpleButton;
public var mcrefill3:MovieClip;
public var btn2:SimpleButton;
public var mcrefill1:MovieClip;
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
}
}//package AnnaGlace2_fla
Section 167
//tmpt_topping_385 (AnnaGlace2_fla.tmpt_topping_385)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class tmpt_topping_385 extends MovieClip {
public var btncherry:SimpleButton;
public var btnbean:SimpleButton;
public var btnchocostick:SimpleButton;
public var btnchocochips:SimpleButton;
public var mcrefill2:MovieClip;
public var mcrefill5:MovieClip;
public var mcrefill6:MovieClip;
public var mcrefill3:MovieClip;
public var mcrefill4:MovieClip;
public var mcrefill1:MovieClip;
public var btnstrawberry:SimpleButton;
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt5:TextField;
public var txt6:TextField;
public var txt4:TextField;
public var btnbanana:SimpleButton;
}
}//package AnnaGlace2_fla
Section 168
//toppingpanel_456 (AnnaGlace2_fla.toppingpanel_456)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class toppingpanel_456 extends MovieClip {
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc5:MovieClip;
public var mc2:MovieClip;
public var mc4:MovieClip;
public var mc7:MovieClip;
public var btnmix:SimpleButton;
public var mc6:MovieClip;
public var txt1:TextField;
public var txt5:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt6:TextField;
public var txt7:TextField;
public var txt4:TextField;
}
}//package AnnaGlace2_fla
Section 169
//TRANSISIBEGRON_20 (AnnaGlace2_fla.TRANSISIBEGRON_20)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class TRANSISIBEGRON_20 extends MovieClip {
public function TRANSISIBEGRON_20(){
addFrameScript(0, frame1, 1, frame2, 20, frame21);
}
function frame1(){
stop();
this.visible = false;
}
function frame21(){
stop();
}
function frame2(){
this.visible = true;
}
}
}//package AnnaGlace2_fla
Section 170
//UPGRADE_130 (AnnaGlace2_fla.UPGRADE_130)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_130 extends MovieClip {
public var mccentang4:MovieClip;
public var mcsold2:MovieClip;
public var mcsold3:MovieClip;
public var mcsold5:MovieClip;
public var mcsold1:MovieClip;
public var mcsold4:MovieClip;
public var btnpre3:SimpleButton;
public var mc1:MovieClip;
public var btnpre5:SimpleButton;
public var mc5:MovieClip;
public var mc2:MovieClip;
public var mc4:MovieClip;
public var mc3:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang5:SimpleButton;
public var btnpre4:SimpleButton;
public var btncentang4:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var txt5:TextField;
public var txt2:TextField;
public var btnnext4:SimpleButton;
public var btnnext5:SimpleButton;
public var btnpre2:SimpleButton;
public var txt3:TextField;
public var btnnext3:SimpleButton;
public var mccentang1:MovieClip;
public var mccentang2:MovieClip;
public var mccentang3:MovieClip;
public var mccentang5:MovieClip;
public var txt4:TextField;
public var btncentang3:SimpleButton;
public var btncentang2:SimpleButton;
}
}//package AnnaGlace2_fla
Section 171
//UPGRADE_132 (AnnaGlace2_fla.UPGRADE_132)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_132 extends MovieClip {
public function UPGRADE_132(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 172
//UPGRADE_133 (AnnaGlace2_fla.UPGRADE_133)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_133 extends MovieClip {
public function UPGRADE_133(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 173
//UPGRADE_134 (AnnaGlace2_fla.UPGRADE_134)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_134 extends MovieClip {
public function UPGRADE_134(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 174
//UPGRADE_135 (AnnaGlace2_fla.UPGRADE_135)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_135 extends MovieClip {
public function UPGRADE_135(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 175
//UPGRADE_136 (AnnaGlace2_fla.UPGRADE_136)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_136 extends MovieClip {
public function UPGRADE_136(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 176
//UPGRADE_142 (AnnaGlace2_fla.UPGRADE_142)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_142 extends MovieClip {
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btnnext1:SimpleButton;
}
}//package AnnaGlace2_fla
Section 177
//UPGRADE_144 (AnnaGlace2_fla.UPGRADE_144)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_144 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 178
//UPGRADE_147 (AnnaGlace2_fla.UPGRADE_147)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_147 extends MovieClip {
public var mccentang4:MovieClip;
public var mcsold2:MovieClip;
public var mcsold3:MovieClip;
public var mcsold1:MovieClip;
public var mcsold4:MovieClip;
public var btnpre3:SimpleButton;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc2:MovieClip;
public var mc4:MovieClip;
public var btnpre1:SimpleButton;
public var btnpre2:SimpleButton;
public var btnpre4:SimpleButton;
public var btncentang4:SimpleButton;
public var btncentang1:SimpleButton;
public var btncentang2:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var btnnext4:SimpleButton;
public var txt2:TextField;
public var txt3:TextField;
public var btnnext3:SimpleButton;
public var mccentang1:MovieClip;
public var mccentang2:MovieClip;
public var mccentang3:MovieClip;
public var txt4:TextField;
public var btncentang3:SimpleButton;
}
}//package AnnaGlace2_fla
Section 179
//UPGRADE_148 (AnnaGlace2_fla.UPGRADE_148)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_148 extends MovieClip {
public function UPGRADE_148(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 180
//UPGRADE_149 (AnnaGlace2_fla.UPGRADE_149)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_149 extends MovieClip {
public function UPGRADE_149(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 181
//UPGRADE_165 (AnnaGlace2_fla.UPGRADE_165)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_165 extends MovieClip {
public function UPGRADE_165(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 182
//UPGRADE_177 (AnnaGlace2_fla.UPGRADE_177)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_177 extends MovieClip {
public function UPGRADE_177(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 183
//UPGRADE_178 (AnnaGlace2_fla.UPGRADE_178)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_178 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 184
//UPGRADE_180 (AnnaGlace2_fla.UPGRADE_180)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_180 extends MovieClip {
public var mcsold1:MovieClip;
public var mcsold2:MovieClip;
public var mcsold3:MovieClip;
public var mcsold4:MovieClip;
public var mcsold5:MovieClip;
public var mcsold6:MovieClip;
public var btnpre1:SimpleButton;
public var btnpre3:SimpleButton;
public var btnpre2:SimpleButton;
public var btnpre5:SimpleButton;
public var btnpre4:SimpleButton;
public var btnpre6:SimpleButton;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var btnnext3:SimpleButton;
public var btnnext4:SimpleButton;
public var btnnext5:SimpleButton;
public var btnnext6:SimpleButton;
public var mccentang1:SimpleButton;
public var mccentang2:MovieClip;
public var mccentang3:MovieClip;
public var mccentang4:MovieClip;
public var mccentang5:MovieClip;
public var mccentang6:MovieClip;
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mc5:MovieClip;
public var mc2:MovieClip;
public var mc4:MovieClip;
public var mc6:MovieClip;
public var btncentang1:SimpleButton;
public var btncentang2:SimpleButton;
public var btncentang3:SimpleButton;
public var btncentang4:SimpleButton;
public var btncentang5:SimpleButton;
public var btncentang6:SimpleButton;
public var txt1:TextField;
public var txt2:TextField;
public var txt3:TextField;
public var txt5:TextField;
public var txt6:TextField;
public var txt4:TextField;
}
}//package AnnaGlace2_fla
Section 185
//UPGRADE_181 (AnnaGlace2_fla.UPGRADE_181)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_181 extends MovieClip {
public function UPGRADE_181(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 186
//UPGRADE_182 (AnnaGlace2_fla.UPGRADE_182)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_182 extends MovieClip {
public function UPGRADE_182(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 187
//UPGRADE_183 (AnnaGlace2_fla.UPGRADE_183)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_183 extends MovieClip {
public function UPGRADE_183(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 188
//UPGRADE_188 (AnnaGlace2_fla.UPGRADE_188)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_188 extends MovieClip {
public function UPGRADE_188(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 189
//UPGRADE_189 (AnnaGlace2_fla.UPGRADE_189)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_189 extends MovieClip {
public function UPGRADE_189(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 190
//UPGRADE_190 (AnnaGlace2_fla.UPGRADE_190)
package AnnaGlace2_fla {
import flash.display.*;
public dynamic class UPGRADE_190 extends MovieClip {
public function UPGRADE_190(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AnnaGlace2_fla
Section 191
//UPGRADE_192 (AnnaGlace2_fla.UPGRADE_192)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_192 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 192
//UPGRADE_195 (AnnaGlace2_fla.UPGRADE_195)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_195 extends MovieClip {
public var mcsold2:MovieClip;
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var mc2:MovieClip;
public var btnpre2:SimpleButton;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var btncentang2:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var txt2:TextField;
public var mccentang1:SimpleButton;
public var mccentang2:MovieClip;
}
}//package AnnaGlace2_fla
Section 193
//UPGRADE_200 (AnnaGlace2_fla.UPGRADE_200)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_200 extends MovieClip {
public var mcsold2:MovieClip;
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var mc2:MovieClip;
public var btnpre2:SimpleButton;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var btncentang2:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var txt2:TextField;
public var mccentang1:SimpleButton;
public var mccentang2:MovieClip;
}
}//package AnnaGlace2_fla
Section 194
//UPGRADE_203 (AnnaGlace2_fla.UPGRADE_203)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_203 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 195
//UPGRADE_204 (AnnaGlace2_fla.UPGRADE_204)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_204 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 196
//UPGRADE_207 (AnnaGlace2_fla.UPGRADE_207)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_207 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 197
//UPGRADE_209 (AnnaGlace2_fla.UPGRADE_209)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_209 extends MovieClip {
public var mcsold2:MovieClip;
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var mc2:MovieClip;
public var btnpre2:SimpleButton;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var btncentang2:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var txt2:TextField;
public var mccentang1:SimpleButton;
public var mccentang2:MovieClip;
}
}//package AnnaGlace2_fla
Section 198
//UPGRADE_216 (AnnaGlace2_fla.UPGRADE_216)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_216 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 199
//UPGRADE_219 (AnnaGlace2_fla.UPGRADE_219)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_219 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 200
//UPGRADE_221 (AnnaGlace2_fla.UPGRADE_221)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_221 extends MovieClip {
public var mcsold2:MovieClip;
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var mc2:MovieClip;
public var btnpre2:SimpleButton;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var btncentang2:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var btnnext2:SimpleButton;
public var txt2:TextField;
public var mccentang1:SimpleButton;
public var mccentang2:MovieClip;
}
}//package AnnaGlace2_fla
Section 201
//UPGRADE_224 (AnnaGlace2_fla.UPGRADE_224)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_224 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 202
//UPGRADE_226 (AnnaGlace2_fla.UPGRADE_226)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_226 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 203
//UPGRADE_228 (AnnaGlace2_fla.UPGRADE_228)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_228 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 204
//UPGRADE_230 (AnnaGlace2_fla.UPGRADE_230)
package AnnaGlace2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UPGRADE_230 extends MovieClip {
public var mcsold1:MovieClip;
public var mc1:MovieClip;
public var btnpre1:SimpleButton;
public var btncentang1:SimpleButton;
public var txt1:TextField;
public var btnnext1:SimpleButton;
public var mccentang1:MovieClip;
}
}//package AnnaGlace2_fla
Section 205
//buangsampahsound (buangsampahsound)
package {
import flash.media.*;
public dynamic class buangsampahsound extends Sound {
}
}//package
Section 206
//bukubaliksound (bukubaliksound)
package {
import flash.media.*;
public dynamic class bukubaliksound extends Sound {
}
}//package
Section 207
//buttonsound (buttonsound)
package {
import flash.media.*;
public dynamic class buttonsound extends Sound {
}
}//package
Section 208
//buysound (buysound)
package {
import flash.media.*;
public dynamic class buysound extends Sound {
}
}//package
Section 209
//cannotbuysound (cannotbuysound)
package {
import flash.media.*;
public dynamic class cannotbuysound extends Sound {
}
}//package
Section 210
//closedstagesound (closedstagesound)
package {
import flash.media.*;
public dynamic class closedstagesound extends Sound {
}
}//package
Section 211
//icecream1 (icecream1)
package {
import flash.display.*;
public dynamic class icecream1 extends SimpleButton {
}
}//package
Section 212
//icecream10 (icecream10)
package {
import flash.display.*;
public dynamic class icecream10 extends SimpleButton {
}
}//package
Section 213
//icecream11 (icecream11)
package {
import flash.display.*;
public dynamic class icecream11 extends SimpleButton {
}
}//package
Section 214
//icecream12 (icecream12)
package {
import flash.display.*;
public dynamic class icecream12 extends SimpleButton {
}
}//package
Section 215
//icecream13 (icecream13)
package {
import flash.display.*;
public dynamic class icecream13 extends SimpleButton {
}
}//package
Section 216
//icecream14 (icecream14)
package {
import flash.display.*;
public dynamic class icecream14 extends SimpleButton {
}
}//package
Section 217
//icecream15 (icecream15)
package {
import flash.display.*;
public dynamic class icecream15 extends SimpleButton {
}
}//package
Section 218
//icecream16 (icecream16)
package {
import flash.display.*;
public dynamic class icecream16 extends SimpleButton {
}
}//package
Section 219
//icecream17 (icecream17)
package {
import flash.display.*;
public dynamic class icecream17 extends SimpleButton {
}
}//package
Section 220
//icecream18 (icecream18)
package {
import flash.display.*;
public dynamic class icecream18 extends SimpleButton {
}
}//package
Section 221
//icecream19 (icecream19)
package {
import flash.display.*;
public dynamic class icecream19 extends SimpleButton {
}
}//package
Section 222
//icecream2 (icecream2)
package {
import flash.display.*;
public dynamic class icecream2 extends SimpleButton {
}
}//package
Section 223
//icecream20 (icecream20)
package {
import flash.display.*;
public dynamic class icecream20 extends SimpleButton {
}
}//package
Section 224
//icecream21 (icecream21)
package {
import flash.display.*;
public dynamic class icecream21 extends SimpleButton {
}
}//package
Section 225
//icecream22 (icecream22)
package {
import flash.display.*;
public dynamic class icecream22 extends SimpleButton {
}
}//package
Section 226
//icecream23 (icecream23)
package {
import flash.display.*;
public dynamic class icecream23 extends SimpleButton {
}
}//package
Section 227
//icecream24 (icecream24)
package {
import flash.display.*;
public dynamic class icecream24 extends SimpleButton {
}
}//package
Section 228
//icecream3 (icecream3)
package {
import flash.display.*;
public dynamic class icecream3 extends SimpleButton {
}
}//package
Section 229
//icecream4 (icecream4)
package {
import flash.display.*;
public dynamic class icecream4 extends SimpleButton {
}
}//package
Section 230
//icecream5 (icecream5)
package {
import flash.display.*;
public dynamic class icecream5 extends SimpleButton {
}
}//package
Section 231
//icecream6 (icecream6)
package {
import flash.display.*;
public dynamic class icecream6 extends SimpleButton {
}
}//package
Section 232
//icecream7 (icecream7)
package {
import flash.display.*;
public dynamic class icecream7 extends SimpleButton {
}
}//package
Section 233
//icecream8 (icecream8)
package {
import flash.display.*;
public dynamic class icecream8 extends SimpleButton {
}
}//package
Section 234
//icecream9 (icecream9)
package {
import flash.display.*;
public dynamic class icecream9 extends SimpleButton {
}
}//package
Section 235
//icecreamfailedcone (icecreamfailedcone)
package {
import flash.display.*;
public dynamic class icecreamfailedcone extends SimpleButton {
}
}//package
Section 236
//icecreamfailedglass (icecreamfailedglass)
package {
import flash.display.*;
public dynamic class icecreamfailedglass extends SimpleButton {
}
}//package
Section 237
//icecreamfailedplate (icecreamfailedplate)
package {
import flash.display.*;
public dynamic class icecreamfailedplate extends SimpleButton {
}
}//package
Section 238
//ingamesound (ingamesound)
package {
import flash.media.*;
public dynamic class ingamesound extends Sound {
}
}//package
Section 239
//ingamesound2 (ingamesound2)
package {
import flash.media.*;
public dynamic class ingamesound2 extends Sound {
}
}//package
Section 240
//losesound (losesound)
package {
import flash.media.*;
public dynamic class losesound extends Sound {
}
}//package
Section 241
//mainmenusound (mainmenusound)
package {
import flash.media.*;
public dynamic class mainmenusound extends Sound {
}
}//package
Section 242
//moneysound (moneysound)
package {
import flash.media.*;
public dynamic class moneysound extends Sound {
}
}//package
Section 243
//mutersound (mutersound)
package {
import flash.media.*;
public dynamic class mutersound extends Sound {
}
}//package
Section 244
//ngerukessound (ngerukessound)
package {
import flash.media.*;
public dynamic class ngerukessound extends Sound {
}
}//package
Section 245
//orderplate (orderplate)
package {
import flash.display.*;
import flash.text.*;
public dynamic class orderplate extends MovieClip {
public var mc1:MovieClip;
public var mc3:MovieClip;
public var mctime:MovieClip;
public var mc2:MovieClip;
public var mc4:MovieClip;
public var mcyellow:MovieClip;
public var mcsuccess:MovieClip;
public var mcpayment:MovieClip;
public var mcfail:MovieClip;
public var txt1:TextField;
}
}//package
Section 246
//processsound (processsound)
package {
import flash.media.*;
public dynamic class processsound extends Sound {
}
}//package
Section 247
//resepsalahsound (resepsalahsound)
package {
import flash.media.*;
public dynamic class resepsalahsound extends Sound {
}
}//package
Section 248
//spark (spark)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
import flash.ui.*;
import flash.filters.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class spark extends MovieClip {
public var obj;
public function spark(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24);
}
function frame10(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame14(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame18(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame12(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame3(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame6(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame7(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame1(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame19(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame13(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame17(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame4(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame5(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame9(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame22(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame16(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame8(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame21(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame2(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame15(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame23(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame24(){
stop();
obj = this.parent;
if (obj != null){
obj.removeChild(this);
} else {
removeChild(this);
};
}
function frame20(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
function frame11(){
if ((Math.random() * 10) < 4){
if (this.visible){
this.visible = false;
} else {
this.visible = true;
};
};
}
}
}//package
Section 249
//stabsound (stabsound)
package {
import flash.media.*;
public dynamic class stabsound extends Sound {
}
}//package
Section 250
//tamudatangsound (tamudatangsound)
package {
import flash.media.*;
public dynamic class tamudatangsound extends Sound {
}
}//package
Section 251
//winsound (winsound)
package {
import flash.media.*;
public dynamic class winsound extends Sound {
}
}//package