From 7cd1701b143539ad38e6d96024261ad50b896a52 Mon Sep 17 00:00:00 2001 From: Tom Moran <62551154+Tomhausen@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:08:51 +0000 Subject: [PATCH] 0.8.0 --- assets/js/binary.js | 6286 +++++++++++++++++++++---------------------- assets/version.txt | 2 +- pxt.json | 2 +- 3 files changed, 3145 insertions(+), 3145 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index e81b73d..2c3b974 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.7.2","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/the-code-zone-tiles-advanced"} -// total=1243901 new=5.85% cached=88.50% other=5.66% +// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.8.0","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/the-code-zone-tiles-advanced"} +// total=1243920 new=5.85% cached=88.50% other=5.66% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -429,7 +429,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P21679(s) { +function _main___P43366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -471,19 +471,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charWidth", 6); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charHeight", 8); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex12017); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex12043); globals.font8___1976 = (s.tmp_0); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charWidth", 12); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charHeight", 12); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex12019); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex12045); globals.font12___1977 = (s.tmp_0); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charWidth", 6); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charHeight", 5); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex13408); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex13434); globals.font5___1981 = (s.tmp_0); globals.__updated___4649 = (false); r0 = pxsim.control.runInParallel(control___screen_inline__P4652); @@ -759,7 +759,7 @@ switch (step) { case 28: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P15931; + s.tmp_0.argL = MAX_SOURCES_inline__P15957; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 43; s.pc = 29; return s.tmp_0; case 29: @@ -793,7 +793,7 @@ switch (step) { s.tmp_1.arg1 = 10; s.tmp_1.arg2 = 40; s.tmp_1.arg3 = 4000; - s.tmp_1.arg4 = confetti_inline__P15689; + s.tmp_1.arg4 = confetti_inline__P15715; s.callLocIdx = 51; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; @@ -803,7 +803,7 @@ switch (step) { s.tmp_1 = effects_ImageEffect_constructor__P3309_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P14250; + s.tmp_1.arg2 = dissolve_inline__P14276; s.callLocIdx = 57; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; @@ -813,7 +813,7 @@ switch (step) { s.tmp_1 = effects_ImageEffect_constructor__P3309_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P15635; + s.tmp_1.arg2 = melt_inline__P15661; s.callLocIdx = 60; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; @@ -831,13 +831,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P21679.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"
","argumentNames":[]} -_main___P21679.continuations = [ ] +_main___P43366.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"
","argumentNames":[]} +_main___P43366.continuations = [ ] -function _main___P21679_mk(s) { +function _main___P43366_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P21679, depth: s.depth + 1, + parent: s, fn: _main___P43366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -847,9 +847,9 @@ function _main___P21679_mk(s) { tmp_5: undefined, } } -const _hex12017 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex12019 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex13408 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex12043 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex12045 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex13434 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") const _hex4663 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") const _hex4978 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") const _hex4981 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") @@ -1515,7 +1515,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["allSprites"] = (s.tmp_1); r0 = (s.arg0).fields["spriteNextId"] = (0); - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11242); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11268); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1534,7 +1534,7 @@ switch (step) { s.callLocIdx = 981; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11266); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11292); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1545,7 +1545,7 @@ switch (step) { s.callLocIdx = 983; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11279); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11305); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1556,7 +1556,7 @@ switch (step) { s.callLocIdx = 987; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11300); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11326); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1567,7 +1567,7 @@ switch (step) { s.callLocIdx = 989; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11308); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11334); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1594,7 +1594,7 @@ switch (step) { s.callLocIdx = 996; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11339); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11365); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P109_mk(s); @@ -1624,7 +1624,7 @@ function scene_Scene_init__P2868_mk(s) { -function scene_Scene_init_inline__P11242(s) { +function scene_Scene_init_inline__P11268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1657,12 +1657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11242.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P11268.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P11242_mk(s) { +function scene_Scene_init_inline__P11268_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11242, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1674,7 +1674,7 @@ function scene_Scene_init_inline__P11242_mk(s) { -function scene_Scene_init_inline__P11266(s) { +function scene_Scene_init_inline__P11292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1702,12 +1702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11266.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P11292.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P11266_mk(s) { +function scene_Scene_init_inline__P11292_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11266, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1718,7 +1718,7 @@ function scene_Scene_init_inline__P11266_mk(s) { -function scene_Scene_init_inline__P11279(s) { +function scene_Scene_init_inline__P11305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1728,8 +1728,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___11280 = undefined; - s.s___11288 = undefined; + s.dt___11306 = undefined; + s.s___11314 = undefined; s.unnamed98___U2 = undefined; s.unnamed99___U3 = undefined; r0 = s.caps[0].fields["eventContext"]; @@ -1737,14 +1737,14 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 1000); - s.dt___11280 = (r0); + s.dt___11306 = (r0); s.tmp_0 = scene_Camera_update__P2799_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 985; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___11288 = (undefined); + s.s___11314 = (undefined); r0 = s.caps[0].fields["allSprites"]; s.unnamed98___U2 = (r0); s.unnamed99___U3 = (0); @@ -1755,12 +1755,12 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed98___U2, s.unnamed99___U3); - s.s___11288 = (r0); + s.s___11314 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___11288; + s.tmp_2.arg0 = s.s___11314; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___11280; + s.tmp_2.arg2 = s.dt___11306; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 986; s.pc = 4; return s.tmp_2; @@ -1781,18 +1781,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11279.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P11305.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P11279_mk(s) { +function scene_Scene_init_inline__P11305_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11279, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___11280: undefined, - s___11288: undefined, + dt___11306: undefined, + s___11314: undefined, unnamed98___U2: undefined, unnamed99___U3: undefined, } } @@ -1801,7 +1801,7 @@ function scene_Scene_init_inline__P11279_mk(s) { -function scene_Scene_init_inline__P11300(s) { +function scene_Scene_init_inline__P11326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1820,12 +1820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11300.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P11326.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P11300_mk(s) { +function scene_Scene_init_inline__P11326_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11300, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1834,7 +1834,7 @@ function scene_Scene_init_inline__P11300_mk(s) { -function scene_Scene_init_inline__P11308(s) { +function scene_Scene_init_inline__P11334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1923,12 +1923,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11308.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P11334.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P11308_mk(s) { +function scene_Scene_init_inline__P11334_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11308, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1945,7 +1945,7 @@ function scene_Scene_init_inline__P11308_mk(s) { -function scene_Scene_init_inline__P11339(s) { +function scene_Scene_init_inline__P11365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1970,12 +1970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11339.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P11365.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P11339_mk(s) { +function scene_Scene_init_inline__P11365_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11339, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1995,20 +1995,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11342 = undefined; - s.p___11342 = (1); + s.p___11368 = undefined; + s.p___11368 = (1); case 1: - r0 = (s.p___11342 <= 4); + r0 = (s.p___11368 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P5460_mk(s); - s.tmp_1.arg0 = s.p___11342; + s.tmp_1.arg0 = s.p___11368; s.callLocIdx = 1348; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___11342 + 1); - s.p___11342 = (r0); + r0 = (s.p___11368 + 1); + s.p___11368 = (r0); { step = 1; continue; } case 2: r0 = undefined; @@ -2024,7 +2024,7 @@ function multiplayer_initPlayerConnectionListeners__P3407_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___11342: undefined, + p___11368: undefined, } } @@ -2045,7 +2045,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11354); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11380); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_onEvent__P391_mk(s); @@ -2056,7 +2056,7 @@ switch (step) { s.callLocIdx = 1350; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11360); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11386); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_onEvent__P391_mk(s); @@ -2087,7 +2087,7 @@ function multiplayer_registerPlayerConnectionListeners__P5460_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11354(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2107,12 +2107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P11354.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P11380.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P11354_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11380_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11354, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2121,7 +2121,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P11354_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11360(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2141,12 +2141,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P11360.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P11386.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P11360_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11386_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11360, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2165,7 +2165,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___11365 = undefined; + s.c___11391 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2183,21 +2183,21 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___11365 = (globals.player1___2124); + s.c___11391 = (globals.player1___2124); { step = 5; continue; } case 2: - s.c___11365 = (globals.player2___2121); + s.c___11391 = (globals.player2___2121); { step = 5; continue; } case 3: - s.c___11365 = (globals.player3___2122); + s.c___11391 = (globals.player3___2122); { step = 5; continue; } case 4: - s.c___11365 = (globals.player4___2123); + s.c___11391 = (globals.player4___2123); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___11365); + r0 = pxsim_numops_toBoolDecr(s.c___11391); if (!r0) { step = 6; continue; } s.tmp_0 = controller_Controller_connected__P2157_mk(s); - s.tmp_0.arg0 = s.c___11365; + s.tmp_0.arg0 = s.c___11391; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1353; s.pc = 8; return s.tmp_0; case 8: @@ -2216,7 +2216,7 @@ function multiplayer_receiveConnectionChangedEvent__P5461_mk(s) { parent: s, fn: multiplayer_receiveConnectionChangedEvent__P5461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___11365: undefined, + c___11391: undefined, arg0: undefined, arg1: undefined, } } @@ -2371,9 +2371,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___11421 = undefined; - s.i___11429 = undefined; - s.i___11447 = undefined; + s.leftId___11447 = undefined; + s.i___11455 = undefined; + s.i___11473 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2405,10 +2405,10 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___11421 = (r0); - s.i___11429 = (0); + s.leftId___11447 = (r0); + s.i___11455 = (0); case 2: - r0 = (s.i___11429 < 7); + r0 = (s.i___11455 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -2416,7 +2416,7 @@ switch (step) { s.tmp_1 = r0; s.tmp_2 = controller_Button_constructor__P2196_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___11421 + s.i___11429); + r0 = (s.leftId___11447 + s.i___11455); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 158; s.pc = 7; return s.tmp_2; @@ -2425,14 +2425,14 @@ switch (step) { r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___11429 + 1); - s.i___11429 = (r0); + r0 = (s.i___11455 + 1); + s.i___11455 = (r0); { step = 2; continue; } case 3: case 4: - s.i___11447 = (0); + s.i___11473 = (0); case 5: - s.tmp_1 = r0 = s.i___11447; + s.tmp_1 = r0 = s.i___11473; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -2443,11 +2443,11 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["buttons"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___11447); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___11473); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___11447 + 1); - s.i___11447 = (r0); + r0 = (s.i___11473 + 1); + s.i___11473 = (r0); { step = 5; continue; } case 6: s.tmp_0 = controller_addController__P4784_mk(s); @@ -2472,9 +2472,9 @@ function controller_Controller_constructor__P2139_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___11421: undefined, - i___11429: undefined, - i___11447: undefined, + leftId___11447: undefined, + i___11455: undefined, + i___11473: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2545,7 +2545,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___9907 = undefined; + s.ctx___9933 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2557,8 +2557,8 @@ switch (step) { s.callLocIdx = 40; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___9907 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___9907); + s.ctx___9933 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___9933); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2568,7 +2568,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = control_EventContext_registerHandler__P405_mk(s); - s.tmp_0.arg0 = s.ctx___9907; + s.tmp_0.arg0 = s.ctx___9933; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -2590,7 +2590,7 @@ function control_onEvent__P391_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___9907: undefined, + ctx___9933: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2656,10 +2656,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___9930 = undefined; + s.h___9956 = undefined; s.unnamed72___U1 = undefined; s.unnamed73___U2 = undefined; - s.hn___9953 = undefined; + s.hn___9979 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2670,7 +2670,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___9930 = (undefined); + s.h___9956 = (undefined); r0 = s.arg0.fields["handlers"]; s.unnamed72___U1 = (r0); s.unnamed73___U2 = (0); @@ -2681,8 +2681,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } r0 = pxsim_Array__getAt(s.unnamed72___U1, s.unnamed73___U2); - s.h___9930 = (r0); - r0 = s.h___9930.fields["src"]; + s.h___9956 = (r0); + r0 = s.h___9956.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -2691,7 +2691,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___9930.fields["value"]; + r0 = s.h___9956.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -2699,8 +2699,8 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___9930).fields["flags"] = (s.arg4); - r0 = (s.h___9930).fields["handler"] = (s.arg3); + r0 = (s.h___9956).fields["flags"] = (s.arg4); + r0 = (s.h___9956).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: @@ -2720,12 +2720,12 @@ switch (step) { s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___9953 = (s.tmp_0); + s.hn___9979 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___9953); + r0 = pxsim_Array__push(s.tmp_0, s.hn___9979); s.tmp_0 = control_EventHandler_register__P4497_mk(s); - s.tmp_0.arg0 = s.hn___9953; + s.tmp_0.arg0 = s.hn___9979; s.callLocIdx = 53; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -2747,10 +2747,10 @@ function control_EventContext_registerHandler__P405_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___9930: undefined, + h___9956: undefined, unnamed72___U1: undefined, unnamed73___U2: undefined, - hn___9953: undefined, + hn___9979: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2824,7 +2824,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventHandler__C4496_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P9974); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P10000); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -2856,7 +2856,7 @@ function control_EventHandler_register__P4497_mk(s) { -function control_EventHandler_register_inline__P9974(s) { +function control_EventHandler_register_inline__P10000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2889,12 +2889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P9974.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventHandler_register_inline__P10000.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventHandler_register_inline__P9974_mk(s) { +function control_EventHandler_register_inline__P10000_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P9974, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P10000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2927,7 +2927,7 @@ switch (step) { r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 210; - s.tmp_2.arg2 = multiplayer_initServer_inline__P11522; + s.tmp_2.arg2 = multiplayer_initServer_inline__P11548; s.callLocIdx = 1347; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -2954,7 +2954,7 @@ function multiplayer_initServer__P3406_mk(s) { -function multiplayer_initServer_inline__P11522(s) { +function multiplayer_initServer_inline__P11548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2977,12 +2977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_initServer_inline__P11522.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_initServer_inline__P11548.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_initServer_inline__P11522_mk(s) { +function multiplayer_initServer_inline__P11548_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P11522, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P11548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3002,15 +3002,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___11575 = undefined; - s.top___11580 = undefined; - s.i___11586 = undefined; - s.t___11599 = undefined; - s.tOff___11606 = undefined; - s.tab___11608 = undefined; + s.height___11601 = undefined; + s.top___11606 = undefined; + s.i___11612 = undefined; + s.t___11625 = undefined; + s.tOff___11632 = undefined; + s.tab___11634 = undefined; s.unnamed102___U6 = undefined; s.unnamed103___U7 = undefined; - s.padding___11610 = undefined; + s.padding___11636 = undefined; r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -3049,10 +3049,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___11575 = (r0); + s.height___11601 = (r0); r0 = pxsim_numops_toBoolDecr(globals.stats___2969); if (!r0) { step = 5; continue; } - r0 = s.height___11575; + r0 = s.height___11601; { step = 6; continue; } case 5: r0 = 0; @@ -3060,17 +3060,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___11580 = (r0); - s.i___11586 = (0); + s.top___11606 = (r0); + s.i___11612 = (0); case 7: - s.tmp_1 = r0 = s.i___11586; + s.tmp_1 = r0 = s.i___11612; r0 = pxsim_Array__length(globals.consoleStrings___5303); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = pxsim_Array__getAt(globals.consoleStrings___5303, s.i___11586); + r0 = pxsim_Array__getAt(globals.consoleStrings___5303, s.i___11612); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -3079,17 +3079,17 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } s.tmp_6 = helpers_stringSplit__P122_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___5303, s.i___11586); + r0 = pxsim_Array__getAt(globals.consoleStrings___5303, s.i___11612); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1201; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___11599 = (r0); - s.tOff___11606 = (0); - s.tab___11608 = (undefined); - s.unnamed102___U6 = (s.t___11599); + s.t___11625 = (r0); + s.tOff___11632 = (0); + s.tab___11634 = (undefined); + s.unnamed102___U6 = (s.t___11625); s.unnamed103___U7 = (0); case 8: s.tmp_0 = r0 = s.unnamed103___U7; @@ -3098,21 +3098,21 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } r0 = pxsim_Array__getAt(s.unnamed102___U6, s.unnamed103___U7); - s.tab___11608 = (r0); + s.tab___11634 = (r0); s.tmp_2 = r0 = globals.tabSize___5305; - s.tmp_5 = r0 = s.tOff___11606; - r0 = pxsim_String_.length(s.tab___11608); + s.tmp_5 = r0 = s.tOff___11632; + r0 = pxsim_String_.length(s.tab___11634); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; r0 = (s.tmp_4 % globals.tabSize___5305); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___11610 = (r0); + s.padding___11636 = (r0); s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = globals.screen___2033; - s.tmp_0.arg1 = s.tab___11608; - s.tmp_2 = r0 = s.tOff___11606; + s.tmp_0.arg1 = s.tab___11634; + s.tmp_2 = r0 = s.tOff___11632; s.tmp_4 = if_charWidth_1_mk(s); s.tmp_4.arg0 = globals.consoleFont___5311; if (!s.tmp_4.arg0.vtable.iface) { @@ -3130,8 +3130,8 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___11580; - r0 = (s.i___11586 * s.height___11575); + s.tmp_5 = r0 = s.top___11606; + r0 = (s.i___11612 * s.height___11601); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; @@ -3141,13 +3141,13 @@ switch (step) { s.callLocIdx = 1203; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___11606; - r0 = pxsim_String_.length(s.tab___11608); + s.tmp_0 = r0 = s.tOff___11632; + r0 = pxsim_String_.length(s.tab___11634); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___11610); + r0 = (s.tmp_2 + s.padding___11636); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___11606 = (r0); + s.tOff___11632 = (r0); r0 = (s.unnamed103___U7 + 1); s.unnamed103___U7 = (r0); { step = 8; continue; } @@ -3157,11 +3157,11 @@ switch (step) { case 10: s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = globals.screen___2033; - r0 = pxsim_Array__getAt(globals.consoleStrings___5303, s.i___11586); + r0 = pxsim_Array__getAt(globals.consoleStrings___5303, s.i___11612); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___11580; - r0 = (s.i___11586 * s.height___11575); + s.tmp_1 = r0 = s.top___11606; + r0 = (s.i___11612 * s.height___11601); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; @@ -3172,8 +3172,8 @@ switch (step) { case 18: r0 = s.retval; case 11: - r0 = (s.i___11586 + 1); - s.i___11586 = (r0); + r0 = (s.i___11612 + 1); + s.i___11612 = (r0); { step = 7; continue; } case 12: case 13: @@ -3196,15 +3196,15 @@ function game_consoleOverlay_draw__P3145_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___11575: undefined, - top___11580: undefined, - i___11586: undefined, - t___11599: undefined, - tOff___11606: undefined, - tab___11608: undefined, + height___11601: undefined, + top___11606: undefined, + i___11612: undefined, + t___11625: undefined, + tOff___11632: undefined, + tab___11634: undefined, unnamed102___U6: undefined, unnamed103___U7: undefined, - padding___11610: undefined, + padding___11636: undefined, } } @@ -3257,31 +3257,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___11682 = undefined; - s.cp___11684 = undefined; - s.mult___11685 = undefined; - s.dataW___11690 = undefined; - s.dataH___11696 = undefined; - s.byteHeight___11702 = undefined; - s.charSize___11708 = undefined; - s.dataSize___11712 = undefined; - s.fontdata___11716 = undefined; - s.lastchar___11719 = undefined; - s.imgBuf___11726 = undefined; - s.xOffset___11750 = undefined; - s.yOffset___11751 = undefined; - s.ch___11766 = undefined; - s.l___11785 = undefined; - s.r___11786 = undefined; - s.off___11788 = undefined; - s.guess___11789 = undefined; - s.m___11808 = undefined; - s.v___11817 = undefined; - s.i___11873 = undefined; - s.j___11878 = undefined; - s.mask___11879 = undefined; - s.c___11880 = undefined; - s.n___11897 = undefined; + s.x0___11708 = undefined; + s.cp___11710 = undefined; + s.mult___11711 = undefined; + s.dataW___11716 = undefined; + s.dataH___11722 = undefined; + s.byteHeight___11728 = undefined; + s.charSize___11734 = undefined; + s.dataSize___11738 = undefined; + s.fontdata___11742 = undefined; + s.lastchar___11745 = undefined; + s.imgBuf___11752 = undefined; + s.xOffset___11776 = undefined; + s.yOffset___11777 = undefined; + s.ch___11792 = undefined; + s.l___11811 = undefined; + s.r___11812 = undefined; + s.off___11814 = undefined; + s.guess___11815 = undefined; + s.m___11834 = undefined; + s.v___11843 = undefined; + s.i___11899 = undefined; + s.j___11904 = undefined; + s.mask___11905 = undefined; + s.c___11906 = undefined; + s.n___11923 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3319,8 +3319,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___11682 = (s.arg2); - s.cp___11684 = (0); + s.x0___11708 = (s.arg2); + s.cp___11710 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3354,7 +3354,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___11685 = (s.tmp_3); + s.mult___11711 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3368,8 +3368,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11685); - s.dataW___11690 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11711); + s.dataW___11716 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3383,16 +3383,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11685); - s.dataH___11696 = (r0); - r0 = (s.dataH___11696 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11711); + s.dataH___11722 = (r0); + r0 = (s.dataH___11722 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___11702 = (r0); - r0 = (s.byteHeight___11702 * s.dataW___11690); - s.charSize___11708 = (r0); - r0 = (2 + s.charSize___11708); - s.dataSize___11712 = (r0); + s.byteHeight___11728 = (r0); + r0 = (s.byteHeight___11728 * s.dataW___11716); + s.charSize___11734 = (r0); + r0 = (2 + s.charSize___11734); + s.dataSize___11738 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -3405,44 +3405,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___11716 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___11716); + s.fontdata___11742 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___11742); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___11712); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___11738); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___11719 = (r0); - r0 = (s.mult___11685 == 1); + s.lastchar___11745 = (r0); + r0 = (s.mult___11711 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___11708); + r0 = (8 + s.charSize___11734); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___11726 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11726, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11726, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11726, 2, s.dataW___11690); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11726, 4, s.dataH___11696); + s.imgBuf___11752 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11752, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11752, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11752, 2, s.dataW___11716); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11752, 4, s.dataH___11722); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___11684; + s.tmp_1 = r0 = s.cp___11710; r0 = pxsim_String_.length(s.arg1); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - s.xOffset___11750 = (0); - s.yOffset___11751 = (0); + s.xOffset___11776 = (0); + s.yOffset___11777 = (0); s.tmp_0 = r0 = s.arg6; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 10; continue; } r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_1 = r0 = s.cp___11684; + s.tmp_1 = r0 = s.cp___11710; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -3452,7 +3452,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } s.tmp_4 = if_xOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___11684); + r0 = pxsim_Array__getAt(s.arg6, s.cp___11710); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -3464,9 +3464,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___11750 = (r0); + s.xOffset___11776 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___11684); + r0 = pxsim_Array__getAt(s.arg6, s.cp___11710); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -3478,15 +3478,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___11751 = (r0); + s.yOffset___11777 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___11684; + s.tmp_0 = r0 = s.cp___11710; r0 = (s.tmp_0 + 1); - s.cp___11684 = (r0); + s.cp___11710 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___11766 = (r0); - r0 = (s.ch___11766 == 10); + s.ch___11792 = (r0); + r0 = (s.ch___11792 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -3508,89 +3508,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___11682); + s.arg2 = (s.x0___11708); case 14: case 15: - r0 = (s.ch___11766 < 32); + r0 = (s.ch___11792 < 32); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } { step = 9; continue; } case 16: case 17: - s.l___11785 = (0); - s.r___11786 = (s.lastchar___11719); - s.off___11788 = (0); - r0 = (s.ch___11766 - 32); + s.l___11811 = (0); + s.r___11812 = (s.lastchar___11745); + s.off___11814 = (0); + r0 = (s.ch___11792 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___11712); - s.guess___11789 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___11716, 4, s.guess___11789); + r0 = (s.tmp_0 * s.dataSize___11738); + s.guess___11815 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___11742, 4, s.guess___11815); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___11766); + r0 = (s.tmp_1 == s.ch___11792); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___11788 = (s.guess___11789); + s.off___11814 = (s.guess___11815); { step = 25; continue; } case 18: case 19: - r0 = (s.l___11785 <= s.r___11786); + r0 = (s.l___11811 <= s.r___11812); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___11785; - r0 = (s.r___11786 - s.l___11785); + s.tmp_1 = r0 = s.l___11811; + r0 = (s.r___11812 - s.l___11811); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___11808 = (r0); - s.tmp_0 = r0 = s.fontdata___11716; - r0 = (s.m___11808 * s.dataSize___11712); + s.m___11834 = (r0); + s.tmp_0 = r0 = s.fontdata___11742; + r0 = (s.m___11834 * s.dataSize___11738); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___11817 = (r0); - r0 = (s.v___11817 == s.ch___11766); + s.v___11843 = (r0); + r0 = (s.v___11843 == s.ch___11792); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___11808 * s.dataSize___11712); - s.off___11788 = (r0); + r0 = (s.m___11834 * s.dataSize___11738); + s.off___11814 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___11817 < s.ch___11766); + r0 = (s.v___11843 < s.ch___11792); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___11808 + 1); - s.l___11785 = (r0); + r0 = (s.m___11834 + 1); + s.l___11811 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___11808 - 1); - s.r___11786 = (r0); + r0 = (s.m___11834 - 1); + s.r___11812 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___11685 == 1); + r0 = (s.mult___11711 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___11726; - s.tmp_3 = r0 = s.fontdata___11716; - r0 = (s.off___11788 + 2); + s.tmp_1 = r0 = s.imgBuf___11752; + s.tmp_3 = r0 = s.fontdata___11742; + r0 = (s.off___11814 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___11708); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___11734); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); s.tmp_0 = helpers_imageDrawIcon__P1956_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___11726; - r0 = (s.arg2 + s.xOffset___11750); + s.tmp_0.arg1 = s.imgBuf___11752; + r0 = (s.arg2 + s.xOffset___11776); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___11751); + r0 = (s.arg3 + s.yOffset___11777); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 107; s.pc = 48; return s.tmp_0; @@ -3614,88 +3614,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___11788 + 2); - s.off___11788 = (r0); - s.i___11873 = (0); + r0 = (s.off___11814 + 2); + s.off___11814 = (r0); + s.i___11899 = (0); case 27: - r0 = (s.i___11873 < s.dataW___11690); + r0 = (s.i___11899 < s.dataW___11716); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___11878 = (0); - s.mask___11879 = (1); - s.tmp_0 = r0 = s.off___11788; + s.j___11904 = (0); + s.mask___11905 = (1); + s.tmp_0 = r0 = s.off___11814; r0 = (s.tmp_0 + 1); - s.off___11788 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11716, s.tmp_0); - s.c___11880 = (r0); + s.off___11814 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___11742, s.tmp_0); + s.c___11906 = (r0); case 28: - r0 = (s.j___11878 < s.dataH___11696); + r0 = (s.j___11904 < s.dataH___11722); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___11879 == 256); + r0 = (s.mask___11905 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___11788; + s.tmp_2 = r0 = s.off___11814; r0 = (s.tmp_2 + 1); - s.off___11788 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11716, s.tmp_2); - s.c___11880 = (r0); - s.mask___11879 = (1); + s.off___11814 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___11742, s.tmp_2); + s.c___11906 = (r0); + s.mask___11905 = (1); case 29: case 30: - s.n___11897 = (0); + s.n___11923 = (0); case 31: - r0 = (s.c___11880 & s.mask___11879); + r0 = (s.c___11906 & s.mask___11905); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___11897 + 1); - s.n___11897 = (r0); - r0 = (s.mask___11879 << 1); - s.mask___11879 = (r0); + r0 = (s.n___11923 + 1); + s.n___11923 = (r0); + r0 = (s.mask___11905 << 1); + s.mask___11905 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___11897); + r0 = pxsim_numops_toBoolDecr(s.n___11923); if (!r0) { step = 33; continue; } s.tmp_0 = helpers_imageFillRect__P1957_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___11750 * s.mult___11685); + r0 = (s.xOffset___11776 * s.mult___11711); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg1 = r0; s.tmp_3 = r0 = s.arg3; - r0 = (s.j___11878 + s.yOffset___11751); + r0 = (s.j___11904 + s.yOffset___11777); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___11685); + r0 = (s.tmp_5 * s.mult___11711); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___11685; - r0 = (s.mult___11685 * s.n___11897); + s.tmp_0.arg3 = s.mult___11711; + r0 = (s.mult___11711 * s.n___11923); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 109; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___11878 + s.n___11897); - s.j___11878 = (r0); + r0 = (s.j___11904 + s.n___11923); + s.j___11904 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___11879 << 1); - s.mask___11879 = (r0); - r0 = (s.j___11878 + 1); - s.j___11878 = (r0); + r0 = (s.mask___11905 << 1); + s.mask___11905 = (r0); + r0 = (s.j___11904 + 1); + s.j___11904 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___11685); + r0 = (s.arg2 + s.mult___11711); s.arg2 = (r0); - r0 = (s.i___11873 + 1); - s.i___11873 = (r0); + r0 = (s.i___11899 + 1); + s.i___11899 = (r0); { step = 27; continue; } case 36: case 37: @@ -3718,31 +3718,31 @@ function helpers_imagePrint__P1991_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___11682: undefined, - cp___11684: undefined, - mult___11685: undefined, - dataW___11690: undefined, - dataH___11696: undefined, - byteHeight___11702: undefined, - charSize___11708: undefined, - dataSize___11712: undefined, - fontdata___11716: undefined, - lastchar___11719: undefined, - imgBuf___11726: undefined, - xOffset___11750: undefined, - yOffset___11751: undefined, - ch___11766: undefined, - l___11785: undefined, - r___11786: undefined, - off___11788: undefined, - guess___11789: undefined, - m___11808: undefined, - v___11817: undefined, - i___11873: undefined, - j___11878: undefined, - mask___11879: undefined, - c___11880: undefined, - n___11897: undefined, + x0___11708: undefined, + cp___11710: undefined, + mult___11711: undefined, + dataW___11716: undefined, + dataH___11722: undefined, + byteHeight___11728: undefined, + charSize___11734: undefined, + dataSize___11738: undefined, + fontdata___11742: undefined, + lastchar___11745: undefined, + imgBuf___11752: undefined, + xOffset___11776: undefined, + yOffset___11777: undefined, + ch___11792: undefined, + l___11811: undefined, + r___11812: undefined, + off___11814: undefined, + guess___11815: undefined, + m___11834: undefined, + v___11843: undefined, + i___11899: undefined, + j___11904: undefined, + mask___11905: undefined, + c___11906: undefined, + n___11923: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3766,21 +3766,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___12000 = undefined; + s.i___12026 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___12000 = (0); + s.i___12026 = (0); case 1: - s.tmp_1 = r0 = s.i___12000; + s.tmp_1 = r0 = s.i___12026; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_String_.charCodeAt(s.arg0, s.i___12000); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___12026); s.tmp_4 = r0; r0 = (s.tmp_4 > 8192); s.tmp_3 = r0; @@ -3790,8 +3790,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___12000 + 1); - s.i___12000 = (r0); + r0 = (s.i___12026 + 1); + s.i___12026 = (r0); { step = 1; continue; } case 4: r0 = globals.font8___1976; @@ -3811,7 +3811,7 @@ function image_getFontForText__P1978_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - i___12000: undefined, + i___12026: undefined, arg0: undefined, } } @@ -4145,15 +4145,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___12023 = undefined; - s.lim___12025 = undefined; - s.s___12041 = undefined; - s.p___12044 = undefined; - s.R___12045 = undefined; - s.z___12059 = undefined; - s.T___12072 = undefined; - s.q___12073 = undefined; - s.e___12079 = undefined; + s.A___12049 = undefined; + s.lim___12051 = undefined; + s.s___12067 = undefined; + s.p___12070 = undefined; + s.R___12071 = undefined; + s.z___12085 = undefined; + s.T___12098 = undefined; + s.q___12099 = undefined; + s.e___12105 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4161,36 +4161,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___12023 = (r0); - s.lim___12025 = (0); + s.A___12049 = (r0); + s.lim___12051 = (0); r0 = (s.arg2 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (536870912 - 1); - s.lim___12025 = (r0); + s.lim___12051 = (r0); { step = 4; continue; } case 1: r0 = (s.arg2 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.lim___12025 = (0); + s.lim___12051 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___12025 = (r0); + s.lim___12051 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___12041 = (r0); - s.p___12044 = (0); - s.R___12045 = (s.arg1); - r0 = (s.lim___12025 == 0); + s.s___12067 = (r0); + s.p___12070 = (0); + s.R___12071 = (s.arg1); + r0 = (s.lim___12051 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___12023; + r0 = s.A___12049; { step = 21; continue; } case 5: case 6: @@ -4198,101 +4198,101 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array_.setAt(s.A___12023, 0, s.arg0); - r0 = s.A___12023; + r0 = pxsim_Array_.setAt(s.A___12049, 0, s.arg0); + r0 = s.A___12049; { step = 21; continue; } case 7: case 8: - r0 = (s.s___12041 == 0); + r0 = (s.s___12067 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = helpers_splitMatch__P4427_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___12045; + s.tmp_1.arg2 = s.R___12071; s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___12059 = (r0); - r0 = (s.z___12059 > -1); + s.z___12085 = (r0); + r0 = (s.z___12085 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___12023; + r0 = s.A___12049; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___12023, 0, s.arg0); - r0 = s.A___12023; + r0 = pxsim_Array_.setAt(s.A___12049, 0, s.arg0); + r0 = s.A___12049; { step = 21; continue; } case 11: case 12: - s.q___12073 = (s.p___12044); + s.q___12099 = (s.p___12070); case 13: - r0 = (s.q___12073 != s.s___12041); + r0 = (s.q___12099 != s.s___12067); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } s.tmp_1 = helpers_splitMatch__P4427_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___12073; - s.tmp_1.arg2 = s.R___12045; + s.tmp_1.arg1 = s.q___12099; + s.tmp_1.arg2 = s.R___12071; s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___12079 = (r0); - r0 = (s.e___12079 < 0); + s.e___12105 = (r0); + r0 = (s.e___12105 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___12073 + 1); - s.q___12073 = (r0); + r0 = (s.q___12099 + 1); + s.q___12099 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___12079 == s.p___12044); + r0 = (s.e___12105 == s.p___12070); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___12073 + 1); - s.q___12073 = (r0); + r0 = (s.q___12099 + 1); + s.q___12099 = (r0); { step = 18; continue; } case 15: s.tmp_0 = helpers_stringSlice__P119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___12044; - s.tmp_0.arg2 = s.q___12073; + s.tmp_0.arg1 = s.p___12070; + s.tmp_0.arg2 = s.q___12099; s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___12072 = (r0); - r0 = pxsim_Array__push(s.A___12023, s.T___12072); - r0 = pxsim_Array__length(s.A___12023); + s.T___12098 = (r0); + r0 = pxsim_Array__push(s.A___12049, s.T___12098); + r0 = pxsim_Array__length(s.A___12049); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___12025); + r0 = (s.tmp_1 == s.lim___12051); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___12023; + r0 = s.A___12049; { step = 21; continue; } case 16: case 17: - s.p___12044 = (s.e___12079); - s.q___12073 = (s.p___12044); + s.p___12070 = (s.e___12105); + s.q___12099 = (s.p___12070); case 18: case 19: { step = 13; continue; } case 20: s.tmp_0 = helpers_stringSlice__P119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___12044; - s.tmp_0.arg2 = s.q___12073; + s.tmp_0.arg1 = s.p___12070; + s.tmp_0.arg2 = s.q___12099; s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___12072 = (r0); - r0 = pxsim_Array__push(s.A___12023, s.T___12072); - r0 = s.A___12023; + s.T___12098 = (r0); + r0 = pxsim_Array__push(s.A___12049, s.T___12098); + r0 = s.A___12049; case 21: return leave(s, r0) default: oops() @@ -4306,15 +4306,15 @@ function helpers_stringSplit__P122_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___12023: undefined, - lim___12025: undefined, - s___12041: undefined, - p___12044: undefined, - R___12045: undefined, - z___12059: undefined, - T___12072: undefined, - q___12073: undefined, - e___12079: undefined, + A___12049: undefined, + lim___12051: undefined, + s___12067: undefined, + p___12070: undefined, + R___12071: undefined, + z___12085: undefined, + T___12098: undefined, + q___12099: undefined, + e___12105: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4334,9 +4334,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___12159 = undefined; - s.s___12162 = undefined; - s.i___12172 = undefined; + s.r___12185 = undefined; + s.s___12188 = undefined; + s.i___12198 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4344,12 +4344,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___12159 = (r0); + s.r___12185 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___12162 = (r0); - r0 = (s.arg1 + s.r___12159); + s.s___12188 = (r0); + r0 = (s.arg1 + s.r___12185); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___12162); + r0 = (s.tmp_1 > s.s___12188); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -4357,18 +4357,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___12172 = (0); + s.i___12198 = (0); case 3: - r0 = (s.i___12172 < s.r___12159); + r0 = (s.i___12198 < s.r___12185); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } s.tmp_3 = r0 = s.arg0; - r0 = (s.arg1 + s.i___12172); + r0 = (s.arg1 + s.i___12198); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); s.tmp_2 = r0; - r0 = pxsim_String_.charAt(s.arg2, s.i___12172); + r0 = pxsim_String_.charAt(s.arg2, s.i___12198); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -4378,11 +4378,11 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___12172 + 1); - s.i___12172 = (r0); + r0 = (s.i___12198 + 1); + s.i___12198 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___12159); + r0 = (s.arg1 + s.r___12185); case 7: return leave(s, r0) default: oops() @@ -4400,9 +4400,9 @@ function helpers_splitMatch__P4427_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___12159: undefined, - s___12162: undefined, - i___12172: undefined, + r___12185: undefined, + s___12188: undefined, + i___12198: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4422,7 +4422,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12124 = undefined; + s.len___12150 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4430,13 +4430,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___12124 = (r0); + s.len___12150 = (r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___12124 + s.arg1); + r0 = (s.len___12150 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; @@ -4449,7 +4449,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___12124); + s.arg2 = (s.len___12150); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -4464,7 +4464,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___12124 + s.arg2); + r0 = (s.len___12150 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -4486,7 +4486,7 @@ function helpers_stringSlice__P119_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___12124: undefined, + len___12150: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4506,7 +4506,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12256 = undefined; + s.s___12282 = undefined; s.unnamed100___U1 = undefined; s.unnamed101___U2 = undefined; if (s.lambdaArgs) { @@ -4569,7 +4569,7 @@ switch (step) { s.tmp_2 = helpers_arraySort__P105_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P12233; + s.tmp_2.arg1 = scene_Scene_render_inline__P12259; s.callLocIdx = 1006; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -4581,7 +4581,7 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___12256 = (undefined); + s.s___12282 = (undefined); r0 = s.arg0.fields["allSprites"]; s.unnamed100___U1 = (r0); s.unnamed101___U2 = (0); @@ -4592,9 +4592,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } r0 = pxsim_Array__getAt(s.unnamed100___U1, s.unnamed101___U2); - s.s___12256 = (r0); + s.s___12282 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___12256; + s.tmp_2.arg0 = s.s___12282; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -4636,7 +4636,7 @@ function scene_Scene_render__P2873_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - s___12256: undefined, + s___12282: undefined, unnamed100___U1: undefined, unnamed101___U2: undefined, arg0: undefined, @@ -4646,7 +4646,7 @@ function scene_Scene_render__P2873_mk(s) { -function scene_Scene_render_inline__P12233(s) { +function scene_Scene_render_inline__P12259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4728,12 +4728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P12233.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P12259.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P12233_mk(s) { +function scene_Scene_render_inline__P12259_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P12233, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P12259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4785,7 +4785,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P12404); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P12430); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P109_mk(s); @@ -4818,7 +4818,7 @@ function scene_Background_draw__P2679_mk(s) { -function scene_Background_draw_inline__P12404(s) { +function scene_Background_draw_inline__P12430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4828,8 +4828,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___12406 = undefined; - s.oy___12417 = undefined; + s.ox___12432 = undefined; + s.oy___12443 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -4844,7 +4844,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___12406 = (r0); + s.ox___12432 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -4855,11 +4855,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___12417 = (r0); + s.oy___12443 = (r0); s.tmp_0 = scene_BackgroundLayer_draw__P2688_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___12406; - s.tmp_0.arg2 = s.oy___12417; + s.tmp_0.arg1 = s.ox___12432; + s.tmp_0.arg2 = s.oy___12443; s.callLocIdx = 806; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -4867,19 +4867,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P12404.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +scene_Background_draw_inline__P12430.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} -function scene_Background_draw_inline__P12404_mk(s) { +function scene_Background_draw_inline__P12430_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P12404, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P12430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - ox___12406: undefined, - oy___12417: undefined, + ox___12432: undefined, + oy___12443: undefined, arg0: undefined, } } @@ -4897,19 +4897,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___12435 = undefined; - s.h___12438 = undefined; - s.pw___12441 = undefined; - s.ph___12445 = undefined; - s.rx___12454 = undefined; - s.ry___12457 = undefined; - s.y___12526 = undefined; - s.py___12527 = undefined; - s.dh___12536 = undefined; - s.x___12544 = undefined; - s.rxl___12545 = undefined; - s.px___12551 = undefined; - s.dw___12555 = undefined; + s.w___12461 = undefined; + s.h___12464 = undefined; + s.pw___12467 = undefined; + s.ph___12471 = undefined; + s.rx___12480 = undefined; + s.ry___12483 = undefined; + s.y___12552 = undefined; + s.py___12553 = undefined; + s.dh___12562 = undefined; + s.x___12570 = undefined; + s.rxl___12571 = undefined; + s.px___12577 = undefined; + s.dw___12581 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4919,18 +4919,18 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_BackgroundLayer__C2680_VT)) failedCast(r0); r0 = pxsim_ImageMethods.width(globals.screen___2033); - s.w___12435 = (r0); + s.w___12461 = (r0); r0 = pxsim_ImageMethods.height(globals.screen___2033); - s.h___12438 = (r0); + s.h___12464 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___12441 = (r0); + s.pw___12467 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___12445 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___12441); + s.ph___12471 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___12467); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4939,7 +4939,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___12445); + r0 = pxsim_numops_toBoolDecr(s.ph___12471); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -4951,9 +4951,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___12454 = (r0); + s.rx___12480 = (r0); r0 = (0 - s.arg2); - s.ry___12457 = (r0); + s.ry___12483 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -4963,20 +4963,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___12454; - r0 = (s.w___12435 + s.pw___12441); + s.tmp_1 = r0 = s.rx___12480; + r0 = (s.w___12461 + s.pw___12467); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___12454 = (r0); + s.rx___12480 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___12454; - r0 = (s.w___12435 + s.pw___12441); + s.tmp_0 = r0 = s.rx___12480; + r0 = (s.w___12461 + s.pw___12467); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___12454 = (r0); + s.rx___12480 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -4987,120 +4987,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___12457; - r0 = (s.h___12438 + s.ph___12445); + s.tmp_1 = r0 = s.ry___12483; + r0 = (s.h___12464 + s.ph___12471); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___12457 = (r0); + s.ry___12483 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___12457; - r0 = (s.h___12438 + s.ph___12445); + s.tmp_0 = r0 = s.ry___12483; + r0 = (s.h___12464 + s.ph___12471); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___12457 = (r0); + s.ry___12483 = (r0); case 10: - r0 = (s.rx___12454 % s.w___12435); - s.rx___12454 = (r0); - r0 = (s.rx___12454 < 0); + r0 = (s.rx___12480 % s.w___12461); + s.rx___12480 = (r0); + r0 = (s.rx___12480 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___12454 + s.w___12435); - s.rx___12454 = (r0); + r0 = (s.rx___12480 + s.w___12461); + s.rx___12480 = (r0); case 11: case 12: - r0 = (s.ry___12457 % s.h___12438); - s.ry___12457 = (r0); - r0 = (s.ry___12457 < 0); + r0 = (s.ry___12483 % s.h___12464); + s.ry___12483 = (r0); + r0 = (s.ry___12483 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___12457 + s.h___12438); - s.ry___12457 = (r0); + r0 = (s.ry___12483 + s.h___12464); + s.ry___12483 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___12454); - s.rx___12454 = (r0); - r0 = pxsim.Math_.floor(s.ry___12457); - s.ry___12457 = (r0); - s.y___12526 = (0); - s.py___12527 = (0); + r0 = pxsim.Math_.floor(s.rx___12480); + s.rx___12480 = (r0); + r0 = pxsim.Math_.floor(s.ry___12483); + s.ry___12483 = (r0); + s.y___12552 = (0); + s.py___12553 = (0); case 15: - r0 = (s.y___12526 < s.h___12438); + r0 = (s.y___12552 < s.h___12464); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___12526 % s.ph___12445); - s.py___12527 = (r0); + r0 = (s.y___12552 % s.ph___12471); + s.py___12553 = (r0); s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.ph___12445 - s.py___12527); + r0 = (s.ph___12471 - s.py___12553); s.tmp_0.arg0 = r0; - r0 = (s.h___12438 - s.ry___12457); + r0 = (s.h___12464 - s.ry___12483); s.tmp_0.arg1 = r0; s.callLocIdx = 809; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___12536 = (r0); - s.x___12544 = (0); - s.rxl___12545 = (s.rx___12454); + s.dh___12562 = (r0); + s.x___12570 = (0); + s.rxl___12571 = (s.rx___12480); case 16: - r0 = (s.x___12544 < s.w___12435); + r0 = (s.x___12570 < s.w___12461); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___12544 % s.pw___12441); - s.px___12551 = (r0); + r0 = (s.x___12570 % s.pw___12467); + s.px___12577 = (r0); s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.pw___12441 - s.px___12551); + r0 = (s.pw___12467 - s.px___12577); s.tmp_0.arg0 = r0; - r0 = (s.w___12435 - s.rxl___12545); + r0 = (s.w___12461 - s.rxl___12571); s.tmp_0.arg1 = r0; s.callLocIdx = 810; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___12555 = (r0); + s.dw___12581 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___2033, s.tmp_0, s.rxl___12545, s.ry___12457); - r0 = (s.rxl___12545 + s.dw___12555); + r0 = pxsim_ImageMethods.drawImage(globals.screen___2033, s.tmp_0, s.rxl___12571, s.ry___12483); + r0 = (s.rxl___12571 + s.dw___12581); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___12435); - s.rxl___12545 = (r0); + r0 = (s.tmp_0 % s.w___12461); + s.rxl___12571 = (r0); r0 = s.arg0.fields["repeatX"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = s.dw___12555; + r0 = s.dw___12581; { step = 18; continue; } case 17: - r0 = s.w___12435; + r0 = s.w___12461; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___12544 + s.tmp_1); - s.x___12544 = (r0); + r0 = (s.x___12570 + s.tmp_1); + s.x___12570 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___12457 + s.dh___12536); + r0 = (s.ry___12483 + s.dh___12562); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___12438); - s.ry___12457 = (r0); + r0 = (s.tmp_0 % s.h___12464); + s.ry___12483 = (r0); r0 = s.arg0.fields["repeatY"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = s.dh___12536; + r0 = s.dh___12562; { step = 21; continue; } case 20: - r0 = s.h___12438; + r0 = s.h___12464; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___12526 + s.tmp_1); - s.y___12526 = (r0); + r0 = (s.y___12552 + s.tmp_1); + s.y___12552 = (r0); { step = 15; continue; } case 22: case 23: @@ -5119,19 +5119,19 @@ function scene_BackgroundLayer_draw__P2688_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - w___12435: undefined, - h___12438: undefined, - pw___12441: undefined, - ph___12445: undefined, - rx___12454: undefined, - ry___12457: undefined, - y___12526: undefined, - py___12527: undefined, - dh___12536: undefined, - x___12544: undefined, - rxl___12545: undefined, - px___12551: undefined, - dw___12555: undefined, + w___12461: undefined, + h___12464: undefined, + pw___12467: undefined, + ph___12471: undefined, + rx___12480: undefined, + ry___12483: undefined, + y___12552: undefined, + py___12553: undefined, + dh___12562: undefined, + x___12570: undefined, + rxl___12571: undefined, + px___12577: undefined, + dw___12581: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5173,7 +5173,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P12278); + s.arg1 = (helpers_arraySort_inline__P12304); case 3: case 4: s.tmp_0 = helpers_sortHelper__P4425_mk(s); @@ -5204,7 +5204,7 @@ function helpers_arraySort__P105_mk(s) { -function helpers_arraySort_inline__P12278(s) { +function helpers_arraySort_inline__P12304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5214,26 +5214,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___12281 = undefined; - s.bIsUndef___12285 = undefined; - s.aIsNull___12296 = undefined; - s.bIsNull___12300 = undefined; + s.aIsUndef___12307 = undefined; + s.bIsUndef___12311 = undefined; + s.aIsNull___12322 = undefined; + s.bIsNull___12326 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___12281 = (r0); + s.aIsUndef___12307 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___12285 = (r0); - s.tmp_0 = r0 = s.aIsUndef___12281; + s.bIsUndef___12311 = (r0); + s.tmp_0 = r0 = s.aIsUndef___12307; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___12285; + r0 = s.bIsUndef___12311; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -5243,13 +5243,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___12281); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___12307); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___12285); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___12311); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -5258,16 +5258,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___12296 = (r0); + s.aIsNull___12322 = (r0); r0 = (s.arg1 === null); - s.bIsNull___12300 = (r0); - s.tmp_0 = r0 = s.aIsNull___12296; + s.bIsNull___12326 = (r0); + s.tmp_0 = r0 = s.aIsNull___12322; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___12300; + r0 = s.bIsNull___12326; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -5277,13 +5277,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___12296); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___12322); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___12300); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___12326); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -5322,12 +5322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P12278.info = {"start":5826,"length":636,"line":209,"column":25,"endLine":224,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} +helpers_arraySort_inline__P12304.info = {"start":5826,"length":636,"line":209,"column":25,"endLine":224,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} -function helpers_arraySort_inline__P12278_mk(s) { +function helpers_arraySort_inline__P12304_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P12278, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P12304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5337,10 +5337,10 @@ function helpers_arraySort_inline__P12278_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___12281: undefined, - bIsUndef___12285: undefined, - aIsNull___12296: undefined, - bIsNull___12300: undefined, + aIsUndef___12307: undefined, + bIsUndef___12311: undefined, + aIsNull___12322: undefined, + bIsNull___12326: undefined, arg0: undefined, arg1: undefined, } } @@ -5359,9 +5359,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12335 = undefined; - s.i___12338 = undefined; - s.j___12344 = undefined; + s.len___12361 = undefined; + s.i___12364 = undefined; + s.j___12370 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5389,28 +5389,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___12335 = (r0); - s.i___12338 = (0); + s.len___12361 = (r0); + s.i___12364 = (0); case 5: - s.tmp_1 = r0 = s.i___12338; - r0 = (s.len___12335 - 1); + s.tmp_1 = r0 = s.i___12364; + r0 = (s.len___12361 - 1); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = (s.i___12338 + 1); - s.j___12344 = (r0); + r0 = (s.i___12364 + 1); + s.j___12370 = (r0); case 6: - r0 = (s.j___12344 < s.len___12335); + r0 = (s.j___12370 < s.len___12361); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___12338); + r0 = pxsim_Array__getAt(s.arg0, s.i___12364); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___12344); + r0 = pxsim_Array__getAt(s.arg0, s.j___12370); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -5423,19 +5423,19 @@ switch (step) { if (!r0) { step = 7; continue; } s.tmp_4 = helpers_swap__P4424_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___12338; - s.tmp_4.arg2 = s.j___12344; + s.tmp_4.arg1 = s.i___12364; + s.tmp_4.arg2 = s.j___12370; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___12344 + 1); - s.j___12344 = (r0); + r0 = (s.j___12370 + 1); + s.j___12370 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___12338 + 1); - s.i___12338 = (r0); + r0 = (s.i___12364 + 1); + s.i___12364 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -5455,9 +5455,9 @@ function helpers_sortHelper__P4425_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - len___12335: undefined, - i___12338: undefined, - j___12344: undefined, + len___12361: undefined, + i___12364: undefined, + j___12370: undefined, arg0: undefined, arg1: undefined, } } @@ -5476,7 +5476,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___12373 = undefined; + s.temp___12399 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5484,13 +5484,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___12373 = (r0); + s.temp___12399 = (r0); s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = pxsim_Array__getAt(s.arg0, s.arg2); s.tmp_2 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, s.tmp_1, s.tmp_2); - r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___12373); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___12399); r0 = undefined; return leave(s, r0) default: oops() @@ -5505,7 +5505,7 @@ function helpers_swap__P4424_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___12373: undefined, + temp___12399: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5525,12 +5525,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___12654 = undefined; - s.percentComplete___12668 = undefined; - s.damp___12675 = undefined; - s.f___12684 = undefined; - s.x___12690 = undefined; - s.y___12697 = undefined; + s.elapsed___12680 = undefined; + s.percentComplete___12694 = undefined; + s.damp___12701 = undefined; + s.f___12710 = undefined; + s.x___12716 = undefined; + s.y___12723 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -5638,10 +5638,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___12654 = (r0); + s.elapsed___12680 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___12654 >= s.tmp_1); + r0 = (s.elapsed___12680 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -5650,49 +5650,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___12654 / s.tmp_0); - s.percentComplete___12668 = (r0); - s.damp___12675 = (1); - r0 = (s.percentComplete___12668 >= 0.75); + r0 = (s.elapsed___12680 / s.tmp_0); + s.percentComplete___12694 = (r0); + s.damp___12701 = (1); + r0 = (s.percentComplete___12694 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___12668); + r0 = (1 - s.percentComplete___12694); s.tmp_1.arg1 = r0; s.callLocIdx = 969; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.damp___12675 = (r0); + s.damp___12701 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___12675); - s.f___12684 = (r0); + r0 = (s.tmp_0 * s.damp___12701); + s.f___12710 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12684); + r0 = (s.tmp_1 * s.f___12710); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___12690 = (r0); + s.x___12716 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12684); + r0 = (s.tmp_1 * s.f___12710); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___12697 = (r0); + s.y___12723 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___12690); + r0 = (s.tmp_2 + s.x___12716); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetX"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetY"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.y___12697); + r0 = (s.tmp_2 + s.y___12723); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -5718,12 +5718,12 @@ function scene_Camera_update__P2799_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - elapsed___12654: undefined, - percentComplete___12668: undefined, - damp___12675: undefined, - f___12684: undefined, - x___12690: undefined, - y___12697: undefined, + elapsed___12680: undefined, + percentComplete___12694: undefined, + damp___12701: undefined, + f___12710: undefined, + x___12716: undefined, + y___12723: undefined, arg0: undefined, } } @@ -5741,7 +5741,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12716 = undefined; + s.scene___12742 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5753,15 +5753,15 @@ switch (step) { s.callLocIdx = 948; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12716 = (r0); - r0 = s.scene___12716.fields["tileMap"]; + s.scene___12742 = (r0); + r0 = s.scene___12742.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___12716.fields["tileMap"]; + r0 = s.scene___12742.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -5779,7 +5779,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; s.tmp_10 = tiles_TileMap_offsetY__P2743_mk(s); - r0 = s.scene___12716.fields["tileMap"]; + r0 = s.scene___12742.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 950; s.pc = 6; return s.tmp_10; @@ -5818,7 +5818,7 @@ function scene_Camera_offsetY__P2790_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12716: undefined, + scene___12742: undefined, arg0: undefined, arg1: undefined, } } @@ -6107,7 +6107,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12758 = undefined; + s.scene___12784 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6119,15 +6119,15 @@ switch (step) { s.callLocIdx = 945; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12758 = (r0); - r0 = s.scene___12758.fields["tileMap"]; + s.scene___12784 = (r0); + r0 = s.scene___12784.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___12758.fields["tileMap"]; + r0 = s.scene___12784.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -6145,7 +6145,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; s.tmp_10 = tiles_TileMap_offsetX__P2742_mk(s); - r0 = s.scene___12758.fields["tileMap"]; + r0 = s.scene___12784.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 947; s.pc = 6; return s.tmp_10; @@ -6184,7 +6184,7 @@ function scene_Camera_offsetX__P2788_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12758: undefined, + scene___12784: undefined, arg0: undefined, arg1: undefined, } } @@ -6778,7 +6778,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___13019 = undefined; + s.dtms___13045 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -6786,10 +6786,10 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___13019 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P13026); + s.dtms___13045 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P13052); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___13019); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___13045); s.tmp_1 = helpers_arrayForEach__P109_mk(s); s.tmp_2 = controller_players__P2130_mk(s); s.callLocIdx = 194; s.pc = 2; return s.tmp_2; @@ -6814,7 +6814,7 @@ function controller___update__P2166_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___13019: undefined, + dtms___13045: undefined, arg0: undefined, } } @@ -6822,7 +6822,7 @@ function controller___update__P2166_mk(s) { -function controller___update_inline__P13026(s) { +function controller___update_inline__P13052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6846,12 +6846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P13026.info = {"start":13841,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P13052.info = {"start":13841,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P13026_mk(s) { +function controller___update_inline__P13052_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P13026, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P13052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6888,7 +6888,7 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P13039); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P13065); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayForEach__P109_mk(s); @@ -6921,7 +6921,7 @@ function controller_Controller___update__P2164_mk(s) { -function controller_Controller___update_inline__P13039(s) { +function controller_Controller___update_inline__P13065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6946,12 +6946,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P13039.info = {"start":13304,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P13065.info = {"start":13304,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function controller_Controller___update_inline__P13039_mk(s) { +function controller_Controller___update_inline__P13065_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P13039, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P13065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6971,9 +6971,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___13055 = undefined; - s.interval___13064 = undefined; - s.count___13077 = undefined; + s.delay___13081 = undefined; + s.interval___13090 = undefined; + s.count___13103 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7011,7 +7011,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___13055 = (s.tmp_2); + s.delay___13081 = (s.tmp_2); r0 = s.arg0.fields["repeatInterval"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -7025,10 +7025,10 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___13064 = (s.tmp_2); + s.interval___13090 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___13055); + r0 = (s.tmp_1 < s.delay___13081); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -7037,17 +7037,17 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___13055); + r0 = (s.tmp_5 - s.delay___13081); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___13064); + r0 = (s.tmp_4 - s.interval___13090); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___13064); + r0 = (s.tmp_3 / s.interval___13090); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___13077 = (r0); + s.count___13103 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___13077 != s.tmp_1); + r0 = (s.count___13103 != s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } @@ -7056,7 +7056,7 @@ switch (step) { s.callLocIdx = 208; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___13077); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___13103); case 9: case 10: case 11: @@ -7077,9 +7077,9 @@ function controller_Button___update__P2204_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___13055: undefined, - interval___13064: undefined, - count___13077: undefined, + delay___13081: undefined, + interval___13090: undefined, + count___13103: undefined, arg0: undefined, arg1: undefined, } } @@ -7150,7 +7150,7 @@ switch (step) { r0 = s.retval; s.tmp_0 = helpers_arrayFilter__P110_mk(s); s.tmp_0.arg0 = globals._players___4720; - s.tmp_0.arg1 = controller_players_inline__P13009; + s.tmp_0.arg1 = controller_players_inline__P13035; s.callLocIdx = 154; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -7171,7 +7171,7 @@ function controller_players__P2130_mk(s) { -function controller_players_inline__P13009(s) { +function controller_players_inline__P13035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7195,12 +7195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P13009.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller_players_inline__P13035.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller_players_inline__P13009_mk(s) { +function controller_players_inline__P13035_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P13009, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P13035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7222,31 +7222,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___9298 = undefined; - s.len___9300 = undefined; - s.i___9303 = undefined; - s.v___9308 = undefined; + s.res___9324 = undefined; + s.len___9326 = undefined; + s.i___9329 = undefined; + s.v___9334 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___9298 = (r0); + s.res___9324 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___9300 = (r0); - s.i___9303 = (0); + s.len___9326 = (r0); + s.i___9329 = (0); case 1: - r0 = (s.i___9303 < s.len___9300); + r0 = (s.i___9329 < s.len___9326); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___9303); - s.v___9308 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___9329); + s.v___9334 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___9308; - s.tmp_1.arg1 = s.i___9303; + s.tmp_1.arg0 = s.v___9334; + s.tmp_1.arg1 = s.i___9329; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -7254,14 +7254,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___9298, s.v___9308); + r0 = pxsim_Array__push(s.res___9324, s.v___9334); case 2: case 3: - r0 = (s.i___9303 + 1); - s.i___9303 = (r0); + r0 = (s.i___9329 + 1); + s.i___9329 = (r0); { step = 1; continue; } case 4: - r0 = s.res___9298; + r0 = s.res___9324; return leave(s, r0) default: oops() } } } @@ -7274,10 +7274,10 @@ function helpers_arrayFilter__P110_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___9298: undefined, - len___9300: undefined, - i___9303: undefined, - v___9308: undefined, + res___9324: undefined, + len___9326: undefined, + i___9329: undefined, + v___9334: undefined, arg0: undefined, arg1: undefined, } } @@ -7302,7 +7302,7 @@ switch (step) { case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P12804; + s.tmp_0.arg1 = controller__moveSprites_inline__P12830; s.callLocIdx = 157; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -7325,7 +7325,7 @@ function controller__moveSprites__P2134_mk(s) { -function controller__moveSprites_inline__P12804(s) { +function controller__moveSprites_inline__P12830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7348,12 +7348,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P12804.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller__moveSprites_inline__P12830.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller__moveSprites_inline__P12804_mk(s) { +function controller__moveSprites_inline__P12830_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P12804, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P12830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7373,13 +7373,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___12811 = undefined; - s.svx___12812 = undefined; - s.svy___12813 = undefined; - s.svxInCricle___12848 = undefined; - s.svyInCircle___12850 = undefined; - s.sq___12852 = undefined; - s.scale___12867 = undefined; + s.deadSprites___12837 = undefined; + s.svx___12838 = undefined; + s.svy___12839 = undefined; + s.svxInCricle___12874 = undefined; + s.svyInCircle___12876 = undefined; + s.sq___12878 = undefined; + s.scale___12893 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -7402,19 +7402,19 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___12811 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___12811, false); + s.deadSprites___12837 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___12837, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___12812 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___12812, 0); + s.svx___12838 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___12838, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___12813 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___12813, 0); + s.svy___12839 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___12839, 0); r0 = s.arg0.fields["analog"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = r0 = s.svx___12812; + s.tmp_1 = r0 = s.svx___12838; s.tmp_5 = controller_Button_pressureLevel__P2202_mk(s); s.tmp_6 = controller_Controller_right__P2145_mk(s); s.tmp_6.arg0 = s.arg0; @@ -7442,7 +7442,7 @@ switch (step) { r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.svy___12813; + s.tmp_0 = r0 = s.svy___12839; s.tmp_4 = controller_Button_pressureLevel__P2202_mk(s); s.tmp_5 = controller_Controller_down__P2147_mk(s); s.tmp_5.arg0 = s.arg0; @@ -7516,7 +7516,7 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___12812; + s.tmp_8 = r0 = s.svx___12838; r0 = (s.tmp_3 - s.tmp_7); s.tmp_9 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_8, s.tmp_9); @@ -7564,57 +7564,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___12813; + s.tmp_8 = r0 = s.svy___12839; r0 = (s.tmp_3 - s.tmp_7); s.tmp_9 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_8, s.tmp_9); case 12: r0 = pxsim_pxtrt.mklocRef(); - s.svxInCricle___12848 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12848; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12812); + s.svxInCricle___12874 = (r0); + s.tmp_0 = r0 = s.svxInCricle___12874; + r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___12850 = (r0); - s.tmp_0 = r0 = s.svyInCircle___12850; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12813); + s.svyInCircle___12876 = (r0); + s.tmp_0 = r0 = s.svyInCircle___12876; + r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___12812); + r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12812); + r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12813); + r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12813); + r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___12852 = (r0); - r0 = (s.sq___12852 > 65536); + s.sq___12878 = (r0); + r0 = (s.sq___12878 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___12852); + r0 = (65536 / s.sq___12878); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___12867 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12848; - s.tmp_3 = r0 = s.scale___12867; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12812); + s.scale___12893 = (r0); + s.tmp_0 = r0 = s.svxInCricle___12874; + s.tmp_3 = r0 = s.scale___12893; + r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = r0 = s.svyInCircle___12850; - s.tmp_3 = r0 = s.scale___12867; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12813); + s.tmp_0 = r0 = s.svyInCircle___12876; + s.tmp_3 = r0 = s.scale___12893; + r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -7623,13 +7623,13 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P12885); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P12911); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___12811); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___12812); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___12813); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___12848); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___12850); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___12837); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___12838); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___12839); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___12874); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___12876); s.tmp_1 = helpers_arrayForEach__P109_mk(s); s.tmp_2 = controller_Controller__controlledSprites__P2140_mk(s); s.tmp_2.arg0 = s.arg0; @@ -7641,7 +7641,7 @@ switch (step) { s.callLocIdx = 188; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___12811); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___12837); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } @@ -7654,7 +7654,7 @@ switch (step) { case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P12942; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P12968; s.callLocIdx = 190; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -7686,13 +7686,13 @@ function controller_Controller___preUpdate__P2163_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___12811: undefined, - svx___12812: undefined, - svy___12813: undefined, - svxInCricle___12848: undefined, - svyInCircle___12850: undefined, - sq___12852: undefined, - scale___12867: undefined, + deadSprites___12837: undefined, + svx___12838: undefined, + svy___12839: undefined, + svxInCricle___12874: undefined, + svyInCircle___12876: undefined, + sq___12878: undefined, + scale___12893: undefined, arg0: undefined, } } @@ -7700,7 +7700,7 @@ function controller_Controller___preUpdate__P2163_mk(s) { -function controller_Controller___preUpdate_inline__P12885(s) { +function controller_Controller___preUpdate_inline__P12911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7710,9 +7710,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12888 = undefined; - s.vx___12889 = undefined; - s.vy___12890 = undefined; + s.s___12914 = undefined; + s.vx___12915 = undefined; + s.vy___12916 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -7730,7 +7730,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___12888 = (r0); + s.s___12914 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -7743,7 +7743,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___12889 = (r0); + s.vx___12915 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -7756,8 +7756,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___12890 = (r0); - r0 = s.s___12888.fields["flags"]; + s.vy___12916 = (r0); + r0 = s.s___12914.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -7771,14 +7771,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = pxsim_numops_toBoolDecr(s.vx___12889); + r0 = pxsim_numops_toBoolDecr(s.vx___12915); if (!r0) { step = 3; continue; } - r0 = (s.s___12888).fields["_vx"] = (0); + r0 = (s.s___12914).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___12890); + r0 = pxsim_numops_toBoolDecr(s.vy___12916); if (!r0) { step = 5; continue; } - r0 = (s.s___12888).fields["_vy"] = (0); + r0 = (s.s___12914).fields["_vy"] = (0); case 5: case 6: case 7: @@ -7796,48 +7796,48 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 19; continue; } - s.tmp_2 = r0 = s.vx___12889; + s.tmp_2 = r0 = s.vx___12915; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___12890; + r0 = s.vy___12916; case 12: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 13; continue; } - s.tmp_4 = r0 = s.s___12888; + s.tmp_4 = r0 = s.s___12914; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___12889); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___12915); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___12888; + s.tmp_0 = r0 = s.s___12914; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12890); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12916); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___12889); + r0 = pxsim_numops_toBoolDecr(s.vx___12915); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___12888; + s.tmp_0 = r0 = s.s___12914; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___12889); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___12915); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___12890); + r0 = pxsim_numops_toBoolDecr(s.vy___12916); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___12888; + s.tmp_0 = r0 = s.s___12914; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12890); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12916); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -7854,12 +7854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P12885.info = {"start":11855,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P12911.info = {"start":11855,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function controller_Controller___preUpdate_inline__P12885_mk(s) { +function controller_Controller___preUpdate_inline__P12911_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12885, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P12911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7868,9 +7868,9 @@ function controller_Controller___preUpdate_inline__P12885_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___12888: undefined, - vx___12889: undefined, - vy___12890: undefined, + s___12914: undefined, + vx___12915: undefined, + vy___12916: undefined, arg0: undefined, } } @@ -7878,7 +7878,7 @@ function controller_Controller___preUpdate_inline__P12885_mk(s) { -function controller_Controller___preUpdate_inline__P12942(s) { +function controller_Controller___preUpdate_inline__P12968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7903,12 +7903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P12942.info = {"start":13153,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P12968.info = {"start":13153,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function controller_Controller___preUpdate_inline__P12942_mk(s) { +function controller_Controller___preUpdate_inline__P12968_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12942, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P12968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8371,8 +8371,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11530 = undefined; - s.to___11533 = undefined; + s.p___11556 = undefined; + s.to___11559 = undefined; s.tmp_0 = power_init__P4629_mk(s); s.callLocIdx = 76; s.pc = 11; return s.tmp_0; case 11: @@ -8387,7 +8387,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___11530 = (s.tmp_1); + s.p___11556 = (s.tmp_1); s.tmp_0 = r0 = globals._timeout___4628; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } @@ -8398,8 +8398,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___11533 = (s.tmp_1); - r0 = (s.to___11533 > 0); + s.to___11559 = (s.tmp_1); + r0 = (s.to___11559 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -8408,9 +8408,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___11530); + r0 = (s.tmp_2 - s.p___11556); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___11533); + r0 = (s.tmp_1 > s.to___11559); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -8450,8 +8450,8 @@ function power_checkDeepSleep__P1931_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___11530: undefined, - to___11533: undefined, + p___11556: undefined, + to___11559: undefined, } } @@ -8559,8 +8559,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___9636 = undefined; - s.i___9645 = undefined; + s.fn___9662 = undefined; + s.i___9671 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8589,12 +8589,12 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C392_VT); - s.fn___9636 = (r0); - r0 = (s.fn___9636).fields["order"] = (s.arg1); - r0 = (s.fn___9636).fields["handler"] = (s.arg2); - s.i___9645 = (0); + s.fn___9662 = (r0); + r0 = (s.fn___9662).fields["order"] = (s.arg1); + r0 = (s.fn___9662).fields["handler"] = (s.arg2); + s.i___9671 = (0); case 3: - s.tmp_1 = r0 = s.i___9645; + s.tmp_1 = r0 = s.i___9671; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -8605,7 +8605,7 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["frameCallbacks"]; s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, s.i___9645); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___9671); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -8614,19 +8614,19 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["frameCallbacks"]; s.tmp_7 = r0; - r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___9645, s.fn___9636); - r0 = s.fn___9636; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___9671, s.fn___9662); + r0 = s.fn___9662; { step = 7; continue; } case 4: case 5: - r0 = (s.i___9645 + 1); - s.i___9645 = (r0); + r0 = (s.i___9671 + 1); + s.i___9671 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___9636); - r0 = s.fn___9636; + r0 = pxsim_Array__push(s.tmp_0, s.fn___9662); + r0 = s.fn___9662; case 7: return leave(s, r0) default: oops() @@ -8646,8 +8646,8 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___9636: undefined, - i___9645: undefined, + fn___9662: undefined, + i___9671: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8667,7 +8667,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___9679 = undefined; + s.worker___9705 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8686,11 +8686,11 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___9679 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P9685); + s.worker___9705 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P9711); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___9679); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___9705); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; @@ -8707,7 +8707,7 @@ function control_EventContext_registerFrameCallbacks__P4502_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___9679: undefined, + worker___9705: undefined, arg0: undefined, } } @@ -8715,7 +8715,7 @@ function control_EventContext_registerFrameCallbacks__P4502_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P9685(s) { +function control_EventContext_registerFrameCallbacks_inline__P9711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8725,12 +8725,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___9715 = undefined; + s.delay___9741 = undefined; r0 = s.caps[0].fields["runningCallbacks"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P9691); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P9717); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); s.tmp_2 = pauseUntil__P367_mk(s); @@ -8761,9 +8761,9 @@ switch (step) { s.callLocIdx = 46; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___9715 = (r0); + s.delay___9741 = (r0); s.tmp_0 = pause__P413_mk(s); - s.tmp_0.arg0 = s.delay___9715; + s.tmp_0.arg0 = s.delay___9741; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -8774,24 +8774,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P9685.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P9711.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P9685_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P9711_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9685, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___9715: undefined, + delay___9741: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P9691(s) { +function control_EventContext_registerFrameCallbacks_inline__P9717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8809,12 +8809,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P9691.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P9717.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P9691_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P9717_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9691, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8834,15 +8834,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___9724 = undefined; - s.f___9737 = undefined; + s.loopStart___9750 = undefined; + s.f___9763 = undefined; s.unnamed66___U2 = undefined; s.unnamed67___U3 = undefined; - s.now___9742 = undefined; - s.runtime___9745 = undefined; - s.realTimeInSample___9764 = undefined; - s.fps___9773 = undefined; - s.delay___9842 = undefined; + s.now___9768 = undefined; + s.runtime___9771 = undefined; + s.realTimeInSample___9790 = undefined; + s.fps___9799 = undefined; + s.delay___9868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8850,15 +8850,15 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___9724 = (r0); + s.loopStart___9750 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___9724 - s.tmp_2); + r0 = (s.loopStart___9750 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___9724); - s.f___9737 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___9750); + s.f___9763 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; s.unnamed66___U2 = (r0); s.unnamed67___U3 = (0); @@ -8869,9 +8869,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed66___U2, s.unnamed67___U3); - s.f___9737 = (r0); + s.f___9763 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___9737; + s.tmp_2.arg0 = s.f___9763; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 43; s.pc = 11; return s.tmp_2; @@ -8889,13 +8889,13 @@ switch (step) { case 2: s.unnamed66___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___9742 = (r0); - r0 = (s.now___9742 - s.loopStart___9724); - s.runtime___9745 = (r0); + s.now___9768 = (r0); + r0 = (s.now___9768 - s.loopStart___9750); + s.runtime___9771 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___9745); + r0 = (s.tmp_2 + s.runtime___9771); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -8923,9 +8923,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___9742 - s.tmp_4); - s.realTimeInSample___9764 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___9742); + r0 = (s.now___9768 - s.tmp_4); + s.realTimeInSample___9790 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___9768); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -8933,8 +8933,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___9773 = (r0); - r0 = pxsim.Math_.round(s.fps___9773); + s.fps___9799 = (r0); + r0 = pxsim.Math_.round(s.fps___9799); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -8947,7 +8947,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); globals.control_EventContext_lastStats___397 = (r0); - r0 = (s.fps___9773 < 99); + r0 = (s.fps___9799 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -8960,7 +8960,7 @@ switch (step) { case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___9773 * 10); + r0 = (s.fps___9799 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -8996,7 +8996,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___9773 * 100); + r0 = (s.fps___9799 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -9043,12 +9043,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___9764) && (s.realTimeInSample___9764).vtable) { + if ((s.realTimeInSample___9790) && (s.realTimeInSample___9790).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___9764); + pxsim_String__stringConv(s.realTimeInSample___9790); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___9764) + ""; } + } else { s.retval = (s.realTimeInSample___9790) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -9067,13 +9067,13 @@ switch (step) { case 10: s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___9745); + r0 = (20 - s.runtime___9771); s.tmp_0.arg1 = r0; s.callLocIdx = 44; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___9842 = (r0); - r0 = s.delay___9842; + s.delay___9868 = (r0); + r0 = s.delay___9868; return leave(s, r0) default: oops() } } } @@ -9102,15 +9102,15 @@ function control_EventContext_runCallbacks__P4501_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___9724: undefined, - f___9737: undefined, + loopStart___9750: undefined, + f___9763: undefined, unnamed66___U2: undefined, unnamed67___U3: undefined, - now___9742: undefined, - runtime___9745: undefined, - realTimeInSample___9764: undefined, - fps___9773: undefined, - delay___9842: undefined, + now___9768: undefined, + runtime___9771: undefined, + realTimeInSample___9790: undefined, + fps___9799: undefined, + delay___9868: undefined, arg0: undefined, } } @@ -9208,7 +9208,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___9864 = undefined; + s.ev___9890 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9233,7 +9233,7 @@ switch (step) { s.callLocIdx = 28; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___9864 = (s.tmp_0); + s.ev___9890 = (s.tmp_0); r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4478); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -9242,19 +9242,19 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___9864); + r0 = pxsim_Array__push(s.tmp_2, s.ev___9890); globals._pollEventQueue___4478 = (s.tmp_2); r0 = pxsim.control.runInParallel(control_pollEvents__P4479); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___4478, s.ev___9864); + r0 = pxsim_Array__push(globals._pollEventQueue___4478, s.ev___9890); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } s.tmp_0 = control_onEvent__P391_mk(s); - r0 = s.ev___9864.fields["eid"]; + r0 = s.ev___9890.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___9864.fields["vid"]; + r0 = s.ev___9890.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -9263,9 +9263,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___9864.fields["eid"]; + r0 = s.ev___9890.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___9864.fields["vid"]; + r0 = s.ev___9890.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -9288,7 +9288,7 @@ function control___queuePollEvent__P366_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___9864: undefined, + ev___9890: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9308,9 +9308,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___9991 = undefined; - s.i___9994 = undefined; - s.ev___10000 = undefined; + s.now___10017 = undefined; + s.i___10020 = undefined; + s.ev___10026 = undefined; case 1: r0 = pxsim_Array__length(globals._pollEventQueue___4478); s.tmp_1 = r0; @@ -9319,20 +9319,20 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = pxsim.control.millis(); - s.now___9991 = (r0); - s.i___9994 = (0); + s.now___10017 = (r0); + s.i___10020 = (0); case 2: - s.tmp_1 = r0 = s.i___9994; + s.tmp_1 = r0 = s.i___10020; r0 = pxsim_Array__length(globals._pollEventQueue___4478); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = pxsim_Array__getAt(globals._pollEventQueue___4478, s.i___9994); - s.ev___10000 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___4478, s.i___10020); + s.ev___10026 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___10000; + s.tmp_1.arg0 = s.ev___10026; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 25; s.pc = 13; return s.tmp_1; @@ -9350,7 +9350,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___10000.fields["timeOut"]; + r0 = s.ev___10026.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -9359,11 +9359,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___10000.fields["start"]; + r0 = s.ev___10026.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___9991 - s.tmp_5); + r0 = (s.now___10017 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___10000.fields["timeOut"]; + r0 = s.ev___10026.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -9375,30 +9375,30 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___10000.fields["eid"]; + r0 = s.ev___10026.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___10000.fields["vid"]; + r0 = s.ev___10026.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___10000.fields["once"]; + r0 = s.ev___10026.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } s.tmp_1 = helpers_arraySplice__P100_mk(s); s.tmp_1.arg0 = globals._pollEventQueue___4478; - s.tmp_1.arg1 = s.i___9994; + s.tmp_1.arg1 = s.i___10020; s.tmp_1.arg2 = 1; s.callLocIdx = 26; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___9994 - 1); - s.i___9994 = (r0); + r0 = (s.i___10020 - 1); + s.i___10020 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___9994 + 1); - s.i___9994 = (r0); + r0 = (s.i___10020 + 1); + s.i___10020 = (r0); { step = 2; continue; } case 11: s.tmp_0 = pause__P413_mk(s); @@ -9431,9 +9431,9 @@ function control_pollEvents__P4479_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___9991: undefined, - i___9994: undefined, - ev___10000: undefined, + now___10017: undefined, + i___10020: undefined, + ev___10026: undefined, } } @@ -9450,7 +9450,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10048 = undefined; + s.i___10074 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9464,15 +9464,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___10048 = (0); + s.i___10074 = (0); case 3: - r0 = (s.i___10048 < s.arg2); + r0 = (s.i___10074 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } r0 = pxsim_Array_.removeAt(s.arg0, s.arg1); - r0 = (s.i___10048 + 1); - s.i___10048 = (r0); + r0 = (s.i___10074 + 1); + s.i___10074 = (r0); { step = 3; continue; } case 4: case 5: @@ -9488,7 +9488,7 @@ function helpers_arraySplice__P100_mk(s) { parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___10048: undefined, + i___10074: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9598,32 +9598,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___8174 = undefined; - s.i___8177 = undefined; + s.len___8200 = undefined; + s.i___8203 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___8174 = (r0); - s.i___8177 = (0); + s.len___8200 = (r0); + s.i___8203 = (0); case 1: - r0 = (s.i___8177 < s.len___8174); + r0 = (s.i___8203 < s.len___8200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___8177); + r0 = pxsim_Array__getAt(s.arg0, s.i___8203); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___8177; + s.tmp_1.arg1 = s.i___8203; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 5; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___8177 + 1); - s.i___8177 = (r0); + r0 = (s.i___8203 + 1); + s.i___8203 = (r0); { step = 1; continue; } case 2: r0 = undefined; @@ -9639,8 +9639,8 @@ function helpers_arrayForEach__P109_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___8174: undefined, - i___8177: undefined, + len___8200: undefined, + i___8203: undefined, arg0: undefined, arg1: undefined, } } @@ -10340,8 +10340,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___13118 = undefined; - s.n___13124 = undefined; + s.ctx___13144 = undefined; + s.n___13150 = undefined; r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4504); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -10356,11 +10356,11 @@ switch (step) { s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___13118 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___13118); + s.ctx___13144 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___13144); if (!r0) { step = 3; continue; } s.tmp_0 = control_EventContext_unregister__P402_mk(s); - s.tmp_0.arg0 = s.ctx___13118; + s.tmp_0.arg0 = s.ctx___13144; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -10373,9 +10373,9 @@ switch (step) { s.callLocIdx = 56; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___13124 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___4504, s.n___13124); - r0 = s.n___13124; + s.n___13150 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___4504, s.n___13150); + r0 = s.n___13150; return leave(s, r0) default: oops() } } } @@ -10388,8 +10388,8 @@ function control_pushEventContext__P409_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___13118: undefined, - n___13124: undefined, + ctx___13144: undefined, + n___13150: undefined, } } @@ -10406,7 +10406,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___13153 = undefined; + s.h___13179 = undefined; s.unnamed70___U1 = undefined; s.unnamed71___U2 = undefined; if (s.lambdaArgs) { @@ -10415,7 +10415,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___13153 = (undefined); + s.h___13179 = (undefined); r0 = s.arg0.fields["handlers"]; s.unnamed70___U1 = (r0); s.unnamed71___U2 = (0); @@ -10426,9 +10426,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed70___U1, s.unnamed71___U2); - s.h___13153 = (r0); + s.h___13179 = (r0); s.tmp_2 = control_EventHandler_unregister__P4498_mk(s); - s.tmp_2.arg0 = s.h___13153; + s.tmp_2.arg0 = s.h___13179; s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -10457,7 +10457,7 @@ function control_EventContext_unregister__P402_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___13153: undefined, + h___13179: undefined, unnamed70___U1: undefined, unnamed71___U2: undefined, arg0: undefined, @@ -10751,12 +10751,12 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P13355; + s.tmp_5.arg1 = forEach_inline__P13381; s.callLocIdx = 1195; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P13360; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P13386; s.callLocIdx = 1197; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; @@ -10805,7 +10805,7 @@ function game_consoleOverlay_listener__P5338_mk(s) { -function forEach_inline__P13355(s) { +function forEach_inline__P13381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10829,12 +10829,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P13355.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +forEach_inline__P13381.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function forEach_inline__P13355_mk(s) { +function forEach_inline__P13381_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P13355, depth: s.depth + 1, + parent: s, fn: forEach_inline__P13381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10846,7 +10846,7 @@ function forEach_inline__P13355_mk(s) { -function game_consoleOverlay_listener_inline__P13360(s) { +function game_consoleOverlay_listener_inline__P13386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10856,14 +10856,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___13362 = undefined; + s.j___13388 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___13362 = (0); + s.j___13388 = (0); case 1: - s.tmp_1 = r0 = s.j___13362; + s.tmp_1 = r0 = s.j___13388; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -10873,28 +10873,28 @@ switch (step) { s.tmp_3 = r0 = globals.consoleStrings___5303; s.tmp_5 = helpers_stringSlice__P119_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___13362; - r0 = (s.j___13362 + globals.consoleColumns___5326); + s.tmp_5.arg1 = s.j___13388; + r0 = (s.j___13388 + globals.consoleColumns___5326); s.tmp_5.arg2 = r0; s.callLocIdx = 1196; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_4); - r0 = (s.j___13362 + globals.consoleColumns___5326); - s.j___13362 = (r0); + r0 = (s.j___13388 + globals.consoleColumns___5326); + s.j___13388 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P13360.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +game_consoleOverlay_listener_inline__P13386.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function game_consoleOverlay_listener_inline__P13360_mk(s) { +function game_consoleOverlay_listener_inline__P13386_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P13360, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P13386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10902,7 +10902,7 @@ function game_consoleOverlay_listener_inline__P13360_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___13362: undefined, + j___13388: undefined, arg0: undefined, } } @@ -11108,31 +11108,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___14679 = undefined; + s.options___14705 = undefined; r0 = pxsim_Array__mk(); - s.options___14679 = (r0); + s.options___14705 = (r0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___3135; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14687; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14713; s.tmp_1.arg3 = scene_systemMenu_volumeDown__P5263; s.callLocIdx = 1164; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.VOLUME_UP_ICON___3132; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14701; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14727; s.tmp_1.arg3 = scene_systemMenu_volumeUp__P5262; s.callLocIdx = 1166; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); r0 = 0; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -11142,23 +11142,23 @@ switch (step) { s.tmp_2 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___3133; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P14716; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P14742; s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P5265; s.callLocIdx = 1169; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_1); + r0 = pxsim_Array__push(s.options___14705, s.tmp_1); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___3138; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14731; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14757; s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P5264; s.callLocIdx = 1171; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); case 1: case 2: r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); @@ -11166,43 +11166,43 @@ switch (step) { s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.STATS_ICON___3139; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14746; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14772; s.tmp_1.arg3 = scene_systemMenu_toggleStats__P5267; s.callLocIdx = 1172; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.CONSOLE_ICON___3137; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14755; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14781; s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P5268; s.callLocIdx = 1174; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.SLEEP_ICON___3136; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14764; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14790; s.tmp_1.arg3 = scene_systemMenu_sleep__P5269; s.callLocIdx = 1175; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___5258); if (!r0) { step = 3; continue; } s.tmp_0 = helpers_arrayConcat__P113_mk(s); - s.tmp_0.arg0 = s.options___14679; + s.tmp_0.arg0 = s.options___14705; s.tmp_0.arg1 = globals.customMenuOptions___5258; s.callLocIdx = 1176; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___14679 = (r0); + s.options___14705 = (r0); case 3: case 4: r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); @@ -11210,13 +11210,13 @@ switch (step) { s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___3134; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14777; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14803; s.tmp_1.arg3 = scene_systemMenu_closeMenu__P3120; s.callLocIdx = 1177; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14679, s.tmp_0); - r0 = s.options___14679; + r0 = pxsim_Array__push(s.options___14705, s.tmp_0); + r0 = s.options___14705; return leave(s, r0) default: oops() } } } @@ -11230,14 +11230,14 @@ function scene_systemMenu_buildOptionList__P3121_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___14679: undefined, + options___14705: undefined, } } -function scene_systemMenu_buildOptionList_inline__P14687(s) { +function scene_systemMenu_buildOptionList_inline__P14713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11267,12 +11267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14687.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14713.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14687_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14713_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14687, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11284,7 +11284,7 @@ function scene_systemMenu_buildOptionList_inline__P14687_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14701(s) { +function scene_systemMenu_buildOptionList_inline__P14727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11314,12 +11314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14701.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14727.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14701_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14727_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14701, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11331,7 +11331,7 @@ function scene_systemMenu_buildOptionList_inline__P14701_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14716(s) { +function scene_systemMenu_buildOptionList_inline__P14742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11358,12 +11358,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14716.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14742.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14716_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14742_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14716, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11374,7 +11374,7 @@ function scene_systemMenu_buildOptionList_inline__P14716_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14731(s) { +function scene_systemMenu_buildOptionList_inline__P14757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11401,12 +11401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14731.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14757.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14731_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14757_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14731, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11417,7 +11417,7 @@ function scene_systemMenu_buildOptionList_inline__P14731_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14746(s) { +function scene_systemMenu_buildOptionList_inline__P14772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11440,12 +11440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14746.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14772.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14746_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14772_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14746, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11454,7 +11454,7 @@ function scene_systemMenu_buildOptionList_inline__P14746_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14755(s) { +function scene_systemMenu_buildOptionList_inline__P14781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11485,12 +11485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14755.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14781.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14755_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14781_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14755, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11503,7 +11503,7 @@ function scene_systemMenu_buildOptionList_inline__P14755_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14764(s) { +function scene_systemMenu_buildOptionList_inline__P14790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11517,12 +11517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14764.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14790.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14764_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14790_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14764, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11530,7 +11530,7 @@ function scene_systemMenu_buildOptionList_inline__P14764_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14777(s) { +function scene_systemMenu_buildOptionList_inline__P14803(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11544,12 +11544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14777.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P14803.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P14777_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14803_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14777, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14803, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11796,8 +11796,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___7895 = undefined; - s.i___7904 = undefined; + s.text___7921 = undefined; + s.i___7930 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11816,21 +11816,21 @@ switch (step) { s.callLocIdx = 32; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___7895 = (r0); - if ((s.text___7895) && (s.text___7895).vtable) { + s.text___7921 = (r0); + if ((s.text___7921) && (s.text___7921).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___7895); + pxsim_String__stringConv(s.text___7921); checkResumeConsumed(); return; - } else { s.retval = (s.text___7895) + ""; } + } else { s.retval = (s.text___7921) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___7895 = (r0); - s.i___7904 = (0); + s.text___7921 = (r0); + s.i___7930 = (0); case 3: - s.tmp_1 = r0 = s.i___7904; + s.tmp_1 = r0 = s.i___7930; r0 = pxsim_Array__length(globals.listeners___4482); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -11838,16 +11838,16 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_3 = lambda_3_mk(s); - r0 = pxsim_Array__getAt(globals.listeners___4482, s.i___7904); + r0 = pxsim_Array__getAt(globals.listeners___4482, s.i___7930); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___7895; + s.tmp_3.arg1 = s.text___7921; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 33; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___7904 + 1); - s.i___7904 = (r0); + r0 = (s.i___7930 + 1); + s.i___7930 = (r0); { step = 3; continue; } case 4: case 5: @@ -11866,8 +11866,8 @@ function console_add__P376_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - text___7895: undefined, - i___7904: undefined, + text___7921: undefined, + i___7930: undefined, arg0: undefined, arg1: undefined, } } @@ -11886,10 +11886,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___7942 = undefined; - s.asString___7960 = undefined; - s.keys___7972 = undefined; - s.snipped___7976 = undefined; + s.asArr___7968 = undefined; + s.asString___7986 = undefined; + s.keys___7998 = undefined; + s.snipped___8002 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11930,15 +11930,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___7942 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___7942); + s.asArr___7968 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___7968); s.tmp_1 = r0; r0 = (s.tmp_1 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_2 = helpers_arrayJoin__P103_mk(s); - s.tmp_2.arg0 = s.asArr___7942; + s.tmp_2.arg0 = s.asArr___7968; s.tmp_2.arg1 = ","; s.callLocIdx = 35; s.pc = 19; return s.tmp_2; case 19: @@ -11950,7 +11950,7 @@ switch (step) { s.tmp_4 = r0; s.tmp_7 = helpers_arrayJoin__P103_mk(s); s.tmp_8 = helpers_arraySlice__P115_mk(s); - s.tmp_8.arg0 = s.asArr___7942; + s.tmp_8.arg0 = s.asArr___7968; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 36; s.pc = 21; return s.tmp_8; @@ -11990,46 +11990,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___7960 = (r0); - r0 = (s.asString___7960 != "[object Object]"); + s.asString___7986 = (r0); + r0 = (s.asString___7986 != "[object Object]"); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = (s.asString___7960 != "[Object]"); + r0 = (s.asString___7986 != "[Object]"); case 7: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - r0 = s.asString___7960; + r0 = s.asString___7986; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___7972 = (r0); - r0 = pxsim_Array__length(s.keys___7972); + s.keys___7998 = (r0); + r0 = pxsim_Array__length(s.keys___7998); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___7976 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___7976); + s.snipped___8002 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___8002); if (!r0) { step = 10; continue; } s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = s.keys___7972; + s.tmp_0.arg0 = s.keys___7998; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 38; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___7972 = (r0); + s.keys___7998 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P7993); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P8019); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___7976); + r0 = pxsim_numops_toBoolDecr(s.snipped___8002); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -12039,7 +12039,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; s.tmp_7 = helpers_arrayReduce__P112_mk(s); - s.tmp_7.arg0 = s.keys___7972; + s.tmp_7.arg0 = s.keys___7998; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -12106,10 +12106,10 @@ function console_inspect__P382_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___7942: undefined, - asString___7960: undefined, - keys___7972: undefined, - snipped___7976: undefined, + asArr___7968: undefined, + asString___7986: undefined, + keys___7998: undefined, + snipped___8002: undefined, arg0: undefined, arg1: undefined, } } @@ -12118,7 +12118,7 @@ function console_inspect__P382_mk(s) { -function console_inspect_inline__P7993(s) { +function console_inspect_inline__P8019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12181,12 +12181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P7993.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +console_inspect_inline__P8019.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} -function console_inspect_inline__P7993_mk(s) { +function console_inspect_inline__P8019_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P7993, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P8019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12214,9 +12214,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___8041 = undefined; - s.len___8043 = undefined; - s.i___8077 = undefined; + s.res___8067 = undefined; + s.len___8069 = undefined; + s.i___8103 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12224,9 +12224,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___8041 = (r0); + s.res___8067 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___8043 = (r0); + s.len___8069 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12239,7 +12239,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___8043 + s.arg1); + r0 = (s.len___8069 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 16; return s.tmp_1; @@ -12249,11 +12249,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___8043); + r0 = (s.arg1 > s.len___8069); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___8041; + r0 = s.res___8067; { step = 15; continue; } case 5: case 6: @@ -12261,40 +12261,40 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___8043); + s.arg2 = (s.len___8069); { step = 10; continue; } case 7: r0 = (s.arg2 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.len___8043 + s.arg2); + r0 = (s.len___8069 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___8043); + r0 = (s.arg2 > s.len___8069); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___8043); + s.arg2 = (s.len___8069); case 11: case 12: - s.i___8077 = (s.arg1); + s.i___8103 = (s.arg1); case 13: - r0 = (s.i___8077 < s.arg2); + r0 = (s.i___8103 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___8041; - r0 = pxsim_Array__getAt(s.arg0, s.i___8077); + s.tmp_1 = r0 = s.res___8067; + r0 = pxsim_Array__getAt(s.arg0, s.i___8103); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___8077 + 1); - s.i___8077 = (r0); + r0 = (s.i___8103 + 1); + s.i___8103 = (r0); { step = 13; continue; } case 14: - r0 = s.res___8041; + r0 = s.res___8067; case 15: return leave(s, r0) default: oops() @@ -12309,9 +12309,9 @@ function helpers_arraySlice__P115_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___8041: undefined, - len___8043: undefined, - i___8077: undefined, + res___8067: undefined, + len___8069: undefined, + i___8103: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12331,8 +12331,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___8020 = undefined; - s.i___8023 = undefined; + s.len___8046 = undefined; + s.i___8049 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12340,26 +12340,26 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___8020 = (r0); - s.i___8023 = (0); + s.len___8046 = (r0); + s.i___8049 = (0); case 1: - r0 = (s.i___8023 < s.len___8020); + r0 = (s.i___8049 < s.len___8046); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = lambda_4_mk(s); s.tmp_1.argL = s.arg1; s.tmp_1.arg0 = s.arg2; - r0 = pxsim_Array__getAt(s.arg0, s.i___8023); + r0 = pxsim_Array__getAt(s.arg0, s.i___8049); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___8023; + s.tmp_1.arg2 = s.i___8049; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___8023 + 1); - s.i___8023 = (r0); + r0 = (s.i___8049 + 1); + s.i___8049 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; @@ -12375,8 +12375,8 @@ function helpers_arrayReduce__P112_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___8020: undefined, - i___8023: undefined, + len___8046: undefined, + i___8049: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12396,9 +12396,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___8109 = undefined; - s.len___8110 = undefined; - s.i___8113 = undefined; + s.r___8135 = undefined; + s.len___8136 = undefined; + s.i___8139 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12421,16 +12421,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___8109 = (r0); + s.r___8135 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___8110 = (r0); - s.i___8113 = (0); + s.len___8136 = (r0); + s.i___8139 = (0); case 5: - r0 = (s.i___8113 < s.len___8110); + r0 = (s.i___8139 < s.len___8136); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___8113 > 0); + r0 = (s.i___8139 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -12443,12 +12443,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___8109) && (s.r___8109).vtable) { + if ((s.r___8135) && (s.r___8135).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___8109); + pxsim_String__stringConv(s.r___8135); checkResumeConsumed(); return; - } else { s.retval = (s.r___8109) + ""; } + } else { s.retval = (s.r___8135) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -12462,10 +12462,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___8109 = (r0); + s.r___8135 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___8113); + r0 = pxsim_Array__getAt(s.arg0, s.i___8139); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -12474,7 +12474,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___8113); + r0 = pxsim_Array__getAt(s.arg0, s.i___8139); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -12485,16 +12485,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___8113); + r0 = pxsim_Array__getAt(s.arg0, s.i___8139); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___8109) && (s.r___8109).vtable) { + if ((s.r___8135) && (s.r___8135).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___8109); + pxsim_String__stringConv(s.r___8135); checkResumeConsumed(); return; - } else { s.retval = (s.r___8109) + ""; } + } else { s.retval = (s.r___8135) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -12508,12 +12508,12 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___8109 = (r0); - r0 = (s.i___8113 + 1); - s.i___8113 = (r0); + s.r___8135 = (r0); + r0 = (s.i___8139 + 1); + s.i___8139 = (r0); { step = 5; continue; } case 14: - r0 = s.r___8109; + r0 = s.r___8135; return leave(s, r0) default: oops() } } } @@ -12531,9 +12531,9 @@ function helpers_arrayJoin__P103_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___8109: undefined, - len___8110: undefined, - i___8113: undefined, + r___8135: undefined, + len___8136: undefined, + i___8139: undefined, arg0: undefined, arg1: undefined, } } @@ -12789,20 +12789,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___14855 = undefined; - s.n___14857 = undefined; + s.off___14881 = undefined; + s.n___14883 = undefined; s.unnamed62___U2 = undefined; s.unnamed63___U3 = undefined; - s.buf___14867 = undefined; - s.n___14873 = undefined; + s.buf___14893 = undefined; + s.n___14899 = undefined; s.unnamed64___U6 = undefined; s.unnamed65___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___14855 = (0); - s.n___14857 = (undefined); + s.off___14881 = (0); + s.n___14883 = (undefined); s.unnamed62___U2 = (s.arg0); s.unnamed63___U3 = (0); case 1: @@ -12812,27 +12812,27 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed62___U2, s.unnamed63___U3); - s.n___14857 = (r0); - s.tmp_2 = r0 = s.off___14855; + s.n___14883 = (r0); + s.tmp_2 = r0 = s.off___14881; s.tmp_4 = msgpack_packNumberCore__P4441_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___14855; - s.tmp_4.arg2 = s.n___14857; + s.tmp_4.arg1 = s.off___14881; + s.tmp_4.arg2 = s.n___14883; s.callLocIdx = 22; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___14855 = (r0); + s.off___14881 = (r0); r0 = (s.unnamed63___U3 + 1); s.unnamed63___U3 = (r0); { step = 1; continue; } case 2: s.unnamed62___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___14855); - s.buf___14867 = (r0); - s.off___14855 = (0); - s.n___14873 = (undefined); + r0 = pxsim.control.createBuffer(s.off___14881); + s.buf___14893 = (r0); + s.off___14881 = (0); + s.n___14899 = (undefined); s.unnamed64___U6 = (s.arg0); s.unnamed65___U7 = (0); case 3: @@ -12842,24 +12842,24 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed64___U6, s.unnamed65___U7); - s.n___14873 = (r0); - s.tmp_2 = r0 = s.off___14855; + s.n___14899 = (r0); + s.tmp_2 = r0 = s.off___14881; s.tmp_4 = msgpack_packNumberCore__P4441_mk(s); - s.tmp_4.arg0 = s.buf___14867; - s.tmp_4.arg1 = s.off___14855; - s.tmp_4.arg2 = s.n___14873; + s.tmp_4.arg0 = s.buf___14893; + s.tmp_4.arg1 = s.off___14881; + s.tmp_4.arg2 = s.n___14899; s.callLocIdx = 23; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___14855 = (r0); + s.off___14881 = (r0); r0 = (s.unnamed65___U7 + 1); s.unnamed65___U7 = (r0); { step = 3; continue; } case 4: s.unnamed64___U6 = (undefined); - r0 = s.buf___14867; + r0 = s.buf___14893; return leave(s, r0) default: oops() } } } @@ -12875,12 +12875,12 @@ function msgpack_packNumberArray__P184_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - off___14855: undefined, - n___14857: undefined, + off___14881: undefined, + n___14883: undefined, unnamed62___U2: undefined, unnamed63___U3: undefined, - buf___14867: undefined, - n___14873: undefined, + buf___14893: undefined, + n___14899: undefined, unnamed64___U6: undefined, unnamed65___U7: undefined, arg0: undefined, @@ -12900,15 +12900,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___14887 = undefined; - s.fmt___14930 = undefined; + s.tag___14913 = undefined; + s.fmt___14956 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___14887 = (203); + s.tag___14913 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -12958,17 +12958,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___14887 = (204); + s.tag___14913 = (204); { step = 11; continue; } case 8: r0 = (s.arg2 <= 65535); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tag___14887 = (205); + s.tag___14913 = (205); { step = 10; continue; } case 9: - s.tag___14887 = (206); + s.tag___14913 = (206); case 10: case 11: { step = 17; continue; } @@ -12977,17 +12977,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___14887 = (208); + s.tag___14913 = (208); { step = 16; continue; } case 13: r0 = (-32767 <= s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tag___14887 = (209); + s.tag___14913 = (209); { step = 15; continue; } case 14: - s.tag___14887 = (210); + s.tag___14913 = (210); case 15: case 16: case 17: @@ -12995,23 +12995,23 @@ switch (step) { case 19: case 20: s.tmp_0 = msgpack_tagFormat__P4440_mk(s); - s.tmp_0.arg0 = s.tag___14887; + s.tmp_0.arg0 = s.tag___14913; s.callLocIdx = 18; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___14930 = (r0); + s.fmt___14956 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___14887); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___14913); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___14930; + s.tmp_1 = r0 = s.fmt___14956; r0 = (s.arg1 + 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, s.tmp_1, s.tmp_2, s.arg2); case 21: case 22: s.tmp_1 = pins_sizeOf__P175_mk(s); - s.tmp_1.arg0 = s.fmt___14930; + s.tmp_1.arg0 = s.fmt___14956; s.callLocIdx = 19; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -13036,8 +13036,8 @@ function msgpack_packNumberCore__P4441_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___14887: undefined, - fmt___14930: undefined, + tag___14913: undefined, + fmt___14956: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13346,29 +13346,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___15203 = undefined; - s.remainder___15206 = undefined; - s.newVolume___15209 = undefined; + s.v___15229 = undefined; + s.remainder___15232 = undefined; + s.newVolume___15235 = undefined; s.tmp_0 = music_volume__P1622_mk(s); s.callLocIdx = 1146; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___15203 = (r0); - r0 = (s.v___15203 % 32); - s.remainder___15206 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___15206); + s.v___15229 = (r0); + r0 = (s.v___15229 % 32); + s.remainder___15232 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___15232); if (!r0) { step = 1; continue; } - r0 = s.remainder___15206; + r0 = s.remainder___15232; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___15203 - s.tmp_0); - s.newVolume___15209 = (r0); + r0 = (s.v___15229 - s.tmp_0); + s.newVolume___15235 = (r0); s.tmp_0 = scene_systemMenu_setVolume__P5261_mk(s); - s.tmp_0.arg0 = s.newVolume___15209; + s.tmp_0.arg0 = s.newVolume___15235; s.callLocIdx = 1147; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -13384,9 +13384,9 @@ function scene_systemMenu_volumeDown__P5263_mk(s) { parent: s, fn: scene_systemMenu_volumeDown__P5263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___15203: undefined, - remainder___15206: undefined, - newVolume___15209: undefined, + v___15229: undefined, + remainder___15232: undefined, + newVolume___15235: undefined, } } @@ -13453,7 +13453,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___15044 = undefined; + s.id___15070 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13497,10 +13497,10 @@ switch (step) { r0 = (globals.playToneID___4542 + 1); s.tmp_0 = r0; globals.playToneID___4542 = (r0); - s.id___15044 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P15050); + s.id___15070 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P15076); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___15044); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___15070); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg0); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -13519,7 +13519,7 @@ function music_playTone__P1623_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___15044: undefined, + id___15070: undefined, arg0: undefined, arg1: undefined, } } @@ -13528,7 +13528,7 @@ function music_playTone__P1623_mk(s) { -function music_playTone_inline__P15050(s) { +function music_playTone_inline__P15076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13538,12 +13538,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___15051 = undefined; - s.now___15061 = undefined; - s.d___15064 = undefined; - s.t___15068 = undefined; + s.pos___15077 = undefined; + s.now___15087 = undefined; + s.d___15090 = undefined; + s.t___15094 = undefined; r0 = pxsim.control.millis(); - s.pos___15051 = (r0); + s.pos___15077 = (r0); case 1: r0 = (s.caps[0] == globals.playToneID___4542); s.tmp_0 = r0; @@ -13561,9 +13561,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___15061 = (r0); - r0 = (s.pos___15051 - s.now___15061); - s.d___15064 = (r0); + s.now___15087 = (r0); + r0 = (s.pos___15077 - s.now___15087); + s.d___15090 = (r0); s.tmp_0 = Math_min__P131_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; @@ -13571,20 +13571,20 @@ switch (step) { s.callLocIdx = 67; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___15068 = (r0); + s.t___15094 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.t___15068); + r0 = (s.tmp_2 - s.t___15094); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___15051 + s.t___15068); - s.pos___15051 = (r0); + r0 = (s.pos___15077 + s.t___15094); + s.pos___15077 = (r0); s.tmp_0 = music_playNoteCore__P4540_mk(s); - r0 = (s.d___15064 - 1); + r0 = (s.d___15090 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___15068; + s.tmp_0.arg2 = s.t___15094; s.callLocIdx = 68; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -13595,7 +13595,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_2 = pause__P413_mk(s); - r0 = (s.d___15064 + s.t___15068); + r0 = (s.d___15090 + s.t___15094); s.tmp_2.arg0 = r0; s.callLocIdx = 69; s.pc = 9; return s.tmp_2; case 9: @@ -13603,7 +13603,7 @@ switch (step) { { step = 5; continue; } case 4: s.tmp_0 = pause__P413_mk(s); - r0 = (s.d___15064 + s.t___15068); + r0 = (s.d___15090 + s.t___15094); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -13617,20 +13617,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P15050.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_playTone_inline__P15076.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_playTone_inline__P15050_mk(s) { +function music_playTone_inline__P15076_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P15050, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P15076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___15051: undefined, - now___15061: undefined, - d___15064: undefined, - t___15068: undefined, + pos___15077: undefined, + now___15087: undefined, + d___15090: undefined, + t___15094: undefined, } } @@ -13647,7 +13647,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15098 = undefined; + s.buf___15124 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13655,9 +13655,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___15098 = (r0); + s.buf___15124 = (r0); s.tmp_0 = music_addNote__P1637_mk(s); - s.tmp_0.arg0 = s.buf___15098; + s.tmp_0.arg0 = s.buf___15124; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 255; @@ -13673,7 +13673,7 @@ switch (step) { s.callLocIdx = 64; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___15098); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___15124); r0 = undefined; return leave(s, r0) default: oops() @@ -13687,7 +13687,7 @@ function music_playNoteCore__P4540_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___15098: undefined, + buf___15124: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13888,22 +13888,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___15012 = undefined; - s.remainder___15015 = undefined; - s.newVolume___15018 = undefined; + s.v___15038 = undefined; + s.remainder___15041 = undefined; + s.newVolume___15044 = undefined; s.tmp_0 = music_volume__P1622_mk(s); s.callLocIdx = 1144; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___15012 = (r0); - r0 = (s.v___15012 % 32); - s.remainder___15015 = (r0); - r0 = (s.v___15012 + 32); + s.v___15038 = (r0); + r0 = (s.v___15038 % 32); + s.remainder___15041 = (r0); + r0 = (s.v___15038 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___15015); - s.newVolume___15018 = (r0); + r0 = (s.tmp_0 - s.remainder___15041); + s.newVolume___15044 = (r0); s.tmp_0 = scene_systemMenu_setVolume__P5261_mk(s); - s.tmp_0.arg0 = s.newVolume___15018; + s.tmp_0.arg0 = s.newVolume___15044; s.callLocIdx = 1145; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -13919,9 +13919,9 @@ function scene_systemMenu_volumeUp__P5262_mk(s) { parent: s, fn: scene_systemMenu_volumeUp__P5262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___15012: undefined, - remainder___15015: undefined, - newVolume___15018: undefined, + v___15038: undefined, + remainder___15041: undefined, + newVolume___15044: undefined, } } @@ -14034,7 +14034,7 @@ switch (step) { s.tmp_1 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P14126; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P14152; s.callLocIdx = 1137; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -14061,7 +14061,7 @@ function scene_systemMenu_PauseMenu_dispose__P3119_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P14126(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P14152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14084,12 +14084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P14126.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +scene_systemMenu_PauseMenu_dispose_inline__P14152.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -function scene_systemMenu_PauseMenu_dispose_inline__P14126_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P14152_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P14126, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P14152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14327,7 +14327,7 @@ function effects_ParticleEffect_destroy__P3283_mk(s) { -function dissolve_inline__P14250(s) { +function dissolve_inline__P14276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14337,11 +14337,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___14253 = undefined; - s.x___14264 = undefined; - s.y___14270 = undefined; - s.w___14276 = undefined; - s.h___14280 = undefined; + s.i___14279 = undefined; + s.x___14290 = undefined; + s.y___14296 = undefined; + s.w___14302 = undefined; + s.h___14306 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14354,9 +14354,9 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___14253 = (r0); + s.i___14279 = (r0); case 1: - r0 = (s.i___14253 > 0); + r0 = (s.i___14279 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -14368,7 +14368,7 @@ switch (step) { s.callLocIdx = 52; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___14264 = (r0); + s.x___14290 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; @@ -14377,7 +14377,7 @@ switch (step) { s.callLocIdx = 53; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___14270 = (r0); + s.y___14296 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; @@ -14385,7 +14385,7 @@ switch (step) { s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___14276 = (r0); + s.w___14302 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; @@ -14393,40 +14393,40 @@ switch (step) { s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___14280 = (r0); + s.h___14306 = (r0); s.tmp_0 = helpers_imageDrawRect__P1960_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___14264; - s.tmp_0.arg2 = s.y___14270; - s.tmp_0.arg3 = s.w___14276; - s.tmp_0.arg4 = s.h___14280; + s.tmp_0.arg1 = s.x___14290; + s.tmp_0.arg2 = s.y___14296; + s.tmp_0.arg3 = s.w___14302; + s.tmp_0.arg4 = s.h___14306; s.tmp_0.arg5 = 0; s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___14253 - 1); - s.i___14253 = (r0); + r0 = (s.i___14279 - 1); + s.i___14279 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P14250.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +dissolve_inline__P14276.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} -function dissolve_inline__P14250_mk(s) { +function dissolve_inline__P14276_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P14250, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P14276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___14253: undefined, - x___14264: undefined, - y___14270: undefined, - w___14276: undefined, - h___14280: undefined, + i___14279: undefined, + x___14290: undefined, + y___14296: undefined, + w___14302: undefined, + h___14306: undefined, arg0: undefined, arg1: undefined, } } @@ -14796,7 +14796,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___14429 = undefined; + s.clonedImage___14455 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14829,16 +14829,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___14429 = (r0); + s.clonedImage___14455 = (r0); s.tmp_0 = effects_ImageEffect_change__P3311_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___14429; + s.tmp_0.arg1 = s.clonedImage___14455; s.callLocIdx = 1334; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = Sprite_setImage__P2392_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___14429; + s.tmp_0.arg1 = s.clonedImage___14455; s.callLocIdx = 1335; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -14860,7 +14860,7 @@ function effects_ImageEffect_applyTo__P3310_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___14429: undefined, + clonedImage___14455: undefined, arg0: undefined, arg1: undefined, } } @@ -15185,17 +15185,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10322 = undefined; - s.minX___10325 = undefined; - s.minY___10329 = undefined; - s.maxX___10333 = undefined; - s.maxY___10335 = undefined; - s.c___10337 = undefined; - s.fxc___10338 = undefined; - s.r___10345 = undefined; - s.fxr___10346 = undefined; - s.width___10410 = undefined; - s.height___10418 = undefined; + s.i___10348 = undefined; + s.minX___10351 = undefined; + s.minY___10355 = undefined; + s.maxX___10359 = undefined; + s.maxY___10361 = undefined; + s.c___10363 = undefined; + s.fxc___10364 = undefined; + s.r___10371 = undefined; + s.fxr___10372 = undefined; + s.width___10436 = undefined; + s.height___10444 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15223,137 +15223,137 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___10322 = (r0); - r0 = pxsim_ImageMethods.width(s.i___10322); + s.i___10348 = (r0); + r0 = pxsim_ImageMethods.width(s.i___10348); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___10325 = (r0); - r0 = pxsim_ImageMethods.height(s.i___10322); + s.minX___10351 = (r0); + r0 = pxsim_ImageMethods.height(s.i___10348); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___10329 = (r0); - s.maxX___10333 = (0); - s.maxY___10335 = (0); - s.c___10337 = (0); - s.fxc___10338 = (0); + s.minY___10355 = (r0); + s.maxX___10359 = (0); + s.maxY___10361 = (0); + s.c___10363 = (0); + s.fxc___10364 = (0); case 5: - s.tmp_1 = r0 = s.c___10337; - r0 = pxsim_ImageMethods.width(s.i___10322); + s.tmp_1 = r0 = s.c___10363; + r0 = pxsim_ImageMethods.width(s.i___10348); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.r___10345 = (0); - s.fxr___10346 = (0); + s.r___10371 = (0); + s.fxr___10372 = (0); case 6: - s.tmp_1 = r0 = s.r___10345; - r0 = pxsim_ImageMethods.height(s.i___10322); + s.tmp_1 = r0 = s.r___10371; + r0 = pxsim_ImageMethods.height(s.i___10348); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.getPixel(s.i___10322, s.c___10337, s.r___10345); + r0 = pxsim_ImageMethods.getPixel(s.i___10348, s.c___10363, s.r___10371); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } s.tmp_4 = Fx_min__P166_mk(s); - s.tmp_4.arg0 = s.minX___10325; - s.tmp_4.arg1 = s.fxc___10338; + s.tmp_4.arg0 = s.minX___10351; + s.tmp_4.arg1 = s.fxc___10364; s.callLocIdx = 280; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___10325 = (r0); + s.minX___10351 = (r0); s.tmp_0 = Fx_min__P166_mk(s); - s.tmp_0.arg0 = s.minY___10329; - s.tmp_0.arg1 = s.fxr___10346; + s.tmp_0.arg0 = s.minY___10355; + s.tmp_0.arg1 = s.fxr___10372; s.callLocIdx = 281; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___10329 = (r0); + s.minY___10355 = (r0); s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxX___10333; - s.tmp_0.arg1 = s.fxc___10338; + s.tmp_0.arg0 = s.maxX___10359; + s.tmp_0.arg1 = s.fxc___10364; s.callLocIdx = 282; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___10333 = (r0); + s.maxX___10359 = (r0); s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxY___10335; - s.tmp_0.arg1 = s.fxr___10346; + s.tmp_0.arg0 = s.maxY___10361; + s.tmp_0.arg1 = s.fxr___10372; s.callLocIdx = 283; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___10335 = (r0); + s.maxY___10361 = (r0); case 7: case 8: - r0 = (s.r___10345 + 1); - s.r___10345 = (r0); - r0 = (s.fxr___10346 + 256); + r0 = (s.r___10371 + 1); + s.r___10371 = (r0); + r0 = (s.fxr___10372 + 256); s.tmp_0 = r0; - s.fxr___10346 = (r0); + s.fxr___10372 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___10337 + 1); - s.c___10337 = (r0); - r0 = (s.fxc___10338 + 256); + r0 = (s.c___10363 + 1); + s.c___10363 = (r0); + r0 = (s.fxc___10364 + 256); s.tmp_0 = r0; - s.fxc___10338 = (r0); + s.fxc___10364 = (r0); r0 = s.tmp_0; { step = 5; continue; } case 10: r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minX___10325, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___10351, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___10325 = (r0); + s.minX___10351 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___10329, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___10355, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___10329 = (r0); + s.minY___10355 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___10333, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___10359, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___10333 = (r0); + s.maxX___10359 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___10335, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___10361, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___10335 = (r0); - r0 = (s.maxX___10333 - s.minX___10325); + s.maxY___10361 = (r0); + r0 = (s.maxX___10359 - s.minX___10351); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___10410 = (r0); - r0 = (s.maxY___10335 - s.minY___10329); + s.width___10436 = (r0); + r0 = (s.maxY___10361 - s.minY___10355); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___10418 = (r0); + s.height___10444 = (r0); r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C2209_VT); s.tmp_0 = r0; s.tmp_1 = game_Hitbox_constructor__P2216_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___10410; - s.tmp_1.arg3 = s.height___10418; - r0 = (s.minX___10325 & -256); + s.tmp_1.arg2 = s.width___10436; + s.tmp_1.arg3 = s.height___10444; + r0 = (s.minX___10351 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___10329 & -256); + r0 = (s.minY___10355 & -256); s.tmp_1.arg5 = r0; s.callLocIdx = 296; s.pc = 17; return s.tmp_1; case 17: @@ -15375,17 +15375,17 @@ function game_calculateHitBox__P2225_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - i___10322: undefined, - minX___10325: undefined, - minY___10329: undefined, - maxX___10333: undefined, - maxY___10335: undefined, - c___10337: undefined, - fxc___10338: undefined, - r___10345: undefined, - fxr___10346: undefined, - width___10410: undefined, - height___10418: undefined, + i___10348: undefined, + minX___10351: undefined, + minY___10355: undefined, + maxX___10359: undefined, + maxY___10361: undefined, + c___10363: undefined, + fxc___10364: undefined, + r___10371: undefined, + fxr___10372: undefined, + width___10436: undefined, + height___10444: undefined, arg0: undefined, } } @@ -15806,17 +15806,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___10514 = undefined; - s.oMinX___10519 = undefined; - s.oMinY___10522 = undefined; - s.oMaxX___10525 = undefined; - s.oMaxY___10531 = undefined; - s.nMinX___10537 = undefined; - s.nMinY___10540 = undefined; - s.nMaxX___10543 = undefined; - s.nMaxY___10549 = undefined; - s.xDiff___10555 = undefined; - s.yDiff___10566 = undefined; + s.newHitBox___10540 = undefined; + s.oMinX___10545 = undefined; + s.oMinY___10548 = undefined; + s.oMaxX___10551 = undefined; + s.oMaxY___10557 = undefined; + s.nMinX___10563 = undefined; + s.nMinY___10566 = undefined; + s.nMaxX___10569 = undefined; + s.nMaxY___10575 = undefined; + s.xDiff___10581 = undefined; + s.yDiff___10592 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15840,84 +15840,84 @@ switch (step) { s.callLocIdx = 235; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___10514 = (r0); + s.newHitBox___10540 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___10519 = (r0); + s.oMinX___10545 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___10522 = (r0); + s.oMinY___10548 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___10519 + s.tmp_0); - s.oMaxX___10525 = (r0); + r0 = (s.oMinX___10545 + s.tmp_0); + s.oMaxX___10551 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___10522 + s.tmp_0); - s.oMaxY___10531 = (r0); - r0 = s.newHitBox___10514.fields["ox"]; - s.nMinX___10537 = (r0); - r0 = s.newHitBox___10514.fields["oy"]; - s.nMinY___10540 = (r0); - r0 = s.newHitBox___10514.fields["width"]; + r0 = (s.oMinY___10548 + s.tmp_0); + s.oMaxY___10557 = (r0); + r0 = s.newHitBox___10540.fields["ox"]; + s.nMinX___10563 = (r0); + r0 = s.newHitBox___10540.fields["oy"]; + s.nMinY___10566 = (r0); + r0 = s.newHitBox___10540.fields["width"]; s.tmp_0 = r0; - r0 = (s.nMinX___10537 + s.tmp_0); - s.nMaxX___10543 = (r0); - r0 = s.newHitBox___10514.fields["height"]; + r0 = (s.nMinX___10563 + s.tmp_0); + s.nMaxX___10569 = (r0); + r0 = s.newHitBox___10540.fields["height"]; s.tmp_0 = r0; - r0 = (s.nMinY___10540 + s.tmp_0); - s.nMaxY___10549 = (r0); + r0 = (s.nMinY___10566 + s.tmp_0); + s.nMaxY___10575 = (r0); s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinX___10519 - s.nMinX___10537); + r0 = (s.oMinX___10545 - s.nMinX___10563); s.tmp_1.arg0 = r0; s.callLocIdx = 241; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxX___10525 - s.nMaxX___10543); + r0 = (s.oMaxX___10551 - s.nMaxX___10569); s.tmp_3.arg0 = r0; s.callLocIdx = 243; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___10555 = (r0); + s.xDiff___10581 = (r0); s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinY___10522 - s.nMinY___10540); + r0 = (s.oMinY___10548 - s.nMinY___10566); s.tmp_1.arg0 = r0; s.callLocIdx = 246; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxY___10531 - s.nMaxY___10549); + r0 = (s.oMaxY___10557 - s.nMaxY___10575); s.tmp_3.arg0 = r0; s.callLocIdx = 248; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___10566 = (r0); - r0 = (s.xDiff___10555 > 512); + s.yDiff___10592 = (r0); + r0 = (s.xDiff___10581 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___10537); - r0 = s.newHitBox___10514.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___10563); + r0 = s.newHitBox___10540.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___10566 > 512); + r0 = (s.yDiff___10592 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___10540); - r0 = s.newHitBox___10514.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___10566); + r0 = s.newHitBox___10540.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___10514.fields["hash"]; + r0 = s.newHitBox___10540.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -15936,17 +15936,17 @@ function game_Hitbox_updateIfInvalid__P2223_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - newHitBox___10514: undefined, - oMinX___10519: undefined, - oMinY___10522: undefined, - oMaxX___10525: undefined, - oMaxY___10531: undefined, - nMinX___10537: undefined, - nMinY___10540: undefined, - nMaxX___10543: undefined, - nMaxY___10549: undefined, - xDiff___10555: undefined, - yDiff___10566: undefined, + newHitBox___10540: undefined, + oMinX___10545: undefined, + oMinY___10548: undefined, + oMaxX___10551: undefined, + oMaxY___10557: undefined, + nMinX___10563: undefined, + nMinY___10566: undefined, + nMaxX___10569: undefined, + nMaxY___10575: undefined, + xDiff___10581: undefined, + yDiff___10592: undefined, arg0: undefined, } } @@ -16120,7 +16120,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___14454 = undefined; + s.src___14480 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16166,9 +16166,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___14454 = (r0); + s.src___14480 = (r0); s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P3180_mk(s); - s.tmp_0.arg0 = s.src___14454; + s.tmp_0.arg0 = s.src___14480; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -16193,7 +16193,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___14454).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___14480).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -16213,7 +16213,7 @@ function effects_ParticleEffect_start__P3282_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - src___14454: undefined, + src___14480: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16361,7 +16361,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14176 = undefined; + s.scene___14202 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -16378,8 +16378,8 @@ switch (step) { s.callLocIdx = 447; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___14176 = (r0); - r0 = s.scene___14176.fields["allSprites"]; + s.scene___14202 = (r0); + r0 = s.scene___14202.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -16391,7 +16391,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___14176.fields["spritesByKind"]; + r0 = s.scene___14202.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -16402,7 +16402,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } s.tmp_5 = sprites_SpriteSet_remove__P2471_mk(s); - r0 = s.scene___14176.fields["spritesByKind"]; + r0 = s.scene___14202.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -16415,7 +16415,7 @@ switch (step) { case 3: case 4: s.tmp_0 = PhysicsEngine__C2512_v1_2_mk(s); - r0 = s.scene___14176.fields["physicsEngine"]; + r0 = s.scene___14202.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_VT)) failedCast(s.tmp_0.arg0); @@ -16442,15 +16442,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14205); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14231); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P14212); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P14238); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P109_mk(s); s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___14176.fields["destroyedHandlers"]; + r0 = s.scene___14202.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 454; s.pc = 12; return s.tmp_3; @@ -16480,7 +16480,7 @@ function Sprite__destroyCore__P2430_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___14176: undefined, + scene___14202: undefined, arg0: undefined, } } @@ -16488,7 +16488,7 @@ function Sprite__destroyCore__P2430_mk(s) { -function forEach_inline__P14205(s) { +function forEach_inline__P14231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16510,12 +16510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14205.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P14231.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P14205_mk(s) { +function forEach_inline__P14231_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14205, depth: s.depth + 1, + parent: s, fn: forEach_inline__P14231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16526,7 +16526,7 @@ function forEach_inline__P14205_mk(s) { -function Sprite__destroyCore_inline__P14212(s) { +function Sprite__destroyCore_inline__P14238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16558,12 +16558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P14212.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P14238.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P14212_mk(s) { +function Sprite__destroyCore_inline__P14238_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P14212, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P14238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16619,7 +16619,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10191 = undefined; + s.i___10217 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16630,15 +16630,15 @@ switch (step) { r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___10191 = (r0); - r0 = (s.i___10191 > -1); + s.i___10217 = (r0); + r0 = (s.i___10217 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = helpers_arraySplice__P100_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___10191; + s.tmp_1.arg1 = s.i___10217; s.tmp_1.arg2 = 1; s.callLocIdx = 530; s.pc = 4; return s.tmp_1; case 4: @@ -16661,7 +16661,7 @@ function sprites_SpriteSet_remove__P2471_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___10191: undefined, + i___10217: undefined, arg0: undefined, arg1: undefined, } } @@ -16714,12 +16714,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___13941 = undefined; + s.oldScene___13967 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 1023; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___13941 = (r0); + s.oldScene___13967 = (r0); s.tmp_0 = r0 = globals._sceneStack___5005; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -16760,9 +16760,9 @@ switch (step) { case 8: r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5007); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P13962); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P13988); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___13941); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___13967); s.tmp_1 = helpers_arrayForEach__P109_mk(s); s.tmp_1.arg0 = globals._scenePopHandlers___5007; s.tmp_1.arg1 = s.tmp_0; @@ -16784,14 +16784,14 @@ function game_popScene__P3022_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___13941: undefined, + oldScene___13967: undefined, } } -function game_popScene_inline__P13962(s) { +function game_popScene_inline__P13988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16816,12 +16816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene_inline__P13962.info = {"start":6290,"length":18,"line":201,"column":38,"endLine":201,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P13988.info = {"start":6290,"length":18,"line":201,"column":38,"endLine":201,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P13962_mk(s) { +function game_popScene_inline__P13988_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P13962, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P13988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16841,17 +16841,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___13966 = undefined; + s.sources___13992 = undefined; s.tmp_0 = particles_particleSources__P5354_mk(s); s.callLocIdx = 1265; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___13966 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___13966); + s.sources___13992 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___13992); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___13966; - s.tmp_0.arg1 = particles_enableAll_inline__P13972; + s.tmp_0.arg0 = s.sources___13992; + s.tmp_0.arg1 = particles_enableAll_inline__P13998; s.callLocIdx = 1267; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -16873,14 +16873,14 @@ function particles_enableAll__P3201_mk(s) { parent: s, fn: particles_enableAll__P3201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___13966: undefined, + sources___13992: undefined, } } -function particles_enableAll_inline__P13972(s) { +function particles_enableAll_inline__P13998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16904,12 +16904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P13972.info = {"start":12773,"length":21,"line":416,"column":28,"endLine":416,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_enableAll_inline__P13998.info = {"start":12773,"length":21,"line":416,"column":28,"endLine":416,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_enableAll_inline__P13972_mk(s) { +function particles_enableAll_inline__P13998_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P13972, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P13998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16929,14 +16929,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___14086 = undefined; + s.sources___14112 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 1269; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___14086 = (r0); - r0 = s.sources___14086; + s.sources___14112 = (r0); + r0 = s.sources___14112; return leave(s, r0) default: oops() } } } @@ -16948,7 +16948,7 @@ function particles_particleSources__P5354_mk(s) { parent: s, fn: particles_particleSources__P5354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___14086: undefined, + sources___14112: undefined, } } @@ -16965,25 +16965,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___13977 = undefined; + s.sources___14003 = undefined; s.tmp_0 = particles_particleSources__P5354_mk(s); s.callLocIdx = 1252; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___13977 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___13977); + s.sources___14003 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___14003); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); s.tmp_1 = helpers_arraySlice__P115_mk(s); - s.tmp_1.arg0 = s.sources___13977; + s.tmp_1.arg0 = s.sources___14003; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___13977); + r0 = pxsim_Array__length(s.sources___14003); s.tmp_1.arg2 = r0; s.callLocIdx = 1253; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P13986; + s.tmp_0.arg1 = particles_pruneParticles_inline__P14012; s.callLocIdx = 1255; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -17002,14 +17002,14 @@ function particles_pruneParticles__P5350_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___13977: undefined, + sources___14003: undefined, } } -function particles_pruneParticles_inline__P13986(s) { +function particles_pruneParticles_inline__P14012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17032,12 +17032,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P13986.info = {"start":9997,"length":15,"line":329,"column":62,"endLine":329,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_pruneParticles_inline__P14012.info = {"start":9997,"length":15,"line":329,"column":62,"endLine":329,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_pruneParticles_inline__P13986_mk(s) { +function particles_pruneParticles_inline__P14012_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P13986, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P14012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17057,9 +17057,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14016 = undefined; - s.sources___14024 = undefined; - s.current___14038 = undefined; + s.scene___14042 = undefined; + s.sources___14050 = undefined; + s.current___14064 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17112,10 +17112,10 @@ switch (step) { s.callLocIdx = 1227; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___14016 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___14016); + s.scene___14042 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___14042); if (!r0) { step = 7; continue; } - r0 = s.scene___14016.fields["allSprites"]; + r0 = s.scene___14042.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: @@ -17124,20 +17124,20 @@ switch (step) { s.callLocIdx = 1228; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___14024 = (r0); - s.tmp_0 = r0 = s.sources___14024; + s.sources___14050 = (r0); + s.tmp_0 = r0 = s.sources___14050; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = pxsim_Array__length(s.sources___14024); + r0 = pxsim_Array__length(s.sources___14050); case 10: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 11; continue; } - r0 = pxsim_Array_.removeElement(s.sources___14024, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___14050, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -17146,35 +17146,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___14038 = (r0); + s.current___14064 = (r0); case 15: - s.tmp_0 = r0 = s.current___14038; + s.tmp_0 = r0 = s.current___14064; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___14038.fields["next"]; + r0 = s.current___14064.fields["next"]; case 17: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 20; continue; } - r0 = s.current___14038.fields["next"]; + r0 = s.current___14064.fields["next"]; r0 = r0.fields["lifespan"]; s.tmp_3 = r0; r0 = (s.tmp_3 <= 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 18; continue; } - r0 = s.current___14038.fields["next"]; + r0 = s.current___14064.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___14038).fields["next"] = (s.tmp_4); + r0 = (s.current___14064).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___14038.fields["next"]; - s.current___14038 = (r0); + r0 = s.current___14064.fields["next"]; + s.current___14064 = (r0); case 19: { step = 15; continue; } case 20: @@ -17195,9 +17195,9 @@ function particles_ParticleSource__prune__P3177_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___14016: undefined, - sources___14024: undefined, - current___14038: undefined, + scene___14042: undefined, + sources___14050: undefined, + current___14064: undefined, arg0: undefined, } } @@ -17336,8 +17336,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___14093 = undefined; - s.context___14101 = undefined; + s.ctx___14119 = undefined; + s.context___14127 = undefined; r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4504); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17348,8 +17348,8 @@ switch (step) { case 1: case 2: r0 = pxsim_Array_.pop(globals.eventContexts___4504); - s.ctx___14093 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___14093); + s.ctx___14119 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___14119); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17359,7 +17359,7 @@ switch (step) { case 3: case 4: s.tmp_2 = control_EventContext_unregister__P402_mk(s); - s.tmp_2.arg0 = s.ctx___14093; + s.tmp_2.arg0 = s.ctx___14119; s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -17369,11 +17369,11 @@ switch (step) { r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.context___14101 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___14101); + s.context___14127 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___14127); if (!r0) { step = 5; continue; } s.tmp_0 = control_EventContext_register__P401_mk(s); - s.tmp_0.arg0 = s.context___14101; + s.tmp_0.arg0 = s.context___14127; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -17396,8 +17396,8 @@ function control_popEventContext__P410_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___14093: undefined, - context___14101: undefined, + ctx___14119: undefined, + context___14127: undefined, } } @@ -17414,7 +17414,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___14114 = undefined; + s.h___14140 = undefined; s.unnamed68___U1 = undefined; s.unnamed69___U2 = undefined; if (s.lambdaArgs) { @@ -17423,7 +17423,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___14114 = (undefined); + s.h___14140 = (undefined); r0 = s.arg0.fields["handlers"]; s.unnamed68___U1 = (r0); s.unnamed69___U2 = (0); @@ -17434,9 +17434,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed68___U1, s.unnamed69___U2); - s.h___14114 = (r0); + s.h___14140 = (r0); s.tmp_2 = control_EventHandler_register__P4497_mk(s); - s.tmp_2.arg0 = s.h___14114; + s.tmp_2.arg0 = s.h___14140; s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -17464,7 +17464,7 @@ function control_EventContext_register__P401_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___14114: undefined, + h___14140: undefined, unnamed68___U1: undefined, unnamed69___U2: undefined, arg0: undefined, @@ -17665,11 +17665,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___14782 = undefined; - s.value___14785 = undefined; + s.out___14808 = undefined; + s.value___14811 = undefined; s.unnamed58___U2 = undefined; s.unnamed59___U3 = undefined; - s.value___14792 = undefined; + s.value___14818 = undefined; s.unnamed60___U5 = undefined; s.unnamed61___U6 = undefined; if (s.lambdaArgs) { @@ -17678,8 +17678,8 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___14782 = (r0); - s.value___14785 = (undefined); + s.out___14808 = (r0); + s.value___14811 = (undefined); s.unnamed58___U2 = (s.arg0); s.unnamed59___U3 = (0); case 1: @@ -17689,14 +17689,14 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed58___U2, s.unnamed59___U3); - s.value___14785 = (r0); - r0 = pxsim_Array__push(s.out___14782, s.value___14785); + s.value___14811 = (r0); + r0 = pxsim_Array__push(s.out___14808, s.value___14811); r0 = (s.unnamed59___U3 + 1); s.unnamed59___U3 = (r0); { step = 1; continue; } case 2: s.unnamed58___U2 = (undefined); - s.value___14792 = (undefined); + s.value___14818 = (undefined); s.unnamed60___U5 = (s.arg1); s.unnamed61___U6 = (0); case 3: @@ -17706,14 +17706,14 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed60___U5, s.unnamed61___U6); - s.value___14792 = (r0); - r0 = pxsim_Array__push(s.out___14782, s.value___14792); + s.value___14818 = (r0); + r0 = pxsim_Array__push(s.out___14808, s.value___14818); r0 = (s.unnamed61___U6 + 1); s.unnamed61___U6 = (r0); { step = 3; continue; } case 4: s.unnamed60___U5 = (undefined); - r0 = s.out___14782; + r0 = s.out___14808; return leave(s, r0) default: oops() } } } @@ -17726,11 +17726,11 @@ function helpers_arrayConcat__P113_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___14782: undefined, - value___14785: undefined, + out___14808: undefined, + value___14811: undefined, unnamed58___U2: undefined, unnamed59___U3: undefined, - value___14792: undefined, + value___14818: undefined, unnamed60___U5: undefined, unnamed61___U6: undefined, arg0: undefined, @@ -17751,8 +17751,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___13433 = undefined; - s.i___13434 = undefined; + s.current___13459 = undefined; + s.i___13460 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17776,9 +17776,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___13434 = (0); + s.i___13460 = (0); case 1: - s.tmp_1 = r0 = s.i___13434; + s.tmp_1 = r0 = s.i___13460; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -17789,22 +17789,22 @@ switch (step) { if (!r0) { step = 2; continue; } r0 = s.arg0.fields["options"]; s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.i___13434); - s.current___13433 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___13460); + s.current___13459 = (r0); s.tmp_0 = scene_systemMenu_MenuOption_show__P3107_mk(s); - s.tmp_0.arg0 = s.current___13433; + s.tmp_0.arg0 = s.current___13459; s.callLocIdx = 1070; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P3110_mk(s); - s.tmp_0.arg0 = s.current___13433; + s.tmp_0.arg0 = s.current___13459; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1071; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = scene_systemMenu_MenuOption_position__P3108_mk(s); - s.tmp_0.arg0 = s.current___13433; + s.tmp_0.arg0 = s.current___13459; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -17819,7 +17819,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___13434; + s.tmp_5 = r0 = s.i___13460; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -17884,7 +17884,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___13434; + s.tmp_17 = r0 = s.i___13460; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -17938,8 +17938,8 @@ switch (step) { s.callLocIdx = 1080; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___13434 + 1); - s.i___13434 = (r0); + r0 = (s.i___13460 + 1); + s.i___13460 = (r0); { step = 1; continue; } case 2: s.tmp_0 = controller__setUserEventsEnabled__P2207_mk(s); @@ -17947,7 +17947,7 @@ switch (step) { s.callLocIdx = 1081; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13497); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13523); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); @@ -17957,7 +17957,7 @@ switch (step) { s.callLocIdx = 1083; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13517); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13543); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); @@ -17970,18 +17970,18 @@ switch (step) { s.tmp_0 = controller_Button_onEvent__P2197_mk(s); s.tmp_0.arg0 = globals.B___2115; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13546; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13572; s.callLocIdx = 1087; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; s.tmp_0 = controller_Button_onEvent__P2197_mk(s); s.tmp_0.arg0 = globals.menu___2120; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13551; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13577; s.callLocIdx = 1089; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13556); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13582); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); @@ -17991,7 +17991,7 @@ switch (step) { s.callLocIdx = 1093; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13568); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13594); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); @@ -18001,7 +18001,7 @@ switch (step) { s.callLocIdx = 1096; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13577); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13603); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); @@ -18011,7 +18011,7 @@ switch (step) { s.callLocIdx = 1100; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13593); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13619); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); @@ -18021,7 +18021,7 @@ switch (step) { s.callLocIdx = 1103; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13605); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13631); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = game_onShade__P3035_mk(s); @@ -18071,8 +18071,8 @@ function scene_systemMenu_PauseMenu_show__P3115_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___13433: undefined, - i___13434: undefined, + current___13459: undefined, + i___13460: undefined, arg0: undefined, } } @@ -18080,7 +18080,7 @@ function scene_systemMenu_PauseMenu_show__P3115_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13497(s) { +function scene_systemMenu_PauseMenu_show_inline__P13523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18134,12 +18134,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13497.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13523.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13497_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13523_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13497, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18158,7 +18158,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13497_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13517(s) { +function scene_systemMenu_PauseMenu_show_inline__P13543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18220,12 +18220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13517.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13543.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13517_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13543_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13517, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18244,7 +18244,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13517_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13546(s) { +function scene_systemMenu_PauseMenu_show_inline__P13572(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18262,12 +18262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13546.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13572.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13546_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13572_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13546, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13572, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18276,7 +18276,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13546_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13551(s) { +function scene_systemMenu_PauseMenu_show_inline__P13577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18294,12 +18294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13551.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13577.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13551_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13577_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13551, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18308,7 +18308,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13551_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13556(s) { +function scene_systemMenu_PauseMenu_show_inline__P13582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18351,12 +18351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13556.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13582.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13556_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13582_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13556, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18369,7 +18369,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13556_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13568(s) { +function scene_systemMenu_PauseMenu_show_inline__P13594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18398,12 +18398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13568.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13594.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13568_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13594_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13568, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18414,7 +18414,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13568_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13577(s) { +function scene_systemMenu_PauseMenu_show_inline__P13603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18462,12 +18462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13577.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13603.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13577_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13603_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13577, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18482,7 +18482,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13577_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13593(s) { +function scene_systemMenu_PauseMenu_show_inline__P13619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18516,12 +18516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13593.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13619.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13593_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13619_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13593, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18534,7 +18534,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13593_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13605(s) { +function scene_systemMenu_PauseMenu_show_inline__P13631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18558,12 +18558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13605.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P13631.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P13605_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13631_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13605, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18881,8 +18881,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___13692 = undefined; - s.x___13698 = undefined; + s.w___13718 = undefined; + s.x___13724 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18921,17 +18921,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___13692 = (r0); + s.w___13718 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___13692); + r0 = (s.tmp_1 - s.w___13718); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___13698 = (r0); + s.x___13724 = (r0); s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___13698; + s.tmp_0.arg2 = s.x___13724; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -18953,8 +18953,8 @@ function helpers_imagePrintCenter__P1990_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___13692: undefined, - x___13698: undefined, + w___13718: undefined, + x___13724: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19098,7 +19098,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___13893 = undefined; + s.row___13919 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -19122,17 +19122,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___13893 = (r0); + s.row___13919 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___13893 === s.tmp_1); + r0 = (s.row___13919 === s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.row___13893 - 1); + r0 = (s.row___13919 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -19147,7 +19147,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___13893 > s.tmp_6); + r0 = (s.row___13919 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -19224,7 +19224,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P5260_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___13893: undefined, + row___13919: undefined, arg0: undefined, } } @@ -19242,9 +19242,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___13714 = undefined; - s.i___13718 = undefined; - s.dt___13747 = undefined; + s.t___13740 = undefined; + s.i___13744 = undefined; + s.dt___13773 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -19254,10 +19254,10 @@ switch (step) { r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___13714 = (r0); - s.i___13718 = (0); + s.t___13740 = (r0); + s.i___13744 = (0); case 1: - s.tmp_1 = r0 = s.i___13718; + s.tmp_1 = r0 = s.i___13744; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19269,10 +19269,10 @@ switch (step) { s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P3109_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___13718); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___13744); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___13714; - s.tmp_11 = r0 = s.i___13718; + s.tmp_8 = r0 = s.t___13740; + s.tmp_11 = r0 = s.i___13744; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -19300,8 +19300,8 @@ switch (step) { s.callLocIdx = 1109; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___13718 + 1); - s.i___13718 = (r0); + r0 = (s.i___13744 + 1); + s.i___13744 = (r0); { step = 1; continue; } case 2: s.tmp_1 = game_currentScene__P3017_mk(s); @@ -19313,7 +19313,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___13747 = (r0); + s.dt___13773 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19325,7 +19325,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___13747 * 100); + r0 = (s.dt___13773 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -19343,7 +19343,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___13747 * 100); + r0 = (s.dt___13773 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -19411,9 +19411,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P3116_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___13714: undefined, - i___13718: undefined, - dt___13747: undefined, + t___13740: undefined, + i___13744: undefined, + dt___13773: undefined, arg0: undefined, } } @@ -19492,7 +19492,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___13821 = undefined; + s.physics___13847 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19505,9 +19505,9 @@ switch (step) { case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___13821 = (r0); + s.physics___13847 = (r0); s.tmp_0 = PhysicsEngine__C2512_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___13821; + s.tmp_0.arg0 = s.physics___13847; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -19538,7 +19538,7 @@ function Sprite_top__P2405_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - physics___13821: undefined, + physics___13847: undefined, arg0: undefined, arg1: undefined, } } @@ -20002,7 +20002,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___14573 = undefined; + s.physics___14599 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20015,9 +20015,9 @@ switch (step) { case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___14573 = (r0); + s.physics___14599 = (r0); s.tmp_0 = PhysicsEngine__C2512_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___14573; + s.tmp_0.arg0 = s.physics___14599; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20048,7 +20048,7 @@ function Sprite_left__P2401_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - physics___14573: undefined, + physics___14599: undefined, arg0: undefined, arg1: undefined, } } @@ -20302,8 +20302,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14649 = undefined; - s.sprite___14652 = undefined; + s.scene___14675 = undefined; + s.sprite___14678 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20313,7 +20313,7 @@ switch (step) { s.callLocIdx = 297; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___14649 = (r0); + s.scene___14675 = (r0); r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2342_VT); s.tmp_0 = r0; s.tmp_1 = Sprite_constructor__P2389_mk(s); @@ -20322,31 +20322,31 @@ switch (step) { s.callLocIdx = 298; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___14652 = (s.tmp_0); + s.sprite___14678 = (s.tmp_0); s.tmp_0 = Sprite_setKind__P2409_mk(s); - s.tmp_0.arg0 = s.sprite___14652; + s.tmp_0.arg0 = s.sprite___14678; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 299; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = PhysicsEngine__C2512_v0_2_mk(s); - r0 = s.scene___14649.fields["physicsEngine"]; + r0 = s.scene___14675.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___14652; + s.tmp_0.arg1 = s.sprite___14678; if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14667); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14693); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P14673); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P14699); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___14652); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___14678); s.tmp_2 = helpers_arrayForEach__P109_mk(s); s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___14649.fields["createdHandlers"]; + r0 = s.scene___14675.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 300; s.pc = 6; return s.tmp_3; @@ -20357,7 +20357,7 @@ switch (step) { s.callLocIdx = 302; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___14652; + r0 = s.sprite___14678; return leave(s, r0) default: oops() } } } @@ -20372,8 +20372,8 @@ function sprites_create__P2276_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - scene___14649: undefined, - sprite___14652: undefined, + scene___14675: undefined, + sprite___14678: undefined, arg0: undefined, arg1: undefined, } } @@ -20382,7 +20382,7 @@ function sprites_create__P2276_mk(s) { -function forEach_inline__P14667(s) { +function forEach_inline__P14693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20402,12 +20402,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14667.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P14693.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P14667_mk(s) { +function forEach_inline__P14693_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14667, depth: s.depth + 1, + parent: s, fn: forEach_inline__P14693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20417,7 +20417,7 @@ function forEach_inline__P14667_mk(s) { -function sprites_create_inline__P14673(s) { +function sprites_create_inline__P14699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20449,12 +20449,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P14673.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +sprites_create_inline__P14699.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function sprites_create_inline__P14673_mk(s) { +function sprites_create_inline__P14699_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P14673, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P14699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20510,8 +20510,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___10114 = undefined; - s.overlapMap___10143 = undefined; + s.spritesByKind___10140 = undefined; + s.overlapMap___10169 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20542,7 +20542,7 @@ switch (step) { case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___10114 = (r0); + s.spritesByKind___10140 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -20554,7 +20554,7 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10114, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10140, s.tmp_2); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -20563,7 +20563,7 @@ switch (step) { s.tmp_4 = sprites_SpriteSet_remove__P2471_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10114, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10140, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 368; s.pc = 17; return s.tmp_4; @@ -20575,7 +20575,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10114, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10140, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -20590,11 +20590,11 @@ switch (step) { s.callLocIdx = 369; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___10114, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___10140, s.arg1, s.tmp_4); case 9: case 10: s.tmp_0 = sprites_SpriteSet_add__P2469_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10114, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10140, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 370; s.pc = 19; return s.tmp_0; @@ -20607,8 +20607,8 @@ switch (step) { case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___10143 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10143, s.arg1); + s.overlapMap___10169 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10169, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -20616,7 +20616,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_3 = r0 = s.overlapMap___10143; + s.tmp_3 = r0 = s.overlapMap___10169; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -20624,7 +20624,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10143, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10169, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -20646,8 +20646,8 @@ function Sprite_setKind__P2409_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___10114: undefined, - overlapMap___10143: undefined, + spritesByKind___10140: undefined, + overlapMap___10169: undefined, arg0: undefined, arg1: undefined, } } @@ -21743,7 +21743,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___13845 = undefined; + s.renderable___13871 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21758,7 +21758,7 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P13851; + r0 = renderable_inline__P13877; case 2: // jmp value (already in r0) s.tmp_2 = r0; @@ -21770,8 +21770,8 @@ switch (step) { s.callLocIdx = 973; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___13845 = (s.tmp_0); - r0 = s.renderable___13845; + s.renderable___13871 = (s.tmp_0); + r0 = s.renderable___13871; return leave(s, r0) default: oops() } } } @@ -21786,7 +21786,7 @@ function scene_createRenderable__P2806_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - renderable___13845: undefined, + renderable___13871: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21796,7 +21796,7 @@ function scene_createRenderable__P2806_mk(s) { -function renderable_inline__P13851(s) { +function renderable_inline__P13877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21810,12 +21810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P13851.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P13877.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function renderable_inline__P13851_mk(s) { +function renderable_inline__P13877_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P13851, depth: s.depth + 1, + parent: s, fn: renderable_inline__P13877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21946,7 +21946,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___15248 = undefined; + s.cardsPerRow___15274 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21959,7 +21959,7 @@ switch (step) { r0 = (s.arg0 + s.arg1); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.cardsPerRow___15248 = (r0); + s.cardsPerRow___15274 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } @@ -21990,12 +21990,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardSpacing", s.arg1); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardWidth", s.arg0); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___15248); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___15274); r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_3 = r0; - r0 = (s.cardsPerRow___15248 * s.arg0); + r0 = (s.cardsPerRow___15274 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___15248 - 1); + r0 = (s.cardsPerRow___15274 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -22078,7 +22078,7 @@ function scene_systemMenu_buildMenuTheme__P3122_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___15248: undefined, + cardsPerRow___15274: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22283,12 +22283,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___15327 = undefined; + s.oldScene___15353 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 1017; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___15327 = (r0); + s.oldScene___15353 = (r0); s.tmp_0 = particles_clearAll__P3199_mk(s); s.callLocIdx = 1018; s.pc = 6; return s.tmp_0; case 6: @@ -22315,9 +22315,9 @@ switch (step) { r0 = s.retval; r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5006); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P15344); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P15370); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___15327); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___15353); s.tmp_1 = helpers_arrayForEach__P109_mk(s); s.tmp_1.arg0 = globals._scenePushHandlers___5006; s.tmp_1.arg1 = s.tmp_0; @@ -22339,14 +22339,14 @@ function game_pushScene__P3021_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___15327: undefined, + oldScene___15353: undefined, } } -function game_pushScene_inline__P15344(s) { +function game_pushScene_inline__P15370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22371,12 +22371,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene_inline__P15344.info = {"start":5736,"length":18,"line":181,"column":39,"endLine":181,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P15370.info = {"start":5736,"length":18,"line":181,"column":39,"endLine":181,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P15344_mk(s) { +function game_pushScene_inline__P15370_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P15344, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P15370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22396,17 +22396,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15348 = undefined; + s.sources___15374 = undefined; s.tmp_0 = particles_particleSources__P5354_mk(s); s.callLocIdx = 1261; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___15348 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___15348); + s.sources___15374 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___15374); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___15348; - s.tmp_0.arg1 = particles_disableAll_inline__P15354; + s.tmp_0.arg0 = s.sources___15374; + s.tmp_0.arg1 = particles_disableAll_inline__P15380; s.callLocIdx = 1263; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -22428,14 +22428,14 @@ function particles_disableAll__P3200_mk(s) { parent: s, fn: particles_disableAll__P3200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___15348: undefined, + sources___15374: undefined, } } -function particles_disableAll_inline__P15354(s) { +function particles_disableAll_inline__P15380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22459,12 +22459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P15354.info = {"start":12495,"length":22,"line":405,"column":28,"endLine":405,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_disableAll_inline__P15380.info = {"start":12495,"length":22,"line":405,"column":28,"endLine":405,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_disableAll_inline__P15354_mk(s) { +function particles_disableAll_inline__P15380_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P15354, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P15380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22484,17 +22484,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15359 = undefined; + s.sources___15385 = undefined; s.tmp_0 = particles_particleSources__P5354_mk(s); s.callLocIdx = 1257; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___15359 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___15359); + s.sources___15385 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___15385); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___15359; - s.tmp_0.arg1 = particles_clearAll_inline__P15365; + s.tmp_0.arg0 = s.sources___15385; + s.tmp_0.arg1 = particles_clearAll_inline__P15391; s.callLocIdx = 1259; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -22516,14 +22516,14 @@ function particles_clearAll__P3199_mk(s) { parent: s, fn: particles_clearAll__P3199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___15359: undefined, + sources___15385: undefined, } } -function particles_clearAll_inline__P15365(s) { +function particles_clearAll_inline__P15391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22546,12 +22546,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P15365.info = {"start":12221,"length":14,"line":394,"column":28,"endLine":394,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_clearAll_inline__P15391.info = {"start":12221,"length":14,"line":394,"column":28,"endLine":394,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_clearAll_inline__P15365_mk(s) { +function particles_clearAll_inline__P15391_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P15365, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P15391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22606,7 +22606,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___15377 = undefined; + s.eventHandler___15403 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22621,8 +22621,8 @@ switch (step) { s.callLocIdx = 203; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___15377 = (r0); - r0 = (s.eventHandler___15377).fields["callback"] = (s.arg2); + s.eventHandler___15403 = (r0); + r0 = (s.eventHandler___15403).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() @@ -22635,7 +22635,7 @@ function controller_Button_onEvent__P2197_mk(s) { parent: s, fn: controller_Button_onEvent__P2197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___15377: undefined, + eventHandler___15403: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22655,11 +22655,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___15398 = undefined; - s.eventHandler___15407 = undefined; + s.handlerState___15424 = undefined; + s.eventHandler___15433 = undefined; s.unnamed80___U2 = undefined; s.unnamed81___U3 = undefined; - s.newHandler___15423 = undefined; + s.newHandler___15449 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22702,8 +22702,8 @@ switch (step) { s.callLocIdx = 216; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___15398 = (r0); - r0 = s.handlerState___15398.fields["user"]; + s.handlerState___15424 = (r0); + r0 = s.handlerState___15424.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22711,14 +22711,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___15398; + s.tmp_3 = r0 = s.handlerState___15424; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___15407 = (undefined); - r0 = s.handlerState___15398.fields["user"]; + s.eventHandler___15433 = (undefined); + r0 = s.handlerState___15424.fields["user"]; s.unnamed80___U2 = (r0); s.unnamed81___U3 = (0); case 5: @@ -22728,14 +22728,14 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } r0 = pxsim_Array__getAt(s.unnamed80___U2, s.unnamed81___U3); - s.eventHandler___15407 = (r0); - r0 = s.eventHandler___15407.fields["event"]; + s.eventHandler___15433 = (r0); + r0 = s.eventHandler___15433.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - r0 = s.eventHandler___15407; + r0 = s.eventHandler___15433; { step = 9; continue; } case 6: case 7: @@ -22744,7 +22744,7 @@ switch (step) { { step = 5; continue; } case 8: s.unnamed80___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P15420); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P15446); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.arg1); @@ -22766,11 +22766,11 @@ switch (step) { s.callLocIdx = 219; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___15423 = (s.tmp_0); - r0 = s.handlerState___15398.fields["user"]; + s.newHandler___15449 = (s.tmp_0); + r0 = s.handlerState___15424.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___15423); - r0 = s.newHandler___15423; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___15449); + r0 = s.newHandler___15449; case 9: return leave(s, r0) default: oops() @@ -22790,11 +22790,11 @@ function controller_Button_getOrCreateHandlerForEvent__P4793_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___15398: undefined, - eventHandler___15407: undefined, + handlerState___15424: undefined, + eventHandler___15433: undefined, unnamed80___U2: undefined, unnamed81___U3: undefined, - newHandler___15423: undefined, + newHandler___15449: undefined, arg0: undefined, arg1: undefined, } } @@ -22803,7 +22803,7 @@ function controller_Button_getOrCreateHandlerForEvent__P4793_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P15420(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P15446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22823,12 +22823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P15420.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_getOrCreateHandlerForEvent_inline__P15446.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_getOrCreateHandlerForEvent_inline__P15420_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P15446_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P15420, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P15446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22847,9 +22847,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___15437 = undefined; - s.userHandler___15441 = undefined; - s.eventHandler___15452 = undefined; + s.handlerState___15463 = undefined; + s.userHandler___15467 = undefined; + s.eventHandler___15478 = undefined; s.unnamed78___U3 = undefined; s.unnamed79___U4 = undefined; if (s.lambdaArgs) { @@ -22864,8 +22864,8 @@ switch (step) { s.callLocIdx = 209; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___15437 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___15437); + s.handlerState___15463 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___15463); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22880,13 +22880,13 @@ switch (step) { s.callLocIdx = 210; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___15441 = (r0); - r0 = s.userHandler___15441.fields["callback"]; + s.userHandler___15467 = (r0); + r0 = s.userHandler___15467.fields["callback"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_callback_1_mk(s); - s.tmp_1.arg0 = s.userHandler___15441; + s.tmp_1.arg0 = s.userHandler___15467; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); s.callLocIdx = 211; s.pc = 16; return s.tmp_1; @@ -22900,12 +22900,12 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = s.handlerState___15437.fields["system"]; + r0 = s.handlerState___15463.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___15452 = (undefined); - r0 = s.handlerState___15437.fields["system"]; + s.eventHandler___15478 = (undefined); + r0 = s.handlerState___15463.fields["system"]; s.unnamed78___U3 = (r0); s.unnamed79___U4 = (0); case 5: @@ -22915,8 +22915,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } r0 = pxsim_Array__getAt(s.unnamed78___U3, s.unnamed79___U4); - s.eventHandler___15452 = (r0); - r0 = s.eventHandler___15452.fields["event"]; + s.eventHandler___15478 = (r0); + r0 = s.eventHandler___15478.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -22925,14 +22925,14 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___15452.fields["callback"]; + r0 = s.eventHandler___15478.fields["callback"]; case 7: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } s.tmp_5 = if_callback_1_mk(s); - s.tmp_5.arg0 = s.eventHandler___15452; + s.tmp_5.arg0 = s.eventHandler___15478; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); s.callLocIdx = 212; s.pc = 17; return s.tmp_5; @@ -22971,9 +22971,9 @@ function controller_Button_runButtonEvents__P4792_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___15437: undefined, - userHandler___15441: undefined, - eventHandler___15452: undefined, + handlerState___15463: undefined, + userHandler___15467: undefined, + eventHandler___15478: undefined, unnamed78___U3: undefined, unnamed79___U4: undefined, arg0: undefined, @@ -22994,7 +22994,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___15468 = undefined; + s.state___15494 = undefined; s.unnamed76___U1 = undefined; s.unnamed77___U2 = undefined; if (s.lambdaArgs) { @@ -23003,7 +23003,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - s.state___15468 = (undefined); + s.state___15494 = (undefined); s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 199; s.pc = 6; return s.tmp_0; case 6: @@ -23018,8 +23018,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); - s.state___15468 = (r0); - r0 = s.state___15468.fields["id"]; + s.state___15494 = (r0); + r0 = s.state___15494.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -23027,7 +23027,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___15468; + r0 = s.state___15494; { step = 5; continue; } case 2: case 3: @@ -23054,7 +23054,7 @@ function controller_Button_handlerState__P4788_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - state___15468: undefined, + state___15494: undefined, unnamed76___U1: undefined, unnamed77___U2: undefined, arg0: undefined, @@ -23151,20 +23151,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___15480 = undefined; + s.brightness___15506 = undefined; s.tmp_0 = settings_readNumber__P2069_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1187; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___15480 = (r0); - r0 = (s.brightness___15480 !== undefined); + s.brightness___15506 = (r0); + r0 = (s.brightness___15506 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = helpers_setScreenBrightness__P1966_mk(s); s.tmp_1.arg0 = globals.screen___2033; - s.tmp_1.arg1 = s.brightness___15480; + s.tmp_1.arg1 = s.brightness___15506; s.callLocIdx = 1188; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23183,7 +23183,7 @@ function scene_systemMenu_initScreen__P5272_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___15480: undefined, + brightness___15506: undefined, } } @@ -23200,15 +23200,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15491 = undefined; - s.nums___15498 = undefined; + s.buf___15517 = undefined; + s.nums___15524 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___15491 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___15491); + s.buf___15517 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___15517); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23219,19 +23219,19 @@ switch (step) { { step = 6; continue; } case 1: s.tmp_2 = msgpack_unpackNumberArray__P183_mk(s); - s.tmp_2.arg0 = s.buf___15491; + s.tmp_2.arg0 = s.buf___15517; s.tmp_2.arg1 = 0; s.callLocIdx = 129; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___15498 = (r0); - s.tmp_0 = r0 = s.nums___15498; + s.nums___15524 = (r0); + s.tmp_0 = r0 = s.nums___15524; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - r0 = pxsim_Array__length(s.nums___15498); + r0 = pxsim_Array__length(s.nums___15524); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -23239,7 +23239,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.nums___15498, 0); + r0 = pxsim_Array__getAt(s.nums___15524, 0); { step = 7; continue; } case 4: case 5: @@ -23261,8 +23261,8 @@ function settings_readNumber__P2069_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___15491: undefined, - nums___15498: undefined, + buf___15517: undefined, + nums___15524: undefined, arg0: undefined, } } @@ -23312,16 +23312,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___15511 = undefined; - s.fmt___15518 = undefined; - s.v___15527 = undefined; + s.res___15537 = undefined; + s.fmt___15544 = undefined; + s.v___15553 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___15511 = (r0); + s.res___15537 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -23339,8 +23339,8 @@ switch (step) { s.callLocIdx = 20; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___15518 = (r0); - r0 = (s.fmt___15518 === null); + s.fmt___15544 = (r0); + r0 = (s.fmt___15544 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -23348,21 +23348,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___15527 = (r0); - r0 = (-31 <= s.v___15527); + s.v___15553 = (r0); + r0 = (-31 <= s.v___15553); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - r0 = (s.v___15527 <= 127); + r0 = (s.v___15553 <= 127); case 3: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__push(s.res___15511, s.v___15527); + r0 = pxsim_Array__push(s.res___15537, s.v___15553); { step = 5; continue; } case 4: r0 = null; @@ -23370,13 +23370,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___15511; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___15518, s.arg1); + s.tmp_0 = r0 = s.res___15537; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___15544, s.arg1); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.arg1; s.tmp_2 = pins_sizeOf__P175_mk(s); - s.tmp_2.arg0 = s.fmt___15518; + s.tmp_2.arg0 = s.fmt___15544; s.callLocIdx = 21; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -23397,7 +23397,7 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___15511; + r0 = s.res___15537; case 11: return leave(s, r0) default: oops() @@ -23414,9 +23414,9 @@ function msgpack_unpackNumberArray__P183_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - res___15511: undefined, - fmt___15518: undefined, - v___15527: undefined, + res___15537: undefined, + fmt___15544: undefined, + v___15553: undefined, arg0: undefined, arg1: undefined, } } @@ -23435,19 +23435,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___15572 = undefined; + s.vol___15598 = undefined; s.tmp_0 = settings_readNumber__P2069_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1185; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___15572 = (r0); - r0 = (s.vol___15572 !== undefined); + s.vol___15598 = (r0); + r0 = (s.vol___15598 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = music_setVolume__P1621_mk(s); - s.tmp_1.arg0 = s.vol___15572; + s.tmp_1.arg0 = s.vol___15598; s.callLocIdx = 1186; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23466,7 +23466,7 @@ function scene_systemMenu_initVolume__P5271_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___15572: undefined, + vol___15598: undefined, } } @@ -23578,7 +23578,7 @@ function game_GameOverConfig_init__P3007_mk(s) { -function melt_inline__P15635(s) { +function melt_inline__P15661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23588,11 +23588,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___15638 = undefined; - s.j___15646 = undefined; - s.x___15651 = undefined; - s.y___15657 = undefined; - s.c___15663 = undefined; + s.rounds___15664 = undefined; + s.j___15672 = undefined; + s.x___15677 = undefined; + s.y___15683 = undefined; + s.c___15689 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23605,10 +23605,10 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___15638 = (r0); - s.j___15646 = (0); + s.rounds___15664 = (r0); + s.j___15672 = (0); case 1: - r0 = (s.j___15646 < s.rounds___15638); + r0 = (s.j___15672 < s.rounds___15664); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -23622,7 +23622,7 @@ switch (step) { s.callLocIdx = 58; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___15651 = (r0); + s.x___15677 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; @@ -23633,42 +23633,42 @@ switch (step) { s.callLocIdx = 59; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___15657 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___15651, s.y___15657); - s.c___15663 = (r0); + s.y___15683 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___15677, s.y___15683); + s.c___15689 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___15651; - r0 = (s.y___15657 + 1); + s.tmp_1 = r0 = s.x___15677; + r0 = (s.y___15683 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15663); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15689); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___15651; - r0 = (s.y___15657 + 2); + s.tmp_1 = r0 = s.x___15677; + r0 = (s.y___15683 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15663); - r0 = (s.j___15646 + 1); - s.j___15646 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15689); + r0 = (s.j___15672 + 1); + s.j___15672 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P15635.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +melt_inline__P15661.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} -function melt_inline__P15635_mk(s) { +function melt_inline__P15661_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P15635, depth: s.depth + 1, + parent: s, fn: melt_inline__P15661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___15638: undefined, - j___15646: undefined, - x___15651: undefined, - y___15657: undefined, - c___15663: undefined, + rounds___15664: undefined, + j___15672: undefined, + x___15677: undefined, + y___15683: undefined, + c___15689: undefined, arg0: undefined, arg1: undefined, } } @@ -23677,7 +23677,7 @@ function melt_inline__P15635_mk(s) { -function confetti_inline__P15689(s) { +function confetti_inline__P15715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23687,7 +23687,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___15692 = undefined; + s.factory___15718 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23735,9 +23735,9 @@ switch (step) { s.callLocIdx = 48; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___15692 = (s.tmp_0); + s.factory___15718 = (s.tmp_0); s.tmp_0 = particles_SprayFactory_setSpeed__P3213_mk(s); - s.tmp_0.arg0 = s.factory___15692; + s.tmp_0.arg0 = s.factory___15718; s.tmp_0.arg1 = 30; s.callLocIdx = 49; s.pc = 6; return s.tmp_0; case 6: @@ -23748,7 +23748,7 @@ switch (step) { s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; - s.tmp_1.arg3 = s.factory___15692; + s.tmp_1.arg3 = s.factory___15718; s.callLocIdx = 50; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -23756,12 +23756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P15689.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +confetti_inline__P15715.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -function confetti_inline__P15689_mk(s) { +function confetti_inline__P15715_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P15689, depth: s.depth + 1, + parent: s, fn: confetti_inline__P15715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23769,7 +23769,7 @@ function confetti_inline__P15689_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___15692: undefined, + factory___15718: undefined, arg0: undefined, arg1: undefined, } } @@ -23788,8 +23788,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15713 = undefined; - s.removedSource___15722 = undefined; + s.sources___15739 = undefined; + s.removedSource___15748 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23813,27 +23813,27 @@ switch (step) { s.callLocIdx = 1209; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___15713 = (r0); - r0 = pxsim_Array__length(s.sources___15713); + s.sources___15739 = (r0); + r0 = pxsim_Array__length(s.sources___15739); s.tmp_1 = r0; r0 = (s.tmp_1 >= globals.MAX_SOURCES___5340); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = particles_sortSources__P5351_mk(s); - s.tmp_2.arg0 = s.sources___15713; + s.tmp_2.arg0 = s.sources___15739; s.callLocIdx = 1210; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___15713, 0); - s.removedSource___15722 = (r0); + r0 = pxsim_Array_.removeAt(s.sources___15739, 0); + s.removedSource___15748 = (r0); s.tmp_0 = particles_ParticleSource_clear__P3184_mk(s); - s.tmp_0.arg0 = s.removedSource___15722; + s.tmp_0.arg0 = s.removedSource___15748; s.callLocIdx = 1212; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = particles_ParticleSource_destroy__P3183_mk(s); - s.tmp_0.arg0 = s.removedSource___15722; + s.tmp_0.arg0 = s.removedSource___15748; s.callLocIdx = 1213; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; @@ -23878,7 +23878,7 @@ switch (step) { s.callLocIdx = 1217; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___15713, s.arg0); + r0 = pxsim_Array__push(s.sources___15739, s.arg0); s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; @@ -23899,8 +23899,8 @@ function particles_ParticleSource_constructor__P3174_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___15713: undefined, - removedSource___15722: undefined, + sources___15739: undefined, + removedSource___15748: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23927,7 +23927,7 @@ switch (step) { } s.tmp_0 = helpers_arraySort__P105_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P15916; + s.tmp_0.arg1 = particles_sortSources_inline__P15942; s.callLocIdx = 1256; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -23950,7 +23950,7 @@ function particles_sortSources__P5351_mk(s) { -function particles_sortSources_inline__P15916(s) { +function particles_sortSources_inline__P15942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23988,12 +23988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P15916.info = {"start":10097,"length":50,"line":333,"column":21,"endLine":333,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} +particles_sortSources_inline__P15942.info = {"start":10097,"length":50,"line":333,"column":21,"endLine":333,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} -function particles_sortSources_inline__P15916_mk(s) { +function particles_sortSources_inline__P15942_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P15916, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P15942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24019,20 +24019,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___15955 = undefined; + s.scene___15981 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 1246; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___15955 = (r0); - r0 = s.scene___15955.fields["particleSources"]; + s.scene___15981 = (r0); + r0 = s.scene___15981.fields["particleSources"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_1 = r0 = s.scene___15955; + s.tmp_1 = r0 = s.scene___15981; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); @@ -24064,7 +24064,7 @@ function particles_init__P5348_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___15955: undefined, + scene___15981: undefined, } } @@ -24081,16 +24081,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15997 = undefined; - s.time___16004 = undefined; - s.dt___16007 = undefined; - s.i___16013 = undefined; + s.sources___16023 = undefined; + s.time___16030 = undefined; + s.dt___16033 = undefined; + s.i___16039 = undefined; s.tmp_0 = particles_particleSources__P5354_mk(s); s.callLocIdx = 1249; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___15997 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___15997); + s.sources___16023 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___16023); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24100,33 +24100,33 @@ switch (step) { case 1: case 2: s.tmp_2 = particles_sortSources__P5351_mk(s); - s.tmp_2.arg0 = s.sources___15997; + s.tmp_2.arg0 = s.sources___16023; s.callLocIdx = 1250; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___16004 = (r0); - r0 = (s.time___16004 - globals.lastUpdate___5343); - s.dt___16007 = (r0); - globals.lastUpdate___5343 = (s.time___16004); - s.i___16013 = (0); + s.time___16030 = (r0); + r0 = (s.time___16030 - globals.lastUpdate___5343); + s.dt___16033 = (r0); + globals.lastUpdate___5343 = (s.time___16030); + s.i___16039 = (0); case 3: - s.tmp_1 = r0 = s.i___16013; - r0 = pxsim_Array__length(s.sources___15997); + s.tmp_1 = r0 = s.i___16039; + r0 = pxsim_Array__length(s.sources___16023); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_3 = particles_ParticleSource__update__P3176_mk(s); - r0 = pxsim_Array__getAt(s.sources___15997, s.i___16013); + r0 = pxsim_Array__getAt(s.sources___16023, s.i___16039); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___16007; + s.tmp_3.arg1 = s.dt___16033; s.callLocIdx = 1251; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___16013 + 1); - s.i___16013 = (r0); + r0 = (s.i___16039 + 1); + s.i___16039 = (r0); { step = 3; continue; } case 4: case 5: @@ -24145,10 +24145,10 @@ function particles_updateParticles__P5349_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - sources___15997: undefined, - time___16004: undefined, - dt___16007: undefined, - i___16013: undefined, + sources___16023: undefined, + time___16030: undefined, + dt___16033: undefined, + i___16039: undefined, } } @@ -24165,9 +24165,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16076 = undefined; - s.current___16095 = undefined; - s.fixedDt___16103 = undefined; + s.p___16102 = undefined; + s.current___16121 = undefined; + s.fixedDt___16129 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24301,8 +24301,8 @@ switch (step) { s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.p___16076 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___16076); + s.p___16102 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___16102); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24313,8 +24313,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___16076).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___16076); + r0 = (s.p___16102).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___16102); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -24329,7 +24329,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___16095 = (r0); + s.current___16121 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -24341,17 +24341,17 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___16103 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___16103); + s.fixedDt___16129 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___16129); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___16095.fields["lifespan"]; + r0 = s.current___16121.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_2 = r0 = s.current___16095; + s.tmp_2 = r0 = s.current___16121; r0 = s.tmp_2.fields["lifespan"]; s.tmp_4 = r0; r0 = (s.tmp_4 - s.arg1); @@ -24359,8 +24359,8 @@ switch (step) { r0 = (s.tmp_2).fields["lifespan"] = (s.tmp_3); s.tmp_0 = particles_ParticleSource__C3169_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___16095; - s.tmp_0.arg2 = s.fixedDt___16103; + s.tmp_0.arg1 = s.current___16121; + s.tmp_0.arg2 = s.fixedDt___16129; if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C3169_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle; s.pc = 33; return s.tmp_0; @@ -24368,9 +24368,9 @@ switch (step) { r0 = s.retval; case 20: case 21: - r0 = s.current___16095.fields["next"]; + r0 = s.current___16121.fields["next"]; s.tmp_0 = r0; - s.current___16095 = (r0); + s.current___16121 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -24379,15 +24379,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___16095; + s.tmp_0 = r0 = s.current___16121; r0 = s.tmp_0.fields["lifespan"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - r0 = s.current___16095.fields["next"]; + r0 = s.current___16121.fields["next"]; s.tmp_0 = r0; - s.current___16095 = (r0); + s.current___16121 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -24413,9 +24413,9 @@ function particles_ParticleSource__update__P3176_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___16076: undefined, - current___16095: undefined, - fixedDt___16103: undefined, + p___16102: undefined, + current___16121: undefined, + fixedDt___16129: undefined, arg0: undefined, arg1: undefined, } } @@ -24562,7 +24562,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16186 = undefined; + s.p___16212 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24571,8 +24571,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, particles_ParticleFactory__C3205_VT)) failedCast(r0); r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C3150_VT); - s.p___16186 = (r0); - s.tmp_0 = r0 = s.p___16186; + s.p___16212 = (r0); + s.tmp_0 = r0 = s.p___16212; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24591,7 +24591,7 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16186; + s.tmp_0 = r0 = s.p___16212; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24610,10 +24610,10 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___16186).fields["vx"] = (0); - r0 = (s.p___16186).fields["vy"] = (0); - r0 = (s.p___16186).fields["lifespan"] = (500); - r0 = s.p___16186; + r0 = (s.p___16212).fields["vx"] = (0); + r0 = (s.p___16212).fields["vy"] = (0); + r0 = (s.p___16212).fields["lifespan"] = (500); + r0 = s.p___16212; return leave(s, r0) default: oops() } } } @@ -24629,7 +24629,7 @@ function particles_ParticleFactory_createParticle__P3207_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - p___16186: undefined, + p___16212: undefined, arg0: undefined, arg1: undefined, } } @@ -24648,7 +24648,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___15977 = undefined; + s.timer___16003 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24673,11 +24673,11 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___15977 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___15977, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P15981); + s.timer___16003 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___16003, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P16007); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___15977); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___16003); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -24706,7 +24706,7 @@ function game_onUpdateInterval__P3042_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___15977: undefined, + timer___16003: undefined, arg0: undefined, arg1: undefined, } } @@ -24715,7 +24715,7 @@ function game_onUpdateInterval__P3042_mk(s) { -function game_onUpdateInterval_inline__P15981(s) { +function game_onUpdateInterval_inline__P16007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24725,22 +24725,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___15982 = undefined; + s.time___16008 = undefined; s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 1034; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___15982 = (r0); + s.time___16008 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___15982); + r0 = (s.tmp_1 <= s.time___16008); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = r0 = s.caps[0]; - r0 = (s.time___15982 + s.caps[1]); + r0 = (s.time___16008 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -24755,18 +24755,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P15981.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} +game_onUpdateInterval_inline__P16007.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval_inline__P15981_mk(s) { +function game_onUpdateInterval_inline__P16007_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P15981, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P16007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - time___15982: undefined, + time___16008: undefined, } } @@ -24864,7 +24864,7 @@ function game_onUpdate__P3041_mk(s) { -function MAX_SOURCES_inline__P15931(s) { +function MAX_SOURCES_inline__P15957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24874,13 +24874,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___15932 = undefined; + s.sz___15958 = undefined; s.tmp_0 = control_ramSize__P346_mk(s); s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___15932 = (r0); - r0 = (s.sz___15932 <= 102400); + s.sz___15958 = (r0); + r0 = (s.sz___15958 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -24888,7 +24888,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___15932 <= 204800); + r0 = (s.sz___15958 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -24905,16 +24905,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P15931.info = {"start":240,"length":217,"line":9,"column":25,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +MAX_SOURCES_inline__P15957.info = {"start":240,"length":217,"line":9,"column":25,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function MAX_SOURCES_inline__P15931_mk(s) { +function MAX_SOURCES_inline__P15957_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P15931, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P15957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___15932: undefined, + sz___15958: undefined, } } @@ -25107,25 +25107,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___15816 = undefined; - s.anglePerSlice___15818 = undefined; - s.i___15824 = undefined; + s.cos___15842 = undefined; + s.anglePerSlice___15844 = undefined; + s.i___15850 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___15816 = (r0); + s.cos___15842 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___15818 = (r0); - s.i___15824 = (0); + s.anglePerSlice___15844 = (r0); + s.i___15850 = (0); case 1: - r0 = (s.i___15824 < s.arg0); + r0 = (s.i___15850 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___15816; - r0 = (s.i___15824 * s.anglePerSlice___15818); + s.tmp_1 = r0 = s.cos___15842; + r0 = (s.i___15850 * s.anglePerSlice___15844); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -25134,11 +25134,11 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___15824 + 1); - s.i___15824 = (r0); + r0 = (s.i___15850 + 1); + s.i___15850 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___15816; + r0 = s.cos___15842; return leave(s, r0) default: oops() } } } @@ -25155,9 +25155,9 @@ function particles_cacheCos__P3204_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___15816: undefined, - anglePerSlice___15818: undefined, - i___15824: undefined, + cos___15842: undefined, + anglePerSlice___15844: undefined, + i___15850: undefined, arg0: undefined, } } @@ -25175,25 +25175,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___15842 = undefined; - s.anglePerSlice___15844 = undefined; - s.i___15850 = undefined; + s.sin___15868 = undefined; + s.anglePerSlice___15870 = undefined; + s.i___15876 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___15842 = (r0); + s.sin___15868 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___15844 = (r0); - s.i___15850 = (0); + s.anglePerSlice___15870 = (r0); + s.i___15876 = (0); case 1: - r0 = (s.i___15850 < s.arg0); + r0 = (s.i___15876 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___15842; - r0 = (s.i___15850 * s.anglePerSlice___15844); + s.tmp_1 = r0 = s.sin___15868; + r0 = (s.i___15876 * s.anglePerSlice___15870); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -25202,11 +25202,11 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___15850 + 1); - s.i___15850 = (r0); + r0 = (s.i___15876 + 1); + s.i___15876 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___15842; + r0 = s.sin___15868; return leave(s, r0) default: oops() } } } @@ -25223,9 +25223,9 @@ function particles_cacheSin__P3203_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___15842: undefined, - anglePerSlice___15844: undefined, - i___15850: undefined, + sin___15868: undefined, + anglePerSlice___15870: undefined, + i___15876: undefined, arg0: undefined, } } @@ -25713,8 +25713,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___16218 = undefined; - s.i___16234 = undefined; + s.confetti___16244 = undefined; + s.i___16260 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25725,35 +25725,35 @@ switch (step) { if (!checkSubtype(r0, particles_ConfettiFactory__C3236_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex16221); + r0 = pxsim.image.ofBuffer(_hex16247); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex16223); + r0 = pxsim.image.ofBuffer(_hex16249); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex16225); + r0 = pxsim.image.ofBuffer(_hex16251); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex16227); + r0 = pxsim.image.ofBuffer(_hex16253); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex16229); + r0 = pxsim.image.ofBuffer(_hex16255); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___16218 = (s.tmp_0); + s.confetti___16244 = (s.tmp_0); s.tmp_0 = particles_ShapeFactory_constructor__P3232_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - r0 = pxsim_Array__getAt(s.confetti___16218, 0); + r0 = pxsim_Array__getAt(s.confetti___16244, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1317; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___16234 = (1); + s.i___16260 = (1); case 1: - s.tmp_1 = r0 = s.i___16234; - r0 = pxsim_Array__length(s.confetti___16218); + s.tmp_1 = r0 = s.i___16260; + r0 = pxsim_Array__length(s.confetti___16244); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; @@ -25761,13 +25761,13 @@ switch (step) { if (!r0) { step = 2; continue; } s.tmp_3 = particles_ShapeFactory_addShape__P3233_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___16218, s.i___16234); + r0 = pxsim_Array__getAt(s.confetti___16244, s.i___16260); s.tmp_3.arg1 = r0; s.callLocIdx = 1318; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___16234 + 1); - s.i___16234 = (r0); + r0 = (s.i___16260 + 1); + s.i___16260 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -25789,18 +25789,18 @@ function particles_ConfettiFactory_constructor__P3237_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___16218: undefined, - i___16234: undefined, + confetti___16244: undefined, + i___16260: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex16221 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex16223 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex16225 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex16227 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex16229 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex16247 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex16249 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex16251 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex16253 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex16255 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") @@ -26356,13 +26356,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P16371); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P16397); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); r0 = s.arg0.fields["id"]; s.tmp_2 = r0; r0 = pxsim.control.internalOnEvent(2050, s.tmp_2, s.tmp_1, 16); - r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P16378); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P16404); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -26400,7 +26400,7 @@ function controller_Button_constructor__P2196_mk(s) { -function controller_Button_inline__P16371(s) { +function controller_Button_inline__P16397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26420,12 +26420,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P16371.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P16397.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P16371_mk(s) { +function controller_Button_inline__P16397_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16371, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P16397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26434,7 +26434,7 @@ function controller_Button_inline__P16371_mk(s) { -function controller_Button_inline__P16378(s) { +function controller_Button_inline__P16404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26454,12 +26454,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P16378.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P16404.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P16378_mk(s) { +function controller_Button_inline__P16404_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16378, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P16404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26897,17 +26897,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___16473 = undefined; + s.rn___16499 = undefined; s.tmp_1 = settings_runNumber__P2059_mk(s); s.callLocIdx = 120; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___16473 = (r0); + s.rn___16499 = (r0); s.tmp_0 = settings_writeNumber__P2064_mk(s); s.tmp_0.arg0 = globals.RUN_KEY___4682; - s.tmp_0.arg1 = s.rn___16473; + s.tmp_0.arg1 = s.rn___16499; s.callLocIdx = 121; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -26916,7 +26916,7 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___16473); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___16499); s.tmp_0 = settings_setScope__P4693_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; @@ -26936,7 +26936,7 @@ function settings_initScopes__P4694_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___16473: undefined, + rn___16499: undefined, } } @@ -26953,7 +26953,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___16502 = undefined; + s.currScope___16528 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -26983,8 +26983,8 @@ switch (step) { s.callLocIdx = 118; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___16502 = (r0); - r0 = (s.currScope___16502 != s.arg0); + s.currScope___16528 = (r0); + r0 = (s.currScope___16528 != s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -27012,7 +27012,7 @@ function settings_setScope__P4693_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currScope___16502: undefined, + currScope___16528: undefined, arg0: undefined, } } @@ -27030,14 +27030,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___16523 = undefined; + s.buf___16549 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___16523 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___16523); + s.buf___16549 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___16549); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27047,7 +27047,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___16523); + r0 = pxsim.BufferMethods.toString(s.buf___16549); { step = 3; continue; } case 2: r0 = undefined; @@ -27064,7 +27064,7 @@ function settings_readString__P2067_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___16523: undefined, + buf___16549: undefined, arg0: undefined, } } @@ -27385,7 +27385,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16561 = undefined; + s.p___16587 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27399,8 +27399,8 @@ switch (step) { s.callLocIdx = 1315; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16561 = (r0); - s.tmp_0 = r0 = s.p___16561; + s.p___16587 = (r0); + s.tmp_0 = r0 = s.p___16587; s.tmp_2 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; @@ -27411,7 +27411,7 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___16561; + r0 = s.p___16587; return leave(s, r0) default: oops() } } } @@ -27425,7 +27425,7 @@ function particles_ShapeFactory_createParticle__P3235_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___16561: undefined, + p___16587: undefined, arg0: undefined, arg1: undefined, } } @@ -27444,7 +27444,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16573 = undefined; + s.p___16599 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27458,8 +27458,8 @@ switch (step) { s.callLocIdx = 1297; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___16573 = (r0); - s.tmp_0 = r0 = s.p___16573; + s.p___16599 = (r0); + s.tmp_0 = r0 = s.p___16599; s.tmp_2 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; @@ -27472,7 +27472,7 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16573; + s.tmp_0 = r0 = s.p___16599; s.tmp_4 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; @@ -27489,7 +27489,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___16573.fields["_x"]; + r0 = s.p___16599.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -27531,7 +27531,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___16573; + s.tmp_5 = r0 = s.p___16599; s.tmp_9 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; @@ -27544,14 +27544,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___16573.fields["_y"]; + r0 = s.p___16599.fields["_y"]; s.tmp_10 = r0; r0 = (s.tmp_7 << 8); s.tmp_11 = r0; r0 = (s.tmp_11 + s.tmp_10); s.tmp_6 = r0; r0 = (s.tmp_5).fields["_y"] = (s.tmp_6); - r0 = s.p___16573; + r0 = s.p___16599; return leave(s, r0) default: oops() } } } @@ -27574,7 +27574,7 @@ function particles_AreaFactory_createParticle__P3221_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___16573: undefined, + p___16599: undefined, arg0: undefined, arg1: undefined, } } @@ -27630,8 +27630,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16629 = undefined; - s.angle___16633 = undefined; + s.p___16655 = undefined; + s.angle___16659 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27645,7 +27645,7 @@ switch (step) { s.callLocIdx = 1286; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16629 = (r0); + s.p___16655 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; s.tmp_3 = Math_FastRandom_randomRange__P3081_mk(s); @@ -27660,9 +27660,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___16633 = (r0); - s.tmp_0 = r0 = s.p___16629; - r0 = pxsim_Array__getAt(globals.cachedSin___5355, s.angle___16633); + s.angle___16659 = (r0); + s.tmp_0 = r0 = s.p___16655; + r0 = pxsim_Array__getAt(globals.cachedSin___5355, s.angle___16659); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27671,8 +27671,8 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16629; - r0 = pxsim_Array__getAt(globals.cachedCos___5356, s.angle___16633); + s.tmp_0 = r0 = s.p___16655; + r0 = pxsim_Array__getAt(globals.cachedCos___5356, s.angle___16659); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27681,7 +27681,7 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___16629; + r0 = s.p___16655; return leave(s, r0) default: oops() } } } @@ -27697,8 +27697,8 @@ function particles_SprayFactory_createParticle__P3211_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - p___16629: undefined, - angle___16633: undefined, + p___16655: undefined, + angle___16659: undefined, arg0: undefined, arg1: undefined, } } @@ -27811,9 +27811,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___16665 = undefined; - s.left___16668 = undefined; - s.top___16678 = undefined; + s.current___16691 = undefined; + s.left___16694 = undefined; + s.top___16704 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27822,7 +27822,7 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___16665 = (r0); + s.current___16691 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27840,7 +27840,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___16668 = (s.tmp_4); + s.left___16694 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27858,11 +27858,11 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___16678 = (s.tmp_4); + s.top___16704 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___16665); + r0 = pxsim_numops_toBoolDecr(s.current___16691); if (!r0) { step = 8; continue; } - r0 = s.current___16665.fields["lifespan"]; + r0 = s.current___16691.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; @@ -27870,16 +27870,16 @@ switch (step) { if (!r0) { step = 6; continue; } s.tmp_2 = particles_ParticleSource_drawParticle__P5346_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___16665; - s.tmp_2.arg2 = s.left___16668; - s.tmp_2.arg3 = s.top___16678; + s.tmp_2.arg1 = s.current___16691; + s.tmp_2.arg2 = s.left___16694; + s.tmp_2.arg3 = s.top___16704; s.callLocIdx = 1221; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___16665.fields["next"]; - s.current___16665 = (r0); + r0 = s.current___16691.fields["next"]; + s.current___16691 = (r0); { step = 5; continue; } case 8: r0 = undefined; @@ -27898,9 +27898,9 @@ function particles_ParticleSource___draw__P3175_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - current___16665: undefined, - left___16668: undefined, - top___16678: undefined, + current___16691: undefined, + left___16694: undefined, + top___16704: undefined, arg0: undefined, arg1: undefined, } } @@ -28062,7 +28062,7 @@ switch (step) { s.tmp_10 = helpers_arrayFilter__P110_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P16741; + s.tmp_10.arg1 = length_inline__P16767; s.callLocIdx = 528; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -28109,7 +28109,7 @@ function sprites_SpriteMap_toString__P2455_mk(s) { -function length_inline__P16741(s) { +function length_inline__P16767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28133,12 +28133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P16741.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +length_inline__P16767.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} -function length_inline__P16741_mk(s) { +function length_inline__P16767_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P16741, depth: s.depth + 1, + parent: s, fn: length_inline__P16767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28160,9 +28160,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___16773 = undefined; - s.maxDist___16781 = undefined; - s.ms___16801 = undefined; + s.tm___16799 = undefined; + s.maxDist___16807 = undefined; + s.ms___16827 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28195,14 +28195,14 @@ switch (step) { case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___16773 = (r0); - s.tmp_0 = r0 = s.tm___16773; + s.tm___16799 = (r0); + s.tmp_0 = r0 = s.tm___16799; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___16773.fields["_map"]; + r0 = s.tm___16799.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -28221,7 +28221,7 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___16781 = (r0); + s.maxDist___16807 = (r0); s.tmp_2 = Math_abs__P128_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; @@ -28231,7 +28231,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___16781); + r0 = (s.tmp_1 <= s.maxDist___16807); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } @@ -28247,7 +28247,7 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___16781); + r0 = (s.tmp_4 <= s.maxDist___16807); case 4: // jmp value (already in r0) s.tmp_7 = r0; @@ -28269,18 +28269,18 @@ switch (step) { s.callLocIdx = 772; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___16801 = (s.tmp_8); + s.ms___16827 = (s.tmp_8); s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___16801; - s.tmp_0.arg2 = s.tm___16773; + s.tmp_0.arg1 = s.ms___16827; + s.tmp_0.arg2 = s.tm___16799; s.callLocIdx = 773; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: s.tmp_1 = tiles_TileMap_isOnWall__P2759_mk(s); - s.tmp_1.arg0 = s.tm___16773; + s.tmp_1.arg0 = s.tm___16799; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 774; s.pc = 18; return s.tmp_1; case 18: @@ -28294,7 +28294,7 @@ switch (step) { s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4862_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___16773; + s.tmp_4.arg2 = s.tm___16799; s.callLocIdx = 775; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -28346,9 +28346,9 @@ function ArcadePhysicsEngine_moveSprite__P2542_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___16773: undefined, - maxDist___16781: undefined, - ms___16801: undefined, + tm___16799: undefined, + maxDist___16807: undefined, + ms___16827: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28369,19 +28369,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___16846 = undefined; - s.sz___16849 = undefined; - s.maxMove___16854 = undefined; - s.origY___16856 = undefined; - s.origX___16859 = undefined; - s.l___16862 = undefined; - s.r___16867 = undefined; - s.t___16872 = undefined; - s.b___16877 = undefined; - s.offset___16882 = undefined; - s.offset___16907 = undefined; - s.offset___16938 = undefined; - s.offset___16963 = undefined; + s.hbox___16872 = undefined; + s.sz___16875 = undefined; + s.maxMove___16880 = undefined; + s.origY___16882 = undefined; + s.origX___16885 = undefined; + s.l___16888 = undefined; + s.r___16893 = undefined; + s.t___16898 = undefined; + s.b___16903 = undefined; + s.offset___16908 = undefined; + s.offset___16933 = undefined; + s.offset___16964 = undefined; + s.offset___16989 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28410,23 +28410,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___16846 = (r0); + s.hbox___16872 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___16849 = (r0); + s.sz___16875 = (r0); s.tmp_0 = ArcadePhysicsEngine_maxStep__P2534_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 778; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___16854 = (r0); + s.maxMove___16880 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___16856 = (r0); + s.origY___16882 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___16859 = (r0); + s.origX___16885 = (r0); s.tmp_1 = game_Hitbox_left__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___16846; + s.tmp_1.arg0 = s.hbox___16872; s.callLocIdx = 779; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -28434,9 +28434,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___16862 = (r0); + s.l___16888 = (r0); s.tmp_1 = game_Hitbox_right__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___16846; + s.tmp_1.arg0 = s.hbox___16872; s.callLocIdx = 781; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -28444,9 +28444,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___16867 = (r0); + s.r___16893 = (r0); s.tmp_1 = game_Hitbox_top__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___16846; + s.tmp_1.arg0 = s.hbox___16872; s.callLocIdx = 783; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -28454,9 +28454,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___16872 = (r0); + s.t___16898 = (r0); s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_1.arg0 = s.hbox___16846; + s.tmp_1.arg0 = s.hbox___16872; s.callLocIdx = 785; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -28464,19 +28464,19 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___16877 = (r0); - r0 = (s.b___16877 + 1); + s.b___16903 = (r0); + r0 = (s.b___16903 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16849); - s.offset___16882 = (r0); - r0 = (s.offset___16882 <= s.maxMove___16854); + r0 = (s.tmp_0 % s.sz___16875); + s.offset___16908 = (r0); + r0 = (s.offset___16908 <= s.maxMove___16880); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_y"]; s.tmp_3 = r0; - r0 = (s.offset___16882 * 256); + r0 = (s.offset___16908 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28500,28 +28500,28 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___16856); + r0 = (s.arg1).fields["_y"] = (s.origY___16882); case 4: case 5: case 6: - r0 = (s.t___16872 / s.sz___16849); + r0 = (s.t___16898 / s.sz___16875); s.tmp_3 = r0; r0 = pxsim.Math_.floor(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.sz___16849); + r0 = (s.tmp_1 * s.sz___16875); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___16872); - s.offset___16907 = (r0); - r0 = (s.offset___16907 <= s.maxMove___16854); + r0 = (s.tmp_0 - s.t___16898); + s.offset___16933 = (r0); + r0 = (s.offset___16933 <= s.maxMove___16880); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_y"]; s.tmp_3 = r0; - r0 = (s.offset___16907 * 256); + r0 = (s.offset___16933 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28545,22 +28545,22 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___16856); + r0 = (s.arg1).fields["_y"] = (s.origY___16882); case 8: case 9: case 10: - r0 = (s.r___16867 + 1); + r0 = (s.r___16893 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16849); - s.offset___16938 = (r0); - r0 = (s.offset___16938 <= s.maxMove___16854); + r0 = (s.tmp_0 % s.sz___16875); + s.offset___16964 = (r0); + r0 = (s.offset___16964 <= s.maxMove___16880); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_x"]; s.tmp_3 = r0; - r0 = (s.offset___16938 * 256); + r0 = (s.offset___16964 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28584,28 +28584,28 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___16859); + r0 = (s.arg1).fields["_x"] = (s.origX___16885); case 12: case 13: case 14: - r0 = (s.l___16862 / s.sz___16849); + r0 = (s.l___16888 / s.sz___16875); s.tmp_3 = r0; r0 = pxsim.Math_.floor(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.sz___16849); + r0 = (s.tmp_1 * s.sz___16875); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___16862); - s.offset___16963 = (r0); - r0 = (s.offset___16963 <= s.maxMove___16854); + r0 = (s.tmp_0 - s.l___16888); + s.offset___16989 = (r0); + r0 = (s.offset___16989 <= s.maxMove___16880); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_x"]; s.tmp_3 = r0; - r0 = (s.offset___16963 * 256); + r0 = (s.offset___16989 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28629,7 +28629,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___16859); + r0 = (s.arg1).fields["_x"] = (s.origX___16885); case 16: case 17: case 18: @@ -28651,19 +28651,19 @@ function ArcadePhysicsEngine_canResolveClipping__P4862_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___16846: undefined, - sz___16849: undefined, - maxMove___16854: undefined, - origY___16856: undefined, - origX___16859: undefined, - l___16862: undefined, - r___16867: undefined, - t___16872: undefined, - b___16877: undefined, - offset___16882: undefined, - offset___16907: undefined, - offset___16938: undefined, - offset___16963: undefined, + hbox___16872: undefined, + sz___16875: undefined, + maxMove___16880: undefined, + origY___16882: undefined, + origX___16885: undefined, + l___16888: undefined, + r___16893: undefined, + t___16898: undefined, + b___16903: undefined, + offset___16908: undefined, + offset___16933: undefined, + offset___16964: undefined, + offset___16989: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28902,37 +28902,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___17002 = undefined; - s.hbox___17027 = undefined; - s.tileScale___17030 = undefined; - s.tileSize___17033 = undefined; - s.xDiff___17037 = undefined; - s.yDiff___17044 = undefined; - s.right___17060 = undefined; - s.x0___17064 = undefined; - s.collidedTiles___17079 = undefined; - s.y___17081 = undefined; - s.y0___17095 = undefined; - s.obstacle___17111 = undefined; - s.collisionDirection___17138 = undefined; - s.tile___17164 = undefined; + s.s___17028 = undefined; + s.hbox___17053 = undefined; + s.tileScale___17056 = undefined; + s.tileSize___17059 = undefined; + s.xDiff___17063 = undefined; + s.yDiff___17070 = undefined; + s.right___17086 = undefined; + s.x0___17090 = undefined; + s.collidedTiles___17105 = undefined; + s.y___17107 = undefined; + s.y0___17121 = undefined; + s.obstacle___17137 = undefined; + s.collisionDirection___17164 = undefined; + s.tile___17190 = undefined; s.unnamed92___U14 = undefined; s.unnamed93___U15 = undefined; - s.down___17255 = undefined; - s.y0___17259 = undefined; - s.collidedTiles___17274 = undefined; - s.x___17276 = undefined; - s.x0___17286 = undefined; - s.obstacle___17300 = undefined; - s.collisionDirection___17327 = undefined; - s.tile___17353 = undefined; + s.down___17281 = undefined; + s.y0___17285 = undefined; + s.collidedTiles___17300 = undefined; + s.x___17302 = undefined; + s.x0___17312 = undefined; + s.obstacle___17326 = undefined; + s.collisionDirection___17353 = undefined; + s.tile___17379 = undefined; s.unnamed94___U24 = undefined; s.unnamed95___U25 = undefined; - s.overlappedTiles___17447 = undefined; - s.x___17449 = undefined; - s.x0___17459 = undefined; - s.y___17469 = undefined; - s.y0___17479 = undefined; + s.overlappedTiles___17473 = undefined; + s.x___17475 = undefined; + s.x0___17485 = undefined; + s.y___17495 = undefined; + s.y0___17505 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28942,8 +28942,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___17002 = (r0); - r0 = s.s___17002.fields["flags"]; + s.s___17028 = (r0); + r0 = s.s___17028.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 256); s.tmp_0 = r0; @@ -28951,7 +28951,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_5 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___17002; + s.tmp_5.arg1 = s.s___17028; s.callLocIdx = 661; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; @@ -28962,7 +28962,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_6 = r0 = s.s___17002; + s.tmp_6 = r0 = s.s___17028; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -28972,7 +28972,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___17002.fields["_image"]; + r0 = s.s___17028.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -28983,7 +28983,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_4 = Sprite__C2342_v4_1_mk(s); - s.tmp_4.arg0 = s.s___17002; + s.tmp_4.arg0 = s.s___17028; if (!checkSubtype(s.tmp_4.arg0, Sprite__C2342_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 98; return s.tmp_4; @@ -28991,25 +28991,25 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = s.s___17002.fields["_hitbox"]; - s.hbox___17027 = (r0); + r0 = s.s___17028.fields["_hitbox"]; + s.hbox___17053 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___17030 = (r0); - r0 = (1 << s.tileScale___17030); - s.tileSize___17033 = (r0); - r0 = s.s___17002.fields["_x"]; + s.tileScale___17056 = (r0); + r0 = (1 << s.tileScale___17056); + s.tileSize___17059 = (r0); + r0 = s.s___17028.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___17002.fields["_lastX"]; + r0 = s.s___17028.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___17037 = (r0); - r0 = s.s___17002.fields["_y"]; + s.xDiff___17063 = (r0); + r0 = s.s___17028.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___17002.fields["_lastY"]; + r0 = s.s___17028.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___17044 = (r0); - r0 = s.s___17002.fields["flags"]; + s.yDiff___17070 = (r0); + r0 = s.s___17028.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -29019,16 +29019,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___17037 !== 0); + r0 = (s.xDiff___17063 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___17037 > 0); - s.right___17060 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___17060); + r0 = (s.xDiff___17063 > 0); + s.right___17086 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___17086); if (!r0) { step = 7; continue; } s.tmp_1 = game_Hitbox_right__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___17027; + s.tmp_1.arg0 = s.hbox___17053; s.callLocIdx = 666; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; @@ -29037,7 +29037,7 @@ switch (step) { { step = 8; continue; } case 7: s.tmp_3 = game_Hitbox_left__P2217_mk(s); - s.tmp_3.arg0 = s.hbox___17027; + s.tmp_3.arg0 = s.hbox___17053; s.callLocIdx = 668; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; @@ -29048,30 +29048,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___17030 + 8); + r0 = (s.tileScale___17056 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___17064 = (r0); + s.x0___17090 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17079 = (r0); + s.collidedTiles___17105 = (r0); s.tmp_1 = game_Hitbox_top__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___17027; + s.tmp_1.arg0 = s.hbox___17053; s.callLocIdx = 672; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___17044); - s.y___17081 = (r0); + r0 = (s.tmp_0 - s.yDiff___17070); + s.y___17107 = (r0); case 9: - s.tmp_1 = r0 = s.y___17081; - s.tmp_3 = r0 = s.tileSize___17033; + s.tmp_1 = r0 = s.y___17107; + s.tmp_3 = r0 = s.tileSize___17059; s.tmp_6 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_6.arg0 = s.hbox___17027; + s.tmp_6.arg0 = s.hbox___17053; s.callLocIdx = 674; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___17044); + r0 = (s.tmp_5 - s.yDiff___17070); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -29082,14 +29082,14 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } s.tmp_10 = Fx_min__P166_mk(s); - s.tmp_10.arg0 = s.y___17081; + s.tmp_10.arg0 = s.y___17107; s.tmp_12 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_12.arg0 = s.hbox___17027; + s.tmp_12.arg0 = s.hbox___17053; s.callLocIdx = 677; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___17044); + r0 = (s.tmp_11 - s.yDiff___17070); s.tmp_10.arg1 = r0; s.callLocIdx = 679; s.pc = 103; return s.tmp_10; case 103: @@ -29097,14 +29097,14 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___17030 + 8); + r0 = (s.tileScale___17056 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___17095 = (r0); + s.y0___17121 = (r0); s.tmp_1 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17064; - s.tmp_1.arg2 = s.y0___17095; + s.tmp_1.arg1 = s.x0___17090; + s.tmp_1.arg2 = s.y0___17121; s.callLocIdx = 682; s.pc = 105; return s.tmp_1; case 105: r0 = s.retval; @@ -29113,17 +29113,17 @@ switch (step) { if (!r0) { step = 12; continue; } s.tmp_2 = tiles_TileMap_getObstacle__P2758_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___17064; - s.tmp_2.arg2 = s.y0___17095; + s.tmp_2.arg1 = s.x0___17090; + s.tmp_2.arg2 = s.y0___17121; s.callLocIdx = 683; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___17111 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17119); + s.obstacle___17137 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17145); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17111); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17137); s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17079; + s.tmp_4.arg0 = s.collidedTiles___17105; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 684; s.pc = 107; return s.tmp_4; case 107: @@ -29135,22 +29135,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.collidedTiles___17079, s.obstacle___17111); + r0 = pxsim_Array__push(s.collidedTiles___17105, s.obstacle___17137); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___17033 << 8); + r0 = (s.tileSize___17059 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17081); - s.y___17081 = (r0); + r0 = (s.tmp_0 + s.y___17107); + s.y___17107 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___17079); + r0 = pxsim_Array__length(s.collidedTiles___17105); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___17060); + r0 = pxsim_numops_toBoolDecr(s.right___17086); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -29159,23 +29159,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___17138 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___17060); + s.collisionDirection___17164 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___17086); if (!r0) { step = 17; continue; } - r0 = (s.x0___17064 << s.tileScale___17030); + r0 = (s.x0___17090 << s.tileScale___17056); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0 = r0; - r0 = s.hbox___17027.fields["width"]; + r0 = s.hbox___17053.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___17064 + 1); + r0 = (s.x0___17090 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___17030); + r0 = (s.tmp_5 << s.tileScale___17056); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29183,14 +29183,14 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___17002; - r0 = s.hbox___17027.fields["ox"]; + s.tmp_8 = r0 = s.s___17028; + r0 = s.hbox___17053.fields["ox"]; s.tmp_10 = r0; r0 = (s.tmp_7 - s.tmp_10); s.tmp_9 = r0; r0 = (s.tmp_8).fields["_x"] = (s.tmp_9); - s.tile___17164 = (undefined); - s.unnamed92___U14 = (s.collidedTiles___17079); + s.tile___17190 = (undefined); + s.unnamed92___U14 = (s.collidedTiles___17105); s.unnamed93___U15 = (0); case 19: s.tmp_0 = r0 = s.unnamed93___U15; @@ -29199,8 +29199,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } r0 = pxsim_Array__getAt(s.unnamed92___U14, s.unnamed93___U15); - s.tile___17164 = (r0); - r0 = s.s___17002.fields["flags"]; + s.tile___17190 = (r0); + r0 = s.s___17028.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29211,9 +29211,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } s.tmp_6 = Sprite_registerObstacle__P2427_mk(s); - s.tmp_6.arg0 = s.s___17002; - s.tmp_6.arg1 = s.collisionDirection___17138; - s.tmp_6.arg2 = s.tile___17164; + s.tmp_6.arg0 = s.s___17028; + s.tmp_6.arg1 = s.collisionDirection___17164; + s.tmp_6.arg2 = s.tile___17190; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 690; s.pc = 108; return s.tmp_6; case 108: @@ -29225,14 +29225,14 @@ switch (step) { { step = 19; continue; } case 22: s.unnamed92___U14 = (undefined); - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } s.tmp_2 = Sprite_destroy__P2429_mk(s); - s.tmp_2.arg0 = s.s___17002; + s.tmp_2.arg0 = s.s___17028; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 691; s.pc = 109; return s.tmp_2; @@ -29240,7 +29240,7 @@ switch (step) { r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___17002.fields["_vx"]; + r0 = s.s___17028.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -29251,7 +29251,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29263,13 +29263,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 34; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___17060); + r0 = pxsim_numops_toBoolDecr(s.right___17086); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29279,7 +29279,7 @@ switch (step) { { step = 27; continue; } case 26: s.tmp_12 = Sprite_vx__P2359_mk(s); - s.tmp_12.arg0 = s.s___17002; + s.tmp_12.arg0 = s.s___17028; s.callLocIdx = 692; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; @@ -29293,14 +29293,14 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___17060; + s.tmp_14 = r0 = s.right___17086; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 29; continue; } r0 = s.tmp_14; { step = 30; continue; } case 29: s.tmp_16 = Sprite_vx__P2359_mk(s); - s.tmp_16.arg0 = s.s___17002; + s.tmp_16.arg0 = s.s___17028; s.callLocIdx = 693; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; @@ -29315,8 +29315,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 32; continue; } - s.tmp_19 = r0 = s.s___17002; - r0 = s.s___17002.fields["_vx"]; + s.tmp_19 = r0 = s.s___17028; + r0 = s.s___17028.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29338,12 +29338,12 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___17002).fields["_vx"] = (0); + r0 = (s.s___17028).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___17002.fields["_vx"]; + r0 = s.s___17028.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29377,16 +29377,16 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___17044 !== 0); + r0 = (s.yDiff___17070 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___17044 > 0); - s.down___17255 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___17255); + r0 = (s.yDiff___17070 > 0); + s.down___17281 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___17281); if (!r0) { step = 45; continue; } s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_1.arg0 = s.hbox___17027; + s.tmp_1.arg0 = s.hbox___17053; s.callLocIdx = 701; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; @@ -29395,7 +29395,7 @@ switch (step) { { step = 46; continue; } case 45: s.tmp_3 = game_Hitbox_top__P2218_mk(s); - s.tmp_3.arg0 = s.hbox___17027; + s.tmp_3.arg0 = s.hbox___17053; s.callLocIdx = 703; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; @@ -29406,23 +29406,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___17030 + 8); + r0 = (s.tileScale___17056 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___17259 = (r0); + s.y0___17285 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17274 = (r0); + s.collidedTiles___17300 = (r0); s.tmp_0 = game_Hitbox_left__P2217_mk(s); - s.tmp_0.arg0 = s.hbox___17027; + s.tmp_0.arg0 = s.hbox___17053; s.callLocIdx = 707; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___17276 = (r0); + s.x___17302 = (r0); case 47: - s.tmp_1 = r0 = s.x___17276; - s.tmp_3 = r0 = s.tileSize___17033; + s.tmp_1 = r0 = s.x___17302; + s.tmp_3 = r0 = s.tileSize___17059; s.tmp_5 = game_Hitbox_right__P2219_mk(s); - s.tmp_5.arg0 = s.hbox___17027; + s.tmp_5.arg0 = s.hbox___17053; s.callLocIdx = 708; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; @@ -29436,9 +29436,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___17276; + s.tmp_9.arg0 = s.x___17302; s.tmp_10 = game_Hitbox_right__P2219_mk(s); - s.tmp_10.arg0 = s.hbox___17027; + s.tmp_10.arg0 = s.hbox___17053; s.callLocIdx = 710; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; @@ -29449,14 +29449,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17030 + 8); + r0 = (s.tileScale___17056 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17286 = (r0); + s.x0___17312 = (r0); s.tmp_1 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17286; - s.tmp_1.arg2 = s.y0___17259; + s.tmp_1.arg1 = s.x0___17312; + s.tmp_1.arg2 = s.y0___17285; s.callLocIdx = 714; s.pc = 120; return s.tmp_1; case 120: r0 = s.retval; @@ -29465,17 +29465,17 @@ switch (step) { if (!r0) { step = 50; continue; } s.tmp_2 = tiles_TileMap_getObstacle__P2758_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___17286; - s.tmp_2.arg2 = s.y0___17259; + s.tmp_2.arg1 = s.x0___17312; + s.tmp_2.arg2 = s.y0___17285; s.callLocIdx = 715; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___17300 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17308); + s.obstacle___17326 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17334); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17300); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17326); s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17274; + s.tmp_4.arg0 = s.collidedTiles___17300; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 716; s.pc = 122; return s.tmp_4; case 122: @@ -29487,22 +29487,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 48; continue; } - r0 = pxsim_Array__push(s.collidedTiles___17274, s.obstacle___17300); + r0 = pxsim_Array__push(s.collidedTiles___17300, s.obstacle___17326); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___17033 << 8); + r0 = (s.tileSize___17059 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17276); - s.x___17276 = (r0); + r0 = (s.tmp_0 + s.x___17302); + s.x___17302 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___17274); + r0 = pxsim_Array__length(s.collidedTiles___17300); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___17255); + r0 = pxsim_numops_toBoolDecr(s.down___17281); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -29511,23 +29511,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___17327 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___17255); + s.collisionDirection___17353 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___17281); if (!r0) { step = 55; continue; } - r0 = (s.y0___17259 << s.tileScale___17030); + r0 = (s.y0___17285 << s.tileScale___17056); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0 = r0; - r0 = s.hbox___17027.fields["height"]; + r0 = s.hbox___17053.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___17259 + 1); + r0 = (s.y0___17285 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___17030); + r0 = (s.tmp_5 << s.tileScale___17056); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29535,14 +29535,14 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___17002; - r0 = s.hbox___17027.fields["oy"]; + s.tmp_8 = r0 = s.s___17028; + r0 = s.hbox___17053.fields["oy"]; s.tmp_10 = r0; r0 = (s.tmp_7 - s.tmp_10); s.tmp_9 = r0; r0 = (s.tmp_8).fields["_y"] = (s.tmp_9); - s.tile___17353 = (undefined); - s.unnamed94___U24 = (s.collidedTiles___17274); + s.tile___17379 = (undefined); + s.unnamed94___U24 = (s.collidedTiles___17300); s.unnamed95___U25 = (0); case 57: s.tmp_0 = r0 = s.unnamed95___U25; @@ -29551,8 +29551,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } r0 = pxsim_Array__getAt(s.unnamed94___U24, s.unnamed95___U25); - s.tile___17353 = (r0); - r0 = s.s___17002.fields["flags"]; + s.tile___17379 = (r0); + r0 = s.s___17028.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29563,9 +29563,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } s.tmp_6 = Sprite_registerObstacle__P2427_mk(s); - s.tmp_6.arg0 = s.s___17002; - s.tmp_6.arg1 = s.collisionDirection___17327; - s.tmp_6.arg2 = s.tile___17353; + s.tmp_6.arg0 = s.s___17028; + s.tmp_6.arg1 = s.collisionDirection___17353; + s.tmp_6.arg2 = s.tile___17379; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 722; s.pc = 123; return s.tmp_6; case 123: @@ -29577,14 +29577,14 @@ switch (step) { { step = 57; continue; } case 60: s.unnamed94___U24 = (undefined); - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 61; continue; } s.tmp_2 = Sprite_destroy__P2429_mk(s); - s.tmp_2.arg0 = s.s___17002; + s.tmp_2.arg0 = s.s___17028; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 723; s.pc = 124; return s.tmp_2; @@ -29592,7 +29592,7 @@ switch (step) { r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___17002.fields["_vy"]; + r0 = s.s___17028.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -29603,7 +29603,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29615,13 +29615,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 72; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___17255); + r0 = pxsim_numops_toBoolDecr(s.down___17281); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29631,7 +29631,7 @@ switch (step) { { step = 65; continue; } case 64: s.tmp_12 = Sprite_vy__P2361_mk(s); - s.tmp_12.arg0 = s.s___17002; + s.tmp_12.arg0 = s.s___17028; s.callLocIdx = 724; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; @@ -29645,14 +29645,14 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___17255; + s.tmp_14 = r0 = s.down___17281; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 67; continue; } r0 = s.tmp_14; { step = 68; continue; } case 67: s.tmp_16 = Sprite_vy__P2361_mk(s); - s.tmp_16.arg0 = s.s___17002; + s.tmp_16.arg0 = s.s___17028; s.callLocIdx = 725; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; @@ -29667,8 +29667,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 70; continue; } - s.tmp_19 = r0 = s.s___17002; - r0 = s.s___17002.fields["_vy"]; + s.tmp_19 = r0 = s.s___17028; + r0 = s.s___17028.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29690,12 +29690,12 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___17002).fields["_vy"] = (0); + r0 = (s.s___17028).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___17002.fields["_vy"]; + r0 = s.s___17028.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29731,7 +29731,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -29742,18 +29742,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___17447 = (r0); + s.overlappedTiles___17473 = (r0); s.tmp_0 = game_Hitbox_left__P2217_mk(s); - s.tmp_0.arg0 = s.hbox___17027; + s.tmp_0.arg0 = s.hbox___17053; s.callLocIdx = 733; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___17449 = (r0); + s.x___17475 = (r0); case 85: - s.tmp_1 = r0 = s.x___17449; - s.tmp_3 = r0 = s.tileSize___17033; + s.tmp_1 = r0 = s.x___17475; + s.tmp_3 = r0 = s.tileSize___17059; s.tmp_5 = game_Hitbox_right__P2219_mk(s); - s.tmp_5.arg0 = s.hbox___17027; + s.tmp_5.arg0 = s.hbox___17053; s.callLocIdx = 734; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -29767,9 +29767,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 92; continue; } s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___17449; + s.tmp_9.arg0 = s.x___17475; s.tmp_10 = game_Hitbox_right__P2219_mk(s); - s.tmp_10.arg0 = s.hbox___17027; + s.tmp_10.arg0 = s.hbox___17053; s.callLocIdx = 736; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -29780,21 +29780,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17030 + 8); + r0 = (s.tileScale___17056 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17459 = (r0); + s.x0___17485 = (r0); s.tmp_0 = game_Hitbox_top__P2218_mk(s); - s.tmp_0.arg0 = s.hbox___17027; + s.tmp_0.arg0 = s.hbox___17053; s.callLocIdx = 740; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___17469 = (r0); + s.y___17495 = (r0); case 86: - s.tmp_1 = r0 = s.y___17469; - s.tmp_3 = r0 = s.tileSize___17033; + s.tmp_1 = r0 = s.y___17495; + s.tmp_3 = r0 = s.tileSize___17059; s.tmp_5 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_5.arg0 = s.hbox___17027; + s.tmp_5.arg0 = s.hbox___17053; s.callLocIdx = 741; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; @@ -29808,9 +29808,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.y___17469; + s.tmp_9.arg0 = s.y___17495; s.tmp_10 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_10.arg0 = s.hbox___17027; + s.tmp_10.arg0 = s.hbox___17053; s.callLocIdx = 743; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; @@ -29821,14 +29821,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17030 + 8); + r0 = (s.tileScale___17056 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___17479 = (r0); + s.y0___17505 = (r0); s.tmp_3 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___17459; - s.tmp_3.arg2 = s.y0___17479; + s.tmp_3.arg1 = s.x0___17485; + s.tmp_3.arg2 = s.y0___17505; s.callLocIdx = 747; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; @@ -29842,7 +29842,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___17002.fields["flags"]; + r0 = s.s___17028.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -29858,11 +29858,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___17447; + s.tmp_10 = r0 = s.overlappedTiles___17473; s.tmp_12 = tiles_TileMap_getTile__P2750_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___17459; - s.tmp_12.arg2 = s.y0___17479; + s.tmp_12.arg1 = s.x0___17485; + s.tmp_12.arg2 = s.y0___17505; s.callLocIdx = 748; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; @@ -29870,26 +29870,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___17033 << 8); + r0 = (s.tileSize___17059 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17469); - s.y___17469 = (r0); + r0 = (s.tmp_0 + s.y___17495); + s.y___17495 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___17033 << 8); + r0 = (s.tileSize___17059 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17449); - s.x___17449 = (r0); + r0 = (s.tmp_0 + s.x___17475); + s.x___17475 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___17447); + r0 = pxsim_Array__length(s.overlappedTiles___17473); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4861_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___17002; - s.tmp_1.arg2 = s.overlappedTiles___17447; + s.tmp_1.arg1 = s.s___17028; + s.tmp_1.arg2 = s.overlappedTiles___17473; s.callLocIdx = 751; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; @@ -29930,37 +29930,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___17002: undefined, - hbox___17027: undefined, - tileScale___17030: undefined, - tileSize___17033: undefined, - xDiff___17037: undefined, - yDiff___17044: undefined, - right___17060: undefined, - x0___17064: undefined, - collidedTiles___17079: undefined, - y___17081: undefined, - y0___17095: undefined, - obstacle___17111: undefined, - collisionDirection___17138: undefined, - tile___17164: undefined, + s___17028: undefined, + hbox___17053: undefined, + tileScale___17056: undefined, + tileSize___17059: undefined, + xDiff___17063: undefined, + yDiff___17070: undefined, + right___17086: undefined, + x0___17090: undefined, + collidedTiles___17105: undefined, + y___17107: undefined, + y0___17121: undefined, + obstacle___17137: undefined, + collisionDirection___17164: undefined, + tile___17190: undefined, unnamed92___U14: undefined, unnamed93___U15: undefined, - down___17255: undefined, - y0___17259: undefined, - collidedTiles___17274: undefined, - x___17276: undefined, - x0___17286: undefined, - obstacle___17300: undefined, - collisionDirection___17327: undefined, - tile___17353: undefined, + down___17281: undefined, + y0___17285: undefined, + collidedTiles___17300: undefined, + x___17302: undefined, + x0___17312: undefined, + obstacle___17326: undefined, + collisionDirection___17353: undefined, + tile___17379: undefined, unnamed94___U24: undefined, unnamed95___U25: undefined, - overlappedTiles___17447: undefined, - x___17449: undefined, - x0___17459: undefined, - y___17469: undefined, - y0___17479: undefined, + overlappedTiles___17473: undefined, + x___17475: undefined, + x0___17485: undefined, + y___17495: undefined, + y0___17505: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29970,7 +29970,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17119(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29992,12 +29992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P17119.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P17145.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P17119_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17145_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17119, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30008,7 +30008,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P17119_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17308(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30030,12 +30030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P17308.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P17334.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P17308_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17334_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17308, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30056,11 +30056,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___17526 = undefined; - s.tile___17529 = undefined; + s.alreadyHandled___17552 = undefined; + s.tile___17555 = undefined; s.unnamed96___U2 = undefined; s.unnamed97___U3 = undefined; - s.tileOverlapHandlers___17550 = undefined; + s.tileOverlapHandlers___17576 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30070,8 +30070,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___17526 = (r0); - s.tile___17529 = (undefined); + s.alreadyHandled___17552 = (r0); + s.tile___17555 = (undefined); s.unnamed96___U2 = (s.arg2); s.unnamed97___U3 = (0); case 1: @@ -30081,12 +30081,12 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } r0 = pxsim_Array__getAt(s.unnamed96___U2, s.unnamed97___U3); - s.tile___17529 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P17533); + s.tile___17555 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P17559); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___17529); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___17555); s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___17526; + s.tmp_4.arg0 = s.alreadyHandled___17552; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 756; s.pc = 8; return s.tmp_4; case 8: @@ -30097,26 +30097,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___17526, s.tile___17529); + r0 = pxsim_Array__push(s.alreadyHandled___17552, s.tile___17555); s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 757; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___17550 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___17550); + s.tileOverlapHandlers___17576 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___17576); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P17558); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P17584); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___17529); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P17574); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___17555); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P17600); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___17529); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___17555); s.tmp_2 = helpers_arrayForEach__P109_mk(s); s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___17550; + s.tmp_3.arg0 = s.tileOverlapHandlers___17576; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 760; s.pc = 11; return s.tmp_3; case 11: @@ -30150,11 +30150,11 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4861_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - alreadyHandled___17526: undefined, - tile___17529: undefined, + alreadyHandled___17552: undefined, + tile___17555: undefined, unnamed96___U2: undefined, unnamed97___U3: undefined, - tileOverlapHandlers___17550: undefined, + tileOverlapHandlers___17576: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30164,7 +30164,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4861_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17533(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30201,12 +30201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P17533.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P17559.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17533_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17559_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17533, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30221,7 +30221,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P17533_mk(s) { -function forEach_inline__P17558(s) { +function forEach_inline__P17584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30262,12 +30262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P17558.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P17584.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P17558_mk(s) { +function forEach_inline__P17584_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17558, depth: s.depth + 1, + parent: s, fn: forEach_inline__P17584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30283,7 +30283,7 @@ function forEach_inline__P17558_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17574(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30316,12 +30316,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P17574.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P17600.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17574_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17600_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17574, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30341,7 +30341,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17582 = undefined; + s.scene___17608 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -30350,7 +30350,7 @@ switch (step) { s.callLocIdx = 931; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___17582 = (r0); + s.scene___17608 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -30360,7 +30360,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___17582.fields["tileMap"]; + r0 = s.scene___17608.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -30370,12 +30370,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex17592); + r0 = pxsim.image.ofBuffer(_hex17618); { step = 5; continue; } case 3: case 4: s.tmp_5 = tiles_TileMap_getTileImage__P2760_mk(s); - r0 = s.scene___17582.fields["tileMap"]; + r0 = s.scene___17608.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_6 = tiles_Location_tileSet__P2705_mk(s); s.tmp_6.arg0 = s.arg0; @@ -30404,11 +30404,11 @@ function tiles_getTileImage__P2769_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___17582: undefined, + scene___17608: undefined, arg0: undefined, } } -const _hex17592 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex17618 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") @@ -30466,9 +30466,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___8885 = undefined; - s.cachedImage___8889 = undefined; - s.originalImage___8896 = undefined; + s.size___8911 = undefined; + s.cachedImage___8915 = undefined; + s.originalImage___8922 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30479,12 +30479,12 @@ switch (step) { r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___8885 = (r0); + s.size___8911 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___8889 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___8889); + s.cachedImage___8915 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___8915); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30493,41 +30493,41 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___8896 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___8896); + s.originalImage___8922 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___8922); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___8896); + r0 = pxsim_ImageMethods.width(s.originalImage___8922); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___8885); + r0 = (s.tmp_1 <= s.size___8911); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_ImageMethods.height(s.originalImage___8896); + r0 = pxsim_ImageMethods.height(s.originalImage___8922); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___8885); + r0 = (s.tmp_2 <= s.size___8911); case 2: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.cachedImage___8889 = (s.originalImage___8896); + s.cachedImage___8915 = (s.originalImage___8922); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___8885, s.size___8885); - s.cachedImage___8889 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___8889, s.originalImage___8896, 0, 0); + r0 = pxsim.image.create(s.size___8911, s.size___8911); + s.cachedImage___8915 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___8915, s.originalImage___8922, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___8889); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___8915); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___8889; + r0 = s.cachedImage___8915; return leave(s, r0) default: oops() } } } @@ -30542,9 +30542,9 @@ function tiles_TileMapData_getTileImage__P2727_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - size___8885: undefined, - cachedImage___8889: undefined, - originalImage___8896: undefined, + size___8911: undefined, + cachedImage___8915: undefined, + originalImage___8922: undefined, arg0: undefined, arg1: undefined, } } @@ -30961,8 +30961,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___17708 = undefined; - s.tile___17720 = undefined; + s.index___17734 = undefined; + s.tile___17746 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30996,20 +30996,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___17708 = (s.tmp_3); + s.index___17734 = (s.tmp_3); s.tmp_0 = tiles_TileMapData_getTileImage__P2727_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___17708; + s.tmp_0.arg1 = s.index___17734; s.callLocIdx = 898; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___17720 = (r0); + s.tile___17746 = (r0); r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2499_VT); s.tmp_0 = r0; s.tmp_1 = sprites_StaticObstacle_constructor__P2505_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___17720; + s.tmp_1.arg1 = s.tile___17746; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -31022,7 +31022,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___17708; + s.tmp_1.arg5 = s.index___17734; s.callLocIdx = 902; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -31043,8 +31043,8 @@ function tiles_TileMap_getObstacle__P2758_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___17708: undefined, - tile___17720: undefined, + index___17734: undefined, + tile___17746: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31376,10 +31376,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___17621 = undefined; - s.wallCollisionHandlers___17628 = undefined; - s.wallHandlersToRun___17653 = undefined; - s.asTileLocation___17666 = undefined; + s.collisionHandlers___17647 = undefined; + s.wallCollisionHandlers___17654 = undefined; + s.wallHandlersToRun___17679 = undefined; + s.asTileLocation___17692 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31412,24 +31412,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___17621 = (r0); + s.collisionHandlers___17647 = (r0); s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 430; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___17628 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___17621); + s.wallCollisionHandlers___17654 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___17647); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P17636); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P17662); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P17642); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P17668); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P109_mk(s); s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___17621; + s.tmp_3.arg0 = s.collisionHandlers___17647; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 432; s.pc = 13; return s.tmp_3; case 13: @@ -31441,7 +31441,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___17628); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___17654); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -31458,17 +31458,17 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P17655); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P17681); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___17628; + s.tmp_1.arg0 = s.wallCollisionHandlers___17654; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 437; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___17653 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___17653); + s.wallHandlersToRun___17679 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___17679); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -31511,13 +31511,13 @@ switch (step) { s.callLocIdx = 442; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___17666 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P17682); + s.asTileLocation___17692 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P17708); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___17666); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___17692); s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___17653; + s.tmp_1.arg0 = s.wallHandlersToRun___17679; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 444; s.pc = 19; return s.tmp_1; case 19: @@ -31545,10 +31545,10 @@ function Sprite_registerObstacle__P2427_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___17621: undefined, - wallCollisionHandlers___17628: undefined, - wallHandlersToRun___17653: undefined, - asTileLocation___17666: undefined, + collisionHandlers___17647: undefined, + wallCollisionHandlers___17654: undefined, + wallHandlersToRun___17679: undefined, + asTileLocation___17692: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31559,7 +31559,7 @@ function Sprite_registerObstacle__P2427_mk(s) { -function forEach_inline__P17636(s) { +function forEach_inline__P17662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31581,12 +31581,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P17636.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P17662.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P17636_mk(s) { +function forEach_inline__P17662_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17636, depth: s.depth + 1, + parent: s, fn: forEach_inline__P17662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31597,7 +31597,7 @@ function forEach_inline__P17636_mk(s) { -function Sprite_registerObstacle_inline__P17642(s) { +function Sprite_registerObstacle_inline__P17668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31629,12 +31629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P17642.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P17668.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P17642_mk(s) { +function Sprite_registerObstacle_inline__P17668_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17642, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P17668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31644,7 +31644,7 @@ function Sprite_registerObstacle_inline__P17642_mk(s) { -function wallHandlersToRun_inline__P17655(s) { +function wallHandlersToRun_inline__P17681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31666,12 +31666,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P17655.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P17681.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P17655_mk(s) { +function wallHandlersToRun_inline__P17681_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P17655, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P17681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31682,7 +31682,7 @@ function wallHandlersToRun_inline__P17655_mk(s) { -function Sprite_registerObstacle_inline__P17682(s) { +function Sprite_registerObstacle_inline__P17708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31715,12 +31715,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P17682.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P17708.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P17682_mk(s) { +function Sprite_registerObstacle_inline__P17708_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17682, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P17708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31791,26 +31791,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___17690 = undefined; - s.i___17693 = undefined; + s.len___17716 = undefined; + s.i___17719 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___17690 = (r0); - s.i___17693 = (0); + s.len___17716 = (r0); + s.i___17719 = (0); case 1: - r0 = (s.i___17693 < s.len___17690); + r0 = (s.i___17719 < s.len___17716); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_2 = lambda_3_mk(s); s.tmp_2.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___17693); + r0 = pxsim_Array__getAt(s.arg0, s.i___17719); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___17693; + s.tmp_2.arg1 = s.i___17719; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -31822,8 +31822,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___17693 + 1); - s.i___17693 = (r0); + r0 = (s.i___17719 + 1); + s.i___17719 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -31841,8 +31841,8 @@ function helpers_arraySome__P107_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___17690: undefined, - i___17693: undefined, + len___17716: undefined, + i___17719: undefined, arg0: undefined, arg1: undefined, } } @@ -31861,13 +31861,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___9389 = undefined; - s.left___9392 = undefined; - s.right___9398 = undefined; - s.top___9404 = undefined; - s.bottom___9410 = undefined; - s.col___9416 = undefined; - s.row___9422 = undefined; + s.hbox___9415 = undefined; + s.left___9418 = undefined; + s.right___9424 = undefined; + s.top___9430 = undefined; + s.bottom___9436 = undefined; + s.col___9442 = undefined; + s.row___9448 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31876,9 +31876,9 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___9389 = (r0); + s.hbox___9415 = (r0); s.tmp_1 = game_Hitbox_left__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___9389; + s.tmp_1.arg0 = s.hbox___9415; s.callLocIdx = 903; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -31888,9 +31888,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___9392 = (r0); + s.left___9418 = (r0); s.tmp_1 = game_Hitbox_right__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___9389; + s.tmp_1.arg0 = s.hbox___9415; s.callLocIdx = 906; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31900,9 +31900,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___9398 = (r0); + s.right___9424 = (r0); s.tmp_1 = game_Hitbox_top__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___9389; + s.tmp_1.arg0 = s.hbox___9415; s.callLocIdx = 909; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -31912,9 +31912,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___9404 = (r0); + s.top___9430 = (r0); s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_1.arg0 = s.hbox___9389; + s.tmp_1.arg0 = s.hbox___9415; s.callLocIdx = 912; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -31924,23 +31924,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___9410 = (r0); - s.col___9416 = (s.left___9392); + s.bottom___9436 = (r0); + s.col___9442 = (s.left___9418); case 1: - r0 = (s.col___9416 <= s.right___9398); + r0 = (s.col___9442 <= s.right___9424); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___9422 = (s.top___9404); + s.row___9448 = (s.top___9430); case 2: - r0 = (s.row___9422 <= s.bottom___9410); + r0 = (s.row___9448 <= s.bottom___9436); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_2 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___9416; - s.tmp_2.arg2 = s.row___9422; + s.tmp_2.arg1 = s.col___9442; + s.tmp_2.arg2 = s.row___9448; s.callLocIdx = 915; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -31951,12 +31951,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___9422 + 1); - s.row___9422 = (r0); + r0 = (s.row___9448 + 1); + s.row___9448 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___9416 + 1); - s.col___9416 = (r0); + r0 = (s.col___9442 + 1); + s.col___9442 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -31975,13 +31975,13 @@ function tiles_TileMap_isOnWall__P2759_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - hbox___9389: undefined, - left___9392: undefined, - right___9398: undefined, - top___9404: undefined, - bottom___9410: undefined, - col___9416: undefined, - row___9422: undefined, + hbox___9415: undefined, + left___9418: undefined, + right___9424: undefined, + top___9430: undefined, + bottom___9436: undefined, + col___9442: undefined, + row___9448: undefined, arg0: undefined, arg1: undefined, } } @@ -32055,25 +32055,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___17765 = undefined; - s.dt2___17771 = undefined; - s.scene___17775 = undefined; - s.tileMap___17778 = undefined; - s.movingSprites___17781 = undefined; - s.MAX_STEP_COUNT___17812 = undefined; - s.overlapHandlers___17824 = undefined; - s.selected___17831 = undefined; - s.buffers___17832 = undefined; - s.count___17836 = undefined; - s.currMovers___17846 = undefined; - s.remainingMovers___17853 = undefined; - s.ms___17858 = undefined; + s.dtMs___17791 = undefined; + s.dt2___17797 = undefined; + s.scene___17801 = undefined; + s.tileMap___17804 = undefined; + s.movingSprites___17807 = undefined; + s.MAX_STEP_COUNT___17838 = undefined; + s.overlapHandlers___17850 = undefined; + s.selected___17857 = undefined; + s.buffers___17858 = undefined; + s.count___17862 = undefined; + s.currMovers___17872 = undefined; + s.remainingMovers___17879 = undefined; + s.ms___17884 = undefined; s.unnamed86___U13 = undefined; s.unnamed87___U14 = undefined; - s.s___17860 = undefined; - s.stepX___17953 = undefined; - s.stepY___17967 = undefined; - s.bounce___18030 = undefined; + s.s___17886 = undefined; + s.stepX___17979 = undefined; + s.stepY___17993 = undefined; + s.bounce___18056 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32088,21 +32088,21 @@ switch (step) { s.callLocIdx = 553; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___17765 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___17765, 2); - s.dt2___17771 = (r0); + s.dtMs___17791 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___17791, 2); + s.dt2___17797 = (r0); s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 554; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___17775 = (r0); - r0 = s.scene___17775.fields["tileMap"]; - s.tileMap___17778 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P17783); + s.scene___17801 = (r0); + r0 = s.scene___17801.fields["tileMap"]; + s.tileMap___17804 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P17809); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___17765); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___17771); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___17791); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___17797); s.tmp_1 = helpers_arrayMap__P106_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; @@ -32110,11 +32110,11 @@ switch (step) { s.callLocIdx = 556; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___17781 = (r0); + s.movingSprites___17807 = (r0); s.tmp_0 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P17795; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P17821; s.callLocIdx = 560; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; @@ -32140,41 +32140,41 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_5, s.tmp_4); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___17765); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___17791); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.MAX_STEP_COUNT___17812 = (r0); + s.MAX_STEP_COUNT___17838 = (r0); s.tmp_0 = helpers_arraySlice__P115_mk(s); - r0 = s.scene___17775.fields["overlapHandlers"]; + r0 = s.scene___17801.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 567; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___17824 = (r0); - s.selected___17831 = (0); + s.overlapHandlers___17850 = (r0); + s.selected___17857 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___17781); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___17807); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___17832 = (s.tmp_0); - s.count___17836 = (0); + s.buffers___17858 = (s.tmp_0); + s.count___17862 = (0); case 1: - r0 = (s.count___17836 < s.MAX_STEP_COUNT___17812); + r0 = (s.count___17862 < s.MAX_STEP_COUNT___17838); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - r0 = pxsim_Array__getAt(s.buffers___17832, s.selected___17831); + r0 = pxsim_Array__getAt(s.buffers___17858, s.selected___17857); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -32184,14 +32184,14 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 52; continue; } - r0 = pxsim_Array__getAt(s.buffers___17832, s.selected___17831); - s.currMovers___17846 = (r0); - r0 = (s.selected___17831 ^ 1); - s.selected___17831 = (r0); - r0 = pxsim_Array__getAt(s.buffers___17832, s.selected___17831); - s.remainingMovers___17853 = (r0); - s.ms___17858 = (undefined); - s.unnamed86___U13 = (s.currMovers___17846); + r0 = pxsim_Array__getAt(s.buffers___17858, s.selected___17857); + s.currMovers___17872 = (r0); + r0 = (s.selected___17857 ^ 1); + s.selected___17857 = (r0); + r0 = pxsim_Array__getAt(s.buffers___17858, s.selected___17857); + s.remainingMovers___17879 = (r0); + s.ms___17884 = (undefined); + s.unnamed86___U13 = (s.currMovers___17872); s.unnamed87___U14 = (0); case 4: s.tmp_0 = r0 = s.unnamed87___U14; @@ -32200,27 +32200,27 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } r0 = pxsim_Array__getAt(s.unnamed86___U13, s.unnamed87___U14); - s.ms___17858 = (r0); - r0 = s.ms___17858.fields["sprite"]; - s.s___17860 = (r0); - r0 = s.ms___17858.fields["cachedVx"]; + s.ms___17884 = (r0); + r0 = s.ms___17884.fields["sprite"]; + s.s___17886 = (r0); + r0 = s.ms___17884.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___17860.fields["_vx"]; + r0 = s.s___17886.fields["_vx"]; s.tmp_2 = r0; r0 = (s.tmp_1 !== s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = s.s___17860.fields["_vx"]; + r0 = s.s___17886.fields["_vx"]; s.tmp_4 = r0; r0 = (s.tmp_4 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = (s.ms___17858).fields["dx"] = (0); + r0 = (s.ms___17884).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___17860.fields["_vx"]; + r0 = s.s___17886.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32229,7 +32229,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___17858.fields["cachedVx"]; + r0 = s.ms___17884.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -32240,7 +32240,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___17860.fields["_vx"]; + r0 = s.s___17886.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32249,7 +32249,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___17858.fields["cachedVx"]; + r0 = s.ms___17884.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -32261,14 +32261,14 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 12; continue; } - s.tmp_9 = r0 = s.ms___17858; - r0 = s.ms___17858.fields["dx"]; + s.tmp_9 = r0 = s.ms___17884; + r0 = s.ms___17884.fields["dx"]; s.tmp_11 = r0; r0 = (0 - s.tmp_11); s.tmp_10 = r0; r0 = (s.tmp_9).fields["dx"] = (s.tmp_10); - s.tmp_0 = r0 = s.ms___17858; - r0 = s.ms___17858.fields["xStep"]; + s.tmp_0 = r0 = s.ms___17884; + r0 = s.ms___17884.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32276,29 +32276,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___17860.fields["_vx"]; + r0 = s.s___17886.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___17858).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___17884).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___17858.fields["cachedVy"]; + r0 = s.ms___17884.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___17860.fields["_vy"]; + r0 = s.s___17886.fields["_vy"]; s.tmp_2 = r0; r0 = (s.tmp_1 !== s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = s.s___17860.fields["_vy"]; + r0 = s.s___17886.fields["_vy"]; s.tmp_4 = r0; r0 = (s.tmp_4 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 17; continue; } - r0 = (s.ms___17858).fields["dy"] = (0); + r0 = (s.ms___17884).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___17860.fields["_vy"]; + r0 = s.s___17886.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32307,7 +32307,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___17858.fields["cachedVy"]; + r0 = s.ms___17884.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -32318,7 +32318,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___17860.fields["_vy"]; + r0 = s.s___17886.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32327,7 +32327,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___17858.fields["cachedVy"]; + r0 = s.ms___17884.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -32339,14 +32339,14 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 24; continue; } - s.tmp_9 = r0 = s.ms___17858; - r0 = s.ms___17858.fields["dy"]; + s.tmp_9 = r0 = s.ms___17884; + r0 = s.ms___17884.fields["dy"]; s.tmp_11 = r0; r0 = (0 - s.tmp_11); s.tmp_10 = r0; r0 = (s.tmp_9).fields["dy"] = (s.tmp_10); - s.tmp_0 = r0 = s.ms___17858; - r0 = s.ms___17858.fields["yStep"]; + s.tmp_0 = r0 = s.ms___17884; + r0 = s.ms___17884.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32354,20 +32354,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___17860.fields["_vy"]; + r0 = s.s___17886.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___17858).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___17884).fields["cachedVy"] = (s.tmp_0); case 27: case 28: s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17858.fields["xStep"]; + r0 = s.ms___17884.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 572; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17858.fields["dx"]; + r0 = s.ms___17884.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 573; s.pc = 61; return s.tmp_4; case 61: @@ -32377,23 +32377,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___17858.fields["dx"]; + r0 = s.ms___17884.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___17858.fields["xStep"]; + r0 = s.ms___17884.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___17953 = (s.tmp_5); + s.stepX___17979 = (s.tmp_5); s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17858.fields["yStep"]; + r0 = s.ms___17884.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 574; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17858.fields["dy"]; + r0 = s.ms___17884.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 575; s.pc = 63; return s.tmp_4; case 63: @@ -32403,45 +32403,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___17858.fields["dy"]; + r0 = s.ms___17884.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___17858.fields["yStep"]; + r0 = s.ms___17884.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___17967 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___17858; - r0 = s.ms___17858.fields["dx"]; + s.stepY___17993 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___17884; + r0 = s.ms___17884.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___17953); + r0 = (s.tmp_2 - s.stepX___17979); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___17858; - r0 = s.ms___17858.fields["dy"]; + s.tmp_0 = r0 = s.ms___17884; + r0 = s.ms___17884.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___17967); + r0 = (s.tmp_2 - s.stepY___17993); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___17860.fields["_x"]; + r0 = s.s___17886.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___17860).fields["_lastX"] = (s.tmp_0); - r0 = s.s___17860.fields["_y"]; + r0 = (s.s___17886).fields["_lastX"] = (s.tmp_0); + r0 = s.s___17886.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___17860).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___17860; - r0 = s.s___17860.fields["_x"]; + r0 = (s.s___17886).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___17886; + r0 = s.s___17886.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___17953); + r0 = (s.tmp_2 + s.stepX___17979); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___17860; - r0 = s.s___17860.fields["_y"]; + s.tmp_0 = r0 = s.s___17886; + r0 = s.s___17886.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___17967); + r0 = (s.tmp_2 + s.stepY___17993); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___17860.fields["flags"]; + r0 = s.s___17886.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -32454,19 +32454,19 @@ switch (step) { s.tmp_4 = sprites_SpriteMap_insertAABB__P2454_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___17860; + s.tmp_4.arg1 = s.s___17886; s.callLocIdx = 580; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___17778; + s.tmp_0 = r0 = s.tileMap___17804; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___17778.fields["_map"]; + r0 = s.tileMap___17804.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -32482,18 +32482,18 @@ switch (step) { if (!r0) { step = 37; continue; } s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17858; - s.tmp_6.arg2 = s.tileMap___17778; + s.tmp_6.arg1 = s.ms___17884; + s.tmp_6.arg2 = s.tileMap___17804; s.callLocIdx = 582; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___17860.fields["flags"]; + r0 = s.s___17886.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___18030 = (r0); - r0 = s.s___17860.fields["flags"]; + s.bounce___18056 = (r0); + r0 = s.s___17886.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -32502,13 +32502,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___18030; + s.tmp_2 = r0 = s.bounce___18056; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 40; continue; } r0 = s.tmp_2; { step = 41; continue; } case 40: - r0 = pxsim_numops_toBoolDecr(s.tileMap___17778); + r0 = pxsim_numops_toBoolDecr(s.tileMap___17804); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -32522,9 +32522,9 @@ switch (step) { if (!r0) { step = 43; continue; } s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4859_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17858; - s.tmp_6.arg2 = s.bounce___18030; - r0 = s.scene___17775.fields["camera"]; + s.tmp_6.arg1 = s.ms___17884; + s.tmp_6.arg2 = s.bounce___18056; + r0 = s.scene___17801.fields["camera"]; s.tmp_6.arg3 = r0; s.callLocIdx = 583; s.pc = 66; return s.tmp_6; case 66: @@ -32532,7 +32532,7 @@ switch (step) { case 43: case 44: s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17858.fields["dx"]; + r0 = s.ms___17884.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 584; s.pc = 67; return s.tmp_2; case 67: @@ -32546,7 +32546,7 @@ switch (step) { { step = 46; continue; } case 45: s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17858.fields["dy"]; + r0 = s.ms___17884.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 585; s.pc = 68; return s.tmp_4; case 68: @@ -32558,7 +32558,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 47; continue; } - r0 = pxsim_Array__push(s.remainingMovers___17853, s.ms___17858); + r0 = pxsim_Array__push(s.remainingMovers___17879, s.ms___17884); case 47: case 48: r0 = (s.unnamed87___U14 + 1); @@ -32568,21 +32568,21 @@ switch (step) { s.unnamed86___U13 = (undefined); s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4858_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___17846; - s.tmp_0.arg2 = s.overlapHandlers___17824; + s.tmp_0.arg1 = s.currMovers___17872; + s.tmp_0.arg2 = s.overlapHandlers___17850; s.callLocIdx = 586; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___17846); + r0 = pxsim_Array__length(s.currMovers___17872); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___17846); + r0 = pxsim_Array_.pop(s.currMovers___17872); { step = 50; continue; } case 51: - r0 = (s.count___17836 + 1); - s.count___17836 = (r0); + r0 = (s.count___17862 + 1); + s.count___17862 = (r0); { step = 1; continue; } case 52: r0 = undefined; @@ -32608,25 +32608,25 @@ function ArcadePhysicsEngine_move__P2540_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___17765: undefined, - dt2___17771: undefined, - scene___17775: undefined, - tileMap___17778: undefined, - movingSprites___17781: undefined, - MAX_STEP_COUNT___17812: undefined, - overlapHandlers___17824: undefined, - selected___17831: undefined, - buffers___17832: undefined, - count___17836: undefined, - currMovers___17846: undefined, - remainingMovers___17853: undefined, - ms___17858: undefined, + dtMs___17791: undefined, + dt2___17797: undefined, + scene___17801: undefined, + tileMap___17804: undefined, + movingSprites___17807: undefined, + MAX_STEP_COUNT___17838: undefined, + overlapHandlers___17850: undefined, + selected___17857: undefined, + buffers___17858: undefined, + count___17862: undefined, + currMovers___17872: undefined, + remainingMovers___17879: undefined, + ms___17884: undefined, unnamed86___U13: undefined, unnamed87___U14: undefined, - s___17860: undefined, - stepX___17953: undefined, - stepY___17967: undefined, - bounce___18030: undefined, + s___17886: undefined, + stepX___17979: undefined, + stepY___17993: undefined, + bounce___18056: undefined, arg0: undefined, arg1: undefined, } } @@ -32635,7 +32635,7 @@ function ArcadePhysicsEngine_move__P2540_mk(s) { -function movingSprites_inline__P17783(s) { +function movingSprites_inline__P17809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32660,12 +32660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P17783.info = {"start":3181,"length":52,"line":121,"column":17,"endLine":121,"endColumn":69,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +movingSprites_inline__P17809.info = {"start":3181,"length":52,"line":121,"column":17,"endLine":121,"endColumn":69,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function movingSprites_inline__P17783_mk(s) { +function movingSprites_inline__P17809_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P17783, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P17809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32675,7 +32675,7 @@ function movingSprites_inline__P17783_mk(s) { -function ArcadePhysicsEngine_move_inline__P17795(s) { +function ArcadePhysicsEngine_move_inline__P17821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32721,12 +32721,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P17795.info = {"start":3316,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +ArcadePhysicsEngine_move_inline__P17821.info = {"start":3316,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function ArcadePhysicsEngine_move_inline__P17795_mk(s) { +function ArcadePhysicsEngine_move_inline__P17821_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P17795, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P17821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32750,8 +32750,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___18605 = undefined; - s.offset___18620 = undefined; + s.s___18631 = undefined; + s.offset___18646 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32762,8 +32762,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___18605 = (r0); - r0 = s.s___18605.fields["_image"]; + s.s___18631 = (r0); + r0 = s.s___18631.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -32774,7 +32774,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_4 = Sprite__C2342_v4_1_mk(s); - s.tmp_4.arg0 = s.s___18605; + s.tmp_4.arg0 = s.s___18631; if (!checkSubtype(s.tmp_4.arg0, Sprite__C2342_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 21; return s.tmp_4; @@ -32802,7 +32802,7 @@ switch (step) { case 3: case 4: s.tmp_2 = game_Hitbox_left__P2217_mk(s); - r0 = s.s___18605.fields["_hitbox"]; + r0 = s.s___18631.fields["_hitbox"]; s.tmp_2.arg0 = r0; s.callLocIdx = 633; s.pc = 24; return s.tmp_2; case 24: @@ -32813,13 +32813,13 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___18620 = (r0); - r0 = (s.offset___18620 < 0); + s.offset___18646 = (r0); + r0 = (s.offset___18646 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } s.tmp_1 = Sprite_left__P2401_mk(s); - s.tmp_2 = r0 = s.s___18605; + s.tmp_2 = r0 = s.s___18631; s.tmp_1.arg0 = r0; s.tmp_4 = Sprite_left__P2400_mk(s); s.tmp_4.arg0 = s.tmp_2; @@ -32827,7 +32827,7 @@ switch (step) { case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___18620); + r0 = (s.tmp_3 - s.offset___18646); s.tmp_1.arg1 = r0; s.callLocIdx = 637; s.pc = 25; return s.tmp_1; case 25: @@ -32835,9 +32835,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 5; continue; } s.tmp_0 = Sprite_vx__P2360_mk(s); - s.tmp_0.arg0 = s.s___18605; + s.tmp_0.arg0 = s.s___18631; s.tmp_2 = Sprite_vx__P2359_mk(s); - s.tmp_2.arg0 = s.s___18605; + s.tmp_2.arg0 = s.s___18631; s.callLocIdx = 638; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; @@ -32852,7 +32852,7 @@ switch (step) { { step = 12; continue; } case 7: s.tmp_4 = game_Hitbox_right__P2219_mk(s); - r0 = s.s___18605.fields["_hitbox"]; + r0 = s.s___18631.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 640; s.pc = 29; return s.tmp_4; case 29: @@ -32868,13 +32868,13 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___18620 = (r0); + s.offset___18646 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 10; continue; } s.tmp_8 = Sprite_right__P2403_mk(s); - s.tmp_9 = r0 = s.s___18605; + s.tmp_9 = r0 = s.s___18631; s.tmp_8.arg0 = r0; s.tmp_11 = Sprite_right__P2402_mk(s); s.tmp_11.arg0 = s.tmp_9; @@ -32882,7 +32882,7 @@ switch (step) { case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___18620); + r0 = (s.tmp_10 - s.offset___18646); s.tmp_8.arg1 = r0; s.callLocIdx = 644; s.pc = 30; return s.tmp_8; case 30: @@ -32890,9 +32890,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 8; continue; } s.tmp_0 = Sprite_vx__P2360_mk(s); - s.tmp_0.arg0 = s.s___18605; + s.tmp_0.arg0 = s.s___18631; s.tmp_2 = Sprite_vx__P2359_mk(s); - s.tmp_2.arg0 = s.s___18605; + s.tmp_2.arg0 = s.s___18631; s.callLocIdx = 645; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -32908,7 +32908,7 @@ switch (step) { case 11: case 12: s.tmp_3 = game_Hitbox_top__P2218_mk(s); - r0 = s.s___18605.fields["_hitbox"]; + r0 = s.s___18631.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 647; s.pc = 34; return s.tmp_3; case 34: @@ -32920,13 +32920,13 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___18620 = (r0); + s.offset___18646 = (r0); r0 = (s.tmp_0 < 0); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } s.tmp_6 = Sprite_top__P2405_mk(s); - s.tmp_7 = r0 = s.s___18605; + s.tmp_7 = r0 = s.s___18631; s.tmp_6.arg0 = r0; s.tmp_9 = Sprite_top__P2404_mk(s); s.tmp_9.arg0 = s.tmp_7; @@ -32934,7 +32934,7 @@ switch (step) { case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___18620); + r0 = (s.tmp_8 - s.offset___18646); s.tmp_6.arg1 = r0; s.callLocIdx = 651; s.pc = 35; return s.tmp_6; case 35: @@ -32942,9 +32942,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } s.tmp_0 = Sprite_vy__P2362_mk(s); - s.tmp_0.arg0 = s.s___18605; + s.tmp_0.arg0 = s.s___18631; s.tmp_2 = Sprite_vy__P2361_mk(s); - s.tmp_2.arg0 = s.s___18605; + s.tmp_2.arg0 = s.s___18631; s.callLocIdx = 652; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -32959,7 +32959,7 @@ switch (step) { { step = 20; continue; } case 15: s.tmp_4 = game_Hitbox_bottom__P2220_mk(s); - r0 = s.s___18605.fields["_hitbox"]; + r0 = s.s___18631.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 654; s.pc = 39; return s.tmp_4; case 39: @@ -32975,13 +32975,13 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___18620 = (r0); + s.offset___18646 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 18; continue; } s.tmp_8 = Sprite_bottom__P2407_mk(s); - s.tmp_9 = r0 = s.s___18605; + s.tmp_9 = r0 = s.s___18631; s.tmp_8.arg0 = r0; s.tmp_11 = Sprite_bottom__P2406_mk(s); s.tmp_11.arg0 = s.tmp_9; @@ -32989,7 +32989,7 @@ switch (step) { case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___18620); + r0 = (s.tmp_10 - s.offset___18646); s.tmp_8.arg1 = r0; s.callLocIdx = 658; s.pc = 40; return s.tmp_8; case 40: @@ -32997,9 +32997,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 16; continue; } s.tmp_0 = Sprite_vy__P2362_mk(s); - s.tmp_0.arg0 = s.s___18605; + s.tmp_0.arg0 = s.s___18631; s.tmp_2 = Sprite_vy__P2361_mk(s); - s.tmp_2.arg0 = s.s___18605; + s.tmp_2.arg0 = s.s___18631; s.callLocIdx = 659; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; @@ -33037,8 +33037,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4859_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___18605: undefined, - offset___18620: undefined, + s___18631: undefined, + offset___18646: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33359,18 +33359,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___18087 = undefined; + s.ms___18113 = undefined; s.unnamed88___U1 = undefined; s.unnamed89___U2 = undefined; - s.sprite___18089 = undefined; - s.overSprites___18096 = undefined; - s.overlapper___18104 = undefined; + s.sprite___18115 = undefined; + s.overSprites___18122 = undefined; + s.overlapper___18130 = undefined; s.unnamed90___U6 = undefined; s.unnamed91___U7 = undefined; - s.thisKind___18110 = undefined; - s.otherKind___18114 = undefined; - s.higher___18127 = undefined; - s.lower___18136 = undefined; + s.thisKind___18136 = undefined; + s.otherKind___18140 = undefined; + s.higher___18153 = undefined; + s.lower___18162 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33390,7 +33390,7 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___18087 = (undefined); + s.ms___18113 = (undefined); s.unnamed88___U1 = (s.arg1); s.unnamed89___U2 = (0); case 3: @@ -33400,10 +33400,10 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } r0 = pxsim_Array__getAt(s.unnamed88___U1, s.unnamed89___U2); - s.ms___18087 = (r0); - r0 = s.ms___18087.fields["sprite"]; - s.sprite___18089 = (r0); - r0 = s.sprite___18089.fields["flags"]; + s.ms___18113 = (r0); + r0 = s.ms___18113.fields["sprite"]; + s.sprite___18115 = (r0); + r0 = s.sprite___18115.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -33415,14 +33415,14 @@ switch (step) { s.tmp_2 = sprites_SpriteMap_overlaps__P2450_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___18087.fields["sprite"]; + r0 = s.ms___18113.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 624; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___18096 = (r0); - s.overlapper___18104 = (undefined); - s.unnamed90___U6 = (s.overSprites___18096); + s.overSprites___18122 = (r0); + s.overlapper___18130 = (undefined); + s.unnamed90___U6 = (s.overSprites___18122); s.unnamed91___U7 = (0); case 6: s.tmp_0 = r0 = s.unnamed91___U7; @@ -33431,8 +33431,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } r0 = pxsim_Array__getAt(s.unnamed90___U6, s.unnamed91___U7); - s.overlapper___18104 = (r0); - r0 = s.overlapper___18104.fields["flags"]; + s.overlapper___18130 = (r0); + r0 = s.overlapper___18130.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -33441,13 +33441,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___18089.fields["_kind"]; - s.thisKind___18110 = (r0); - r0 = s.overlapper___18104.fields["_kind"]; - s.otherKind___18114 = (r0); - r0 = s.sprite___18089.fields["_kindsOverlappedWith"]; + r0 = s.sprite___18115.fields["_kind"]; + s.thisKind___18136 = (r0); + r0 = s.overlapper___18130.fields["_kind"]; + s.otherKind___18140 = (r0); + r0 = s.sprite___18115.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___18114, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___18140, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -33456,37 +33456,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___18089.fields["id"]; + r0 = s.sprite___18115.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___18104.fields["id"]; + r0 = s.overlapper___18130.fields["id"]; s.tmp_5 = r0; r0 = (s.tmp_4 > s.tmp_5); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 11; continue; } - r0 = s.sprite___18089; + r0 = s.sprite___18115; { step = 12; continue; } case 11: - r0 = s.overlapper___18104; + r0 = s.overlapper___18130; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___18127 = (s.tmp_6); - r0 = (s.higher___18127 === s.sprite___18089); + s.higher___18153 = (s.tmp_6); + r0 = (s.higher___18153 === s.sprite___18115); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___18104; + r0 = s.overlapper___18130; { step = 14; continue; } case 13: - r0 = s.sprite___18089; + r0 = s.sprite___18115; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___18136 = (s.tmp_1); - r0 = s.higher___18127.fields["_overlappers"]; + s.lower___18162 = (s.tmp_1); + r0 = s.higher___18153.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___18136.fields["id"]; + r0 = s.lower___18162.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -33494,17 +33494,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P18156); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P18182); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___18110); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___18114); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P18180); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___18136); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___18140); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P18206); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___18127); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___18136); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___18089); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___18104); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___18110); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___18153); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___18162); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___18115); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___18130); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___18136); s.tmp_6 = helpers_arrayForEach__P109_mk(s); s.tmp_7 = helpers_arrayFilter__P110_mk(s); s.tmp_7.arg0 = s.arg2; @@ -33551,18 +33551,18 @@ function ArcadePhysicsEngine_spriteCollisions__P4858_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___18087: undefined, + ms___18113: undefined, unnamed88___U1: undefined, unnamed89___U2: undefined, - sprite___18089: undefined, - overSprites___18096: undefined, - overlapper___18104: undefined, + sprite___18115: undefined, + overSprites___18122: undefined, + overlapper___18130: undefined, unnamed90___U6: undefined, unnamed91___U7: undefined, - thisKind___18110: undefined, - otherKind___18114: undefined, - higher___18127: undefined, - lower___18136: undefined, + thisKind___18136: undefined, + otherKind___18140: undefined, + higher___18153: undefined, + lower___18162: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33572,7 +33572,7 @@ function ArcadePhysicsEngine_spriteCollisions__P4858_mk(s) { -function forEach_inline__P18156(s) { +function forEach_inline__P18182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33629,12 +33629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P18156.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P18182.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P18156_mk(s) { +function forEach_inline__P18182_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P18156, depth: s.depth + 1, + parent: s, fn: forEach_inline__P18182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33652,7 +33652,7 @@ function forEach_inline__P18156_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18180(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33671,7 +33671,7 @@ switch (step) { r0 = s.caps[1].fields["id"]; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P18190); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P18216); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[2]); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.caps[3]); @@ -33684,12 +33684,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P18180.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P18206.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P18180_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18206_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18180, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33700,7 +33700,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P18180_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18190(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33776,12 +33776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P18190.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P18216.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P18190_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18216_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18190, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33812,8 +33812,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___18224 = undefined; - s.o___18228 = undefined; + s.n___18250 = undefined; + s.o___18254 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33827,18 +33827,18 @@ switch (step) { s.callLocIdx = 501; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___18224 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P18230); + s.n___18250 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P18256); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.n___18224; + s.tmp_1.arg0 = s.n___18250; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 503; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___18228 = (r0); - r0 = s.o___18228; + s.o___18254 = (r0); + r0 = s.o___18254; return leave(s, r0) default: oops() } } } @@ -33851,8 +33851,8 @@ function sprites_SpriteMap_overlaps__P2450_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___18224: undefined, - o___18228: undefined, + n___18250: undefined, + o___18254: undefined, arg0: undefined, arg1: undefined, } } @@ -33861,7 +33861,7 @@ function sprites_SpriteMap_overlaps__P2450_mk(s) { -function o_inline__P18230(s) { +function o_inline__P18256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33884,12 +33884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P18230.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +o_inline__P18256.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} -function o_inline__P18230_mk(s) { +function o_inline__P18256_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P18230, depth: s.depth + 1, + parent: s, fn: o_inline__P18256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33909,8 +33909,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___18495 = undefined; - s.layer___18497 = undefined; + s.n___18521 = undefined; + s.layer___18523 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33919,9 +33919,9 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___18495 = (r0); + s.n___18521 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___18497 = (r0); + s.layer___18523 = (r0); s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4822_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = Sprite_left__P2400_mk(s); @@ -33936,8 +33936,8 @@ switch (step) { case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18497; - s.tmp_0.arg4 = s.n___18495; + s.tmp_0.arg3 = s.layer___18523; + s.tmp_0.arg4 = s.n___18521; s.callLocIdx = 491; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -33955,8 +33955,8 @@ switch (step) { case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18497; - s.tmp_0.arg4 = s.n___18495; + s.tmp_0.arg3 = s.layer___18523; + s.tmp_0.arg4 = s.n___18521; s.callLocIdx = 494; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -33974,8 +33974,8 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18497; - s.tmp_0.arg4 = s.n___18495; + s.tmp_0.arg3 = s.layer___18523; + s.tmp_0.arg4 = s.n___18521; s.callLocIdx = 497; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -33993,13 +33993,13 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18497; - s.tmp_0.arg4 = s.n___18495; + s.tmp_0.arg3 = s.layer___18523; + s.tmp_0.arg4 = s.n___18521; s.callLocIdx = 500; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___18495, s.arg1); - r0 = s.n___18495; + r0 = pxsim_Array_.removeElement(s.n___18521, s.arg1); + r0 = s.n___18521; return leave(s, r0) default: oops() } } } @@ -34013,8 +34013,8 @@ function sprites_SpriteMap_neighbors__P2449_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___18495: undefined, - layer___18497: undefined, + n___18521: undefined, + layer___18523: undefined, arg0: undefined, arg1: undefined, } } @@ -34033,9 +34033,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18538 = undefined; - s.bucket___18543 = undefined; - s.sprite___18550 = undefined; + s.k___18564 = undefined; + s.bucket___18569 = undefined; + s.sprite___18576 = undefined; s.unnamed84___U3 = undefined; s.unnamed85___U4 = undefined; if (s.lambdaArgs) { @@ -34055,15 +34055,15 @@ switch (step) { s.callLocIdx = 527; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___18538 = (r0); + s.k___18564 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18538); - s.bucket___18543 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18543); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___18564); + s.bucket___18569 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___18569); if (!r0) { step = 7; continue; } - s.sprite___18550 = (undefined); - s.unnamed84___U3 = (s.bucket___18543); + s.sprite___18576 = (undefined); + s.unnamed84___U3 = (s.bucket___18569); s.unnamed85___U4 = (0); case 1: s.tmp_0 = r0 = s.unnamed85___U4; @@ -34072,8 +34072,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } r0 = pxsim_Array__getAt(s.unnamed84___U3, s.unnamed85___U4); - s.sprite___18550 = (r0); - r0 = s.sprite___18550.fields["layer"]; + s.sprite___18576 = (r0); + r0 = s.sprite___18576.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -34082,7 +34082,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___18550, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___18576, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -34090,7 +34090,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__push(s.arg4, s.sprite___18550); + r0 = pxsim_Array__push(s.arg4, s.sprite___18576); case 4: case 5: r0 = (s.unnamed85___U4 + 1); @@ -34117,9 +34117,9 @@ function sprites_SpriteMap_mergeAtKey__P4822_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___18538: undefined, - bucket___18543: undefined, - sprite___18550: undefined, + k___18564: undefined, + bucket___18569: undefined, + sprite___18576: undefined, unnamed84___U3: undefined, unnamed85___U4: undefined, arg0: undefined, @@ -34143,8 +34143,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___18571 = undefined; - s.yi___18583 = undefined; + s.xi___18597 = undefined; + s.yi___18609 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34164,7 +34164,7 @@ switch (step) { s.callLocIdx = 515; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___18571 = (r0); + s.xi___18597 = (r0); s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; @@ -34176,11 +34176,11 @@ switch (step) { s.callLocIdx = 516; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___18583 = (r0); - s.tmp_0 = r0 = s.xi___18571; + s.yi___18609 = (r0); + s.tmp_0 = r0 = s.xi___18597; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___18583 * s.tmp_2); + r0 = (s.yi___18609 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) @@ -34196,8 +34196,8 @@ function sprites_SpriteMap_key__P4820_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___18571: undefined, - yi___18583: undefined, + xi___18597: undefined, + yi___18609: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34217,8 +34217,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___18308 = undefined; - s.B___18309 = undefined; + s.A___18334 = undefined; + s.B___18335 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34457,24 +34457,24 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___18308 = (s.arg0); - s.B___18309 = (s.arg1); + s.A___18334 = (s.arg0); + s.B___18335 = (s.arg1); { step = 25; continue; } case 24: - s.A___18308 = (s.arg1); - s.B___18309 = (s.arg0); + s.A___18334 = (s.arg1); + s.B___18335 = (s.arg0); case 25: s.tmp_0 = helpers_imageBlit__P1954_mk(s); - r0 = s.A___18308.fields["_image"]; + r0 = s.A___18334.fields["_image"]; s.tmp_0.arg0 = r0; s.tmp_3 = Sprite_left__P2400_mk(s); - s.tmp_3.arg0 = s.B___18309; + s.tmp_3.arg0 = s.B___18335; s.callLocIdx = 408; s.pc = 45; return s.tmp_3; case 45: r0 = s.retval; s.tmp_2 = r0; s.tmp_5 = Sprite_left__P2400_mk(s); - s.tmp_5.arg0 = s.A___18308; + s.tmp_5.arg0 = s.A___18334; s.callLocIdx = 409; s.pc = 46; return s.tmp_5; case 46: r0 = s.retval; @@ -34482,7 +34482,7 @@ switch (step) { r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; s.tmp_7 = Sprite_sx__P2371_mk(s); - s.tmp_7.arg0 = s.A___18308; + s.tmp_7.arg0 = s.A___18334; s.callLocIdx = 410; s.pc = 47; return s.tmp_7; case 47: r0 = s.retval; @@ -34490,13 +34490,13 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; s.tmp_10 = Sprite_top__P2404_mk(s); - s.tmp_10.arg0 = s.B___18309; + s.tmp_10.arg0 = s.B___18335; s.callLocIdx = 411; s.pc = 48; return s.tmp_10; case 48: r0 = s.retval; s.tmp_9 = r0; s.tmp_12 = Sprite_top__P2404_mk(s); - s.tmp_12.arg0 = s.A___18308; + s.tmp_12.arg0 = s.A___18334; s.callLocIdx = 412; s.pc = 49; return s.tmp_12; case 49: r0 = s.retval; @@ -34504,7 +34504,7 @@ switch (step) { r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; s.tmp_14 = Sprite_sy__P2373_mk(s); - s.tmp_14.arg0 = s.A___18308; + s.tmp_14.arg0 = s.A___18334; s.callLocIdx = 413; s.pc = 50; return s.tmp_14; case 50: r0 = s.retval; @@ -34512,13 +34512,13 @@ switch (step) { r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; s.tmp_16 = Sprite_width__P2398_mk(s); - s.tmp_16.arg0 = s.B___18309; + s.tmp_16.arg0 = s.B___18335; s.callLocIdx = 414; s.pc = 51; return s.tmp_16; case 51: r0 = s.retval; s.tmp_15 = r0; s.tmp_18 = Sprite_sx__P2371_mk(s); - s.tmp_18.arg0 = s.A___18308; + s.tmp_18.arg0 = s.A___18334; s.callLocIdx = 415; s.pc = 52; return s.tmp_18; case 52: r0 = s.retval; @@ -34526,28 +34526,28 @@ switch (step) { r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; s.tmp_20 = Sprite_height__P2399_mk(s); - s.tmp_20.arg0 = s.B___18309; + s.tmp_20.arg0 = s.B___18335; s.callLocIdx = 416; s.pc = 53; return s.tmp_20; case 53: r0 = s.retval; s.tmp_19 = r0; s.tmp_22 = Sprite_sy__P2373_mk(s); - s.tmp_22.arg0 = s.A___18308; + s.tmp_22.arg0 = s.A___18334; s.callLocIdx = 417; s.pc = 54; return s.tmp_22; case 54: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___18309.fields["_image"]; + r0 = s.B___18335.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___18309.fields["_image"]; + r0 = s.B___18335.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___18309.fields["_image"]; + r0 = s.B___18335.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; @@ -34627,8 +34627,8 @@ function Sprite_overlapsWith__P2421_mk(s) { tmp_54: undefined, tmp_55: undefined, tmp_56: undefined, - A___18308: undefined, - B___18309: undefined, + A___18334: undefined, + B___18335: undefined, arg0: undefined, arg1: undefined, } } @@ -35201,16 +35201,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___18926 = undefined; - s.ovy___18931 = undefined; - s.fx___18958 = undefined; - s.c___18965 = undefined; - s.fy___19008 = undefined; - s.c___19015 = undefined; - s.dx___19054 = undefined; - s.dy___19067 = undefined; - s.xStep___19080 = undefined; - s.yStep___19082 = undefined; + s.ovx___18952 = undefined; + s.ovy___18957 = undefined; + s.fx___18984 = undefined; + s.c___18991 = undefined; + s.fy___19034 = undefined; + s.c___19041 = undefined; + s.dx___19080 = undefined; + s.dy___19093 = undefined; + s.xStep___19106 = undefined; + s.yStep___19108 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35227,7 +35227,7 @@ switch (step) { s.callLocIdx = 587; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___18926 = (r0); + s.ovx___18952 = (r0); s.tmp_0 = ArcadePhysicsEngine_constrain__P4863_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; @@ -35235,7 +35235,7 @@ switch (step) { s.callLocIdx = 588; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___18931 = (r0); + s.ovy___18957 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -35269,12 +35269,12 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___18958 = (r0); + s.fx___18984 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___18958); - s.c___18965 = (r0); - r0 = (s.c___18965 < 0); + r0 = (s.tmp_0 - s.fx___18984); + s.c___18991 = (r0); + r0 = (s.c___18991 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -35283,7 +35283,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___18958); + r0 = (s.tmp_4 + s.fx___18984); s.tmp_3.arg1 = r0; s.callLocIdx = 596; s.pc = 27; return s.tmp_3; case 27: @@ -35292,7 +35292,7 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___18965 > 0); + r0 = (s.c___18991 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -35301,7 +35301,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___18958); + r0 = (s.tmp_4 - s.fx___18984); s.tmp_3.arg1 = r0; s.callLocIdx = 598; s.pc = 28; return s.tmp_3; case 28: @@ -35343,12 +35343,12 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___19008 = (r0); + s.fy___19034 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___19008); - s.c___19015 = (r0); - r0 = (s.c___19015 < 0); + r0 = (s.tmp_0 - s.fy___19034); + s.c___19041 = (r0); + r0 = (s.c___19041 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -35357,7 +35357,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___19008); + r0 = (s.tmp_4 + s.fy___19034); s.tmp_3.arg1 = r0; s.callLocIdx = 606; s.pc = 29; return s.tmp_3; case 29: @@ -35366,7 +35366,7 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___19015 > 0); + r0 = (s.c___19041 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } @@ -35375,7 +35375,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___19008); + r0 = (s.tmp_4 - s.fy___19034); s.tmp_3.arg1 = r0; s.callLocIdx = 608; s.pc = 30; return s.tmp_3; case 30: @@ -35412,7 +35412,7 @@ switch (step) { r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___18926); + r0 = (s.tmp_4 + s.ovx___18952); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35423,10 +35423,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___19054 = (r0); + s.dx___19080 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___18931); + r0 = (s.tmp_4 + s.ovy___18957); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35437,12 +35437,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___19067 = (r0); - s.xStep___19080 = (s.dx___19054); - s.yStep___19082 = (s.dy___19067); + s.dy___19093 = (r0); + s.xStep___19106 = (s.dx___19080); + s.yStep___19108 = (s.dy___19093); case 17: s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.xStep___19080; + s.tmp_2.arg0 = s.xStep___19106; s.callLocIdx = 617; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -35457,7 +35457,7 @@ switch (step) { { step = 19; continue; } case 18: s.tmp_5 = Fx_abs__P165_mk(s); - s.tmp_5.arg0 = s.yStep___19082; + s.tmp_5.arg0 = s.yStep___19108; s.callLocIdx = 618; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -35471,7 +35471,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } s.tmp_10 = Fx_abs__P165_mk(s); - s.tmp_10.arg0 = s.xStep___19080; + s.tmp_10.arg0 = s.xStep___19106; s.callLocIdx = 619; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -35482,12 +35482,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___19080, 2); - s.xStep___19080 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___19106, 2); + s.xStep___19106 = (r0); case 20: case 21: s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.yStep___19082; + s.tmp_2.arg0 = s.yStep___19108; s.callLocIdx = 621; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -35498,8 +35498,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___19082, 2); - s.yStep___19082 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___19108, 2); + s.yStep___19108 = (r0); case 22: case 23: { step = 17; continue; } @@ -35513,10 +35513,10 @@ switch (step) { s.tmp_1.arg2 = r0; r0 = s.arg1.fields["_vy"]; s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.dx___19054; - s.tmp_1.arg5 = s.dy___19067; - s.tmp_1.arg6 = s.xStep___19080; - s.tmp_1.arg7 = s.yStep___19082; + s.tmp_1.arg4 = s.dx___19080; + s.tmp_1.arg5 = s.dy___19093; + s.tmp_1.arg6 = s.xStep___19106; + s.tmp_1.arg7 = s.yStep___19108; s.callLocIdx = 623; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -35543,16 +35543,16 @@ function ArcadePhysicsEngine_createMovingSprite__P4857_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___18926: undefined, - ovy___18931: undefined, - fx___18958: undefined, - c___18965: undefined, - fy___19008: undefined, - c___19015: undefined, - dx___19054: undefined, - dy___19067: undefined, - xStep___19080: undefined, - yStep___19082: undefined, + ovx___18952: undefined, + ovy___18957: undefined, + fx___18984: undefined, + c___18991: undefined, + fy___19034: undefined, + c___19041: undefined, + dx___19080: undefined, + dy___19093: undefined, + xStep___19106: undefined, + yStep___19108: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35658,12 +35658,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___18746 = undefined; - s.top___18749 = undefined; - s.xn___18752 = undefined; - s.yn___18763 = undefined; - s.x___18774 = undefined; - s.y___18779 = undefined; + s.left___18772 = undefined; + s.top___18775 = undefined; + s.xn___18778 = undefined; + s.yn___18789 = undefined; + s.x___18800 = undefined; + s.y___18805 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35676,13 +35676,13 @@ switch (step) { s.callLocIdx = 518; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___18746 = (r0); + s.left___18772 = (r0); s.tmp_0 = Sprite_top__P2404_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 519; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___18749 = (r0); + s.top___18775 = (r0); s.tmp_3 = Sprite_width__P2398_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 520; s.pc = 7; return s.tmp_3; @@ -35698,7 +35698,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___18752 = (r0); + s.xn___18778 = (r0); s.tmp_3 = Sprite_height__P2399_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 521; s.pc = 8; return s.tmp_3; @@ -35714,22 +35714,22 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___18763 = (r0); - s.x___18774 = (0); + s.yn___18789 = (r0); + s.x___18800 = (0); case 1: - r0 = (s.x___18774 <= s.xn___18752); + r0 = (s.x___18800 <= s.xn___18778); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___18779 = (0); + s.y___18805 = (0); case 2: - r0 = (s.y___18779 <= s.yn___18763); + r0 = (s.y___18805 <= s.yn___18789); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = sprites_SpriteMap_insertAtKey__P4821_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___18746; + s.tmp_2 = r0 = s.left___18772; s.tmp_4 = Math_min__P131_mk(s); s.tmp_5 = Sprite_width__P2398_mk(s); s.tmp_5.arg0 = s.arg1; @@ -35739,7 +35739,7 @@ switch (step) { s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___18774 * s.tmp_6); + r0 = (s.x___18800 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 523; s.pc = 10; return s.tmp_4; case 10: @@ -35747,7 +35747,7 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___18749; + s.tmp_7 = r0 = s.top___18775; s.tmp_9 = Math_min__P131_mk(s); s.tmp_10 = Sprite_height__P2399_mk(s); s.tmp_10.arg0 = s.arg1; @@ -35757,7 +35757,7 @@ switch (step) { s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___18779 * s.tmp_11); + r0 = (s.y___18805 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 525; s.pc = 12; return s.tmp_9; case 12: @@ -35769,12 +35769,12 @@ switch (step) { s.callLocIdx = 526; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___18779 + 1); - s.y___18779 = (r0); + r0 = (s.y___18805 + 1); + s.y___18805 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___18774 + 1); - s.x___18774 = (r0); + r0 = (s.x___18800 + 1); + s.x___18800 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -35800,12 +35800,12 @@ function sprites_SpriteMap_insertAABB__P2454_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___18746: undefined, - top___18749: undefined, - xn___18752: undefined, - yn___18763: undefined, - x___18774: undefined, - y___18779: undefined, + left___18772: undefined, + top___18775: undefined, + xn___18778: undefined, + yn___18789: undefined, + x___18800: undefined, + y___18805: undefined, arg0: undefined, arg1: undefined, } } @@ -35824,8 +35824,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18814 = undefined; - s.bucket___18819 = undefined; + s.k___18840 = undefined; + s.bucket___18845 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35842,12 +35842,12 @@ switch (step) { s.callLocIdx = 517; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___18814 = (r0); + s.k___18840 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18814); - s.bucket___18819 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18819); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___18840); + s.bucket___18845 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___18845); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35855,20 +35855,20 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___18814; + s.tmp_3 = r0 = s.k___18840; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___18819 = (s.tmp_4); + s.bucket___18845 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___18819, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___18845, s.arg3, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_Array__push(s.bucket___18819, s.arg3); + r0 = pxsim_Array__push(s.bucket___18845, s.arg3); case 3: case 4: r0 = undefined; @@ -35887,8 +35887,8 @@ function sprites_SpriteMap_insertAtKey__P4821_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - k___18814: undefined, - bucket___18819: undefined, + k___18840: undefined, + bucket___18845: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35949,14 +35949,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___18849 = undefined; - s.maxHeight___18850 = undefined; - s.sprite___18852 = undefined; + s.maxWidth___18875 = undefined; + s.maxHeight___18876 = undefined; + s.sprite___18878 = undefined; s.unnamed82___U3 = undefined; s.unnamed83___U4 = undefined; - s.tMap___18868 = undefined; - s.areaWidth___18872 = undefined; - s.areaHeight___18879 = undefined; + s.tMap___18894 = undefined; + s.areaWidth___18898 = undefined; + s.areaHeight___18905 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35964,9 +35964,9 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); - s.maxWidth___18849 = (0); - s.maxHeight___18850 = (0); - s.sprite___18852 = (undefined); + s.maxWidth___18875 = (0); + s.maxHeight___18876 = (0); + s.sprite___18878 = (undefined); s.unnamed82___U3 = (s.arg1); s.unnamed83___U4 = (0); case 1: @@ -35976,41 +35976,41 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } r0 = pxsim_Array__getAt(s.unnamed82___U3, s.unnamed83___U4); - s.sprite___18852 = (r0); + s.sprite___18878 = (r0); s.tmp_4 = Sprite_width__P2398_mk(s); - s.tmp_4.arg0 = s.sprite___18852; + s.tmp_4.arg0 = s.sprite___18878; s.callLocIdx = 506; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___18849); + r0 = (s.tmp_3 > s.maxWidth___18875); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } s.tmp_5 = Sprite_width__P2398_mk(s); - s.tmp_5.arg0 = s.sprite___18852; + s.tmp_5.arg0 = s.sprite___18878; s.callLocIdx = 507; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___18849 = (r0); + s.maxWidth___18875 = (r0); case 2: case 3: s.tmp_2 = Sprite_height__P2399_mk(s); - s.tmp_2.arg0 = s.sprite___18852; + s.tmp_2.arg0 = s.sprite___18878; s.callLocIdx = 508; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___18850); + r0 = (s.tmp_1 > s.maxHeight___18876); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_3 = Sprite_height__P2399_mk(s); - s.tmp_3.arg0 = s.sprite___18852; + s.tmp_3.arg0 = s.sprite___18878; s.callLocIdx = 509; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___18850 = (r0); + s.maxHeight___18876 = (r0); case 4: case 5: r0 = (s.unnamed83___U4 + 1); @@ -36023,11 +36023,11 @@ switch (step) { case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___18868 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___18868); + s.tMap___18894 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___18894); if (!r0) { step = 7; continue; } s.tmp_0 = tiles_TileMap_areaWidth__P2744_mk(s); - s.tmp_0.arg0 = s.tMap___18868; + s.tmp_0.arg0 = s.tMap___18894; s.callLocIdx = 511; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; @@ -36037,11 +36037,11 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___18872 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___18868); + s.areaWidth___18898 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___18894); if (!r0) { step = 9; continue; } s.tmp_0 = tiles_TileMap_areaHeight__P2745_mk(s); - s.tmp_0.arg0 = s.tMap___18868; + s.tmp_0.arg0 = s.tMap___18894; s.callLocIdx = 512; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; @@ -36051,13 +36051,13 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___18879 = (s.tmp_1); + s.areaHeight___18905 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___18872 >> 2); + r0 = (s.areaWidth___18898 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___18849 * 2); + r0 = (s.maxWidth___18875 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 513; s.pc = 18; return s.tmp_2; case 18: @@ -36067,9 +36067,9 @@ switch (step) { s.tmp_0 = r0 = s.arg0; s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___18879 >> 2); + r0 = (s.areaHeight___18905 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___18850 * 2); + r0 = (s.maxHeight___18876 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 514; s.pc = 19; return s.tmp_2; case 19: @@ -36079,13 +36079,13 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___18879, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___18905, s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["rowCount"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellWidth"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaWidth___18872, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___18898, s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["columnCount"] = (s.tmp_1); r0 = undefined; @@ -36105,14 +36105,14 @@ function sprites_SpriteMap_resizeBuckets__P2452_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___18849: undefined, - maxHeight___18850: undefined, - sprite___18852: undefined, + maxWidth___18875: undefined, + maxHeight___18876: undefined, + sprite___18878: undefined, unnamed82___U3: undefined, unnamed83___U4: undefined, - tMap___18868: undefined, - areaWidth___18872: undefined, - areaHeight___18879: undefined, + tMap___18894: undefined, + areaWidth___18898: undefined, + areaHeight___18905: undefined, arg0: undefined, arg1: undefined, } } @@ -36205,41 +36205,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___19144 = undefined; - s.len___19146 = undefined; - s.i___19149 = undefined; + s.res___19170 = undefined; + s.len___19172 = undefined; + s.i___19175 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___19144 = (r0); + s.res___19170 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___19146 = (r0); - s.i___19149 = (0); + s.len___19172 = (r0); + s.i___19175 = (0); case 1: - r0 = (s.i___19149 < s.len___19146); + r0 = (s.i___19175 < s.len___19172); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___19144; + s.tmp_1 = r0 = s.res___19170; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___19149); + r0 = pxsim_Array__getAt(s.arg0, s.i___19175); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___19149; + s.tmp_3.arg1 = s.i___19175; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 3; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___19149 + 1); - s.i___19149 = (r0); + r0 = (s.i___19175 + 1); + s.i___19175 = (r0); { step = 1; continue; } case 2: - r0 = s.res___19144; + r0 = s.res___19170; return leave(s, r0) default: oops() } } } @@ -36254,9 +36254,9 @@ function helpers_arrayMap__P106_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - res___19144: undefined, - len___19146: undefined, - i___19149: undefined, + res___19170: undefined, + len___19172: undefined, + i___19175: undefined, arg0: undefined, arg1: undefined, } } @@ -36316,61 +36316,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___19170 = undefined; - s.y___19176 = undefined; - s.left___19182 = undefined; - s.top___19187 = undefined; - s.k___19192 = undefined; - s.b___19197 = undefined; + s.x___19196 = undefined; + s.y___19202 = undefined; + s.left___19208 = undefined; + s.top___19213 = undefined; + s.k___19218 = undefined; + s.b___19223 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); - s.x___19170 = (0); + s.x___19196 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___19170 < s.tmp_1); + r0 = (s.x___19196 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19176 = (0); + s.y___19202 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___19176 < s.tmp_1); + r0 = (s.y___19202 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } r0 = s.arg0.fields["cellWidth"]; s.tmp_2 = r0; - r0 = (s.x___19170 * s.tmp_2); - s.left___19182 = (r0); + r0 = (s.x___19196 * s.tmp_2); + s.left___19208 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___19176 * s.tmp_0); - s.top___19187 = (r0); + r0 = (s.y___19202 * s.tmp_0); + s.top___19213 = (r0); s.tmp_0 = sprites_SpriteMap_key__P4820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___19182; - s.tmp_0.arg2 = s.top___19187; + s.tmp_0.arg1 = s.left___19208; + s.tmp_0.arg2 = s.top___19213; s.callLocIdx = 504; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___19192 = (r0); + s.k___19218 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___19192); - s.b___19197 = (r0); - s.tmp_0 = r0 = s.b___19197; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___19218); + s.b___19223 = (r0); + s.tmp_0 = r0 = s.b___19223; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = pxsim_Array__length(s.b___19197); + r0 = pxsim_Array__length(s.b___19223); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -36378,8 +36378,8 @@ switch (step) { if (!r0) { step = 5; continue; } s.tmp_2 = helpers_imageDrawRect__P1960_mk(s); s.tmp_2.arg0 = globals.screen___2033; - s.tmp_2.arg1 = s.left___19182; - s.tmp_2.arg2 = s.top___19187; + s.tmp_2.arg1 = s.left___19208; + s.tmp_2.arg2 = s.top___19213; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -36390,12 +36390,12 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___19176 + 1); - s.y___19176 = (r0); + r0 = (s.y___19202 + 1); + s.y___19202 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___19170 + 1); - s.x___19170 = (r0); + r0 = (s.x___19196 + 1); + s.x___19196 = (r0); { step = 1; continue; } case 8: r0 = undefined; @@ -36412,12 +36412,12 @@ function sprites_SpriteMap_draw__P2451_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___19170: undefined, - y___19176: undefined, - left___19182: undefined, - top___19187: undefined, - k___19192: undefined, - b___19197: undefined, + x___19196: undefined, + y___19202: undefined, + left___19208: undefined, + top___19213: undefined, + k___19218: undefined, + b___19223: undefined, arg0: undefined, } } @@ -36475,7 +36475,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___19234 = undefined; + s.tm___19260 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36491,15 +36491,15 @@ switch (step) { case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___19234 = (r0); - s.tmp_0 = r0 = s.tm___19234; + s.tm___19260 = (r0); + s.tmp_0 = r0 = s.tm___19260; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: s.tmp_1 = tiles_TileMap_isOnWall__P2759_mk(s); - s.tmp_1.arg0 = s.tm___19234; + s.tmp_1.arg0 = s.tm___19260; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 551; s.pc = 6; return s.tmp_1; case 6: @@ -36534,7 +36534,7 @@ function ArcadePhysicsEngine_addSprite__P2537_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___19234: undefined, + tm___19260: undefined, arg0: undefined, arg1: undefined, } } @@ -36671,7 +36671,7 @@ switch (step) { s.callLocIdx = 836; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P19505); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P19531); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = r0 = s.arg0; @@ -36707,7 +36707,7 @@ function tiles_TileMap_constructor__P2738_mk(s) { -function tiles_TileMap_inline__P19505(s) { +function tiles_TileMap_inline__P19531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36733,12 +36733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P19505.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +tiles_TileMap_inline__P19531.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function tiles_TileMap_inline__P19505_mk(s) { +function tiles_TileMap_inline__P19531_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P19505, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P19531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36759,21 +36759,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___19516 = undefined; - s.offsetX___19522 = undefined; - s.offsetY___19527 = undefined; - s.x0___19532 = undefined; - s.xn___19539 = undefined; - s.y0___19556 = undefined; - s.yn___19563 = undefined; - s.x___19580 = undefined; - s.y___19586 = undefined; - s.index___19592 = undefined; - s.tile___19599 = undefined; - s.x___19635 = undefined; - s.xLine___19641 = undefined; - s.y___19667 = undefined; - s.yLine___19673 = undefined; + s.bitmask___19542 = undefined; + s.offsetX___19548 = undefined; + s.offsetY___19553 = undefined; + s.x0___19558 = undefined; + s.xn___19565 = undefined; + s.y0___19582 = undefined; + s.yn___19589 = undefined; + s.x___19606 = undefined; + s.y___19612 = undefined; + s.index___19618 = undefined; + s.tile___19625 = undefined; + s.x___19661 = undefined; + s.xLine___19667 = undefined; + s.y___19693 = undefined; + s.yLine___19699 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36806,15 +36806,15 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___19516 = (r0); + s.bitmask___19542 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19516); - s.offsetX___19522 = (r0); + r0 = (s.tmp_0 & s.bitmask___19542); + s.offsetX___19548 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19516); - s.offsetY___19527 = (r0); + r0 = (s.tmp_0 & s.bitmask___19542); + s.offsetY___19553 = (r0); s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; @@ -36826,7 +36826,7 @@ switch (step) { s.callLocIdx = 876; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___19532 = (r0); + s.x0___19558 = (r0); s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; @@ -36847,7 +36847,7 @@ switch (step) { s.callLocIdx = 879; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___19539 = (r0); + s.xn___19565 = (r0); s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; @@ -36859,7 +36859,7 @@ switch (step) { s.callLocIdx = 881; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___19556 = (r0); + s.y0___19582 = (r0); s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; @@ -36880,91 +36880,91 @@ switch (step) { s.callLocIdx = 884; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___19563 = (r0); - s.x___19580 = (s.x0___19532); + s.yn___19589 = (r0); + s.x___19606 = (s.x0___19558); case 3: - r0 = (s.x___19580 <= s.xn___19539); + r0 = (s.x___19606 <= s.xn___19565); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19586 = (s.y0___19556); + s.y___19612 = (s.y0___19582); case 4: - r0 = (s.y___19586 <= s.yn___19563); + r0 = (s.y___19612 <= s.yn___19589); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } s.tmp_1 = tiles_TileMapData_getTile__P2724_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___19580; - s.tmp_1.arg2 = s.y___19586; + s.tmp_1.arg1 = s.x___19606; + s.tmp_1.arg2 = s.y___19612; s.callLocIdx = 885; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___19592 = (r0); + s.index___19618 = (r0); s.tmp_0 = tiles_TileMapData_getTileImage__P2727_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___19592; + s.tmp_0.arg1 = s.index___19618; s.callLocIdx = 886; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___19599 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___19599); + s.tile___19625 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___19625); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___19599; - r0 = (s.x___19580 - s.x0___19532); + s.tmp_1 = r0 = s.tile___19625; + r0 = (s.x___19606 - s.x0___19558); s.tmp_4 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_5 = r0; r0 = (s.tmp_4 << s.tmp_5); s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offsetX___19522); + r0 = (s.tmp_3 - s.offsetX___19548); s.tmp_2 = r0; - r0 = (s.y___19586 - s.y0___19556); + r0 = (s.y___19612 - s.y0___19582); s.tmp_8 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_9 = r0; r0 = (s.tmp_8 << s.tmp_9); s.tmp_7 = r0; - r0 = (s.tmp_7 - s.offsetY___19527); + r0 = (s.tmp_7 - s.offsetY___19553); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); case 5: case 6: - r0 = (s.y___19586 + 1); - s.y___19586 = (r0); + r0 = (s.y___19612 + 1); + s.y___19612 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___19580 + 1); - s.x___19580 = (r0); + r0 = (s.x___19606 + 1); + s.x___19606 = (r0); { step = 3; continue; } case 8: r0 = pxsim_numops_toBoolDecr(globals.debug___2968); if (!r0) { step = 21; continue; } - s.x___19635 = (s.x0___19532); + s.x___19661 = (s.x0___19558); case 9: - r0 = (s.x___19635 <= s.xn___19539); + r0 = (s.x___19661 <= s.xn___19565); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___19635 - s.x0___19532); + r0 = (s.x___19661 - s.x0___19558); s.tmp_2 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; r0 = (s.tmp_2 << s.tmp_3); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.offsetX___19522); - s.xLine___19641 = (r0); - r0 = (s.xLine___19641 >= 0); + r0 = (s.tmp_1 - s.offsetX___19548); + s.xLine___19667 = (r0); + r0 = (s.xLine___19667 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 10; continue; } r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_1 = r0 = s.xLine___19641; + s.tmp_1 = r0 = s.xLine___19667; r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -36975,9 +36975,9 @@ switch (step) { if (!r0) { step = 12; continue; } s.tmp_4 = helpers_imageDrawLine__P1959_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___19641; + s.tmp_4.arg1 = s.xLine___19667; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___19641; + s.tmp_4.arg3 = s.xLine___19667; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -36986,32 +36986,32 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___19635 + 1); - s.x___19635 = (r0); + r0 = (s.x___19661 + 1); + s.x___19661 = (r0); { step = 9; continue; } case 14: - s.y___19667 = (s.y0___19556); + s.y___19693 = (s.y0___19582); case 15: - r0 = (s.y___19667 <= s.yn___19563); + r0 = (s.y___19693 <= s.yn___19589); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___19667 - s.y0___19556); + r0 = (s.y___19693 - s.y0___19582); s.tmp_2 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; r0 = (s.tmp_2 << s.tmp_3); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.offsetY___19527); - s.yLine___19673 = (r0); - r0 = (s.yLine___19673 >= 0); + r0 = (s.tmp_1 - s.offsetY___19553); + s.yLine___19699 = (r0); + r0 = (s.yLine___19699 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - s.tmp_1 = r0 = s.yLine___19673; + s.tmp_1 = r0 = s.yLine___19699; r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -37023,18 +37023,18 @@ switch (step) { s.tmp_4 = helpers_imageDrawLine__P1959_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___19673; + s.tmp_4.arg2 = s.yLine___19699; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___19673; + s.tmp_4.arg4 = s.yLine___19699; s.tmp_4.arg5 = 1; s.callLocIdx = 892; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___19667 + 1); - s.y___19667 = (r0); + r0 = (s.y___19693 + 1); + s.y___19693 = (r0); { step = 15; continue; } case 20: case 21: @@ -37061,21 +37061,21 @@ function tiles_TileMap_draw__P4933_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___19516: undefined, - offsetX___19522: undefined, - offsetY___19527: undefined, - x0___19532: undefined, - xn___19539: undefined, - y0___19556: undefined, - yn___19563: undefined, - x___19580: undefined, - y___19586: undefined, - index___19592: undefined, - tile___19599: undefined, - x___19635: undefined, - xLine___19641: undefined, - y___19667: undefined, - yLine___19673: undefined, + bitmask___19542: undefined, + offsetX___19548: undefined, + offsetY___19553: undefined, + x0___19558: undefined, + xn___19565: undefined, + y0___19582: undefined, + yn___19589: undefined, + x___19606: undefined, + y___19612: undefined, + index___19618: undefined, + tile___19625: undefined, + x___19661: undefined, + xLine___19667: undefined, + y___19693: undefined, + yLine___19699: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37451,8 +37451,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___19430 = undefined; - s.oy___19438 = undefined; + s.ox___19456 = undefined; + s.oy___19464 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37473,7 +37473,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___19430 = (s.tmp_2); + s.ox___19456 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37487,14 +37487,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___19438 = (s.tmp_2); + s.oy___19464 = (s.tmp_2); s.tmp_3 = Sprite_right__P2402_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 379; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___19430); + r0 = (s.tmp_2 - s.ox___19456); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -37509,7 +37509,7 @@ switch (step) { case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___19438); + r0 = (s.tmp_5 - s.oy___19464); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -37526,7 +37526,7 @@ switch (step) { case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___19430); + r0 = (s.tmp_9 - s.ox___19456); s.tmp_8 = r0; r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_11 = r0; @@ -37545,7 +37545,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___19438); + r0 = (s.tmp_14 - s.oy___19464); s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_16 = r0; @@ -37582,8 +37582,8 @@ function Sprite_isOutOfScreen__P2415_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___19430: undefined, - oy___19438: undefined, + ox___19456: undefined, + oy___19464: undefined, arg0: undefined, arg1: undefined, } } @@ -38109,8 +38109,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___19711 = undefined; - s.b___19715 = undefined; + s.ctrl___19737 = undefined; + s.b___19741 = undefined; s.unnamed74___U2 = undefined; s.unnamed75___U3 = undefined; if (s.lambdaArgs) { @@ -38123,9 +38123,9 @@ switch (step) { s.callLocIdx = 197; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___19711 = (r0); - s.b___19715 = (undefined); - r0 = s.ctrl___19711.fields["buttons"]; + s.ctrl___19737 = (r0); + s.b___19741 = (undefined); + r0 = s.ctrl___19737.fields["buttons"]; s.unnamed74___U2 = (r0); s.unnamed75___U3 = (0); case 1: @@ -38135,9 +38135,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); - s.b___19715 = (r0); + s.b___19741 = (r0); s.tmp_3 = controller_Button__C2190_v0_1_mk(s); - s.tmp_3.arg0 = s.b___19715; + s.tmp_3.arg0 = s.b___19741; if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2190_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 7; return s.tmp_3; @@ -38171,8 +38171,8 @@ function controller_AnyButton_isPressed__P4794_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - ctrl___19711: undefined, - b___19715: undefined, + ctrl___19737: undefined, + b___19741: undefined, unnamed74___U2: undefined, unnamed75___U3: undefined, arg0: undefined, @@ -38579,7 +38579,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___9352 = undefined; + s.scale___9378 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -38593,12 +38593,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___9352 = (r0); + s.scale___9378 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___9352); + r0 = (s.tmp_1 << s.scale___9378); s.tmp_0 = r0; - r0 = (s.scale___9352 - 1); + r0 = (s.scale___9378 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38618,7 +38618,7 @@ function tiles_Location_y__P2700_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - scale___9352: undefined, + scale___9378: undefined, arg0: undefined, } } @@ -38636,7 +38636,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___9372 = undefined; + s.scale___9398 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -38650,12 +38650,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___9372 = (r0); + s.scale___9398 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___9372); + r0 = (s.tmp_1 << s.scale___9398); s.tmp_0 = r0; - r0 = (s.scale___9372 - 1); + r0 = (s.scale___9398 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38675,7 +38675,7 @@ function tiles_Location_x__P2699_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - scale___9372: undefined, + scale___9398: undefined, arg0: undefined, } } @@ -38693,7 +38693,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___19762 = undefined; + s.pImage___19788 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38713,12 +38713,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___19762 = (r0); + s.pImage___19788 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___19762, 15, s.tmp_0); + r0 = pxsim_ImageMethods.replace(s.pImage___19788, 15, s.tmp_0); s.tmp_0 = r0 = globals.screen___2033; - s.tmp_1 = r0 = s.pImage___19762; + s.tmp_1 = r0 = s.pImage___19788; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -38757,7 +38757,7 @@ function particles_ShapeFactory_drawParticle__P3234_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___19762: undefined, + pImage___19788: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38856,7 +38856,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___19808 = undefined; + s.col___19834 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38892,7 +38892,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___19808 = (s.tmp_5); + s.col___19834 = (s.tmp_5); s.tmp_0 = r0 = globals.screen___2033; r0 = (s.arg2 + 128); s.tmp_2 = r0; @@ -38902,7 +38902,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___19808); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___19834); r0 = undefined; return leave(s, r0) default: oops() @@ -38920,7 +38920,7 @@ function particles_AreaFactory_drawParticle__P3222_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___19808: undefined, + col___19834: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39095,10 +39095,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___19848 = undefined; - s.oy___19856 = undefined; - s.l___19864 = undefined; - s.t___19870 = undefined; + s.ox___19874 = undefined; + s.oy___19882 = undefined; + s.l___19890 = undefined; + s.t___19896 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39137,7 +39137,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___19848 = (s.tmp_4); + s.ox___19874 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39151,31 +39151,31 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___19856 = (s.tmp_2); + s.oy___19882 = (s.tmp_2); s.tmp_2 = Sprite_left__P2400_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___19848); + r0 = (s.tmp_1 - s.ox___19874); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___19864 = (r0); + s.l___19890 = (r0); s.tmp_2 = Sprite_top__P2404_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___19856); + r0 = (s.tmp_1 - s.oy___19882); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___19870 = (r0); + s.t___19896 = (r0); s.tmp_0 = Sprite__C2342_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___19864; - s.tmp_0.arg2 = s.t___19870; + s.tmp_0.arg1 = s.l___19890; + s.tmp_0.arg2 = s.t___19896; if (!checkSubtype(s.tmp_0.arg0, Sprite__C2342_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite; s.pc = 12; return s.tmp_0; @@ -39183,10 +39183,10 @@ switch (step) { r0 = s.retval; s.tmp_0 = Sprite_drawDebug__P4815_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___19864; - s.tmp_0.arg2 = s.t___19870; - s.tmp_0.arg3 = s.ox___19848; - s.tmp_0.arg4 = s.oy___19856; + s.tmp_0.arg1 = s.l___19890; + s.tmp_0.arg2 = s.t___19896; + s.tmp_0.arg3 = s.ox___19874; + s.tmp_0.arg4 = s.oy___19882; s.callLocIdx = 387; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -39207,10 +39207,10 @@ function Sprite___drawCore__P2416_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - ox___19848: undefined, - oy___19856: undefined, - l___19864: undefined, - t___19870: undefined, + ox___19874: undefined, + oy___19882: undefined, + l___19890: undefined, + t___19896: undefined, arg0: undefined, arg1: undefined, } } @@ -39323,9 +39323,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___19894 = undefined; - s.tx___19898 = undefined; - s.ty___19900 = undefined; + s.font___19920 = undefined; + s.tx___19924 = undefined; + s.ty___19926 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39342,8 +39342,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.font___19894 = (globals.font5___1981); - s.tx___19898 = (s.arg1); + s.font___19920 = (globals.font5___1981); + s.tx___19924 = (s.arg1); s.tmp_1 = r0 = s.arg2; s.tmp_3 = Sprite_height__P2399_mk(s); s.tmp_3.arg0 = s.arg0; @@ -39354,7 +39354,7 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___19900 = (r0); + s.ty___19926 = (r0); s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = globals.screen___2033; r0 = pxsim_String_.mkEmpty(); @@ -39399,17 +39399,17 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_8); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___19898; - s.tmp_0.arg3 = s.ty___19900; + s.tmp_0.arg2 = s.tx___19924; + s.tmp_0.arg3 = s.ty___19926; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___19894; + s.tmp_0.arg5 = s.font___19920; s.tmp_0.arg6 = undefined; s.callLocIdx = 464; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___19898; + s.tmp_0 = r0 = s.tx___19924; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___19894; + s.tmp_2.arg0 = s.font___19920; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -39422,7 +39422,7 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___19898 = (r0); + s.tx___19924 = (r0); s.tmp_1 = Sprite_vx__P2359_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 466; s.pc = 20; return s.tmp_1; @@ -39444,9 +39444,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___19900; + s.tmp_4 = r0 = s.ty___19926; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___19894; + s.tmp_7.arg0 = s.font___19920; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39461,7 +39461,7 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___19900 = (r0); + s.ty___19926 = (r0); s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = globals.screen___2033; s.tmp_6 = Sprite_vx__P2359_mk(s); @@ -39504,10 +39504,10 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___19898; - s.tmp_0.arg3 = s.ty___19900; + s.tmp_0.arg2 = s.tx___19924; + s.tmp_0.arg3 = s.ty___19926; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___19894; + s.tmp_0.arg5 = s.font___19920; s.tmp_0.arg6 = undefined; s.callLocIdx = 471; s.pc = 23; return s.tmp_0; case 23: @@ -39535,9 +39535,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___19900; + s.tmp_4 = r0 = s.ty___19926; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___19894; + s.tmp_7.arg0 = s.font___19920; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39552,7 +39552,7 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___19900 = (r0); + s.ty___19926 = (r0); s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = globals.screen___2033; s.tmp_6 = Sprite_ax__P2363_mk(s); @@ -39595,10 +39595,10 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___19898; - s.tmp_0.arg3 = s.ty___19900; + s.tmp_0.arg2 = s.tx___19924; + s.tmp_0.arg3 = s.ty___19926; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___19894; + s.tmp_0.arg5 = s.font___19920; s.tmp_0.arg6 = undefined; s.callLocIdx = 477; s.pc = 31; return s.tmp_0; case 31: @@ -39681,9 +39681,9 @@ function Sprite_drawDebug__P4815_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___19894: undefined, - tx___19898: undefined, - ty___19900: undefined, + font___19920: undefined, + tx___19924: undefined, + ty___19926: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -42354,5 +42354,5 @@ const sprites_BaseSpriteSayRenderer__C2260_VT = mkVTable({ const breakpoints = setupDebugger(1, []) -return _main___P21679 +return _main___P43366 }) diff --git a/assets/version.txt b/assets/version.txt index d5cc44d..8adc70f 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.7.2 \ No newline at end of file +0.8.0 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 7560087..b2a4311 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Tiles Advanced", - "version": "0.7.2", + "version": "0.8.0", "description": "", "dependencies": { "device": "*",