gm12.min.js 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183
  1. function fsem() {
  2. w = {};
  3. ei = 0;
  4. var e = 1;
  5. var t = Math.floor(stlv / 10);
  6. if (t > 4) {
  7. t = 4
  8. }
  9. switch (t) {
  10. case 0:
  11. ekey = Math.floor(Math.random() * 6);
  12. break;
  13. case 1:
  14. ekey = Math.floor(Math.random() * 14) + 6;
  15. break;
  16. case 2:
  17. ekey = Math.floor(Math.random() * 56) + 14;
  18. if (hthp > 4) {
  19. ekey = Math.floor(Math.random() * 120) + 14
  20. }
  21. break;
  22. case 3:
  23. ekey = Math.floor(Math.random() * 96) + 14;
  24. if (hthp > 3) {
  25. ekey = Math.floor(Math.random() * 64) + 70
  26. }
  27. break;
  28. case 4:
  29. ekey = Math.floor(Math.random() * 64) + 70;
  30. break;
  31. default:
  32. break
  33. }
  34. if (uekey == ekey) {
  35. ekey++
  36. }
  37. if (ekey > 133) {
  38. ekey = 133
  39. }
  40. uekey = ekey;
  41. switch (ekey) {
  42. case 0:
  43. for (e = 1; e < 4; e++) {
  44. Q(160, 150 - e * 25, e * 5, 1)
  45. }
  46. break;
  47. case 1:
  48. for (e = 1; e < 4; e++) {
  49. Q(160, 150 - e * 35, e * 5, 0)
  50. }
  51. break;
  52. case 2:
  53. for (e = 1; e < 6; e++) {
  54. Q(70 + e * 30, 80, e * 5, 2)
  55. }
  56. edct = 240;
  57. break;
  58. case 3:
  59. for (e = 1; e < 4; e++) {
  60. Q(98 + e * 31, 40, 0, 0)
  61. }
  62. break;
  63. case 4:
  64. for (e = 1; e < 6; e++) {
  65. Q(73 + e * 29, 50, 0, 1)
  66. }
  67. break;
  68. case 5:
  69. for (e = 1; e < 6; e++) {
  70. Q(40 + e * 40, 50, 0, 0)
  71. }
  72. break;
  73. case 6:
  74. for (e = 1; e < 6; e++) {
  75. if (e != 3) {
  76. Q( - 20 + e * 60, 50, 0, 2)
  77. } else {
  78. Q( - 20 + e * 60, 50, 0, 1)
  79. }
  80. }
  81. edct = 240;
  82. break;
  83. case 7:
  84. for (e = 1; e < 4; e++) {
  85. Q(100, 100 - e * 25, e * 5, 1)
  86. }
  87. for (e = 1; e < 4; e++) {
  88. Q(220, 100 - e * 25, e * 5, 1)
  89. }
  90. break;
  91. case 8:
  92. for (e = 1; e < 4; e++) {
  93. Q(100, 130 - e * 35, e * 5, 0)
  94. }
  95. for (e = 1; e < 4; e++) {
  96. Q(220, 130 - e * 35, e * 5, 0)
  97. }
  98. break;
  99. case 9:
  100. Q(100, 0, 0, 5);
  101. Q(220, 0, 70, 5);
  102. Q(160, 0, 140, 5);
  103. break;
  104. case 10:
  105. for (e = 1; e < 6; e++) {
  106. Q(50, 50, e * 25, 3)
  107. }
  108. for (e = 1; e < 6; e++) {
  109. Q(270, 50, 200 + e * 25, 4)
  110. }
  111. break;
  112. case 11:
  113. for (e = 1; e < 6; e++) {
  114. Q(50, 50, e * 25, 3)
  115. }
  116. break;
  117. case 12:
  118. for (e = 1; e < 6; e++) {
  119. Q(40 + e * 40, 50, 0, 1)
  120. }
  121. for (e = 1; e < 5; e++) {
  122. Q(60 + e * 40, 50, 100, 1)
  123. }
  124. for (e = 1; e < 6; e++) {
  125. Q(40 + e * 40, 50, 200, 1)
  126. }
  127. break;
  128. case 13:
  129. for (e = 1; e < 6; e++) {
  130. Q(180, 215 - e * 30, e * 14, 1);
  131. Q(140, 200 - e * 30, 7 + e * 14, 1)
  132. }
  133. break;
  134. case 14:
  135. for (e = 1; e < 6; e++) {
  136. Q( - 20 + e * 60, 50, 50, 1)
  137. }
  138. for (e = 1; e < 5; e++) {
  139. Q(310 - e * 60, 50, 0, 0)
  140. }
  141. for (e = 1; e < 6; e++) {
  142. Q( - 20 + e * 60, 50, 350, 0)
  143. }
  144. for (e = 1; e < 5; e++) {
  145. Q(310 - e * 60, 50, 400, 1)
  146. }
  147. break;
  148. case 15:
  149. for (e = 1; e < 6; e++) {
  150. Q(150 + e * 30, 200 - e * 30, e * 5, 0);
  151. Q(170 - e * 30, 200 - e * 30, e * 5, 0)
  152. }
  153. break;
  154. case 16:
  155. for (e = 1; e < 6; e++) {
  156. Q(150 + e * 30, 200 - e * 30, e * 5, 1);
  157. Q(170 - e * 30, 200 - e * 30, e * 5, 1)
  158. }
  159. break;
  160. case 17:
  161. for (e = 1; e < 6; e++) {
  162. Q(150 + e * 30, 200 - e * 30, e * 25, 3);
  163. Q(170 - e * 30, 200 - e * 30, e * 25, 4)
  164. }
  165. break;
  166. case 18:
  167. for (e = 1; e < 6; e++) {
  168. Q(10 + e * 30, 300, e * 5, 2);
  169. Q(310 - e * 30, 250, 200 + e * 5, 2);
  170. Q(10 + e * 30, 200, 300 + e * 5, 2);
  171. Q(310 - e * 30, 150, 350 + e * 5, 2);
  172. Q(10 + e * 30, 100, 400 + e * 5, 2)
  173. }
  174. edct = 240;
  175. break;
  176. case 19:
  177. for (e = 1; e < 6; e++) {
  178. Q( - 20 + e * 60, 100, 0, 0)
  179. }
  180. Q(70, -20, 100, 5);
  181. Q(190, -20, 150, 5);
  182. Q(250, -20, 200, 5);
  183. Q(130, -20, 250, 5);
  184. break;
  185. case 20:
  186. for (e = 1; e < 6; e++) {
  187. Q( - 20 + e * 60, 50, 0, 0)
  188. }
  189. Q(70, 80, 100, 1);
  190. Q(190, 80, 100, 1);
  191. Q(250, 80, 100, 1);
  192. Q(130, 80, 100, 1);
  193. Q(70, 50, 150, 1);
  194. Q(190, 50, 150, 1);
  195. Q(250, 50, 150, 1);
  196. Q(130, 50, 150, 1);
  197. Q(70, 20, 200, 1);
  198. Q(190, 20, 200, 1);
  199. Q(250, 20, 200, 1);
  200. Q(130, 20, 200, 1);
  201. break;
  202. case 21:
  203. for (e = 1; e < 15; e++) {
  204. Q(30, 30, e * 25, 3)
  205. }
  206. for (e = 1; e < 5; e++) {
  207. Q(60 + e * 40, 100, 100, 1)
  208. }
  209. for (e = 1; e < 5; e++) {
  210. Q(60 + e * 40, 100, 200, 1)
  211. }
  212. for (e = 1; e < 15; e++) {
  213. Q(290, 30, 250 + e * 25, 3)
  214. }
  215. break;
  216. case 22:
  217. for (e = 1; e < 11; e++) {
  218. Q(30, 60, e * 30, 3)
  219. }
  220. for (e = 1; e < 11; e++) {
  221. Q(30, 110, 15 + e * 30, 3)
  222. }
  223. for (e = 1; e < 11; e++) {
  224. Q(290, 20, 330 + e * 30, 4)
  225. }
  226. for (e = 1; e < 11; e++) {
  227. Q(290, 70, 345 + e * 30, 4)
  228. }
  229. break;
  230. case 23:
  231. for (e = 1; e < 10; e++) {
  232. Q(70, 100, e * 45, 4)
  233. }
  234. for (e = 1; e < 6; e++) {
  235. Q(160, 20, e * 95, 0)
  236. }
  237. for (e = 1; e < 10; e++) {
  238. Q(250, 100, e * 45, 3)
  239. }
  240. break;
  241. case 24:
  242. for (e = 1; e < 10; e++) {
  243. Q(190, 50, e * 45, 3)
  244. }
  245. for (e = 1; e < 6; e++) {
  246. Q(160, -20, e * 150, 5)
  247. }
  248. for (e = 1; e < 10; e++) {
  249. Q(130, 50, e * 45, 4)
  250. }
  251. break;
  252. case 25:
  253. for (e = 1; e < 4; e++) {
  254. Q(100 + e * 30, -20, 0, 5)
  255. }
  256. for (e = 1; e < 4; e++) {
  257. Q(20 + e * 30, -20, 150, 5)
  258. }
  259. for (e = 1; e < 4; e++) {
  260. Q(200 + e * 30, -20, 300, 5)
  261. }
  262. break;
  263. case 26:
  264. Q(40, -20, 0, 5);
  265. Q(280, -20, 100, 5);
  266. for (e = 1; e < 8; e++) {
  267. Q(40 + e * 30, 100, 0, 1)
  268. }
  269. for (e = 1; e < 8; e++) {
  270. Q(280 - e * 30, 50, e * 25, 3)
  271. }
  272. break;
  273. case 27:
  274. for (e = 1; e < 10; e++) {
  275. Q(10 + e * 30, 80, 25, 0)
  276. }
  277. for (e = 1; e < 7; e++) {
  278. Q(280, 50, e * 25, 4)
  279. }
  280. for (e = 1; e < 10; e++) {
  281. Q(10 + e * 30, 80, 350, 0)
  282. }
  283. for (e = 1; e < 7; e++) {
  284. Q(280, 50, 325 + e * 25, 4)
  285. }
  286. for (e = 1; e < 10; e++) {
  287. Q(10 + e * 30, 80, 675, 0)
  288. }
  289. for (e = 1; e < 7; e++) {
  290. Q(280, 50, 650 + e * 25, 4)
  291. }
  292. break;
  293. case 28:
  294. for (e = 1; e < 4; e++) {
  295. Q( - 30 + e * 60, 100, 0, 0)
  296. }
  297. for (e = 1; e < 4; e++) {
  298. Q(30 + e * 60, 70, 25, 0)
  299. }
  300. for (e = 1; e < 4; e++) {
  301. Q(90 + e * 60, 40, 50, 0)
  302. }
  303. for (e = 1; e < 5; e++) {
  304. Q(0 + e * 60, -8, 0, 5)
  305. }
  306. for (e = 1; e < 5; e++) {
  307. Q(0 + e * 60, 80, 100, 1)
  308. }
  309. for (e = 1; e < 5; e++) {
  310. Q(0 + e * 60, 60, 130, 1)
  311. }
  312. for (e = 1; e < 5; e++) {
  313. Q(0 + e * 60, 40, 160, 1)
  314. }
  315. break;
  316. case 29:
  317. for (e = 1; e < 4; e++) {
  318. Q(40 + e * 30, 100, 0, 1);
  319. Q(160 + e * 30, 100, 100, 1);
  320. Q(40 + e * 30, 100, 200, 1);
  321. Q(160 + e * 30, 100, 300, 1);
  322. Q(40 + e * 30, 100, 400, 1);
  323. Q(160 + e * 30, 100, 500, 1)
  324. }
  325. Q(160, -20, 0, 5);
  326. Q(40, -20, 100, 5);
  327. Q(280, -20, 200, 5);
  328. Q(160, -20, 300, 5);
  329. Q(280, -20, 400, 5);
  330. Q(40, -20, 500, 5);
  331. break;
  332. case 30:
  333. for (e = 1; e < 10; e++) {
  334. Q(190, 60, e * 25, 3);
  335. Q(130, 60, e * 25, 4)
  336. }
  337. Q(160, 20, 0, 6);
  338. break;
  339. case 31:
  340. Q(210, -20, 0, 5);
  341. Q(120, -20, 40, 5);
  342. Q(170, -20, 80, 5);
  343. for (e = 1; e < 10; e++) {
  344. Q(50, 50, 100 + e * 20, 3)
  345. }
  346. for (e = 1; e < 9; e++) {
  347. Q(40 + e * 30, 100, 180, 1);
  348. Q(30, 30, 220 + e * 90, 0)
  349. }
  350. break;
  351. case 32:
  352. for (e = 1; e < 10; e++) {
  353. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  354. Q(xp, -20, -40 + e * 40, 5)
  355. }
  356. for (e = 1; e < 10; e++) {
  357. Q(50, 50, 50 + e * 50, 3);
  358. Q(270, 50, 75 + e * 50, 4)
  359. }
  360. break;
  361. case 33:
  362. for (e = 1; e < 6; e++) {
  363. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  364. Q(xp, -20, -40 + e * 40, 5)
  365. }
  366. for (e = 1; e < 6; e++) {
  367. Q( - 20 + e * 60, -30, 240, 1);
  368. Q( - 20 + e * 60, -110, 240, 1);
  369. Q( - 20 + e * 60, -190, 240, 1)
  370. }
  371. for (e = 1; e < 5; e++) {
  372. Q(10 + e * 60, -70, 240, 1);
  373. Q(10 + e * 60, -150, 240, 1);
  374. Q(10 + e * 60, -230, 240, 1)
  375. }
  376. break;
  377. case 34:
  378. for (e = 1; e < 10; e++) {
  379. Q(10 + e * 30, 10 + e * 30, e * 10, 2)
  380. }
  381. for (e = 1; e < 5; e++) {
  382. Q(10 + e * 30, 310 - e * 30, 90 + e * 10, 2)
  383. }
  384. for (e = 1; e < 5; e++) {
  385. Q(160 + e * 30, 160 - e * 30, 130 + e * 10, 2)
  386. }
  387. edct = 240;
  388. break;
  389. case 35:
  390. for (e = 1; e < 5; e++) {
  391. Q(10 + e * 30, 25, 0, 1);
  392. Q(10 + e * 30, 25, 100, 1);
  393. Q(160 + e * 30, 25, 200, 0);
  394. Q(160 + e * 30, 25, 350, 0)
  395. }
  396. for (e = 1; e < 20; e++) {
  397. Q(280, 20, 400 + e * 20, 3)
  398. }
  399. Q(190, -20, 0, 5);
  400. Q(280, -20, 50, 5);
  401. Q(240, -20, 100, 5);
  402. Q(40, -20, 450, 5);
  403. Q(130, -20, 500, 5);
  404. Q(70, -20, 550, 5);
  405. break;
  406. case 36:
  407. for (e = 1; e < 20; e++) {
  408. Q(160, 40 + e * 10, 130 + e * 25, 3)
  409. }
  410. Q(160, -20, 0, 0);
  411. for (e = 1; e < 20; e++) {
  412. Q(160, 40 + e * 10, 430 + e * 25, 4)
  413. }
  414. Q(160, -20, 300, 6);
  415. break;
  416. case 37:
  417. Q(100, 40, 0, 0);
  418. Q(220, 40, 0, 0);
  419. for (e = 1; e < 20; e++) {
  420. Q(100, 30, e * 50, 3);
  421. Q(220, 30, 25 + e * 50, 4)
  422. }
  423. Q(130, -20, 150, 5);
  424. Q(160, -20, 250, 5);
  425. Q(190, -20, 300, 5);
  426. Q(130, -20, 350, 5);
  427. break;
  428. case 38:
  429. for (e = 1; e < 10; e++) {
  430. Q(10 + e * 30, 50, e * 25, 4)
  431. }
  432. for (e = 1; e < 9; e++) {
  433. Q(280 - e * 30, 50, 225 + e * 25, 3)
  434. }
  435. for (e = 1; e < 9; e++) {
  436. Q(40 + e * 30, 50, 425 + e * 25, 4)
  437. }
  438. for (e = 1; e < 9; e++) {
  439. Q(280 - e * 30, 50, 625 + e * 25, 3)
  440. }
  441. for (e = 1; e < 8; e++) {
  442. Q(0 + e * 40, 90, 100, 0)
  443. }
  444. break;
  445. case 39:
  446. for (e = 1; e < 14; e++) {
  447. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  448. lr = Math.floor(Math.random() * 2) + 3;
  449. Q(xp, 85 - e * 5, e * 30, lr)
  450. }
  451. Q(100, -20, 360, 5);
  452. Q(160, -20, 400, 5);
  453. break;
  454. case 40:
  455. Q(65, 110, 0, 2);
  456. Q(256, 110, 0, 2);
  457. Q(65, 260, 0, 2);
  458. Q(256, 260, 0, 2);
  459. for (e = 1; e < 7; e++) {
  460. Q(67 + e * 27, 180 - e * 24, e * 5, 1)
  461. }
  462. edct = 240;
  463. break;
  464. case 41:
  465. Q(128, 170, 0, 1);
  466. Q(160, 170, 0, 1);
  467. Q(192, 170, 0, 1);
  468. Q(128, 130, 90, 1);
  469. Q(160, 130, 90, 1);
  470. Q(192, 130, 90, 1);
  471. Q(128, 90, 180, 1);
  472. Q(160, 90, 180, 1);
  473. Q(192, 90, 180, 1);
  474. for (e = 1; e < 4; e++) {
  475. Q(222, 69 + e * 27, 45 + e * 5, 2)
  476. }
  477. for (e = 1; e < 4; e++) {
  478. Q(98, 123 + e * 27, 45 + e * 5, 2)
  479. }
  480. for (e = 1; e < 4; e++) {
  481. Q(222, 177 + e * 27, 45 + e * 5, 2)
  482. }
  483. edct = 240;
  484. break;
  485. case 42:
  486. for (e = 1; e < 3; e++) {
  487. Q(10 + e * 30, 30, 0, 0);
  488. Q(220 + e * 30, 30, 0, 0)
  489. }
  490. for (e = 1; e < 6; e++) {
  491. Q(70 + e * 30, 38, 25, 1)
  492. }
  493. for (e = 1; e < 15; e++) {
  494. Q(160, 30, 70 + e * 25, 3)
  495. }
  496. break;
  497. case 43:
  498. for (e = 1; e < 3; e++) {
  499. Q(10 + e * 30, 30, 0, 1);
  500. Q(220 + e * 30, 30, 0, 1)
  501. }
  502. for (e = 1; e < 6; e++) {
  503. Q(70 + e * 30, 88, 60, 0)
  504. }
  505. for (e = 1; e < 15; e++) {
  506. Q(160, 80, 85 + e * 25, 3)
  507. }
  508. break;
  509. case 44:
  510. for (e = 1; e < 3; e++) {
  511. Q(0 + e * 30, 30, 0, 1);
  512. Q(230 + e * 30, 30, 0, 1);
  513. Q(0 + e * 30, 30, 100, 1);
  514. Q(230 + e * 30, 30, 100, 1);
  515. Q(0 + e * 30, 30, 200, 1);
  516. Q(230 + e * 30, 30, 200, 1)
  517. }
  518. for (e = 1; e < 4; e++) {
  519. Q(40 + e * 60, 38, 0, 0);
  520. Q(40 + e * 60, 38, 100, 0)
  521. }
  522. Q(130, -20, 100, 5);
  523. Q(190, -20, 200, 5);
  524. Q(130, -20, 300, 5);
  525. Q(190, -20, 400, 5);
  526. break;
  527. case 45:
  528. for (e = 1; e < 3; e++) {
  529. Q(50 + e * 30, 70, 20, 1);
  530. Q(110 + e * 30, 50, 40, 1);
  531. Q(170 + e * 30, 30, 60, 1)
  532. }
  533. for (e = 1; e < 3; e++) {
  534. Q(50 + e * 30, 70, 20 + 300, 1);
  535. Q(110 + e * 30, 50, 40 + 300, 1);
  536. Q(170 + e * 30, 30, 60 + 300, 1)
  537. }
  538. Q(30, -20, 0, 5);
  539. Q(290, -20, 0, 5);
  540. Q(30, -20, 200, 5);
  541. Q(290, -20, 200, 5);
  542. Q(30, -20, 400, 5);
  543. Q(290, -20, 400, 5);
  544. break;
  545. case 46:
  546. for (e = 1; e < 10; e++) {
  547. Q(160, 40, -50 + e * 50, 3);
  548. Q(160, 40, -25 + e * 50, 4)
  549. }
  550. for (e = 1; e < 8; e++) {
  551. Q(40 + e * 30, 40, 600, 0)
  552. }
  553. Q(30, -20, 0, 1);
  554. Q(290, -20, 0, 1);
  555. Q(30, -20, 200, 1);
  556. Q(290, -20, 200, 1);
  557. Q(30, -20, 400, 1);
  558. Q(290, -20, 400, 1);
  559. Q(30, -20, 600, 1);
  560. Q(290, -20, 600, 1);
  561. break;
  562. case 47:
  563. for (e = 1; e < 6; e++) {
  564. Q(160, -20 - e * 35, 0, 5);
  565. Q(70, -20 - e * 35, 100, 5);
  566. Q(250, -20 - e * 35, 200, 5)
  567. }
  568. break;
  569. case 48:
  570. for (e = 1; e < 10; e++) {
  571. Q(160, 40, e * 50, 3);
  572. Q(160, 40, 500 + e * 50, 4)
  573. }
  574. for (e = 1; e < 10; e++) {
  575. Q(130, 40, e * 50, 1);
  576. Q(190, 40, 500 + e * 50, 1)
  577. }
  578. for (e = 1; e < 4; e++) {
  579. Q(10 + e * 30, 40, 100 + e * 50, 0);
  580. Q(310 - e * 30, 40, 500 + e * 50, 0)
  581. }
  582. break;
  583. case 49:
  584. for (e = 1; e < 10; e++) {
  585. Q(120, 40, e * 50, 1);
  586. Q(200, 40, e * 50, 1)
  587. }
  588. for (e = 1; e < 4; e++) {
  589. Q(120 - e * 30, 40, 100 + e * 50, 0);
  590. Q(200 + e * 30, 40, 100 + e * 50, 0)
  591. }
  592. break;
  593. case 50:
  594. Q(100, 30, 0, 0);
  595. Q(100, 60, 15, 1);
  596. Q(100, 95, 30, 5);
  597. Q(220, 30, 0 + 50, 0);
  598. Q(220, 60, 15 + 50, 1);
  599. Q(220, 95, 30 + 50, 5);
  600. Q(160, 30, 0 + 100, 0);
  601. Q(160, 60, 15 + 100, 1);
  602. Q(160, 95, 30 + 100, 5);
  603. break;
  604. case 51:
  605. for (e = 1; e < 6; e++) {
  606. Q( - 20 + e * 60, 150, e * 5, 2);
  607. Q( - 20 + e * 60, 100, 150 + e * 5, 2);
  608. Q( - 20 + e * 60, 50, 300 + e * 5, 2)
  609. }
  610. for (e = 1; e < 5; e++) {
  611. Q(10 + e * 60, -20, 0, 5);
  612. Q(10 + e * 60, -20, 120, 1);
  613. Q(10 + e * 60, -20, 200, 0)
  614. }
  615. edct = 240;
  616. break;
  617. case 52:
  618. for (e = 1; e < 25; e++) {
  619. Q(160, 50, e * 25, 3)
  620. }
  621. for (e = 1; e < 6; e++) {
  622. Q(70, 30 + e * 30, e * 15, 0)
  623. }
  624. for (e = 1; e < 6; e++) {
  625. Q(250, 200 - e * 20, 50 + e * 15, 1)
  626. }
  627. break;
  628. case 53:
  629. for (e = 1; e < 10; e++) {
  630. Q(10 + e * 30, 50, -85 + e * 85, 0);
  631. Q(10 + e * 30, 80, -85 + e * 85, 1)
  632. }
  633. break;
  634. case 54:
  635. for (e = 1; e < 6; e++) {
  636. Q( - 20 + e * 60, 70, 0, 0);
  637. Q( - 20 + e * 60, 120, 100, 1)
  638. }
  639. for (e = 1; e < 5; e++) {
  640. Q(10 + e * 60, -20, 0, 5)
  641. }
  642. break;
  643. case 55:
  644. for (e = 1; e < 6; e++) {
  645. Q( - 20 + e * 60, 90, 0, 1)
  646. }
  647. for (e = 1; e < 5; e++) {
  648. Q(10 + e * 60, 120, 0, 1)
  649. }
  650. for (e = 1; e < 6; e++) {
  651. Q( - 20 + e * 60, 50, 70, 0)
  652. }
  653. for (e = 1; e < 5; e++) {
  654. Q(10 + e * 60, 80, 70, 0)
  655. }
  656. break;
  657. case 56:
  658. for (e = 1; e < 4; e++) {
  659. Q( - 80 + e * 120, 50, 0, 1)
  660. }
  661. for (e = 1; e < 5; e++) {
  662. Q(10 + e * 60, 80, 0, 1)
  663. }
  664. for (e = 1; e < 3; e++) {
  665. Q( - 10 + e * 110, 110, 0, 1)
  666. }
  667. break;
  668. case 57:
  669. for (e = 1; e < 4; e++) {
  670. Q( - 80 + e * 120, 110, 0, 0)
  671. }
  672. for (e = 1; e < 5; e++) {
  673. Q(10 + e * 60, 80, 0, 0)
  674. }
  675. for (e = 1; e < 3; e++) {
  676. Q( - 10 + e * 110, 50, 0, 0)
  677. }
  678. break;
  679. case 58:
  680. for (e = 1; e < 4; e++) {
  681. Q(70, 0 + e * 40, 50, 0);
  682. Q(130, 0 + e * 40, 50, 0);
  683. Q(190, 0 + e * 40, 50, 0);
  684. Q(250, 0 + e * 40, 50, 0)
  685. }
  686. Q(100, -50, 0, 5);
  687. Q(160, -50, 0, 5);
  688. Q(220, -50, 0, 5);
  689. break;
  690. case 59:
  691. for (e = 1; e < 6; e++) {
  692. Q(40 + e * 40, 40, 0, 0)
  693. }
  694. for (e = 1; e < 5; e++) {
  695. Q(240, 40 + e * 40, 0, 0);
  696. Q(240 - e * 40, 200, 0, 0)
  697. }
  698. break;
  699. case 60:
  700. for (e = 1; e < 6; e++) {
  701. Q(40 + e * 40, 40, 0, 1)
  702. }
  703. for (e = 1; e < 5; e++) {
  704. Q(80, 40 + e * 40, 0, 1);
  705. Q(280 - e * 40, 120, 0, 1);
  706. Q(280 - e * 40, 200, 0, 1)
  707. }
  708. break;
  709. case 61:
  710. for (e = 1; e < 4; e++) {
  711. Q(80 + e * 40, 40, 0, 1)
  712. }
  713. for (e = 1; e < 6; e++) {
  714. Q(80, 0 + e * 40, 0, 0);
  715. Q(240, 0 + e * 40, 0, 0)
  716. }
  717. break;
  718. case 62:
  719. for (e = 1; e < 8; e++) {
  720. Q(0 + e * 40, -30, 0 + e * 20, 5)
  721. }
  722. break;
  723. case 63:
  724. for (e = 1; e < 5; e++) {
  725. Q( - 40 + e * 80, 20 + e * 20, 30, 1)
  726. }
  727. for (e = 1; e < 4; e++) {
  728. Q(0 + e * 80, -30, 0, 5)
  729. }
  730. break;
  731. case 64:
  732. for (e = 1; e < 5; e++) {
  733. Q( - 40 + e * 80, -40, -100 + e * 100, 9)
  734. }
  735. break;
  736. case 65:
  737. Q(80, -40, 0, 9);
  738. Q(240, -40, 150, 9);
  739. Q(120, -40, 50, 5);
  740. Q(200, -40, 100, 5);
  741. break;
  742. case 66:
  743. for (e = 1; e < 6; e++) {
  744. Q(10 + e * 30, -10 + e * 30, 0, 1);
  745. Q(10 + e * 30, -10 + e * 30, 150, 1)
  746. }
  747. for (e = 1; e < 5; e++) {
  748. Q(310 - e * 30, -10 + e * 30, 0, 0);
  749. Q(310 - e * 30, -10 + e * 30, 150, 0)
  750. }
  751. break;
  752. case 67:
  753. for (e = 1; e < 6; e++) {
  754. Q(40, -40, -150 + e * 150, 5);
  755. Q(280, -40, -75 + e * 150, 5)
  756. }
  757. for (e = 1; e < 5; e++) {
  758. Q(10 + e * 60, 40, 0, 1);
  759. Q(10 + e * 60, 40, 200, 1);
  760. Q(10 + e * 60, 40, 300, 1);
  761. Q(10 + e * 60, 40, 400, 0)
  762. }
  763. break;
  764. case 68:
  765. for (e = 1; e < 26; e++) {
  766. Q(160, 60, -40 + e * 40, 1)
  767. }
  768. for (e = 1; e < 14; e++) {
  769. Q(100, 90, -100 + e * 100, 0);
  770. Q(220, 90, -100 + e * 100, 0)
  771. }
  772. break;
  773. case 69:
  774. Q(160, 60, 300, 3);
  775. for (e = 1; e < 10; e++) {
  776. Q(10 + e * 30, 90, -30 + e * 30, 1);
  777. Q(10 + e * 30, 90, 30 + e * 30, 0)
  778. }
  779. break;
  780. case 70:
  781. Q(160, 50, 0, 3);
  782. Q(160, 65, 0, 1);
  783. Q(160, 50, 45, 4);
  784. for (e = 1; e < 15; e++) {
  785. Q(160, 50, e * 90, 3)
  786. }
  787. for (e = 1; e < 29; e++) {
  788. Q(160, 65, e * 45, 1)
  789. }
  790. for (e = 1; e < 15; e++) {
  791. Q(160, 50, 45 + e * 90, 4)
  792. }
  793. break;
  794. case 71:
  795. for (e = 1; e < 10; e++) {
  796. Q(70, 50, e * 45, 4)
  797. }
  798. for (e = 1; e < 10; e++) {
  799. Q(70, 65, e * 45, 1)
  800. }
  801. for (e = 1; e < 10; e++) {
  802. Q(250, 50, e * 45, 3)
  803. }
  804. for (e = 1; e < 10; e++) {
  805. Q(250, 65, e * 45, 1)
  806. }
  807. break;
  808. case 72:
  809. for (e = 1; e < 40; e++) {
  810. xp = (Math.floor(Math.random() * 15) + 1) * 20;
  811. Q(xp, 80, e * 30, 1)
  812. }
  813. break;
  814. case 73:
  815. for (e = 1; e < 12; e++) {
  816. Q(100, 150 - e * 10, e * 25, 1)
  817. }
  818. for (e = 1; e < 6; e++) {
  819. Q(220, 180 - e * 30, 200 + e * 25, 0)
  820. }
  821. for (e = 1; e < 6; e++) {
  822. Q(40, 180 - e * 30, 300 + e * 25, 0)
  823. }
  824. for (e = 1; e < 12; e++) {
  825. Q(280, 150 - e * 10, 400 + e * 25, 1)
  826. }
  827. Q(140, -20, 400, 5);
  828. Q(180, -20, 400, 5);
  829. break;
  830. case 74:
  831. for (e = 1; e < 5; e++) {
  832. Q(160 + e * 30, 60, 0, 1);
  833. Q(160 + e * 30, 60, 100, 1);
  834. Q(160 + e * 30, 60, 200, 1);
  835. Q(160 + e * 30, 60, 300, 1);
  836. Q(160 + e * 30, 60, 400, 1);
  837. Q(160 + e * 30, 60, 500, 1)
  838. }
  839. for (e = 1; e < 6; e++) {
  840. Q(100, 200 - e * 30, 40 + e * 5, 0)
  841. }
  842. Q(40, -20, 200, 5);
  843. Q(160, -20, 300, 5);
  844. Q(40, -20, 400, 5);
  845. break;
  846. case 75:
  847. for (e = 1; e < 4; e++) {
  848. Q(150 - e * 30, 60, e * 10, 1);
  849. Q(170 + e * 30, 60, e * 10, 1);
  850. Q(150 - e * 30, 60, 100 + e * 10, 1);
  851. Q(170 + e * 30, 60, 100 + e * 10, 1);
  852. Q(150 - e * 30, 60, 200 + e * 10, 1);
  853. Q(170 + e * 30, 60, 200 + e * 10, 1)
  854. }
  855. Q(160, 60, 10, 6);
  856. break;
  857. case 76:
  858. Q(40, -10, 0, 5);
  859. Q(280, -10, 0, 5);
  860. Q(70, -10, 100, 5);
  861. Q(250, -10, 100, 5);
  862. Q(100, -10, 200, 5);
  863. Q(220, -10, 200, 5);
  864. for (e = 1; e < 6; e++) {
  865. Q(70 + e * 30, 100, 300 + e * 5, 2);
  866. Q(70 + e * 30, 50, 400 + e * 5, 2)
  867. }
  868. Q(160, 60, 10, 6);
  869. edct = 240;
  870. break;
  871. case 77:
  872. for (e = 1; e < 6; e++) {
  873. Q(160, 70, 20 + e * 70, 0)
  874. }
  875. Q(160, 70, 0, 6);
  876. for (e = 1; e < 5; e++) {
  877. Q(160 + e * 30, 70, 370 + e * 70, 0);
  878. Q(160 - e * 30, 70, 370 + e * 70, 0)
  879. }
  880. Q(160, 70, 720, 6);
  881. break;
  882. case 78:
  883. for (e = 1; e < 5; e++) {
  884. Q(10 + e * 30, 120, 0, 1);
  885. Q(10 + e * 30, 30, 0, 1)
  886. }
  887. for (e = 1; e < 3; e++) {
  888. Q(40, 30 + e * 30, 0, 1);
  889. Q(130, 30 + e * 30, 0, 1)
  890. }
  891. Q(160, -20, 150, 5);
  892. Q(160, -60, 150, 5);
  893. Q(160, -100, 150, 5);
  894. for (e = 1; e < 5; e++) {
  895. Q(160 + e * 30, 120, 250, 1);
  896. Q(160 + e * 30, 30, 250, 1)
  897. }
  898. for (e = 1; e < 3; e++) {
  899. Q(190, 30 + e * 30, 250, 1);
  900. Q(280, 30 + e * 30, 250, 1)
  901. }
  902. Q(160, -20, 400, 5);
  903. Q(160, -60, 400, 5);
  904. Q(160, -100, 400, 5);
  905. for (e = 1; e < 5; e++) {
  906. Q(10 + e * 30, 120, 500, 1);
  907. Q(10 + e * 30, 30, 500, 1)
  908. }
  909. for (e = 1; e < 3; e++) {
  910. Q(40, 30 + e * 30, 500, 1);
  911. Q(130, 30 + e * 30, 500, 1)
  912. }
  913. break;
  914. case 79:
  915. Q(160, 40, 0, 6);
  916. for (e = 1; e < 5; e++) {
  917. Q( - 10 + e * 30, 100 + e * 30, 100 + e * 10, 2);
  918. Q(180 + e * 30, 250 - e * 30, 200 + e * 10, 2)
  919. }
  920. Q(70, 50, 300, 2);
  921. Q(100, 50, 300, 2);
  922. Q(220, 50, 300, 2);
  923. Q(250, 50, 300, 2);
  924. edct = 240;
  925. break;
  926. case 80:
  927. Q(40, 160, 0, 1);
  928. Q(100, 120, 0, 1);
  929. Q(160, 90, 0, 1);
  930. Q(220, 120, 0, 1);
  931. Q(280, 160, 0, 1);
  932. Q(40, 160, 150, 1);
  933. Q(100, 120, 150, 1);
  934. Q(160, 90, 150, 1);
  935. Q(220, 120, 150, 1);
  936. Q(280, 160, 150, 1);
  937. Q(70, 0, 0, 5);
  938. Q(130, 0, 0, 5);
  939. Q(190, 0, 0, 5);
  940. Q(250, 0, 0, 5);
  941. Q(70, 0, 150, 5);
  942. Q(130, 0, 150, 5);
  943. Q(190, 0, 150, 5);
  944. Q(250, 0, 150, 5);
  945. break;
  946. case 81:
  947. Q(100, -20, 30, 5);
  948. Q(160, -20, 60, 5);
  949. Q(300, -20, 90, 5);
  950. Q(20, -20, 120, 5);
  951. Q(200, -20, 150, 5);
  952. Q(160, -20, 180, 5);
  953. for (e = 1; e < 10; e++) {
  954. Q(10 + e * 30, -20, 300, 5)
  955. }
  956. break;
  957. case 82:
  958. for (e = 1; e < 10; e++) {
  959. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  960. Q(xp, 280 - e * 25, e * 5, 2)
  961. }
  962. edct = 240;
  963. break;
  964. case 83:
  965. for (e = 1; e < 5; e++) {
  966. Q(10 + e * 60, 150, e * 5, 2)
  967. }
  968. for (e = 1; e < 6; e++) {
  969. Q(340 - e * 60, 50, 100 + e * 5, 2)
  970. }
  971. for (e = 1; e < 6; e++) {
  972. Q( - 20 + e * 60, 250, 170 + e * 5, 2)
  973. }
  974. for (e = 1; e < 5; e++) {
  975. Q(10 + e * 60, 150, 300 + e * 5, 2)
  976. }
  977. for (e = 1; e < 6; e++) {
  978. Q(340 - e * 60, 50, 400 + e * 5, 2)
  979. }
  980. for (e = 1; e < 6; e++) {
  981. Q( - 20 + e * 60, 250, 470 + e * 5, 2)
  982. }
  983. edct = 240;
  984. break;
  985. case 84:
  986. for (e = 1; e < 5; e++) {
  987. Q(310 - e * 60, 70, 0, 1);
  988. Q(10 + e * 60, 120, 0, 1)
  989. }
  990. for (e = 1; e < 5; e++) {
  991. Q(310 - e * 60, 70, 400, 1);
  992. Q(10 + e * 60, 120, 400, 1)
  993. }
  994. Q(20, 0, 100, 5);
  995. Q(300, 0, 300, 5);
  996. Q(20, 0, 500, 5);
  997. Q(300, 0, 700, 5);
  998. break;
  999. case 85:
  1000. Q(40, 0, 0, 5);
  1001. Q(160, 0, 0, 5);
  1002. Q(280, 0, 0, 5);
  1003. for (e = 1; e < 35; e++) {
  1004. Q(50, 50, 30 + e * 25, 3)
  1005. }
  1006. for (e = 1; e < 25; e++) {
  1007. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  1008. Q(xp, -25, e * 40, 1)
  1009. }
  1010. break;
  1011. case 86:
  1012. Q(130, 180, 0, 0);
  1013. Q(160, 200, 0, 0);
  1014. Q(190, 180, 0, 0);
  1015. for (e = 1; e < 15; e++) {
  1016. Q(120, 15, -50 + e * 70, 1);
  1017. Q(200, 15, -50 + e * 70, 1)
  1018. }
  1019. Q(280, 30, 250, 2);
  1020. Q(75, 150, 350, 2);
  1021. Q(35, 70, 450, 2);
  1022. Q(290, 300, 550, 2);
  1023. Q(230, 95, 650, 2);
  1024. Q(60, 340, 750, 2);
  1025. Q(40, 240, 850, 2);
  1026. Q(260, 200, 950, 2);
  1027. edct = 240;
  1028. break;
  1029. case 87:
  1030. for (e = 1; e < 4; e++) {
  1031. Q(20 + e * 25, 60, 0 + e * 5, 2)
  1032. }
  1033. for (e = 1; e < 4; e++) {
  1034. Q(200 + e * 25, 90, 40 + e * 5, 2)
  1035. }
  1036. for (e = 1; e < 4; e++) {
  1037. Q(20 + e * 25, 120, 80 + e * 5, 2)
  1038. }
  1039. for (e = 1; e < 4; e++) {
  1040. Q(200 + e * 25, 150, 120 + e * 5, 2)
  1041. }
  1042. for (e = 1; e < 4; e++) {
  1043. Q(20 + e * 25, 180, 160 + e * 5, 2)
  1044. }
  1045. for (e = 1; e < 4; e++) {
  1046. Q(200 + e * 25, 210, 200 + e * 5, 2)
  1047. }
  1048. for (e = 1; e < 4; e++) {
  1049. Q(20 + e * 25, 240, 240 + e * 5, 2)
  1050. }
  1051. for (e = 1; e < 4; e++) {
  1052. Q(200 + e * 25, 270, 280 + e * 5, 2)
  1053. }
  1054. for (e = 1; e < 4; e++) {
  1055. Q(96 + e * 32, 60, 160 + e * 5, 1)
  1056. }
  1057. for (e = 1; e < 4; e++) {
  1058. Q(96 + e * 32, 40, 180 + e * 5, 1)
  1059. }
  1060. edct = 240;
  1061. break;
  1062. case 88:
  1063. for (e = 1; e < 6; e++) {
  1064. Q( - 20 + e * 60, 100, e * 5, 2);
  1065. Q( - 20 + e * 60, 140, 100 + e * 5, 2);
  1066. Q( - 20 + e * 60, 180, 200 + e * 5, 2);
  1067. Q( - 20 + e * 60, 220, 300 + e * 5, 2)
  1068. }
  1069. for (e = 1; e < 5; e++) {
  1070. Q(310 - e * 60, 10, 30 + e * 5, 1);
  1071. Q(310 - e * 60, 50, 30 + e * 5, 1);
  1072. Q(310 - e * 60, 10, 100 + e * 5, 1)
  1073. }
  1074. edct = 240;
  1075. break;
  1076. case 89:
  1077. for (e = 1; e < 6; e++) {
  1078. Q( - 20 + e * 60, 80 + e * 10, e * 5, 1);
  1079. Q( - 20 + e * 60, 110 + e * 10, e * 5, 1);
  1080. Q( - 20 + e * 60, 140 + e * 10, e * 5, 1)
  1081. }
  1082. for (e = 1; e < 6; e++) {
  1083. Q(340 - e * 60, 10 + e * 10, 120 + e * 5, 0);
  1084. Q(340 - e * 60, 40 + e * 10, 120 + e * 5, 0);
  1085. Q(340 - e * 60, 70 + e * 10, 120 + e * 5, 0)
  1086. }
  1087. break;
  1088. case 90:
  1089. for (e = 1; e < 6; e++) {
  1090. Q( - 32 + e * 64, 190, e * 5, 0)
  1091. }
  1092. for (e = 1; e < 5; e++) {
  1093. Q(0 + e * 64, 30, 25 + e * 5, 0)
  1094. }
  1095. for (e = 1; e < 5; e++) {
  1096. Q(0 + e * 64, 60, 50 + e * 5, 1)
  1097. }
  1098. for (e = 1; e < 5; e++) {
  1099. Q(0 + e * 64, 110, 250 + e * 5, 1)
  1100. }
  1101. for (e = 1; e < 5; e++) {
  1102. Q(0 + e * 64, 180, 450 + e * 5, 1)
  1103. }
  1104. break;
  1105. case 91:
  1106. var n = 0;
  1107. var r = 0;
  1108. for (e = 1; e < 10; e++) {
  1109. Q(10 + e * 30, 200 + n, e * 10, 1);
  1110. n += r;
  1111. r -= 1.5
  1112. }
  1113. r = 0;
  1114. for (e = 1; e < 9; e++) {
  1115. Q(280 - e * 30, 196 + n, 90 + e * 10, 1);
  1116. n += r;
  1117. r -= 1.5
  1118. }
  1119. r = 0;
  1120. for (e = 1; e < 9; e++) {
  1121. Q(40 + e * 30, 192 + n, 180 + e * 10, 1);
  1122. n += r;
  1123. r -= 1.5
  1124. }
  1125. r = 0;
  1126. for (e = 1; e < 9; e++) {
  1127. Q(280 - e * 30, 188 + n, 270 + e * 10, 1);
  1128. n += r;
  1129. r -= 1.5
  1130. }
  1131. break;
  1132. case 92:
  1133. for (e = 1; e < 6; e++) {
  1134. Q( - 20 + e * 60, 100, e * 5, 2);
  1135. Q( - 20 + e * 60, 160, 100 + e * 5, 2);
  1136. Q( - 20 + e * 60, 220, 200 + e * 5, 2);
  1137. Q( - 20 + e * 60, 280, 300 + e * 5, 2)
  1138. }
  1139. for (e = 1; e < 5; e++) {
  1140. Q(310 - e * 60, 130, 400 + e * 5, 2);
  1141. Q(310 - e * 60, 190, 500 + e * 5, 2);
  1142. Q(310 - e * 60, 250, 600 + e * 5, 2)
  1143. }
  1144. edct = 240;
  1145. break;
  1146. case 93:
  1147. for (e = 1; e < 4; e++) {
  1148. Q(40, 0 + e * 50, 0, 3);
  1149. Q(280, 0 + e * 50, 90, 4);
  1150. Q(40, 0 + e * 50, 180, 3);
  1151. Q(280, 0 + e * 50, 270, 4)
  1152. }
  1153. for (e = 1; e < 4; e++) {
  1154. Q(100 + e * 30, -20, 45, 5);
  1155. Q(100 + e * 30, -20, 135, 5);
  1156. Q(100 + e * 30, -20, 225, 5);
  1157. Q(100 + e * 30, -20, 315, 5)
  1158. }
  1159. break;
  1160. case 94:
  1161. for (e = 1; e < 10; e++) {
  1162. Q(160, 40, -50 + e * 50, 3);
  1163. Q(160, 40, -25 + e * 50, 4)
  1164. }
  1165. for (e = 1; e < 8; e++) {
  1166. Q(40 + e * 30, 80, 0, 0)
  1167. }
  1168. Q(30, -20, 0, 5);
  1169. Q(290, -20, 0, 5);
  1170. Q(30, -20, 200, 5);
  1171. Q(290, -20, 200, 5);
  1172. Q(30, -20, 400, 5);
  1173. Q(290, -20, 400, 5);
  1174. Q(30, -20, 600, 5);
  1175. Q(290, -20, 600, 5);
  1176. break;
  1177. case 95:
  1178. for (e = 1; e < 15; e++) {
  1179. Q(120, 40, e * 50, 1);
  1180. Q(200, 40, e * 50, 1)
  1181. }
  1182. for (e = 1; e < 4; e++) {
  1183. Q(0 + e * 30, 40, 100 + e * 50, 0);
  1184. Q(320 - e * 30, 40, 100 + e * 50, 0);
  1185. Q(0 + e * 30, 40, 300 + e * 50, 0);
  1186. Q(320 - e * 30, 40, 300 + e * 50, 0)
  1187. }
  1188. for (e = 1; e < 6; e++) {
  1189. Q(160, -20, 100 + e * 100, 5)
  1190. }
  1191. break;
  1192. case 96:
  1193. for (e = 1; e < 6; e++) {
  1194. Q( - 20 + e * 60, 150, e * 5, 2);
  1195. Q( - 20 + e * 60, 120, 150 + e * 5, 2);
  1196. Q( - 20 + e * 60, 90, 300 + e * 5, 2)
  1197. }
  1198. for (e = 1; e < 5; e++) {
  1199. Q(10 + e * 60, -20, 0, 5);
  1200. Q(10 + e * 60, -20, 150, 5);
  1201. Q(10 + e * 60, -20, 300, 5)
  1202. }
  1203. edct = 240;
  1204. break;
  1205. case 97:
  1206. for (e = 1; e < 11; e++) {
  1207. Q(160, 20 + e * 25, 30 + e * 85, 2)
  1208. }
  1209. Q(160, 30, 0, 6);
  1210. for (e = 1; e < 11; e++) {
  1211. Q(100, 20 + e * 25, 60 + e * 85, 2)
  1212. }
  1213. Q(100, 30, 30, 0);
  1214. for (e = 1; e < 11; e++) {
  1215. Q(220, 20 + e * 25, 60 + e * 85, 2)
  1216. }
  1217. Q(220, 30, 30, 0);
  1218. edct = 240;
  1219. break;
  1220. case 98:
  1221. for (e = 1; e < 6; e++) {
  1222. Q(220, 40, 30 + e * 25, 3);
  1223. Q(100, 40, 195 + e * 25, 3)
  1224. }
  1225. Q(160, -20, 0, 6);
  1226. Q(40, -20, 50, 5);
  1227. Q(280, -20, 100, 5);
  1228. Q(40, -20, 150, 5);
  1229. Q(280, -20, 200, 5);
  1230. Q(40, -20, 250, 5);
  1231. Q(280, -20, 300, 5);
  1232. break;
  1233. case 99:
  1234. Q(40, 100, 0, 0);
  1235. Q(70, 100, 0, 1);
  1236. Q(100, 100, 0, 5);
  1237. Q(70, 70, 50, 0);
  1238. Q(100, 70, 50, 1);
  1239. Q(130, 70, 50, 5);
  1240. Q(100, 40, 100, 0);
  1241. Q(130, 40, 100, 1);
  1242. Q(160, 40, 100, 5);
  1243. Q(130, 10, 150, 0);
  1244. Q(160, 10, 150, 1);
  1245. Q(190, 10, 150, 5);
  1246. Q(160, -20, 200, 0);
  1247. Q(190, -20, 200, 1);
  1248. Q(210, -20, 200, 5);
  1249. Q(190, -50, 250, 0);
  1250. Q(210, -50, 250, 1);
  1251. Q(240, -50, 250, 5);
  1252. Q(210, -80, 300, 0);
  1253. Q(240, -80, 300, 1);
  1254. Q(270, -80, 300, 5);
  1255. break;
  1256. case 100:
  1257. for (e = 1; e < 9; e++) {
  1258. Q(0 + e * 35, -60, e * 30, 9)
  1259. }
  1260. break;
  1261. case 101:
  1262. for (e = 1; e < 5; e++) {
  1263. Q(60 + e * 40, -60, e * 15, 9)
  1264. }
  1265. break;
  1266. case 102:
  1267. Q(35, -60, 0, 5);
  1268. Q(285, -60, 50, 5);
  1269. Q(35, -60, 100, 5);
  1270. Q(285, -60, 150, 5);
  1271. for (e = 1; e < 3; e++) {
  1272. Q(30 + e * 40, 50, 50, 1);
  1273. Q(170 + e * 40, 50, 50, 1);
  1274. Q(30 + e * 40, 50, 100, 1);
  1275. Q(170 + e * 40, 50, 100, 1);
  1276. Q(30 + e * 40, 50, 150, 1);
  1277. Q(170 + e * 40, 50, 150, 1);
  1278. Q(30 + e * 40, 50, 200, 1);
  1279. Q(170 + e * 40, 50, 200, 1)
  1280. }
  1281. Q(160, 80, 300, 8);
  1282. break;
  1283. case 103:
  1284. Q(160, 80, 50, 8);
  1285. for (e = 1; e < 5; e++) {
  1286. Q(120, 30 + e * 35, 0 + e * 5, 0)
  1287. }
  1288. for (e = 1; e < 5; e++) {
  1289. Q(200, 30 + e * 35, 0 + e * 5, 0)
  1290. }
  1291. break;
  1292. case 104:
  1293. Q(160, 80, 0, 6);
  1294. Q(35, -60, 100, 9);
  1295. Q(285, -60, 150, 9);
  1296. Q(35, -60, 200, 9);
  1297. Q(285, -60, 250, 9);
  1298. Q(35, -60, 300, 9);
  1299. Q(285, -60, 350, 9);
  1300. break;
  1301. case 105:
  1302. for (e = 1; e < 9; e++) {
  1303. Q(10 + e * 30, -10 + e * 30, 0, 0)
  1304. }
  1305. for (e = 1; e < 5; e++) {
  1306. Q(310 - e * 30, -10 + e * 30, 0, 0)
  1307. }
  1308. for (e = 1; e < 4; e++) {
  1309. Q(160 - e * 30, 140 + e * 30, 0, 0)
  1310. }
  1311. break;
  1312. case 106:
  1313. for (e = 1; e < 5; e++) {
  1314. Q(190 - e * 30, -10 + e * 30, 0, 0);
  1315. Q(280 - e * 30, 80 + e * 30, 0, 0)
  1316. }
  1317. for (e = 1; e < 6; e++) {
  1318. Q(70 + e * 30, 110, 0, 0)
  1319. }
  1320. Q(190, 50, 0, 0);
  1321. Q(220, 80, 0, 0);
  1322. Q(100, 140, 0, 0);
  1323. Q(130, 170, 0, 0);
  1324. break;
  1325. case 107:
  1326. for (e = 1; e < 6; e++) {
  1327. Q( - 20 + e * 60, -40, -30 + e * 30, 5);
  1328. Q( - 20 + e * 60, -40, 150 + e * 30, 5)
  1329. }
  1330. for (e = 1; e < 5; e++) {
  1331. Q(10 + e * 60, 40, 0, 1);
  1332. Q(10 + e * 60, 40, 130, 1)
  1333. }
  1334. break;
  1335. case 108:
  1336. for (e = 1; e < 4; e++) {
  1337. Q(180 - e * 40, -40, -100 + e * 100, 9);
  1338. Q(140 + e * 40, -40, -100 + e * 100, 9)
  1339. }
  1340. break;
  1341. case 109:
  1342. for (e = 1; e < 24; e++) {
  1343. Q(160, -40, -30 + e * 30, 5)
  1344. }
  1345. Q(100, 50, 0, 6);
  1346. Q(220, 50, 0, 6);
  1347. break;
  1348. case 110:
  1349. for (e = 1; e < 40; e++) {
  1350. xp = (Math.floor(Math.random() * 15) + 1) * 20;
  1351. Q(xp, 80, e * 40, 0)
  1352. }
  1353. break;
  1354. case 111:
  1355. for (e = 1; e < 4; e++) {
  1356. Q(40 + e * 60, 160, 0, 0);
  1357. Q(40 + e * 60, 40, 0, 0)
  1358. }
  1359. Q(100, 100, 0, 0);
  1360. Q(220, 100, 0, 0);
  1361. Q(160, 100, 15, 6);
  1362. break;
  1363. case 112:
  1364. Q(145, 100, 0, 0);
  1365. Q(175, 100, 0, 0);
  1366. Q(85, 70, 15, 1);
  1367. Q(115, 70, 15, 1);
  1368. Q(205, 70, 15, 1);
  1369. Q(235, 70, 15, 1);
  1370. Q(25, -20, 50, 5);
  1371. Q(55, -20, 50, 5);
  1372. Q(265, -20, 50, 5);
  1373. Q(295, -20, 50, 5);
  1374. Q(145, 100, 200, 0);
  1375. Q(175, 100, 200, 0);
  1376. Q(85, 70, 215, 1);
  1377. Q(115, 70, 215, 1);
  1378. Q(205, 70, 215, 1);
  1379. Q(235, 70, 215, 1);
  1380. Q(25, -20, 250, 5);
  1381. Q(55, -20, 250, 5);
  1382. Q(265, -20, 250, 5);
  1383. Q(295, -20, 250, 5);
  1384. Q(145, 100, 400, 0);
  1385. Q(175, 100, 400, 0);
  1386. Q(85, 70, 415, 1);
  1387. Q(115, 70, 415, 1);
  1388. Q(205, 70, 415, 1);
  1389. Q(235, 70, 415, 1);
  1390. Q(25, -20, 450, 5);
  1391. Q(55, -20, 450, 5);
  1392. Q(265, -20, 450, 5);
  1393. Q(295, -20, 450, 5);
  1394. break;
  1395. case 113:
  1396. for (e = 1; e < 5; e++) {
  1397. Q(10 + e * 30, -50 + e * 10, 0, 5);
  1398. Q(310 - e * 30, -50 + e * 10, 0, 5)
  1399. }
  1400. Q(160, 0, 0, 5);
  1401. for (e = 1; e < 5; e++) {
  1402. Q(10 + e * 30, 30 + e * 10, 80, 2);
  1403. Q(310 - e * 30, 30 + e * 10, 80, 2)
  1404. }
  1405. Q(160, 80, 80, 2);
  1406. for (e = 1; e < 5; e++) {
  1407. Q(10 + e * 30, 100 + e * 10, 130, 0);
  1408. Q(310 - e * 30, 100 + e * 10, 130, 0)
  1409. }
  1410. Q(160, 150, 130, 0);
  1411. for (e = 1; e < 5; e++) {
  1412. Q(10 + e * 30, 170 + e * 10, 180, 1);
  1413. Q(310 - e * 30, 170 + e * 10, 180, 1)
  1414. }
  1415. Q(160, 220, 180, 1);
  1416. edct = 240;
  1417. break;
  1418. case 114:
  1419. for (e = 1; e < 6; e++) {
  1420. Q(70 + e * 30, 220, e * 5, 2)
  1421. }
  1422. for (e = 1; e < 7; e++) {
  1423. Q(220, 220 - e * 28, 25 + e * 5, 2)
  1424. }
  1425. for (e = 1; e < 5; e++) {
  1426. Q(220 - e * 30, 52, 55 + e * 5, 2)
  1427. }
  1428. for (e = 1; e < 6; e++) {
  1429. Q(100, 52 + e * 28, 75 + e * 5, 2)
  1430. }
  1431. edct = 240;
  1432. break;
  1433. case 115:
  1434. for (e = 1; e < 5; e++) {
  1435. Q(10 + e * 60, 200, e * 5, 2)
  1436. }
  1437. for (e = 1; e < 6; e++) {
  1438. Q(340 - e * 60, 200, 30 + e * 5, 1)
  1439. }
  1440. for (e = 1; e < 5; e++) {
  1441. Q(10 + e * 60, 130, 60 + e * 5, 2)
  1442. }
  1443. for (e = 1; e < 6; e++) {
  1444. Q(340 - e * 60, 130, 90 + e * 5, 1)
  1445. }
  1446. for (e = 1; e < 5; e++) {
  1447. Q(10 + e * 60, 60, 120 + e * 5, 2)
  1448. }
  1449. for (e = 1; e < 6; e++) {
  1450. Q(340 - e * 60, 60, 150 + e * 5, 1)
  1451. }
  1452. edct = 240;
  1453. break;
  1454. case 116:
  1455. for (e = 1; e < 10; e++) {
  1456. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  1457. Q(xp, 280 - e * 25, e * 5, 2)
  1458. }
  1459. for (e = 1; e < 13; e++) {
  1460. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  1461. Q(xp, 330 - e * 25, 470 + e * 5, 2)
  1462. }
  1463. for (e = 1; e < 13; e++) {
  1464. xp = (Math.floor(Math.random() * 6) + 1) * 40;
  1465. Q(xp, 330 - e * 25, 940 + e * 5, 2)
  1466. }
  1467. for (e = 1; e < 13; e++) {
  1468. Q(50, 50, 940 + e * 25, 3)
  1469. }
  1470. edct = 240;
  1471. break;
  1472. case 117:
  1473. for (e = 1; e < 5; e++) {
  1474. Q(10 + e * 60, 200, e * 5, 2)
  1475. }
  1476. for (e = 1; e < 6; e++) {
  1477. Q(340 - e * 60, 200, 30 + e * 5, 0)
  1478. }
  1479. for (e = 1; e < 5; e++) {
  1480. Q(10 + e * 60, 130, 60 + e * 5, 2)
  1481. }
  1482. for (e = 1; e < 6; e++) {
  1483. Q(340 - e * 60, 130, 90 + e * 5, 0)
  1484. }
  1485. for (e = 1; e < 5; e++) {
  1486. Q(10 + e * 60, 60, 120 + e * 5, 2)
  1487. }
  1488. for (e = 1; e < 6; e++) {
  1489. Q(340 - e * 60, 60, 150 + e * 5, 0)
  1490. }
  1491. edct = 240;
  1492. break;
  1493. case 118:
  1494. for (e = 1; e < 10; e++) {
  1495. Q(10 + e * 30, 200, e * 5, 2)
  1496. }
  1497. for (e = 1; e < 10; e++) {
  1498. Q(10 + e * 30, 200, 380 + e * 5, 2)
  1499. }
  1500. for (e = 1; e < 10; e++) {
  1501. Q(310 - e * 30, 250, 360 + e * 5, 2)
  1502. }
  1503. for (e = 1; e < 10; e++) {
  1504. Q(10 + e * 30, 200, 740 + e * 5, 2)
  1505. }
  1506. for (e = 1; e < 10; e++) {
  1507. Q(310 - e * 30, 250, 720 + e * 5, 2)
  1508. }
  1509. for (e = 1; e < 10; e++) {
  1510. Q(10 + e * 30, 300, 700 + e * 5, 2)
  1511. }
  1512. for (e = 1; e < 35; e++) {
  1513. Q(280, 35, 30 + e * 25, 4)
  1514. }
  1515. edct = 240;
  1516. break;
  1517. case 119:
  1518. Q(73, 110, 0, 2);
  1519. Q(100, 125, 0, 2);
  1520. Q(73, 140, 0, 2);
  1521. Q(100, 155, 0, 2);
  1522. Q(73, 170, 0, 2);
  1523. Q(100, 185, 0, 2);
  1524. Q(220, 170, 0, 2);
  1525. Q(247, 185, 0, 2);
  1526. Q(220, 200, 0, 2);
  1527. Q(247, 215, 0, 2);
  1528. Q(220, 230, 0, 2);
  1529. Q(247, 245, 0, 2);
  1530. for (e = 1; e < 4; e++) {
  1531. Q(96 + e * 32, 110 + e * 15, 15 + e * 5, 0)
  1532. }
  1533. Q(45, 80, 0, 1);
  1534. Q(275, 175, 0, 1);
  1535. Q(45, 60, 120, 1);
  1536. Q(275, 155, 120, 1);
  1537. Q(45, 40, 240, 1);
  1538. Q(275, 135, 240, 1);
  1539. edct = 240;
  1540. break;
  1541. case 120:
  1542. for (e = 1; e < 8; e++) {
  1543. Q(188, 54 + e * 26, e * 5, 2)
  1544. }
  1545. for (e = 1; e < 6; e++) {
  1546. Q(32 + e * 26, 132, e * 5, 2)
  1547. }
  1548. Q(160, 184, 45, 1);
  1549. Q(132, 184, 45, 1);
  1550. Q(132, 158, 45, 1);
  1551. Q(104, 158, 45, 1);
  1552. Q(216, 120, 65, 1);
  1553. Q(244, 120, 65, 1);
  1554. for (e = 1; e < 6; e++) {
  1555. Q(278, 5 + e * 35, 100 + e * 5, 0)
  1556. }
  1557. edct = 240;
  1558. break;
  1559. case 121:
  1560. Q(40, 250, 0, 0);
  1561. for (e = 1; e < 8; e++) {
  1562. Q(40 + e * 30, 250 - e * 10, e * 5, 1)
  1563. }
  1564. Q(280, 170, 40, 0);
  1565. for (e = 1; e < 8; e++) {
  1566. Q(280 - e * 30, 170 - e * 10, 40 + e * 5, 1)
  1567. }
  1568. Q(40, 90, 80, 0);
  1569. for (e = 1; e < 8; e++) {
  1570. Q(40 + e * 30, 90 - e * 10, 80 + e * 5, 1)
  1571. }
  1572. Q(280, 10, 120, 0);
  1573. break;
  1574. case 122:
  1575. for (e = 1; e < 6; e++) {
  1576. Q(340 - e * 60, 200 - e * 10, e * 5, 0)
  1577. }
  1578. for (e = 1; e < 5; e++) {
  1579. Q(10 + e * 60, 140 - e * 10, e * 5, 1)
  1580. }
  1581. for (e = 1; e < 6; e++) {
  1582. Q( - 20 + e * 60, 130 - e * 10, 25 + e * 5, 0)
  1583. }
  1584. for (e = 1; e < 5; e++) {
  1585. Q(310 - e * 60, 80 - e * 10, 25 + e * 5, 1)
  1586. }
  1587. for (e = 1; e < 6; e++) {
  1588. Q(340 - e * 60, 60 - e * 10, 50 + e * 5, 0)
  1589. }
  1590. for (e = 1; e < 5; e++) {
  1591. Q(10 + e * 60, 20 - e * 10, 50 + e * 5, 1)
  1592. }
  1593. break;
  1594. case 123:
  1595. for (e = 1; e < 8; e++) {
  1596. Q(160, 0 + e * 46, e * 5, 2)
  1597. }
  1598. for (e = 1; e < 5; e++) {
  1599. Q(120, -40 + e * 60, 100 + e * 5, 0)
  1600. }
  1601. for (e = 1; e < 5; e++) {
  1602. Q(200, -10 + e * 60, 150 + e * 5, 0)
  1603. }
  1604. for (e = 1; e < 5; e++) {
  1605. Q(80, -60 + e * 60, 300 + e * 5, 1)
  1606. }
  1607. for (e = 1; e < 5; e++) {
  1608. Q(240, -30 + e * 60, 350 + e * 5, 1)
  1609. }
  1610. edct = 240;
  1611. break;
  1612. case 124:
  1613. for (e = 1; e < 5; e++) {
  1614. Q(150 - e * 30, -20 - e * 30, 0, 5);
  1615. Q(170 + e * 30, -20 - e * 30, 400, 5)
  1616. }
  1617. for (e = 1; e < 4; e++) {
  1618. Q(30 + e * 30, -140 - e * 30, 0, 5);
  1619. Q(290 - e * 30, -140 - e * 30, 400, 5)
  1620. }
  1621. Q(160, 30, 0, 6);
  1622. break;
  1623. case 125:
  1624. for (e = 1; e < 6; e++) {
  1625. Q(70 + e * 30, 50, 0, 1);
  1626. Q(70 + e * 30, 50, 50, 1);
  1627. Q(70 + e * 30, 50, 100, 1);
  1628. Q(70 + e * 30, 50, 150, 1);
  1629. Q(70 + e * 30, 50, 200, 1);
  1630. Q(70 + e * 30, 50, 250, 1)
  1631. }
  1632. for (e = 1; e < 3; e++) {
  1633. Q(10 + e * 30, -60, e * 30, 9);
  1634. Q(300 - e * 30, -60, 50 + e * 30, 9);
  1635. Q(10 + e * 30, -60, 100 + e * 30, 9);
  1636. Q(300 - e * 30, -60, 150 + e * 30, 9)
  1637. }
  1638. break;
  1639. case 126:
  1640. for (e = 1; e < 4; e++) {
  1641. Q(70 + e * 30, 20 + e * 30, 0, 0);
  1642. Q(70 + e * 30, 20 + e * 30, 100, 0);
  1643. Q(70 + e * 30, 20 + e * 30, 200, 0);
  1644. Q(70 + e * 30, 20 + e * 30, 300, 0)
  1645. }
  1646. for (e = 1; e < 3; e++) {
  1647. Q(160 + e * 30, 110 - e * 30, 0, 0);
  1648. Q(160 + e * 30, 110 - e * 30, 100, 0);
  1649. Q(160 + e * 30, 110 - e * 30, 200, 0);
  1650. Q(160 + e * 30, 110 - e * 30, 300, 0)
  1651. }
  1652. for (e = 1; e < 3; e++) {
  1653. Q(10 + e * 30, -60, e * 30, 9);
  1654. Q(310 - e * 30, -60, 75 + e * 30, 9);
  1655. Q(10 + e * 30, -60, 150 + e * 30, 9);
  1656. Q(310 - e * 30, -60, 225 + e * 30, 9)
  1657. }
  1658. break;
  1659. case 127:
  1660. for (e = 1; e < 5; e++) {
  1661. Q(40 + e * 30, 20 + e * 30, 25, 1);
  1662. Q(40 + e * 30, 20 + e * 30, 125, 1);
  1663. Q(40 + e * 30, 20 + e * 30, 225, 0);
  1664. Q(40 + e * 30, 20 + e * 30, 325, 0)
  1665. }
  1666. Q(40, -50, 150, 5);
  1667. Q(40, -50, 350, 5);
  1668. for (e = 1; e < 3; e++) {
  1669. Q(310 - e * 30, -60, -30 + e * 30, 9);
  1670. Q(310 - e * 30, -60, 200 + e * 30, 9);
  1671. Q(310 - e * 30, -60, 300 + e * 30, 9)
  1672. }
  1673. break;
  1674. case 128:
  1675. Q(160, -50, 200, 5);
  1676. for (e = 1; e < 3; e++) {
  1677. Q(10 + e * 30, -60, e * 30, 9);
  1678. Q(300 - e * 30, -60, 75 + e * 30, 9);
  1679. Q(100 - e * 30, -60, 150 + e * 30, 9);
  1680. Q(210 + e * 30, -60, 225 + e * 30, 9)
  1681. }
  1682. break;
  1683. case 129:
  1684. for (e = 1; e < 10; e++) {
  1685. Q(10 + e * 30, 330, e * 5, 2)
  1686. }
  1687. for (e = 1; e < 11; e++) {
  1688. Q(280, 330 - e * 28, 45 + e * 5, 2)
  1689. }
  1690. for (e = 1; e < 9; e++) {
  1691. Q(280 - e * 30, 50, 95 + e * 5, 2)
  1692. }
  1693. for (e = 1; e < 10; e++) {
  1694. Q(40, 50 + e * 28, 135 + e * 5, 2)
  1695. }
  1696. edct = 240;
  1697. break;
  1698. case 130:
  1699. Q(40, -40, 120, 5);
  1700. Q(280, -40, 200, 5);
  1701. for (e = 1; e < 3; e++) {
  1702. Q(70 + e * 30, -60, e * 30, 9);
  1703. Q(240 - e * 30, -60, 75 + e * 30, 9);
  1704. Q(70 + e * 30, -60, 150 + e * 30, 9);
  1705. Q(240 - e * 30, -60, 225 + e * 30, 9);
  1706. Q(70 + e * 30, -60, 320 + e * 30, 9);
  1707. Q(240 - e * 30, -60, 370 + e * 30, 9)
  1708. }
  1709. break;
  1710. case 131:
  1711. for (e = 1; e < 5; e++) {
  1712. Q(10 + e * 60, 70, 0 + e * 5, 2);
  1713. Q(10 + e * 60, 70, 260 + e * 5, 2)
  1714. }
  1715. for (e = 1; e < 4; e++) {
  1716. Q(40 + e * 60, -50, 0, 5);
  1717. Q(40 + e * 60, -50, 260, 5)
  1718. }
  1719. Q(40, -50, 0, 9);
  1720. Q(280, -50, 100, 9);
  1721. Q(40, -50, 200, 9);
  1722. Q(280, -50, 260, 9);
  1723. Q(40, -50, 320, 9);
  1724. Q(280, -50, 320, 9);
  1725. edct = 240;
  1726. break;
  1727. case 132:
  1728. for (e = 1; e < 4; e++) {
  1729. Q(40 + e * 30, 70, 0, 1);
  1730. Q(160 + e * 30, 70, 0, 1);
  1731. Q(40 + e * 30, 70, 50, 1);
  1732. Q(160 + e * 30, 70, 50, 1);
  1733. Q(40 + e * 30, 70, 100, 0);
  1734. Q(160 + e * 30, 70, 100, 0);
  1735. Q(40 + e * 30, 70, 200, 0);
  1736. Q(160 + e * 30, 70, 200, 0)
  1737. }
  1738. Q(160, 70, 300, 8);
  1739. Q(40, -50, 0, 9);
  1740. Q(280, -50, 100, 9);
  1741. Q(40, -50, 200, 9);
  1742. Q(280, -50, 260, 9);
  1743. Q(160, -50, 0, 5);
  1744. Q(160, -50, 100, 5);
  1745. Q(160, -50, 200, 5);
  1746. break;
  1747. case 133:
  1748. for (e = 1; e < 4; e++) {
  1749. Q(180 - e * 40, -40, -70 + e * 70, 9);
  1750. Q(140 + e * 40, -40, -70 + e * 70, 9)
  1751. }
  1752. Q(160, 60, 50, 8);
  1753. Q(120, -40, 180, 5);
  1754. Q(200, -40, 180, 5);
  1755. break;
  1756. default:
  1757. break
  1758. }
  1759. ekey++;
  1760. if (ekey > 100) {
  1761. ekey = 0
  1762. }
  1763. }
  1764. function gst() {
  1765. window.requestAnimationFrame = function() {
  1766. return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame ||
  1767. function(e, t) {
  1768. window.setTimeout(e, 1e3 / 60)
  1769. }
  1770. } ();
  1771. ralp();
  1772. setTimeout("fsem()", 50)
  1773. }
  1774. function rtalt() {
  1775. if (window.orientation == 0) {
  1776. if (navigator.userAgent.indexOf("Android") == -1 || window.innerHeight < 425 && window.devicePixelRatio < 2) {
  1777. setTimeout(scrollTo, 100, 0, 1)
  1778. }
  1779. } else {}
  1780. }
  1781. function asd() {
  1782. var e = 1 / window.devicePixelRatio;
  1783. var t = document.createElement("meta");
  1784. var n = Math.floor(screen.width / 3.2) / 100;
  1785. e *= n;
  1786. t.setAttribute("name", "viewport");
  1787. t.setAttribute("content", "width = device-width, initial-scale = " + e + ", minimum-scale = " + e + ", maximum-scale = " + e);
  1788. document.getElementsByTagName("head")[0].appendChild(t)
  1789. }
  1790. function vptg() {
  1791. var e = navigator.userAgent;
  1792. if (e.indexOf("Android") > -1) {
  1793. dvid = 1;
  1794. if (Math.floor(navigator.userAgent.substr(e.indexOf("Android") + 8, 1)) >= 4) {
  1795. dvid = 2
  1796. }
  1797. }
  1798. if (e.indexOf("iPad") > -1) {
  1799. dvid = 3
  1800. }
  1801. if (e.indexOf("iPhone") > -1) {
  1802. dvid = 4;
  1803. if (window.devicePixelRatio >= 2) {
  1804. dvid = 5;
  1805. if (window.screen.height == 568) {
  1806. dvid = 5
  1807. }
  1808. }
  1809. }
  1810. if (navigator.userAgent.indexOf("GT-I9100") == -1) {
  1811. switch (dvid) {
  1812. case 1:
  1813. var t = 1 / window.devicePixelRatio;
  1814. var n = document.createElement("meta");
  1815. n.setAttribute("name", "viewport");
  1816. n.setAttribute("content", "width = device-width, initial-scale = " + t + ", minimum-scale = " + t + ", maximum-scale = " + t);
  1817. document.getElementsByTagName("head")[0].appendChild(n);
  1818. setTimeout("asd()", 50);
  1819. break;
  1820. case 2:
  1821. var t = 1 / window.devicePixelRatio;
  1822. var n = document.createElement("meta");
  1823. n.setAttribute("name", "viewport");
  1824. n.setAttribute("content", "width = device-width, initial-scale = " + t + ", minimum-scale = " + t + ", maximum-scale = " + t);
  1825. document.getElementsByTagName("head")[0].appendChild(n);
  1826. var r = Math.floor(screen.width / 3.2) / 100;
  1827. document.body.style.webkitTransformOrigin = "0 0 0";
  1828. document.body.style.webkitTransform = "scale3d(" + r + "," + r + ",1)";
  1829. wdpr = r;
  1830. break;
  1831. case 3:
  1832. var t = 2;
  1833. var n = document.createElement("meta");
  1834. n.setAttribute("name", "viewport");
  1835. n.setAttribute("content", "width = device-width, initial-scale = " + t + ", minimum-scale = " + t + ", maximum-scale = " + t);
  1836. document.getElementsByTagName("head")[0].appendChild(n);
  1837. break;
  1838. case 4:
  1839. gc = 0;
  1840. break;
  1841. case 5:
  1842. gc = 1;
  1843. var t = .5;
  1844. var n = document.createElement("meta");
  1845. n.setAttribute("name", "viewport");
  1846. n.setAttribute("content", "width = device-width, initial-scale = " + t + ", minimum-scale = " + t + ", maximum-scale = " + t);
  1847. document.getElementsByTagName("head")[0].appendChild(n);
  1848. var r = 2;
  1849. chf2.style.webkitTransformOrigin = "0 0 0";
  1850. chf2.style.webkitTransform = "scale3d(" + r + "," + r + ",1)";
  1851. chf2.style.transformOrigin = "0 0 0";
  1852. chf2.style.transform = "scale3d(" + r + "," + r + ",1)";
  1853. wdpr = r;
  1854. gc = 1;
  1855. break;
  1856. case 6:
  1857. gc = 1;
  1858. break;
  1859. default:
  1860. break
  1861. }
  1862. }
  1863. }
  1864. function ralp2() {
  1865. lps += .75;
  1866. if (lps > 1) {
  1867. lps--;
  1868. lp()
  1869. }
  1870. }
  1871. function ralp() {
  1872. ralp2();
  1873. if (gmovc != 999) {
  1874. window.requestAnimationFrame(ralp)
  1875. } else {
  1876. chf2.style.webkitTransform = "scale3d(" + cwdpr + "," + cwdpr + ",1) translate3d(0px, 0px, 0px)";
  1877. updateShareScore(scr);
  1878. gs = 4
  1879. }
  1880. }
  1881. function lcir(e, t) {
  1882. var n = 0;
  1883. var r = 0;
  1884. var i = 0;
  1885. for (n = 0; n < 12; n++) {
  1886. r = ldri + n;
  1887. if (r > 12) {
  1888. r -= 12
  1889. }
  1890. ctx.beginPath();
  1891. ctx.lineWidth = 2;
  1892. ctx.strokeStyle = "#FFFFFF";
  1893. ctx.globalAlpha = r / 10;
  1894. ctx.moveTo(e + Math.cos(i) * 8, t + Math.sin(i) * 8);
  1895. ctx.lineTo(e + Math.cos(i) * 15, t + Math.sin(i) * 15);
  1896. ctx.stroke();
  1897. i += 4.18 / 8
  1898. }
  1899. ctx.globalAlpha = 1;
  1900. ldri--;
  1901. if (ldri < 1) {
  1902. ldri = 12
  1903. }
  1904. }
  1905. function lding() {
  1906. ctx.clearRect(0, 0, 320, 416);
  1907. lcir(160, 190)
  1908. }
  1909. function gsts() {
  1910. gldt++;
  1911. if (gldt > 3 && gs == 9) {
  1912. ctx.clearRect(0, 0, 320, 416);
  1913. ctx.drawImage(img4, 0, 0, 320, 301, 0, 115, 320, 301);
  1914. clearInterval(ldlp);
  1915. gs = 2
  1916. }
  1917. }
  1918. function gsts2() {
  1919. gldt2++;
  1920. if (gldt2 > 1) {
  1921. ctx.drawImage(img3, 0, 0, 320, 367, 0, 50, 320, 367);
  1922. clearInterval(ldlp);
  1923. gs = 1
  1924. }
  1925. }
  1926. function gsts3() {
  1927. ctx.fillStyle = "#000";
  1928. ctx.fillRect(99, 353, 122, 55);
  1929. lcir(160, 382)
  1930. }
  1931. function ist() {
  1932. wdpr = 1;
  1933. cwdpr = 1;
  1934. chf2.innerHTML = '<canvas id="gcvs" width="320" height="416"></canvas>';
  1935. if (navigator.userAgent.indexOf("Android") > -1) {
  1936. setTimeout('document.body.style.overflow="hidden"', 1e3);
  1937. if (navigator.userAgent.indexOf("Android") == -1 || window.innerHeight < 425 && window.devicePixelRatio < 2) {
  1938. setTimeout(scrollTo, 100, 0, 1)
  1939. }
  1940. } else {
  1941. setTimeout(scrollTo, 100, 0, 1)
  1942. }
  1943. canvas = document.getElementById("gcvs");
  1944. if (!canvas || !canvas.getContext) {
  1945. return false
  1946. }
  1947. gldt = 0;
  1948. gldt2 = 0;
  1949. ctx = canvas.getContext("2d");
  1950. img3 = new Image;
  1951. if (document.URL.indexOf("page") == -1) {
  1952. img3.src = "ds/title.jpg"
  1953. } else {
  1954. img3.src = "ds/title_s.jpg"
  1955. }
  1956. img3.onload = function() {
  1957. gsts2()
  1958. };
  1959. img4 = new Image;
  1960. img4.src = "ds/manual.jpg";
  1961. img4.onload = function() {
  1962. gsts2()
  1963. };
  1964. img5 = new Image;
  1965. if (document.URL.indexOf("page") == -1) {
  1966. img5.src = "ds/gameover.gif"
  1967. } else {
  1968. img5.src = "ds/gameover_s.gif"
  1969. }
  1970. img5.onload = function() {
  1971. gsts()
  1972. };
  1973. img6 = new Image;
  1974. img6.src = "ds/background.jpg";
  1975. img6.onload = function() {
  1976. gsts()
  1977. };
  1978. img = new Image;
  1979. img.src = "ds/char_sheet.gif";
  1980. img.onload = function() {
  1981. gsts()
  1982. };
  1983. img2 = new Image;
  1984. img2.src = "ds/effect.png";
  1985. img2.onload = function() {
  1986. gsts()
  1987. };
  1988. ldri = 0;
  1989. ldlp = setInterval("lding();", 1e3 / 20);
  1990. txs = 0;
  1991. tm = 0;
  1992. mt = 0;
  1993. flt = 0;
  1994. w = {};
  1995. mi = 120;
  1996. em = 20;
  1997. t = 0;
  1998. di = 0;
  1999. ti = 0;
  2000. dx = new Array;
  2001. dy = new Array;
  2002. lx = new Array;
  2003. ly = new Array;
  2004. sx = new Array;
  2005. sy = new Array;
  2006. sc = new Array;
  2007. sl = new Array;
  2008. wt = new Array;
  2009. e1 = new Array;
  2010. e2 = new Array;
  2011. e3 = new Array;
  2012. e4 = new Array;
  2013. e1[0] = [43, 44, 45];
  2014. e2[0] = [5, 6, 7, 8, 9, 10];
  2015. e3[0] = [11, 12, 13, 14, 15, 16];
  2016. e1[1] = [46, 47, 48];
  2017. e2[1] = [17, 18, 19, 20, 21, 22];
  2018. e3[1] = [23, 24, 25, 26, 27, 28];
  2019. e1[2] = [49, 50, 51];
  2020. e2[2] = [34, 35, 36];
  2021. e3[2] = [37, 38, 39];
  2022. e1[3] = [62, 63, 64];
  2023. e2[3] = [52, 53, 54, 55, 56];
  2024. e3[3] = [57, 58, 59, 60, 61];
  2025. e1[4] = [62, 63, 64];
  2026. e2[4] = [52, 53, 54, 55, 56];
  2027. e3[4] = [57, 58, 59, 60, 61];
  2028. e1[5] = [71, 72, 73];
  2029. e2[5] = [65, 66, 67];
  2030. e3[5] = [68, 69, 70];
  2031. e1[6] = [86, 87, 88];
  2032. e2[6] = [74, 75, 76, 77, 78, 79];
  2033. e3[6] = [80, 81, 82, 83, 84, 85];
  2034. e1[7] = [125, 126, 127];
  2035. e2[7] = [128, 129, 130];
  2036. e3[7] = [149, 150, 151];
  2037. e1[8] = [139, 140, 141];
  2038. e2[8] = [131, 132, 133, 134];
  2039. e3[8] = [135, 136, 137, 138];
  2040. e1[9] = [158, 159, 160];
  2041. e2[9] = [155, 156, 157];
  2042. e3[9] = [135, 136, 137];
  2043. var e = 0;
  2044. for (e = 0; e < 10; e++) {
  2045. e4[e] = e2[e].length - 1
  2046. }
  2047. edct = 0;
  2048. ei = 0;
  2049. ix = new Array(0, 539, 562, 40, 47, 0, 31, 62, 93, 124, 155, 186, 217, 248, 279, 310, 341, 0, 27, 54, 81, 108, 135, 162, 189, 216, 243, 270, 297, 388, 462, 536, 610, 684, 0, 23, 46, 69, 92, 115, 536, 558, 580, 372, 403, 434, 324, 351, 378, 138, 161, 184, 0, 33, 66, 99, 132, 165, 198, 231, 264, 297, 330, 363, 396, 0, 27, 54, 81, 108, 135, 162, 189, 215, 0, 45, 90, 135, 180, 225, 270, 315, 360, 405, 450, 495, 540, 585, 630, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 60, 69, 78, 87, 96, 105, 114, 123, 132, 141, 40, 89, 138, 187, 236, 162, 185, 208, 231, 254, 277, 300, 323, 346, 369, 392, 429, 456, 483, 510, 537, 564, 0, 49, 98, 147, 196, 245, 294, 343, 392, 441, 490, 286, 296, 306, 316, 326, 336, 392, 591, 618, 645, 0, 35, 69, 103, 138, 172, 206, 241, 276, 346, 285, 292, 299, 306, 313, 320, 327, 334, 341, 348, 0, 84, 168, 252, 336, 420, 526, 632, 738, 844, 950, 1040, 502, 520, 538, 355, 405, 420, 435, 450, 465, 480, 495, 510, 525, 540);
  2050. iy = new Array(0, 265, 265, 0, 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 0, 0, 0, 120, 120, 120, 120, 120, 120, 51, 51, 51, 51, 51, 51, 90, 90, 90, 120, 120, 120, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 186, 186, 186, 186, 186, 186, 186, 186, 186, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 30, 30, 30, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 146, 146, 146, 146, 146, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, 70, 70, 70, 70, 70, 70, 18, 146, 146, 146, 313, 313, 313, 313, 313, 313, 313, 313, 313, 70, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 88, 0, 70, 70, 70, 36, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90);
  2051. iw = new Array(0, 23, 23, 7, 6, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 74, 74, 74, 74, 74, 23, 23, 23, 23, 23, 23, 22, 22, 22, 31, 31, 31, 27, 27, 27, 23, 23, 23, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 27, 27, 27, 27, 27, 27, 27, 27, 27, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 49, 49, 49, 49, 49, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 262, 27, 27, 27, 27, 27, 27, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 10, 10, 10, 10, 10, 10, 262, 27, 27, 27, 35, 34, 34, 35, 34, 34, 35, 35, 35, 156, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 84, 84, 84, 84, 84, 106, 106, 106, 106, 106, 106, 31, 18, 18, 18, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15);
  2052. ih = new Array(0, 43, 43, 7, 7, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 51, 51, 51, 51, 51, 26, 26, 26, 26, 26, 26, 17, 17, 17, 39, 39, 39, 30, 30, 30, 26, 26, 26, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 37, 37, 37, 37, 37, 37, 37, 37, 37, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 21, 21, 21, 21, 21, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 18, 33, 33, 33, 33, 33, 33, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 10, 10, 10, 10, 10, 10, 18, 33, 33, 33, 42, 42, 42, 42, 42, 42, 42, 42, 42, 18, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 31, 18, 18, 18, 12, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26);
  2053. schx = new Array(105, 113, 121, 129, 137);
  2054. schx2 = new Array(137, 154, 171, 188, 205);
  2055. hthx = new Array(155, 171, 187, 203, 218);
  2056. fi = 0;
  2057. ntx = 0;
  2058. nty = 0;
  2059. unty = 0;
  2060. utx = 0;
  2061. uty = 0;
  2062. pl = 1;
  2063. plc = 1;
  2064. tstn = 0;
  2065. cef = {};
  2066. cefi = 0;
  2067. cmb = 0;
  2068. dcmb = 0;
  2069. cmbf = 0;
  2070. cmbc = 0;
  2071. cmbv = 0;
  2072. tmst = 0;
  2073. shprs = 0;
  2074. fhp = 0;
  2075. dhp = fhp;
  2076. thp = fhp;
  2077. thp2 = fhp;
  2078. thp3 = fhp;
  2079. tmlst = 0;
  2080. lzac = 0;
  2081. bsdmg = 0;
  2082. bsdmg2 = 0;
  2083. bsdmi = 0;
  2084. efx = -1;
  2085. efy = -1;
  2086. efs = -1;
  2087. eft = 1;
  2088. eff = {};
  2089. effi = 0;
  2090. scr = 0;
  2091. hthp = 3;
  2092. gmovc = 0;
  2093. stlv = 1;
  2094. for (e = 0; e < mi; e++) {
  2095. sc[e] = -9999
  2096. }
  2097. gs = -1;
  2098. document.addEventListener("touchstart", tev1, false);
  2099. document.addEventListener("touchend", tev2, false);
  2100. document.addEventListener("touchmove", tev3, false);
  2101. document.addEventListener("mousedown", tev11, false);
  2102. document.addEventListener("mouseup", tev22, false);
  2103. document.addEventListener("mousemove", tev33, false);
  2104. ettl = 0;
  2105. ekey = 0;
  2106. uekey = 0;
  2107. askb = 0;
  2108. var n = document.URL.substr(0, 19);
  2109. var r = 0;
  2110. var i = 0;
  2111. for (r = 7; r < 19; r++) {
  2112. i += n.charCodeAt(r)
  2113. }
  2114. askb = 1
  2115. }
  2116. function scs(e, t, n) {
  2117. var r = "0000000000" + n;
  2118. var r = r.substr( - 9, 9);
  2119. for (scx = 1; scx <= t; scx++) {
  2120. var i = Math.floor(r.substr(10 - scx - 1, 1)) + 1;
  2121. switch (e) {
  2122. case 1:
  2123. spt2(161 + i, schx[5 - scx], 6);
  2124. schx;
  2125. break;
  2126. case 2:
  2127. spt2(187 + i, schx2[5 - scx], 250);
  2128. schx;
  2129. break;
  2130. default:
  2131. break
  2132. }
  2133. }
  2134. }
  2135. function Q(e, t, n, r) {
  2136. w["e" + ei] = {
  2137. x: e,
  2138. y: t,
  2139. sx: 0,
  2140. sy: 0,
  2141. t: 0,
  2142. p: 0,
  2143. f: 0,
  2144. hp: 0,
  2145. mp: 0,
  2146. aw: 0,
  2147. ah: 0,
  2148. ff: 0,
  2149. fs: 0,
  2150. wt: n
  2151. };
  2152. var i = w["e" + ei];
  2153. i.t = r;
  2154. switch (i.t) {
  2155. case 0:
  2156. i.mp = 15;
  2157. i.fs = .2;
  2158. i.sx = 0;
  2159. i.sy = .1;
  2160. break;
  2161. case 1:
  2162. i.mp = 2;
  2163. i.fs = .2;
  2164. i.sx = 0;
  2165. i.sy = .2;
  2166. break;
  2167. case 2:
  2168. i.mp = 3;
  2169. i.fs = .025;
  2170. i.sx = 0;
  2171. i.sy = 0;
  2172. break;
  2173. case 3:
  2174. i.mp = 3;
  2175. i.fs = .3;
  2176. i.sx = 1.5;
  2177. i.sy = .1;
  2178. break;
  2179. case 4:
  2180. i.mp = 3;
  2181. i.fs = .3;
  2182. i.sx = -1.5;
  2183. i.sy = .1;
  2184. break;
  2185. case 5:
  2186. i.mp = 6;
  2187. i.fs = .4;
  2188. i.sx = 0;
  2189. i.sy = .5;
  2190. break;
  2191. case 6:
  2192. i.mp = 90;
  2193. i.fs = .2;
  2194. i.sx = 0;
  2195. i.sy = .1;
  2196. break;
  2197. case 8:
  2198. i.mp = 90;
  2199. i.fs = .4;
  2200. i.sx = 0;
  2201. i.sy = .5;
  2202. break;
  2203. case 9:
  2204. i.mp = 1;
  2205. i.fs = 0;
  2206. i.sx = 0;
  2207. i.sy = 1.25;
  2208. break;
  2209. default:
  2210. }
  2211. i.sy *= 3;
  2212. if (stlv > 70) {
  2213. i.sy *= 1 + (stlv - 70) * .033
  2214. }
  2215. i.p = e1[i.t][0];
  2216. i.f = 0;
  2217. i.aw = iw[e1[i.t][0]] / 2 + 8;
  2218. i.ah = ih[e1[i.t][0]] / 2 + 8;
  2219. i.x = e - i.aw + 8;
  2220. i.y = t - i.ah + 8;
  2221. i.hp = 999;
  2222. ei++;
  2223. ettl++
  2224. }
  2225. function spt(e, t, n) {
  2226. var r = ix[e];
  2227. var i = iy[e];
  2228. var s = iw[e];
  2229. var o = ih[e];
  2230. ctx.drawImage(img, r, i, s, o, t | 0, n | 0, s, o)
  2231. }
  2232. function sptp(e, t, n) {
  2233. var r = (e - 29) * 80;
  2234. var i = 0;
  2235. var s = 80;
  2236. var o = 70;
  2237. ctx.drawImage(img2, r, i, s, o, t | 0, n | 0, s, o)
  2238. }
  2239. function sptp2(e, t, n) {
  2240. var r = ix[e];
  2241. var i = iy[e];
  2242. var s = iw[e];
  2243. var o = ih[e];
  2244. ctx.drawImage(img2, r, i, s, o, t | 0, n | 0, s, o)
  2245. }
  2246. function sptp3(e, t, n) {
  2247. var r = e * 22;
  2248. var i = 70;
  2249. var s = 22;
  2250. var o = 17;
  2251. ctx.drawImage(img2, r, i, s, o, t | 0, n | 0, 22, 17)
  2252. }
  2253. function spt_tama(e, t, n) {
  2254. var r = e * 22;
  2255. var i = 70;
  2256. var s = 22;
  2257. var o = 17;
  2258. ctx.drawImage(img2, r, i, s, o, t | 0, n | 0, s, o)
  2259. }
  2260. function spt2(e, t, n) {
  2261. var r = ix[e];
  2262. var i = iy[e];
  2263. var s = iw[e];
  2264. var o = ih[e];
  2265. ctx.drawImage(img, r, i, s, o, t, n, s, o)
  2266. }
  2267. function cnset() {
  2268. if (tmst == 0 && cmb > 2) {
  2269. var e = 0;
  2270. var t = 34;
  2271. var n = thp2 * 1.05 / (cmb * 3);
  2272. for (e = 0; e < cmb * 3; e++) {
  2273. cef["c" + cefi] = {
  2274. x: 160,
  2275. y: 375,
  2276. sx: t | 0,
  2277. sy: -Math.random() * 2 - 2,
  2278. t: Math.floor(Math.random() * 2),
  2279. f: Math.floor(Math.random() * 5),
  2280. fs: Math.random() * 1
  2281. };
  2282. cefi++;
  2283. t += n
  2284. }
  2285. scr += Math.floor(cmb * cmb * .5) + 1
  2286. }
  2287. }
  2288. function efset() {
  2289. var e = 0;
  2290. var t = 34;
  2291. effi = 0;
  2292. for (e = 0; e < 20; e++) {
  2293. eff["c" + effi] = {
  2294. x: 135,
  2295. y: 5,
  2296. sx: t | 0,
  2297. sy: -Math.random() * 2,
  2298. f: Math.floor(Math.random() * 3),
  2299. fs: 10 + Math.floor(Math.random() * 60),
  2300. a: 1
  2301. };
  2302. effi++;
  2303. t += 12
  2304. }
  2305. }
  2306. function alc(e) {
  2307. if (e < 0) {
  2308. e = 0
  2309. }
  2310. return e
  2311. }
  2312. function drg(e, t) {
  2313. ntx = e;
  2314. nty = t;
  2315. if (dvid < 3 && unty > 350 && t < 60) {
  2316. ntx = e * wdpr;
  2317. nty = unty
  2318. }
  2319. if (nty > 370) {
  2320. nty = 370
  2321. }
  2322. unty = nty
  2323. }
  2324. function GTX(e) {
  2325. e /= wdpr;
  2326. return e
  2327. }
  2328. function GTY(e) {
  2329. e /= wdpr;
  2330. return e
  2331. }
  2332. function cht(e, t) {
  2333. if (tmst < 1) {
  2334. ntx = e;
  2335. nty = t;
  2336. utx = ntx;
  2337. uty = nty
  2338. }
  2339. }
  2340. function gbmx() {
  2341. if (fhp >= 271) {
  2342. dhp = 0;
  2343. fhp = 0;
  2344. thp = 0;
  2345. thp2 = 0;
  2346. thp3 = 0;
  2347. efx = 270;
  2348. efy = 370;
  2349. efs = -3
  2350. }
  2351. }
  2352. function setd(e, t) {
  2353. ti++;
  2354. if (ti > 0) {
  2355. ti = 0;
  2356. var n = di;
  2357. var r = 0;
  2358. var i;
  2359. var s;
  2360. var o;
  2361. var u;
  2362. var a;
  2363. while (r < mi) {
  2364. if (sc[n] == -9999) {
  2365. dx[n] = 164;
  2366. dy[n] = 366;
  2367. lx[n] = Math.round(e);
  2368. ly[n] = Math.round(t);
  2369. i = lx[n] - dx[n];
  2370. s = ly[n] - dy[n];
  2371. o = Math.atan2(s, i);
  2372. u = Math.sqrt(Math.pow(i, 2) + Math.pow(s, 2));
  2373. a = 40;
  2374. sx[n] = Math.cos(o) * a;
  2375. sy[n] = Math.sin(o) * a;
  2376. sl[n] = Math.floor(u / a);
  2377. sc[n] = -9998;
  2378. wt[n] = fi;
  2379. fi++;
  2380. r = 999;
  2381. di = n + 1;
  2382. if (di > mi) {
  2383. di = 0
  2384. }
  2385. tmst++
  2386. }
  2387. n++;
  2388. if (n > mi) {
  2389. n = 0
  2390. }
  2391. r++
  2392. }
  2393. }
  2394. sc[0] = -9999
  2395. }
  2396. function fst() {
  2397. if (tmst < 10) {
  2398. for (var e = 1; e < 10; e++) {
  2399. setd(ntx, nty)
  2400. }
  2401. }
  2402. tmlst = tmst;
  2403. fi = 0;
  2404. tstn = 0;
  2405. for (var e = 1; e < mi; e++) {
  2406. if (sc[e] == -9998) {
  2407. sc[e] = -wt[e];
  2408. tstn += 1
  2409. }
  2410. }
  2411. if (tmst > 120) {
  2412. tmst = 120
  2413. }
  2414. if (tmst > 0) {
  2415. tmst--
  2416. }
  2417. lzac = 0
  2418. }
  2419. function vptg2() {
  2420. switch (dvid) {
  2421. case 3:
  2422. var e = 1;
  2423. var t = document.createElement("meta");
  2424. t.setAttribute("name", "viewport");
  2425. t.setAttribute("content", "width = device-width, initial-scale = " + e + ", minimum-scale = " + e + ", maximum-scale = " + e);
  2426. document.getElementsByTagName("head")[0].appendChild(t);
  2427. var n = 2;
  2428. chf2.style.webkitTransformOrigin = "0 0 0";
  2429. chf2.style.webkitTransform = "scale3d(" + n + "," + n + ",1)";
  2430. wdpr = n;
  2431. cwdpr = n;
  2432. break;
  2433. case 5:
  2434. var e = .5;
  2435. var t = document.createElement("meta");
  2436. t.setAttribute("name", "viewport");
  2437. t.setAttribute("content", "width = device-width, initial-scale = " + e + ", minimum-scale = " + e + ", maximum-scale = " + e);
  2438. document.getElementsByTagName("head")[0].appendChild(t);
  2439. var n = 2;
  2440. chf2.style.webkitTransformOrigin = "0 0 0";
  2441. chf2.style.webkitTransform = "scale3d(" + n + "," + n + ",1)";
  2442. wdpr = n;
  2443. cwdpr = n;
  2444. break;
  2445. default:
  2446. break
  2447. }
  2448. }
  2449. function vptg3() {
  2450. switch (dvid) {
  2451. case 3:
  2452. var e = 2;
  2453. var t = document.createElement("meta");
  2454. t.setAttribute("name", "viewport");
  2455. t.setAttribute("content", "width = device-width, initial-scale = " + e + ", minimum-scale = " + e + ", maximum-scale = " + e);
  2456. document.getElementsByTagName("head")[0].appendChild(t);
  2457. var n = 1;
  2458. chf2.style.webkitTransformOrigin = "0 0 0";
  2459. chf2.style.webkitTransform = "scale3d(" + n + "," + n + ",1)";
  2460. wdpr = n;
  2461. cwdpr = n;
  2462. break;
  2463. case 5:
  2464. var e = 1;
  2465. var t = document.createElement("meta");
  2466. t.setAttribute("name", "viewport");
  2467. t.setAttribute("content", "width = device-width, initial-scale = " + e + ", minimum-scale = " + e + ", maximum-scale = " + e);
  2468. document.getElementsByTagName("head")[0].appendChild(t);
  2469. var n = 1;
  2470. chf2.style.webkitTransformOrigin = "0 0 0";
  2471. chf2.style.webkitTransform = "scale3d(" + n + "," + n + ",1)";
  2472. wdpr = n;
  2473. cwdpr = n;
  2474. break;
  2475. default:
  2476. break
  2477. }
  2478. }
  2479. function tev11(e) {
  2480. var t = e.layerX;
  2481. var n = e.layerY;
  2482. mousePos = {
  2483. x: t,
  2484. y: n
  2485. };
  2486. Press(mousePos);
  2487. e.preventDefault()
  2488. }
  2489. function tev1(e) {
  2490. var t = e.touches[0].pageX;
  2491. var n = e.touches[0].pageY;
  2492. mousePos = {
  2493. x: t,
  2494. y: n
  2495. };
  2496. Press(mousePos)
  2497. }
  2498. function Press(e) {
  2499. var n = GTX(e.x);
  2500. var r = GTY(e.y);
  2501. switch (gs) {
  2502. case 1:
  2503. if (n > 60 && r > 250 && n < 275 && r < 370) {
  2504. ctx.clearRect(0, 0, 320, 416);
  2505. ctx.drawImage(img4, 0, 0, 320, 301, 0, 115, 320, 301);
  2506. if (gldt > 3) {
  2507. gs = 2
  2508. } else {
  2509. ldri = 0;
  2510. ldlp = setInterval("gsts3();", 1e3 / 20);
  2511. ctx.fillStyle = "#000";
  2512. ctx.fillRect(99, 353, 122, 55);
  2513. gs = 9
  2514. }
  2515. } else if (n > 175 && r > 375) {
  2516. goHome()
  2517. } else if (n < 60 && r > 350) {
  2518. setTimeout(function() {
  2519. show_share()
  2520. },
  2521. 500)
  2522. }
  2523. break;
  2524. case 2:
  2525. if (n > 60 && r > 310 && n < 280) {
  2526. setTimeout("gs=3;gst();", 50)
  2527. }
  2528. break;
  2529. case 3:
  2530. if (tmst < 1) {
  2531. tmst = 0;
  2532. t = 1;
  2533. cht(n, r)
  2534. }
  2535. break;
  2536. case 4:
  2537. if (n > 175 && r > 375) {
  2538. goHome()
  2539. } else if (n > 35 && r > 305 && n < 155 && r < 350) {
  2540. ettl = 0;
  2541. gs = 3;
  2542. scr = 0;
  2543. hthp = 3;
  2544. gmovc = 0;
  2545. stlv = 0;
  2546. w = {};
  2547. cef = {};
  2548. eff = {};
  2549. gst()
  2550. } else if (n > 168 && r > 305 && n < 286 && r < 350) {
  2551. setTimeout(function() {
  2552. show_share()
  2553. },
  2554. 500)
  2555. }
  2556. break;
  2557. default:
  2558. break
  2559. }
  2560. }
  2561. function tev22(e) {
  2562. var t = e.layerX;
  2563. var n = e.layerY;
  2564. mousePos = {
  2565. x: t,
  2566. y: n
  2567. };
  2568. Release(mousePos)
  2569. }
  2570. function tev2(e) {
  2571. var t = e.changedTouches[0].pageX;
  2572. var n = e.changedTouches[0].pageY;
  2573. mousePos = {
  2574. x: t,
  2575. y: n
  2576. };
  2577. Release(mousePos)
  2578. }
  2579. function Release(e) {
  2580. if (gs == 3) {
  2581. if (t == 1) {
  2582. fst()
  2583. }
  2584. t = 2
  2585. }
  2586. switch (dvid) {
  2587. case 4:
  2588. if (window.innerHeight < 416) {
  2589. setTimeout(scrollTo, 100, 0, 1)
  2590. }
  2591. break;
  2592. case 5:
  2593. if (window.innerHeight != 834) {
  2594. setTimeout(scrollTo, 100, 0, 1)
  2595. }
  2596. break;
  2597. default:
  2598. break
  2599. }
  2600. unty = 0
  2601. }
  2602. function tev33(e) {
  2603. var t = e.layerX;
  2604. var n = e.layerY;
  2605. mousePos = {
  2606. x: t,
  2607. y: n
  2608. };
  2609. Move(mousePos)
  2610. }
  2611. function tev3(e) {
  2612. var t = e.touches[0].pageX;
  2613. var n = e.touches[0].pageY;
  2614. mousePos = {
  2615. x: t,
  2616. y: n
  2617. };
  2618. Move(mousePos)
  2619. }
  2620. function Move(e) {
  2621. if (gs == 3 && t == 1) {
  2622. drg(GTX(e.x), GTY(e.y))
  2623. }
  2624. }
  2625. function tt(e) {}
  2626. function lp() {
  2627. ctx.drawImage(img6, 0, 0, 320, 416, 0, 0, 320, 416);
  2628. tm = Math.floor( + (new Date) / 1e3);
  2629. if (tm != mt && tm > 3) {
  2630. txs = flt;
  2631. flt = 0
  2632. }
  2633. flt++;
  2634. mt = tm;
  2635. var e;
  2636. var n;
  2637. var r;
  2638. var i;
  2639. var s;
  2640. var o;
  2641. e = ntx - utx;
  2642. n = nty - uty;
  2643. s = Math.sqrt(Math.pow(e, 2) + Math.pow(n, 2));
  2644. if (s > 0 && t == 1) {
  2645. r = Math.atan2(n, e);
  2646. for (o = 0; o < s; o += 6) {
  2647. setd(utx + Math.cos(r) * o, uty + Math.sin(r) * o)
  2648. }
  2649. utx = ntx;
  2650. uty = nty
  2651. }
  2652. ctx.fillStyle = "#7c5a37";
  2653. for (o = 0; o < mi; o++) {
  2654. if (sc[o] > -9999) {
  2655. if (sc[o] < 1e4) {
  2656. ctx.fillRect(lx[o] - 2, ly[o] - 2, 6, 6)
  2657. }
  2658. if (sc[o] > -9998) {
  2659. sc[o]++
  2660. }
  2661. }
  2662. }
  2663. ctx.globalAlpha = 1;
  2664. var u = new Array;
  2665. var a = 0;
  2666. var f;
  2667. var l = 0;
  2668. for (o in w) {
  2669. f = w[o];
  2670. if (f.hp > -1) {
  2671. u.push([o, f.y + ih[f.p]])
  2672. }
  2673. }
  2674. srt(u, 1);
  2675. var c = 0;
  2676. var h = 0;
  2677. for (o = 0; o < u.length; o++) {
  2678. c++;
  2679. f = w[u[o][0]];
  2680. switch (f.hp) {
  2681. case 0:
  2682. sptp(f.p, f.x, f.y);
  2683. f.f += .3;
  2684. f.p = f.f | 0;
  2685. if (f.p > 41) {
  2686. f.hp = -999;
  2687. f.y = 999;
  2688. delete f;
  2689. ettl--;
  2690. if (ettl == 0) {
  2691. stlv += hthp;
  2692. setTimeout("fsem()", 10)
  2693. }
  2694. }
  2695. break;
  2696. case 998:
  2697. spt(f.p, f.x, f.y);
  2698. f.f += .2;
  2699. f.ff = f.f | 0;
  2700. f.p = e1[f.t][f.ff];
  2701. if (f.f > 3) {
  2702. f.p = e2[f.t][0];
  2703. f.hp = f.mp
  2704. }
  2705. if (f.t == 2) {
  2706. f.wt = edct
  2707. }
  2708. break;
  2709. case 999:
  2710. f.wt--;
  2711. if (f.wt < 1) {
  2712. f.hp = 998;
  2713. f.wt = 0
  2714. }
  2715. break;
  2716. default:
  2717. switch (f.t) {
  2718. case 2:
  2719. spt(f.p, f.x, f.y);
  2720. f.f += f.fs;
  2721. if (f.f > e4[f.t]) {
  2722. f.f = 0
  2723. }
  2724. f.ff = f.f | 0;
  2725. f.p = e2[f.t][f.ff];
  2726. if (f.wt > 0) {
  2727. f.wt--;
  2728. if (f.wt == 0) {
  2729. f.t = 7;
  2730. f.sy = 2;
  2731. f.x -= 2;
  2732. f.y -= 5;
  2733. f.p = e1[f.t][0];
  2734. f.fs = .4;
  2735. f.f = 0;
  2736. f.ff = 0;
  2737. f.aw = iw[e1[f.t][0]] / 2 + 8;
  2738. f.ah = ih[e1[f.t][0]] / 2 + 8;
  2739. f.hp = 998
  2740. }
  2741. }
  2742. break;
  2743. case 3:
  2744. case 4:
  2745. f.x += f.sx;
  2746. f.y += f.sy;
  2747. spt(f.p, f.x, f.y);
  2748. f.f += f.fs;
  2749. if (f.f > e2[f.t].length) {
  2750. f.f = 0
  2751. }
  2752. f.ff = f.f | 0;
  2753. f.p = e2[f.t][f.ff];
  2754. if (f.x > 282) {
  2755. f.sx = -Math.abs(f.sx)
  2756. }
  2757. if (f.x < 5) {
  2758. f.sx = Math.abs(f.sx)
  2759. }
  2760. break;
  2761. case 8:
  2762. if (f.wt == 0) {
  2763. if (f.y < 80) {
  2764. f.y -= 1.2
  2765. }
  2766. } else {
  2767. f.y -= f.sy / 5
  2768. };
  2769. case 5:
  2770. case 6:
  2771. if (f.wt == 0) {
  2772. f.x += f.sx;
  2773. f.y += f.sy;
  2774. spt(f.p, f.x, f.y);
  2775. f.f += f.fs;
  2776. if (f.f > e2[f.t].length) {
  2777. f.f = 0
  2778. }
  2779. f.ff = f.f | 0;
  2780. f.p = e2[f.t][f.ff];
  2781. if (f.sx != 0) {
  2782. if (f.x > 282) {
  2783. f.sx = -Math.abs(f.sx)
  2784. }
  2785. if (f.x < 5) {
  2786. f.sx = Math.abs(f.sx)
  2787. }
  2788. }
  2789. } else {
  2790. f.y += f.sy / 5;
  2791. spt(f.p, f.x, f.y);
  2792. f.f += .1;
  2793. if (f.f > e2[f.t].length) {
  2794. f.f = 0
  2795. }
  2796. f.ff = f.f | 0;
  2797. f.p = e2[f.t][f.ff];
  2798. f.wt--
  2799. }
  2800. break;
  2801. case 9:
  2802. f.p = 152;
  2803. if (f.y > 200) {
  2804. var p = 160 - f.x;
  2805. f.x += p / 20;
  2806. if (p > 0) {
  2807. f.p = 154
  2808. } else {
  2809. f.p = 153
  2810. }
  2811. }
  2812. f.y += f.sy;
  2813. spt(f.p, f.x, f.y);
  2814. break;
  2815. default:
  2816. f.x += f.sx;
  2817. f.y += f.sy;
  2818. spt(f.p, f.x, f.y);
  2819. f.f += f.fs;
  2820. if (f.f > e4[f.t]) {
  2821. f.f = 0
  2822. }
  2823. f.ff = f.f | 0;
  2824. f.p = e2[f.t][f.ff];
  2825. break
  2826. }
  2827. if (f.y + ih[f.p] > 380) {
  2828. f.hp = 0;
  2829. f.sx = 0;
  2830. f.sy = 0;
  2831. if (f.t != 99) {
  2832. f.x -= (iw[29] - iw[f.p]) / 2;
  2833. f.y -= (ih[29] - ih[f.p]) / 2 + 6;
  2834. f.p = 29;
  2835. f.f = 29;
  2836. f.t = 99
  2837. }
  2838. if (bsdmg2 == 0 && hthp > 0) {
  2839. hthp--;
  2840. if (hthp < 1) {
  2841. hthp = 0;
  2842. bsdmg = 20;
  2843. bsdmg2 = 500;
  2844. gs = 8
  2845. }
  2846. }
  2847. if (hthp > 0) {
  2848. bsdmg = 20;
  2849. bsdmg2 = 50
  2850. }
  2851. }
  2852. break
  2853. }
  2854. }
  2855. var d = 0;
  2856. var v = 0;
  2857. var m = lzac;
  2858. for (o = 0; o < mi; o++) {
  2859. if (sc[o] > -1) {
  2860. dx[o] += sx[o];
  2861. dy[o] += sy[o];
  2862. if (sc[o] == sl[o]) {
  2863. dx[o] = lx[o];
  2864. dy[o] = ly[o];
  2865. sc[o] = 1e4;
  2866. for (i2 in w) {
  2867. f = w[i2];
  2868. if (Math.abs(dx[o] - f.x - f.aw + 11) < f.aw && Math.abs(dy[o] - f.y - f.ah + 11) < f.ah && f.hp < 998 && askb == 1) {
  2869. f.hp--;
  2870. if (f.hp < 1) {
  2871. f.hp = 0;
  2872. f.sx = 0;
  2873. f.sy = 0;
  2874. if (f.t != 99) {
  2875. f.x -= (iw[29] - iw[f.p]) / 2;
  2876. f.y -= (ih[29] - ih[f.p]) / 2 + 6;
  2877. f.p = 29;
  2878. f.f = 29;
  2879. f.t = 99;
  2880. cmb++;
  2881. scr++;
  2882. dcmb = cmb;
  2883. if (cmbc < 10) {
  2884. cmbv = 1
  2885. }
  2886. if (cmb == 2) {
  2887. cmbf = 0
  2888. }
  2889. if (cmb > 2) {
  2890. thp3 = fhp + cmb * 8;
  2891. if (thp3 >= 271) {
  2892. thp3 = 271
  2893. }
  2894. }
  2895. }
  2896. } else {
  2897. if (f.f > e4[f.t]) {
  2898. f.f = e4[f.t]
  2899. }
  2900. f.ff = f.f | 0;
  2901. f.p = e3[f.t][f.ff]
  2902. }
  2903. if (f.t == 5 || f.t == 6 || f.t == 8) {
  2904. f.wt = 30
  2905. }
  2906. }
  2907. }
  2908. tmst--;
  2909. if (tmst == 0) {
  2910. gbmx();
  2911. if (cmb > 2) {
  2912. cnset();
  2913. thp = fhp + cmb * 8;
  2914. if (thp >= 271) {
  2915. thp = 271
  2916. }
  2917. } else if (cmbc > 0) {
  2918. cmbv = -1
  2919. }
  2920. cmb = 0;
  2921. di = 0;
  2922. shprs = 0
  2923. }
  2924. }
  2925. if (sc[o] > 9999) {
  2926. dx[o] = lx[o];
  2927. dy[o] = ly[o];
  2928. l = sc[o] - 1e4;
  2929. if (l < 15) {
  2930. l = Math.floor(l / 1);
  2931. if (l < 13) {
  2932. sptp3(l, dx[o] - 11, dy[o] - 10)
  2933. }
  2934. d = dx[o];
  2935. v = dy[o];
  2936. if (lzac == 1) {
  2937. m = 1 - l * .2
  2938. } else {
  2939. lzac += .02;
  2940. if (lzac > 1) {
  2941. lzac = 1
  2942. }
  2943. }
  2944. } else {
  2945. sc[o] = -9999
  2946. }
  2947. } else {}
  2948. }
  2949. }
  2950. if (d != 0) {
  2951. ctx.beginPath();
  2952. ctx.lineWidth = 6;
  2953. ctx.strokeStyle = "#15cfff";
  2954. ctx.fillStyle = "#15cfff";
  2955. ctx.moveTo(167, 343);
  2956. ctx.lineTo(d, v);
  2957. ctx.globalAlpha = alc(m * .25);
  2958. ctx.stroke();
  2959. ctx.beginPath();
  2960. ctx.lineWidth = 4;
  2961. ctx.strokeStyle = "#15cfff";
  2962. ctx.fillStyle = "#15cfff";
  2963. ctx.moveTo(167, 343);
  2964. ctx.lineTo(d, v);
  2965. ctx.globalAlpha = alc(m * .5);
  2966. ctx.stroke();
  2967. ctx.beginPath();
  2968. ctx.lineWidth = 2;
  2969. ctx.strokeStyle = "#e8f8ff";
  2970. ctx.fillStyle = "#e8f8ff";
  2971. ctx.moveTo(167, 343);
  2972. ctx.lineTo(d, v);
  2973. ctx.globalAlpha = alc(m * 1);
  2974. ctx.stroke();
  2975. ctx.globalAlpha = 1;
  2976. spt2(2, 152, 337)
  2977. } else {
  2978. spt2(1, 152, 337)
  2979. }
  2980. var g = thp2 | 0;
  2981. if (thp3 > fhp) {
  2982. thp2 += (thp3 - thp2) / 5;
  2983. if (g > 0) {
  2984. ctx.drawImage(img, ix[148], iy[148], g, ih[148], 41, 389, g, ih[148])
  2985. }
  2986. }
  2987. if (dhp < fhp) {
  2988. if (g > 0) {
  2989. ctx.drawImage(img, ix[148], iy[148], g, ih[148], 41, 389, g, ih[148])
  2990. }
  2991. dhp += 1;
  2992. if (dhp >= fhp) {
  2993. dhp = fhp;
  2994. gbmx()
  2995. }
  2996. }
  2997. if (dhp > 0) {
  2998. var y = dhp | 0;
  2999. if (y > 0) {
  3000. ctx.drawImage(img, ix[124], iy[124], y, ih[124], 41, 389, y, ih[124])
  3001. }
  3002. }
  3003. var b = 0;
  3004. for (o in cef) {
  3005. f = cef[o];
  3006. if (f.y < 416) {
  3007. b++;
  3008. if (f.sx != 0 && f.sy != 0) {
  3009. f.f += f.fs;
  3010. if (f.f > 4) {
  3011. f.f = 0
  3012. }
  3013. f.x += (f.sx - f.x) / 35;
  3014. f.y += f.sy;
  3015. f.sy += .1;
  3016. spt(89 + 5 * f.t + f.f | 0, f.x, f.y);
  3017. if (f.y > 394) {
  3018. f.y = 394;
  3019. f.sx = 0;
  3020. f.sy = 0;
  3021. f.f = 0;
  3022. f.fs = .25;
  3023. fhp = thp;
  3024. cmbv = -1
  3025. }
  3026. } else {
  3027. f.f += f.fs;
  3028. sptp2(142 + f.f | 0, f.x, f.y);
  3029. if (f.f > 5) {
  3030. f.y = 500;
  3031. delete f
  3032. }
  3033. }
  3034. }
  3035. }
  3036. if (dcmb > 1) {
  3037. cmbc += cmbv;
  3038. if (cmbc > 9) {
  3039. cmbc = 10;
  3040. cmbv = 0
  3041. } else if (cmbc < 1) {
  3042. cmbc = 0;
  3043. cmbv = 0;
  3044. dcmb = 0
  3045. }
  3046. ctx.globalAlpha = cmbc / 10;
  3047. var E = Math.floor(dcmb / 10);
  3048. var S = dcmb - E * 10;
  3049. if (dcmb < 10) {
  3050. spt2(S + 114, 149, 351 - cmbc)
  3051. } else {
  3052. spt2(E + 114, 137, 351 - cmbc);
  3053. spt2(S + 114, 161, 351 - cmbc)
  3054. }
  3055. spt2(Math.floor(cmbf) + 109, 136, 373 - cmbc);
  3056. cmbf += .15;
  3057. if (cmbf > 5) {
  3058. cmbf = 0
  3059. }
  3060. ctx.globalAlpha = 1
  3061. }
  3062. if (cefi > 0 && b == 0) {
  3063. cef = {};
  3064. cefi = 0
  3065. }
  3066. if (bsdmg2 > 0) {
  3067. bsdmg2--;
  3068. if (bsdmg > 0) {
  3069. if (bsdmi == 0) {
  3070. var x = bsdmg * 2;
  3071. chf2.style.webkitTransform = "scale3d(" + cwdpr + "," + cwdpr + ",1) translate3d(" + (Math.floor(Math.random() * x) - bsdmg) + "px, " + (Math.floor(Math.random() * x) - bsdmg) + "px, 0px)";
  3072. bsdmi = 1
  3073. } else {
  3074. chf2.style.webkitTransform = "scale3d(" + cwdpr + "," + cwdpr + ",1) translate3d(0px, 0px, 0px)";
  3075. bsdmi = 0
  3076. }
  3077. if (hthp > 0) {
  3078. bsdmg--
  3079. } else {
  3080. bsdmg -= .1
  3081. }
  3082. }
  3083. }
  3084. sptp2(161, 82, 4);
  3085. scs(1, 5, scr);
  3086. for (o = 0; o < hthp; o++) {
  3087. spt2(187, hthx[o], 6)
  3088. }
  3089. if (efx != -1) {
  3090. if (efx > 0) {
  3091. efx += efs;
  3092. efs -= .2;
  3093. efy += ( - 80 - efy) / 15;
  3094. sptp2(183, efx, efy);
  3095. if (efy < 3) {
  3096. efx = -10;
  3097. efy = -1;
  3098. efs = .2;
  3099. eft = 2;
  3100. if (hthp < 5) {
  3101. if (hthp > 0) {
  3102. hthp++
  3103. }
  3104. eft = 1
  3105. } else {
  3106. scr += 200
  3107. }
  3108. efset()
  3109. }
  3110. } else if (eft == 1) {
  3111. efx += efs;
  3112. var T = efx | 0;
  3113. if (T > -5) {
  3114. efx = -1;
  3115. efs = -1
  3116. } else {
  3117. sptp2(187 + T, 141, -5)
  3118. }
  3119. } else {
  3120. efx += efs;
  3121. var T = efx | 0;
  3122. if (T > -6) {
  3123. efx = -1;
  3124. efs = -1
  3125. } else {
  3126. sptp2(182 + T, 73, -5)
  3127. }
  3128. }
  3129. }
  3130. if (effi > 0) {
  3131. b = 0;
  3132. for (o in eff) {
  3133. f = eff[o];
  3134. if (f.y < 416) {
  3135. b++;
  3136. if (f.sx != 0 && f.sy != 0) {
  3137. f.x += (f.sx - f.x) / 35;
  3138. f.y += f.sy;
  3139. f.sy += .1;
  3140. ctx.globalAlpha = f.a;
  3141. sptp2(184 + f.f | 0, f.x, f.y);
  3142. ctx.globalAlpha = 1;
  3143. if (f.y > f.fs) {
  3144. f.a -= .1;
  3145. if (f.a < 0 || f.y > 394) {
  3146. f.y = 394;
  3147. f.sx = 0;
  3148. f.sy = 0;
  3149. f.f = 0;
  3150. f.fs = 0;
  3151. effi--
  3152. }
  3153. }
  3154. }
  3155. }
  3156. }
  3157. if (effi == 0) {
  3158. eff = {}
  3159. }
  3160. }
  3161. if (hthp < 1) {
  3162. gmovc++;
  3163. var N = gmovc / 200;
  3164. ctx.globalAlpha = N;
  3165. if (gmovc > 200) {
  3166. ctx.globalAlpha = 1;
  3167. gmovc = 999
  3168. }
  3169. ctx.fillStyle = "#232323";
  3170. ctx.fillRect(0, 0, 320, 232);
  3171. ctx.drawImage(img5, 0, 0, 320, 184, 0, 232, 320, 184);
  3172. scs(2, 5, scr);
  3173. ctx.globalAlpha = 1
  3174. }
  3175. }
  3176. function srt(e, t) {
  3177. e.sort(function(e, n) {
  3178. return e[t] - n[t]
  3179. });
  3180. return e
  3181. }
  3182. lps = 0;
  3183. dvid = -1;