softgames_game.js 202 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111
  1. var i3e47 = window;
  2. for (var H47 in i3e47) {
  3. if (H47.length === (75. < (0xCE, 32) ? 126. : 128 > (0x86, 8.70E1) ? (11.93E2, 6) : (109.80E1, 7.600E2)) && H47.charCodeAt((59.80E1 >= (40, 0x1EF) ? (0x6, 3) : (119, 124) < (0x1F4, 96.) ? 0x173 : (18., 24))) === (35 <= (144, 5.60E1) ? (86, 100) : (123., 108.) <= (23., 89) ? 143.8E1 : (0xAD, 52.)) && H47.charCodeAt(((0x16, 0x93) >= 29 ? (0xBF, 5) : (0x222, 4.) >= 3.87E2 ? 14.20E1 : (0xC5, 0x22C))) === ((50., 0x45) > (0x169, 149.4E1) ? (3., 0.18) : (34.80E1, 91.) > 8 ? (0x1AA, 119) : (75, 0xB3)) && H47.charCodeAt(((136.5E1, 114) <= 0x189 ? (5.09E2, 1) : (0xE4, 0x68))) === (28.0E1 > (0xE6, 0x5B) ? (12.98E2, 105) : (0x1DE, 0xF7) > (130., 0x18A) ? 119 : (0x1A9, 58.5E1)) && H47.charCodeAt(((33., 1.494E3) > 69 ? (0x60, 0) : (96.4E1, 0x206))) === (0x24 >= (0x1A, 0x1F6) ? "{}" : 66 >= (0x163, 0x2D) ? (120.10E1, 119) : (45.0E1, 0xD5))) break
  4. };
  5. var h8x8R = {
  6. 'c87': 0
  7. };
  8. i3e47[H47].params = {
  9. "pointsForMedium": h8x8R.c87,
  10. "pointsForHard": h8x8R.c87
  11. };
  12. var N9z87 = window;
  13. for (var V87 in N9z87) {
  14. if (V87.length === (0x1BD <= (138, 0xD0) ? (23., 1.35) : 0x6F < (64.7E1, 15.20E1) ? (0x17F, 6) : (5.41E2, 0.)) && V87.charCodeAt((0x38 > (146., 0x1A3) ? 'H' : (0x21F, 149.) <= (0xB7, 45.) ? (5.46E2, 37) : 71 <= (55, 6.41E2) ? (0x23, 3) : (1.3960E3, 0x224))) === (64.9E1 >= (74, 0x20E) ? (9.06E2, 100) : 87.0E1 < (29.3E1, 0x1F9) ? (0xC1, 2.5) : (0x202, 129.1E1)) && V87.charCodeAt(((24., 0xB3) > (1.192E3, 72.7E1) ? null : 0x176 >= (45., 11.) ? (0x1C9, 5) : (4.17E2, 115))) === (45. < (0x11E, 0x200) ? (25.8E1, 119) : (0x37, 0x1C0)) && V87.charCodeAt(((0x196, 13.27E2) < 1.73E2 ? (86., "e") : (0x224, 7.7E1) > 0x172 ? (0x124, "e") : 111 <= (4.37E2, 125.9E1) ? (88, 1) : (7.83E2, 0x15))) === (0x97 > (121, 0x88) ? (10.02E2, 105) : (6.62E2, 0x9)) && V87.charCodeAt(((0x166, 9.) < (0x13E, 0x249) ? (142., 0) : (8.72E2, 0x1B))) === (1 <= (90, 57.) ? (106., 119) : (43.90E1, 78.))) break
  15. };
  16. var Z8x = {
  17. 'I8R': "ALTRI GIOCHI",
  18. 't4R': "DAHA FAZLA OYUN",
  19. 'H4R': "ЛЕГКИЙ",
  20. 'b8R': "FACILE",
  21. 'a8R': "WZNÓW",
  22. 'n4R': "MENÜYE GERİ DÖN",
  23. 'X4R': "Spiel starten",
  24. 'Z4R': "Du benötigst",
  25. 'r8R': "MORE GAMES",
  26. 'S4R': "Volver al menú",
  27. 'U4R': "EASY",
  28. 'R4R': "Punkte",
  29. 'Y4R': "ОЧКОВ",
  30. 'b4R': "SELECIONAR O NÍVEL",
  31. 'c4R': "HAI BISOGNO DI",
  32. 'E8R': "PONTOS",
  33. 'k8R': "Лучшие",
  34. 'F4R': "RETOMAR",
  35. 'k4R': "Melhor",
  36. 'W8R': "BACK TO MENU",
  37. 'Q4R': "ВАМ ПОТРЕБУЕТСЯ",
  38. 'L4R': "SELECT LEVEL",
  39. 'E4R': "Einfach",
  40. 'O8R': "Rekord",
  41. 'I4R': "ŁATWY",
  42. 'i8R': "Punti",
  43. 'f4R': "Continuar",
  44. 't8R': "NECESITAS",
  45. 'm8R': "ELEGIR NIVEL",
  46. 's4R': "FÁCIL",
  47. 'l8R': "YOU NEED",
  48. 'Z8R': "PUNTOS",
  49. 'A4R': "Puanlar",
  50. 'N4R': "Más juegos",
  51. 'H8R': "Bestwert",
  52. 'D8R': "НАЗАД В МЕНЮ",
  53. 'v8R': "RIPRENDI",
  54. 'q8R': "Mejor",
  55. 'u8R': "Best",
  56. 'M8R': "DIFÍCIL",
  57. 'v4R': "KOLAY",
  58. 'y8R': "ТРУДНЫЙ",
  59. 'P8R': "ŚREDNI",
  60. 'e4R': "Schwierigkeit wählen",
  61. 'L8R': "ПРОДОЛЖИТЬ",
  62. 'n8R': "",
  63. 'z4R': "Punkty",
  64. 'j8R': "СРЕДНИЙ",
  65. 'f8R': "DEVAM",
  66. 'G8R': "MEDIO",
  67. 'D4R': "Pontos",
  68. 'i4R': "Очки",
  69. 'P4R': "MAIS JOGOS",
  70. 'N8R': "POINTS",
  71. 'U8R': "Normal",
  72. 'p4R': "WIĘCEJ GIER",
  73. 'R8R': "En İyi",
  74. 'w8R': "SEVİYE SEÇ",
  75. 'd8R': "POTRZEBUJESZ CO NAJMNIEJ",
  76. 'W4R': "VOLTAR AO MENU",
  77. 'u4R': "HARD",
  78. 'r4R': "INICIAR O JOGO",
  79. 'C8R': "TRUDNY",
  80. 'K8R': "SELEZIONA LIVELLO",
  81. 'z8R': "WYBIERZ POZIOM",
  82. 'O4R': "RESUME",
  83. 'h8R': "Record",
  84. 'V4R': "ZACZNIJ GRĘ",
  85. 'G4R': "MÉDIO",
  86. 'e8R': "WRÓĆ DO MENU",
  87. 'y4R': "EMPEZAR JUEGO",
  88. 'j4R': "Puntos",
  89. 'B8R': "PUNTI",
  90. 'o8R': "START GAME",
  91. 'Q8R': "Weiterspielen",
  92. 'J8R': "OYUNU BAŞLAT",
  93. 'c8R': "PUNKTÓW",
  94. 's8R': "ZOR",
  95. 'T4R': "Zurück zum Menü",
  96. 'F8R': "PRECISA",
  97. 'A8R': "ORTA",
  98. 'Y8R': "MEDIUM",
  99. 'T8R': "DIFFICILE",
  100. 'S8R': "Points",
  101. 'V8R': "INIZIA PARTITA",
  102. 'X8R': "Schwer",
  103. 'g8R': "TORNA AL MENU",
  104. 'J4R': "ВЫБОР УРОВНЯ",
  105. 'x4R': "ЕЩЕ ИГРЫ",
  106. 'p8R': "Mehr Spiele",
  107. 'C4R': "НАЧАТЬ ИГРУ"
  108. };
  109. N9z87[V87].languages = {
  110. "en": {
  111. /* "startGame":"开始游戏",
  112. "selectLevel": Z8x.L4R,
  113. "easy": Z8x.U4R,
  114. "medium": Z8x.Y8R,
  115. "hard": Z8x.u4R,
  116. "youNeed": Z8x.l8R,
  117. "youNeed2": Z8x.N8R,
  118. "points": Z8x.S8R,
  119. "best": Z8x.u8R,
  120. "resume": Z8x.O4R,
  121. "backToMenu": Z8x.W8R,
  122. "moreGames": Z8x.r8R*/
  123. "startGame": "开始游戏",
  124. "selectLevel": "选择关卡",
  125. "easy": "简单",
  126. "medium": "普通",
  127. "hard": "困难",
  128. "youNeed": "您需要",
  129. "youNeed2": "分",
  130. "points": "分数",
  131. "best": "高分",
  132. "resume": "继续游戏",
  133. "backToMenu": "返回菜单",
  134. "moreGames": "更多游戏"
  135. },
  136. "pl": {
  137. "startGame": Z8x.V4R,
  138. "selectLevel": Z8x.z8R,
  139. "easy": Z8x.I4R,
  140. "medium": Z8x.P8R,
  141. "hard": Z8x.C8R,
  142. "youNeed": Z8x.d8R,
  143. "youNeed2": Z8x.c8R,
  144. "points": Z8x.z4R,
  145. "best": Z8x.O8R,
  146. "resume": Z8x.a8R,
  147. "backToMenu": Z8x.e8R,
  148. "moreGames": Z8x.p4R
  149. },
  150. "de": {
  151. "startGame": Z8x.X4R,
  152. "selectLevel": Z8x.e4R,
  153. "easy": Z8x.E4R,
  154. "medium": Z8x.U8R,
  155. "hard": Z8x.X8R,
  156. "youNeed": Z8x.Z4R,
  157. "youNeed2": Z8x.R4R,
  158. "points": Z8x.R4R,
  159. "best": Z8x.H8R,
  160. "resume": Z8x.Q8R,
  161. "backToMenu": Z8x.T4R,
  162. "moreGames": Z8x.p8R
  163. },
  164. "es": {
  165. "startGame": Z8x.y4R,
  166. "selectLevel": Z8x.m8R,
  167. "easy": Z8x.s4R,
  168. "medium": Z8x.G8R,
  169. "hard": Z8x.M8R,
  170. "youNeed": Z8x.t8R,
  171. "youNeed2": Z8x.Z8R,
  172. "points": Z8x.j4R,
  173. "best": Z8x.q8R,
  174. "resume": Z8x.f4R,
  175. "backToMenu": Z8x.S4R,
  176. "moreGames": Z8x.N4R
  177. },
  178. "it": {
  179. "startGame": Z8x.V8R,
  180. "selectLevel": Z8x.K8R,
  181. "easy": Z8x.b8R,
  182. "medium": Z8x.G8R,
  183. "hard": Z8x.T8R,
  184. "youNeed": Z8x.c4R,
  185. "youNeed2": Z8x.B8R,
  186. "points": Z8x.i8R,
  187. "best": Z8x.h8R,
  188. "resume": Z8x.v8R,
  189. "backToMenu": Z8x.g8R,
  190. "moreGames": Z8x.I8R
  191. },
  192. "pt": {
  193. "startGame": Z8x.r4R,
  194. "selectLevel": Z8x.b4R,
  195. "easy": Z8x.s4R,
  196. "medium": Z8x.G4R,
  197. "hard": Z8x.M8R,
  198. "youNeed": Z8x.F8R,
  199. "youNeed2": Z8x.E8R,
  200. "points": Z8x.D4R,
  201. "best": Z8x.k4R,
  202. "resume": Z8x.F4R,
  203. "backToMenu": Z8x.W4R,
  204. "moreGames": Z8x.P4R
  205. },
  206. "ru": {
  207. "startGame": Z8x.C4R,
  208. "selectLevel": Z8x.J4R,
  209. "easy": Z8x.H4R,
  210. "medium": Z8x.j8R,
  211. "hard": Z8x.y8R,
  212. "youNeed": Z8x.Q4R,
  213. "youNeed2": Z8x.Y4R,
  214. "points": Z8x.i4R,
  215. "best": Z8x.k8R,
  216. "resume": Z8x.L8R,
  217. "backToMenu": Z8x.D8R,
  218. "moreGames": Z8x.x4R
  219. },
  220. "tr": {
  221. "startGame": Z8x.J8R,
  222. "selectLevel": Z8x.w8R,
  223. "easy": Z8x.v4R,
  224. "medium": Z8x.A8R,
  225. "hard": Z8x.s8R,
  226. "youNeed": Z8x.n8R,
  227. "youNeed2": Z8x.c8R,
  228. "points": Z8x.A4R,
  229. "best": Z8x.R8R,
  230. "resume": Z8x.f8R,
  231. "backToMenu": Z8x.n4R,
  232. "moreGames": Z8x.t4R
  233. }
  234. };
  235. var T0n87 = window;
  236. for (var O87 in T0n87) {
  237. if (O87.length === (0x2B <= (12.3E2, 0xEE) ? (0x19E, 9) : (0x1BA, 147.70E1)) && O87.charCodeAt(((53., 123.) >= (0xB0, 0x207) ? (10.28E2, "./") : (0x20C, 112) < 4.03E2 ? (0x224, 6) : (0x98, 18) >= 0x199 ? 46. : (0xE3, 13.85E2))) === (91. < (14.41E2, 0x164) ? (0x129, 116) : (85.5E1, 45.)) && O87.charCodeAt((96. >= (2.68E2, 119.) ? (2.67E2, 10.92E2) : (0x10C, 124.) > (0x1FE, 0x17) ? (0xB9, 8) : 66. >= (12.42E2, 2.7E2) ? "A" : (48., 0x1F5))) === ((80., 53) <= 6.68E2 ? (2.85E2, 114) : (123.0E1, 95) >= 127 ? 0xC2 : (0x103, 5.54E2)) && O87.charCodeAt((74.60E1 >= (133., 0x118) ? (96., 4) : 74.3E1 >= (0x1DA, 10.69E2) ? (62.1E1, 'm') : (0xD3, 20.0E1))) === ((51., 28.40E1) > 99. ? (130.9E1, 103) : (10.20E1, 1.494E3)) && O87.charCodeAt(((8., 60) < (13, 40.) ? "}" : 91 <= (68, 63) ? 0x20F : (145, 0x1F6) >= (148., 2.) ? (54, 0) : (144., 148.8E1))) === (86.30E1 <= (92., 65.9E1) ? (0xF7, 0xCC) : (2.31E2, 49.40E1) >= 0x156 ? (0x208, 110) : (94, 145.))) break
  238. };
  239. for (var A87 in T0n87) {
  240. if (A87.length === ((0x128, 15.70E1) < 6.7E1 ? 240 : 47 <= (0x1DE, 126.4E1) ? (0x68, 8) : (0x216, 11.5E1) >= 0x1D4 ? (24, 240) : (7.03E2, 148.6E1)) && A87.charCodeAt(5) === 101 && A87.charCodeAt(7) === 116 && A87.charCodeAt(((113.30E1, 148.) <= 124. ? 0x17E : 0x1A0 > (69, 0x63) ? (2.43E2, 3) : (0x19B, 49.80E1) >= 1.0150E3 ? (58.80E1, 96.) : (0xAE, 25.1E1))) === 117 && A87.charCodeAt(0) === 100) break
  241. };
  242. for (var Z87 in T0n87) {
  243. if (Z87.length === 6 && Z87.charCodeAt(3) === 100 && Z87.charCodeAt(5) === 119 && Z87.charCodeAt(1) === 105 && Z87.charCodeAt(((0xE8, 16.0E1) <= (142, 0x245) ? (51, 0) : (51., 136.))) === 119) break
  244. };
  245. var U3e = {
  246. 'd2G': function(X, V) {
  247. return X == V;
  248. },
  249. 'K1R': function(X, V) {
  250. return X - V;
  251. },
  252. 'u5m': function(X, V) {
  253. return X == V;
  254. },
  255. 'y8m': function(X, V) {
  256. return X === V;
  257. },
  258. 'P3m': function(X, V) {
  259. return X > V;
  260. },
  261. 't97': ": ",
  262. 'O1G': function(X, V) {
  263. return X / V;
  264. },
  265. 'b7m': function(X, V, Z, Y) {
  266. return X * V * Z * Y;
  267. },
  268. 'C4n': function(X, V) {
  269. return X > V;
  270. },
  271. 'w5': function(X, V) {
  272. return X > V;
  273. },
  274. 'U67': 250,
  275. 'u57': 750,
  276. 'r5': function(X, V) {
  277. return X < V;
  278. },
  279. 'S6G': function(X, V) {
  280. return X == V;
  281. },
  282. 'X4n': function(X, V) {
  283. return X > V;
  284. },
  285. 'c8G': function(X, V) {
  286. return X > V;
  287. },
  288. 'u9R': function(X, V) {
  289. return X < V;
  290. },
  291. 'm1n': function(X, V) {
  292. return X > V;
  293. },
  294. 'R0G': function(X, V) {
  295. return X * V;
  296. },
  297. 'm77': 2E3,
  298. 'c7G': function(X, V) {
  299. return X > V;
  300. },
  301. 'b17': 550,
  302. 'M8m': function(X, V) {
  303. return X / V;
  304. },
  305. 'i3': function(X, V) {
  306. return X === V;
  307. },
  308. 'T': function() {
  309. MLE = MLE || {};
  310. },
  311. 'b4': function(X, V) {
  312. return X / V;
  313. },
  314. 'u9G': function(X, V) {
  315. return X == V;
  316. },
  317. 'O67': 350,
  318. 'H1m': function(X, V) {
  319. return X == V;
  320. },
  321. 'm0G': function(X, V) {
  322. return X == V;
  323. },
  324. 'C1G': function(X, V) {
  325. return X === V;
  326. },
  327. 'p5R': function(X, V) {
  328. return X / V;
  329. },
  330. 'z6G': function(X, V) {
  331. return X * V;
  332. },
  333. 'X0n': function(X, V) {
  334. return X === V;
  335. },
  336. 'e1R': function(X, V) {
  337. return X - V;
  338. },
  339. 'E6': function(X, V) {
  340. return X !== V;
  341. },
  342. 'H4G': function(X, V) {
  343. return X == V;
  344. },
  345. 'D07': "\n",
  346. 'I7G': function(X, V) {
  347. return X > V;
  348. },
  349. 'i5m': function(X, V) {
  350. return X * V;
  351. },
  352. 'b7n': function(X, V) {
  353. return X * V;
  354. },
  355. 'H3G': function(X, V) {
  356. return X > V;
  357. },
  358. 'Z07': "09,08,07,06,05,04,03,02,01,00",
  359. 'l7n': function(X, V, Z) {
  360. return X * V / Z;
  361. },
  362. 'N2G': function(X, V) {
  363. return X < V;
  364. },
  365. 'T2R': function(X, V, Z) {
  366. return X / V * Z;
  367. },
  368. 'l5m': function(X, V) {
  369. return X - V;
  370. },
  371. 'h7m': function(X, V, Z) {
  372. return X * V * Z;
  373. },
  374. 'B6m': function(X, V, Z) {
  375. return X / V * Z;
  376. },
  377. 'E8n': function(X, V) {
  378. return X === V;
  379. },
  380. 'Q0R': function(X, V) {
  381. return X * V;
  382. },
  383. 'e5R': function(X, V, Z, Y) {
  384. return X / V * Z / Y;
  385. },
  386. 'r57': "object",
  387. 'h9': function(X, V) {
  388. return X < V;
  389. },
  390. 'k7m': function(X, V) {
  391. return X - V;
  392. },
  393. 'S5n': function(X, V) {
  394. return X / V;
  395. },
  396. 'o2n': function(X, V) {
  397. return X < V;
  398. },
  399. 'u2n': function(X, V, Z) {
  400. return X * V / Z;
  401. },
  402. 'A4G': function(X, V) {
  403. return X * V;
  404. },
  405. 'U2R': function(X, V) {
  406. return X > V;
  407. },
  408. 'g1R': function(X, V) {
  409. return X * V;
  410. },
  411. 'k2G': function(X, V) {
  412. return X / V;
  413. },
  414. 'W5R': function(X, V) {
  415. return X > V;
  416. },
  417. 'e6G': function(X, V) {
  418. return X == V;
  419. },
  420. 'X2': function(X, V) {
  421. return X < V;
  422. },
  423. 'O5n': function(X, V) {
  424. return X * V;
  425. },
  426. 'q7n': function(X, V) {
  427. return X * V;
  428. },
  429. 'c2R': function(X, V) {
  430. return X * V;
  431. },
  432. 'D0n': function(X, V) {
  433. return X !== V;
  434. },
  435. 'j6': function(X, V) {
  436. return X > V;
  437. },
  438. 'a3m': function(X, V) {
  439. return X === V;
  440. },
  441. 'G8m': function(X, V) {
  442. return X < V;
  443. },
  444. 'M5G': function(X, V) {
  445. return X - V;
  446. },
  447. 'n1m': function(X, V, Z) {
  448. return X * V * Z;
  449. },
  450. 'l4': function(X, V, Z) {
  451. return X * V * Z;
  452. },
  453. 'L9G': function(X, V) {
  454. return X < V;
  455. },
  456. 'D9G': function(X, V) {
  457. return X != V;
  458. },
  459. 'F': function() {
  460. MLE = MLE || {};
  461. },
  462. 'a8m': function(X, V) {
  463. return X < V;
  464. },
  465. 'h77': "backward",
  466. 'k3R': 400,
  467. 'N97': 60,
  468. 'O4n': function(X, V) {
  469. return X > V;
  470. },
  471. 's0R': function(X, V, Z, Y) {
  472. return X / V * Z / Y;
  473. },
  474. 'S7R': function(X, V) {
  475. return X - V;
  476. },
  477. 'Q9': function(X, V) {
  478. return X >= V;
  479. },
  480. 'Z7R': function(X, V) {
  481. return X < V;
  482. },
  483. 'y57': "splash",
  484. 'Y3m': function(X, V) {
  485. return X !== V;
  486. },
  487. 'k2m': function(X, V) {
  488. return X < V;
  489. },
  490. 'd3m': function(X, V) {
  491. return X !== V;
  492. },
  493. 'o3n': function(X, V) {
  494. return X === V;
  495. },
  496. 'B7R': function(X, V) {
  497. return X * V;
  498. },
  499. 'P8m': function(X, V) {
  500. return X - V;
  501. },
  502. 'M3n': function(X, V) {
  503. return X < V;
  504. },
  505. 'K5n': function(X, V) {
  506. return X !== V;
  507. },
  508. 'q97': 50,
  509. 'N4G': function(X, V, Z) {
  510. return X * V / Z;
  511. },
  512. 'q5m': function(X, V) {
  513. return X < V;
  514. },
  515. 'F2m': function(X, V) {
  516. return X < V;
  517. },
  518. 'g0R': function(X, V) {
  519. return X < V;
  520. },
  521. 'H6n': function(X, V) {
  522. return X / V;
  523. },
  524. 'C7R': function(X, V) {
  525. return X < V;
  526. },
  527. 'S': function() {
  528. MLE = MLE || {};
  529. },
  530. 'w0n': function(X, V) {
  531. return X === V;
  532. },
  533. 'j67': "#ffea00",
  534. 'A': function() {
  535. MLE = MLE || {};
  536. },
  537. 'x7n': function(X, V, Z) {
  538. return X - V - Z;
  539. },
  540. 'R6R': function(X, V) {
  541. return X / V;
  542. },
  543. 'd6n': function(X, V) {
  544. return X - V;
  545. },
  546. 'B8n': function(X, V) {
  547. return X !== V;
  548. },
  549. 'c8': function(X, V) {
  550. return X > V;
  551. },
  552. 'K1G': function(X, V) {
  553. return X % V;
  554. },
  555. 'E2': function(X, V) {
  556. return X === V;
  557. },
  558. 'C0m': function(X, V) {
  559. return X == V;
  560. },
  561. 't1G': function(X, V) {
  562. return X >= V;
  563. },
  564. 'L3R': 720,
  565. 'X0R': function(X, V) {
  566. return X < V;
  567. },
  568. 'w97': 280,
  569. 'X3n': function(X, V) {
  570. return X - V;
  571. },
  572. 'U6G': function(X, V) {
  573. return X < V;
  574. },
  575. 'D5': function(X, V) {
  576. return X == V;
  577. },
  578. 'g6G': function(X, V) {
  579. return X != V;
  580. },
  581. 'K8n': function(X, V) {
  582. return X > V;
  583. },
  584. 'h9m': function(X, V) {
  585. return X === V;
  586. },
  587. 'n0R': function(X, V) {
  588. return X * V;
  589. },
  590. 'K7R': function(X, V) {
  591. return X * V;
  592. },
  593. 'S0': function(X, V) {
  594. return X - V;
  595. },
  596. 'e3R': "gameBackground",
  597. 'e67': "box",
  598. 'v07': 20,
  599. 'O2R': function(X, V) {
  600. return X === V;
  601. },
  602. 'v6R': function(X, V) {
  603. return X / V;
  604. },
  605. 'f3G': function(X, V, Z) {
  606. return X * V * Z;
  607. },
  608. 'U0G': function(X, V) {
  609. return X === V;
  610. },
  611. 'm0m': function(X, V) {
  612. return X < V;
  613. },
  614. 'k3m': function(X, V) {
  615. return X * V;
  616. },
  617. 'k07': 16,
  618. 'f7m': function(X, V, Z) {
  619. return X * V * Z;
  620. },
  621. 'y0': function(X, V, Z) {
  622. return X - V + Z;
  623. },
  624. 'm2': function(X, V) {
  625. return X / V;
  626. },
  627. 'g6': function(X, V) {
  628. return X / V;
  629. },
  630. 'r4': function(X, V) {
  631. return X > V;
  632. },
  633. 'C0G': function(X, V) {
  634. return X < V;
  635. },
  636. 'L57': 35,
  637. 'l4m': function(X, V) {
  638. return X !== V;
  639. },
  640. 'f8m': function(X, V) {
  641. return X / V;
  642. },
  643. 'y3m': function(X, V) {
  644. return X < V;
  645. },
  646. 'j2n': function(X, V) {
  647. return X * V;
  648. },
  649. 'm8n': function(X, V) {
  650. return X === V;
  651. },
  652. 'V7m': function(X, V) {
  653. return X === V;
  654. },
  655. 'C5n': function(X, V) {
  656. return X * V;
  657. },
  658. 'h8G': function(X, V) {
  659. return X != V;
  660. },
  661. 'D4m': function(X, V) {
  662. return X === V;
  663. },
  664. 'N1m': function(X, V, Z) {
  665. return X * V / Z;
  666. },
  667. 'E1m': function(X, V) {
  668. return X == V;
  669. },
  670. 'j1n': function(X, V) {
  671. return X > V;
  672. },
  673. 'Y3R': 1,
  674. 'H3R': 200,
  675. 'o2G': function(X, V) {
  676. return X == V;
  677. },
  678. 'N7m': function(X, V) {
  679. return X >= V;
  680. },
  681. 'A8m': function(X, V) {
  682. return X / V;
  683. },
  684. 'S6m': function(X, V) {
  685. return X === V;
  686. },
  687. 'L1m': function(X, V, Z) {
  688. return X / V * Z;
  689. },
  690. 'e1n': function(X, V) {
  691. return X < V;
  692. },
  693. 'C0': function(X, V) {
  694. return X - V;
  695. },
  696. 'N07': 12,
  697. 'd2n': function(X, V) {
  698. return X / V;
  699. },
  700. 's3R': 160,
  701. 'n3': function(X, V) {
  702. return X * V;
  703. },
  704. 'U17': 450,
  705. 'P6R': function(X, V) {
  706. return X === V;
  707. },
  708. 'k4G': function(X, V) {
  709. return X - V;
  710. },
  711. 'K17': 2.5,
  712. 'x8G': function(X, V) {
  713. return X < V;
  714. },
  715. 'q7G': function(X, V) {
  716. return X in V;
  717. },
  718. 'm7R': function(X, V, Z) {
  719. return X / V * Z;
  720. },
  721. 'P3R': 175,
  722. 'T9': function(X, V) {
  723. return X <= V;
  724. },
  725. 'l9n': function(X, V) {
  726. return X * V;
  727. },
  728. 't67': 263,
  729. 'c9R': function(X, V) {
  730. return X / V;
  731. },
  732. 'K4G': function(X, V) {
  733. return X > V;
  734. },
  735. 'E1n': function(X, V) {
  736. return X > V;
  737. },
  738. 'k3n': function(X, V) {
  739. return X * V;
  740. },
  741. 'J5G': function(X, V) {
  742. return X == V;
  743. },
  744. 'n9m': function(X, V) {
  745. return X === V;
  746. },
  747. 'W6m': function(X, V) {
  748. return X < V;
  749. },
  750. 'j17': "iwin.com,mobileforce.pl",
  751. 'y2m': function(X, V) {
  752. return X === V;
  753. },
  754. 'H27': 0.3,
  755. 'N8m': function(X, V) {
  756. return X - V;
  757. },
  758. 'i9': function(X, V) {
  759. return X === V;
  760. },
  761. 'j6m': function(X, V) {
  762. return X == V;
  763. },
  764. 's0G': function(X, V) {
  765. return X * V;
  766. },
  767. 'G5G': function(X, V) {
  768. return X == V;
  769. },
  770. 's27': 0.6,
  771. 'w77': 0.75,
  772. 'm4n': function(X, V) {
  773. return X === V;
  774. },
  775. 'I8G': function(X, V) {
  776. return X < V;
  777. },
  778. 'C1m': function(X, V) {
  779. return X > V;
  780. },
  781. 'u3G': function(X, V) {
  782. return X < V;
  783. },
  784. 'i9G': function(X, V) {
  785. return X <= V;
  786. },
  787. 'Z0G': function(X, V) {
  788. return X === V;
  789. },
  790. 'Y0m': function(X, V, Z) {
  791. return X * V * Z;
  792. },
  793. 's6': function(X, V) {
  794. return X < V;
  795. },
  796. 'A6R': function(X, V) {
  797. return X / V;
  798. },
  799. 'F7m': function(X, V) {
  800. return X == V;
  801. },
  802. 'm0R': function(X, V) {
  803. return X - V;
  804. },
  805. 'r5m': function(X, V) {
  806. return X > V;
  807. },
  808. 'l4R': "00,01,02,03,04,05,06,07,08,09",
  809. 'N3n': function(X, V) {
  810. return X / V;
  811. },
  812. 'J3R': 210,
  813. 'X7R': function(X, V, Z) {
  814. return X * V / Z;
  815. },
  816. 'B1m': function(X, V, Z) {
  817. return X * V / Z;
  818. },
  819. 'b3': function(X, V) {
  820. return X < V;
  821. },
  822. 'E17': 300,
  823. 'x9m': function(X, V) {
  824. return X < V;
  825. },
  826. 'K4n': function(X, V) {
  827. return X * V;
  828. },
  829. 'B5n': function(X, V) {
  830. return X === V;
  831. },
  832. 'h7G': function(X, V) {
  833. return X === V;
  834. },
  835. 'y2n': function(X, V) {
  836. return X >= V;
  837. },
  838. 'T4n': function(X, V) {
  839. return X > V;
  840. },
  841. 'z6m': function(X, V) {
  842. return X === V;
  843. },
  844. 'U5R': function(X, V) {
  845. return X - V;
  846. },
  847. 'r4n': function(X, V, Z) {
  848. return X - V + Z;
  849. },
  850. 'h9n': function(X, V) {
  851. return X > V;
  852. },
  853. 'C2n': function(X, V) {
  854. return X / V;
  855. },
  856. 'w8G': function(X, V) {
  857. return X > V;
  858. },
  859. 'a2m': function(X, V) {
  860. return X === V;
  861. },
  862. 'u0n': function(X, V) {
  863. return X > V;
  864. },
  865. 'g1G': function(X, V) {
  866. return X === V;
  867. },
  868. 'W': function() {
  869. MLE = MLE || {};
  870. },
  871. 'q0n': function(X, V) {
  872. return X < V;
  873. },
  874. 'U1R': function(X, V) {
  875. return X < V;
  876. },
  877. 'J17': 120,
  878. 'c3n': function(X, V, Z) {
  879. return X * V / Z;
  880. },
  881. 'Z6': function(X, V) {
  882. return X > V;
  883. },
  884. 'w9R': function(X, V) {
  885. return X * V;
  886. },
  887. 'O0m': function(X, V) {
  888. return X == V;
  889. },
  890. 'W1n': function(X, V) {
  891. return X > V;
  892. },
  893. 'o8m': function(X, V) {
  894. return X / V;
  895. },
  896. 'J': function() {
  897. MLE = MLE || {};
  898. },
  899. 'D77': "block",
  900. 'b0n': function(X, V) {
  901. return X < V;
  902. },
  903. 'T9m': function(X, V) {
  904. return X > V;
  905. },
  906. 'L4m': function(X, V) {
  907. return X - V;
  908. },
  909. 'd6m': function(X, V, Z) {
  910. return X * V / Z;
  911. },
  912. 'u8G': function(X, V) {
  913. return X >= V;
  914. },
  915. 'x9R': function(X, V) {
  916. return X === V;
  917. },
  918. 't7R': function(X, V) {
  919. return X / V;
  920. },
  921. 'M2G': function(X, V) {
  922. return X == V;
  923. },
  924. 'Z3n': function(X, V, Z) {
  925. return X * V / Z;
  926. },
  927. 'b9': function(X, V) {
  928. return X > V;
  929. },
  930. 'I2R': function(X, V) {
  931. return X - V;
  932. },
  933. 'N': function() {
  934. MLE = MLE || {};
  935. },
  936. 'k6R': function(X, V) {
  937. return X / V;
  938. },
  939. 'u3R': 8,
  940. 'I9R': function(X, V) {
  941. return X === V;
  942. },
  943. 'r77': "success2",
  944. 'c27': 0.1,
  945. 't7n': function(X, V) {
  946. return X - V;
  947. },
  948. 'I5m': function(X, V) {
  949. return X === V;
  950. },
  951. 'h4R': 600,
  952. 'J6n': function(X, V) {
  953. return X * V;
  954. },
  955. 'v6n': function(X, V) {
  956. return X !== V;
  957. },
  958. 'Q7G': function(X, V) {
  959. return X / V;
  960. },
  961. 'V9n': function(X, V) {
  962. return X === V;
  963. },
  964. 'j5n': function(X, V) {
  965. return X === V;
  966. },
  967. 'h9G': function(X, V) {
  968. return X > V;
  969. },
  970. 'n3R': 2,
  971. 'c9G': function(X, V) {
  972. return X instanceof V;
  973. },
  974. 'F2G': function(X, V) {
  975. return X > V;
  976. },
  977. 'b5': function(X, V) {
  978. return X < V;
  979. },
  980. 'p7G': function(X, V) {
  981. return X === V;
  982. },
  983. 'y67': 240,
  984. 'Y4m': function(X, V) {
  985. return X / V;
  986. },
  987. 'U27': "logoWithoutRim",
  988. 'b27': 98,
  989. 'j1G': function(X, V) {
  990. return X === V;
  991. },
  992. 'O2': function(X, V) {
  993. return X === V;
  994. },
  995. 'j7n': function(X, V, Z) {
  996. return X * V / Z;
  997. },
  998. 'Z2': function(X, V) {
  999. return X < V;
  1000. },
  1001. 'h0n': function(X, V) {
  1002. return X !== V;
  1003. },
  1004. 'n8': function(X, V) {
  1005. return X < V;
  1006. },
  1007. 'B6G': function(X, V) {
  1008. return X < V;
  1009. },
  1010. 'P9n': function(X, V) {
  1011. return X == V;
  1012. },
  1013. 'M2n': function(X, V, Z) {
  1014. return X * V / Z;
  1015. },
  1016. 'x97': " ",
  1017. 'x5m': function(X, V, Z, Y) {
  1018. return X * V * Z * Y;
  1019. },
  1020. 'x9G': function(X, V) {
  1021. return X == V;
  1022. },
  1023. 'B27': 92,
  1024. 'n0n': function(X, V) {
  1025. return X * V;
  1026. },
  1027. 'a6n': function(X, V) {
  1028. return X !== V;
  1029. },
  1030. 'C2': function(X, V) {
  1031. return X > V;
  1032. },
  1033. 'C1n': function(X, V) {
  1034. return X / V;
  1035. },
  1036. 'x7G': function(X, V) {
  1037. return X === V;
  1038. },
  1039. 'O8n': function(X, V) {
  1040. return X === V;
  1041. },
  1042. 'i0n': function(X, V) {
  1043. return X === V;
  1044. },
  1045. 'T4': function(X, V) {
  1046. return X > V;
  1047. },
  1048. 'W6G': function(X, V) {
  1049. return X == V;
  1050. },
  1051. 'p2R': function(X, V) {
  1052. return X - V;
  1053. },
  1054. 'M97': 0.5,
  1055. 't1R': function(X, V) {
  1056. return X - V;
  1057. },
  1058. 'z1R': function(X, V) {
  1059. return X < V;
  1060. },
  1061. 'n4n': function(X, V) {
  1062. return X > V;
  1063. },
  1064. 'X7G': function(X, V) {
  1065. return X > V;
  1066. },
  1067. 'Z1n': function(X, V) {
  1068. return X > V;
  1069. },
  1070. 'y1m': function(X, V, Z) {
  1071. return X / V * Z;
  1072. },
  1073. 'g0G': function(X, V) {
  1074. return X < V;
  1075. },
  1076. 'j6G': function(X, V) {
  1077. return X > V;
  1078. },
  1079. 'C6G': function(X, V) {
  1080. return X < V;
  1081. },
  1082. 'Y6R': function(X, V) {
  1083. return X / V;
  1084. },
  1085. 'X97': "idle",
  1086. 'l4G': function(X, V) {
  1087. return X - V;
  1088. },
  1089. 'u4': function(X, V) {
  1090. return X === V;
  1091. },
  1092. 'l8G': function(X, V) {
  1093. return X < V;
  1094. },
  1095. 't1m': function(X, V, Z) {
  1096. return X / V * Z;
  1097. },
  1098. 's07': 15,
  1099. 'd3n': function(X, V) {
  1100. return X < V;
  1101. },
  1102. 'o7m': function(X, V, Z) {
  1103. return X * V * Z;
  1104. },
  1105. 'e8n': function(X, V) {
  1106. return X === V;
  1107. },
  1108. 'D17': 0.35,
  1109. 'g7R': function(X, V) {
  1110. return X * V;
  1111. },
  1112. 'v9n': function(X, V) {
  1113. return X / V;
  1114. },
  1115. 'g2R': function(X, V) {
  1116. return X / V;
  1117. },
  1118. 'H4': function(X, V, Z) {
  1119. return X / V * Z;
  1120. },
  1121. 'W6': function(X, V) {
  1122. return X < V;
  1123. },
  1124. 's6m': function(X, V) {
  1125. return X === V;
  1126. },
  1127. 'V27': false,
  1128. 'c07': 30,
  1129. 'W7n': function(X, V) {
  1130. return X - V;
  1131. },
  1132. 'S0G': function(X, V) {
  1133. return X - V;
  1134. },
  1135. 's7n': function(X, V) {
  1136. return X === V;
  1137. },
  1138. 'T0R': function(X, V) {
  1139. return X < V;
  1140. },
  1141. 'v8m': function(X, V) {
  1142. return X / V;
  1143. },
  1144. 'N2m': function(X, V) {
  1145. return X === V;
  1146. },
  1147. 'd8m': function(X, V) {
  1148. return X / V;
  1149. },
  1150. 'l9m': function(X, V) {
  1151. return X === V;
  1152. },
  1153. 'B6': function(X, V) {
  1154. return X / V;
  1155. },
  1156. 'j3R': ",",
  1157. 'r1m': function(X, V) {
  1158. return X * V;
  1159. },
  1160. 'z1n': function(X, V) {
  1161. return X !== V;
  1162. },
  1163. 'Y2m': function(X, V) {
  1164. return X !== V;
  1165. },
  1166. 'T8G': function(X, V) {
  1167. return X > V;
  1168. },
  1169. 'n9R': function(X, V) {
  1170. return X - V;
  1171. },
  1172. 'L8G': function(X, V) {
  1173. return X == V;
  1174. },
  1175. 'a3n': function(X, V) {
  1176. return X > V;
  1177. },
  1178. 'q9m': function(X, V) {
  1179. return X === V;
  1180. },
  1181. 'u7G': function(X, V) {
  1182. return X - V;
  1183. },
  1184. 'A27': 0.7,
  1185. 'w4m': function(X, V) {
  1186. return X * V;
  1187. },
  1188. 'E6m': function(X, V) {
  1189. return X !== V;
  1190. },
  1191. 'Z8n': function(X, V) {
  1192. return X > V;
  1193. },
  1194. 's2': function(X, V) {
  1195. return X === V;
  1196. },
  1197. 'M2m': function(X, V) {
  1198. return X > V;
  1199. },
  1200. 'C1R': function(X, V) {
  1201. return X - V;
  1202. },
  1203. 'S3R': 7,
  1204. 'u4m': function(X, V) {
  1205. return X / V;
  1206. },
  1207. 'u2R': function(X, V) {
  1208. return X < V;
  1209. },
  1210. 'i97': 59,
  1211. 'X9m': function(X, V) {
  1212. return X == V;
  1213. },
  1214. 'l5': function(X, V) {
  1215. return X / V;
  1216. },
  1217. 'y6n': function(X, V) {
  1218. return X / V;
  1219. },
  1220. 'u3': function(X, V) {
  1221. return X === V;
  1222. },
  1223. 'C5R': function(X, V) {
  1224. return X === V;
  1225. },
  1226. 'H7m': function(X, V) {
  1227. return X == V;
  1228. },
  1229. 'n7G': function(X, V) {
  1230. return X > V;
  1231. },
  1232. 'i9m': function(X, V) {
  1233. return X > V;
  1234. },
  1235. 'Y6n': function(X, V) {
  1236. return X < V;
  1237. },
  1238. 'I4': function(X, V) {
  1239. return X < V;
  1240. },
  1241. 'u9m': function(X, V) {
  1242. return X < V;
  1243. },
  1244. 'y5m': function(X, V, Z) {
  1245. return X * V * Z;
  1246. },
  1247. 'e6R': function(X, V) {
  1248. return X < V;
  1249. },
  1250. 'x2R': function(X, V) {
  1251. return X / V;
  1252. },
  1253. 'N6R': function(X, V) {
  1254. return X / V;
  1255. },
  1256. 'j5R': function(X, V) {
  1257. return X < V;
  1258. },
  1259. 'j3G': function(X, V) {
  1260. return X < V;
  1261. },
  1262. 'p9m': function(X, V) {
  1263. return X < V;
  1264. },
  1265. 'v7m': function(X, V) {
  1266. return X / V;
  1267. },
  1268. 'N9n': function(X, V) {
  1269. return X / V;
  1270. },
  1271. 'K2n': function(X, V, Z) {
  1272. return X * V / Z;
  1273. },
  1274. 'K5R': function(X, V) {
  1275. return X / V;
  1276. },
  1277. 'M6n': function(X, V) {
  1278. return X * V;
  1279. },
  1280. 'F6n': function(X, V) {
  1281. return X === V;
  1282. },
  1283. 'T3G': function(X, V, Z) {
  1284. return X * V * Z;
  1285. },
  1286. 'C2R': function(X, V) {
  1287. return X === V;
  1288. },
  1289. 'D9m': function(X, V) {
  1290. return X < V;
  1291. },
  1292. 'z': function() {
  1293. MLE = MLE || {};
  1294. },
  1295. 'p5m': function(X, V) {
  1296. return X != V;
  1297. },
  1298. 'H2G': function(X, V) {
  1299. return X >= V;
  1300. },
  1301. 'm1G': function(X, V) {
  1302. return X < V;
  1303. },
  1304. 'C07': 10,
  1305. 'Y3G': function(X, V) {
  1306. return X - V;
  1307. },
  1308. 'a77': "#ffffff",
  1309. 'x9': function(X, V) {
  1310. return X * V;
  1311. },
  1312. 'p9R': function(X, V) {
  1313. return X / V;
  1314. },
  1315. 'X9R': function(X, V) {
  1316. return X === V;
  1317. },
  1318. 'L8': function(X, V) {
  1319. return X / V;
  1320. },
  1321. 'o5G': function(X, V) {
  1322. return X > V;
  1323. },
  1324. 'S1G': function(X, V) {
  1325. return X - V;
  1326. },
  1327. 'I0n': function(X, V) {
  1328. return X === V;
  1329. },
  1330. 'V1G': function(X, V, Z, Y) {
  1331. return X - V + Z - Y;
  1332. },
  1333. 'k5G': function(X, V) {
  1334. return X == V;
  1335. },
  1336. 'l1m': function(X, V) {
  1337. return X * V;
  1338. },
  1339. 'd2m': function(X, V) {
  1340. return X === V;
  1341. },
  1342. 'h4G': function(X, V) {
  1343. return X * V;
  1344. },
  1345. 'Y9n': function(X, V) {
  1346. return X === V;
  1347. },
  1348. 't5n': function(X, V) {
  1349. return X < V;
  1350. },
  1351. 'p3R': 5,
  1352. 'X9G': function(X, V) {
  1353. return X < V;
  1354. },
  1355. 'Y17': 700,
  1356. 'r0': function(X, V, Z) {
  1357. return X / V * Z;
  1358. },
  1359. 'K0G': function(X, V) {
  1360. return X < V;
  1361. },
  1362. 'F4m': function(X, V, Z) {
  1363. return X * V / Z;
  1364. },
  1365. 'q4m': function(X, V) {
  1366. return X >= V;
  1367. },
  1368. 'Z1R': function(X, V) {
  1369. return X * V;
  1370. },
  1371. 'p8G': function(X, V) {
  1372. return X < V;
  1373. },
  1374. 'R8n': function(X, V) {
  1375. return X === V;
  1376. },
  1377. 'p0m': function(X, V, Z) {
  1378. return X * V * Z;
  1379. },
  1380. 'b8': function(X, V) {
  1381. return X < V;
  1382. },
  1383. 'c4n': function(X, V) {
  1384. return X > V;
  1385. },
  1386. 'U6m': function(X, V) {
  1387. return X == V;
  1388. },
  1389. 'f5G': function(X, V) {
  1390. return X == V;
  1391. },
  1392. 'j2R': function(X, V) {
  1393. return X > V;
  1394. },
  1395. 'L5': function(X, V) {
  1396. return X == V;
  1397. },
  1398. 'g1n': function(X, V) {
  1399. return X > V;
  1400. },
  1401. 'H2n': function(X, V) {
  1402. return X < V;
  1403. },
  1404. 'N77': "string",
  1405. 'p4': function(X, V) {
  1406. return X === V;
  1407. },
  1408. 'p9': function(X, V) {
  1409. return X / V;
  1410. },
  1411. 'E7n': function(X, V) {
  1412. return X >= V;
  1413. },
  1414. 'i2R': function(X, V) {
  1415. return X - V;
  1416. },
  1417. 'Z97': "]",
  1418. 'p0R': function(X, V, Z) {
  1419. return X / V * Z;
  1420. },
  1421. 'o3m': function(X, V) {
  1422. return X < V;
  1423. },
  1424. 'l6m': function(X, V) {
  1425. return X === V;
  1426. },
  1427. 'z2': function(X, V) {
  1428. return X * V;
  1429. },
  1430. 'D0R': function(X, V) {
  1431. return X - V;
  1432. },
  1433. 'M3m': function(X, V) {
  1434. return X < V;
  1435. },
  1436. 'C4G': function(X, V) {
  1437. return X * V;
  1438. },
  1439. 'K2': function(X, V) {
  1440. return X / V;
  1441. },
  1442. 'Q5m': function(X, V) {
  1443. return X - V;
  1444. },
  1445. 's0m': function(X, V, Z, Y) {
  1446. return X * V * Z * Y;
  1447. },
  1448. 'r9': function(X, V) {
  1449. return X >= V;
  1450. },
  1451. 'V97': "loadingBar1",
  1452. 'j0G': function(X, V) {
  1453. return X === V;
  1454. },
  1455. 'c67': "#000000",
  1456. 'h7n': function(X, V) {
  1457. return X / V;
  1458. },
  1459. 'n9': function(X, V) {
  1460. return X * V;
  1461. },
  1462. 'b9m': function(X, V) {
  1463. return X === V;
  1464. },
  1465. 'c0n': function(X, V) {
  1466. return X - V;
  1467. },
  1468. 'm6': function(X, V) {
  1469. return X * V;
  1470. },
  1471. 'I3R': 0,
  1472. 'Q0n': function(X, V) {
  1473. return X === V;
  1474. },
  1475. 's6G': function(X, V) {
  1476. return X > V;
  1477. },
  1478. 'w9n': function(X, V) {
  1479. return X > V;
  1480. },
  1481. 'r0n': function(X, V) {
  1482. return X === V;
  1483. },
  1484. 'V2G': function(X, V) {
  1485. return X < V;
  1486. },
  1487. 'U7R': function(X, V) {
  1488. return X / V;
  1489. },
  1490. 'p4n': function(X, V) {
  1491. return X / V;
  1492. },
  1493. 'U': function() {
  1494. MLE = MLE || {};
  1495. },
  1496. 'K57': 38,
  1497. 'b4m': function(X, V) {
  1498. return X === V;
  1499. },
  1500. 'z7n': function(X, V) {
  1501. return X > V;
  1502. },
  1503. 'o6n': function(X, V) {
  1504. return X === V;
  1505. },
  1506. 'r9G': function(X, V) {
  1507. return X < V;
  1508. },
  1509. 's57': "wind",
  1510. 'U1n': function(X, V) {
  1511. return X > V;
  1512. },
  1513. 'k9n': function(X, V) {
  1514. return X > V;
  1515. },
  1516. 'P2m': function(X, V) {
  1517. return X === V;
  1518. },
  1519. 'F4G': function(X, V) {
  1520. return X > V;
  1521. },
  1522. 'Q3': function(X, V) {
  1523. return X === V;
  1524. },
  1525. 'u4n': function(X, V) {
  1526. return X == V;
  1527. },
  1528. 'd5G': function(X, V) {
  1529. return X < V;
  1530. },
  1531. 'b5m': function(X, V) {
  1532. return X > V;
  1533. },
  1534. 'V4m': function(X, V) {
  1535. return X < V;
  1536. },
  1537. 'Y8m': function(X, V) {
  1538. return X / V;
  1539. },
  1540. 'R6m': function(X, V) {
  1541. return X < V;
  1542. },
  1543. 'h3G': function(X, V) {
  1544. return X * V;
  1545. },
  1546. 'B0R': function(X, V) {
  1547. return X > V;
  1548. },
  1549. 'z27': 480,
  1550. 'v2m': function(X, V) {
  1551. return X === V;
  1552. },
  1553. 'E77': "gameBackground3",
  1554. 'W0G': function(X, V) {
  1555. return X < V;
  1556. },
  1557. 'W7R': function(X, V) {
  1558. return X - V;
  1559. },
  1560. 'I9m': function(X, V) {
  1561. return X === V;
  1562. },
  1563. 'U6': function(X, V) {
  1564. return X - V;
  1565. },
  1566. 'S1n': function(X, V) {
  1567. return X !== V;
  1568. },
  1569. 'v77': "forward",
  1570. 'C8n': function(X, V) {
  1571. return X !== V;
  1572. },
  1573. 'L5m': function(X, V) {
  1574. return X < V;
  1575. },
  1576. 'Y7m': function(X, V) {
  1577. return X <= V;
  1578. },
  1579. 'W27': "number",
  1580. 'j07': "pause",
  1581. 'a5G': function(X, V) {
  1582. return X == V;
  1583. },
  1584. 'U2n': function(X, V) {
  1585. return X * V;
  1586. },
  1587. 'T9R': function(X, V) {
  1588. return X * V;
  1589. },
  1590. 'B4G': function(X, V, Z, Y) {
  1591. return X * V * Z * Y;
  1592. },
  1593. 'u8': function(X, V) {
  1594. return X !== V;
  1595. },
  1596. 'B0': function(X, V) {
  1597. return X < V;
  1598. },
  1599. 'I9': function(X, V) {
  1600. return X * V;
  1601. },
  1602. 'J2G': function(X, V) {
  1603. return X != V;
  1604. },
  1605. 'X5n': function(X, V) {
  1606. return X < V;
  1607. },
  1608. 'B0m': function(X, V) {
  1609. return X === V;
  1610. },
  1611. 'Q4': function(X, V) {
  1612. return X > V;
  1613. },
  1614. 'x8': function(X, V) {
  1615. return X * V;
  1616. },
  1617. 'z7R': function(X, V) {
  1618. return X > V;
  1619. },
  1620. 'T9G': function(X, V) {
  1621. return X == V;
  1622. },
  1623. 'G2G': function(X, V) {
  1624. return X == V;
  1625. },
  1626. 'c9': function(X, V) {
  1627. return X - V;
  1628. },
  1629. 'L0n': function(X, V) {
  1630. return X < V;
  1631. },
  1632. 'A3m': function(X, V) {
  1633. return X - V;
  1634. },
  1635. 'h5m': function(X, V) {
  1636. return X * V;
  1637. },
  1638. 'D9': function(X, V) {
  1639. return X < V;
  1640. },
  1641. 'B5R': function(X, V) {
  1642. return X - V;
  1643. },
  1644. 'i4m': function(X, V) {
  1645. return X / V;
  1646. },
  1647. 'b9G': function(X, V) {
  1648. return X == V;
  1649. },
  1650. 'p0n': function(X, V) {
  1651. return X === V;
  1652. },
  1653. 'L7G': function(X, V) {
  1654. return X * V;
  1655. },
  1656. 'H3m': function(X, V) {
  1657. return X === V;
  1658. },
  1659. 'm57': "button",
  1660. 'W97': 65,
  1661. 'W2n': function(X, V) {
  1662. return X - V;
  1663. },
  1664. 'X2R': function(X, V) {
  1665. return X - V;
  1666. },
  1667. 'v3n': function(X, V) {
  1668. return X === V;
  1669. },
  1670. 'h5': function(X, V) {
  1671. return X > V;
  1672. },
  1673. 'L9m': function(X, V) {
  1674. return X >= V;
  1675. },
  1676. 'V8m': function(X, V) {
  1677. return X === V;
  1678. },
  1679. 'q3G': function(X, V) {
  1680. return X * V;
  1681. },
  1682. 'C9R': function(X, V, Z, Y) {
  1683. return X / V * Z / Y;
  1684. },
  1685. 'x6': function(X, V, Z) {
  1686. return X % V * Z;
  1687. },
  1688. 'Y2n': function(X, V) {
  1689. return X - V;
  1690. },
  1691. 'm0': function(X, V) {
  1692. return X > V;
  1693. },
  1694. 'x7R': function(X, V) {
  1695. return X - V;
  1696. },
  1697. 'o2m': function(X, V) {
  1698. return X < V;
  1699. },
  1700. 'l7G': function(X, V) {
  1701. return X / V;
  1702. },
  1703. 'D3': function(X, V) {
  1704. return X > V;
  1705. },
  1706. 'r9R': function(X, V) {
  1707. return X * V;
  1708. },
  1709. 'O6G': function(X, V) {
  1710. return X == V;
  1711. },
  1712. 'y7m': function(X, V) {
  1713. return X != V;
  1714. },
  1715. 'u5R': function(X, V, Z) {
  1716. return X * V / Z;
  1717. },
  1718. 'B4n': function(X, V) {
  1719. return X < V;
  1720. },
  1721. 'P6n': function(X, V) {
  1722. return X === V;
  1723. },
  1724. 'n9G': function(X, V) {
  1725. return X - V;
  1726. },
  1727. 'K07': "goal3",
  1728. 'w5m': function(X, V) {
  1729. return X * V;
  1730. },
  1731. 'P': function() {
  1732. MLE = MLE || {};
  1733. },
  1734. 't6': function(X, V) {
  1735. return X > V;
  1736. },
  1737. 'G27': 100,
  1738. 'p8': function(X, V) {
  1739. return X > V;
  1740. },
  1741. 'l0n': function(X, V) {
  1742. return X > V;
  1743. },
  1744. 'A7m': function(X, V) {
  1745. return X < V;
  1746. },
  1747. 'U2': function(X, V) {
  1748. return X / V;
  1749. },
  1750. 'J2m': function(X, V) {
  1751. return X === V;
  1752. },
  1753. 'k0': function(X, V) {
  1754. return X - V;
  1755. },
  1756. 'X9': function(X, V) {
  1757. return X - V;
  1758. },
  1759. 's1m': function(X, V) {
  1760. return X == V;
  1761. },
  1762. 'u77': "middle",
  1763. 's1G': function(X, V) {
  1764. return X <= V;
  1765. },
  1766. 'E6G': function(X, V) {
  1767. return X == V;
  1768. },
  1769. 'A6n': function(X, V) {
  1770. return X === V;
  1771. },
  1772. 'R4m': function(X, V, Z) {
  1773. return X * V / Z;
  1774. },
  1775. 'U8n': function(X, V) {
  1776. return X < V;
  1777. },
  1778. 'q8G': function(X, V) {
  1779. return X < V;
  1780. },
  1781. 'T8': function(X, V) {
  1782. return X - V;
  1783. },
  1784. 'b8G': function(X, V) {
  1785. return X != V;
  1786. },
  1787. 'L9': function(X, V) {
  1788. return X <= V;
  1789. },
  1790. 'q9R': function(X, V) {
  1791. return X < V;
  1792. },
  1793. 'n0': function(X, V, Z) {
  1794. return X - V + Z;
  1795. },
  1796. 'o4R': "",
  1797. 'v2G': function(X, V) {
  1798. return X == V;
  1799. },
  1800. 'g4n': function(X, V) {
  1801. return X >= V;
  1802. },
  1803. 'B1G': function(X, V) {
  1804. return X === V;
  1805. },
  1806. 'Y97': 1.75,
  1807. 'y77': 1E4,
  1808. 'V4G': function(X, V) {
  1809. return X * V;
  1810. },
  1811. 't57': "trash",
  1812. 'd07': "schein",
  1813. 'V3G': function(X, V) {
  1814. return X * V;
  1815. },
  1816. 'j2': function(X, V) {
  1817. return X / V;
  1818. },
  1819. 'F3G': function(X, V) {
  1820. return X < V;
  1821. },
  1822. 'J3m': function(X, V) {
  1823. return X === V;
  1824. },
  1825. 'q17': "center",
  1826. 's7R': function(X, V) {
  1827. return X === V;
  1828. },
  1829. 'A0': function(X, V) {
  1830. return X < V;
  1831. },
  1832. 'd3': function(X, V, Z, Y) {
  1833. return X - V + Z - Y;
  1834. },
  1835. 'S2': function(X, V) {
  1836. return X === V;
  1837. },
  1838. 'D3R': 225,
  1839. 'B0G': function(X, V) {
  1840. return X < V;
  1841. },
  1842. 'L3': function(X, V) {
  1843. return X < V;
  1844. },
  1845. 'X8G': function(X, V) {
  1846. return X == V;
  1847. },
  1848. 'k6n': function(X, V) {
  1849. return X >= V;
  1850. },
  1851. 'e4m': function(X, V) {
  1852. return X / V;
  1853. },
  1854. 'n4': function(X, V) {
  1855. return X > V;
  1856. },
  1857. 'g8n': function(X, V) {
  1858. return X > V;
  1859. },
  1860. 'H9n': function(X, V) {
  1861. return X !== V;
  1862. },
  1863. 'b7G': function(X, V) {
  1864. return X > V;
  1865. },
  1866. 'g0': function(X, V) {
  1867. return X - V;
  1868. },
  1869. 'f6R': function(X, V) {
  1870. return X !== V;
  1871. },
  1872. 'M3R': "shadow",
  1873. 't6m': function(X, V) {
  1874. return X === V;
  1875. },
  1876. 'O2n': function(X, V) {
  1877. return X === V;
  1878. },
  1879. 'f9n': function(X, V) {
  1880. return X > V;
  1881. },
  1882. 'q3': function(X, V, Z, Y) {
  1883. return X - V + Z - Y;
  1884. },
  1885. 'Q': function() {
  1886. MLE = MLE || {};
  1887. },
  1888. 't8n': function(X, V) {
  1889. return X < V;
  1890. },
  1891. 'K6': function(X, V) {
  1892. return X - V;
  1893. },
  1894. 'F27': 0.9,
  1895. 'G3n': function(X, V) {
  1896. return X > V;
  1897. },
  1898. 'K6G': function(X, V) {
  1899. return X < V;
  1900. },
  1901. 'J4G': function(X, V) {
  1902. return X - V;
  1903. },
  1904. 'W1R': function(X, V) {
  1905. return X < V;
  1906. },
  1907. 'D7G': function(X, V) {
  1908. return X > V;
  1909. },
  1910. 'v5G': function(X, V) {
  1911. return X == V;
  1912. },
  1913. 'F3m': function(X, V) {
  1914. return X === V;
  1915. },
  1916. 'Y5G': function(X, V) {
  1917. return X / V;
  1918. },
  1919. 'Y4G': function(X, V) {
  1920. return X - V;
  1921. },
  1922. 'F2n': function(X, V) {
  1923. return X - V;
  1924. },
  1925. 'x07': 25,
  1926. 'A2m': function(X, V) {
  1927. return X === V;
  1928. },
  1929. 'F8m': function(X, V) {
  1930. return X / V;
  1931. },
  1932. 'R1n': function(X, V) {
  1933. return X === V;
  1934. },
  1935. 'b3G': function(X, V) {
  1936. return X > V;
  1937. },
  1938. 'P77': null,
  1939. 's5n': function(X, V) {
  1940. return X / V;
  1941. },
  1942. 'F9n': function(X, V) {
  1943. return X > V;
  1944. },
  1945. 'r8': function(X, V) {
  1946. return X < V;
  1947. },
  1948. 'F17': 0.0010,
  1949. 'f97': 46,
  1950. 'U0m': function(X, V) {
  1951. return X == V;
  1952. },
  1953. 'C6m': function(X, V) {
  1954. return X / V;
  1955. },
  1956. 'a2G': function(X, V) {
  1957. return X == V;
  1958. },
  1959. 'R7n': function(X, V) {
  1960. return X > V;
  1961. },
  1962. 'Q9m': function(X, V) {
  1963. return X < V;
  1964. },
  1965. 'D8G': function(X, V) {
  1966. return X < V;
  1967. },
  1968. 'f6n': function(X, V) {
  1969. return X < V;
  1970. },
  1971. 'T27': 'touchstart',
  1972. 'm5n': function(X, V) {
  1973. return X > V;
  1974. },
  1975. 'x4n': function(X, V) {
  1976. return X === V;
  1977. },
  1978. 'I8': function(X, V) {
  1979. return X < V;
  1980. },
  1981. 'O7R': function(X, V) {
  1982. return X - V;
  1983. },
  1984. 'V6n': function(X, V) {
  1985. return X / V;
  1986. },
  1987. 'd1m': function(X, V, Z) {
  1988. return X * V / Z;
  1989. },
  1990. 'T3': function(X, V) {
  1991. return X === V;
  1992. },
  1993. 'g5R': function(X, V) {
  1994. return X === V;
  1995. },
  1996. 'i7G': function(X, V) {
  1997. return X / V;
  1998. },
  1999. 'O77': "gameBackground2",
  2000. 't6G': function(X, V) {
  2001. return X != V;
  2002. },
  2003. 'T0m': function(X, V, Z) {
  2004. return X * V * Z;
  2005. },
  2006. 'a9n': function(X, V, Z) {
  2007. return X - V - Z;
  2008. },
  2009. 'L77': "00",
  2010. 's1R': function(X, V) {
  2011. return X - V;
  2012. },
  2013. 'G6n': function(X, V) {
  2014. return X > V;
  2015. },
  2016. 'w7n': function(X, V) {
  2017. return X === V;
  2018. },
  2019. 'J3n': function(X, V) {
  2020. return X === V;
  2021. },
  2022. 'h07': "loadingBar0",
  2023. 'k27': 1.1,
  2024. 'z57': 500,
  2025. 'O6': function(X, V) {
  2026. return X - V;
  2027. },
  2028. 'Q77': "canvas",
  2029. 'g2': function(X, V) {
  2030. return X % V;
  2031. },
  2032. 'G3m': function(X, V) {
  2033. return X === V;
  2034. },
  2035. 'm5R': function(X, V) {
  2036. return X / V;
  2037. },
  2038. 'c5R': function(X, V) {
  2039. return X < V;
  2040. },
  2041. 'E97': 75,
  2042. 'L4': function(X, V) {
  2043. return X > V;
  2044. },
  2045. 'q4': function(X, V) {
  2046. return X * V;
  2047. },
  2048. 'I0R': function(X, V) {
  2049. return X * V;
  2050. },
  2051. 'i5R': function(X, V) {
  2052. return X - V;
  2053. },
  2054. 'R1R': function(X, V) {
  2055. return X - V;
  2056. },
  2057. 'D4': function(X, V) {
  2058. return X === V;
  2059. },
  2060. 'Z6G': function(X, V) {
  2061. return X < V;
  2062. },
  2063. 'A9n': function(X, V) {
  2064. return X > V;
  2065. },
  2066. 'e6m': function(X, V) {
  2067. return X !== V;
  2068. },
  2069. 'A3G': function(X, V, Z) {
  2070. return X * V * Z;
  2071. },
  2072. 'A2G': function(X, V) {
  2073. return X - V;
  2074. },
  2075. 'E1G': function(X, V) {
  2076. return X >= V;
  2077. },
  2078. 'H5G': function(X, V) {
  2079. return X / V;
  2080. },
  2081. 'T7G': function(X, V) {
  2082. return X === V;
  2083. },
  2084. 'v3m': function(X, V) {
  2085. return X === V;
  2086. },
  2087. 'Q4m': function(X, V) {
  2088. return X < V;
  2089. },
  2090. 'I5R': function(X, V) {
  2091. return X * V;
  2092. },
  2093. 'd57': 1.35,
  2094. 'G9n': function(X, V) {
  2095. return X > V;
  2096. },
  2097. 'E0G': function(X, V) {
  2098. return X * V;
  2099. },
  2100. 'Y07': "[object Array]",
  2101. 'C6': function(X, V) {
  2102. return X - V;
  2103. },
  2104. 'z6R': function(X, V, Z) {
  2105. return X * V / Z;
  2106. },
  2107. 'S8n': function(X, V) {
  2108. return X === V;
  2109. },
  2110. 'c0R': function(X, V) {
  2111. return X * V;
  2112. },
  2113. 'O5R': function(X, V) {
  2114. return X === V;
  2115. },
  2116. 't0G': function(X, V) {
  2117. return X !== V;
  2118. },
  2119. 'E': function() {
  2120. MLE = MLE || {};
  2121. },
  2122. 'Q27': 10001,
  2123. 'J6R': function(X, V) {
  2124. return X === V;
  2125. },
  2126. 't1n': function(X, V) {
  2127. return X === V;
  2128. },
  2129. 'S7n': function(X, V) {
  2130. return X < V;
  2131. },
  2132. 'J0': function(X, V) {
  2133. return X === V;
  2134. },
  2135. 'h4m': function(X, V) {
  2136. return X * V;
  2137. },
  2138. 'L4G': function(X, V, Z) {
  2139. return X * V * Z;
  2140. },
  2141. 'H0m': function(X, V, Z) {
  2142. return X * V * Z;
  2143. },
  2144. 'W2': function(X, V) {
  2145. return X / V;
  2146. },
  2147. 'F3R': 6,
  2148. 'H8m': function(X, V) {
  2149. return X === V;
  2150. },
  2151. 'm6G': function(X, V) {
  2152. return X < V;
  2153. },
  2154. 'f2m': function(X, V) {
  2155. return X === V;
  2156. },
  2157. 'P7m': function(X, V) {
  2158. return X - V;
  2159. },
  2160. 'K1n': function(X, V) {
  2161. return X / V;
  2162. },
  2163. 'r7G': function(X, V) {
  2164. return X / V;
  2165. },
  2166. 'V5G': function(X, V) {
  2167. return X / V;
  2168. },
  2169. 'X3': function(X, V) {
  2170. return X - V;
  2171. },
  2172. 'c3': function(X, V) {
  2173. return X * V;
  2174. },
  2175. 'z0G': function(X, V) {
  2176. return X - V;
  2177. },
  2178. 'V3m': function(X, V) {
  2179. return X > V;
  2180. },
  2181. 'D8': function(X, V) {
  2182. return X / V;
  2183. },
  2184. 'V3R': 3,
  2185. 'L9R': function(X, V, Z) {
  2186. return X / V * Z;
  2187. },
  2188. 'W5n': function(X, V) {
  2189. return X === V;
  2190. },
  2191. 'Q9R': function(X, V) {
  2192. return X * V;
  2193. },
  2194. 'M8': function(X, V, Z) {
  2195. return X * V / Z;
  2196. },
  2197. 'y1G': function(X, V) {
  2198. return X - V;
  2199. },
  2200. 'c5n': function(X, V) {
  2201. return X / V;
  2202. },
  2203. 'c0m': function(X, V, Z, Y) {
  2204. return X * V * Z * Y;
  2205. },
  2206. 'N0': function(X, V, Z) {
  2207. return X * V / Z;
  2208. },
  2209. 'l9G': function(X, V) {
  2210. return X == V;
  2211. },
  2212. 'A3n': function(X, V) {
  2213. return X * V;
  2214. },
  2215. 'i3R': 4,
  2216. 'A57': "(",
  2217. 'Q8G': function(X, V) {
  2218. return X % V;
  2219. },
  2220. 'G77': true,
  2221. 'G2m': function(X, V) {
  2222. return X === V;
  2223. },
  2224. 'R6': function(X, V) {
  2225. return X * V;
  2226. },
  2227. 'i07': 18,
  2228. 'w4': function(X, V) {
  2229. return X - V;
  2230. },
  2231. 'i8': function(X, V) {
  2232. return X < V;
  2233. },
  2234. 'L0R': function(X, V) {
  2235. return X / V;
  2236. },
  2237. 'n2R': function(X, V) {
  2238. return X * V;
  2239. },
  2240. 'n8G': function(X, V) {
  2241. return X <= V;
  2242. },
  2243. 'O0G': function(X, V) {
  2244. return X === V;
  2245. },
  2246. 'j0m': function(X, V) {
  2247. return X * V;
  2248. },
  2249. 'W57': 1E3,
  2250. 'b57': 37,
  2251. 'c4': function(X, V) {
  2252. return X > V;
  2253. },
  2254. 'j1R': function(X, V) {
  2255. return X * V;
  2256. },
  2257. 'C57': 39,
  2258. 'N6n': function(X, V) {
  2259. return X * V;
  2260. },
  2261. 'B1R': function(X, V) {
  2262. return X < V;
  2263. },
  2264. 'X67': 1350,
  2265. 'y5G': function(X, V) {
  2266. return X === V;
  2267. },
  2268. 'x57': "#45357D",
  2269. 'n5R': function(X, V) {
  2270. return X * V;
  2271. },
  2272. 'w57': "goal2",
  2273. 'N3m': function(X, V) {
  2274. return X === V;
  2275. },
  2276. 'A5G': function(X, V) {
  2277. return X in V;
  2278. },
  2279. 'n5n': function(X, V, Z) {
  2280. return X * V / Z;
  2281. },
  2282. 'U3G': function(X, V, Z) {
  2283. return X * V * Z;
  2284. },
  2285. 'B2': function(X, V) {
  2286. return X === V;
  2287. },
  2288. 'F6R': function(X, V) {
  2289. return X / V;
  2290. },
  2291. 'W8n': function(X, V) {
  2292. return X !== V;
  2293. },
  2294. 'S1m': function(X, V) {
  2295. return X * V;
  2296. },
  2297. 'w9m': function(X, V) {
  2298. return X < V;
  2299. },
  2300. 'I4n': function(X, V) {
  2301. return X === V;
  2302. },
  2303. 'N67': "goal",
  2304. 'm1R': function(X, V) {
  2305. return X / V;
  2306. },
  2307. 'y4G': function(X, V) {
  2308. return X > V;
  2309. },
  2310. 'U5n': function(X, V) {
  2311. return X >= V;
  2312. },
  2313. 'U1G': function(X, V) {
  2314. return X > V;
  2315. },
  2316. 'K6m': function(X, V) {
  2317. return X / V;
  2318. },
  2319. 'R': function() {
  2320. MLE = MLE || {};
  2321. },
  2322. 'T0n': function(X, V) {
  2323. return X === V;
  2324. },
  2325. 'I3': function(X, V) {
  2326. return X * V;
  2327. },
  2328. 'J9n': function(X, V) {
  2329. return X === V;
  2330. },
  2331. 's8n': function(X, V) {
  2332. return X === V;
  2333. },
  2334. 'h4': function(X, V) {
  2335. return X * V;
  2336. },
  2337. 'y2G': function(X, V) {
  2338. return X == V;
  2339. },
  2340. 'T4m': function(X, V) {
  2341. return X / V;
  2342. },
  2343. 'j8n': function(X, V) {
  2344. return X < V;
  2345. },
  2346. 'r9m': function(X, V) {
  2347. return X >= V;
  2348. },
  2349. 'q8': function(X, V, Z) {
  2350. return X * V / Z;
  2351. },
  2352. 'X8': function(X, V) {
  2353. return X === V;
  2354. },
  2355. 'Z6m': function(X, V) {
  2356. return X === V;
  2357. },
  2358. 'I9G': function(X, V) {
  2359. return X <= V;
  2360. },
  2361. 'Y2G': function(X, V) {
  2362. return X < V;
  2363. },
  2364. 'y3G': function(X, V) {
  2365. return X - V;
  2366. },
  2367. 'O0': function(X, V) {
  2368. return X * V;
  2369. },
  2370. 'i9R': function(X, V) {
  2371. return X - V;
  2372. },
  2373. 'l9': function(X, V) {
  2374. return X * V;
  2375. },
  2376. 't2': function(X, V) {
  2377. return X / V;
  2378. },
  2379. 'y9n': function(X, V) {
  2380. return X > V;
  2381. },
  2382. 'J8m': function(X, V) {
  2383. return X / V;
  2384. },
  2385. 'A97': 'click',
  2386. 'b0R': function(X, V, Z) {
  2387. return X * V / Z;
  2388. },
  2389. 'K0': function(X, V) {
  2390. return X < V;
  2391. },
  2392. 'P7n': function(X, V, Z) {
  2393. return X * V / Z;
  2394. },
  2395. 'n07': 32,
  2396. 'r3': function(X, V) {
  2397. return X > V;
  2398. },
  2399. 'V2n': function(X, V) {
  2400. return X === V;
  2401. },
  2402. 'O1R': function(X, V) {
  2403. return X < V;
  2404. },
  2405. 'K2R': function(X, V) {
  2406. return X < V;
  2407. },
  2408. 'w9': function(X, V) {
  2409. return X * V;
  2410. },
  2411. 'S1R': function(X, V) {
  2412. return X < V;
  2413. },
  2414. 'G97': "FurEye.BasketBallHoops.Level",
  2415. 'p9G': function(X, V) {
  2416. return X - V;
  2417. },
  2418. 'Q9G': function(X, V) {
  2419. return X < V;
  2420. },
  2421. 'H0': function(X, V) {
  2422. return X / V;
  2423. },
  2424. 'D7n': function(X, V) {
  2425. return X - V;
  2426. },
  2427. 'w3G': function(X, V) {
  2428. return X * V;
  2429. },
  2430. 'h3R': 180,
  2431. 'w7G': function(X, V) {
  2432. return X === V;
  2433. },
  2434. 'E7R': function(X, V) {
  2435. return X === V;
  2436. },
  2437. 'L17': "0",
  2438. 'w9G': function(X, V) {
  2439. return X > V;
  2440. },
  2441. 'Z7n': function(X, V) {
  2442. return X * V;
  2443. },
  2444. 'z8n': function(X, V) {
  2445. return X === V;
  2446. },
  2447. 'i4n': function(X, V) {
  2448. return X / V;
  2449. },
  2450. 'n5m': function(X, V) {
  2451. return X - V;
  2452. },
  2453. 'f2G': function(X, V) {
  2454. return X != V;
  2455. },
  2456. 'K0m': function(X, V) {
  2457. return X == V;
  2458. },
  2459. 'g8': function(X, V, Z) {
  2460. return X / V * Z;
  2461. },
  2462. 'P2G': function(X, V) {
  2463. return X < V;
  2464. },
  2465. 'x1G': function(X, V, Z, Y) {
  2466. return X - V + Z - Y;
  2467. },
  2468. 'q5': function(X, V) {
  2469. return X - V;
  2470. },
  2471. 'F5G': function(X, V) {
  2472. return X === V;
  2473. },
  2474. 'R07': "2d",
  2475. 'R97': 80,
  2476. 'c9m': function(X, V) {
  2477. return X < V;
  2478. },
  2479. 'B57': 40,
  2480. 'f3m': function(X, V) {
  2481. return X === V;
  2482. },
  2483. 'O1n': function(X, V) {
  2484. return X === V;
  2485. },
  2486. 'B1n': function(X, V) {
  2487. return X == V;
  2488. },
  2489. 'Q8': function(X, V) {
  2490. return X - V;
  2491. },
  2492. 'O6m': function(X, V) {
  2493. return X > V;
  2494. },
  2495. 'q9G': function(X, V) {
  2496. return X >= V;
  2497. },
  2498. 'E5n': function(X, V) {
  2499. return X / V;
  2500. },
  2501. 'e0G': function(X, V) {
  2502. return X * V;
  2503. },
  2504. 'k8m': function(X, V) {
  2505. return X / V;
  2506. },
  2507. 'G6R': function(X, V, Z) {
  2508. return X * V / Z;
  2509. },
  2510. 'S6': function(X, V) {
  2511. return X < V;
  2512. },
  2513. 'H2m': function(X, V) {
  2514. return X < V;
  2515. },
  2516. 's1n': function(X, V) {
  2517. return X === V;
  2518. },
  2519. 'x0R': function(X, V) {
  2520. return X - V;
  2521. },
  2522. 'J7m': function(X, V) {
  2523. return X - V;
  2524. },
  2525. 'l77': "success",
  2526. 'r0R': function(X, V) {
  2527. return X * V;
  2528. },
  2529. 'x0n': function(X, V) {
  2530. return X !== V;
  2531. },
  2532. 'K1m': function(X, V) {
  2533. return X * V;
  2534. },
  2535. 'h9R': function(X, V, Z) {
  2536. return X * V * Z;
  2537. },
  2538. 'l3G': function(X, V) {
  2539. return X == V;
  2540. },
  2541. 'r8G': function(X, V) {
  2542. return X >= V;
  2543. },
  2544. 'T5m': function(X, V) {
  2545. return X * V;
  2546. },
  2547. 'V2m': function(X, V) {
  2548. return X == V;
  2549. },
  2550. 'R6G': function(X, V) {
  2551. return X == V;
  2552. },
  2553. 'j7R': function(X, V) {
  2554. return X === V;
  2555. },
  2556. 'P5G': function(X, V) {
  2557. return X == V;
  2558. },
  2559. 'f57': 36,
  2560. 'i4': function(X, V) {
  2561. return X < V;
  2562. },
  2563. 'g0m': function(X, V) {
  2564. return X == V;
  2565. },
  2566. 'i8G': function(X, V) {
  2567. return X == V;
  2568. },
  2569. 'Q4n': function(X, V) {
  2570. return X > V;
  2571. },
  2572. 'm4R': 150,
  2573. 'r4G': function(X, V) {
  2574. return X - V;
  2575. },
  2576. 'D5m': function(X, V) {
  2577. return X - V;
  2578. },
  2579. 'f3n': function(X, V) {
  2580. return X === V;
  2581. },
  2582. 'F67': ":",
  2583. 'A2n': function(X, V, Z) {
  2584. return X * V / Z;
  2585. },
  2586. 'E1R': function(X, V) {
  2587. return X < V;
  2588. },
  2589. 'F3n': function(X, V) {
  2590. return X - V;
  2591. },
  2592. 'W1G': function(X, V) {
  2593. return X <= V;
  2594. },
  2595. 'q9': function(X, V) {
  2596. return X - V;
  2597. },
  2598. 'P3n': function(X, V) {
  2599. return X / V;
  2600. },
  2601. 't3R': "background-color",
  2602. 'N5G': function(X, V) {
  2603. return X == V;
  2604. },
  2605. 'u9': function(X, V) {
  2606. return X * V;
  2607. },
  2608. 'z6': function(X, V) {
  2609. return X === V;
  2610. },
  2611. 'x3n': function(X, V) {
  2612. return X - V;
  2613. },
  2614. 'j57': 1475,
  2615. 'r4m': function(X, V) {
  2616. return X - V;
  2617. },
  2618. 'g5n': function(X, V) {
  2619. return X < V;
  2620. },
  2621. 'P67': 1.05,
  2622. 'm2R': function(X, V, Z) {
  2623. return X * V / Z;
  2624. },
  2625. 'B2R': function(X, V) {
  2626. return X < V;
  2627. },
  2628. 'p3': function(X, V) {
  2629. return X * V;
  2630. },
  2631. 'R27': 1.5,
  2632. 'T57': ")"
  2633. };
  2634. var Director = function() {
  2635. T0n87[Z87].director = this;
  2636. this.init();
  2637. },
  2638. GameScene = function() {
  2639. T0n87[Z87].gameScene = this;
  2640. this.states = {
  2641. IDLE: U3e.I3R,
  2642. AIMING: U3e.Y3R,
  2643. BEFORE_WIND: U3e.n3R,
  2644. IN_AIR_UP: U3e.V3R,
  2645. IN_AIR: U3e.i3R,
  2646. FROM_WALL: U3e.p3R,
  2647. FROM_GROUND: U3e.F3R,
  2648. BALL_BACK: U3e.S3R
  2649. };
  2650. this.currentState = this.states.IDLE;
  2651. this.ground = -U3e.Y3R;
  2652. this.maxHeight = getConst(U3e.q97);
  2653. var X = U3e.e4m(Math.floor(Math.random() * U3e.i97), U3e.C07);
  2654. this.windPower = U3e.R4m(getConst(U3e.W57), X, U3e.F3R);
  2655. this.minScale = U3e.D17;
  2656. this.init();
  2657. U3e.V4m(this.gui.bestNumber, U3e.m77) && (X = U3e.Y4m(Math.floor(Math.random() * U3e.u3R), U3e.C07) + U3e.c27);
  2658. this.windCloud.windFont.text = X + U3e.o4R;
  2659. this.windCloud.windNumber = X;
  2660. this.windPower = U3e.F4m(getConst(U3e.W57), X, U3e.F3R);
  2661. },
  2662. GameScene3 = function() {
  2663. T0n87[Z87].gameScene = this;
  2664. this.states = {
  2665. IDLE: U3e.I3R,
  2666. AIMING: U3e.Y3R,
  2667. BEFORE_WIND: U3e.n3R,
  2668. IN_AIR_UP: U3e.V3R,
  2669. IN_AIR: U3e.i3R,
  2670. FROM_WALL: U3e.p3R,
  2671. FROM_GROUND: U3e.F3R,
  2672. BALL_BACK: U3e.S3R
  2673. };
  2674. this.currentState = this.states.IDLE;
  2675. this.ground = -U3e.Y3R;
  2676. this.maxHeight = getConst(U3e.q97);
  2677. var X = U3e.C2n(Math.floor(Math.random() * U3e.i97), U3e.C07);
  2678. this.windPower = U3e.K2n(getConst(U3e.W57), X, U3e.F3R);
  2679. this.minScale = U3e.D17;
  2680. this.init();
  2681. U3e.o2n(this.gui.bestNumber, U3e.m77) && (X = U3e.d2n(Math.floor(Math.random() * U3e.u3R), U3e.C07) + U3e.c27);
  2682. this.windCloud.windFont.text = X + U3e.o4R;
  2683. this.windCloud.windNumber = X;
  2684. this.windPower = U3e.M2n(getConst(U3e.W57), X, U3e.F3R);
  2685. },
  2686. RotateScene = function() {
  2687. this.init();
  2688. };
  2689. function PxLoaderTags(Z) {
  2690. this.array = [];
  2691. this.object = {};
  2692. this.value = U3e.P77;
  2693. this.length = 0;
  2694. if (U3e.e6m(Z, U3e.P77) && Z !== void U3e.I3R) {
  2695. if (Array.isArray(Z)) this.array = Z;
  2696. else if (typeof Z === U3e.r57)
  2697. for (var Y in Z) this.array.push(Y);
  2698. else this.array.push(Z), this.value = Z;
  2699. this.length = this.array.length;
  2700. for (Z = U3e.I3R; U3e.R6m(Z, this.length); Z++) this.object[this.array[Z]] = U3e.G77;
  2701. }
  2702. this.contains = function(X) {
  2703. if (U3e.z6m(this.length, 0) || U3e.Z6m(X.length, 0)) return false;
  2704. else if (U3e.S6m(this.length, 1) && U3e.E6m(this.value, null)) return U3e.s6m(X.length, 1) ? U3e.t6m(this.value, X.value) : X.object.hasOwnProperty(this.value);
  2705. else if (U3e.W6m(X.length, this.length)) return X.contains(this);
  2706. else {
  2707. for (var V in this.object)
  2708. if (X.object[V]) return true;
  2709. return false;
  2710. }
  2711. };
  2712. }
  2713. var getConst = function(X) {
  2714. return U3e.G6R(X, MLE.width, U3e.h4R);
  2715. },
  2716. WindCloud = function() {
  2717. this.init();
  2718. },
  2719. SuccessAnim = function() {
  2720. this.init();
  2721. },
  2722. GUI = function(X) {
  2723. this.init(X);
  2724. };
  2725. function PxLoader(M) {
  2726. var G = ((149, 11.71E2) <= (37.1E1, 0x13B) ? (0x152, 1.525) : (37., 0x20A) < 5.91E2 ? (0xCE, 2E4) : (41., 0x13D) <= (0x182, 82) ? (70.5E1, 'j') : (8.9E1, 16)),
  2727. m = 5E3,
  2728. Z1 = function(I) {
  2729. var I = U3e.g0m(I, U3e.P77) ? [] : Array.isArray(I) ? I : [I],
  2730. u = function(X) {
  2731. for (var X = X.resource, V = Infinity, Z = U3e.I3R; U3e.m0m(Z, X.tags.length); Z++)
  2732. for (var Y = U3e.I3R; U3e.x9m(Y, Math.min(I.length, V)); Y++) {
  2733. if (U3e.X9m(X.tags[Z], I[Y]) && U3e.c9m(Y, V) && (V = Y, U3e.n9m(V, U3e.I3R))) break;
  2734. if (U3e.I9m(V, U3e.I3R)) break;
  2735. }
  2736. return V;
  2737. };
  2738. return function(X, V) {
  2739. var Z = u(X),
  2740. Y = u(V);
  2741. return U3e.p9m(Z, Y) ? -U3e.Y3R : U3e.i9m(Z, Y) ? U3e.Y3R : U3e.u9m(X.priority, V.priority) ? -U3e.Y3R : U3e.T9m(X.priority, V.priority) ? U3e.Y3R : U3e.I3R;
  2742. };
  2743. },
  2744. H1 = function(X) {
  2745. M.loggingDelay = X;
  2746. },
  2747. B = function(V, Z) {
  2748. for (var Y = U3e.P77, I = U3e.I3R, u = g.length; U3e.H2m(I, u); I++)
  2749. if (U3e.y2m(g[I].resource, V)) {
  2750. var k = function(X) {
  2751. Y = X[I];
  2752. };
  2753. k(g);
  2754. break;
  2755. }
  2756. if (!(U3e.V2m(Y, U3e.P77) || U3e.Y2m(Y.status, U3e.Y3R))) {
  2757. var v = function() {
  2758. e1 = +new Date;
  2759. };
  2760. var D = function(X) {
  2761. Y.status = X;
  2762. };
  2763. var L = function(X) {
  2764. I = X;
  2765. };
  2766. D(Z);
  2767. v();
  2768. L(U3e.I3R);
  2769. for (u = R1.length; U3e.F2m(I, u); I++) {
  2770. var j = R1[I];
  2771. if (U3e.A2m(j.tags.length, U3e.I3R) || V.tags.contains(j.tags)) {
  2772. for (var a = Y, K = U3e.I3R, q = U3e.I3R, C = U3e.I3R, c1 = g.length; U3e.k2m(C, c1); C++) {
  2773. var l = g[C],
  2774. z1 = U3e.V27;
  2775. if (z1 = U3e.J2m(j.tags.length, U3e.I3R) ? U3e.G77 : l.resource.tags.contains(j.tags)) q++, (U3e.N2m(l.status, U3e.n3R) || U3e.v2m(l.status, U3e.V3R) || U3e.P2m(l.status, U3e.i3R)) && K++;
  2776. }
  2777. j.callback({
  2778. resource: a.resource,
  2779. loaded: U3e.f2m(a.status, 2),
  2780. error: U3e.G2m(a.status, 3),
  2781. timeout: U3e.a2m(a.status, 4),
  2782. completedCount: K,
  2783. totalCount: q
  2784. });
  2785. }
  2786. }
  2787. }
  2788. },
  2789. V1 = function() {
  2790. for (var V = U3e.V27, Z = +new Date - e1, Y = U3e.r9m(Z, M.noProgressTimeout), Z = U3e.L9m(Z, M.loggingDelay), I = U3e.I3R, u = g.length; U3e.D9m(I, u); I++) {
  2791. var k = function(X) {
  2792. V = X;
  2793. };
  2794. var v = g[I];
  2795. if (U3e.b9m(v.status, U3e.Y3R) && (v.resource.checkStatus && v.resource.checkStatus(), U3e.q9m(v.status, U3e.Y3R)))
  2796. if (Y) v.resource.onTimeout();
  2797. else k(U3e.G77);
  2798. }
  2799. Z && V && E1();
  2800. V && setTimeout(V1, M.statusInterval);
  2801. },
  2802. I1 = function(X) {
  2803. M.statusInterval = X;
  2804. },
  2805. F1 = function(X) {
  2806. M.noProgressTimeout = X;
  2807. },
  2808. S1 = function() {
  2809. M = M || {};
  2810. };
  2811. S1();
  2812. if (U3e.U0m(M.statusInterval, U3e.P77)) I1(m);
  2813. if (U3e.O0m(M.loggingDelay, U3e.P77)) H1(G);
  2814. if (U3e.C0m(M.noProgressTimeout, U3e.P77)) F1(Infinity);
  2815. var g = [],
  2816. R1 = [],
  2817. n1, e1 = +new Date;
  2818. this.add = function(X) {
  2819. X.tags = new PxLoaderTags(X.tags);
  2820. if (U3e.K0m(X.priority, U3e.P77)) X.priority = Infinity;
  2821. g.push({
  2822. resource: X,
  2823. status: U3e.I3R
  2824. });
  2825. };
  2826. this.addProgressListener = function(X, V) {
  2827. R1.push({
  2828. callback: X,
  2829. tags: new PxLoaderTags(V)
  2830. });
  2831. };
  2832. this.addCompletionListener = function(V, Z) {
  2833. R1.push({
  2834. tags: new PxLoaderTags(Z),
  2835. callback: function(X) {
  2836. U3e.B0m(X.completedCount, X.totalCount) && V(X);
  2837. }
  2838. });
  2839. };
  2840. this.start = function(X) {
  2841. n1 = +new Date;
  2842. X = Z1(X);
  2843. g.sort(X);
  2844. for (var X = 0, V = g.length; U3e.Q9m(X, V); X++) {
  2845. var Z = g[X];
  2846. Z.status = 1;
  2847. Z.resource.start(this);
  2848. }
  2849. setTimeout(V1, 100);
  2850. };
  2851. this.isBusy = function() {
  2852. for (var X = 0, V = g.length; U3e.w9m(X, V); X++)
  2853. if (U3e.h9m(g[X].status, 0) || U3e.l9m(g[X].status, 1)) return true;
  2854. return false;
  2855. };
  2856. this.onLoad = function(X) {
  2857. B(X, U3e.n3R);
  2858. };
  2859. this.onError = function(X) {
  2860. B(X, U3e.V3R);
  2861. };
  2862. this.onTimeout = function(X) {
  2863. B(X, U3e.i3R);
  2864. };
  2865. var E1 = this.log = function(X) {
  2866. var V = " (Timeout)",
  2867. Z = " (Error)",
  2868. Y = " (Loaded)",
  2869. I = " (Waiting)",
  2870. u = " (Not Started)",
  2871. k = "PxLoader: #",
  2872. v = " sec",
  2873. D = "PxLoader elapsed: ";
  2874. if (T0n87[Z87]['console']) {
  2875. var L = Math.round((+new Date - n1) / U3e.W57);
  2876. T0n87[Z87]['console'].log(D + L + v);
  2877. for (var L = U3e.I3R, j = g.length; U3e.o2m(L, j); L++) {
  2878. var a = g[L];
  2879. if (X || U3e.d2m(a.status, U3e.Y3R)) {
  2880. var K = k + L + U3e.x97 + a.resource.getName();
  2881. switch (a.status) {
  2882. case U3e.I3R:
  2883. K += u;
  2884. break;
  2885. case U3e.Y3R:
  2886. K += I;
  2887. break;
  2888. case U3e.n3R:
  2889. K += Y;
  2890. break;
  2891. case U3e.V3R:
  2892. K += Z;
  2893. break;
  2894. case U3e.i3R:
  2895. K += V;
  2896. }
  2897. U3e.M2m(a.resource.tags.length, 0) && (K += " Tags: [" + a.resource.tags.array.join(",") + "]");
  2898. T0n87[Z87]['console'].log(K);
  2899. }
  2900. }
  2901. }
  2902. };
  2903. }
  2904. var PauseWindow = function() {
  2905. this.init();
  2906. },
  2907. MainMenu = function() {
  2908. var V = function(X) {
  2909. evnt = X;
  2910. };
  2911. T0n87[Z87].mainMenu = this;
  2912. this.init();
  2913. V(U3e.V27);
  2914. },
  2915. Monster = function() {
  2916. this.init();
  2917. },
  2918. GameScene2 = function() {
  2919. T0n87[Z87].gameScene = this;
  2920. this.states = {
  2921. IDLE: U3e.I3R,
  2922. AIMING: U3e.Y3R,
  2923. BEFORE_WIND: U3e.n3R,
  2924. IN_AIR_UP: U3e.V3R,
  2925. IN_AIR: U3e.i3R,
  2926. FROM_WALL: U3e.p3R,
  2927. FROM_GROUND: U3e.F3R,
  2928. BALL_BACK: U3e.S3R
  2929. };
  2930. this.currentState = this.states.IDLE;
  2931. this.ground = -U3e.Y3R;
  2932. this.maxHeight = getConst(U3e.q97);
  2933. var X = U3e.h7n(Math.floor(Math.random() * U3e.i97), U3e.C07);
  2934. this.windPower = U3e.l7n(getConst(U3e.W57), X, U3e.F3R);
  2935. this.minScale = U3e.D17;
  2936. this.init();
  2937. U3e.X5n(this.gui.bestNumber, U3e.m77) && (X = U3e.c5n(Math.floor(Math.random() * U3e.u3R), U3e.C07) + U3e.c27);
  2938. this.windCloud.windFont.text = X + U3e.o4R;
  2939. this.windCloud.windNumber = X;
  2940. this.windPower = U3e.n5n(getConst(U3e.W57), X, U3e.F3R);
  2941. },
  2942. AimArrow = function() {
  2943. this.init();
  2944. },
  2945. Ball3 = function() {
  2946. this.init();
  2947. },
  2948. Monster3 = function() {
  2949. this.init();
  2950. },
  2951. Ball2 = function() {
  2952. this.init();
  2953. },
  2954. Ball = function() {
  2955. this.init();
  2956. },
  2957. SuccessAnim2 = function() {
  2958. this.init();
  2959. },
  2960. TestScene = function() {
  2961. this.init();
  2962. };
  2963. function wrapText(X, V, Z, Y, I, u) {
  2964. V = V.split(U3e.D07);
  2965. for (I = U3e.I3R; U3e.I8(I, V.length); I++) X.fillText(V[I], Z, Y, 40), X.lineWidth = 5, X.strokeText(V[I], Z, Y), Y += u;
  2966. }
  2967. function PxLoaderImage(Z, Y, I) {
  2968. var u = "on",
  2969. k = "error",
  2970. v = "readystatechange",
  2971. D = "load",
  2972. L = this,
  2973. j = U3e.P77;
  2974. this.img = new Image;
  2975. this.tags = Y;
  2976. this.priority = I;
  2977. var a = function() {
  2978. var X = "complete";
  2979. U3e.U6m(L.img.readyState, X) && (C(), j.onLoad(L));
  2980. },
  2981. K = function() {
  2982. C();
  2983. j.onLoad(L);
  2984. },
  2985. q = function() {
  2986. C();
  2987. j.onError(L);
  2988. },
  2989. C = function() {
  2990. L.unbind(D, K);
  2991. L.unbind(v, a);
  2992. L.unbind(k, q);
  2993. };
  2994. this.start = function(X) {
  2995. j = X;
  2996. L.bind(D, K);
  2997. L.bind(v, a);
  2998. L.bind(k, q);
  2999. L.img.src = Z;
  3000. };
  3001. this.checkStatus = function() {
  3002. L.img.complete && (C(), j.onLoad(L));
  3003. };
  3004. this.onTimeout = function() {
  3005. C();
  3006. if (L.img.complete) j.onLoad(L);
  3007. else j.onTimeout(L);
  3008. };
  3009. this.getName = function() {
  3010. return Z;
  3011. };
  3012. this.bind = function(X, V) {
  3013. L.img.addEventListener ? L.img.addEventListener(X, V, U3e.V27) : L.img.attachEvent && L.img.attachEvent(u + X, V);
  3014. };
  3015. this.unbind = function(X, V) {
  3016. L.img.removeEventListener ? L.img.removeEventListener(X, V, U3e.V27) : L.img.detachEvent && L.img.detachEvent(u + X, V);
  3017. };
  3018. }
  3019. var Monster2 = function() {
  3020. this.init();
  3021. },
  3022. MenuButton = function(X, V, Z) {
  3023. this.init(X, V, Z);
  3024. };
  3025. function shuffleArray(V) {
  3026. for (var Z = U3e.g0(V.length, U3e.Y3R); U3e.m0(Z, U3e.I3R); Z--) {
  3027. var Y = function(X) {
  3028. V[u] = X;
  3029. },
  3030. I = function(X) {
  3031. V[Z] = X[u];
  3032. };
  3033. var u = Math.floor(U3e.x9(Math.random(), (Z + U3e.Y3R))),
  3034. k = V[Z];
  3035. I(V);
  3036. Y(k);
  3037. }
  3038. return V;
  3039. }
  3040. function getDistance(X, V, Z, Y) {
  3041. X = Math.abs(U3e.X9(X, Z));
  3042. V = Math.abs(U3e.c9(V, Y));
  3043. return Math.sqrt(U3e.n9(X, X) + U3e.I9(V, V));
  3044. }
  3045. var PreLoaderScene = function() {
  3046. this.init();
  3047. };
  3048. function myFunc() {
  3049. var X = "_blank",
  3050. V = "http://www.play68.com";
  3051. if (U3e.L5(showSGLinks, U3e.G77) && U3e.D5(inPreloader, U3e.G77)) T0n87[Z87]['open'](V, X);
  3052. }
  3053. var MLE = MLE || {},
  3054. showSGLinks = U3e.G77,
  3055. loc = T0n87[Z87]['location']['href'],
  3056. inPreloader = U3e.G77,
  3057. specificPartnersStr = U3e.j17,
  3058. specificPartnersArr = specificPartnersStr.split(U3e.j3R);
  3059. for (i = U3e.I3R; U3e.r5(i, specificPartnersArr.length); i++) {
  3060. var H = function(X) {
  3061. showSGLinks = X;
  3062. };
  3063. if (loc.indexOf(specificPartnersArr[i]) != -U3e.Y3R) H(U3e.V27);
  3064. }
  3065. MLE.init = function(X) {
  3066. MLE.forceFPS = X.forceFPS || false;
  3067. MLE.showDebug = X.showDebug || false;
  3068. MLE.noCache = true;
  3069. MLE.mouseScale = 1;
  3070. MLE.mouse = new MouseInput;
  3071. MLE.keyboard = new KeyboardInput;
  3072. MLE.wrapper = T0n87[A87]['getElementById'](X.wrapper || "wrapper");
  3073. MLE.canvas = T0n87[A87]['getElementById'](X.canvas || "gameCanvas");
  3074. if (!MLE.canvas) MLE.canvas = T0n87[A87]['createElement']("canvas"), MLE.canvas.id = "gameCanvas", MLE.wrapper.appendChild(MLE.canvas);
  3075. MLE.width = X.width || 320;
  3076. MLE.height = X.height || 480;
  3077. MLE.canvas.width = MLE.width;
  3078. MLE.canvas.height = MLE.height;
  3079. MLE.wrapper.style.width = MLE.width + "px";
  3080. MLE.wrapper.style.height = MLE.height + "px";
  3081. MLE.context = MLE.canvas.getContext("2d");
  3082. MLE.scaling = X.scaling || true;
  3083. MLE.scaling && MLE.initScaling();
  3084. MLE.manifest = X.manifest || [];
  3085. MLE.assets = new MLE.Assets;
  3086. MLE.preManifest = X.preManifest || [];
  3087. MLE.preLoader = new MLE.Loader(MLE.preManifest, MLE.startLoader.bind(MLE));
  3088. MLE.preLoaderScene = X.preLoaderScene;
  3089. MLE.tick = 0;
  3090. MLE.lastFrameTime = Date.now();
  3091. MLE.gameType = X.game;
  3092. MLE.game = null;
  3093. MLE.cameraX = 0;
  3094. MLE.cameraY = 0;
  3095. MLE.lastCamX = 0;
  3096. MLE.lastCamY = 0;
  3097. MLE.context.imageSmoothingEnabled = true;
  3098. };
  3099. MLE.startLoader = function() {
  3100. MLE.tick = U3e.I3R;
  3101. MLE.lastFrameTime = Date.now();
  3102. MLE.game = new MLE.preLoaderScene;
  3103. MLE.rotateScene = new RotateScene;
  3104. MLE.mouse.init();
  3105. MLE.keyboard.init();
  3106. MLE.loader = new MLE.Loader(MLE.manifest, function() {});
  3107. MLE.gameLoop();
  3108. };
  3109. MLE.start = function() {
  3110. setTimeout(function() {
  3111. createjs.Tween._tweens = [];
  3112. MLE.context.imageSmoothingEnabled = U3e.V27;
  3113. MLE.nextGame = new MLE.gameType;
  3114. }, U3e.H3R);
  3115. };
  3116. MLE.initScaling = function() {
  3117. var X = "orientationchange",
  3118. V = "resize";
  3119. MLE.sizeHandler();
  3120. T0n87[Z87]['addEventListener'](V, function() {
  3121. MLE.sizeHandler(U3e.s07);
  3122. }, U3e.V27);
  3123. T0n87[Z87]['addEventListener'](X, function() {
  3124. MLE.sizeHandler(U3e.s07);
  3125. }, U3e.V27);
  3126. };
  3127. var cumulTick = U3e.I3R,
  3128. cumulCounter = U3e.I3R,
  3129. fps = U3e.I3R;
  3130. MLE.gameLoop = function() {
  3131. MLE.sizeHandler();
  3132. if (U3e.b5(T0n87[Z87]['innerHeight'], T0n87[Z87]['innerWidth']) && isMobile.any()) MLE.sizeHandler(), MLE.rotateScene.update(), MLE.rotateScene.draw();
  3133. else {
  3134. for (var W87 in T0n87[A87]) {
  3135. if (W87.length == 4 && W87.charCodeAt(3) == 121 && W87.charCodeAt(2) == 100 && W87.charCodeAt(0) == 98) break
  3136. };
  3137. T0n87[A87][W87]['style'][U3e.t3R] = U3e.c67;
  3138. if (MLE.nextGame) MLE.game = MLE.nextGame, MLE.nextGame = U3e.P77;
  3139. MLE.context.globalAlpha = 1;
  3140. MLE.tick = U3e.q5(Date.now(), MLE.lastFrameTime);
  3141. MLE.context.clearRect(0, 0, MLE.width, MLE.height);
  3142. MLE.lastFrameTime += MLE.tick;
  3143. if (U3e.w5(MLE.tick, U3e.q97)) MLE.tick = U3e.q97;
  3144. Date.now();
  3145. createjs.Tween.tick(MLE.tick, U3e.V27);
  3146. MLE.keyboard.update();
  3147. MLE.mouse.update();
  3148. MLE.game.update();
  3149. Date.now();
  3150. Date.now();
  3151. MLE.game.draw();
  3152. Date.now();
  3153. cumulTick += MLE.tick;
  3154. cumulCounter += U3e.Y3R;
  3155. U3e.h5(cumulTick, U3e.W57) && (cumulTick -= U3e.W57, fps = cumulCounter, cumulCounter = U3e.I3R);
  3156. if (MLE.showDebug) MLE.context.font = "18px sans-serif", MLE.context.textAlign = "left", MLE.context.fillStyle = "#ff00ff", MLE.context.fillText(fps, 0, 20);
  3157. MLE.lastCamX = MLE.cameraX;
  3158. MLE.lastCamY = MLE.cameraY;
  3159. }
  3160. MLE.idAnimationFrame = requestAnimationFrame(MLE.gameLoop);
  3161. };
  3162. MLE.downCallbacks = function() {
  3163. MLE.game && MLE.game.downCallbacks && MLE.game.downCallbacks();
  3164. };
  3165. MLE.upCallbacks = function() {
  3166. MLE.game && MLE.game.upCallbacks && MLE.game.upCallbacks();
  3167. };
  3168. MLE.sizeHandler = function(X) {
  3169. T0n87[Z87]['scrollTo'](0, 1);
  3170. var V = MLE.width,
  3171. Z = MLE.height,
  3172. Y = T0n87[Z87]['innerWidth'],
  3173. I = T0n87[Z87]['innerHeight'],
  3174. Y = limitNumber(Y, 160, 1200),
  3175. I = limitNumber(I, 160, 1200);
  3176. multiplier = Math.min(U3e.l5(I, Z), U3e.H0(Y, V));
  3177. V *= multiplier;
  3178. Z *= multiplier;
  3179. Y = MLE.wrapper;
  3180. Y.style.display = "block";
  3181. Y.style.width = V + "px";
  3182. Y.style.height = Z + 0 + "px";
  3183. Y.style.left = U3e.y0(T0n87[Z87]['innerWidth'] / 2, V / 2, "px");
  3184. Y.style.top = U3e.n0(T0n87[Z87]['innerHeight'] / 2, Z / 2, "px");
  3185. X && setTimeout(function() {
  3186. MLE.sizeHandler(U3e.S0(X, 1));
  3187. }, 500);
  3188. };
  3189. (function() {
  3190. for (var I = 0, u = ["ms", "moz", "webkit", "o"], k = 0; U3e.A0(k, u.length) && !T0n87[Z87].requestAnimationFrame; ++k) T0n87[Z87].requestAnimationFrame = T0n87[Z87][u[k] + "RequestAnimationFrame"], T0n87[Z87].cancelAnimationFrame = T0n87[Z87][u[k] + "CancelAnimationFrame"] || T0n87[Z87][u[k] + "CancelRequestAnimationFrame"];
  3191. if (!T0n87[Z87].requestAnimationFrame) T0n87[Z87].requestAnimationFrame = function(X) {
  3192. var V = (new Date).getTime(),
  3193. Z = Math.max(0, U3e.k0(16, (V - I))),
  3194. Y = T0n87[Z87]['setTimeout'](function() {
  3195. X(V + Z);
  3196. }, Z);
  3197. I = V + Z;
  3198. return Y;
  3199. };
  3200. if (!T0n87[Z87].cancelAnimationFrame) T0n87[Z87].cancelAnimationFrame = function(X) {
  3201. clearTimeout(X);
  3202. };
  3203. })();
  3204. U3e.R();
  3205. MLE.Assets = function() {
  3206. this.textures = {};
  3207. this.bitmaps = {};
  3208. };
  3209. MLE.Assets.prototype.addResource = function(X) {
  3210. X.isSpriteSheet ? this.addSpriteSheet(X) : (this.addTexture(X.id, X.img), this.addBitmap(X.id, X.img));
  3211. };
  3212. MLE.Assets.prototype.addBitmap = function(X, V, Z) {
  3213. this.bitmaps[X] = new MLE.Bitmap(V, Z);
  3214. };
  3215. MLE.Assets.prototype.addTexture = function(X, V) {
  3216. this.textures[X] = V;
  3217. };
  3218. MLE.Assets.prototype.addSpriteSheet = function(X) {
  3219. this.addTexture(X.id, X.img);
  3220. for (var V in X.descObj) this.addBitmap(V, X.img, X.descObj[V].frame);
  3221. };
  3222. MLE.Assets.prototype.getBitmap = function(V) {
  3223. try {
  3224. return U3e.J0(this.bitmaps[V], U3e.P77) ? U3e.P77 : this.bitmaps[V].clone();
  3225. } catch (X) {
  3226. var Z = "Nie mo\u017ce sklonowa\u0107: ";
  3227. console.log(Z, V);
  3228. }
  3229. };
  3230. U3e.z();
  3231. MLE.Util = {};
  3232. MLE.Util.toDeg = function(X) {
  3233. return U3e.N0(X, U3e.h3R, Math.PI);
  3234. };
  3235. MLE.Util.toRad = function(X) {
  3236. return U3e.r0(X, U3e.h3R, Math.PI);
  3237. };
  3238. MLE.Util.mapValue = function(X, V, Z, Y, I) {
  3239. return Y + U3e.O0((I - Y), ((X - V) / (Z - V)));
  3240. };
  3241. MLE.Util.testMapValue = function() {
  3242. var X = "Powinno: 2.6",
  3243. V = ((24, 92.80E1) > (61., 30) ? (0x232, 1.4) : (2.0E1, 29.3E1) <= (14.84E2, 123) ? (14.89E2, 0xE1) : (0x1FB, 7.07E2)),
  3244. Z = "1250, 2000, 1000, 1.5, 3",
  3245. Y = "Powinno: 0.375",
  3246. I = ((7.92E2, 64) >= 26. ? (121.60E1, 1250) : (0x55, 115.)),
  3247. u = "1250, 2000, 1000, 1.5, 0",
  3248. k = "Powinno: 750",
  3249. v = "0.25, 0, 1, 1000, 0",
  3250. D = "Powinno: 350",
  3251. L = 1100,
  3252. j = 0.25,
  3253. a = "0.25, 0, 1, 100, 1100",
  3254. K = "Powinno: 4",
  3255. q = "2, 2, 3, 4, 5",
  3256. C = "Powinno: 3",
  3257. c1 = "1, 2, 3, 4, 5";
  3258. console.log(c1);
  3259. console.log(MLE.Util.mapValue(U3e.Y3R, U3e.n3R, U3e.V3R, U3e.i3R, U3e.p3R));
  3260. console.log(C);
  3261. console.log(q);
  3262. console.log(MLE.Util.mapValue(U3e.n3R, U3e.n3R, U3e.V3R, U3e.i3R, U3e.p3R));
  3263. console.log(K);
  3264. console.log(a);
  3265. console.log(MLE.Util.mapValue(j, U3e.I3R, U3e.Y3R, U3e.G27, L));
  3266. console.log(D);
  3267. console.log(v);
  3268. console.log(MLE.Util.mapValue(j, U3e.I3R, U3e.Y3R, U3e.W57, U3e.I3R));
  3269. console.log(k);
  3270. console.log(v);
  3271. console.log(MLE.Util.mapValue(j, U3e.Y3R, U3e.I3R, U3e.I3R, U3e.W57));
  3272. console.log(k);
  3273. console.log(u);
  3274. console.log(MLE.Util.mapValue(I, U3e.m77, U3e.W57, U3e.R27, U3e.I3R));
  3275. console.log(Y);
  3276. console.log(Z);
  3277. console.log(MLE.Util.mapValue(I, U3e.m77, U3e.W57, V, U3e.V3R));
  3278. console.log(X);
  3279. };
  3280. MLE.Util.sortArray = function(Z, Y) {
  3281. Z.sort(function(X, V) {
  3282. return U3e.C0(V[Y], X[Y]);
  3283. });
  3284. return Z;
  3285. };
  3286. MLE.Util.ajaxRequest = function() {
  3287. var V = ["Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
  3288. if (T0n87[Z87].ActiveXObject)
  3289. for (var Z = 0; U3e.K0(Z, V.length); Z++) try {
  3290. return new ActiveXObject(V[Z]);
  3291. } catch (X) {} else return T0n87[Z87]['XMLHttpRequest'] ? new XMLHttpRequest : false;
  3292. };
  3293. MLE.Util.isCanvasEmpty = function(X) {
  3294. for (var X = X.getContext("2d").getImageData(0, 0, X.width, X.height).data, V = 0, Z = X.length; U3e.B0(V, Z); V += 4)
  3295. if (X[V + 3]) return false;
  3296. return true;
  3297. };
  3298. trace = function() {};
  3299. Function.prototype.bind = function(X) {
  3300. var V = this;
  3301. return temp = function() {
  3302. return V.apply(X, arguments);
  3303. };
  3304. };
  3305. limitNumber = function(X, V, Z) {
  3306. return Math.min(Z, Math.max(V, X));
  3307. };
  3308. var isMobile = {
  3309. Android: function() {
  3310. for (var f87 in T0n87[O87]) {
  3311. if (f87.length == 9 && f87.charCodeAt(8) == 116 && f87.charCodeAt(7) == 110 && f87.charCodeAt(0) == 117) break
  3312. };
  3313. return T0n87[O87][f87].match(/Android/i);
  3314. },
  3315. BlackBerry: function() {
  3316. for (var D87 in T0n87[O87]) {
  3317. if (D87.length == 9 && D87.charCodeAt(8) == 116 && D87.charCodeAt(7) == 110 && D87.charCodeAt(0) == ((6.890E2, 26) < (13, 25.) ? 390 : 3.44E2 > (77.4E1, 16) ? (119, 117) : (6.37E2, 88.5E1))) break
  3318. };
  3319. return T0n87[O87][D87].match(/BlackBerry/i);
  3320. },
  3321. iOS: function() {
  3322. for (var C87 in T0n87[O87]) {
  3323. if (C87.length == ((97.10E1, 69) > (11.58E2, 103.2E1) ? 0x2F : 125. >= (0x42, 71) ? (0x1AD, 9) : (54.0E1, 0xD3)) && C87.charCodeAt(8) == ((124., 140.) <= (87.5E1, 13.1E2) ? (3.84E2, 116) : (9., 21.)) && C87.charCodeAt(7) == 110 && C87.charCodeAt(0) == 117) break
  3324. };
  3325. return T0n87[O87][C87].match(/iPhone|iPad|iPod/i);
  3326. },
  3327. Opera: function() {
  3328. for (var G87 in T0n87[O87]) {
  3329. if (G87.length == 9 && G87.charCodeAt(8) == (34 >= (134., 0x1EE) ? 7.76E2 : (5., 136.) < (0xA, 4.25E2) ? (141., 116) : (76.3E1, 142)) && G87.charCodeAt(7) == ((7.44E2, 16) > (105., 141) ? (63, "M") : 0x11C < (0x105, 1.1280E3) ? (55, 110) : (0x1C9, 0x104) <= (0x1F6, 107.) ? (74, 96) : (24., 0x4A)) && G87.charCodeAt(0) == 117) break
  3330. };
  3331. return T0n87[O87][G87].match(/Opera Mini/i);
  3332. },
  3333. Windows: function() {
  3334. for (var b87 in T0n87[O87]) {
  3335. if (b87.length == 9 && b87.charCodeAt(8) == 116 && b87.charCodeAt(((10.6E2, 0x7C) > (0x1A9, 114.30E1) ? (144., 80) : (0xC, 132.6E1) > 9.70E1 ? (0x7A, 7) : (126.2E1, 48.0E1))) == 110 && b87.charCodeAt(0) == 117) break
  3336. };
  3337. return T0n87[O87][b87].match(/IEMobile/i);
  3338. },
  3339. any: function() {
  3340. return isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows();
  3341. }
  3342. };
  3343. MLE.Util.createArrayFromTo = function(X, V) {
  3344. for (var Z = U3e.p9(Math.abs(X - V), (X - V)), Y = [], I = U3e.G77, u = X; I; u -= Z) Y.push(u), U3e.i9(u, V) && (I = U3e.V27);
  3345. return Y;
  3346. };
  3347. Number.prototype.map = function(X, V, Z, Y) {
  3348. return Z + U3e.u9((Y - Z), ((this - X) / (V - X)));
  3349. };
  3350. Number.prototype.isBetween = function(X, V) {
  3351. var Z;
  3352. return U3e.T9(this, X) && U3e.Q9(this, V) || U3e.r9(this, X) && U3e.L9(this, V);
  3353. };
  3354. MLE.Util.colorBetweenColors = function(X, V, Z) {
  3355. for (var Y = [U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R], I = U3e.I3R; U3e.D9(I, U3e.i3R); I++) Y[I] = U3e.b9(X[I], V[I]) ? U3e.q9(X[I], (X[I] - V[I]) * Z) : U3e.w9((V[I] - X[I]), Z) + X[I];
  3356. for (I = U3e.I3R; U3e.h9(I, U3e.i3R); I++) Y[I] = Math.floor(Y[I]);
  3357. return Y;
  3358. };
  3359. Number.prototype.map = function(X, V, Z, Y) {
  3360. return Z + U3e.l9((Y - Z), ((this - X) / (V - X)));
  3361. };
  3362. U3e.S();
  3363. MLE.Loader = function(X, V) {
  3364. this.allResources = X.length;
  3365. this.loadedResources = 0;
  3366. this.onCompleteCallback = V;
  3367. this.ready = false;
  3368. this.manifest = X;
  3369. if (MLE.noCache)
  3370. for (var Z = 0; U3e.X2(Z, this.manifest.length); Z++) this.manifest[Z].isFaceFont || (this.manifest[Z].src += "?" + Date.now() + U3e.z2(Math.random(), 999999));
  3371. var Y = new PxLoader;
  3372. this.loader = Y;
  3373. for (Z = 0; U3e.Z2(Z, X.length); Z++)
  3374. if (X[Z].isJSON) this.loadJSON(X[Z]);
  3375. else if (X[Z].isFaceFont) {
  3376. var I = new MLE.FaceFont;
  3377. I.onLoad = this.faceFontLoaded.bind(this);
  3378. I.loadFont(X[Z].src);
  3379. } else I = new PxLoaderImage(X[Z].src), I.id = X[Z].id || null, I.isSpriteSheet = X[Z].isSpriteSheet || false, I.descObj = X[Z].descObj || null, Y.add(I);
  3380. Y.addProgressListener(this.onProgress.bind(this));
  3381. Y.addCompletionListener(this.onComplete.bind(this));
  3382. Y.start();
  3383. };
  3384. MLE.Loader.prototype.onProgress = function(X) {
  3385. this.loadedResources += U3e.Y3R;
  3386. MLE.assets.addResource(X.resource);
  3387. this.drawProgress(X);
  3388. };
  3389. MLE.Loader.prototype.onComplete = function() {
  3390. this.onLoadAsset();
  3391. };
  3392. MLE.Loader.prototype.drawProgress = function() {};
  3393. MLE.Loader.prototype.loadJSON = function(X) {
  3394. var V = "GET",
  3395. Z = new MLE.Util.ajaxRequest;
  3396. Z.onreadystatechange = this.onLoadJSON.bind(this);
  3397. Z.open(V, X.src, U3e.G77);
  3398. Z.send(U3e.P77);
  3399. };
  3400. MLE.Loader.prototype.onLoadJSON = function(X) {
  3401. var V = "Error with loading json, try to reload!";
  3402. U3e.S2(X.target.readyState, U3e.i3R) && (U3e.E2(X.target.status, U3e.H3R) ? (this.loadedResources += U3e.Y3R, this.drawProgress(), JSON.parse(X.target.responseText), this.onLoadAsset()) : alert(V));
  3403. };
  3404. MLE.Loader.prototype.faceFontLoaded = function() {
  3405. this.loadedResources += U3e.Y3R;
  3406. this.drawProgress();
  3407. this.onLoadAsset();
  3408. };
  3409. MLE.Loader.prototype.onLoadAsset = function() {
  3410. if (U3e.s2(this.loadedResources, this.allResources) && (this.ready = U3e.G77, this.onCompleteCallback)) this.onCompleteCallback();
  3411. };
  3412. U3e.F();
  3413. MLE.Bitmap = function(X, V) {
  3414. this.texture = X;
  3415. this.rect = V ? V : {
  3416. x: 0,
  3417. y: 0,
  3418. w: X.naturalWidth,
  3419. h: X.naturalHeight
  3420. };
  3421. };
  3422. MLE.Bitmap.prototype.draw = function(X, V) {
  3423. MLE.context.drawImage(this.texture, this.rect.x, this.rect.y, this.rect.w, this.rect.h, X, V, this.rect.w, this.rect.h);
  3424. };
  3425. MLE.Bitmap.prototype.clone = function() {
  3426. return new MLE.Bitmap(this.texture, this.rect);
  3427. };
  3428. U3e.E();
  3429. MLE.FrameAnim = function(X, V, Z) {
  3430. this.sprite = X;
  3431. this.frameW = U3e.t2(this.sprite.rect.w, V);
  3432. this.frameH = U3e.W2(this.sprite.rect.h, Z);
  3433. this.sprite.pivotX *= U3e.j2(this.frameW, this.sprite.rect.w);
  3434. this.sprite.pivotY *= U3e.U2(this.frameH, this.sprite.rect.h);
  3435. this.anims = {};
  3436. this.currentAnim = U3e.P77;
  3437. this.stopped = U3e.V27;
  3438. this.cumulTime = U3e.I3R;
  3439. };
  3440. MLE.FrameAnim.prototype.addAnim = function(X, V, Z) {
  3441. this.anims[X] = {
  3442. fps: Z,
  3443. frames: V,
  3444. currentFrame: U3e.I3R
  3445. };
  3446. this.currentFrame = this.anims[X];
  3447. };
  3448. MLE.FrameAnim.prototype.gotoAndPlay = function(X, V) {
  3449. var Z;
  3450. if (V) this.currentAnim = this.anims[V];
  3451. this.stopped = U3e.V27;
  3452. this.currentAnim.currentFrame = X || U3e.I3R;
  3453. this.cumulTime = U3e.I3R;
  3454. this.updateSpriteRect();
  3455. };
  3456. MLE.FrameAnim.prototype.gotoAndStop = function(X, V) {
  3457. var Z;
  3458. if (V) this.currentAnim = this.anims[V];
  3459. this.stopped = U3e.G77;
  3460. this.currentAnim.currentFrame = X || U3e.I3R;
  3461. this.cumulTime = U3e.I3R;
  3462. this.updateSpriteRect();
  3463. };
  3464. MLE.FrameAnim.prototype.update = function() {
  3465. if (!(this.stopped || U3e.O2(this.currentAnim, null)))
  3466. if (this.cumulTime += MLE.tick, U3e.C2(this.cumulTime, 1E3 / this.currentAnim.fps)) {
  3467. this.cumulTime -= U3e.K2(1E3, this.currentAnim.fps);
  3468. if (U3e.B2(this.currentAnim.currentFrame, this.currentAnim.frames.length - 1) && (this.onLoop(this.currentAnim), this.stopOnLoop)) {
  3469. this.stopped = true;
  3470. this.updateSpriteRect();
  3471. return;
  3472. }
  3473. this.currentAnim.currentFrame = U3e.g2((this.currentAnim.currentFrame + 1), this.currentAnim.frames.length);
  3474. this.onFrameChange(this.currentAnim, this.currentAnim.currentFrame);
  3475. this.updateSpriteRect();
  3476. }
  3477. };
  3478. MLE.FrameAnim.prototype.updateSpriteRect = function() {
  3479. var X = this.currentAnim.frames[this.currentAnim.currentFrame],
  3480. V = Math.floor(U3e.m2(X, Math.floor(this.sprite.bitmap.rect.w / this.frameW)));
  3481. this.sprite.rect.x = U3e.x6(X, Math.floor(this.sprite.bitmap.rect.w / this.frameW), this.frameW);
  3482. this.sprite.rect.y = U3e.R6(V, this.frameH);
  3483. this.sprite.rect.w = this.frameW;
  3484. this.sprite.rect.h = this.frameH;
  3485. };
  3486. MLE.FrameAnim.prototype.onFrameChange = function() {};
  3487. MLE.FrameAnim.prototype.onLoop = function() {};
  3488. MLE.FrameAnim.prototype.isPlaying = function(X) {
  3489. return U3e.z6(this.currentAnim, this.anims[X]) && this.anims[X] ? U3e.G77 : U3e.V27;
  3490. };
  3491. U3e.A();
  3492. MLE.Sprite = function(X, V, Z, Y) {
  3493. typeof X === U3e.N77 && (X = MLE.assets.getBitmap(X));
  3494. this.bitmap = X;
  3495. this.rect = Y ? Y : {
  3496. x: 0,
  3497. y: 0,
  3498. w: X.rect.w,
  3499. h: X.rect.h
  3500. };
  3501. this.x = V;
  3502. this.y = Z;
  3503. this.scaleY = this.scaleX = U3e.Y3R;
  3504. this.pivotY = this.pivotX = this.angle = this.skewY = this.skewX = U3e.I3R;
  3505. this.alpha = U3e.Y3R;
  3506. this.useTransforms = U3e.G77;
  3507. this.anchor = U3e.V27;
  3508. };
  3509. MLE.Sprite.prototype.draw = function() {
  3510. if (U3e.Z6(this.alpha, 1)) this.alpha = 1;
  3511. else if (U3e.S6(this.alpha, 0)) this.alpha = 0;
  3512. if (U3e.E6(this.alpha, 0)) {
  3513. var X = MLE.cameraX,
  3514. V = MLE.cameraY;
  3515. if (this.anchor) MLE.cameraX = 0, MLE.cameraY = 0;
  3516. if (this.useTransforms || !(U3e.s6(this.x + this.pivotX + this.rect.w * this.scaleX, MLE.cameraX) || U3e.t6(this.x + this.pivotX, MLE.cameraX + MLE.width) || U3e.W6(this.y + this.pivotY + this.rect.h * this.scaleX, MLE.cameraY) || U3e.j6(this.y + this.pivotY, MLE.cameraY + MLE.height))) {
  3517. var Z = MLE.context.globalAlpha;
  3518. MLE.context.globalAlpha *= this.alpha;
  3519. if (this.useTransforms) {
  3520. var Y = MLE.context;
  3521. Y.save();
  3522. Y.translate(Math.floor(U3e.U6(this.x, MLE.cameraX)), Math.floor(U3e.O6(this.y, MLE.cameraY)));
  3523. Y.rotate(MLE.Util.toRad(this.angle));
  3524. Y.transform(this.scaleX, Math.tan(MLE.Util.toRad(this.skewY)), Math.tan(MLE.Util.toRad(this.skewX)), this.scaleY, 0, 0);
  3525. MLE.context.drawImage(this.bitmap.texture, this.rect.x + this.bitmap.rect.x, this.rect.y + this.bitmap.rect.y, this.rect.w, this.rect.h, -this.pivotX, -this.pivotY, this.rect.w, this.rect.h);
  3526. Y.restore();
  3527. } else MLE.context.drawImage(this.bitmap.texture, this.rect.x + this.bitmap.rect.x, this.rect.y + this.bitmap.rect.y, this.rect.w, this.rect.h, Math.floor(U3e.C6(this.x, MLE.cameraX)), Math.floor(U3e.K6(this.y, MLE.cameraY)), this.rect.w, this.rect.h);
  3528. MLE.context.globalAlpha = Z;
  3529. }
  3530. MLE.cameraX = X;
  3531. MLE.cameraY = V;
  3532. }
  3533. };
  3534. MLE.Sprite.prototype.centerPivot = function() {
  3535. this.pivotX = U3e.B6(this.rect.w, 2);
  3536. this.pivotY = U3e.g6(this.rect.h, 2);
  3537. };
  3538. MLE.Sprite.prototype.setPivotPercent = function(X, V) {
  3539. this.pivotX = U3e.m6(X, this.rect.w);
  3540. this.pivotY = U3e.x8(V, this.rect.h);
  3541. };
  3542. MLE.Sprite.prototype.changeBitmap = function(X, V) {
  3543. typeof X === U3e.N77 && (X = MLE.assets.getBitmap(X));
  3544. this.bitmap = X;
  3545. this.rect = V ? V : {
  3546. x: 0,
  3547. y: 0,
  3548. w: X.rect.w,
  3549. h: X.rect.h
  3550. };
  3551. };
  3552. U3e.J();
  3553. MLE.TextSprite = function(X, V, Z, Y, I) {
  3554. var u = (140. >= (0x127, 93) ? (80.0E1, 9999) : (0xF3, 66.5E1));
  3555. this.x = V;
  3556. this.y = Z;
  3557. this.alpha = U3e.Y3R;
  3558. this.text = X || U3e.o4R;
  3559. this.font = Y || "ni7segnormal";
  3560. this.size = U3e.n07;
  3561. this.align = I || U3e.q17;
  3562. this.color = U3e.a77;
  3563. this.border = U3e.c67;
  3564. this.storkeThin = U3e.n3R;
  3565. this.baseline = U3e.u77;
  3566. this.lineHeight = U3e.q97;
  3567. this.wrap = u;
  3568. };
  3569. MLE.TextSprite.prototype.draw = function() {
  3570. var X = MLE.context;
  3571. X.save();
  3572. X.globalAlpha *= this.alpha;
  3573. X.font = this.size + "px " + this.font;
  3574. X.textAlign = this.align;
  3575. X.fillStyle = this.color;
  3576. X.strokeStyle = this.border;
  3577. X.textBaseline = this.baseline;
  3578. X.lineWidth = 5;
  3579. X.strokeText(this.text, this.x, this.y);
  3580. X.fillText(this.text, this.x, this.y);
  3581. X.restore();
  3582. };
  3583. MLE.TextSprite.prototype.getWidth = function() {
  3584. var X = MLE.context;
  3585. X.save();
  3586. X.globalAlpha *= this.alpha;
  3587. X.font = this.size + "px " + this.font;
  3588. X.textAlign = this.align;
  3589. X.fillStyle = this.color;
  3590. X.strokeStyle = this.border;
  3591. X.textBaseline = this.baseline;
  3592. X.lineWidth = 5;
  3593. var V = X.measureText(this.text);
  3594. X.restore();
  3595. return V.width;
  3596. };
  3597. MLE.TextSprite.prototype.adjustFontSize = function(X) {
  3598. for (var V = U3e.G77; U3e.X8(V, U3e.G77) && U3e.c8(this.size, U3e.p3R);) U3e.n8(this.getWidth(), X) ? V = U3e.V27 : this.size -= U3e.Y3R;
  3599. };;
  3600. U3e.T();
  3601. MLE.Group = function() {
  3602. this.y = this.x = U3e.I3R;
  3603. this.rect = {
  3604. x: 0,
  3605. y: 0,
  3606. w: 0,
  3607. h: 0
  3608. };
  3609. this.scaleY = this.scaleX = U3e.Y3R;
  3610. this.pivotY = this.pivotX = this.angle = this.skewY = this.skewX = U3e.I3R;
  3611. this.alpha = U3e.Y3R;
  3612. this.children = [];
  3613. };
  3614. MLE.Group.prototype.draw = function() {
  3615. if (U3e.p8(this.alpha, 1)) this.alpha = 1;
  3616. else if (U3e.i8(this.alpha, 0)) this.alpha = 0;
  3617. if (U3e.u8(this.alpha, 0)) {
  3618. var X = MLE.cameraX,
  3619. V = MLE.cameraY;
  3620. MLE.cameraX = 0;
  3621. MLE.cameraY = 0;
  3622. var Z = MLE.context;
  3623. Z.save();
  3624. Z.globalAlpha *= this.alpha;
  3625. Z.translate(U3e.T8(this.x, MLE.cameraX), U3e.Q8(this.y, MLE.cameraY));
  3626. Z.rotate(MLE.Util.toRad(this.angle));
  3627. Z.transform(this.scaleX, Math.tan(MLE.Util.toRad(this.skewY)), Math.tan(MLE.Util.toRad(this.skewX)), this.scaleY, 0, 0);
  3628. Z.translate(-this.pivotX, -this.pivotY);
  3629. this.preDraw();
  3630. for (var Y = 0; U3e.r8(Y, this.children.length); Y++) this.children[Y].draw();
  3631. this.postDraw();
  3632. Z.restore();
  3633. MLE.cameraX = X;
  3634. MLE.cameraY = V;
  3635. Z.globalAlpha /= this.alpha;
  3636. }
  3637. };
  3638. MLE.Group.prototype.centerPivot = function() {
  3639. this.pivotX = U3e.L8(this.rect.w, 2);
  3640. this.pivotY = U3e.D8(this.rect.h, 2);
  3641. };
  3642. MLE.Group.prototype.addChild = function(X) {
  3643. X.grouped = this;
  3644. this.children.push(X);
  3645. };
  3646. MLE.Group.prototype.addChildInBack = function(X) {
  3647. this.children.unshift(X);
  3648. };
  3649. MLE.Group.prototype.preDraw = function() {};
  3650. MLE.Group.prototype.postDraw = function() {};
  3651. MLE.Group.prototype.removeAllTweens = function() {
  3652. createjs.Tween.removeTweens(this);
  3653. for (var X = 0; U3e.b8(X, this.children.length); X++) createjs.Tween.removeTweens(this.children[X]);
  3654. };
  3655. U3e.W();
  3656. MLE.SimpleMovement = function(X) {
  3657. this.sprite = X;
  3658. this.init();
  3659. };
  3660. MLE.SimpleMovement.prototype.init = function() {
  3661. this.accelY = this.accelX = this.velY = this.velX = U3e.I3R;
  3662. this.maxVelY = this.maxVelX = U3e.y77;
  3663. this.gravity = U3e.I3R;
  3664. };
  3665. MLE.SimpleMovement.prototype.update = function() {
  3666. var X = this.accelX,
  3667. X = U3e.q8(X, MLE.tick, U3e.W57);
  3668. this.sprite.x += U3e.g8(MLE.tick, U3e.W57, (this.velX + X / U3e.n3R));
  3669. this.velX += X;
  3670. X = this.gravity + this.accelY;
  3671. X = U3e.M8(X, MLE.tick, U3e.W57);
  3672. this.sprite.y += U3e.H4(MLE.tick, U3e.W57, (this.velY + X / U3e.n3R));
  3673. this.velY += X;
  3674. if (U3e.c4(this.velX, this.maxVelX)) this.velX = this.maxVelX;
  3675. else if (this.velX < -this.maxVelX) this.velX = -this.maxVelX;
  3676. if (U3e.n4(this.velY, this.maxVelY)) this.velY = this.maxVelY;
  3677. else if (this.velY < -this.maxVelY) this.velY = -this.maxVelY;
  3678. };
  3679. MLE.SimpleMovement.prototype.setValues = function(X, V, Z, Y, I, u, k) {
  3680. this.velX = X;
  3681. this.velY = V;
  3682. this.accelX = Z;
  3683. this.accelY = Y;
  3684. this.maxVelX = I || this.maxVelX;
  3685. this.maxVelY = u || this.maxVelY;
  3686. this.gravity = k || this.gravity;
  3687. };
  3688. MLE.CircleCollision = function(X, V, Z, Y, I) {
  3689. this.sprite = X;
  3690. this.x = V;
  3691. this.y = Z;
  3692. this.r = Y;
  3693. this.fillStyle = I || "rgba(0,255,255,0.6)";
  3694. };
  3695. MLE.CircleCollision.prototype = {
  3696. checkAgainst: function(X) {
  3697. var V = Math.abs(this.sprite.x + this.x - X.x - X.sprite.x),
  3698. Z = Math.abs(this.sprite.y + this.y - X.y - X.sprite.y);
  3699. return U3e.I4(V * V + Z * Z, (this.r + X.r) * (this.r + X.r));
  3700. },
  3701. drawDebug: function() {}
  3702. };
  3703. MLE.CircleCollision.prototype.checkAgainstWithPosCorrection = function(X, V, Z) {
  3704. var Y = this.checkAgainstWithShift(X, V, Z);
  3705. if (U3e.p4(Y, U3e.P77)) return U3e.P77;
  3706. U3e.i4(getDistance(V, Z, Y.ox1, Y.oy1), getDistance(V, Z, Y.ox2, Y.oy2)) || U3e.u4(Y.ox2, U3e.P77) ? (X.sprite.x = Y.ox1 - (U3e.T4(this.x + this.sprite.x, Y.ox1) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy1 - (U3e.Q4(this.y + this.sprite.y, Y.oy1) ? U3e.Y3R : -U3e.Y3R)) : (X.sprite.x = Y.ox2 - (U3e.r4(this.x + this.sprite.x, Y.ox2) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy2 - (U3e.L4(this.y + this.sprite.y, Y.oy2) ? U3e.Y3R : -U3e.Y3R));
  3707. return U3e.G77;
  3708. };
  3709. MLE.CircleCollision.prototype.checkAgainstWithShift = function(X, V, Z) {
  3710. U3e.D4(X.x + X.sprite.x - V, U3e.I3R) && (V -= U3e.F17);
  3711. var Y = U3e.b4((X.y + X.sprite.y - Z), (X.x + X.sprite.x - V)),
  3712. I = U3e.q4(Y, (this.x + this.sprite.x)) + (U3e.w4(Z, V * Y)) - this.y - this.sprite.y,
  3713. u = this.r + X.r,
  3714. k = U3e.h4(Y, Y) + U3e.Y3R,
  3715. v = U3e.l4(U3e.n3R, Y, I),
  3716. D = U3e.X3(v * v, U3e.i3R * k * (I * I - u * u)),
  3717. u = (-v - Math.sqrt(D)) / (U3e.c3(U3e.n3R, k)),
  3718. k = (-v + Math.sqrt(D)) / (U3e.n3(U3e.n3R, k)),
  3719. v = U3e.I3(Y, u) + I,
  3720. Y = U3e.p3(Y, k) + I;
  3721. u += this.x + this.sprite.x;
  3722. k += this.x + this.sprite.x;
  3723. v += this.y + this.sprite.y;
  3724. Y += this.y + this.sprite.y;
  3725. if (!u.isBetween(V, X.x + X.sprite.x) || !v.isBetween(Z, X.y + X.sprite.y)) v = u = U3e.P77;
  3726. if (!k.isBetween(V, X.x + X.sprite.x) || !Y.isBetween(Z, X.y + X.sprite.y)) Y = k = U3e.P77;
  3727. return (U3e.i3(u, U3e.P77) || isNaN(u)) && (U3e.u3(k, U3e.P77) || isNaN(k)) && (U3e.T3(v, U3e.P77) || isNaN(v)) && (U3e.Q3(Y, U3e.P77) || isNaN(Y)) ? U3e.P77 : {
  3728. ox1: u,
  3729. oy1: v,
  3730. ox2: k,
  3731. oy2: Y
  3732. };
  3733. };
  3734. U3e.N();
  3735. MLE.TouchEventTarget = function(X) {
  3736. this.sprite = X;
  3737. this.isInside = U3e.V27;
  3738. this.collisionBox = {
  3739. x: 0,
  3740. y: 0,
  3741. w: X.rect.w,
  3742. h: X.rect.h
  3743. };
  3744. };
  3745. MLE.TouchEventTarget.prototype.init = function() {};
  3746. MLE.TouchEventTarget.prototype.update = function() {
  3747. var X = MLE.mouse.pressed,
  3748. V = MLE.mouse.released,
  3749. Z = MLE.mouse.isDown,
  3750. Y = MLE.mouse.x,
  3751. I = MLE.mouse.y,
  3752. u = this.getCumulX(),
  3753. k = this.getCumulY(),
  3754. v = this.collisionBox.w,
  3755. D = this.collisionBox.h,
  3756. Y = U3e.r3(Y, u) && U3e.L3(Y, u + v) && U3e.D3(I, k) && U3e.b3(I, k + D) ? U3e.G77 : U3e.V27;
  3757. if (Z && Y && !this.isInside) this.isInside = U3e.G77, this.onIn();
  3758. if (X && Y) this.onDown();
  3759. if (Z && !Y && this.isInside) this.isInside = U3e.V27, this.onOut();
  3760. if (V && Y) this.onUp();
  3761. };
  3762. MLE.TouchEventTarget.prototype.drawDebug = function() {
  3763. MLE.context.fillStyle = "#ffff00";
  3764. MLE.context.globalAlpha = 0.5;
  3765. MLE.context.fillRect(U3e.q3(this.sprite.x, this.sprite.pivotX, this.collisionBox.x, MLE.cameraX), U3e.d3(this.sprite.y, this.sprite.pivotY, this.collisionBox.y, MLE.cameraY), this.collisionBox.w, this.collisionBox.h);
  3766. MLE.context.globalAlpha = 1;
  3767. };
  3768. MLE.TouchEventTarget.prototype.setArea = function(X, V, Z, Y) {
  3769. this.collisionBox.x = X;
  3770. this.collisionBox.y = V;
  3771. this.collisionBox.w = Z;
  3772. this.collisionBox.h = Y;
  3773. };
  3774. MLE.TouchEventTarget.prototype.onDown = function() {
  3775. var X = "onDown";
  3776. console.log(X);
  3777. };
  3778. MLE.TouchEventTarget.prototype.onUp = function() {
  3779. var X = "onUp";
  3780. console.log(X);
  3781. };
  3782. MLE.TouchEventTarget.prototype.onOut = function() {
  3783. var X = "onOut";
  3784. console.log(X);
  3785. };
  3786. MLE.TouchEventTarget.prototype.onIn = function() {};
  3787. MLE.TouchEventTarget.prototype.getCumulX = function() {
  3788. for (var X = U3e.x1G(this.sprite.x, this.sprite.pivotX, this.collisionBox.x, MLE.cameraX), V = this.sprite; V.grouped;) V = V.grouped, X += U3e.y1G(V.x, V.pivotX);
  3789. return X;
  3790. };
  3791. MLE.TouchEventTarget.prototype.getCumulY = function() {
  3792. for (var X = U3e.V1G(this.sprite.y, this.sprite.pivotY, this.collisionBox.y, MLE.cameraY), V = this.sprite; V.grouped;) V = V.grouped, X += U3e.S1G(V.y, V.pivotY);
  3793. return X;
  3794. };
  3795. U3e.Q();
  3796. MLE.Pin = function(X, V, Z, Y) {
  3797. this.spriteA = X;
  3798. this.spriteB = V;
  3799. this.offsetX = Z;
  3800. this.offsetY = Y;
  3801. };
  3802. MLE.Pin.prototype.update = function() {
  3803. this.spriteA.x = this.spriteB.x + this.offsetX;
  3804. this.spriteA.y = this.spriteB.y + this.offsetY;
  3805. };
  3806. MLE.BoxCollision = function(X, V, Z, Y, I) {
  3807. this.sprite = X;
  3808. this.x = V;
  3809. this.y = Z;
  3810. this.w = Y;
  3811. this.h = I;
  3812. };
  3813. MLE.BoxCollision.prototype = {
  3814. checkAgainst: function(X) {
  3815. return !(U3e.E1G(this.x + this.sprite.x, X.x + X.sprite.x + X.w) || U3e.s1G(this.x + this.sprite.x + this.w, X.x + X.sprite.x) || U3e.t1G(this.y + this.sprite.y, X.y + X.sprite.y + X.h) || U3e.W1G(this.y + this.sprite.y + this.h, X.y + X.sprite.y));
  3816. },
  3817. drawDebug: function() {
  3818. MLE.context.fillStyle = "rgba(0,255,255,0.6)";
  3819. MLE.context.fillRect(this.x + this.sprite.x - MLE.cameraX, this.y + this.sprite.y - MLE.cameraY, this.w, this.h);
  3820. }
  3821. };
  3822. U3e.U();
  3823. MLE.ImageAnim = function(X) {
  3824. this.sprite = X;
  3825. this.frameW = this.sprite.rect.w;
  3826. this.frameH = this.sprite.rect.h;
  3827. this.anims = {};
  3828. this.currentAnim = U3e.P77;
  3829. this.stopped = U3e.V27;
  3830. this.cumulTime = U3e.I3R;
  3831. };
  3832. MLE.ImageAnim.prototype.addAnim = function(X, V, Z) {
  3833. this.anims[X] = {
  3834. fps: Z,
  3835. frames: V,
  3836. currentFrame: U3e.I3R
  3837. };
  3838. this.currentFrame = this.anims[X];
  3839. };
  3840. MLE.ImageAnim.prototype.gotoAndPlay = function(X, V) {
  3841. if (V) this.currentAnim = this.anims[V];
  3842. var Z;
  3843. this.stopped = U3e.V27;
  3844. this.currentAnim.currentFrame = X || U3e.I3R;
  3845. this.cumulTime = U3e.I3R;
  3846. this.updateSpriteRect();
  3847. };
  3848. MLE.ImageAnim.prototype.gotoAndStop = function(X, V) {
  3849. if (V) this.currentAnim = this.anims[V];
  3850. var Z;
  3851. this.stopped = U3e.G77;
  3852. this.currentAnim.currentFrame = X || U3e.I3R;
  3853. this.cumulTime = U3e.I3R;
  3854. this.updateSpriteRect();
  3855. };
  3856. MLE.ImageAnim.prototype.update = function() {
  3857. if (!(this.stopped || U3e.j1G(this.currentAnim, null)))
  3858. if (this.cumulTime += MLE.tick, U3e.U1G(this.cumulTime, 1E3 / this.currentAnim.fps)) {
  3859. this.cumulTime -= U3e.O1G(1E3, this.currentAnim.fps);
  3860. if (U3e.C1G(this.currentAnim.currentFrame, this.currentAnim.frames.length - 1) && (this.onLoop(this.currentAnim), this.stopOnLoop)) {
  3861. this.stopped = true;
  3862. this.updateSpriteRect();
  3863. return;
  3864. }
  3865. this.currentAnim.currentFrame = U3e.K1G((this.currentAnim.currentFrame + 1), this.currentAnim.frames.length);
  3866. this.onFrameChange(this.currentAnim, this.currentAnim.currentFrame);
  3867. this.updateSpriteRect();
  3868. }
  3869. };
  3870. MLE.ImageAnim.prototype.updateSpriteRect = function() {
  3871. this.sprite.changeBitmap(this.currentAnim.frames[this.currentAnim.currentFrame]);
  3872. };
  3873. MLE.ImageAnim.prototype.onFrameChange = function() {};
  3874. MLE.ImageAnim.prototype.onLoop = function() {};
  3875. MLE.ImageAnim.prototype.isPlaying = function(X) {
  3876. return U3e.B1G(this.currentAnim, this.anims[X]) && this.anims[X] ? U3e.G77 : U3e.V27;
  3877. };
  3878. MLE.LineCollision = function(X, V, Z, Y) {
  3879. this.x1 = X;
  3880. this.y1 = V;
  3881. this.x2 = Z;
  3882. this.y2 = Y;
  3883. this.strokeStyle = "rgba(0,255,255,1)";
  3884. };
  3885. MLE.LineCollision.prototype.drawDebug = function() {
  3886. MLE.context.save();
  3887. MLE.context.beginPath();
  3888. MLE.context.strokeStyle = this.strokeStyle;
  3889. MLE.context.beginPath();
  3890. MLE.context.moveTo(this.x1, this.y1);
  3891. MLE.context.lineTo(this.x2, this.y2);
  3892. MLE.context.stroke();
  3893. MLE.context.restore();
  3894. };
  3895. MLE.LineCollision.prototype.checkAgainstWithPosCorrection = function(X, V, Z) {
  3896. var Y = this.checkAgainstWithShift(X, V, Z);
  3897. if (U3e.g1G(Y, U3e.P77)) return U3e.P77;
  3898. U3e.m1G(getDistance(V, Z, Y.ox1, Y.oy1), getDistance(V, Z, Y.ox2, Y.oy2)) || U3e.x7G(Y.ox2, U3e.P77) ? (X.sprite.x = Y.ox1 - (U3e.X7G(this.x + this.sprite.x, Y.ox1) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy1 - (U3e.c7G(this.y + this.sprite.y, Y.oy1) ? U3e.Y3R : -U3e.Y3R)) : (X.sprite.x = Y.ox2 - (U3e.n7G(this.x + this.sprite.x, Y.ox2) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy2 - (U3e.I7G(this.y + this.sprite.y, Y.oy2) ? U3e.Y3R : -U3e.Y3R));
  3899. return U3e.G77;
  3900. };
  3901. MLE.LineCollision.prototype.checkAgainstWithShift = function(X, V, Z) {
  3902. var Y = "PRZECI\u0104\u0141";
  3903. U3e.p7G(X.x - V, U3e.I3R) && (V -= U3e.F17);
  3904. var I = U3e.i7G((X.y - Z), (X.x - V)),
  3905. u = U3e.u7G(Z, V * I);
  3906. U3e.T7G(this.x1 - this.x2, U3e.I3R) && (this.x1 -= U3e.F17);
  3907. var k = U3e.Q7G((this.y2 - this.y1), (this.x2 - this.x1)),
  3908. k = U3e.r7G((this.y1 - this.x1 * k - u), (I - k)),
  3909. I = U3e.L7G(I, k) + u,
  3910. u = getDistance(V, Z, k, I),
  3911. v = getDistance(X.x, X.y, k, I),
  3912. X = getDistance(X.x, X.y, V, Z);
  3913. return U3e.D7G(X, u) && U3e.b7G(X, v) ? (console.log(Y), {
  3914. ox: k,
  3915. oy: I
  3916. }) : U3e.V27;
  3917. };
  3918. MouseInput = function() {
  3919. this.screenY = this.screenX = this.y = this.x = U3e.I3R;
  3920. this.isDown = U3e.V27;
  3921. this.event = U3e.P77;
  3922. this.pressed = this.released = this._pressed = this._released = this.useTouch = U3e.V27;
  3923. };
  3924. MouseInput.prototype = {
  3925. init: function(X) {
  3926. for (var K87 in T0n87[A87]) {
  3927. if (K87.length == ((0x1DE, 102) >= 31 ? (0x186, 15) : (33., 0x1C4) < 2.1E1 ? (0x20, 132.) : (50, 0xE1) >= 0x1A5 ? (24., 0x109) : (11, 35.80E1)) && K87.charCodeAt(((0x10, 0x168) <= (0x1F9, 1.12E2) ? (0x23E, 36.) : (12.290E2, 0x20) >= (22.8E1, 0x245) ? (96.7E1, 0xE8) : 4.58E2 <= (60.5E1, 0x214) ? (0xCD, 14) : (21.20E1, 9.620E2))) == 116 && K87.charCodeAt(13) == 110 && K87.charCodeAt(0) == 100) break
  3928. };
  3929. this.domElement = X;
  3930. if (U3e.q7G("ontouchstart", T0n87[A87][K87])) this.useTouch = true;
  3931. this.startListening();
  3932. },
  3933. startListening: function() {
  3934. U3e.w7G(this.useTouch, true) ? (MLE.wrapper.addEventListener("touchstart", this.touchStart.bind(this), false), MLE.wrapper.addEventListener("touchmove", this.touchMove.bind(this), false), MLE.wrapper.addEventListener("touchend", this.touchEnd.bind(this), false)) : (MLE.wrapper.addEventListener("mousedown", this.onMouseDown.bind(this), false), MLE.wrapper.addEventListener("mousemove", this.onMouseMove.bind(this), false), MLE.wrapper.addEventListener("mouseup", this.onMouseUp.bind(this), false));
  3935. },
  3936. stopListening: function() {
  3937. U3e.h7G(this.useTouch, true) ? (MLE.wrapper.removeEventListener("touchmove", this.touchMove.bind(this)), MLE.wrapper.removeEventListener("touchend", this.touchEnd.bind(this))) : (MLE.wrapper.removeEventListener("mousemove", this.onMouseMove.bind(this)), MLE.wrapper.removeEventListener("mouseup", this.onMouseUp.bind(this)));
  3938. T0n87[Z87]['addEventListener']("focus", this.reset.bind(this), false);
  3939. T0n87[Z87]['addEventListener']("blur", this.reset.bind(this), false);
  3940. },
  3941. destroy: function() {
  3942. this.stopListening();
  3943. },
  3944. update: function() {
  3945. this.released = this._released;
  3946. this.pressed = this._pressed;
  3947. this._pressed = this._released = false;
  3948. var X = U3e.l7G(wrapper.style.width.slice(0, wrapper.style.width.length - 2), MLE.width),
  3949. V = U3e.H5G(wrapper.style.height.slice(0, wrapper.style.height.length - 2), MLE.height);
  3950. U3e.y5G(X, 0) && (X = V = 1);
  3951. MLE.mouseScale = X;
  3952. this.x = Math.floor(U3e.V5G((this.screenX - wrapper.offsetLeft), X));
  3953. this.y = Math.floor(U3e.Y5G((this.screenY - wrapper.offsetTop), V));
  3954. },
  3955. onMouseMove: function(X) {
  3956. X.preventDefault();
  3957. this.screenX = X.pageX;
  3958. this.screenY = X.pageY;
  3959. },
  3960. onMouseDown: function(X) {
  3961. X.preventDefault();
  3962. this._pressed = this.isDown = true;
  3963. this.event = X;
  3964. this.screenX = X.pageX;
  3965. this.screenY = X.pageY;
  3966. this.update();
  3967. MLE.downCallbacks();
  3968. this._pressed = this.isDown = true;
  3969. this.event = X;
  3970. this.screenX = X.pageX;
  3971. this.screenY = X.pageY;
  3972. },
  3973. onMouseUp: function(X) {
  3974. if (U3e.F5G(this.isDown, true)) this._released = true, this.isDown = false, this.event = X, this.update(), MLE.upCallbacks(), this._released = true, this.isDown = false, this.event = X;
  3975. },
  3976. touchStart: function(X) {
  3977. X.preventDefault();
  3978. this._pressed = this.isDown = true;
  3979. this.screenX = X.targetTouches[0].pageX;
  3980. this.screenY = X.targetTouches[0].pageY;
  3981. this.update();
  3982. MLE.downCallbacks();
  3983. this._pressed = this.isDown = true;
  3984. this.screenX = X.targetTouches[0].pageX;
  3985. this.screenY = X.targetTouches[0].pageY;
  3986. },
  3987. touchMove: function(X) {
  3988. X.preventDefault();
  3989. this.screenX = X.targetTouches[0].pageX;
  3990. this.screenY = X.targetTouches[0].pageY;
  3991. },
  3992. touchEnd: function() {
  3993. this.isDown = false;
  3994. this._released = true;
  3995. this.update();
  3996. MLE.upCallbacks();
  3997. this.isDown = false;
  3998. this._released = true;
  3999. },
  4000. clickEnd: function() {
  4001. gotoSpilSite();
  4002. },
  4003. reset: function() {
  4004. console.log("RESET!!!");
  4005. this.screenY = this.screenX = this.y = this.x = 0;
  4006. this.isDown = false;
  4007. this.event = null;
  4008. this.pressed = this.released = this._pressed = this._released = this.useTouch = false;
  4009. }
  4010. };
  4011. KeyboardInput = function() {
  4012. this.key = U3e.I3R;
  4013. this._released = this._pressed = this.released = this.pressed = this.hasKeyboard = this.isDown = U3e.V27;
  4014. };
  4015. KeyboardInput.prototype = {
  4016. init: function() {
  4017. for (var B87 in T0n87[A87]) {
  4018. if (B87.length == 15 && B87.charCodeAt(14) == 116 && B87.charCodeAt(13) == 110 && B87.charCodeAt(0) == ((0x125, 26.) < 98. ? (138, 100) : (2.39E2, 105.))) break
  4019. };
  4020. var X = "onkeyup";
  4021. if (U3e.A5G(X, T0n87[A87][B87])) this.hasKeyboard = U3e.G77, this.startListening();
  4022. },
  4023. startListening: function() {
  4024. for (var o87 in T0n87[A87]) {
  4025. if (o87.length == ((81, 1.47E2) < (51, 0x38) ? (53., "[]") : (22.8E1, 0x70) >= (105., 37.) ? (5.30E1, 4) : (18.5E1, 6.12E2)) && o87.charCodeAt((130. <= (60.0E1, 0x1C8) ? (0x12D, 3) : (4.76E2, 147) <= (112, 27.) ? 7.18E2 : (55, 0x1FE))) == ((128, 0xA) > 66 ? (0xA2, 4.94E2) : 53. <= (44.5E1, 19.0E1) ? (118, 121) : (0xD3, 0x115)) && o87.charCodeAt(2) == 100 && o87.charCodeAt(0) == 98) break
  4026. };
  4027. for (var g87 in T0n87[A87]) {
  4028. if (g87.length == 4 && g87.charCodeAt(3) == 121 && g87.charCodeAt(2) == ((0x3B, 63.) > 148. ? (0x217, "i") : 0x15D > (0x105, 7.23E2) ? 5.39E2 : 94.2E1 <= (0xC2, 13.25E2) ? (0x126, 100) : (7.34E2, 3.09E2)) && g87.charCodeAt(0) == 98) break
  4029. };
  4030. var X = "keydown",
  4031. V = "keyup";
  4032. T0n87[A87][o87]['addEventListener'](V, this.keyUp.bind(this), U3e.V27);
  4033. T0n87[A87][g87]['addEventListener'](X, this.keyDown.bind(this), U3e.V27);
  4034. },
  4035. keyDown: function(X) {
  4036. if (!(this.key == -U3e.Y3R && U3e.k5G(X.keyCode, U3e.b57)) && !(U3e.J5G(this.key, U3e.Y3R) && U3e.N5G(X.keyCode, U3e.C57)))
  4037. if (U3e.v5G(X.keyCode, U3e.b57)) this.key = -U3e.Y3R, this.isDown = this._pressed = U3e.G77;
  4038. else if (U3e.P5G(X.keyCode, U3e.C57)) this.key = U3e.Y3R, this.isDown = this._pressed = U3e.G77;
  4039. },
  4040. keyUp: function(X) {
  4041. this.key == -1 && U3e.f5G(X.keyCode, 37) ? (this.key = 0, this._released = true, this.isDown = false) : U3e.G5G(this.key, 1) && U3e.a5G(X.keyCode, 39) ? (this.key = 0, this._released = true, this.isDown = false) : U3e.o5G(X.keyCode, 48) && U3e.d5G(X.keyCode, 56) ? (console.log("Produkuje powerupa", U3e.M5G(X.keyCode, 48)), gameScene && gameScene.spawnPowerUp(U3e.e0G(Math.random(), (MLE.width - getConst(200))) + getConst(100), U3e.R0G(Math.random(), getConst(500)) + getConst(75), -1, U3e.z0G(X.keyCode, 48), true)) : U3e.Z0G(X.keyCode, 48) && (console.log("Produkuje rep", U3e.S0G(X.keyCode, 48)), gameScene && gameScene.spawnRepairPart(U3e.E0G(Math.random(), (MLE.width - getConst(200))) + getConst(100), U3e.s0G(Math.random(), getConst(500)) + getConst(75), -1, true));
  4042. },
  4043. update: function() {
  4044. this.released = this._released;
  4045. this.pressed = this._pressed;
  4046. this._pressed = this._released = U3e.V27;
  4047. }
  4048. };
  4049. U3e.P();
  4050. MLE.FaceFont = function() {};
  4051. MLE.FaceFont.prototype.loadFont = function(V) {
  4052. var Z = T0n87[A87]['createElement'](U3e.Q77);
  4053. Z.width = 64;
  4054. Z.height = 64;
  4055. var Y = Z.getContext(U3e.R07),
  4056. I = setInterval(function() {
  4057. Y.clearRect(0, 0, 64, 64);
  4058. Y.font = "32px " + V;
  4059. Y.fillStyle = "#ffffff";
  4060. Y.fillText(".", 32, 32);
  4061. MLE.context.drawImage(Z, 100, 100);
  4062. var X = MLE.Util.isCanvasEmpty(Z);
  4063. U3e.t0G(Y.font, "10px sans-serif") && !X && (this.onLoad(V), clearInterval(I));
  4064. }.bind(this), U3e.G27);
  4065. };
  4066. MLE.FaceFont.prototype.onLoad = function() {};
  4067. var JSON;
  4068. JSON || (JSON = {});
  4069. (function() {
  4070. var m = "\\\\",
  4071. Z1 = '\\"',
  4072. H1 = "\\r",
  4073. B = "\\f",
  4074. V1 = "\\n",
  4075. I1 = "\\t",
  4076. F1 = "\\b",
  4077. S1 = "0000",
  4078. g = "\\u",
  4079. R1 = "function";
  4080. function n1(X) {
  4081. return U3e.W0G(X, U3e.C07) ? U3e.L17 + X : X;
  4082. }
  4083. function e1(V, Z) {
  4084. var Y = "boolean",
  4085. I = "null",
  4086. u = function(X) {
  4087. X1 = X;
  4088. },
  4089. k = function() {
  4090. j = U3e.j0G(q.length, 0) ? "{}" : X1 ? "{\n" + X1 + q.join(",\n" + X1) + "\n" + K + "}" : "{" + q.join(",") + "}";
  4091. },
  4092. v = function() {
  4093. q = [];
  4094. },
  4095. D, L, j, a, K = X1,
  4096. q, C = Z[V];
  4097. C && typeof C === U3e.r57 && typeof C.toJSON === R1 && (C = C.toJSON(V));
  4098. typeof Y1 === R1 && (C = Y1.call(Z, V, C));
  4099. switch (typeof C) {
  4100. case U3e.N77:
  4101. return E1(C);
  4102. case U3e.W27:
  4103. return isFinite(C) ? String(C) : I;
  4104. case Y:
  4105. case I:
  4106. return String(C);
  4107. case U3e.r57:
  4108. if (!C) return I;
  4109. X1 += A1;
  4110. v();
  4111. if (U3e.U0G(Object.prototype.toString.apply(C), U3e.Y07)) {
  4112. var c1 = function(X) {
  4113. X1 = X;
  4114. },
  4115. l = function(X) {
  4116. a = X.length;
  4117. },
  4118. z1 = function() {
  4119. q[D] = e1(D, C) || I;
  4120. },
  4121. M = function() {
  4122. j = U3e.O0G(q.length, 0) ? "[]" : X1 ? "[\n" + X1 + q.join(",\n" + X1) + "\n" + K + "]" : "[" + q.join(",") + "]";
  4123. };
  4124. l(C);
  4125. for (D = U3e.I3R; U3e.C0G(D, a); D += U3e.Y3R) z1();
  4126. M();
  4127. c1(K);
  4128. return j;
  4129. }
  4130. if (Y1 && typeof Y1 === U3e.r57) {
  4131. var G = function(X) {
  4132. a = X.length;
  4133. };
  4134. G(Y1);
  4135. for (D = U3e.I3R; U3e.K0G(D, a); D += U3e.Y3R) typeof Y1[D] === U3e.N77 && (L = Y1[D], (j = e1(L, C)) && q.push(E1(L) + (X1 ? U3e.t97 : U3e.F67) + j));
  4136. } else
  4137. for (L in C) Object.prototype.hasOwnProperty.call(C, L) && (j = e1(L, C)) && q.push(E1(L) + (X1 ? U3e.t97 : U3e.F67) + j);
  4138. k();
  4139. u(K);
  4140. return j;
  4141. }
  4142. }
  4143. function E1(Z) {
  4144. var Y = '"',
  4145. I = function(X) {
  4146. s1.lastIndex = X;
  4147. };
  4148. I(U3e.I3R);
  4149. return s1.test(Z) ? Y + Z.replace(s1, function(X) {
  4150. var V = k1[X];
  4151. return typeof V === U3e.N77 ? V : g + (S1 + X.charCodeAt(U3e.I3R).toString(U3e.k07)).slice(-U3e.i3R);
  4152. }) + Y : Y + Z + Y;
  4153. }
  4154. if (typeof Date.prototype.toJSON !== R1) Date.prototype.toJSON = function() {
  4155. var X = "Z",
  4156. V = "T",
  4157. Z = "-";
  4158. return isFinite(this.valueOf()) ? this.getUTCFullYear() + Z + n1(this.getUTCMonth() + U3e.Y3R) + Z + n1(this.getUTCDate()) + V + n1(this.getUTCHours()) + U3e.F67 + n1(this.getUTCMinutes()) + U3e.F67 + n1(this.getUTCSeconds()) + X : U3e.P77;
  4159. }, String.prototype.toJSON = Number.prototype.toJSON = Boolean.prototype.toJSON = function() {
  4160. return this.valueOf();
  4161. };
  4162. var i1 = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
  4163. s1 = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
  4164. X1, A1, k1 = {
  4165. "\u0008": F1,
  4166. "\t": I1,
  4167. "\n": V1,
  4168. "\u000c": B,
  4169. "\r": H1,
  4170. '"': Z1,
  4171. "\\": m
  4172. },
  4173. Y1;
  4174. if (typeof JSON.stringify !== R1) JSON.stringify = function(X, V, Z) {
  4175. var Y;
  4176. A1 = X1 = "";
  4177. if (typeof Z === "number")
  4178. for (Y = 0; U3e.B0G(Y, Z); Y += 1) A1 += " ";
  4179. else typeofZ === "string" && (A1 = Z);
  4180. if ((Y1 = V) && typeof V !== "function" && (typeof V !== "object" || typeof V.length !== "number")) throw Error("JSON.stringify");
  4181. return e1("", {
  4182. "": X
  4183. });
  4184. };
  4185. if (typeof JSON.parse !== R1) JSON.parse = function(u, k) {
  4186. var v = "JSON.parse",
  4187. D = "@";
  4188. function L(X, V) {
  4189. var Z, Y, I = X[V];
  4190. if (I && typeof I === U3e.r57)
  4191. for (Z in I) Object.prototype.hasOwnProperty.call(I, Z) && (Y = L(I, Z), Y !== void U3e.I3R ? I[Z] = Y : delete I[Z]);
  4192. return k.call(X, V, I);
  4193. }
  4194. var j, u = String(u);
  4195. i1.lastIndex = U3e.I3R;
  4196. i1.test(u) && (u = u.replace(i1, function(X) {
  4197. return g + (S1 + X.charCodeAt(U3e.I3R).toString(U3e.k07)).slice(-U3e.i3R);
  4198. }));
  4199. if (/^[\],:{}\s]*$/.test(u.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, D).replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, U3e.Z97).replace(/(?:^|:|,)(?:\s*\[)+/g, U3e.o4R))) return j = eval(U3e.A57 + u + U3e.T57), typeof k === R1 ? L({
  4200. "": j
  4201. }, U3e.o4R) : j;
  4202. throw new SyntaxError(v);
  4203. };
  4204. })();
  4205. var createjs = this.createjs = this.createjs || {};
  4206. (function() {
  4207. var v = function(X) {
  4208. createjs.EventDispatcher = X;
  4209. },
  4210. D = function(X) {
  4211. j._listeners = X;
  4212. },
  4213. L = function() {
  4214. this.initialize();
  4215. },
  4216. j = L.prototype;
  4217. L.initialize = function(X) {
  4218. X.addEventListener = j.addEventListener;
  4219. X.removeEventListener = j.removeEventListener;
  4220. X.removeAllEventListeners = j.removeAllEventListeners;
  4221. X.hasEventListener = j.hasEventListener;
  4222. X.dispatchEvent = j.dispatchEvent;
  4223. };
  4224. D(U3e.P77);
  4225. j.initialize = function() {};
  4226. j.addEventListener = function(X, V) {
  4227. var Z = this._listeners;
  4228. Z ? this.removeEventListener(X, V) : Z = this._listeners = {};
  4229. var Y = Z[X];
  4230. Y || (Y = Z[X] = []);
  4231. Y.push(V);
  4232. return V;
  4233. };
  4234. j.removeEventListener = function(X, V) {
  4235. var Z = this._listeners;
  4236. if (Z) {
  4237. var Y = Z[X];
  4238. if (Y)
  4239. for (var I = 0, u = Y.length; U3e.g0G(I, u); I++)
  4240. if (U3e.m0G(Y[I], V)) {
  4241. U3e.x9G(1, u) ? delete Z[X] : Y.splice(I, 1);
  4242. break;
  4243. }
  4244. }
  4245. };
  4246. j.removeAllEventListeners = function(X) {
  4247. X ? this._listeners && delete this._listeners[X] : this._listeners = U3e.P77;
  4248. };
  4249. j.dispatchEvent = function(X, V) {
  4250. var Z = false,
  4251. Y = this._listeners;
  4252. if (X && Y) {
  4253. "string" == typeof X && (X = {
  4254. type: X
  4255. });
  4256. X.target = V || this;
  4257. Y = Y[X.type];
  4258. if (!Y) return Z;
  4259. for (var Y = Y.slice(), I = 0, u = Y.length; U3e.X9G(I, u); I++) {
  4260. var k = Y[I];
  4261. U3e.c9G(k, Function) ? Z = Z || k.apply(null, [X]) : k.handleEvent && (Z = Z || k.handleEvent(X));
  4262. }
  4263. }
  4264. return !!Z;
  4265. };
  4266. j.hasEventListener = function(X) {
  4267. var V = this._listeners;
  4268. return !(!V || !V[X]);
  4269. };
  4270. j.toString = function() {
  4271. var X = "[EventDispatcher]";
  4272. return X;
  4273. };
  4274. v(L);
  4275. })();
  4276. this.createjs = this.createjs || {};
  4277. (function() {
  4278. var j = function(X) {
  4279. b.NONE = X;
  4280. },
  4281. a = function(X) {
  4282. O.target = X;
  4283. },
  4284. K = function(X) {
  4285. O._actions = X;
  4286. },
  4287. q = function(X) {
  4288. O.loop = X;
  4289. },
  4290. C = function(X) {
  4291. O._useTicks = X;
  4292. },
  4293. c1 = function(X) {
  4294. b.LOOP = X;
  4295. },
  4296. l = function(X) {
  4297. O._prevPosition = X;
  4298. },
  4299. z1 = function(X) {
  4300. O.onChange = X;
  4301. },
  4302. M = function(X) {
  4303. O.c = X.call;
  4304. },
  4305. G = function(X) {
  4306. O._steps = X;
  4307. },
  4308. m = function(X) {
  4309. O.hasEventListener = X;
  4310. },
  4311. Z1 = function(X) {
  4312. O._paused = X;
  4313. },
  4314. H1 = function(X) {
  4315. O.removeEventListener = X;
  4316. },
  4317. B = function(X) {
  4318. O.change = X;
  4319. },
  4320. V1 = function(X) {
  4321. O.s = X.set;
  4322. },
  4323. I1 = function(X) {
  4324. O._target = X;
  4325. },
  4326. F1 = function(X) {
  4327. O.addEventListener = X;
  4328. },
  4329. S1 = function(X) {
  4330. O.pluginData = X;
  4331. },
  4332. g = function(X) {
  4333. O.dispatchEvent = X;
  4334. },
  4335. R1 = function(X) {
  4336. O._curQueueProps = X;
  4337. },
  4338. n1 = function(X) {
  4339. O.t = X.to;
  4340. },
  4341. e1 = function(X) {
  4342. O.removeAllEventListeners = X;
  4343. },
  4344. E1 = function(X) {
  4345. O.ignoreGlobalPause = X;
  4346. },
  4347. i1 = function(X) {
  4348. O.w = X.wait;
  4349. },
  4350. s1 = function(X) {
  4351. b.REVERSE = X;
  4352. },
  4353. X1 = function(X) {
  4354. O.duration = X;
  4355. },
  4356. A1 = function(X) {
  4357. createjs.Tween = X;
  4358. },
  4359. k1 = function() {
  4360. O._prevPos = -U3e.Y3R;
  4361. },
  4362. Y1 = function(X) {
  4363. O._listeners = X;
  4364. },
  4365. u1 = function(X) {
  4366. O.position = X;
  4367. },
  4368. t1 = function(X) {
  4369. O._initQueueProps = X;
  4370. },
  4371. J1 = function() {
  4372. b._tweens = [];
  4373. },
  4374. T1 = function(X) {
  4375. O._stepPosition = X;
  4376. },
  4377. b = function(X, V, Z) {
  4378. this.initialize(X, V, Z);
  4379. },
  4380. O = b.prototype;
  4381. j(U3e.I3R);
  4382. c1(U3e.Y3R);
  4383. s1(U3e.n3R);
  4384. b.IGNORE = {};
  4385. J1();
  4386. b._plugins = {};
  4387. b.get = function(X, V, Z, Y) {
  4388. Y && b.removeTweens(X);
  4389. return new b(X, V, Z);
  4390. };
  4391. b.tick = function(X, V) {
  4392. for (var Z = b._tweens.slice(), Y = U3e.n9G(Z.length, 1); U3e.I9G(0, Y); Y--) {
  4393. var I = Z[Y];
  4394. V && !I.ignoreGlobalPause || I._paused || I.tick(I._useTicks ? 1 : X);
  4395. }
  4396. };
  4397. createjs.Ticker && createjs.Ticker.addListener(b, U3e.V27);
  4398. b.removeTweens = function(X) {
  4399. if (X.tweenjs_count) {
  4400. for (var V = b._tweens, Z = U3e.p9G(V.length, 1); U3e.i9G(0, Z); Z--) U3e.u9G(V[Z]._target, X) && (V[Z]._paused = true, V.splice(Z, 1));
  4401. X.tweenjs_count = 0;
  4402. }
  4403. };
  4404. b.hasActiveTweens = function(X) {
  4405. return X ? X.tweenjs_count : b._tweens && b._tweens.length;
  4406. };
  4407. b.installPlugin = function(X, V) {
  4408. var Z = X.priority;
  4409. U3e.T9G(null, Z) && (X.priority = Z = 0);
  4410. for (var Y = 0, I = V.length, u = b._plugins; U3e.Q9G(Y, I); Y++) {
  4411. var k = V[Y];
  4412. if (u[k]) {
  4413. for (var v = u[k], D = 0, L = v.length; U3e.r9G(D, L) && !(U3e.L9G(Z, v[D].priority)); D++);
  4414. u[k].splice(D, 0, X);
  4415. } else u[k] = [X];
  4416. }
  4417. };
  4418. b._register = function(X, V) {
  4419. var Z = X._target;
  4420. V ? (Z && (Z.tweenjs_count = Z.tweenjs_count ? Z.tweenjs_count + U3e.Y3R : U3e.Y3R), b._tweens.push(X)) : (Z && Z.tweenjs_count--, Z = b._tweens.indexOf(X), -U3e.Y3R != Z && b._tweens.splice(Z, U3e.Y3R));
  4421. };
  4422. F1(U3e.P77);
  4423. H1(U3e.P77);
  4424. e1(U3e.P77);
  4425. g(U3e.P77);
  4426. m(U3e.P77);
  4427. Y1(U3e.P77);
  4428. createjs.EventDispatcher.initialize(O);
  4429. E1(U3e.V27);
  4430. q(U3e.V27);
  4431. X1(U3e.I3R);
  4432. S1(U3e.P77);
  4433. z1(U3e.P77);
  4434. B(U3e.P77);
  4435. a(U3e.P77);
  4436. u1(U3e.P77);
  4437. Z1(U3e.V27);
  4438. R1(U3e.P77);
  4439. t1(U3e.P77);
  4440. G(U3e.P77);
  4441. K(U3e.P77);
  4442. l(U3e.I3R);
  4443. T1(U3e.I3R);
  4444. k1();
  4445. I1(U3e.P77);
  4446. C(U3e.V27);
  4447. O.initialize = function(X, V, Z) {
  4448. this.target = this._target = X;
  4449. V && (this._useTicks = V.useTicks, this.ignoreGlobalPause = V.ignoreGlobalPause, this.loop = V.loop, this.onChange = V.onChange, V.override && b.removeTweens(X));
  4450. this.pluginData = Z || {};
  4451. this._curQueueProps = {};
  4452. this._initQueueProps = {};
  4453. this._steps = [];
  4454. this._actions = [];
  4455. V && V.paused ? this._paused = true : b._register(this, true);
  4456. V && U3e.D9G(U3e.P77, V.position) && this.setPosition(V.position, b.NONE);
  4457. };
  4458. O.wait = function(X) {
  4459. if (U3e.b9G(U3e.P77, X) || U3e.q9G(U3e.I3R, X)) return this;
  4460. var V = this._cloneProps(this._curQueueProps);
  4461. return this._addStep({
  4462. d: X,
  4463. p0: V,
  4464. e: this._linearEase,
  4465. p1: V
  4466. });
  4467. };
  4468. O.to = function(X, V, Z) {
  4469. if (isNaN(V) || U3e.w9G(U3e.I3R, V)) V = U3e.I3R;
  4470. return this._addStep({
  4471. d: V || U3e.I3R,
  4472. p0: this._cloneProps(this._curQueueProps),
  4473. e: Z,
  4474. p1: this._cloneProps(this._appendQueueProps(X))
  4475. });
  4476. };
  4477. O.call = function(X, V, Z) {
  4478. return this._addAction({
  4479. f: X,
  4480. p: V ? V : [this],
  4481. o: Z ? Z : this._target
  4482. });
  4483. };
  4484. O.set = function(X, V) {
  4485. return this._addAction({
  4486. f: this._set,
  4487. o: this,
  4488. p: [X, V ? V : this._target]
  4489. });
  4490. };
  4491. O.play = function(X) {
  4492. return this.call(X.setPaused, [false], X);
  4493. };
  4494. O.pause = function(X) {
  4495. X || (X = this);
  4496. return this.call(X.setPaused, [true], X);
  4497. };
  4498. O.setPosition = function(X, V) {
  4499. U3e.h9G(0, X) && (X = 0);
  4500. U3e.l9G(null, V) && (V = 1);
  4501. var Z = X,
  4502. Y = false;
  4503. U3e.H2G(Z, this.duration) && (this.loop ? Z %= this.duration : (Z = this.duration, Y = true));
  4504. if (U3e.y2G(Z, this._prevPos)) return Y;
  4505. var I = this._prevPos;
  4506. this.position = this._prevPos = Z;
  4507. this._prevPosition = X;
  4508. if (this._target)
  4509. if (Y) this._updateTargetProps(null, 1);
  4510. else if (U3e.V2G(0, this._steps.length)) {
  4511. for (var u = 0, k = this._steps.length; U3e.Y2G(u, k) && !(U3e.F2G(this._steps[u].t, Z)); u++);
  4512. u = this._steps[U3e.A2G(u, 1)];
  4513. this._updateTargetProps(u, U3e.k2G((this._stepPosition = Z - u.t), u.d));
  4514. }
  4515. U3e.J2G(0, V) && U3e.N2G(0, this._actions.length) && (this._useTicks ? this._runActions(Z, Z) : U3e.v2G(1, V) && U3e.P2G(Z, I) ? (U3e.f2G(I, this.duration) && this._runActions(I, this.duration), this._runActions(0, Z, true)) : this._runActions(I, Z));
  4516. Y && this.setPaused(true);
  4517. this.onChange && this.onChange(this);
  4518. this.dispatchEvent("change");
  4519. return Y;
  4520. };
  4521. O.tick = function(X) {
  4522. this._paused || this.setPosition(this._prevPosition + X);
  4523. };
  4524. O.setPaused = function(X) {
  4525. this._paused = !!X;
  4526. b._register(this, !X);
  4527. return this;
  4528. };
  4529. i1(O);
  4530. n1(O);
  4531. M(O);
  4532. V1(O);
  4533. O.toString = function() {
  4534. var X = "[Tween]";
  4535. return X;
  4536. };
  4537. O.clone = function() {
  4538. var X = "Tween can not be cloned.";
  4539. throw X;
  4540. };
  4541. O._updateTargetProps = function(X, V) {
  4542. var Z, Y, I, u;
  4543. !X && U3e.G2G(1, V) ? Z = Y = this._curQueueProps : (X.e && (V = X.e(V, 0, 1, 1)), Z = X.p0, Y = X.p1);
  4544. for (n in this._initQueueProps) {
  4545. if (U3e.a2G(null, (I = Z[n]))) Z[n] = I = this._initQueueProps[n];
  4546. if (U3e.o2G(null, (u = Y[n]))) Y[n] = u = I;
  4547. I = U3e.d2G(I, u) || U3e.M2G(0, V) || U3e.e6G(1, V) || "number" != typeof I ? U3e.R6G(1, V) ? u : I : I + U3e.z6G((u - I), V);
  4548. var k = false;
  4549. if (u = b._plugins[n])
  4550. for (var v = 0, D = u.length; U3e.Z6G(v, D); v++) {
  4551. var L = u[v].tween(this, n, I, Z, Y, V, !!X && U3e.S6G(Z, Y), !X);
  4552. U3e.E6G(L, b.IGNORE) ? k = true : I = L;
  4553. }
  4554. k || (this._target[n] = I);
  4555. }
  4556. };
  4557. O._runActions = function(X, V, Z) {
  4558. var Y = X,
  4559. I = V,
  4560. u = -1,
  4561. k = this._actions.length,
  4562. v = 1;
  4563. for (U3e.s6G(X, V) && (Y = V, I = X, u = k, k = v = -1); U3e.t6G((u += v), k);) {
  4564. var V = this._actions[u],
  4565. D = V.t;
  4566. (U3e.W6G(D, I) || U3e.j6G(D, Y) && U3e.U6G(D, I) || Z && U3e.O6G(D, X)) && V.f.apply(V.o, V.p);
  4567. }
  4568. };
  4569. O._appendQueueProps = function(X) {
  4570. var V, Z, Y, I, u, k;
  4571. for (k in X) {
  4572. if (void 0 === this._initQueueProps[k]) {
  4573. Z = this._target[k];
  4574. if (V = b._plugins[k]) {
  4575. Y = 0;
  4576. for (I = V.length; U3e.C6G(Y, I); Y++) Z = V[Y].init(this, k, Z);
  4577. }
  4578. this._initQueueProps[k] = void 0 === Z ? null : Z;
  4579. } else Z = this._curQueueProps[k];
  4580. if (V = b._plugins[k]) {
  4581. u = u || {};
  4582. Y = 0;
  4583. for (I = V.length; U3e.K6G(Y, I); Y++) V[Y].step && V[Y].step(this, k, Z, X[k], u);
  4584. }
  4585. this._curQueueProps[k] = X[k];
  4586. }
  4587. u && this._appendQueueProps(u);
  4588. return this._curQueueProps;
  4589. };
  4590. O._cloneProps = function(X) {
  4591. var V = {},
  4592. Z;
  4593. for (Z in X) V[Z] = X[Z];
  4594. return V;
  4595. };
  4596. O._addStep = function(X) {
  4597. U3e.B6G(0, X.d) && (this._steps.push(X), X.t = this.duration, this.duration += X.d);
  4598. return this;
  4599. };
  4600. O._addAction = function(X) {
  4601. X.t = this.duration;
  4602. this._actions.push(X);
  4603. return this;
  4604. };
  4605. O._set = function(X, V) {
  4606. for (var Z in X) V[Z] = X[Z];
  4607. };
  4608. A1(b);
  4609. })();
  4610. this.createjs = this.createjs || {};
  4611. (function() {
  4612. var k = function(X) {
  4613. G.onChange = X;
  4614. },
  4615. v = function(X) {
  4616. G.position = X;
  4617. },
  4618. D = function() {
  4619. G._prevPos = -U3e.Y3R;
  4620. },
  4621. L = function(X) {
  4622. G._tweens = X;
  4623. },
  4624. j = function(X) {
  4625. G.ignoreGlobalPause = X;
  4626. },
  4627. a = function(X) {
  4628. G._paused = X;
  4629. },
  4630. K = function(X) {
  4631. createjs.Timeline = X;
  4632. },
  4633. q = function(X) {
  4634. G._useTicks = X;
  4635. },
  4636. C = function(X) {
  4637. G._labels = X;
  4638. },
  4639. c1 = function(X) {
  4640. G.loop = X;
  4641. },
  4642. l = function(X) {
  4643. G.duration = X;
  4644. },
  4645. z1 = function(X) {
  4646. G._prevPosition = X;
  4647. },
  4648. M = function(X, V, Z) {
  4649. this.initialize(X, V, Z);
  4650. },
  4651. G = M.prototype;
  4652. j(U3e.V27);
  4653. l(U3e.I3R);
  4654. c1(U3e.V27);
  4655. k(U3e.P77);
  4656. v(U3e.P77);
  4657. a(U3e.V27);
  4658. L(U3e.P77);
  4659. C(U3e.P77);
  4660. z1(U3e.I3R);
  4661. D();
  4662. q(U3e.V27);
  4663. G.initialize = function(X, V, Z) {
  4664. this._tweens = [];
  4665. Z && (this._useTicks = Z.useTicks, this.loop = Z.loop, this.ignoreGlobalPause = Z.ignoreGlobalPause, this.onChange = Z.onChange);
  4666. X && this.addTween.apply(this, X);
  4667. this.setLabels(V);
  4668. Z && Z.paused ? this._paused = true : createjs.Tween._register(this, true);
  4669. Z && U3e.g6G(U3e.P77, Z.position) && this.setPosition(Z.position, createjs.Tween.NONE);
  4670. };
  4671. G.addTween = function(X) {
  4672. var V = arguments.length;
  4673. if (U3e.m6G(1, V)) {
  4674. for (var Z = 0; U3e.x8G(Z, V); Z++) this.addTween(arguments[Z]);
  4675. return arguments[0];
  4676. }
  4677. if (U3e.X8G(0, V)) return null;
  4678. this.removeTween(X);
  4679. this._tweens.push(X);
  4680. X.setPaused(true);
  4681. X._paused = false;
  4682. X._useTicks = this._useTicks;
  4683. U3e.c8G(X.duration, this.duration) && (this.duration = X.duration);
  4684. U3e.n8G(0, this._prevPos) && X.setPosition(this._prevPos, createjs.Tween.NONE);
  4685. return X;
  4686. };
  4687. G.removeTween = function(X) {
  4688. var V = arguments.length;
  4689. if (U3e.I8G(1, V)) {
  4690. for (var Z = true, Y = 0; U3e.p8G(Y, V); Y++) Z = Z && this.removeTween(arguments[Y]);
  4691. return Z;
  4692. }
  4693. if (U3e.i8G(0, V)) return false;
  4694. V = this._tweens.indexOf(X);
  4695. return -1 != V ? (this._tweens.splice(V, 1), U3e.u8G(X.duration, this.duration) && this.updateDuration(), true) : false;
  4696. };
  4697. G.addLabel = function(X, V) {
  4698. this._labels[X] = V;
  4699. };
  4700. G.setLabels = function(X) {
  4701. this._labels = X ? X : {};
  4702. };
  4703. G.gotoAndPlay = function(X) {
  4704. this.setPaused(U3e.V27);
  4705. this._goto(X);
  4706. };
  4707. G.gotoAndStop = function(X) {
  4708. this.setPaused(U3e.G77);
  4709. this._goto(X);
  4710. };
  4711. G.setPosition = function(X, V) {
  4712. U3e.T8G(0, X) && (X = 0);
  4713. var Z = this.loop ? U3e.Q8G(X, this.duration) : X,
  4714. Y = !this.loop && U3e.r8G(X, this.duration);
  4715. if (U3e.L8G(Z, this._prevPos)) return Y;
  4716. this._prevPosition = X;
  4717. this.position = this._prevPos = Z;
  4718. for (var I = 0, u = this._tweens.length; U3e.D8G(I, u); I++)
  4719. if (this._tweens[I].setPosition(Z, V), U3e.b8G(Z, this._prevPos)) return false;
  4720. Y && this.setPaused(true);
  4721. this.onChange && this.onChange(this);
  4722. return Y;
  4723. };
  4724. G.setPaused = function(X) {
  4725. this._paused = !!X;
  4726. createjs.Tween._register(this, !X);
  4727. };
  4728. G.updateDuration = function() {
  4729. for (var X = this.duration = 0, V = this._tweens.length; U3e.q8G(X, V); X++) tween = this._tweens[X], U3e.w8G(tween.duration, this.duration) && (this.duration = tween.duration);
  4730. };
  4731. G.tick = function(X) {
  4732. this.setPosition(this._prevPosition + X);
  4733. };
  4734. G.resolve = function(X) {
  4735. var V = parseFloat(X);
  4736. isNaN(V) && (V = this._labels[X]);
  4737. return V;
  4738. };
  4739. G.toString = function() {
  4740. var X = "[Timeline]";
  4741. return X;
  4742. };
  4743. G.clone = function() {
  4744. var X = "Timeline can not be cloned.";
  4745. throw X;
  4746. };
  4747. G._goto = function(X) {
  4748. X = this.resolve(X);
  4749. U3e.h8G(U3e.P77, X) && this.setPosition(X);
  4750. };
  4751. K(M);
  4752. })();
  4753. this.createjs = this.createjs || {};
  4754. (function() {
  4755. var v = 1.7,
  4756. D = function(X) {
  4757. createjs.Ease = X;
  4758. },
  4759. L = function(X) {
  4760. j.none = X.linear;
  4761. },
  4762. j = function() {
  4763. var X = "Ease cannot be instantiated.";
  4764. throw X;
  4765. };
  4766. j.linear = function(X) {
  4767. return X;
  4768. };
  4769. L(j);
  4770. j.get = function(V) {
  4771. -U3e.Y3R > V && (V = -U3e.Y3R);
  4772. U3e.l8G(U3e.Y3R, V) && (V = U3e.Y3R);
  4773. return function(X) {
  4774. return U3e.H4G(U3e.I3R, V) ? X : U3e.y4G(U3e.I3R, V) ? X * (X * -V + U3e.Y3R + V) : U3e.V4G(X, ((U3e.n3R - X) * V + (U3e.Y3R - V)));
  4775. };
  4776. };
  4777. j.getPowIn = function(V) {
  4778. return function(X) {
  4779. return Math.pow(X, V);
  4780. };
  4781. };
  4782. j.getPowOut = function(V) {
  4783. return function(X) {
  4784. return U3e.Y4G(U3e.Y3R, Math.pow(U3e.Y3R - X, V));
  4785. };
  4786. };
  4787. j.getPowInOut = function(V) {
  4788. return function(X) {
  4789. return U3e.F4G(U3e.Y3R, (X *= U3e.n3R)) ? U3e.A4G(U3e.M97, Math.pow(X, V)) : U3e.k4G(U3e.Y3R, U3e.M97 * Math.abs(Math.pow(U3e.n3R - X, V)));
  4790. };
  4791. };
  4792. j.quadIn = j.getPowIn(U3e.n3R);
  4793. j.quadOut = j.getPowOut(U3e.n3R);
  4794. j.quadInOut = j.getPowInOut(U3e.n3R);
  4795. j.cubicIn = j.getPowIn(U3e.V3R);
  4796. j.cubicOut = j.getPowOut(U3e.V3R);
  4797. j.cubicInOut = j.getPowInOut(U3e.V3R);
  4798. j.quartIn = j.getPowIn(U3e.i3R);
  4799. j.quartOut = j.getPowOut(U3e.i3R);
  4800. j.quartInOut = j.getPowInOut(U3e.i3R);
  4801. j.quintIn = j.getPowIn(U3e.p3R);
  4802. j.quintOut = j.getPowOut(U3e.p3R);
  4803. j.quintInOut = j.getPowInOut(U3e.p3R);
  4804. j.sineIn = function(X) {
  4805. return U3e.J4G(U3e.Y3R, Math.cos(X * Math.PI / U3e.n3R));
  4806. };
  4807. j.sineOut = function(X) {
  4808. return Math.sin(U3e.N4G(X, Math.PI, U3e.n3R));
  4809. };
  4810. j.sineInOut = function(X) {
  4811. return -U3e.M97 * (U3e.r4G(Math.cos(Math.PI * X), U3e.Y3R));
  4812. };
  4813. j.getBackIn = function(V) {
  4814. return function(X) {
  4815. return U3e.L4G(X, X, ((V + U3e.Y3R) * X - V));
  4816. };
  4817. };
  4818. j.backIn = j.getBackIn(v);
  4819. j.getBackOut = function(V) {
  4820. return function(X) {
  4821. return --X * X * (U3e.C4G((V + U3e.Y3R), X) + V) + U3e.Y3R;
  4822. };
  4823. };
  4824. j.backOut = j.getBackOut(v);
  4825. j.getBackInOut = function(V) {
  4826. var Z = 1.525;
  4827. V *= Z;
  4828. return function(X) {
  4829. return U3e.K4G(U3e.Y3R, (X *= U3e.n3R)) ? U3e.B4G(U3e.M97, X, X, ((V + U3e.Y3R) * X - V)) : U3e.h4G(U3e.M97, ((X -= U3e.n3R) * X * ((V + U3e.Y3R) * X + V) + U3e.n3R));
  4830. };
  4831. };
  4832. j.backInOut = j.getBackInOut(v);
  4833. j.circIn = function(X) {
  4834. return -(U3e.l4G(Math.sqrt(U3e.Y3R - X * X), U3e.Y3R));
  4835. };
  4836. j.circOut = function(X) {
  4837. return Math.sqrt(U3e.Y3R - --X * X);
  4838. };
  4839. j.circInOut = function(X) {
  4840. return U3e.H3G(U3e.Y3R, (X *= U3e.n3R)) ? -U3e.M97 * (U3e.y3G(Math.sqrt(U3e.Y3R - X * X), U3e.Y3R)) : U3e.V3G(U3e.M97, (Math.sqrt(U3e.Y3R - (X -= U3e.n3R) * X) + U3e.Y3R));
  4841. };
  4842. j.bounceIn = function(X) {
  4843. return U3e.Y3G(U3e.Y3R, j.bounceOut(U3e.Y3R - X));
  4844. };
  4845. j.bounceOut = function(X) {
  4846. var V = 0.984375,
  4847. Z = 2.625,
  4848. Y = (7.08E2 <= (17, 1.116E3) ? (52.90E1, 0.9375) : 0x114 < (0x145, 6) ? 0x3E : (14.20E1, 0x162) >= (3E0, 0x251) ? (46, 'l') : (6., 34)),
  4849. I = 2.25,
  4850. u = ((0x28, 0x37) < (0x12D, 0x243) ? (53.30E1, 7.5625) : (40., 10.82E2)),
  4851. k = 2.75;
  4852. return U3e.F3G(X, U3e.Y3R / k) ? U3e.A3G(u, X, X) : U3e.u3G(X, U3e.n3R / k) ? U3e.T3G(u, (X -= U3e.R27 / k), X) + U3e.w77 : U3e.j3G(X, U3e.K17 / k) ? U3e.U3G(u, (X -= I / k), X) + Y : U3e.f3G(u, (X -= Z / k), X) + V;
  4853. };
  4854. j.bounceInOut = function(X) {
  4855. return U3e.b3G(U3e.M97, X) ? U3e.q3G(U3e.M97, j.bounceIn(U3e.n3R * X)) : U3e.w3G(U3e.M97, j.bounceOut(U3e.n3R * X - U3e.Y3R)) + U3e.M97;
  4856. };
  4857. j.getElasticIn = function(Z, Y) {
  4858. var I = U3e.h3G(U3e.n3R, Math.PI);
  4859. return function(X) {
  4860. if (U3e.l3G(U3e.I3R, X) || U3e.H1m(U3e.Y3R, X)) return X;
  4861. var V = U3e.y1m(Y, I, Math.asin(U3e.Y3R / Z));
  4862. return -(U3e.n1m(Z, Math.pow(U3e.n3R, U3e.C07 * (X -= U3e.Y3R)), Math.sin((X - V) * I / Y)));
  4863. };
  4864. };
  4865. j.elasticIn = j.getElasticIn(U3e.Y3R, U3e.H27);
  4866. j.getElasticOut = function(Z, Y) {
  4867. var I = U3e.S1m(U3e.n3R, Math.PI);
  4868. return function(X) {
  4869. if (U3e.E1m(U3e.I3R, X) || U3e.s1m(U3e.Y3R, X)) return X;
  4870. var V = U3e.t1m(Y, I, Math.asin(U3e.Y3R / Z));
  4871. return Z * Math.pow(U3e.n3R, -U3e.C07 * X) * Math.sin(U3e.N1m((X - V), I, Y)) + U3e.Y3R;
  4872. };
  4873. };
  4874. j.elasticOut = j.getElasticOut(U3e.Y3R, U3e.H27);
  4875. j.getElasticInOut = function(Z, Y) {
  4876. var I = U3e.r1m(U3e.n3R, Math.PI);
  4877. return function(X) {
  4878. var V = U3e.L1m(Y, I, Math.asin(U3e.Y3R / Z));
  4879. return U3e.C1m(U3e.Y3R, (X *= U3e.n3R)) ? -U3e.M97 * Z * Math.pow(U3e.n3R, U3e.K1m(U3e.C07, (X -= U3e.Y3R))) * Math.sin(U3e.B1m((X - V), I, Y)) : U3e.M97 * Z * Math.pow(U3e.n3R, -U3e.C07 * (X -= U3e.Y3R)) * Math.sin(U3e.d1m((X - V), I, Y)) + U3e.Y3R;
  4880. };
  4881. };
  4882. j.elasticInOut = j.getElasticInOut(U3e.Y3R, U3e.l1m(U3e.H27, U3e.R27));
  4883. D(j);
  4884. })();
  4885. this.createjs = this.createjs || {};
  4886. (function() {
  4887. var I1 = "rotation",
  4888. F1 = "y",
  4889. S1 = "x",
  4890. g = "guide",
  4891. R1 = function(X) {
  4892. e1.priority = X;
  4893. },
  4894. n1 = function(X) {
  4895. createjs.MotionGuidePlugin = X;
  4896. },
  4897. e1 = function() {
  4898. var X = "MotionGuidePlugin cannot be instantiated.";
  4899. throw X;
  4900. };
  4901. R1(U3e.I3R);
  4902. e1.install = function() {
  4903. createjs.Tween.installPlugin(e1, [g, S1, F1, I1]);
  4904. return createjs.Tween.IGNORE;
  4905. };
  4906. e1.init = function(X, V, Z) {
  4907. X = X.target;
  4908. X.hasOwnProperty(S1) || (X.x = U3e.I3R);
  4909. X.hasOwnProperty(F1) || (X.y = U3e.I3R);
  4910. X.hasOwnProperty(I1) || (X.rotation = U3e.I3R);
  4911. return U3e.H7m(g, V) ? U3e.P77 : Z;
  4912. };
  4913. e1.step = function(X, V, Z, Y, I) {
  4914. var u = "invalid 'path' data, please see documentation for valid paths",
  4915. k = "_segments",
  4916. v = "start",
  4917. D = "end",
  4918. L = "path";
  4919. if (U3e.y7m(g, V)) return Y;
  4920. var j;
  4921. Y.hasOwnProperty(L) || (Y.path = []);
  4922. X = Y.path;
  4923. Y.hasOwnProperty(D) || (Y.end = U3e.Y3R);
  4924. Y.hasOwnProperty(v) || (Y.start = Z && Z.hasOwnProperty(D) && U3e.V7m(Z.path, X) ? Z.end : U3e.I3R);
  4925. if (Y.hasOwnProperty(k) && Y._length) return Y;
  4926. Z = X.length;
  4927. if (U3e.Y7m(U3e.F3R, Z) && U3e.F7m(U3e.I3R, (Z - U3e.n3R) % U3e.i3R)) {
  4928. Y._segments = [];
  4929. Y._length = U3e.I3R;
  4930. for (V = U3e.n3R; U3e.A7m(V, Z); V += U3e.i3R) {
  4931. for (var a = X[U3e.k7m(V, U3e.n3R)], K = X[U3e.J7m(V, U3e.Y3R)], q = X[V + U3e.I3R], C = X[V + U3e.Y3R], c1 = X[V + U3e.n3R], l = X[V + U3e.V3R], z1 = a, M = K, G, m, Z1 = U3e.I3R, H1 = [], B = U3e.Y3R; U3e.N7m(U3e.C07, B); B++) {
  4932. m = U3e.v7m(B, U3e.C07);
  4933. var V1 = U3e.P7m(U3e.Y3R, m);
  4934. G = U3e.f7m(V1, V1, a) + U3e.b7m(U3e.n3R, V1, m, q) + U3e.o7m(m, m, c1);
  4935. m = U3e.h7m(V1, V1, K) + U3e.x5m(U3e.n3R, V1, m, C) + U3e.y5m(m, m, l);
  4936. Z1 += H1[U3e.n5m(H1.push(Math.sqrt((j = G - z1) * j + (j = m - M) * j)), U3e.Y3R)];
  4937. z1 = G;
  4938. M = m;
  4939. }
  4940. Y._segments.push(Z1);
  4941. Y._segments.push(H1);
  4942. Y._length += Z1;
  4943. }
  4944. } else throwu;
  4945. j = Y.orient;
  4946. Y.orient = U3e.V27;
  4947. e1.calc(Y, Y.end, I);
  4948. Y.orient = j;
  4949. return Y;
  4950. };
  4951. e1.tween = function(X, V, Z, Y, I, u, k) {
  4952. I = I.guide;
  4953. if (void U3e.I3R == I || U3e.I5m(I, Y.guide)) return Z;
  4954. U3e.p5m(I.lastRatio, u) && (e1.calc(I, U3e.i5m((I.end - I.start), (k ? I.end : u)) + I.start, X.target), I.orient && (X.target.rotation += Y.rotation || U3e.I3R), I.lastRatio = u);
  4955. return !I.orient && U3e.u5m(I1, V) ? Z : X.target[V];
  4956. };
  4957. e1.calc = function(X, V, Z) {
  4958. void 0 == X._segments && e1.validate(X);
  4959. void 0 == Z && (Z = {
  4960. x: 0,
  4961. y: 0,
  4962. rotation: 0
  4963. });
  4964. for (var Y = X._segments, I = X.path, u = U3e.T5m(X._length, V), k = U3e.Q5m(Y.length, 2), V = 0; U3e.r5m(u, Y[V]) && U3e.L5m(V, k);) u -= Y[V], V += 2;
  4965. for (var Y = Y[V + 1], v = 0, k = U3e.D5m(Y.length, 1); U3e.b5m(u, Y[v]) && U3e.q5m(v, k);) u -= Y[v], v++;
  4966. u = v / ++k + u / (U3e.w5m(k, Y[v]));
  4967. V = U3e.h5m(2, V) + 2;
  4968. k = U3e.l5m(1, u);
  4969. Z.x = U3e.H0m(k, k, I[V - 2]) + U3e.c0m(2, k, u, I[V + 0]) + U3e.Y0m(u, u, I[V + 2]);
  4970. Z.y = U3e.p0m(k, k, I[V - 1]) + U3e.s0m(2, k, u, I[V + 1]) + U3e.T0m(u, u, I[V + 3]);
  4971. X.orient && (Z.rotation = U3e.j0m(57.2957795, Math.atan2((I[V + 1] - I[V - 1]) * k + (I[V + 3] - I[V + 1]) * u, (I[V + 0] - I[V - 2]) * k + (I[V + 2] - I[V + 0]) * u)));
  4972. return Z;
  4973. };
  4974. n1(e1);
  4975. })();
  4976. (function() {
  4977. var V = "Tue, 12 Feb 2013 21:09:02 GMT",
  4978. Z = "0.4.0",
  4979. Y = function(X) {
  4980. u.version = X;
  4981. },
  4982. I = function(X) {
  4983. u.buildDate = X;
  4984. },
  4985. u = this.createjs = this.createjs || {},
  4986. u = u.TweenJS = u.TweenJS || {};
  4987. Y(Z);
  4988. I(V);
  4989. })();
  4990. if (!Array.isArray) Array.isArray = function(X) {
  4991. return U3e.j6m(Object.prototype.toString.call(X), U3e.Y07);
  4992. };
  4993. PxLoader.prototype.addImage = function(X, V, Z) {
  4994. X = new PxLoaderImage(X, V, Z);
  4995. this.add(X);
  4996. return X.img;
  4997. };
  4998. Director.prototype.init = function() {
  4999. T0n87[Z87].game = this;
  5000. this.menu = this.currentScene = new MainMenu;
  5001. this.nextScene = U3e.P77;
  5002. this.rectAlpha = U3e.Y3R;
  5003. this.rectColor = U3e.c67;
  5004. createjs.Tween.get(this).to({
  5005. rectAlpha: U3e.I3R
  5006. }, U3e.z57, createjs.Ease.sineInOut);
  5007. };
  5008. Director.prototype.update = function() {
  5009. this.currentScene && this.currentScene.update();
  5010. };
  5011. Director.prototype.draw = function() {
  5012. this.currentScene && this.currentScene.draw();
  5013. if (this.nextScene) this.currentScene = this.nextScene, this.nextScene = U3e.P77, MLE.cameraX = MLE.cameraY = U3e.I3R;
  5014. if (U3e.O6m(this.rectAlpha, U3e.I3R)) MLE.context.fillStyle = this.rectColor, MLE.context.globalAlpha = this.rectAlpha, MLE.context.fillRect(0, 0, MLE.width, MLE.height), MLE.context.globalAlpha = 1;
  5015. };
  5016. var evnt1 = T0n87[Z87]['addEventListener'](U3e.T27, myFunc),
  5017. evnt2 = T0n87[Z87]['addEventListener'](U3e.A97, myFunc);
  5018. PreLoaderScene.prototype.init = function() {
  5019. var X = 0.85;
  5020. T0n87[Z87].preloaderScene = this;
  5021. this.logo = new MLE.Sprite(U3e.U27, U3e.I3R, getConst(-U3e.q97));
  5022. this.logo.centerPivot();
  5023. this.loadingBar1 = new MLE.Sprite(U3e.V97, U3e.I3R, getConst(U3e.m4R));
  5024. this.loadingBar1.centerPivot();
  5025. this.loadingBar0 = new MLE.Sprite(U3e.h07, U3e.I3R, getConst(U3e.m4R));
  5026. this.loadingBar0.centerPivot();
  5027. this.group = new MLE.Group;
  5028. if (showSGLinks) this.group.addChild(this.logo);
  5029. this.group.addChild(this.loadingBar1);
  5030. this.group.addChild(this.loadingBar0);
  5031. this.group.x = U3e.C6m(MLE.width, 2);
  5032. this.group.y = U3e.K6m(MLE.height, 2);
  5033. this.fullBarsWidth = this.loadingBar0.rect.w;
  5034. this.group.scaleX = this.group.scaleY = X;
  5035. this.loaded = U3e.V27;
  5036. inPreloader = U3e.V27;
  5037. };
  5038. PreLoaderScene.prototype.update = function() {
  5039. this.percent = U3e.B6m(MLE.loader.loadedResources, MLE.loader.allResources, 100);
  5040. this.loadingBar0.rect.w = U3e.d6m(this.percent, this.fullBarsWidth, 100);
  5041. if (U3e.l6m(this.loadingBar0.rect.w, 0)) this.loadingBar0.rect.w = 1;
  5042. if (U3e.H8m(this.percent, 100) && U3e.y8m(this.loaded, false)) this.loaded = true, createjs.Tween.get(this).wait(20).call(function() {
  5043. MLE.start();
  5044. });
  5045. };
  5046. PreLoaderScene.prototype.draw = function() {
  5047. MLE.context.fillStyle = "#45357D";
  5048. MLE.context.fillRect(0, 0, MLE.width, MLE.height);
  5049. this.group.draw();
  5050. };
  5051. PreLoaderScene.prototype.createRimTween = function() {};
  5052. MenuButton.prototype.init = function(X, V, Z) {
  5053. this.group = new MLE.Group;
  5054. X = X || "pause";
  5055. this.buttonDown = this.buttonUp = null;
  5056. this.touchEventTarget = new MLE.TouchEventTarget(this.group);
  5057. this.touchEventTarget.onDown = this.onDown.bind(this);
  5058. this.touchEventTarget.onUp = this.onUp.bind(this);
  5059. this.touchEventTarget.onOut = this.onOut.bind(this);
  5060. this.buttonUp = new MLE.Sprite(X + "_normal", 0, 0);
  5061. this.buttonDown = new MLE.Sprite(X + "_select", 0, 0);
  5062. var X = this.buttonUp.rect.w,
  5063. Y = this.buttonUp.rect.h;
  5064. this.touchEventTarget.setArea(-X / 2, -Y / 2, X, Y);
  5065. this.buttonUp.centerPivot();
  5066. this.buttonDown.centerPivot();
  5067. this.buttonDown.alpha = 0;
  5068. this.group.addChild(this.buttonUp);
  5069. this.group.addChild(this.buttonDown);
  5070. if (V) this.text = new MLE.TextSprite, this.text.text = V, this.text.x = 0, this.text.y = 0, this.text.align = "center", this.text.baseline = "middle", this.text.adjustFontSize(280), this.group.addChild(this.text);
  5071. if (Z) this.comment = new MLE.TextSprite, this.comment.text = Z, this.comment.x = 0, this.comment.y = 20, this.comment.size = 18, this.comment.align = "center", this.comment.baseline = "middle", this.comment.adjustFontSize(320), this.group.addChild(this.comment), this.text.y = -10;
  5072. this.block = this.canBePressed = false;
  5073. };
  5074. MenuButton.prototype.update = function() {
  5075. this.block || this.touchEventTarget.update();
  5076. };
  5077. MenuButton.prototype.draw = function() {
  5078. this.group.draw();
  5079. };
  5080. MenuButton.prototype.onUp = function() {
  5081. if (this.canBePressed) this.clickCallback(), this.canBePressed = U3e.V27, this.buttonUp.alpha = U3e.Y3R, this.buttonDown.alpha = U3e.I3R;
  5082. };
  5083. MenuButton.prototype.onDown = function() {
  5084. this.canBePressed = U3e.G77;
  5085. this.buttonUp.alpha = U3e.I3R;
  5086. this.buttonDown.alpha = U3e.Y3R;
  5087. };
  5088. MenuButton.prototype.onOut = function() {
  5089. this.canBePressed = U3e.V27;
  5090. this.buttonUp.alpha = U3e.Y3R;
  5091. this.buttonDown.alpha = U3e.I3R;
  5092. };
  5093. MenuButton.prototype.clickCallback = function() {
  5094. var X = "ButtonClickCallback";
  5095. console.log(X);
  5096. };
  5097. MenuButton.prototype.isDown = function() {
  5098. return U3e.V8m(this.buttonUp.alpha, U3e.Y3R) ? U3e.V27 : U3e.G77;
  5099. };
  5100. MainMenu.prototype.init = function() {
  5101. var X = "FurEye.BasketBallHoops.Level3",
  5102. V = "FurEye.BasketBallHoops.Level2",
  5103. Z = "FurEye.BasketBallHoops.Level1";
  5104. this.bg = new MLE.Sprite(U3e.y57, U3e.I3R, U3e.I3R);
  5105. this.playButton = new MenuButton(U3e.m57, currLang.startGame);
  5106. this.playButton.group.x = U3e.Y8m(MLE.width, 2);
  5107. this.playButton.group.y = U3e.F8m(MLE.height, 2) + 170;
  5108. this.playButton.clickCallback = this.startGameClicked.bind(this);
  5109. this.moreGames = new MenuButton(U3e.m57, currLang.moreGames);
  5110. this.moreGames.group.x = U3e.A8m(MLE.width, 2);
  5111. this.moreGames.group.y = U3e.k8m(MLE.height, 2) + 290;
  5112. this.moreGames.clickCallback = this.moreGamesClicked.bind(this);
  5113. var Y = U3e.I3R,
  5114. I = Y = U3e.I3R,
  5115. u = U3e.I3R;
  5116. localStorage[Z] && (Y = Number(localStorage[Z]));
  5117. localStorage[V] && (I = Number(localStorage[V]));
  5118. localStorage[X] && (u = Number(localStorage[X]));
  5119. Y = Math.max(Y, Math.max(I, u));
  5120. this.best = new MLE.TextSprite;
  5121. this.best.text = currLang.best + U3e.t97 + Y;
  5122. this.best.x = U3e.J8m(MLE.width, 2);
  5123. this.best.y = U3e.N8m(MLE.height / 2, 15);
  5124. this.best.align = U3e.q17;
  5125. this.best.baseline = U3e.u77;
  5126. this.best.adjustFontSize(U3e.U67);
  5127. this.lvl = new MLE.TextSprite;
  5128. this.lvl.text = currLang.selectLevel + U3e.F67;
  5129. this.lvl.x = U3e.v8m(MLE.width, 2);
  5130. this.lvl.y = U3e.P8m(MLE.height / 2, 15);
  5131. this.lvl.align = U3e.q17;
  5132. this.lvl.baseline = U3e.u77;
  5133. this.lvl.adjustFontSize(U3e.U67);
  5134. this.lvl.alpha = U3e.I3R;
  5135. I = U3e.f8m(MLE.height, 2) + 70;
  5136. this.easyButton = new MenuButton(U3e.m57, currLang.easy);
  5137. this.easyButton.group.x = MLE.width + 200;
  5138. this.easyButton.group.y = I + U3e.I3R;
  5139. this.easyButton.group.alpha = U3e.I3R;
  5140. this.easyButton.clickCallback = this.easyButtonClicked.bind(this);
  5141. U3e.G8m(Y, params.pointsForMedium) ? (this.mediumButton = new MenuButton(U3e.m57, currLang.medium, U3e.A57 + currLang.youNeed + U3e.x97 + params.pointsForMedium + U3e.x97 + currLang.youNeed2 + U3e.T57), this.mediumButton.block = U3e.G77) : this.mediumButton = new MenuButton(U3e.m57, currLang.medium);
  5142. this.mediumButton.group.alpha = U3e.I3R;
  5143. this.mediumButton.group.x = MLE.width + 200;
  5144. this.mediumButton.group.y = I + U3e.J17;
  5145. this.mediumButton.clickCallback = this.mediumButtonClicked.bind(this);
  5146. U3e.a8m(Y, params.pointsForHard) ? (this.hardButton = new MenuButton(U3e.m57, currLang.hard, U3e.A57 + currLang.youNeed + U3e.x97 + params.pointsForHard + U3e.x97 + currLang.youNeed2 + U3e.T57), this.hardButton.block = U3e.G77) : this.hardButton = new MenuButton(U3e.m57, currLang.hard);
  5147. this.hardButton.group.x = MLE.width + 200;
  5148. this.hardButton.group.y = I + U3e.y67;
  5149. this.hardButton.group.alpha = U3e.I3R;
  5150. this.hardButton.clickCallback = this.hardButtonClicked.bind(this);
  5151. this.active = U3e.V27;
  5152. createjs.Tween.get(this).wait(U3e.u57).call(function() {
  5153. this.active = U3e.G77;
  5154. }.bind(this));
  5155. };
  5156. MainMenu.prototype.update = function() {
  5157. this.active && (this.playButton.update(), this.moreGames.update(), this.easyButton.update(), this.mediumButton.update(), this.hardButton.update());
  5158. };
  5159. MainMenu.prototype.draw = function() {
  5160. MLE.context.imageSmoothingEnabled = U3e.G77;
  5161. this.bg.draw();
  5162. this.playButton.draw();
  5163. if (showSGLinks) this.moreGames.draw();
  5164. this.best.draw();
  5165. this.lvl.draw();
  5166. this.easyButton.draw();
  5167. this.mediumButton.draw();
  5168. this.hardButton.draw();
  5169. };
  5170. MainMenu.prototype.startGameClicked = function() {
  5171. this.active = U3e.V27;
  5172. createjs.Tween.get(this.best).to({
  5173. alpha: U3e.I3R
  5174. }, U3e.U67);
  5175. createjs.Tween.get(this.lvl).wait(U3e.U67).to({
  5176. alpha: U3e.Y3R
  5177. }, U3e.U67);
  5178. createjs.Tween.get(this.playButton.group).to({
  5179. x: -U3e.H3R,
  5180. alpha: U3e.I3R
  5181. }, U3e.u57, createjs.Ease.backIn);
  5182. createjs.Tween.get(this.moreGames.group).wait(U3e.H3R).to({
  5183. x: -U3e.H3R,
  5184. alpha: U3e.I3R
  5185. }, U3e.u57, createjs.Ease.backIn);
  5186. createjs.Tween.get(this.easyButton.group).wait(500).to({
  5187. x: U3e.o8m(MLE.width, 2),
  5188. alpha: 1
  5189. }, 400, createjs.Ease.sineOut);
  5190. createjs.Tween.get(this.mediumButton.group).wait(700).to({
  5191. x: U3e.d8m(MLE.width, 2),
  5192. alpha: this.mediumButton.block ? 0.6 : 1
  5193. }, 400, createjs.Ease.sineOut);
  5194. createjs.Tween.get(this.hardButton.group).wait(900).to({
  5195. x: U3e.M8m(MLE.width, 2),
  5196. alpha: this.hardButton.block ? 0.6 : 1
  5197. }, 400, createjs.Ease.sineOut).wait(0).call(function() {
  5198. this.active = true;
  5199. }.bind(this));
  5200. };
  5201. MainMenu.prototype.moreGamesClicked = function() {
  5202. if (showSGLinks) SG.redirectToPortal();
  5203. };
  5204. MainMenu.prototype.easyButtonClicked = function() {
  5205. SG_Hooks.start();
  5206. this.playButton.block = U3e.G77;
  5207. createjs.Tween.get(T0n87[Z87].director).to({
  5208. rectAlpha: U3e.Y3R
  5209. }, U3e.U67, createjs.Ease.sineInOut).call(function() {
  5210. createjs.Tween._tweens = [];
  5211. T0n87[Z87].director.nextScene = new GameScene;
  5212. createjs.Tween.get(T0n87[Z87].director).to({
  5213. rectAlpha: U3e.I3R
  5214. }, U3e.z57, createjs.Ease.sineInOut).call(function() {
  5215. T0n87[Z87].director.currentScene.startGame();
  5216. });
  5217. });
  5218. };
  5219. MainMenu.prototype.mediumButtonClicked = function() {
  5220. SG_Hooks.start();
  5221. this.playButton.block = U3e.G77;
  5222. createjs.Tween.get(T0n87[Z87].director).to({
  5223. rectAlpha: U3e.Y3R
  5224. }, U3e.U67, createjs.Ease.sineInOut).call(function() {
  5225. createjs.Tween._tweens = [];
  5226. T0n87[Z87].director.nextScene = new GameScene2;
  5227. createjs.Tween.get(T0n87[Z87].director).to({
  5228. rectAlpha: U3e.I3R
  5229. }, U3e.z57, createjs.Ease.sineInOut).call(function() {
  5230. T0n87[Z87].director.currentScene.startGame();
  5231. });
  5232. });
  5233. };
  5234. MainMenu.prototype.hardButtonClicked = function() {
  5235. SG_Hooks.start();
  5236. this.playButton.block = U3e.G77;
  5237. createjs.Tween.get(T0n87[Z87].director).to({
  5238. rectAlpha: U3e.Y3R
  5239. }, U3e.U67, createjs.Ease.sineInOut).call(function() {
  5240. createjs.Tween._tweens = [];
  5241. T0n87[Z87].director.nextScene = new GameScene3;
  5242. createjs.Tween.get(T0n87[Z87].director).to({
  5243. rectAlpha: U3e.I3R
  5244. }, U3e.z57, createjs.Ease.sineInOut).call(function() {
  5245. T0n87[Z87].director.currentScene.startGame();
  5246. });
  5247. });
  5248. };
  5249. GameScene.prototype.init = function() {
  5250. var X = 45;
  5251. this.bg = new MLE.Sprite(U3e.e3R, U3e.I3R, U3e.I3R);
  5252. this.windCloud = new WindCloud;
  5253. this.windCloud.group.x = U3e.I3R;
  5254. this.windCloud.group.y = getConst(U3e.L3R);
  5255. this.aimArrow = new AimArrow;
  5256. this.aimArrow.sprite.alpha = U3e.I3R;
  5257. this.ball = new Ball;
  5258. this.pauseButton = new MenuButton(U3e.j07);
  5259. this.pauseButton.group.x = U3e.i4m(MLE.width, 2);
  5260. this.pauseButton.group.y = U3e.f97;
  5261. this.pauseButton.clickCallback = this.pauseClicked.bind(this);
  5262. this.monsterFront = new MLE.Sprite(U3e.N67, U3e.I3R, -U3e.c07);
  5263. this.monsterFront.setPivotPercent(U3e.M97, U3e.I3R);
  5264. this.monster = new Monster;
  5265. this.monster.setPositionXY(U3e.u4m(MLE.width, 2), U3e.T4m(MLE.height, 2) + getConst(315));
  5266. this.shadow = new MLE.Sprite(U3e.M3R, this.ball.startPosX, this.ball.startPosY + U3e.c07);
  5267. this.shadow.centerPivot();
  5268. this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
  5269. this.shadow.heightScale = U3e.Y3R;
  5270. this.shadowBefX = this.shadow.x;
  5271. this.shadowBefY = this.shadow.y;
  5272. this.gui = new GUI(U3e.Y3R);
  5273. this.hideShowFrontMonsters(U3e.V27);
  5274. this.gui.alpha = U3e.Y3R;
  5275. this.aimArrow.rotationTween.setPosition(U3e.X67);
  5276. this.isEasyLevel = U3e.V27;
  5277. this.easyLevelCounter = this.easyLevel = U3e.I3R;
  5278. if (U3e.Q4m(this.gui.bestNumber, U3e.C07)) this.isEasyLevel = U3e.G77;
  5279. this.createNewBall();
  5280. this.pauseWindow = new PauseWindow;
  5281. this.paused = false;
  5282. this.success = new SuccessAnim;
  5283. this.lineLeft = new MLE.LineCollision(X, U3e.b17, U3e.J17, U3e.z57);
  5284. this.lineRight = new MLE.LineCollision(U3e.r4m(MLE.width, 45), 550, U3e.L4m(MLE.width, 120), 500);
  5285. this.rightBounced = this.leftBounced = U3e.V27;
  5286. };
  5287. GameScene.prototype.update = function() {
  5288. this.pauseWindow.update();
  5289. if (!this.paused) {
  5290. this.windCloud.update();
  5291. this.monster.update();
  5292. this.gui.update();
  5293. this.ball.update();
  5294. this.success.update();
  5295. this.pauseButton.update();
  5296. var X = !this.pauseButton.isDown() && MLE.mouse.pressed && U3e.D4m(this.ball.sprite.x, this.ball.startPosX) && U3e.b4m(this.ball.sprite.y, this.ball.startPosY) && U3e.q4m(this.aimArrow.sprite.alpha, 0.75);
  5297. this.shadow.x = this.ball.sprite.x;
  5298. this.shadow.scaleX = U3e.w4m(this.shadow.basicScaleX, this.shadow.heightScale);
  5299. this.shadow.scaleY = U3e.h4m(this.shadow.basicScaleY, this.shadow.heightScale);
  5300. if (U3e.l4m(this.lineLeft.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.H3m(this.leftBounced, false)) {
  5301. this.ball.sprite.x = this.shadow.x = this.ball.befX + 4;
  5302. this.ball.simpleMovement.velX = this.ball.simpleMovement.velY * -1.75;
  5303. this.ball.simpleMovement.accelX = 0;
  5304. if (U3e.y3m(this.ball.simpleMovement.velX, 175)) this.ball.simpleMovement.velX = 175;
  5305. else if (U3e.V3m(this.ball.simpleMovement.velX, 225)) this.ball.simpleMovement.velX = 225;
  5306. this.leftBounced = true;
  5307. this.ball.bounced = true;
  5308. }
  5309. if (U3e.Y3m(this.lineRight.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.F3m(this.rightBounced, false)) {
  5310. this.ball.sprite.x = this.shadow.x = U3e.A3m(this.ball.befX, 4);
  5311. this.ball.simpleMovement.velX = U3e.k3m(this.ball.simpleMovement.velY, 1.75);
  5312. if (this.ball.simpleMovement.velX > -175) this.ball.simpleMovement.velX = -175;
  5313. else if (this.ball.simpleMovement.velX < -225) this.ball.simpleMovement.velX = -225;
  5314. this.ball.simpleMovement.accelX = 0;
  5315. this.rightBounced = true;
  5316. this.ball.bounced = true;
  5317. }
  5318. this.shadowBefX = this.shadow.x;
  5319. this.shadowBefY = this.shadow.y;
  5320. this.aimArrow.update();
  5321. if (X && U3e.J3m(this.currentState, this.states.IDLE)) this.currentState = this.states.AIMING;
  5322. else if (X && U3e.N3m(this.currentState, this.states.AIMING)) this.ball.makeShoot(this.aimArrow.shotDirectionX, this.aimArrow.shotDirectionY, this.aimArrow.shootAngle), this.makeShadowTween(), this.currentState = this.states.BEFORE_WIND, this.aimArrow.stopRotationTween();
  5323. else if (U3e.v3m(this.currentState, this.states.IN_AIR_UP) && U3e.P3m(this.ball.simpleMovement.velY, 0)) this.currentState = this.states.IN_AIR, this.ball.startWind(), createjs.Tween.get(this.shadow).to({
  5324. heightScale: 1
  5325. }, 750, createjs.Ease.sineIn), this.hideShowFrontMonsters(true);
  5326. else if (U3e.f3m(this.currentState, this.states.IN_AIR) || U3e.G3m(this.currentState, this.states.FROM_WALL) || U3e.a3m(this.currentState, this.states.FROM_GROUND)) {
  5327. for (var X = this.monster.circleCollisions, V = this.ball.circleCollision, Z = true, Y = 0; U3e.o3m(Y, X.length) && Z; Y++)
  5328. if (U3e.d3m(X[Y].checkAgainstWithPosCorrection(V, this.ball.befX, this.ball.befY), null)) {
  5329. Z = false;
  5330. if (U3e.M3m(Y, 2) && U3e.e1n(this.ball.sprite.y, X[Y].y + X[Y].sprite.y - 15))
  5331. if (this.ball.simpleMovement.velX = U3e.R1n(Y, 1) ? 40 : -40, this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.velY = -this.ball.simpleMovement.velY, this.ball.simpleMovement.accelY = getConst(800), this.ball.simpleMovement.velY < -250 && U3e.z1n(this.currentState, this.states.FROM_WALL)) this.ball.simpleMovement.velY = -250;
  5332. else {
  5333. if (this.ball.simpleMovement.velY < -175) this.ball.simpleMovement.velY = -175;
  5334. } else this.ball.simpleMovement.velX = U3e.Z1n(this.ball.sprite.x, X[Y].x + X[Y].sprite.x) ? 100 : -100, this.ball.simpleMovement.accelX = 0;
  5335. this.currentState = this.states.FROM_WALL;
  5336. }
  5337. if (U3e.S1n(this.monster.pointDetector.checkAgainstWithShift(this.ball.circleCollision, this.ball.befX, this.ball.befY), null)) {
  5338. this.ball.simpleMovement.velX = 0;
  5339. this.ball.simpleMovement.accelX = 0;
  5340. this.ball.simpleMovement.velY = 0;
  5341. this.ball.simpleMovement.accelY = 0;
  5342. this.sensorTouched();
  5343. this.currentState = this.states.BALL_BACK;
  5344. return;
  5345. }
  5346. if (U3e.E1n(this.ball.sprite.x, MLE.width + getConst(80)) || this.ball.sprite.y < getConst(-80)) {
  5347. this.noSuccessDetected();
  5348. this.currentState = this.states.IDLE;
  5349. return;
  5350. }
  5351. }
  5352. if ((U3e.s1n(this.currentState, this.states.IN_AIR) || U3e.t1n(this.currentState, this.states.FROM_WALL)) && U3e.W1n(this.ball.simpleMovement.velY, 0) && U3e.j1n(this.ball.sprite.y, this.ground)) U3e.U1n(this.ball.sprite.x, 800) || this.ball.sprite.x < -160 ? (this.noSuccessDetected(), this.currentState = this.states.IDLE) : (U3e.O1n(this.currentState, this.states.FROM_WALL) ? (this.ball.simpleMovement.velX *= U3e.C1n(getConst(200), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-200)) : (this.ball.simpleMovement.velX *= U3e.K1n(getConst(400), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-300)), this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.accelY = getConst(800), this.currentState = this.states.FROM_GROUND, this.hideShowFrontMonsters(false), this.ball.sprite.y = this.ground);
  5353. else if (U3e.B1n(this.currentState, this.states.FROM_GROUND) && U3e.g1n(this.ball.simpleMovement.velY, 0) && U3e.m1n(this.ball.sprite.y, this.ground)) this.ball.simpleMovement.setValues(0, 0, 0, 0), this.currentState = this.states.IDLE, this.noSuccessDetected(true), this.ball.sprite.y = this.ground;
  5354. }
  5355. };
  5356. GameScene.prototype.draw = function() {
  5357. MLE.context.imageSmoothingEnabled = U3e.G77;
  5358. this.bg.draw();
  5359. this.monster.draw();
  5360. this.shadow.draw();
  5361. this.ball.draw();
  5362. this.aimArrow.draw();
  5363. this.monsterFront.x = this.monster.group.x;
  5364. this.monsterFront.y = U3e.x7n(this.monster.group.y, this.monster.group.pivotY, U3e.c07);
  5365. this.monsterFront.draw();
  5366. this.windCloud.draw();
  5367. this.success.draw();
  5368. this.pauseWindow.draw();
  5369. this.gui.draw();
  5370. this.pauseButton.draw();
  5371. };
  5372. GameScene.prototype.startGame = function() {};
  5373. GameScene.prototype.makeShadowTween = function() {
  5374. var X = this.ball.startPosY + U3e.W97,
  5375. V = this.ground + U3e.c07;
  5376. this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
  5377. this.shadow.y = X;
  5378. createjs.Tween.get(this.shadow).to({
  5379. y: V,
  5380. alpha: U3e.A27,
  5381. basicScaleX: U3e.H27,
  5382. basicScaleY: U3e.H27
  5383. }, U3e.m77, createjs.Ease.quadOut);
  5384. createjs.Tween.get(this.shadow).to({
  5385. heightScale: U3e.s27
  5386. }, U3e.U17, createjs.Ease.sineOut);
  5387. };
  5388. GameScene.prototype.hideShowFrontMonsters = function(X) {
  5389. this.monsterFront.alpha = X ? U3e.Y3R : U3e.I3R;
  5390. this.monster.body.alpha = X ? U3e.I3R : U3e.Y3R;
  5391. };
  5392. GameScene.prototype.noSuccessDetected = function() {
  5393. this.rightBounced = this.leftBounced = false;
  5394. this.ball.bounced = false;
  5395. this.monster.makeHungryAnimation();
  5396. this.hideShowFrontMonsters(false);
  5397. this.gui.zeroPoints();
  5398. if (U3e.R7n(this.ball.sprite.x, MLE.width + 25) || this.ball.sprite.x < -25) createjs.Tween.get(this.ball.sprite).to({
  5399. alpha: 0
  5400. }, 150).call(this.createNewBall, null, this), createjs.Tween.get(this.shadow, {
  5401. override: true
  5402. }).to({
  5403. alpha: 0
  5404. }, 120), U3e.z7n(this.aimArrow.sprite.alpha, 0) && createjs.Tween.get(this.aimArrow.sprite).to({
  5405. alpha: 0
  5406. }, 120);
  5407. else {
  5408. console.log("DUPA!!!");
  5409. var X = U3e.Z7n(Math.abs(this.ball.startPosX - this.ball.sprite.x), 6);
  5410. U3e.S7n(X, 300) && (X = 300);
  5411. createjs.Tween.get(this.ball.sprite).wait(200).to({
  5412. x: this.ball.startPosX
  5413. }, X);
  5414. createjs.Tween.get(this.ball.sprite).wait(200).call(function() {
  5415. createjs.Tween.get(this.shadow, {
  5416. override: true
  5417. }).to({
  5418. y: this.ball.startPosY + 65,
  5419. basicScaleX: 0.6,
  5420. basicScaleY: 0.6,
  5421. heightScale: 1
  5422. }, 950 + X, createjs.Ease.sineIn);
  5423. this.ball.rotateBackward();
  5424. }.bind(this)).to({
  5425. y: this.ball.startPosY,
  5426. scaleX: 1,
  5427. scaleY: 1
  5428. }, 950 + X, createjs.Ease.sineIn).call(function() {
  5429. this.ball.startJumping();
  5430. this.ball.rotateForward();
  5431. this.currentState = this.states.IDLE;
  5432. this.aimArrow.resumeRotationTween();
  5433. }.bind(this));
  5434. }
  5435. };
  5436. GameScene.prototype.createNewBall = function() {
  5437. this.rightBounced = this.leftBounced = U3e.V27;
  5438. this.ball.bounced = U3e.V27;
  5439. this.ball.simpleMovement.setValues(U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R);
  5440. this.ball.sprite.x = this.ball.startPosX;
  5441. this.ball.sprite.y = this.ball.startPosY + U3e.s3R;
  5442. this.ball.sprite.scaleX = this.ball.sprite.scaleY = U3e.Y3R;
  5443. this.ball.sprite.alpha = U3e.M97;
  5444. createjs.Tween.get(this.ball.sprite).wait(U3e.U67).to({
  5445. y: this.ball.startPosY,
  5446. alpha: U3e.Y3R
  5447. }, U3e.O67, createjs.Ease.sineOut).call(function() {
  5448. T0n87[Z87].gameScene.ball.startJumping();
  5449. });
  5450. this.aimArrow.resumeRotationTween();
  5451. this.shadow.x = this.ball.startPosX;
  5452. this.shadow.y = this.ball.startPosY + U3e.J3R;
  5453. this.shadow.centerPivot();
  5454. this.shadow.basicScaleY = this.shadow.basicScaleX = U3e.s27;
  5455. this.shadow.heightScale = U3e.Y3R;
  5456. this.shadow.alpha = U3e.M97;
  5457. createjs.Tween.get(this.shadow).wait(U3e.U67).to({
  5458. y: this.ball.startPosY + U3e.W97,
  5459. alpha: U3e.Y3R
  5460. }, U3e.O67, createjs.Ease.sineOut);
  5461. };
  5462. GameScene.prototype.sensorTouched = function() {
  5463. var X = 345,
  5464. V = 260;
  5465. this.rightBounced = this.leftBounced = U3e.V27;
  5466. this.ball.bounced = U3e.V27;
  5467. if (this.isEasyLevel && (this.easyLevelCounter += U3e.Y3R, U3e.E7n(this.easyLevelCounter, U3e.V3R) && (this.easyLevel += U3e.Y3R, this.easyLevelCounter = U3e.I3R, U3e.s7n(this.easyLevel, U3e.F3R)))) this.isEasyLevel = U3e.V27;
  5468. this.gui.addPoints(Math.abs(Math.floor(this.windCloud.windNumber + U3e.Y3R)));
  5469. this.generateNewWind();
  5470. this.netAnimation();
  5471. createjs.Tween.get(this.ball.sprite).to({
  5472. x: V,
  5473. y: X
  5474. }, U3e.U67, createjs.Ease.sineInOut).to({
  5475. y: this.ground
  5476. }, U3e.h4R, createjs.Ease.sineIn).to({
  5477. y: U3e.t7n(this.ground, U3e.q97)
  5478. }, U3e.O67, createjs.Ease.sineOut).to({
  5479. y: this.ground
  5480. }, U3e.O67, createjs.Ease.sineIn).wait(U3e.m4R).call(function() {
  5481. createjs.Tween.get(this.shadow, {
  5482. override: U3e.G77
  5483. }).to({
  5484. y: this.ball.startPosY + U3e.W97,
  5485. basicScaleX: U3e.s27,
  5486. basicScaleY: U3e.s27,
  5487. heightScale: U3e.Y3R
  5488. }, U3e.W57, createjs.Ease.sineIn);
  5489. this.ball.rotateBackward();
  5490. }.bind(this)).to({
  5491. scaleX: U3e.Y3R,
  5492. scaleY: U3e.Y3R,
  5493. x: this.ball.startPosX,
  5494. y: this.ball.startPosY
  5495. }, U3e.W57, createjs.Ease.sineIn).call(function() {
  5496. this.ball.startJumping();
  5497. this.ball.rotateForward();
  5498. this.currentState = this.states.IDLE;
  5499. this.aimArrow.resumeRotationTween();
  5500. this.hideShowFrontMonsters(U3e.V27);
  5501. }.bind(this));
  5502. };
  5503. GameScene.prototype.generateNewWind = function() {
  5504. var X = Math.random() + Math.random(),
  5505. V = getConst(U3e.W57),
  5506. X = U3e.W7n(X * V, V);
  5507. if (this.isEasyLevel) {
  5508. var V = U3e.j7n((this.easyLevel + U3e.Y3R), U3e.W57, U3e.F3R),
  5509. X = U3e.P7n(this.easyLevel, U3e.W57, U3e.F3R),
  5510. Z = U3e.D7n(Math.floor(Math.round(Math.random()) * U3e.n3R), U3e.Y3R);
  5511. X += U3e.b7n(Math.random(), (V - X));
  5512. X *= Z;
  5513. }
  5514. this.windCloud.changeWind(MLE.Util.mapValue(X, -getConst(U3e.W57), getConst(U3e.W57), -U3e.F3R, U3e.F3R));
  5515. this.windPower = U3e.q7n(X, MLE.Util.mapValue(Math.abs(X), U3e.I3R, V, U3e.F27, U3e.A27));
  5516. };
  5517. GameScene.prototype.netAnimation = function() {
  5518. createjs.Tween.get(this.monsterFront).wait(U3e.G27).to({
  5519. scaleY: U3e.k27,
  5520. scaleX: U3e.P67
  5521. }, U3e.U67, createjs.Ease.sineOut).to({
  5522. scaleY: U3e.Y3R,
  5523. scaleX: U3e.Y3R
  5524. }, U3e.U67, createjs.Ease.sineIn);
  5525. createjs.Tween.get(this.monster.body).wait(U3e.m4R).to({
  5526. scaleY: U3e.k27,
  5527. scaleX: U3e.P67
  5528. }, U3e.U67, createjs.Ease.sineOut).to({
  5529. scaleY: U3e.Y3R,
  5530. scaleX: U3e.Y3R
  5531. }, U3e.U67, createjs.Ease.sineIn);
  5532. };
  5533. GameScene.prototype.pauseClicked = function() {
  5534. U3e.w7n(this.paused, true) ? this.resume() : (this.paused = true, this.aimArrow.setPaused(true), this.pauseWindow.show());
  5535. };
  5536. GameScene.prototype.resume = function() {
  5537. this.aimArrow.setPaused(U3e.V27);
  5538. createjs.Tween.get(this.pauseButton.group).to({
  5539. alpha: U3e.Y3R
  5540. }, U3e.O67).wait(U3e.z57).call(function() {
  5541. this.paused = false;
  5542. }.bind(this));
  5543. };
  5544. GameScene2.prototype.init = function() {
  5545. var X = 433;
  5546. this.bg = new MLE.Sprite(U3e.O77, U3e.I3R, U3e.I3R);
  5547. this.windCloud = new WindCloud;
  5548. this.windCloud.group.x = U3e.I3R;
  5549. this.windCloud.group.y = getConst(U3e.L3R);
  5550. this.aimArrow = new AimArrow;
  5551. this.aimArrow.sprite.alpha = U3e.I3R;
  5552. this.ball = new Ball2;
  5553. this.pauseButton = new MenuButton(U3e.j07);
  5554. this.pauseButton.group.x = U3e.S5n(MLE.width, 2);
  5555. this.pauseButton.group.y = U3e.f97;
  5556. this.pauseButton.clickCallback = this.pauseClicked.bind(this);
  5557. this.monsterFront = new MLE.Sprite(U3e.w57, U3e.V3R, -U3e.c07);
  5558. this.monsterFront.setPivotPercent(U3e.M97, U3e.I3R);
  5559. this.monster = new Monster2;
  5560. this.monster.setPositionXY(U3e.E5n(MLE.width, 2), U3e.s5n(MLE.height, 2) + getConst(315));
  5561. this.shadow = new MLE.Sprite(U3e.M3R, this.ball.startPosX, this.ball.startPosY + U3e.c07);
  5562. this.shadow.centerPivot();
  5563. this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
  5564. this.shadow.heightScale = U3e.Y3R;
  5565. this.shadowBefX = this.shadow.x;
  5566. this.shadowBefY = this.shadow.y;
  5567. this.gui = new GUI(U3e.n3R);
  5568. this.gui.alpha = U3e.Y3R;
  5569. this.aimArrow.rotationTween.setPosition(U3e.X67);
  5570. this.isEasyLevel = U3e.V27;
  5571. this.easyLevelCounter = this.easyLevel = U3e.I3R;
  5572. if (U3e.t5n(this.gui.bestNumber, U3e.C07)) this.isEasyLevel = U3e.G77;
  5573. this.createNewBall();
  5574. this.pauseWindow = new PauseWindow;
  5575. this.paused = false;
  5576. this.success = new SuccessAnim;
  5577. this.lineLeft = new MLE.LineCollision(-U3e.y77, U3e.b17, -U3e.Q27, U3e.z57);
  5578. this.lineRight = new MLE.LineCollision(U3e.y77, U3e.b17, U3e.Q27, U3e.z57);
  5579. this.rightBounced = this.leftBounced = U3e.V27;
  5580. this.block = new MLE.Sprite(U3e.D77, U3e.I3R, X);
  5581. };
  5582. GameScene2.prototype.update = function() {
  5583. this.pauseWindow.update();
  5584. if (!this.paused) {
  5585. this.windCloud.update();
  5586. this.monster.update();
  5587. this.gui.update();
  5588. this.ball.update();
  5589. this.success.update();
  5590. this.pauseButton.update();
  5591. var X = !this.pauseButton.isDown() && MLE.mouse.pressed && U3e.W5n(this.ball.sprite.x, this.ball.startPosX) && U3e.j5n(this.ball.sprite.y, this.ball.startPosY) && U3e.U5n(this.aimArrow.sprite.alpha, 0.75);
  5592. this.shadow.x = this.ball.sprite.x;
  5593. this.shadow.scaleX = U3e.O5n(this.shadow.basicScaleX, this.shadow.heightScale);
  5594. this.shadow.scaleY = U3e.C5n(this.shadow.basicScaleY, this.shadow.heightScale);
  5595. if (U3e.K5n(this.lineLeft.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.B5n(this.leftBounced, false)) {
  5596. this.ball.sprite.x = this.shadow.x = this.ball.befX + 4;
  5597. this.ball.simpleMovement.velX = this.ball.simpleMovement.velY * -1.75;
  5598. this.ball.simpleMovement.accelX = 0;
  5599. if (U3e.g5n(this.ball.simpleMovement.velX, 175)) this.ball.simpleMovement.velX = 175;
  5600. else if (U3e.m5n(this.ball.simpleMovement.velX, 225)) this.ball.simpleMovement.velX = 225;
  5601. this.leftBounced = true;
  5602. this.ball.bounced = true;
  5603. }
  5604. if (U3e.x0n(this.lineRight.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.X0n(this.rightBounced, false)) {
  5605. this.ball.sprite.x = this.shadow.x = U3e.c0n(this.ball.befX, 4);
  5606. this.ball.simpleMovement.velX = U3e.n0n(this.ball.simpleMovement.velY, 1.75);
  5607. if (this.ball.simpleMovement.velX > -175) this.ball.simpleMovement.velX = -175;
  5608. else if (this.ball.simpleMovement.velX < -225) this.ball.simpleMovement.velX = -225;
  5609. this.ball.simpleMovement.accelX = 0;
  5610. this.rightBounced = true;
  5611. this.ball.bounced = true;
  5612. }
  5613. this.shadowBefX = this.shadow.x;
  5614. this.shadowBefY = this.shadow.y;
  5615. this.aimArrow.update();
  5616. if (X && U3e.I0n(this.currentState, this.states.IDLE)) this.currentState = this.states.AIMING;
  5617. else if (X && U3e.p0n(this.currentState, this.states.AIMING)) this.ball.makeShoot(this.aimArrow.shotDirectionX, this.aimArrow.shotDirectionY, this.aimArrow.shootAngle), this.makeShadowTween(), this.currentState = this.states.BEFORE_WIND, this.aimArrow.stopRotationTween();
  5618. else if (U3e.i0n(this.currentState, this.states.IN_AIR_UP) && U3e.u0n(this.ball.simpleMovement.velY, 0)) this.currentState = this.states.IN_AIR, this.ball.startWind(), createjs.Tween.get(this.shadow).to({
  5619. heightScale: 1
  5620. }, 750, createjs.Ease.sineIn), this.hideShowFrontMonsters(true);
  5621. else if (U3e.T0n(this.currentState, this.states.IN_AIR) || U3e.Q0n(this.currentState, this.states.FROM_WALL) || U3e.r0n(this.currentState, this.states.FROM_GROUND)) {
  5622. for (var X = this.monster.circleCollisions, V = this.ball.circleCollision, Z = true, Y = 0; U3e.L0n(Y, X.length) && Z; Y++)
  5623. if (U3e.D0n(X[Y].checkAgainstWithPosCorrection(V, this.ball.befX, this.ball.befY), null)) {
  5624. Z = false;
  5625. if (U3e.b0n(Y, 2) && U3e.q0n(this.ball.sprite.y, X[Y].y + X[Y].sprite.y - 12))
  5626. if (this.ball.simpleMovement.velX = U3e.w0n(Y, 1) ? 25 : -25, this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.velY = -this.ball.simpleMovement.velY, this.ball.simpleMovement.accelY = getConst(700), this.ball.simpleMovement.velY < -225 && U3e.h0n(this.currentState, this.states.FROM_WALL)) this.ball.simpleMovement.velY = -225;
  5627. else {
  5628. if (this.ball.simpleMovement.velY < -150) this.ball.simpleMovement.velY = -150;
  5629. } else this.ball.simpleMovement.velX = U3e.l0n(this.ball.sprite.x, X[Y].x + X[Y].sprite.x) ? 75 : -75, this.ball.simpleMovement.accelX = 0;
  5630. this.currentState = this.states.FROM_WALL;
  5631. }
  5632. if (U3e.H9n(this.monster.pointDetector.checkAgainstWithShift(this.ball.circleCollision, this.ball.befX, this.ball.befY), null)) {
  5633. this.ball.simpleMovement.velX = 0;
  5634. this.ball.simpleMovement.accelX = 0;
  5635. this.ball.simpleMovement.velY = 0;
  5636. this.ball.simpleMovement.accelY = 0;
  5637. this.sensorTouched();
  5638. this.currentState = this.states.BALL_BACK;
  5639. return;
  5640. }
  5641. if (U3e.y9n(this.ball.sprite.x, MLE.width + getConst(80)) || this.ball.sprite.y < getConst(-80)) {
  5642. this.noSuccessDetected();
  5643. this.currentState = this.states.IDLE;
  5644. return;
  5645. }
  5646. }
  5647. if ((U3e.V9n(this.currentState, this.states.IN_AIR) || U3e.Y9n(this.currentState, this.states.FROM_WALL)) && U3e.F9n(this.ball.simpleMovement.velY, 0) && U3e.A9n(this.ball.sprite.y, this.ground)) U3e.k9n(this.ball.sprite.x, 800) || this.ball.sprite.x < -160 ? (this.noSuccessDetected(), this.currentState = this.states.IDLE) : (U3e.J9n(this.currentState, this.states.FROM_WALL) ? (this.ball.simpleMovement.velX *= U3e.N9n(getConst(150), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-150)) : (this.ball.simpleMovement.velX *= U3e.v9n(getConst(325), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-250)), this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.accelY = getConst(700), this.currentState = this.states.FROM_GROUND, this.ball.sprite.y = this.ground);
  5648. else if (U3e.P9n(this.currentState, this.states.FROM_GROUND) && U3e.f9n(this.ball.simpleMovement.velY, 0) && U3e.G9n(this.ball.sprite.y, this.ground)) this.ball.simpleMovement.setValues(0, 0, 0, 0), this.currentState = this.states.IDLE, this.noSuccessDetected(true), this.ball.sprite.y = this.ground;
  5649. }
  5650. };
  5651. GameScene2.prototype.draw = function() {
  5652. MLE.context.imageSmoothingEnabled = U3e.G77;
  5653. this.bg.draw();
  5654. this.monster.draw();
  5655. this.shadow.draw();
  5656. this.ball.draw();
  5657. this.block.draw();
  5658. this.aimArrow.draw();
  5659. this.monsterFront.x = this.monster.group.x + U3e.V3R;
  5660. this.monsterFront.y = U3e.a9n(this.monster.group.y, this.monster.group.pivotY, U3e.B27);
  5661. this.monsterFront.draw();
  5662. this.windCloud.draw();
  5663. this.success.draw();
  5664. this.pauseWindow.draw();
  5665. this.gui.draw();
  5666. this.pauseButton.draw();
  5667. };
  5668. GameScene2.prototype.startGame = function() {};
  5669. GameScene2.prototype.makeShadowTween = function() {
  5670. var X = 0.18,
  5671. V = this.ball.startPosY + U3e.W97,
  5672. Z = this.ground + U3e.i07;
  5673. this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
  5674. this.shadow.y = V;
  5675. createjs.Tween.get(this.shadow).to({
  5676. y: Z,
  5677. alpha: U3e.A27,
  5678. basicScaleX: X,
  5679. basicScaleY: X
  5680. }, U3e.m77, createjs.Ease.quadOut);
  5681. createjs.Tween.get(this.shadow).to({
  5682. heightScale: U3e.s27
  5683. }, U3e.U17, createjs.Ease.sineOut);
  5684. };
  5685. GameScene2.prototype.hideShowFrontMonsters = function(X) {
  5686. this.monsterFront.alpha = X ? U3e.Y3R : U3e.I3R;
  5687. this.monster.body.alpha = X ? U3e.I3R : U3e.Y3R;
  5688. this.block.alpha = this.monsterFront.alpha;
  5689. };
  5690. GameScene2.prototype.noSuccessDetected = function() {
  5691. this.rightBounced = this.leftBounced = false;
  5692. this.ball.bounced = false;
  5693. this.monster.makeHungryAnimation();
  5694. this.gui.zeroPoints();
  5695. if (U3e.w9n(this.ball.sprite.x, MLE.width + 25) || this.ball.sprite.x < -25) createjs.Tween.get(this.ball.sprite).to({
  5696. alpha: 0
  5697. }, 150).call(this.createNewBall, null, this), createjs.Tween.get(this.shadow, {
  5698. override: true
  5699. }).to({
  5700. alpha: 0
  5701. }, 120), U3e.h9n(this.aimArrow.sprite.alpha, 0) && createjs.Tween.get(this.aimArrow.sprite).to({
  5702. alpha: 0
  5703. }, 120);
  5704. else {
  5705. console.log("DUPA!!!");
  5706. var X = U3e.l9n(Math.abs(this.ball.startPosX - this.ball.sprite.x), 6);
  5707. U3e.H2n(X, 300) && (X = 300);
  5708. createjs.Tween.get(this.ball.sprite).wait(200).to({
  5709. x: this.ball.startPosX
  5710. }, X);
  5711. createjs.Tween.get(this.ball.sprite).wait(200).call(function() {
  5712. createjs.Tween.get(this.shadow, {
  5713. override: true
  5714. }).to({
  5715. y: this.ball.startPosY + 65,
  5716. basicScaleX: 0.6,
  5717. basicScaleY: 0.6,
  5718. heightScale: 1
  5719. }, 950 + X, createjs.Ease.sineIn);
  5720. this.ball.rotateBackward();
  5721. }.bind(this)).to({
  5722. y: this.ball.startPosY,
  5723. scaleX: 1,
  5724. scaleY: 1
  5725. }, 950 + X, createjs.Ease.sineIn).call(function() {
  5726. this.ball.startJumping();
  5727. this.ball.rotateForward();
  5728. this.currentState = this.states.IDLE;
  5729. this.aimArrow.resumeRotationTween();
  5730. }.bind(this));
  5731. }
  5732. };
  5733. GameScene2.prototype.createNewBall = function() {
  5734. this.rightBounced = this.leftBounced = U3e.V27;
  5735. this.ball.bounced = U3e.V27;
  5736. this.ball.simpleMovement.setValues(U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R);
  5737. this.ball.sprite.x = this.ball.startPosX;
  5738. this.ball.sprite.y = this.ball.startPosY + U3e.s3R;
  5739. this.ball.sprite.scaleX = this.ball.sprite.scaleY = U3e.Y3R;
  5740. this.ball.sprite.alpha = U3e.M97;
  5741. createjs.Tween.get(this.ball.sprite).wait(U3e.U67).to({
  5742. y: this.ball.startPosY,
  5743. alpha: U3e.Y3R
  5744. }, U3e.O67, createjs.Ease.sineOut).call(function() {
  5745. T0n87[Z87].gameScene.ball.startJumping();
  5746. });
  5747. this.aimArrow.resumeRotationTween();
  5748. this.shadow.x = this.ball.startPosX;
  5749. this.shadow.y = this.ball.startPosY + U3e.J3R;
  5750. this.shadow.centerPivot();
  5751. this.shadow.basicScaleY = this.shadow.basicScaleX = U3e.s27;
  5752. this.shadow.heightScale = U3e.Y3R;
  5753. this.shadow.alpha = U3e.M97;
  5754. createjs.Tween.get(this.shadow).wait(U3e.U67).to({
  5755. y: this.ball.startPosY + U3e.W97,
  5756. alpha: U3e.Y3R
  5757. }, U3e.O67, createjs.Ease.sineOut);
  5758. };
  5759. GameScene2.prototype.sensorTouched = function() {
  5760. this.rightBounced = this.leftBounced = U3e.V27;
  5761. this.ball.bounced = U3e.V27;
  5762. if (this.isEasyLevel && (this.easyLevelCounter += U3e.Y3R, U3e.y2n(this.easyLevelCounter, U3e.V3R) && (this.easyLevel += U3e.Y3R, this.easyLevelCounter = U3e.I3R, U3e.V2n(this.easyLevel, U3e.F3R)))) this.isEasyLevel = U3e.V27;
  5763. this.gui.addPoints(Math.abs(Math.floor(this.windCloud.windNumber + U3e.Y3R)));
  5764. this.generateNewWind();
  5765. this.netAnimation();
  5766. createjs.Tween.get(this.ball.sprite).to({
  5767. x: U3e.t67,
  5768. y: U3e.w97
  5769. }, U3e.U67, createjs.Ease.sineInOut).to({
  5770. y: this.ground
  5771. }, U3e.u57, createjs.Ease.sineIn).to({
  5772. y: U3e.Y2n(this.ground, U3e.L57)
  5773. }, U3e.O67, createjs.Ease.sineOut).to({
  5774. y: this.ground
  5775. }, U3e.O67, createjs.Ease.sineIn).wait(U3e.m4R).call(function() {
  5776. createjs.Tween.get(this.shadow, {
  5777. override: U3e.G77
  5778. }).to({
  5779. y: this.ball.startPosY + U3e.W97,
  5780. basicScaleX: U3e.s27,
  5781. basicScaleY: U3e.s27,
  5782. heightScale: U3e.Y3R
  5783. }, U3e.W57, createjs.Ease.sineIn);
  5784. this.ball.rotateBackward();
  5785. }.bind(this)).to({
  5786. scaleX: U3e.Y3R,
  5787. scaleY: U3e.Y3R,
  5788. x: this.ball.startPosX,
  5789. y: this.ball.startPosY
  5790. }, U3e.W57, createjs.Ease.sineIn).call(function() {
  5791. this.ball.startJumping();
  5792. this.ball.rotateForward();
  5793. this.currentState = this.states.IDLE;
  5794. this.aimArrow.resumeRotationTween();
  5795. }.bind(this));
  5796. };
  5797. GameScene2.prototype.generateNewWind = function() {
  5798. var X = Math.random() + Math.random(),
  5799. V = getConst(U3e.W57),
  5800. X = U3e.F2n(X * V, V);
  5801. if (this.isEasyLevel) {
  5802. var V = U3e.A2n((this.easyLevel + U3e.Y3R), U3e.W57, U3e.F3R),
  5803. X = U3e.u2n(this.easyLevel, U3e.W57, U3e.F3R),
  5804. Z = U3e.W2n(Math.floor(Math.round(Math.random()) * U3e.n3R), U3e.Y3R);
  5805. X += U3e.j2n(Math.random(), (V - X));
  5806. X *= Z;
  5807. }
  5808. this.windCloud.changeWind(MLE.Util.mapValue(X, -getConst(U3e.W57), getConst(U3e.W57), -U3e.F3R, U3e.F3R));
  5809. this.windPower = U3e.U2n(X, MLE.Util.mapValue(Math.abs(X), U3e.I3R, V, U3e.F27, U3e.A27));
  5810. };
  5811. GameScene2.prototype.netAnimation = function() {
  5812. createjs.Tween.get(this.monsterFront).wait(U3e.G27).to({
  5813. scaleY: U3e.k27,
  5814. scaleX: U3e.P67
  5815. }, U3e.U67, createjs.Ease.sineOut).to({
  5816. scaleY: U3e.Y3R,
  5817. scaleX: U3e.Y3R
  5818. }, U3e.U67, createjs.Ease.sineIn);
  5819. createjs.Tween.get(this.monster.body).wait(U3e.m4R).to({
  5820. scaleY: U3e.k27,
  5821. scaleX: U3e.P67
  5822. }, U3e.U67, createjs.Ease.sineOut).to({
  5823. scaleY: U3e.Y3R,
  5824. scaleX: U3e.Y3R
  5825. }, U3e.U67, createjs.Ease.sineIn);
  5826. };
  5827. GameScene2.prototype.pauseClicked = function() {
  5828. U3e.O2n(this.paused, true) ? this.resume() : (this.paused = true, this.aimArrow.setPaused(true), this.pauseWindow.show());
  5829. };
  5830. GameScene2.prototype.resume = function() {
  5831. this.aimArrow.setPaused(U3e.V27);
  5832. createjs.Tween.get(this.pauseButton.group).to({
  5833. alpha: U3e.Y3R
  5834. }, U3e.O67).wait(U3e.z57).call(function() {
  5835. this.paused = false;
  5836. }.bind(this));
  5837. };
  5838. GameScene3.prototype.init = function() {
  5839. var X = 377;
  5840. this.bg = new MLE.Sprite(U3e.E77, U3e.I3R, U3e.I3R);
  5841. this.windCloud = new WindCloud;
  5842. this.windCloud.group.x = U3e.I3R;
  5843. this.windCloud.group.y = getConst(U3e.L3R);
  5844. this.aimArrow = new AimArrow;
  5845. this.aimArrow.sprite.alpha = U3e.I3R;
  5846. this.ball = new Ball3;
  5847. this.pauseButton = new MenuButton(U3e.j07);
  5848. this.pauseButton.group.x = U3e.H6n(MLE.width, 2);
  5849. this.pauseButton.group.y = U3e.f97;
  5850. this.pauseButton.clickCallback = this.pauseClicked.bind(this);
  5851. this.monsterFront = new MLE.Sprite(U3e.K07, U3e.V3R, -U3e.c07);
  5852. this.monsterFront.setPivotPercent(U3e.M97, U3e.I3R);
  5853. this.monster = new Monster3;
  5854. this.monster.setPositionXY(U3e.y6n(MLE.width, 2), U3e.V6n(MLE.height, 2) + getConst(315));
  5855. this.shadow = new MLE.Sprite(U3e.M3R, this.ball.startPosX, this.ball.startPosY + U3e.c07);
  5856. this.shadow.centerPivot();
  5857. this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
  5858. this.shadow.heightScale = U3e.Y3R;
  5859. this.shadowBefX = this.shadow.x;
  5860. this.shadowBefY = this.shadow.y;
  5861. this.gui = new GUI(U3e.V3R);
  5862. this.gui.alpha = U3e.Y3R;
  5863. this.aimArrow.rotationTween.setPosition(U3e.X67);
  5864. this.isEasyLevel = U3e.V27;
  5865. this.easyLevelCounter = this.easyLevel = U3e.I3R;
  5866. if (U3e.Y6n(this.gui.bestNumber, U3e.C07)) this.isEasyLevel = U3e.G77;
  5867. this.createNewBall();
  5868. this.pauseWindow = new PauseWindow;
  5869. this.paused = false;
  5870. this.success = new SuccessAnim;
  5871. this.lineLeft = new MLE.LineCollision(-U3e.y77, U3e.b17, -U3e.Q27, U3e.z57);
  5872. this.lineRight = new MLE.LineCollision(U3e.y77, U3e.b17, U3e.Q27, U3e.z57);
  5873. this.rightBounced = this.leftBounced = U3e.V27;
  5874. this.trash = new MLE.Sprite(U3e.t57, U3e.I3R, X);
  5875. };
  5876. GameScene3.prototype.update = function() {
  5877. this.pauseWindow.update();
  5878. if (!this.paused) {
  5879. this.windCloud.update();
  5880. this.monster.update();
  5881. this.gui.update();
  5882. this.ball.update();
  5883. this.success.update();
  5884. this.pauseButton.update();
  5885. var X = !this.pauseButton.isDown() && MLE.mouse.pressed && U3e.F6n(this.ball.sprite.x, this.ball.startPosX) && U3e.A6n(this.ball.sprite.y, this.ball.startPosY) && U3e.k6n(this.aimArrow.sprite.alpha, 0.75);
  5886. this.shadow.x = this.ball.sprite.x;
  5887. this.shadow.scaleX = U3e.J6n(this.shadow.basicScaleX, this.shadow.heightScale);
  5888. this.shadow.scaleY = U3e.N6n(this.shadow.basicScaleY, this.shadow.heightScale);
  5889. if (U3e.v6n(this.lineLeft.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.P6n(this.leftBounced, false)) {
  5890. this.ball.sprite.x = this.shadow.x = this.ball.befX + 4;
  5891. this.ball.simpleMovement.velX = this.ball.simpleMovement.velY * -1.75;
  5892. this.ball.simpleMovement.accelX = 0;
  5893. if (U3e.f6n(this.ball.simpleMovement.velX, 175)) this.ball.simpleMovement.velX = 175;
  5894. else if (U3e.G6n(this.ball.simpleMovement.velX, 225)) this.ball.simpleMovement.velX = 225;
  5895. this.leftBounced = true;
  5896. this.ball.bounced = true;
  5897. }
  5898. if (U3e.a6n(this.lineRight.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.o6n(this.rightBounced, false)) {
  5899. this.ball.sprite.x = this.shadow.x = U3e.d6n(this.ball.befX, 4);
  5900. this.ball.simpleMovement.velX = U3e.M6n(this.ball.simpleMovement.velY, 1.75);
  5901. if (this.ball.simpleMovement.velX > -175) this.ball.simpleMovement.velX = -175;
  5902. else if (this.ball.simpleMovement.velX < -225) this.ball.simpleMovement.velX = -225;
  5903. this.ball.simpleMovement.accelX = 0;
  5904. this.rightBounced = true;
  5905. this.ball.bounced = true;
  5906. }
  5907. this.shadowBefX = this.shadow.x;
  5908. this.shadowBefY = this.shadow.y;
  5909. this.aimArrow.update();
  5910. if (X && U3e.e8n(this.currentState, this.states.IDLE)) this.currentState = this.states.AIMING;
  5911. else if (X && U3e.R8n(this.currentState, this.states.AIMING)) this.ball.makeShoot(this.aimArrow.shotDirectionX, this.aimArrow.shotDirectionY, this.aimArrow.shootAngle), this.makeShadowTween(), this.currentState = this.states.BEFORE_WIND, this.aimArrow.stopRotationTween();
  5912. else if (U3e.z8n(this.currentState, this.states.IN_AIR_UP) && U3e.Z8n(this.ball.simpleMovement.velY, 0)) this.currentState = this.states.IN_AIR, this.ball.startWind(), createjs.Tween.get(this.shadow).to({
  5913. heightScale: 1
  5914. }, 750, createjs.Ease.sineIn), this.hideShowFrontMonsters(true);
  5915. else if (U3e.S8n(this.currentState, this.states.IN_AIR) || U3e.E8n(this.currentState, this.states.FROM_WALL) || U3e.s8n(this.currentState, this.states.FROM_GROUND)) {
  5916. for (var X = this.monster.circleCollisions, V = this.ball.circleCollision, Z = true, Y = 0; U3e.t8n(Y, X.length) && Z; Y++)
  5917. if (U3e.W8n(X[Y].checkAgainstWithPosCorrection(V, this.ball.befX, this.ball.befY), null)) {
  5918. Z = false;
  5919. if (U3e.j8n(Y, 2) && U3e.U8n(this.ball.sprite.y, X[Y].y + X[Y].sprite.y - 10))
  5920. if (this.ball.simpleMovement.velX = U3e.O8n(Y, 1) ? 15 : -15, this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.velY = -this.ball.simpleMovement.velY, this.ball.simpleMovement.accelY = getConst(650), this.ball.simpleMovement.velY < -200 && U3e.C8n(this.currentState, this.states.FROM_WALL)) this.ball.simpleMovement.velY = -200;
  5921. else {
  5922. if (this.ball.simpleMovement.velY < -125) this.ball.simpleMovement.velY = -125;
  5923. } else this.ball.simpleMovement.velX = U3e.K8n(this.ball.sprite.x, X[Y].x + X[Y].sprite.x) ? 60 : -60, this.ball.simpleMovement.accelX = 0;
  5924. this.currentState = this.states.FROM_WALL;
  5925. }
  5926. if (U3e.B8n(this.monster.pointDetector.checkAgainstWithShift(this.ball.circleCollision, this.ball.befX, this.ball.befY), null)) {
  5927. this.ball.simpleMovement.velX = 0;
  5928. this.ball.simpleMovement.accelX = 0;
  5929. this.ball.simpleMovement.velY = 0;
  5930. this.ball.simpleMovement.accelY = 0;
  5931. this.sensorTouched();
  5932. this.currentState = this.states.BALL_BACK;
  5933. return;
  5934. }
  5935. if (U3e.g8n(this.ball.sprite.x, MLE.width + getConst(80)) || this.ball.sprite.y < getConst(-80)) {
  5936. this.noSuccessDetected();
  5937. this.currentState = this.states.IDLE;
  5938. return;
  5939. }
  5940. }
  5941. if ((U3e.m8n(this.currentState, this.states.IN_AIR) || U3e.x4n(this.currentState, this.states.FROM_WALL)) && U3e.X4n(this.ball.simpleMovement.velY, 0) && U3e.c4n(this.ball.sprite.y, this.ground)) U3e.n4n(this.ball.sprite.x, 800) || this.ball.sprite.x < -160 ? (this.noSuccessDetected(), this.currentState = this.states.IDLE) : (U3e.I4n(this.currentState, this.states.FROM_WALL) ? (this.ball.simpleMovement.velX *= U3e.p4n(getConst(125), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-125)) : (this.ball.simpleMovement.velX *= U3e.i4n(getConst(300), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-225)), this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.accelY = getConst(650), this.currentState = this.states.FROM_GROUND, this.ball.sprite.y = this.ground);
  5942. else if (U3e.u4n(this.currentState, this.states.FROM_GROUND) && U3e.T4n(this.ball.simpleMovement.velY, 0) && U3e.Q4n(this.ball.sprite.y, this.ground)) this.ball.simpleMovement.setValues(0, 0, 0, 0), this.currentState = this.states.IDLE, this.noSuccessDetected(true), this.ball.sprite.y = this.ground;
  5943. }
  5944. };
  5945. GameScene3.prototype.draw = function() {
  5946. MLE.context.imageSmoothingEnabled = U3e.G77;
  5947. this.bg.draw();
  5948. this.monster.draw();
  5949. this.shadow.draw();
  5950. this.ball.draw();
  5951. this.aimArrow.draw();
  5952. this.monsterFront.x = this.monster.group.x + U3e.I3R;
  5953. this.monsterFront.y = U3e.r4n(this.monster.group.y, this.monster.group.pivotY, U3e.f57);
  5954. this.monsterFront.draw();
  5955. this.trash.draw();
  5956. this.windCloud.draw();
  5957. this.success.draw();
  5958. this.pauseWindow.draw();
  5959. this.gui.draw();
  5960. this.pauseButton.draw();
  5961. };
  5962. GameScene3.prototype.startGame = function() {};
  5963. GameScene3.prototype.makeShadowTween = function() {
  5964. var X = ((0x17D, 67.) < 94.7E1 ? (0x1B4, 0.12) : (0x46, 0x1B) >= 41 ? (0x239, 14.450E2) : (0x18, 32.)),
  5965. V = this.ball.startPosY + U3e.W97,
  5966. Z = this.ground + U3e.N07;
  5967. this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
  5968. this.shadow.y = V;
  5969. createjs.Tween.get(this.shadow).to({
  5970. y: Z,
  5971. alpha: U3e.A27,
  5972. basicScaleX: X,
  5973. basicScaleY: X
  5974. }, U3e.m77, createjs.Ease.quadOut);
  5975. createjs.Tween.get(this.shadow).to({
  5976. heightScale: U3e.s27
  5977. }, U3e.U17, createjs.Ease.sineOut);
  5978. };
  5979. GameScene3.prototype.hideShowFrontMonsters = function(X) {
  5980. this.monsterFront.alpha = X ? U3e.Y3R : U3e.I3R;
  5981. this.monster.body.alpha = X ? U3e.I3R : U3e.Y3R;
  5982. this.trash.alpha = this.monsterFront.alpha;
  5983. };
  5984. GameScene3.prototype.noSuccessDetected = function() {
  5985. this.rightBounced = this.leftBounced = false;
  5986. this.ball.bounced = false;
  5987. this.monster.makeHungryAnimation();
  5988. this.gui.zeroPoints();
  5989. if (U3e.O4n(this.ball.sprite.x, MLE.width + 25) || this.ball.sprite.x < -25) createjs.Tween.get(this.ball.sprite).to({
  5990. alpha: 0
  5991. }, 150).call(this.createNewBall, null, this), createjs.Tween.get(this.shadow, {
  5992. override: true
  5993. }).to({
  5994. alpha: 0
  5995. }, 120), U3e.C4n(this.aimArrow.sprite.alpha, 0) && createjs.Tween.get(this.aimArrow.sprite).to({
  5996. alpha: 0
  5997. }, 120);
  5998. else {
  5999. console.log("DUPA!!!");
  6000. var X = U3e.K4n(Math.abs(this.ball.startPosX - this.ball.sprite.x), 6);
  6001. U3e.B4n(X, 300) && (X = 300);
  6002. createjs.Tween.get(this.ball.sprite).wait(200).to({
  6003. x: this.ball.startPosX
  6004. }, X);
  6005. createjs.Tween.get(this.ball.sprite).wait(200).call(function() {
  6006. createjs.Tween.get(this.shadow, {
  6007. override: true
  6008. }).to({
  6009. y: this.ball.startPosY + 65,
  6010. basicScaleX: 0.6,
  6011. basicScaleY: 0.6,
  6012. heightScale: 1
  6013. }, 950 + X, createjs.Ease.sineIn);
  6014. this.ball.rotateBackward();
  6015. }.bind(this)).to({
  6016. y: this.ball.startPosY,
  6017. scaleX: 1,
  6018. scaleY: 1
  6019. }, 950 + X, createjs.Ease.sineIn).call(function() {
  6020. this.ball.startJumping();
  6021. this.ball.rotateForward();
  6022. this.currentState = this.states.IDLE;
  6023. this.aimArrow.resumeRotationTween();
  6024. }.bind(this));
  6025. }
  6026. };
  6027. GameScene3.prototype.createNewBall = function() {
  6028. this.rightBounced = this.leftBounced = U3e.V27;
  6029. this.ball.bounced = U3e.V27;
  6030. this.ball.simpleMovement.setValues(U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R);
  6031. this.ball.sprite.x = this.ball.startPosX;
  6032. this.ball.sprite.y = this.ball.startPosY + U3e.s3R;
  6033. this.ball.sprite.scaleX = this.ball.sprite.scaleY = U3e.Y3R;
  6034. this.ball.sprite.alpha = U3e.M97;
  6035. createjs.Tween.get(this.ball.sprite).wait(U3e.U67).to({
  6036. y: this.ball.startPosY,
  6037. alpha: U3e.Y3R
  6038. }, U3e.O67, createjs.Ease.sineOut).call(function() {
  6039. T0n87[Z87].gameScene.ball.startJumping();
  6040. });
  6041. this.aimArrow.resumeRotationTween();
  6042. this.shadow.x = this.ball.startPosX;
  6043. this.shadow.y = this.ball.startPosY + U3e.J3R;
  6044. this.shadow.centerPivot();
  6045. this.shadow.basicScaleY = this.shadow.basicScaleX = U3e.s27;
  6046. this.shadow.heightScale = U3e.Y3R;
  6047. this.shadow.alpha = U3e.M97;
  6048. createjs.Tween.get(this.shadow).wait(U3e.U67).to({
  6049. y: this.ball.startPosY + U3e.W97,
  6050. alpha: U3e.Y3R
  6051. }, U3e.O67, createjs.Ease.sineOut);
  6052. };
  6053. GameScene3.prototype.sensorTouched = function() {
  6054. var X = 385;
  6055. this.rightBounced = this.leftBounced = U3e.V27;
  6056. this.ball.bounced = U3e.V27;
  6057. if (this.isEasyLevel && (this.easyLevelCounter += U3e.Y3R, U3e.g4n(this.easyLevelCounter, U3e.V3R) && (this.easyLevel += U3e.Y3R, this.easyLevelCounter = U3e.I3R, U3e.m4n(this.easyLevel, U3e.F3R)))) this.isEasyLevel = U3e.V27;
  6058. this.gui.addPoints(Math.abs(Math.floor(this.windCloud.windNumber + U3e.Y3R)));
  6059. this.generateNewWind();
  6060. this.netAnimation();
  6061. createjs.Tween.get(this.ball.sprite).to({
  6062. x: U3e.t67,
  6063. y: X
  6064. }, U3e.U67, createjs.Ease.sineInOut).to({
  6065. y: this.ground
  6066. }, U3e.u57, createjs.Ease.sineIn).to({
  6067. y: U3e.x3n(this.ground, U3e.x07)
  6068. }, U3e.O67, createjs.Ease.sineOut).to({
  6069. y: this.ground
  6070. }, U3e.O67, createjs.Ease.sineIn).wait(U3e.m4R).call(function() {
  6071. createjs.Tween.get(this.shadow, {
  6072. override: U3e.G77
  6073. }).to({
  6074. y: this.ball.startPosY + U3e.W97,
  6075. basicScaleX: U3e.s27,
  6076. basicScaleY: U3e.s27,
  6077. heightScale: U3e.Y3R
  6078. }, U3e.W57, createjs.Ease.sineIn);
  6079. this.ball.rotateBackward();
  6080. }.bind(this)).to({
  6081. scaleX: U3e.Y3R,
  6082. scaleY: U3e.Y3R,
  6083. x: this.ball.startPosX,
  6084. y: this.ball.startPosY
  6085. }, U3e.W57, createjs.Ease.sineIn).call(function() {
  6086. this.ball.startJumping();
  6087. this.ball.rotateForward();
  6088. this.currentState = this.states.IDLE;
  6089. this.aimArrow.resumeRotationTween();
  6090. this.hideShowFrontMonsters(U3e.V27);
  6091. }.bind(this));
  6092. };
  6093. GameScene3.prototype.generateNewWind = function() {
  6094. var X = Math.random() + Math.random(),
  6095. V = getConst(U3e.W57),
  6096. X = U3e.X3n(X * V, V);
  6097. if (this.isEasyLevel) {
  6098. var V = U3e.c3n((this.easyLevel + U3e.Y3R), U3e.W57, U3e.F3R),
  6099. X = U3e.Z3n(this.easyLevel, U3e.W57, U3e.F3R),
  6100. Z = U3e.F3n(Math.floor(Math.round(Math.random()) * U3e.n3R), U3e.Y3R);
  6101. X += U3e.A3n(Math.random(), (V - X));
  6102. X *= Z;
  6103. }
  6104. this.windCloud.changeWind(MLE.Util.mapValue(X, -getConst(U3e.W57), getConst(U3e.W57), -U3e.F3R, U3e.F3R));
  6105. this.windPower = U3e.k3n(X, MLE.Util.mapValue(Math.abs(X), U3e.I3R, V, U3e.F27, U3e.A27));
  6106. };
  6107. GameScene3.prototype.netAnimation = function() {
  6108. createjs.Tween.get(this.monsterFront).wait(U3e.G27).to({
  6109. scaleY: U3e.k27,
  6110. scaleX: U3e.P67
  6111. }, U3e.U67, createjs.Ease.sineOut).to({
  6112. scaleY: U3e.Y3R,
  6113. scaleX: U3e.Y3R
  6114. }, U3e.U67, createjs.Ease.sineIn);
  6115. createjs.Tween.get(this.monster.body).wait(U3e.m4R).to({
  6116. scaleY: U3e.k27,
  6117. scaleX: U3e.P67
  6118. }, U3e.U67, createjs.Ease.sineOut).to({
  6119. scaleY: U3e.Y3R,
  6120. scaleX: U3e.Y3R
  6121. }, U3e.U67, createjs.Ease.sineIn);
  6122. };
  6123. GameScene3.prototype.pauseClicked = function() {
  6124. U3e.J3n(this.paused, true) ? this.resume() : (this.paused = true, this.aimArrow.setPaused(true), this.pauseWindow.show());
  6125. };
  6126. GameScene3.prototype.resume = function() {
  6127. this.aimArrow.setPaused(U3e.V27);
  6128. createjs.Tween.get(this.pauseButton.group).to({
  6129. alpha: U3e.Y3R
  6130. }, U3e.O67).wait(U3e.z57).call(function() {
  6131. this.paused = false;
  6132. }.bind(this));
  6133. };
  6134. WindCloud.prototype.init = function() {
  6135. var X = 85,
  6136. V = 27,
  6137. Z = "2.5";
  6138. this.group = new MLE.Group;
  6139. this.windCloud = new MLE.Sprite(U3e.s57, U3e.W97, U3e.q97);
  6140. this.windCloud.centerPivot();
  6141. this.group.addChild(this.windCloud);
  6142. this.windFont = new MLE.TextSprite;
  6143. this.windFont.text = Z;
  6144. this.windFont.size = V;
  6145. this.windFont.x += getConst(U3e.L57);
  6146. this.numberPin = new MLE.Pin(this.windFont, this.group, U3e.N97, X);
  6147. this.windNumber = U3e.K17;
  6148. this.tween = {};
  6149. };
  6150. WindCloud.prototype.update = function() {
  6151. var X = ".0";
  6152. this.windNumber = U3e.N3n(Math.round(this.windNumber * U3e.C07), U3e.C07);
  6153. this.windFont.text = U3e.o4R + this.windNumber;
  6154. U3e.v3n(this.windNumber % U3e.Y3R, U3e.I3R) && (this.windFont.text += X);
  6155. this.numberPin.update();
  6156. };
  6157. WindCloud.prototype.draw = function() {
  6158. this.group.draw();
  6159. this.windFont.draw();
  6160. };
  6161. WindCloud.prototype.changeWind = function(X) {
  6162. var V = ((145, 13.92E2) > (9.92E2, 9.46E2) ? (64, 5.9) : 66. >= (13.3E1, 75.) ? 96. : (0x1CE, 0x60) < 41. ? 2.625 : (6., 9.60E1));
  6163. X = U3e.P3n(Math.round(X * U3e.C07), U3e.C07);
  6164. U3e.f3n(X, U3e.I3R) && (X = U3e.c27);
  6165. U3e.G3n(X, V) && (X = V);
  6166. X < -V && (X = -V);
  6167. if (U3e.a3n(this.group.scaleX / X, U3e.I3R)) this.tween = createjs.Tween.get(this).to({
  6168. windNumber: Math.abs(X)
  6169. }, U3e.u57, createjs.Ease.sineInOut);
  6170. else {
  6171. var Z = this.group.scaleX,
  6172. Y;
  6173. Y = U3e.o3n(Z, 1) ? [getConst(-100), MLE.width + getConst(100), MLE.width] : [MLE.width + getConst(100), getConst(-100), 0];
  6174. this.tween = createjs.Tween.get(this.group).to({
  6175. x: Y[U3e.I3R]
  6176. }, U3e.k3R).to({
  6177. x: Y[U3e.Y3R],
  6178. scaleX: Z * -U3e.Y3R
  6179. }).call(function() {
  6180. this.windNumber = Math.abs(X);
  6181. this.numberPin.offsetX = Z * -U3e.N97;
  6182. }.bind(this)).to({
  6183. x: Y[U3e.n3R]
  6184. }, U3e.k3R, createjs.Ease.sineInOut);
  6185. }
  6186. };
  6187. WindCloud.prototype.setPaused = function(X) {
  6188. this.tween._paused = X;
  6189. };
  6190. Monster.prototype.init = function() {
  6191. this.group = new MLE.Group;
  6192. this.shadow = new MLE.Sprite("shadow", -1, -1);
  6193. this.shadow.centerPivot();
  6194. this.shadow.alpha = 0;
  6195. this.body = new MLE.Sprite("goal", 0, -30);
  6196. this.body.setPivotPercent(0.5, 0);
  6197. this.group.addChild(this.body);
  6198. this.group.pivotY = getConst(390);
  6199. this.baseY = this.baseX = 0;
  6200. this.circleCollisions = [];
  6201. for (var X = [{
  6202. x: 38,
  6203. y: -324,
  6204. r: 2
  6205. }, {
  6206. x: -38,
  6207. y: -324,
  6208. r: 2
  6209. }], V = 0; U3e.d3n(V, X.length); V++) {
  6210. var Z = X[V],
  6211. Z = new MLE.CircleCollision(this.shadow, getConst(Z.x), getConst(Z.y), getConst(Z.r));
  6212. this.circleCollisions.push(Z);
  6213. Z.realX = Z.x;
  6214. }
  6215. this.pointDetector = new MLE.CircleCollision(this.shadow, 0, getConst(-300), 4);
  6216. };
  6217. Monster.prototype.update = function() {};
  6218. Monster.prototype.draw = function() {
  6219. this.shadow.draw();
  6220. this.group.draw();
  6221. for (var X = 0; U3e.M3n(X, this.circleCollisions.length); X++) this.circleCollisions[X].drawDebug();
  6222. this.pointDetector.drawDebug();
  6223. };
  6224. Monster.prototype.setPositionXY = function(X, V) {
  6225. var Z = 135;
  6226. this.baseX = X;
  6227. this.baseY = V;
  6228. this.shadow.x = X;
  6229. this.shadow.y = U3e.e1R(V, getConst(U3e.b27));
  6230. T0n87[Z87].gameScene.ground = U3e.R1R(this.shadow.y, getConst(Z));
  6231. this.group.x = X;
  6232. this.group.y = V;
  6233. };
  6234. Monster.prototype.setScaleX = function(X) {
  6235. this.group.scaleX = X;
  6236. this.shadow.scaleX = this.shadow.scaleY = X;
  6237. T0n87[Z87].gameScene.monsterFront.scaleX = X;
  6238. for (var V = 0; U3e.z1R(V, this.circleCollisions.length); V++) this.circleCollisions[V].x = U3e.Z1R(this.circleCollisions[V].realX, X);
  6239. };
  6240. Monster.prototype.makeHappyJump = function() {};
  6241. Monster.prototype.makeHungryAnimation = function() {};
  6242. Monster2.prototype.init = function() {
  6243. this.group = new MLE.Group;
  6244. this.shadow = new MLE.Sprite("shadow", -1, -1);
  6245. this.shadow.centerPivot();
  6246. this.shadow.alpha = 0;
  6247. this.body = new MLE.Sprite("goal2", 3, -92);
  6248. this.body.setPivotPercent(0.5, 0);
  6249. this.group.addChild(this.body);
  6250. this.group.pivotY = getConst(390);
  6251. this.baseY = this.baseX = 0;
  6252. this.circleCollisions = [];
  6253. for (var X = [{
  6254. x: 30,
  6255. y: -394,
  6256. r: 2
  6257. }, {
  6258. x: -26,
  6259. y: -394,
  6260. r: 2
  6261. }], V = 0; U3e.S1R(V, X.length); V++) {
  6262. var Z = X[V],
  6263. Z = new MLE.CircleCollision(this.shadow, getConst(Z.x), getConst(Z.y), getConst(Z.r));
  6264. this.circleCollisions.push(Z);
  6265. Z.realX = Z.x;
  6266. }
  6267. this.pointDetector = new MLE.CircleCollision(this.shadow, 3, getConst(-380), 4);
  6268. };
  6269. Monster2.prototype.update = function() {};
  6270. Monster2.prototype.draw = function() {
  6271. this.shadow.draw();
  6272. this.group.draw();
  6273. for (var X = 0; U3e.E1R(X, this.circleCollisions.length); X++) this.circleCollisions[X].drawDebug();
  6274. this.pointDetector.drawDebug();
  6275. };
  6276. Monster2.prototype.setPositionXY = function(X, V) {
  6277. var Z = ((132.3E1, 9.66E2) <= (145., 146) ? (0x14A, 10001) : 119 <= (0x106, 13.14E2) ? (0x1F8, 165) : (77.0E1, 0x21A));
  6278. this.baseX = X;
  6279. this.baseY = V;
  6280. this.shadow.x = X;
  6281. this.shadow.y = U3e.s1R(V, getConst(U3e.b27));
  6282. T0n87[Z87].gameScene.ground = U3e.t1R(this.shadow.y, Z);
  6283. this.group.x = X;
  6284. this.group.y = V;
  6285. };
  6286. Monster2.prototype.setScaleX = function(X) {
  6287. this.group.scaleX = X;
  6288. this.shadow.scaleX = this.shadow.scaleY = X;
  6289. T0n87[Z87].gameScene.monsterFront.scaleX = X;
  6290. for (var V = 0; U3e.W1R(V, this.circleCollisions.length); V++) this.circleCollisions[V].x = U3e.j1R(this.circleCollisions[V].realX, X);
  6291. };
  6292. Monster2.prototype.makeHappyJump = function() {};
  6293. Monster2.prototype.makeHungryAnimation = function() {};
  6294. Monster3.prototype.init = function() {
  6295. this.group = new MLE.Group;
  6296. this.shadow = new MLE.Sprite("shadow", -1, -1);
  6297. this.shadow.centerPivot();
  6298. this.shadow.alpha = 0;
  6299. this.body = new MLE.Sprite("goal3", 0, 36);
  6300. this.body.setPivotPercent(0.5, 0);
  6301. this.group.addChild(this.body);
  6302. this.group.pivotY = getConst(390);
  6303. this.baseY = this.baseX = 0;
  6304. this.circleCollisions = [];
  6305. for (var X = [{
  6306. x: 17,
  6307. y: -250,
  6308. r: 2
  6309. }, {
  6310. x: -18,
  6311. y: -250,
  6312. r: 2
  6313. }], V = 0; U3e.U1R(V, X.length); V++) {
  6314. var Z = X[V],
  6315. Z = new MLE.CircleCollision(this.shadow, getConst(Z.x), getConst(Z.y), getConst(Z.r));
  6316. this.circleCollisions.push(Z);
  6317. Z.realX = Z.x;
  6318. }
  6319. this.pointDetector = new MLE.CircleCollision(this.shadow, 0, getConst(-240), 4);
  6320. };
  6321. Monster3.prototype.update = function() {};
  6322. Monster3.prototype.draw = function() {
  6323. this.shadow.draw();
  6324. this.group.draw();
  6325. for (var X = 0; U3e.O1R(X, this.circleCollisions.length); X++) this.circleCollisions[X].drawDebug();
  6326. this.pointDetector.drawDebug();
  6327. };
  6328. Monster3.prototype.setPositionXY = function(X, V) {
  6329. var Z = 138;
  6330. this.baseX = X;
  6331. this.baseY = V;
  6332. this.shadow.x = X;
  6333. this.shadow.y = U3e.C1R(V, getConst(U3e.b27));
  6334. T0n87[Z87].gameScene.ground = U3e.K1R(this.shadow.y, Z);
  6335. this.group.x = X;
  6336. this.group.y = V;
  6337. };
  6338. Monster3.prototype.setScaleX = function(X) {
  6339. this.group.scaleX = X;
  6340. this.shadow.scaleX = this.shadow.scaleY = X;
  6341. T0n87[Z87].gameScene.monsterFront.scaleX = X;
  6342. for (var V = 0; U3e.B1R(V, this.circleCollisions.length); V++) this.circleCollisions[V].x = U3e.g1R(this.circleCollisions[V].realX, X);
  6343. };
  6344. Monster3.prototype.makeHappyJump = function() {};
  6345. Monster3.prototype.makeHungryAnimation = function() {};
  6346. Ball.prototype.init = function() {
  6347. var X = 0.4;
  6348. this.startPosX = U3e.m1R(MLE.width, 2);
  6349. this.startPosY = U3e.x7R(MLE.height, 90);
  6350. this.minScale = X;
  6351. this.bounced = U3e.V27;
  6352. this.sprite = new MLE.Sprite(U3e.L77, this.startPosX, this.startPosY);
  6353. this.sprite.centerPivot();
  6354. this.imageAnim = new MLE.ImageAnim(this.sprite);
  6355. this.imageAnim.addAnim(U3e.X97, [U3e.L77], U3e.v07);
  6356. this.imageAnim.addAnim(U3e.h77, U3e.l4R.split(U3e.j3R), U3e.N07);
  6357. this.imageAnim.addAnim(U3e.v77, U3e.Z07.split(U3e.j3R), U3e.N07);
  6358. this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
  6359. this.simpleMovement = new MLE.SimpleMovement(this.sprite);
  6360. this.circleCollision = new MLE.CircleCollision(this.sprite, U3e.I3R, U3e.I3R, U3e.N97);
  6361. this.rotationSpeed = U3e.I3R;
  6362. this.originalPivotY = this.sprite.pivotY;
  6363. };
  6364. Ball.prototype.update = function() {
  6365. this.imageAnim.update();
  6366. this.befX = this.sprite.x;
  6367. this.befY = this.sprite.y;
  6368. this.simpleMovement.update();
  6369. this.sprite.angle += U3e.X7R(this.rotationSpeed, MLE.tick, U3e.W57);
  6370. if (U3e.z7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND) && U3e.Z7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.FROM_WALL)) {
  6371. var X = U3e.S7R(this.sprite.y, this.simpleMovement.velY * this.simpleMovement.velY / this.simpleMovement.accelY / U3e.n3R);
  6372. if (U3e.E7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR_UP) || U3e.s7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND)) X = U3e.t7R((this.sprite.y - X), (this.startPosY - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.W7R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), U3e.Y3R);
  6373. else if (U3e.j7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR)) X = U3e.U7R((this.sprite.y - X), (T0n87[Z87].gameScene.ground - getConst(U3e.H3R) - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.O7R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), this.minScale);
  6374. if (U3e.C7R(this.sprite.scaleX, this.minScale)) this.sprite.scaleX = this.sprite.scaleY = this.minScale;
  6375. this.circleCollision.r = U3e.K7R(U3e.N97, this.sprite.scaleX);
  6376. }
  6377. };
  6378. Ball.prototype.draw = function() {
  6379. this.sprite.draw();
  6380. this.circleCollision.drawDebug();
  6381. };
  6382. Ball.prototype.makeShoot = function(Y, I, u) {
  6383. var k = ((130, 14.15E2) >= (0x20A, 55.) ? (23, 0.78) : (0x236, 64));
  6384. createjs.Tween.removeTweens(this.sprite);
  6385. createjs.Tween.removeTweens(T0n87[Z87].gameScene.shadow);
  6386. createjs.Tween.get(this.sprite).to({
  6387. x: this.sprite.x + U3e.B7R(U3e.n3R, Y),
  6388. y: this.sprite.y + U3e.g7R(U3e.n3R, I),
  6389. pivotY: this.originalPivotY,
  6390. scaleX: k,
  6391. scaleY: k
  6392. }, U3e.D3R).call(function() {
  6393. u = MLE.Util.toDeg(u);
  6394. var X = getConst(-U3e.W57),
  6395. V = getConst(U3e.j57),
  6396. Z = U3e.m7R(X, I, Y);
  6397. this.simpleMovement.setValues(Z, X, U3e.e5R(Z, X, V, U3e.n3R), V);
  6398. T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.IN_AIR_UP;
  6399. }.bind(this));
  6400. };
  6401. Ball.prototype.startJumping = function() {
  6402. var X = this.originalPivotY;
  6403. createjs.Tween.get(this.sprite, {
  6404. loop: U3e.G77
  6405. }).to({
  6406. pivotY: X + U3e.E97
  6407. }, U3e.O67, createjs.Ease.sineOut).to({
  6408. pivotY: X
  6409. }, U3e.O67, createjs.Ease.sineIn);
  6410. createjs.Tween.get(T0n87[Z87].gameScene.shadow, {
  6411. loop: U3e.G77
  6412. }).to({
  6413. heightScale: U3e.A27
  6414. }, U3e.O67, createjs.Ease.sineOut).to({
  6415. heightScale: U3e.Y3R
  6416. }, U3e.O67, createjs.Ease.sineIn);
  6417. };
  6418. Ball.prototype.startWind = function() {
  6419. var X = 1.8;
  6420. if (!this.bounced) U3e.c5R(this.simpleMovement.velX / gameScene.windPower, U3e.I3R) ? (this.simpleMovement.velX = U3e.I3R, this.simpleMovement.accelX = U3e.n5R(T0n87[Z87].gameScene.windPower, X)) : this.simpleMovement.accelX = U3e.I5R(T0n87[Z87].gameScene.windPower, U3e.d57), this.simpleMovement.accelY /= U3e.R27;
  6421. };
  6422. Ball.prototype.rotateForward = function() {
  6423. this.imageAnim.isPlaying(U3e.v77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
  6424. };
  6425. Ball.prototype.rotateBackward = function() {
  6426. this.imageAnim.isPlaying(U3e.h77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.h77);
  6427. };
  6428. Ball2.prototype.init = function() {
  6429. var X = 0.28;
  6430. this.startPosX = U3e.p5R(MLE.width, 2);
  6431. this.startPosY = U3e.i5R(MLE.height, 90);
  6432. this.minScale = X;
  6433. this.bounced = U3e.V27;
  6434. this.sprite = new MLE.Sprite(U3e.L77, this.startPosX, this.startPosY);
  6435. this.sprite.centerPivot();
  6436. this.imageAnim = new MLE.ImageAnim(this.sprite);
  6437. this.imageAnim.addAnim(U3e.X97, [U3e.L77], U3e.v07);
  6438. this.imageAnim.addAnim(U3e.h77, U3e.l4R.split(U3e.j3R), U3e.N07);
  6439. this.imageAnim.addAnim(U3e.v77, U3e.Z07.split(U3e.j3R), U3e.N07);
  6440. this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
  6441. this.simpleMovement = new MLE.SimpleMovement(this.sprite);
  6442. this.circleCollision = new MLE.CircleCollision(this.sprite, U3e.I3R, U3e.I3R, U3e.N97);
  6443. this.rotationSpeed = U3e.I3R;
  6444. this.originalPivotY = this.sprite.pivotY;
  6445. };
  6446. Ball2.prototype.update = function() {
  6447. var X = 1.2;
  6448. this.imageAnim.update();
  6449. this.befX = this.sprite.x;
  6450. this.befY = this.sprite.y;
  6451. this.simpleMovement.update();
  6452. this.sprite.angle += U3e.u5R(this.rotationSpeed, MLE.tick, U3e.W57);
  6453. if (U3e.W5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND) && U3e.j5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.FROM_WALL)) {
  6454. var V = U3e.U5R(this.sprite.y, this.simpleMovement.velY * this.simpleMovement.velY / this.simpleMovement.accelY / U3e.n3R);
  6455. if (U3e.O5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR_UP) || U3e.C5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND)) V = U3e.K5R((this.sprite.y - V), (this.startPosY - V)), this.sprite.scaleX = this.sprite.scaleY = V.map(U3e.I3R, U3e.Y3R, U3e.B5R(U3e.Y3R, (U3e.Y3R - this.minScale) / X), U3e.Y3R);
  6456. else if (U3e.g5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR)) V = U3e.m5R((this.sprite.y - V), (T0n87[Z87].gameScene.ground - getConst(U3e.H3R) - V)), this.sprite.scaleX = this.sprite.scaleY = V.map(U3e.I3R, U3e.Y3R, U3e.x0R(U3e.Y3R, (U3e.Y3R - this.minScale) / X), this.minScale);
  6457. if (U3e.X0R(this.sprite.scaleX, this.minScale)) this.sprite.scaleX = this.sprite.scaleY = this.minScale;
  6458. this.circleCollision.r = U3e.c0R(U3e.N97, this.sprite.scaleX);
  6459. }
  6460. };
  6461. Ball2.prototype.draw = function() {
  6462. this.sprite.draw();
  6463. this.circleCollision.drawDebug();
  6464. };
  6465. Ball2.prototype.makeShoot = function(I, u, k) {
  6466. var v = 0.685;
  6467. createjs.Tween.removeTweens(this.sprite);
  6468. createjs.Tween.removeTweens(T0n87[Z87].gameScene.shadow);
  6469. createjs.Tween.get(this.sprite).to({
  6470. x: this.sprite.x + U3e.n0R(U3e.n3R, I),
  6471. y: this.sprite.y + U3e.I0R(U3e.n3R, u),
  6472. pivotY: this.originalPivotY,
  6473. scaleX: v,
  6474. scaleY: v
  6475. }, U3e.P3R).call(function() {
  6476. var X = ((17.40E1, 7.67E2) > (139., 93) ? (0xEC, 1060) : (0xB6, 114.80E1) <= 1.49E2 ? 0x97 : (0xCB, 66));
  6477. k = MLE.Util.toDeg(k);
  6478. var V = getConst(-X),
  6479. Z = getConst(U3e.j57),
  6480. Y = U3e.p0R(V, u, I);
  6481. this.simpleMovement.setValues(Y, V, U3e.s0R(Y, V, Z, U3e.n3R), Z);
  6482. T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.IN_AIR_UP;
  6483. }.bind(this));
  6484. };
  6485. Ball2.prototype.startJumping = function() {
  6486. T0n87[Z87].gameScene.hideShowFrontMonsters(U3e.V27);
  6487. var X = this.originalPivotY;
  6488. createjs.Tween.get(this.sprite, {
  6489. loop: U3e.G77
  6490. }).to({
  6491. pivotY: X + U3e.E97
  6492. }, U3e.O67, createjs.Ease.sineOut).to({
  6493. pivotY: X
  6494. }, U3e.O67, createjs.Ease.sineIn);
  6495. createjs.Tween.get(T0n87[Z87].gameScene.shadow, {
  6496. loop: U3e.G77
  6497. }).to({
  6498. heightScale: U3e.A27
  6499. }, U3e.O67, createjs.Ease.sineOut).to({
  6500. heightScale: U3e.Y3R
  6501. }, U3e.O67, createjs.Ease.sineIn);
  6502. };
  6503. Ball2.prototype.startWind = function() {
  6504. if (!this.bounced) U3e.T0R(this.simpleMovement.velX / gameScene.windPower, U3e.I3R) ? (this.simpleMovement.velX = U3e.I3R, this.simpleMovement.accelX = U3e.Q0R(T0n87[Z87].gameScene.windPower, U3e.n3R)) : this.simpleMovement.accelX = U3e.r0R(T0n87[Z87].gameScene.windPower, U3e.R27), this.simpleMovement.accelY /= U3e.Y97;
  6505. };
  6506. Ball2.prototype.rotateForward = function() {
  6507. this.imageAnim.isPlaying(U3e.v77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
  6508. };
  6509. Ball2.prototype.rotateBackward = function() {
  6510. this.imageAnim.isPlaying(U3e.h77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.h77);
  6511. };
  6512. Ball3.prototype.init = function() {
  6513. var X = 0.2;
  6514. this.startPosX = U3e.L0R(MLE.width, 2);
  6515. this.startPosY = U3e.D0R(MLE.height, 90);
  6516. this.minScale = X;
  6517. this.bounced = U3e.V27;
  6518. this.sprite = new MLE.Sprite(U3e.L77, this.startPosX, this.startPosY);
  6519. this.sprite.centerPivot();
  6520. this.imageAnim = new MLE.ImageAnim(this.sprite);
  6521. this.imageAnim.addAnim(U3e.X97, [U3e.L77], U3e.v07);
  6522. this.imageAnim.addAnim(U3e.h77, U3e.l4R.split(U3e.j3R), U3e.N07);
  6523. this.imageAnim.addAnim(U3e.v77, U3e.Z07.split(U3e.j3R), U3e.N07);
  6524. this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
  6525. this.simpleMovement = new MLE.SimpleMovement(this.sprite);
  6526. this.circleCollision = new MLE.CircleCollision(this.sprite, U3e.I3R, U3e.I3R, U3e.N97);
  6527. this.rotationSpeed = U3e.I3R;
  6528. this.originalPivotY = this.sprite.pivotY;
  6529. };
  6530. Ball3.prototype.update = function() {
  6531. this.imageAnim.update();
  6532. this.befX = this.sprite.x;
  6533. this.befY = this.sprite.y;
  6534. this.simpleMovement.update();
  6535. this.sprite.angle += U3e.b0R(this.rotationSpeed, MLE.tick, U3e.W57);
  6536. if (U3e.B0R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND) && U3e.g0R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.FROM_WALL)) {
  6537. var X = U3e.m0R(this.sprite.y, this.simpleMovement.velY * this.simpleMovement.velY / this.simpleMovement.accelY / U3e.n3R);
  6538. if (U3e.x9R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR_UP) || U3e.X9R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND)) X = U3e.c9R((this.sprite.y - X), (this.startPosY - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.n9R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), U3e.Y3R);
  6539. else if (U3e.I9R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR)) X = U3e.p9R((this.sprite.y - X), (T0n87[Z87].gameScene.ground - getConst(U3e.H3R) - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.i9R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), this.minScale);
  6540. if (U3e.u9R(this.sprite.scaleX, this.minScale)) this.sprite.scaleX = this.sprite.scaleY = this.minScale;
  6541. this.circleCollision.r = U3e.T9R(U3e.N97, this.sprite.scaleX);
  6542. }
  6543. };
  6544. Ball3.prototype.draw = function() {
  6545. this.sprite.draw();
  6546. this.circleCollision.drawDebug();
  6547. };
  6548. Ball3.prototype.makeShoot = function(u, k, v) {
  6549. var D = 0.68;
  6550. createjs.Tween.removeTweens(this.sprite);
  6551. createjs.Tween.removeTweens(T0n87[Z87].gameScene.shadow);
  6552. createjs.Tween.get(this.sprite).to({
  6553. x: this.sprite.x + U3e.Q9R(U3e.n3R, u),
  6554. y: this.sprite.y + U3e.r9R(U3e.n3R, k),
  6555. pivotY: this.originalPivotY,
  6556. scaleX: D,
  6557. scaleY: D
  6558. }, U3e.P3R).call(function() {
  6559. var X = 1400,
  6560. V = 925;
  6561. v = MLE.Util.toDeg(v);
  6562. var Z = getConst(-V),
  6563. Y = getConst(X),
  6564. I = U3e.L9R(Z, k, u);
  6565. this.simpleMovement.setValues(I, Z, U3e.C9R(I, Z, Y, U3e.n3R), Y);
  6566. T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.IN_AIR_UP;
  6567. }.bind(this));
  6568. };
  6569. Ball3.prototype.startJumping = function() {
  6570. T0n87[Z87].gameScene.hideShowFrontMonsters(U3e.V27);
  6571. var X = this.originalPivotY;
  6572. createjs.Tween.get(this.sprite, {
  6573. loop: U3e.G77
  6574. }).to({
  6575. pivotY: X + U3e.E97
  6576. }, U3e.O67, createjs.Ease.sineOut).to({
  6577. pivotY: X
  6578. }, U3e.O67, createjs.Ease.sineIn);
  6579. createjs.Tween.get(T0n87[Z87].gameScene.shadow, {
  6580. loop: U3e.G77
  6581. }).to({
  6582. heightScale: U3e.A27
  6583. }, U3e.O67, createjs.Ease.sineOut).to({
  6584. heightScale: U3e.Y3R
  6585. }, U3e.O67, createjs.Ease.sineIn);
  6586. };
  6587. Ball3.prototype.startWind = function() {
  6588. var X = 0.8,
  6589. V = 1.6;
  6590. if (!this.bounced) U3e.q9R(this.simpleMovement.velX / gameScene.windPower, U3e.I3R) ? (this.simpleMovement.velX = U3e.I3R, this.simpleMovement.accelX = U3e.w9R(T0n87[Z87].gameScene.windPower, V)) : this.simpleMovement.accelX = U3e.h9R(T0n87[Z87].gameScene.windPower, X, U3e.R27), this.simpleMovement.accelY /= U3e.Y97;
  6591. };
  6592. Ball3.prototype.rotateForward = function() {
  6593. this.imageAnim.isPlaying(U3e.v77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
  6594. };
  6595. Ball3.prototype.rotateBackward = function() {
  6596. this.imageAnim.isPlaying(U3e.h77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.h77);
  6597. };
  6598. AimArrow.prototype.init = function() {
  6599. this.maxAngle = U3e.q97;
  6600. this.angleChangeDirection = U3e.Y3R;
  6601. this.angleChangeSpeed = U3e.R97;
  6602. this.sprite = new MLE.Sprite("aimArrow", U3e.x2R(MLE.width, 2), U3e.X2R(MLE.height, 90));
  6603. this.sprite.setPivotPercent(U3e.M97, U3e.k27);
  6604. this.shootAngle = this.shotDirectionY = this.shotDirectionX = -U3e.Y3R;
  6605. this.makeRotationTween();
  6606. };
  6607. AimArrow.prototype.update = function() {
  6608. var X = U3e.c2R(this.sprite.pivotY, this.sprite.scaleY),
  6609. V = this.sprite.x + U3e.n2R(Math.sin(MLE.Util.toRad(this.sprite.angle)), X),
  6610. X = U3e.I2R(this.sprite.y, Math.cos(MLE.Util.toRad(this.sprite.angle)) * X);
  6611. this.shotDirectionX = U3e.p2R(V, this.sprite.x);
  6612. this.shotDirectionY = U3e.i2R(X, this.sprite.y);
  6613. this.shootAngle = this.sprite.angle;
  6614. };
  6615. AimArrow.prototype.draw = function() {
  6616. this.sprite.draw();
  6617. };
  6618. AimArrow.prototype.makeRotationTween = function() {
  6619. var X = (42.90E1 <= (145, 63.) ? 700 : 135.0E1 > (0x209, 133.) ? (0x87, 0.95) : (0x18E, 10.5E1) > 1.169E3 ? 700 : (136.70E1, 3.06E2));
  6620. createjs.Tween.removeTweens(this.sprite);
  6621. this.sprite.scaleY = X;
  6622. this.rotationTween = createjs.Tween.get(this.sprite, {
  6623. loop: U3e.G77
  6624. }).to({
  6625. angle: U3e.K57
  6626. }, U3e.z57).to({
  6627. angle: -U3e.K57
  6628. }, U3e.W57).to({
  6629. angle: U3e.I3R
  6630. }, U3e.z57);
  6631. };
  6632. AimArrow.prototype.stopRotationTween = function() {
  6633. this.rotationTween._paused = U3e.G77;
  6634. createjs.Tween.get(this.sprite).wait(U3e.z57).to({
  6635. alpha: U3e.I3R
  6636. }, U3e.O67);
  6637. };
  6638. AimArrow.prototype.resumeRotationTween = function() {
  6639. this.rotationTween._paused = U3e.V27;
  6640. createjs.Tween.get(this.sprite).wait(U3e.z57).to({
  6641. alpha: U3e.Y3R
  6642. }, U3e.O67).call(function() {
  6643. T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.AIMING;
  6644. });
  6645. };
  6646. AimArrow.prototype.setPaused = function(X) {
  6647. this.rotationTween._paused = X;
  6648. };
  6649. GUI.prototype.init = function(X) {
  6650. var V = "+5",
  6651. Z = 215,
  6652. Y = 340,
  6653. I = 220,
  6654. u = 22,
  6655. k = "000",
  6656. v = 58;
  6657. this.multiplier = X;
  6658. this.group = new MLE.Group;
  6659. this.box1 = new MLE.Sprite(U3e.e67, U3e.I3R, U3e.I3R);
  6660. this.group.addChild(this.box1);
  6661. this.points = new MLE.TextSprite;
  6662. this.points.x = U3e.E97;
  6663. this.points.size = U3e.c07;
  6664. this.points.y = v;
  6665. this.points.text = k;
  6666. this.ptsText = new MLE.TextSprite;
  6667. this.ptsText.text = currLang.points + U3e.F67;
  6668. this.ptsText.size = u;
  6669. this.ptsText.x = U3e.E97;
  6670. this.ptsText.align = U3e.q17;
  6671. this.ptsText.color = U3e.j67;
  6672. this.ptsText.y = U3e.c07;
  6673. this.ptsText.adjustFontSize(U3e.m4R);
  6674. this.group.addChild(this.ptsText);
  6675. this.bstText = new MLE.TextSprite;
  6676. this.bstText.text = currLang.best + U3e.F67;
  6677. this.bstText.size = u;
  6678. this.bstText.x = U3e.U17;
  6679. this.bstText.align = U3e.q17;
  6680. this.bstText.color = U3e.j67;
  6681. this.bstText.y = U3e.c07;
  6682. this.bstText.adjustFontSize(U3e.m4R);
  6683. this.group.addChild(this.bstText);
  6684. this.best = new MLE.TextSprite;
  6685. this.best.x = U3e.U17;
  6686. this.best.y = v;
  6687. this.best.text = k;
  6688. this.group.addChild(this.best);
  6689. this.newPoints = new MLE.TextSprite;
  6690. this.newPoints.x = getConst(I);
  6691. this.newPoints.y = getConst({
  6692. 1: U3e.k3R,
  6693. 2: Y,
  6694. 3: Z
  6695. }[X + U3e.o4R]);
  6696. this.newPoints.text = V;
  6697. this.group.addChild(this.newPoints);
  6698. this.group.addChild(this.points);
  6699. this.newPoints.xOffset = U3e.I3R;
  6700. this.pointsNumber = this.newPoints.alpha = U3e.I3R;
  6701. X = U3e.G97 + this.multiplier;
  6702. localStorage[X] ? this.bestNumber = Number(localStorage[X]) : (localStorage[X] = U3e.L17, this.bestNumber = U3e.I3R);
  6703. this.alpha = U3e.Y3R;
  6704. this.inRow = this.levelUp = U3e.I3R;
  6705. };
  6706. GUI.prototype.update = function() {};
  6707. GUI.prototype.draw = function() {
  6708. var X = MLE.context.globalAlpha;
  6709. MLE.context.globalAlpha *= this.alpha;
  6710. this.points.text = "" + this.onThreeDigits(Math.round(this.pointsNumber));
  6711. this.best.text = "" + this.onThreeDigits(this.bestNumber);
  6712. this.newPoints.x = this.newPoints.xStart + this.newPoints.xOffset;
  6713. this.group.draw();
  6714. MLE.context.globalAlpha = X;
  6715. };
  6716. GUI.prototype.addPoints = function(X) {
  6717. var V = ((12.76E2, 53) < 11.8E2 ? (28., 1500) : (0x1B8, 100.7E1));
  6718. X *= this.multiplier;
  6719. T0n87[Z87].gameScene.success.setNewPoints(X);
  6720. createjs.Tween.get(T0n87[Z87].gameScene.success.group).to({
  6721. scaleX: U3e.Y3R,
  6722. scaleY: U3e.Y3R,
  6723. alpha: U3e.Y3R
  6724. }, U3e.z57, createjs.Tween.sineInOut).wait(V).to({
  6725. scaleX: U3e.I3R,
  6726. scaleY: U3e.I3R,
  6727. alpha: U3e.I3R
  6728. }, U3e.z57, createjs.Tween.sineInOut);
  6729. for (var Z = U3e.I3R; U3e.u2R(Z, X); Z++) createjs.Tween.get(this).wait(U3e.T2R(U3e.z57, X, (Z + U3e.Y3R)) + U3e.O67).call(function() {
  6730. this.pointsNumber += U3e.Y3R;
  6731. U3e.j2R(this.pointsNumber, this.bestNumber) && (this.bestNumber += U3e.Y3R);
  6732. }.bind(this));
  6733. Z = U3e.G97 + this.multiplier;
  6734. U3e.U2R(this.pointsNumber + X, this.bestNumber) && (localStorage[Z] = this.pointsNumber + X + U3e.o4R);
  6735. this.inRow += U3e.Y3R;
  6736. if (U3e.O2R(this.inRow, U3e.i3R)) this.inRow = U3e.I3R, SG_Hooks.levelUp(this.multiplier, this.pointsNumber + X);
  6737. };
  6738. GUI.prototype.zeroPoints = function() {
  6739. this.inRow += U3e.Y3R;
  6740. if (U3e.C2R(this.inRow, U3e.i3R)) this.inRow = U3e.I3R, SG_Hooks.gameOver(this.multiplier, this.bestNumber);
  6741. createjs.Tween.get(this).to({
  6742. pointsNumber: U3e.I3R
  6743. }, U3e.u57, createjs.Ease.sineInOut);
  6744. };
  6745. GUI.prototype.onThreeDigits = function(X) {
  6746. return U3e.K2R(X, U3e.C07) ? U3e.L77 + X : U3e.B2R(X, U3e.G27) ? U3e.L17 + X : U3e.o4R + X;
  6747. };
  6748. SuccessAnim.prototype.init = function() {
  6749. var X = "+ 01";
  6750. this.group = new MLE.Group;
  6751. this.group.pivotX = U3e.G27;
  6752. this.group.x = U3e.g2R(MLE.width, 2);
  6753. this.group.y = U3e.E17;
  6754. this.schein = new MLE.Sprite(U3e.d07, U3e.I3R, U3e.I3R);
  6755. this.schein.centerPivot();
  6756. this.helpGroup = new MLE.Group;
  6757. this.helpGroup.addChild(this.schein);
  6758. this.helpGroup.scaleY = U3e.w77;
  6759. this.group.addChild(this.helpGroup);
  6760. this.success = new MLE.Sprite(U3e.r77, U3e.I3R, U3e.I3R);
  6761. this.success.centerPivot();
  6762. this.group.addChild(this.success);
  6763. this.ptsText = new MLE.TextSprite;
  6764. this.ptsText.text = X;
  6765. this.ptsText.size = U3e.c07;
  6766. this.ptsText.x = U3e.B57;
  6767. this.ptsText.align = U3e.q17;
  6768. this.ptsText.color = U3e.j67;
  6769. this.ptsText.y = U3e.I3R;
  6770. this.ptsText.adjustFontSize(U3e.H3R);
  6771. this.group.addChild(this.ptsText);
  6772. this.group.scaleX = this.group.scaleY = this.group.alpha = U3e.I3R;
  6773. };
  6774. SuccessAnim.prototype.update = function() {
  6775. this.schein.angle += U3e.m2R(U3e.h3R, MLE.tick, U3e.W57);
  6776. };
  6777. SuccessAnim.prototype.draw = function() {
  6778. this.group.draw();
  6779. };
  6780. SuccessAnim.prototype.setNewPoints = function(X) {
  6781. var V = "+ ";
  6782. U3e.e6R(X, U3e.C07) && (X = U3e.L17 + X);
  6783. this.group.draw(this.ptsText.text = V + X);
  6784. };
  6785. SuccessAnim2.prototype.init = function() {
  6786. this.group = new MLE.Group;
  6787. this.group.pivotX = U3e.G27;
  6788. this.group.x = U3e.R6R(MLE.width, 2);
  6789. this.group.y = U3e.E17;
  6790. this.schein = new MLE.Sprite(U3e.d07, U3e.I3R, U3e.I3R);
  6791. this.schein.centerPivot();
  6792. this.group.addChild(this.schein);
  6793. this.success = new MLE.Sprite(U3e.l77, U3e.I3R, U3e.I3R);
  6794. this.success.centerPivot();
  6795. this.group.addChild(this.success);
  6796. this.group.scaleX = this.group.scaleY = this.group.alpha = U3e.I3R;
  6797. };
  6798. SuccessAnim2.prototype.update = function() {
  6799. this.schein.angle += U3e.z6R(U3e.h3R, MLE.tick, U3e.W57);
  6800. };
  6801. SuccessAnim2.prototype.draw = function() {
  6802. this.group.draw();
  6803. };
  6804. PauseWindow.prototype.init = function() {
  6805. var X = 630;
  6806. this.sprite = new MLE.Sprite(U3e.y57, U3e.I3R, U3e.I3R);
  6807. this.sprite.centerPivot();
  6808. this.sprite.x = U3e.Y6R(MLE.width, 2);
  6809. this.sprite.y = U3e.F6R(MLE.height, 2);
  6810. this.sprite.alpha = U3e.I3R;
  6811. this.resumeButton = new MenuButton(U3e.m57, currLang.resume);
  6812. this.resumeButton.group.x = U3e.A6R(MLE.width, 2);
  6813. this.resumeButton.group.y = U3e.z27;
  6814. this.resumeButton.group.alpha = U3e.I3R;
  6815. this.resumeButton.clickCallback = this.resumeClicked.bind(this);
  6816. this.backToMenuButton = new MenuButton(U3e.m57, currLang.backToMenu);
  6817. this.backToMenuButton.group.x = U3e.k6R(MLE.width, 2);
  6818. this.backToMenuButton.group.y = X;
  6819. this.backToMenuButton.group.alpha = U3e.I3R;
  6820. this.backToMenuButton.clickCallback = this.backToMainMenu.bind(this);
  6821. };
  6822. PauseWindow.prototype.update = function() {
  6823. U3e.J6R(this.sprite.alpha, U3e.Y3R) && (this.resumeButton.update(), this.backToMenuButton.update());
  6824. };
  6825. PauseWindow.prototype.draw = function() {
  6826. this.sprite.draw();
  6827. this.resumeButton.draw();
  6828. this.backToMenuButton.draw();
  6829. };
  6830. PauseWindow.prototype.show = function() {
  6831. createjs.Tween.get(this.sprite).to({
  6832. alpha: U3e.Y3R
  6833. }, U3e.O67);
  6834. createjs.Tween.get(this.resumeButton.group).wait(U3e.H3R).to({
  6835. alpha: U3e.Y3R
  6836. }, U3e.O67);
  6837. createjs.Tween.get(this.backToMenuButton.group).wait(U3e.k3R).to({
  6838. alpha: U3e.Y3R
  6839. }, U3e.O67);
  6840. };
  6841. PauseWindow.prototype.hide = function() {
  6842. createjs.Tween.get(this.sprite).to({
  6843. alpha: U3e.I3R
  6844. }, U3e.O67);
  6845. createjs.Tween.get(this.resumeButton.group).to({
  6846. alpha: U3e.I3R
  6847. }, U3e.O67);
  6848. createjs.Tween.get(this.backToMenuButton.group).to({
  6849. alpha: U3e.I3R
  6850. }, U3e.O67);
  6851. };
  6852. PauseWindow.prototype.resumeClicked = function() {
  6853. this.hide();
  6854. gameScene.resume();
  6855. };
  6856. PauseWindow.prototype.backToMainMenu = function() {
  6857. this.resumeButton.block = U3e.G77;
  6858. this.backToMenuButton.block = U3e.G77;
  6859. createjs.Tween.get(T0n87[Z87].director).to({
  6860. rectAlpha: U3e.Y3R
  6861. }, U3e.U67, createjs.Ease.sineInOut).call(function() {
  6862. createjs.Tween._tweens = [];
  6863. T0n87[Z87].director.nextScene = new MainMenu;
  6864. createjs.Tween.get(T0n87[Z87].director).to({
  6865. rectAlpha: U3e.I3R
  6866. }, U3e.z57, createjs.Ease.sineInOut);
  6867. });
  6868. };
  6869. RotateScene.prototype.init = function() {
  6870. T0n87[Z87].rotateScene = this;
  6871. this.rotateImage = new MLE.Sprite("rotate", U3e.N6R(MLE.width, 2), U3e.v6R(MLE.height, 2));
  6872. this.rotateImage.scaleX = this.rotateImage.scaleY = U3e.Y97;
  6873. this.rotateImage.centerPivot();
  6874. };
  6875. RotateScene.prototype.update = function() {
  6876. for (var l87 in T0n87[A87]) {
  6877. if (l87.length == 4 && l87.charCodeAt(3) == 121 && l87.charCodeAt(2) == 100 && l87.charCodeAt(0) == ((147., 3.510E2) > 57.90E1 ? 'W' : 1 > (83, 0x141) ? 'W' : (7.68E2, 109.0E1) >= 35.30E1 ? (0x15F, 98) : (0x19, 12.85E2))) break
  6878. };
  6879. T0n87[A87][l87]['style'][U3e.t3R] = U3e.x57;
  6880. };
  6881. RotateScene.prototype.draw = function() {
  6882. MLE.context.fillStyle = "#45357D";
  6883. MLE.context.fillRect(0, 0, MLE.width, MLE.height);
  6884. this.rotateImage.draw();
  6885. };
  6886. TestScene.prototype.init = function() {
  6887. var X = "rgba(0,0,255,1)",
  6888. V = "rgba(255,0,0,1)",
  6889. Z = "rgba(0,255,0,1)";
  6890. this.befY = this.befX = this.currY = this.currX = U3e.H3R;
  6891. this.counter = U3e.I3R;
  6892. this.mainCircle = new MLE.CircleCollision({
  6893. x: U3e.E17,
  6894. y: U3e.E17
  6895. }, U3e.I3R, U3e.I3R, U3e.v07);
  6896. this.moveCircle = new MLE.CircleCollision({
  6897. x: this.currX,
  6898. y: this.currY
  6899. }, U3e.I3R, U3e.I3R, U3e.v07);
  6900. this.currPoint = new MLE.CircleCollision({
  6901. x: U3e.H3R,
  6902. y: U3e.H3R
  6903. }, U3e.I3R, U3e.I3R, U3e.p3R, Z);
  6904. this.befPoint = new MLE.CircleCollision({
  6905. x: U3e.H3R,
  6906. y: U3e.H3R
  6907. }, U3e.I3R, U3e.I3R, U3e.p3R, V);
  6908. this.oPoint1 = new MLE.CircleCollision({
  6909. x: U3e.I3R,
  6910. y: U3e.I3R
  6911. }, U3e.I3R, U3e.I3R, U3e.p3R, X);
  6912. this.oPoint2 = new MLE.CircleCollision({
  6913. x: U3e.I3R,
  6914. y: U3e.I3R
  6915. }, U3e.I3R, U3e.I3R, U3e.p3R, X);
  6916. this.line = new MLE.LineCollision(U3e.G27, U3e.G27, U3e.z57, U3e.Y17);
  6917. };
  6918. TestScene.prototype.update = function() {
  6919. MLE.mouse.pressed && (this.counter += U3e.Y3R);
  6920. if (MLE.mouse.isDown && U3e.P6R(this.counter % U3e.n3R, U3e.I3R)) this.currX = MLE.mouse.x, this.currY = MLE.mouse.y;
  6921. else if (MLE.mouse.isDown && U3e.f6R(this.counter % U3e.n3R, U3e.I3R)) this.befX = MLE.mouse.x, this.befY = MLE.mouse.y;
  6922. this.currPoint.sprite.x = this.currX;
  6923. this.currPoint.sprite.y = this.currY;
  6924. this.befPoint.sprite.x = this.befX;
  6925. this.befPoint.sprite.y = this.befY;
  6926. this.moveCircle.sprite.x = this.currX;
  6927. this.moveCircle.sprite.y = this.currY;
  6928. console.log(this.mainCircle.checkAgainstWithShift(this.moveCircle, this.befX, this.befY));
  6929. this.mainCircle.checkAgainstWithPosCorrection(this.moveCircle, this.befX, this.befY);
  6930. this.line.checkAgainstWithShift(this.moveCircle, this.befX, this.befY);
  6931. };
  6932. TestScene.prototype.draw = function() {
  6933. this.mainCircle.drawDebug();
  6934. this.moveCircle.drawDebug();
  6935. this.currPoint.drawDebug();
  6936. this.befPoint.drawDebug();
  6937. this.line.drawDebug();
  6938. };
  6939. var isSmall, remote = {
  6940. log: function() {}
  6941. },
  6942. monsterType = U3e.Y3R,
  6943. windowOnload = function() {
  6944. var Z = "en",
  6945. Y = function(X) {
  6946. T0n87[Z87].currLang = X.languages[v];
  6947. },
  6948. I = function() {
  6949. var X = "media2";
  6950. k = (isSmall = U3e.V27, X);
  6951. },
  6952. u = function() {
  6953. var X = "preloaderHD";
  6954. var V = "preloaderSD";
  6955. v = isSmall ? V : X;
  6956. },
  6957. k = [],
  6958. v;
  6959. for (v in T0n87[Z87].languages) k.push(v);
  6960. v = SG_Hooks.getLanguage(Z);
  6961. Y(window);
  6962. k = function() {};
  6963. SG_Hooks.setOrientationHandler(k);
  6964. SG_Hooks.setResizeHandler(k);
  6965. I();
  6966. u();
  6967. MLE.init({
  6968. preManifest: [{
  6969. src: "./" + v + "/logoWithoutRim.png",
  6970. id: "logoWithoutRim"
  6971. }, {
  6972. src: "./" + v + "/eyeAnim.png",
  6973. id: "eyeAnim"
  6974. }, {
  6975. src: "./" + v + "/loadingBar0.png",
  6976. id: "loadingBar0"
  6977. }, {
  6978. src: "./" + v + "/loadingBar1.png",
  6979. id: "loadingBar1"
  6980. }, {
  6981. src: "./" + v + "/loadingTextAnim.png",
  6982. id: "loadingTextAnim"
  6983. }, {
  6984. src: "./" + v + "/rotatePortrait.png",
  6985. id: "rotate"
  6986. }, {
  6987. src: "./" + v + "/rim.png",
  6988. id: "rim"
  6989. }],
  6990. preLoaderScene: PreLoaderScene,
  6991. manifest: [{
  6992. src: "ni7segnormal",
  6993. isFaceFont: true
  6994. }, {
  6995. src: "./" + k + "/schein.png",
  6996. id: "schein"
  6997. }, {
  6998. src: "./" + k + "/success.png",
  6999. id: "success"
  7000. }, {
  7001. src: "./" + k + "/success2.png",
  7002. id: "success2"
  7003. }, {
  7004. src: "./" + k + "/shadow.png",
  7005. id: "shadow"
  7006. }, {
  7007. src: "./" + k + "/aimArrow.png",
  7008. id: "aimArrow"
  7009. }, {
  7010. src: "./" + k + "/trash.png",
  7011. id: "trash"
  7012. }, {
  7013. src: "./" + k + "/00.png",
  7014. id: "00"
  7015. }, {
  7016. src: "./" + k + "/01.png",
  7017. id: "01"
  7018. }, {
  7019. src: "./" + k + "/02.png",
  7020. id: "02"
  7021. }, {
  7022. src: "./" + k + "/03.png",
  7023. id: "03"
  7024. }, {
  7025. src: "./" + k + "/04.png",
  7026. id: "04"
  7027. }, {
  7028. src: "./" + k + "/05.png",
  7029. id: "05"
  7030. }, {
  7031. src: "./" + k + "/06.png",
  7032. id: "06"
  7033. }, {
  7034. src: "./" + k + "/07.png",
  7035. id: "07"
  7036. }, {
  7037. src: "./" + k + "/08.png",
  7038. id: "08"
  7039. }, {
  7040. src: "./" + k + "/09.png",
  7041. id: "09"
  7042. }, {
  7043. src: "./" + k + "/gameBackground.jpg",
  7044. id: "gameBackground"
  7045. }, {
  7046. src: "./" + k + "/gameBackground2.jpg",
  7047. id: "gameBackground2"
  7048. }, {
  7049. src: "./" + k + "/gameBackground3.jpg",
  7050. id: "gameBackground3"
  7051. }, {
  7052. src: "./" + k + "/splash.jpg",
  7053. id: "splash"
  7054. }, {
  7055. src: "./" + k + "/paper.png",
  7056. id: "paper"
  7057. }, {
  7058. src: "./" + k + "/wind.png",
  7059. id: "wind"
  7060. }, {
  7061. src: "./" + k + "/block.png",
  7062. id: "block"
  7063. }, {
  7064. src: "./" + k + "/goal.png",
  7065. id: "goal"
  7066. }, {
  7067. src: "./" + k + "/goal2.png",
  7068. id: "goal2"
  7069. }, {
  7070. src: "./" + k + "/goal3.png",
  7071. id: "goal3"
  7072. }, {
  7073. src: "./" + k + "/box.png",
  7074. id: "box"
  7075. }, {
  7076. src: "./" + k + "/pause_normal.png",
  7077. id: "pause_normal"
  7078. }, {
  7079. src: "./" + k + "/pause_select.png",
  7080. id: "pause_select"
  7081. }, {
  7082. src: "./" + k + "/button_normal.png",
  7083. id: "button_normal"
  7084. }, {
  7085. src: "./" + k + "/button_select.png",
  7086. id: "button_select"
  7087. }, {
  7088. src: "./" + k + "/popup.png",
  7089. id: "popup"
  7090. }, {
  7091. src: "./" + k + "/front3.png",
  7092. id: "front3"
  7093. }],
  7094. game: Director,
  7095. height: 800,
  7096. width: 528,
  7097. scaling: true,
  7098. showDebug: false
  7099. });
  7100. };