diff --git a/assets/js/binary.js b/assets/js/binary.js index 2c3b974..7bfddf1 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// 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% +// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.8.1","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/the-code-zone-tiles-advanced"} +// total=1243935 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___P43366(s) { +function _main___P20630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -439,15 +439,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___4469 = (undefined); - globals._pollEventQueue___4478 = (undefined); + globals._intervals___4470 = (undefined); + globals._pollEventQueue___4479 = (undefined); globals.minPriority___375 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P4481); - globals.listeners___4482 = (s.tmp_0); - globals.globalVolume___4535 = (null); - globals.playToneID___4542 = (0); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P4482); + globals.listeners___4483 = (s.tmp_0); + globals.globalVolume___4536 = (null); + globals.playToneID___4543 = (0); r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1627_VT); s.tmp_0 = r0; s.tmp_1 = music_Melody_constructor__P1630_mk(s); @@ -471,23 +471,23 @@ 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", _hex12043); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex12082); 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", _hex12045); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex12084); 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", _hex13434); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex13473); globals.font5___1981 = (s.tmp_0); - globals.__updated___4649 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P4652); - r0 = pxsim_pxtcore.setPalette(_hex4663); + globals.__updated___4650 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P4653); + r0 = pxsim_pxtcore.setPalette(_hex4664); r0 = pxsim_pxtcore.getConfig(2102, 160); s.tmp_0 = r0; r0 = pxsim_pxtcore.getConfig(2103, 120); @@ -495,14 +495,14 @@ switch (step) { r0 = pxsim.image.create(s.tmp_0, s.tmp_1); globals.screen___2033 = (r0); s.tmp_0 = control___screen_setupUpdate__P1995_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P4672; + s.tmp_0.arg0 = _screen_internal_inline__P4673; s.callLocIdx = 6; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___398 = (_screen_internal_inline__P4677); - globals.RUN_KEY___4682 = ("#run"); - globals.SCOPE_KEY___4683 = ("#scope"); - s.tmp_0 = settings_initScopes__P4694_mk(s); + globals.control_EventContext_onStats___398 = (_screen_internal_inline__P4678); + globals.RUN_KEY___4683 = ("#run"); + globals.SCOPE_KEY___4684 = ("#scope"); + s.tmp_0 = settings_initScopes__P4695_mk(s); s.callLocIdx = 7; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -612,16 +612,16 @@ switch (step) { r0 = s.retval; globals.player1___2124 = (r0); s.tmp_0 = game_addScenePopHandler__P3038_mk(s); - s.tmp_0.arg0 = controller_inline__P4722; + s.tmp_0.arg0 = controller_inline__P4723; s.callLocIdx = 23; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; s.tmp_0 = game_addScenePushHandler__P3036_mk(s); - s.tmp_0.arg0 = controller_inline__P4762; + s.tmp_0.arg0 = controller_inline__P4763; s.callLocIdx = 25; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4786_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4787_VT); s.tmp_0 = r0; s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; @@ -631,9 +631,9 @@ switch (step) { case 18: r0 = s.retval; globals.anyButton___2171 = (s.tmp_0); - globals._userEventsEnabled___4800 = (true); - globals.defaultRepeatDelay___4802 = (500); - globals.defaultRepeatInterval___4804 = (30); + globals._userEventsEnabled___4801 = (true); + globals.defaultRepeatDelay___4803 = (500); + globals.defaultRepeatInterval___4805 = (30); s.tmp_0 = SpriteKind_create__P2480_mk(s); s.callLocIdx = 27; s.pc = 19; return s.tmp_0; case 19: @@ -653,66 +653,66 @@ switch (step) { s.tmp_0 = r0; r0 = (s.tmp_0 | 0); globals.MIN_MOVE_GAP___2522 = (r0); - globals.infoState___4869 = (undefined); + globals.infoState___4870 = (undefined); s.tmp_0 = game_addScenePushHandler__P3036_mk(s); - s.tmp_0.arg0 = info_inline__P4873; + s.tmp_0.arg0 = info_inline__P4874; s.callLocIdx = 31; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; s.tmp_0 = game_addScenePopHandler__P3038_mk(s); - s.tmp_0.arg0 = info_inline__P4888; + s.tmp_0.arg0 = info_inline__P4889; s.callLocIdx = 35; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; r0 = pxsim_Array__mk(); globals.scene_Scene_initializers___2866 = (r0); - r0 = pxsim.image.ofBuffer(_hex4978); - globals.img_trophy_sm___4979 = (r0); - r0 = pxsim.image.ofBuffer(_hex4981); - globals.img_trophy_lg___4982 = (r0); - r0 = pxsim.image.ofBuffer(_hex4984); - globals.img_sleepy_sim___4985 = (r0); + r0 = pxsim.image.ofBuffer(_hex4979); + globals.img_trophy_sm___4980 = (r0); + r0 = pxsim.image.ofBuffer(_hex4982); + globals.img_trophy_lg___4983 = (r0); + r0 = pxsim.image.ofBuffer(_hex4985); + globals.img_sleepy_sim___4986 = (r0); globals.debug___2968 = (false); globals.stats___2969 = (false); - globals.gameOverConfig___3016 = (gameOverConfig_inline__P4997); - s.tmp_0 = scene_systemMenu_initVolume__P5271_mk(s); + globals.gameOverConfig___3016 = (gameOverConfig_inline__P4998); + s.tmp_0 = scene_systemMenu_initVolume__P5272_mk(s); s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P5272_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P5273_mk(s); s.callLocIdx = 38; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = pxsim_Array__push(globals.scene_Scene_initializers___2866, scene_systemMenu_register__P3124); - r0 = pxsim.image.ofBuffer(_hex5279); + r0 = pxsim.image.ofBuffer(_hex5280); globals.CARD_NORMAL___3129 = (r0); - r0 = pxsim.image.ofBuffer(_hex5281); + r0 = pxsim.image.ofBuffer(_hex5282); globals.CARD_SELECTED___3130 = (r0); - r0 = pxsim.image.ofBuffer(_hex5283); + r0 = pxsim.image.ofBuffer(_hex5284); globals.CARD_ACTIVE___3131 = (r0); - r0 = pxsim.image.ofBuffer(_hex5285); + r0 = pxsim.image.ofBuffer(_hex5286); globals.VOLUME_UP_ICON___3132 = (r0); - r0 = pxsim.image.ofBuffer(_hex5287); + r0 = pxsim.image.ofBuffer(_hex5288); globals.BRIGHTNESS_DOWN_ICON___3133 = (r0); - r0 = pxsim.image.ofBuffer(_hex5289); + r0 = pxsim.image.ofBuffer(_hex5290); globals.CLOSE_MENU_ICON___3134 = (r0); - r0 = pxsim.image.ofBuffer(_hex5291); + r0 = pxsim.image.ofBuffer(_hex5292); globals.VOLUME_DOWN_ICON___3135 = (r0); - r0 = pxsim.image.ofBuffer(_hex5293); + r0 = pxsim.image.ofBuffer(_hex5294); globals.SLEEP_ICON___3136 = (r0); - r0 = pxsim.image.ofBuffer(_hex5295); + r0 = pxsim.image.ofBuffer(_hex5296); globals.CONSOLE_ICON___3137 = (r0); - r0 = pxsim.image.ofBuffer(_hex5297); + r0 = pxsim.image.ofBuffer(_hex5298); globals.BRIGHTNESS_UP_ICON___3138 = (r0); - r0 = pxsim.image.ofBuffer(_hex5299); + r0 = pxsim.image.ofBuffer(_hex5300); globals.STATS_ICON___3139 = (r0); - globals.consoleColor___5302 = (1); - globals.tabSize___5305 = (8); - globals.consoleFont___5311 = (globals.font5___1981); + globals.consoleColor___5303 = (1); + globals.tabSize___5306 = (8); + globals.consoleFont___5312 = (globals.font5___1981); r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___5311; + s.tmp_5.arg0 = globals.consoleFont___5312; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -731,13 +731,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___5316 = (r0); + globals.consoleLines___5317 = (r0); r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_2 - 8); s.tmp_1 = r0; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___5311; + s.tmp_4.arg0 = globals.consoleFont___5312; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -752,19 +752,19 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___5326 = (r0); + globals.consoleColumns___5327 = (r0); s.tmp_0 = console_addListener__P383_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P5338; + s.tmp_0.arg0 = game_consoleOverlay_listener__P5339; s.callLocIdx = 41; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P15957; + s.tmp_0.argL = MAX_SOURCES_inline__P15996; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 43; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - globals.MAX_SOURCES___5340 = (r0); + globals.MAX_SOURCES___5341 = (r0); r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C3209_VT); s.tmp_0 = r0; s.tmp_1 = particles_SprayFactory_constructor__P3210_mk(s); @@ -784,8 +784,8 @@ switch (step) { s.callLocIdx = 45; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - globals.galois___5360 = (s.tmp_0); - globals.angleSlice___5368 = (0.06283185307179587); + globals.galois___5361 = (s.tmp_0); + globals.angleSlice___5369 = (0.06283185307179587); r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C3284_VT); s.tmp_0 = r0; s.tmp_1 = effects_ScreenEffect_constructor__P3285_mk(s); @@ -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__P15715; + s.tmp_1.arg4 = confetti_inline__P15754; 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__P14276; + s.tmp_1.arg2 = dissolve_inline__P14315; 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__P15661; + s.tmp_1.arg2 = melt_inline__P15700; 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___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 = [ ] +_main___P20630.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-sprite-data/main.ts","functionName":"
","argumentNames":[]} +_main___P20630.continuations = [ ] -function _main___P43366_mk(s) { +function _main___P20630_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P43366, depth: s.depth + 1, + parent: s, fn: _main___P20630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -847,29 +847,29 @@ function _main___P43366_mk(s) { tmp_5: undefined, } } -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") -const _hex4984 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex5279 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex5281 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex5283 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex5285 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5287 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5289 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5291 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5293 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5295 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5297 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5299 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex12082 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex12084 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex13473 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex4664 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex4979 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex4982 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex4985 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex5280 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex5282 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex5284 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex5286 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5288 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5290 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5292 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5294 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5296 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5298 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5300 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P4652(s) { +function control___screen_inline__P4653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -882,13 +882,13 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___4649 = (false); + globals.__updated___4650 = (false); s.tmp_0 = pause__P413_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___4649); + r0 = pxsim_numops_toBoolDecr(globals.__updated___4650); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -898,7 +898,7 @@ switch (step) { s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___4649 = (true); + globals.__updated___4650 = (true); case 2: case 3: { step = 1; continue; } @@ -907,12 +907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P4652.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +control___screen_inline__P4653.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function control___screen_inline__P4652_mk(s) { +function control___screen_inline__P4653_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P4652, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P4653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -923,7 +923,7 @@ function control___screen_inline__P4652_mk(s) { -function _screen_internal_inline__P4672(s) { +function _screen_internal_inline__P4673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -938,12 +938,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4672.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +_screen_internal_inline__P4673.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function _screen_internal_inline__P4672_mk(s) { +function _screen_internal_inline__P4673_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4672, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P4673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -951,7 +951,7 @@ function _screen_internal_inline__P4672_mk(s) { -function _screen_internal_inline__P4677(s) { +function _screen_internal_inline__P4678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -970,12 +970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4677.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +_screen_internal_inline__P4678.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function _screen_internal_inline__P4677_mk(s) { +function _screen_internal_inline__P4678_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4677, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P4678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -984,7 +984,7 @@ function _screen_internal_inline__P4677_mk(s) { -function controller_inline__P4722(s) { +function controller_inline__P4723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -994,16 +994,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___4723 = undefined; - s.i___4729 = undefined; - s.p___4735 = undefined; + s.stateWhenPushed___4724 = undefined; + s.i___4730 = undefined; + s.p___4736 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 19; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___4723 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___4723); + s.stateWhenPushed___4724 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___4724); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1012,24 +1012,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___4729 = (0); + s.i___4730 = (0); case 3: - s.tmp_1 = r0 = s.i___4729; - r0 = pxsim_Array__length(s.stateWhenPushed___4723); + s.tmp_1 = r0 = s.i___4730; + r0 = pxsim_Array__length(s.stateWhenPushed___4724); 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 = pxsim_Array__getAt(globals._players___4720, s.i___4729); - s.p___4735 = (r0); - s.tmp_0 = r0 = s.p___4735; + r0 = pxsim_Array__getAt(globals._players___4721, s.i___4730); + s.p___4736 = (r0); + s.tmp_0 = r0 = s.p___4736; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_Array__getAt(s.stateWhenPushed___4723, s.i___4729); + r0 = pxsim_Array__getAt(s.stateWhenPushed___4724, s.i___4730); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1039,7 +1039,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___4735.fields["_connected"]; + r0 = s.p___4736.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1055,7 +1055,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___4735.fields["_connected"]; + r0 = s.p___4736.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1066,13 +1066,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___4735.fields["_id"]; + r0 = s.p___4736.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___4729 + 1); - s.i___4729 = (r0); + r0 = (s.i___4730 + 1); + s.i___4730 = (r0); { step = 3; continue; } case 10: case 11: @@ -1080,12 +1080,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P4722.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P4723.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function controller_inline__P4722_mk(s) { +function controller_inline__P4723_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P4722, depth: s.depth + 1, + parent: s, fn: controller_inline__P4723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1102,16 +1102,16 @@ function controller_inline__P4722_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___4723: undefined, - i___4729: undefined, - p___4735: undefined, + stateWhenPushed___4724: undefined, + i___4730: undefined, + p___4736: undefined, } } -function controller_inline__P4762(s) { +function controller_inline__P4763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1121,7 +1121,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___4767 = undefined; + s.i___4768 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1130,43 +1130,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___4767 = (0); + s.i___4768 = (0); case 1: - s.tmp_1 = r0 = s.i___4767; - r0 = pxsim_Array__length(globals._players___4720); + s.tmp_1 = r0 = s.i___4768; + r0 = pxsim_Array__length(globals._players___4721); 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_Array__getAt(globals._players___4720, s.i___4767); + r0 = pxsim_Array__getAt(globals._players___4721, s.i___4768); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } r0 = s.arg0.fields["controllerConnectionState"]; s.tmp_4 = r0; - s.tmp_5 = r0 = s.i___4767; - r0 = pxsim_Array__getAt(globals._players___4720, s.i___4767); + s.tmp_5 = r0 = s.i___4768; + r0 = pxsim_Array__getAt(globals._players___4721, s.i___4768); s.tmp_7 = r0; r0 = s.tmp_7.fields["_connected"]; s.tmp_6 = r0; r0 = pxsim_Array_.setAt(s.tmp_4, s.tmp_5, s.tmp_6); case 2: case 3: - r0 = (s.i___4767 + 1); - s.i___4767 = (r0); + r0 = (s.i___4768 + 1); + s.i___4768 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P4762.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} +controller_inline__P4763.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} -function controller_inline__P4762_mk(s) { +function controller_inline__P4763_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P4762, depth: s.depth + 1, + parent: s, fn: controller_inline__P4763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1176,7 +1176,7 @@ function controller_inline__P4762_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___4767: undefined, + i___4768: undefined, arg0: undefined, } } @@ -1184,7 +1184,7 @@ function controller_inline__P4762_mk(s) { -function info_inline__P4873(s) { +function info_inline__P4874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1198,36 +1198,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___4869); + r0 = pxsim_numops_toBoolDecr(globals.infoState___4870); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4871); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4872); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.infoStateStack___4871 = (r0); + globals.infoStateStack___4872 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4869); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4870); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___4871, s.tmp_0); - globals.infoState___4869 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___4872, s.tmp_0); + globals.infoState___4870 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P4873.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P4874.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P4873_mk(s) { +function info_inline__P4874_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4873, depth: s.depth + 1, + parent: s, fn: info_inline__P4874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1238,7 +1238,7 @@ function info_inline__P4873_mk(s) { -function info_inline__P4888(s) { +function info_inline__P4889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1248,30 +1248,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___4889 = undefined; - s.nextState___4898 = undefined; + s.scene___4890 = undefined; + s.nextState___4899 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 32; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___4889 = (r0); - globals.infoState___4869 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___4871; + s.scene___4890 = (r0); + globals.infoState___4870 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___4872; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__length(globals.infoStateStack___4871); + r0 = pxsim_Array__length(globals.infoStateStack___4872); case 2: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - r0 = pxsim_Array_.pop(globals.infoStateStack___4871); - s.nextState___4898 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___4872); + s.nextState___4899 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___4898; + s.tmp_2.arg0 = s.nextState___4899; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1283,12 +1283,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___4889); + r0 = (s.tmp_1 == s.scene___4890); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_3 = if_state_1_mk(s); - s.tmp_3.arg0 = s.nextState___4898; + s.tmp_3.arg0 = s.nextState___4899; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1299,10 +1299,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___4869 = (r0); + globals.infoState___4870 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___4871, s.nextState___4898); + r0 = pxsim_Array__push(globals.infoStateStack___4872, s.nextState___4899); case 4: case 5: case 6: @@ -1310,26 +1310,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P4888.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P4889.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P4888_mk(s) { +function info_inline__P4889_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4888, depth: s.depth + 1, + parent: s, fn: info_inline__P4889, 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, - scene___4889: undefined, - nextState___4898: undefined, + scene___4890: undefined, + nextState___4899: undefined, } } -function gameOverConfig_inline__P4997(s) { +function gameOverConfig_inline__P4998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1339,7 +1339,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___4996); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___4997); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1352,19 +1352,19 @@ switch (step) { s.callLocIdx = 36; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___4996 = (s.tmp_2); + globals._gameOverConfig___4997 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___4996; + r0 = globals._gameOverConfig___4997; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P4997.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P4998.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function gameOverConfig_inline__P4997_mk(s) { +function gameOverConfig_inline__P4998_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P4997, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P4998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1386,12 +1386,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P5012_mk(s); + s.tmp_0 = game_init__P5013_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1013; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1015; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___5004.fields["eventContext"]; + r0 = globals._scene___5005.fields["eventContext"]; return leave(s, r0) default: oops() } } } @@ -1409,7 +1409,7 @@ function game_eventContext__P3020_mk(s) { -function game_init__P5012(s) { +function game_init__P5013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1423,7 +1423,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___5004); + r0 = pxsim_numops_toBoolDecr(globals._scene___5005); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1443,32 +1443,32 @@ switch (step) { s.tmp_4 = scene_Scene_constructor__P2867_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_5 = control_pushEventContext__P409_mk(s); - s.callLocIdx = 1014; s.pc = 6; return s.tmp_5; + s.callLocIdx = 1016; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___5004; - s.callLocIdx = 1015; s.pc = 5; return s.tmp_4; + s.tmp_4.arg2 = globals._scene___5005; + s.callLocIdx = 1017; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - globals._scene___5004 = (s.tmp_3); + globals._scene___5005 = (s.tmp_3); case 3: case 4: s.tmp_0 = scene_Scene_init__P2868_mk(s); - s.tmp_0.arg0 = globals._scene___5004; - s.callLocIdx = 1016; s.pc = 7; return s.tmp_0; + s.tmp_0.arg0 = globals._scene___5005; + s.callLocIdx = 1018; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P5012.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P5013.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P5012_mk(s) { +function game_init__P5013_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P5012, depth: s.depth + 1, + parent: s, fn: game_init__P5013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1507,7 +1507,7 @@ switch (step) { case 1: case 2: s.tmp_1 = power_poke__P1930_mk(s); - s.callLocIdx = 977; s.pc = 4; return s.tmp_1; + s.callLocIdx = 979; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -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__P11268); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11307); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1523,7 +1523,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 980; s.pc = 5; return s.tmp_1; + s.callLocIdx = 982; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1531,10 +1531,10 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; s.tmp_0.arg2 = controller__moveSprites__P2134; - s.callLocIdx = 981; s.pc = 6; return s.tmp_0; + s.callLocIdx = 983; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11292); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11331); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1542,10 +1542,10 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 983; s.pc = 7; return s.tmp_1; + s.callLocIdx = 985; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11305); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11344); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1553,10 +1553,10 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 987; s.pc = 8; return s.tmp_1; + s.callLocIdx = 989; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11326); + 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 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1564,10 +1564,10 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 989; s.pc = 9; return s.tmp_1; + s.callLocIdx = 991; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11334); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11373); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1575,7 +1575,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 993; s.pc = 10; return s.tmp_1; + s.callLocIdx = 995; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); @@ -1583,24 +1583,24 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; s.tmp_0.arg2 = control___screen_update__P1994; - s.callLocIdx = 994; s.pc = 11; return s.tmp_0; + s.callLocIdx = 996; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = multiplayer_initServer__P3406_mk(s); - s.callLocIdx = 995; s.pc = 12; return s.tmp_0; + s.callLocIdx = 997; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; s.tmp_0 = multiplayer_initPlayerConnectionListeners__P3407_mk(s); - s.callLocIdx = 996; s.pc = 13; return s.tmp_0; + s.callLocIdx = 998; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11365); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11404); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P109_mk(s); s.tmp_1.arg0 = globals.scene_Scene_initializers___2866; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 998; s.pc = 14; return s.tmp_1; + s.callLocIdx = 1000; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; case 3: @@ -1624,7 +1624,7 @@ function scene_Scene_init__P2868_mk(s) { -function scene_Scene_init_inline__P11268(s) { +function scene_Scene_init_inline__P11307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1650,19 +1650,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg0 = r0; - s.callLocIdx = 979; s.pc = 1; return s.tmp_0; + s.callLocIdx = 981; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_Scene_init_inline__P11307.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__P11268_mk(s) { +function scene_Scene_init_inline__P11307_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11268, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11307, 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__P11268_mk(s) { -function scene_Scene_init_inline__P11292(s) { +function scene_Scene_init_inline__P11331(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__P11292.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__P11331.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__P11292_mk(s) { +function scene_Scene_init_inline__P11331_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11292, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11331, 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__P11292_mk(s) { -function scene_Scene_init_inline__P11305(s) { +function scene_Scene_init_inline__P11344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1728,80 +1728,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___11306 = undefined; - s.s___11314 = undefined; - s.unnamed98___U2 = undefined; - s.unnamed99___U3 = undefined; + s.dt___11345 = undefined; + s.s___11353 = undefined; + s.unnamed100___U2 = undefined; + s.unnamed101___U3 = undefined; r0 = s.caps[0].fields["eventContext"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 1000); - s.dt___11306 = (r0); + s.dt___11345 = (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; + s.callLocIdx = 987; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___11314 = (undefined); + s.s___11353 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed98___U2 = (r0); - s.unnamed99___U3 = (0); + s.unnamed100___U2 = (r0); + s.unnamed101___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed99___U3; - r0 = pxsim_Array__length(s.unnamed98___U2); + s.tmp_0 = r0 = s.unnamed101___U3; + r0 = pxsim_Array__length(s.unnamed100___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed98___U2, s.unnamed99___U3); - s.s___11314 = (r0); + r0 = pxsim_Array__getAt(s.unnamed100___U2, s.unnamed101___U3); + s.s___11353 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___11314; + s.tmp_2.arg0 = s.s___11353; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___11306; + s.tmp_2.arg2 = s.dt___11345; 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; + s.callLocIdx = 988; s.pc = 4; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__update"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 986; s.pc = 4; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 986; s.pc = 4; return s.tmp_2;; } - else { s.callLocIdx = 986; s.pc = 4; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 988; s.pc = 4; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 988; s.pc = 4; return s.tmp_2;; } + else { s.callLocIdx = 988; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; - r0 = (s.unnamed99___U3 + 1); - s.unnamed99___U3 = (r0); + r0 = (s.unnamed101___U3 + 1); + s.unnamed101___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed98___U2 = (undefined); + s.unnamed100___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_Scene_init_inline__P11344.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__P11305_mk(s) { +function scene_Scene_init_inline__P11344_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11305, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___11306: undefined, - s___11314: undefined, - unnamed98___U2: undefined, - unnamed99___U3: undefined, + dt___11345: undefined, + s___11353: undefined, + unnamed100___U2: undefined, + unnamed101___U3: undefined, } } -function scene_Scene_init_inline__P11326(s) { +function scene_Scene_init_inline__P11365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1813,19 +1813,19 @@ switch (step) { s.tmp_0 = scene_Scene_render__P2873_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 988; s.pc = 1; return s.tmp_0; + s.callLocIdx = 990; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_Scene_init_inline__P11365.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__P11326_mk(s) { +function scene_Scene_init_inline__P11365_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11326, 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, } } @@ -1834,7 +1834,7 @@ function scene_Scene_init_inline__P11326_mk(s) { -function scene_Scene_init_inline__P11334(s) { +function scene_Scene_init_inline__P11373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1894,7 +1894,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); s.tmp_2.arg0 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 990; s.pc = 7; return s.tmp_2; + s.callLocIdx = 992; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: @@ -1912,23 +1912,23 @@ switch (step) { case 5: case 6: s.tmp_0 = game_consoleOverlay_draw__P3145_mk(s); - s.callLocIdx = 991; s.pc = 12; return s.tmp_0; + s.callLocIdx = 993; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; s.tmp_0 = power_checkDeepSleep__P1931_mk(s); - s.callLocIdx = 992; s.pc = 13; return s.tmp_0; + s.callLocIdx = 994; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_Scene_init_inline__P11373.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__P11334_mk(s) { +function scene_Scene_init_inline__P11373_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11334, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11373, 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__P11334_mk(s) { -function scene_Scene_init_inline__P11365(s) { +function scene_Scene_init_inline__P11404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1963,19 +1963,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 997; s.pc = 1; return s.tmp_0; + s.callLocIdx = 999; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +scene_Scene_init_inline__P11404.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__P11365_mk(s) { +function scene_Scene_init_inline__P11404_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11365, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P11404, 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___11368 = undefined; - s.p___11368 = (1); + s.p___11407 = undefined; + s.p___11407 = (1); case 1: - r0 = (s.p___11368 <= 4); + r0 = (s.p___11407 <= 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___11368; - s.callLocIdx = 1348; s.pc = 3; return s.tmp_1; + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P5461_mk(s); + s.tmp_1.arg0 = s.p___11407; + s.callLocIdx = 1350; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___11368 + 1); - s.p___11368 = (r0); + r0 = (s.p___11407 + 1); + s.p___11407 = (r0); { step = 1; continue; } case 2: r0 = undefined; @@ -2024,14 +2024,14 @@ function multiplayer_initPlayerConnectionListeners__P3407_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___11368: undefined, + p___11407: undefined, } } -function multiplayer_registerPlayerConnectionListeners__P5460(s) { +function multiplayer_registerPlayerConnectionListeners__P5461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2045,7 +2045,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11380); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11419); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_onEvent__P391_mk(s); @@ -2053,10 +2053,10 @@ switch (step) { s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; s.tmp_1.arg3 = 16; - s.callLocIdx = 1350; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1352; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11386); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11425); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_onEvent__P391_mk(s); @@ -2064,19 +2064,19 @@ switch (step) { s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; s.tmp_1.arg3 = 16; - s.callLocIdx = 1352; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1354; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P5460.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} +multiplayer_registerPlayerConnectionListeners__P5461.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} -function multiplayer_registerPlayerConnectionListeners__P5460_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P5461_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P5460, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P5461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2087,7 +2087,7 @@ function multiplayer_registerPlayerConnectionListeners__P5460_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11380(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2097,22 +2097,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5461_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5462_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 1349; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1351; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +multiplayer_registerPlayerConnectionListeners_inline__P11419.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__P11380_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11419_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11380, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11419, 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__P11380_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11386(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2131,22 +2131,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5461_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5462_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 1351; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1353; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +multiplayer_registerPlayerConnectionListeners_inline__P11425.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__P11386_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P11425_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11386, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2155,7 +2155,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P11386_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P5461(s) { +function multiplayer_receiveConnectionChangedEvent__P5462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2165,7 +2165,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___11391 = undefined; + s.c___11430 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2183,23 +2183,23 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___11391 = (globals.player1___2124); + s.c___11430 = (globals.player1___2124); { step = 5; continue; } case 2: - s.c___11391 = (globals.player2___2121); + s.c___11430 = (globals.player2___2121); { step = 5; continue; } case 3: - s.c___11391 = (globals.player3___2122); + s.c___11430 = (globals.player3___2122); { step = 5; continue; } case 4: - s.c___11391 = (globals.player4___2123); + s.c___11430 = (globals.player4___2123); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___11391); + r0 = pxsim_numops_toBoolDecr(s.c___11430); if (!r0) { step = 6; continue; } s.tmp_0 = controller_Controller_connected__P2157_mk(s); - s.tmp_0.arg0 = s.c___11391; + s.tmp_0.arg0 = s.c___11430; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1353; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1355; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 6: @@ -2208,15 +2208,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P5461.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} +multiplayer_receiveConnectionChangedEvent__P5462.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} -function multiplayer_receiveConnectionChangedEvent__P5461_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P5462_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P5461, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P5462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___11391: undefined, + c___11430: undefined, arg0: undefined, arg1: undefined, } } @@ -2297,7 +2297,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___4720); + r0 = pxsim_numops_toBoolDecr(globals._players___4721); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2306,7 +2306,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___4720, 0); + r0 = pxsim_Array__getAt(globals._players___4721, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -2336,7 +2336,7 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___4720, 0); + r0 = pxsim_Array__getAt(globals._players___4721, 0); return leave(s, r0) default: oops() } } } @@ -2371,9 +2371,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___11447 = undefined; - s.i___11455 = undefined; - s.i___11473 = undefined; + s.leftId___11486 = undefined; + s.i___11494 = undefined; + s.i___11512 = 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___11447 = (r0); - s.i___11455 = (0); + s.leftId___11486 = (r0); + s.i___11494 = (0); case 2: - r0 = (s.i___11455 < 7); + r0 = (s.i___11494 < 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___11447 + s.i___11455); + r0 = (s.leftId___11486 + s.i___11494); 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___11455 + 1); - s.i___11455 = (r0); + r0 = (s.i___11494 + 1); + s.i___11494 = (r0); { step = 2; continue; } case 3: case 4: - s.i___11473 = (0); + s.i___11512 = (0); case 5: - s.tmp_1 = r0 = s.i___11473; + s.tmp_1 = r0 = s.i___11512; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -2443,14 +2443,14 @@ 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___11473); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___11512); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___11473 + 1); - s.i___11473 = (r0); + r0 = (s.i___11512 + 1); + s.i___11512 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P4784_mk(s); + s.tmp_0 = controller_addController__P4785_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 159; s.pc = 8; return s.tmp_0; case 8: @@ -2472,9 +2472,9 @@ function controller_Controller_constructor__P2139_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___11447: undefined, - i___11455: undefined, - i___11473: undefined, + leftId___11486: undefined, + i___11494: undefined, + i___11512: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2484,7 +2484,7 @@ function controller_Controller_constructor__P2139_mk(s) { -function controller_addController__P4784(s) { +function controller_addController__P4785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2498,17 +2498,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___4720); + r0 = pxsim_numops_toBoolDecr(globals._players___4721); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals._players___4720 = (r0); + globals._players___4721 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___4720; + s.tmp_0 = r0 = globals._players___4721; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -2518,12 +2518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P4784.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P4785.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P4784_mk(s) { +function controller_addController__P4785_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P4784, depth: s.depth + 1, + parent: s, fn: controller_addController__P4785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2545,7 +2545,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___9933 = undefined; + s.ctx___9944 = 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___9933 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___9933); + s.ctx___9944 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___9944); 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___9933; + s.tmp_0.arg0 = s.ctx___9944; 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___9933: undefined, + ctx___9944: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2611,10 +2611,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4504); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4505); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___4504; - r0 = pxsim_Array__length(globals.eventContexts___4504); + s.tmp_0 = r0 = globals.eventContexts___4505; + r0 = pxsim_Array__length(globals.eventContexts___4505); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -2656,10 +2656,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___9956 = undefined; - s.unnamed72___U1 = undefined; - s.unnamed73___U2 = undefined; - s.hn___9979 = undefined; + s.h___9967 = undefined; + s.unnamed74___U1 = undefined; + s.unnamed75___U2 = undefined; + s.hn___9990 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2670,19 +2670,19 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___9956 = (undefined); + s.h___9967 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed72___U1 = (r0); - s.unnamed73___U2 = (0); + s.unnamed74___U1 = (r0); + s.unnamed75___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed73___U2; - r0 = pxsim_Array__length(s.unnamed72___U1); + s.tmp_0 = r0 = s.unnamed75___U2; + r0 = pxsim_Array__length(s.unnamed74___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed72___U1, s.unnamed73___U2); - s.h___9956 = (r0); - r0 = s.h___9956.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed74___U1, s.unnamed75___U2); + s.h___9967 = (r0); + r0 = s.h___9967.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___9956.fields["value"]; + r0 = s.h___9967.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -2699,19 +2699,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___9956).fields["flags"] = (s.arg4); - r0 = (s.h___9956).fields["handler"] = (s.arg3); + r0 = (s.h___9967).fields["flags"] = (s.arg4); + r0 = (s.h___9967).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed73___U2 + 1); - s.unnamed73___U2 = (r0); + r0 = (s.unnamed75___U2 + 1); + s.unnamed75___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed72___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C4496_VT); + s.unnamed74___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C4497_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P4499_mk(s); + s.tmp_1 = control_EventHandler_constructor__P4500_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -2720,12 +2720,12 @@ switch (step) { s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___9979 = (s.tmp_0); + s.hn___9990 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - 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___9979; + r0 = pxsim_Array__push(s.tmp_0, s.hn___9990); + s.tmp_0 = control_EventHandler_register__P4498_mk(s); + s.tmp_0.arg0 = s.hn___9990; 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___9956: undefined, - unnamed72___U1: undefined, - unnamed73___U2: undefined, - hn___9979: undefined, + h___9967: undefined, + unnamed74___U1: undefined, + unnamed75___U2: undefined, + hn___9990: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2762,7 +2762,7 @@ function control_EventContext_registerHandler__P405_mk(s) { -function control_EventHandler_constructor__P4499(s) { +function control_EventHandler_constructor__P4500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2781,7 +2781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4496_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C4497_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -2790,12 +2790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P4499.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} +control_EventHandler_constructor__P4500.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} -function control_EventHandler_constructor__P4499_mk(s) { +function control_EventHandler_constructor__P4500_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P4499, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P4500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2808,7 +2808,7 @@ function control_EventHandler_constructor__P4499_mk(s) { -function control_EventHandler_register__P4497(s) { +function control_EventHandler_register__P4498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2823,8 +2823,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4496_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P10000); + if (!checkSubtype(r0, control_EventHandler__C4497_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P10011); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -2838,12 +2838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P4497.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventHandler_register__P4498.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventHandler_register__P4497_mk(s) { +function control_EventHandler_register__P4498_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P4497, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P4498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2856,7 +2856,7 @@ function control_EventHandler_register__P4497_mk(s) { -function control_EventHandler_register_inline__P10000(s) { +function control_EventHandler_register_inline__P10011(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__P10000.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__P10011.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__P10000_mk(s) { +function control_EventHandler_register_inline__P10011_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P10000, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P10011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2922,13 +2922,13 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); s.tmp_3 = game_eventContext__P3020_mk(s); - s.callLocIdx = 1346; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1348; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 210; - s.tmp_2.arg2 = multiplayer_initServer_inline__P11548; - s.callLocIdx = 1347; s.pc = 3; return s.tmp_2; + s.tmp_2.arg2 = multiplayer_initServer_inline__P11587; + s.callLocIdx = 1349; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; case 1: @@ -2954,7 +2954,7 @@ function multiplayer_initServer__P3406_mk(s) { -function multiplayer_initServer_inline__P11548(s) { +function multiplayer_initServer_inline__P11587(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__P11548.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__P11587.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__P11548_mk(s) { +function multiplayer_initServer_inline__P11587_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P11548, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P11587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3002,16 +3002,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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___11636 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); + s.height___11640 = undefined; + s.top___11645 = undefined; + s.i___11651 = undefined; + s.t___11664 = undefined; + s.tOff___11671 = undefined; + s.tab___11673 = undefined; + s.unnamed104___U6 = undefined; + s.unnamed105___U7 = undefined; + s.padding___11675 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5304); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3020,7 +3020,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___5257); + r0 = pxsim_numops_toBoolDecr(globals.instance___5258); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -3036,23 +3036,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___5311; + s.tmp_7.arg0 = globals.consoleFont___5312; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1200; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1202; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___11601 = (r0); + s.height___11640 = (r0); r0 = pxsim_numops_toBoolDecr(globals.stats___2969); if (!r0) { step = 5; continue; } - r0 = s.height___11601; + r0 = s.height___11640; { 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___11606 = (r0); - s.i___11612 = (0); + s.top___11645 = (r0); + s.i___11651 = (0); case 7: - s.tmp_1 = r0 = s.i___11612; - r0 = pxsim_Array__length(globals.consoleStrings___5303); + s.tmp_1 = r0 = s.i___11651; + r0 = pxsim_Array__length(globals.consoleStrings___5304); 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___11612); + r0 = pxsim_Array__getAt(globals.consoleStrings___5304, s.i___11651); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -3079,49 +3079,49 @@ 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___11612); + r0 = pxsim_Array__getAt(globals.consoleStrings___5304, s.i___11651); 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; + s.callLocIdx = 1203; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___11625 = (r0); - s.tOff___11632 = (0); - s.tab___11634 = (undefined); - s.unnamed102___U6 = (s.t___11625); - s.unnamed103___U7 = (0); + s.t___11664 = (r0); + s.tOff___11671 = (0); + s.tab___11673 = (undefined); + s.unnamed104___U6 = (s.t___11664); + s.unnamed105___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed103___U7; - r0 = pxsim_Array__length(s.unnamed102___U6); + s.tmp_0 = r0 = s.unnamed105___U7; + r0 = pxsim_Array__length(s.unnamed104___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed102___U6, s.unnamed103___U7); - s.tab___11634 = (r0); - s.tmp_2 = r0 = globals.tabSize___5305; - s.tmp_5 = r0 = s.tOff___11632; - r0 = pxsim_String_.length(s.tab___11634); + r0 = pxsim_Array__getAt(s.unnamed104___U6, s.unnamed105___U7); + s.tab___11673 = (r0); + s.tmp_2 = r0 = globals.tabSize___5306; + s.tmp_5 = r0 = s.tOff___11671; + r0 = pxsim_String_.length(s.tab___11673); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___5305); + r0 = (s.tmp_4 % globals.tabSize___5306); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___11636 = (r0); + s.padding___11675 = (r0); s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = globals.screen___2033; - s.tmp_0.arg1 = s.tab___11634; - s.tmp_2 = r0 = s.tOff___11632; + s.tmp_0.arg1 = s.tab___11673; + s.tmp_2 = r0 = s.tOff___11671; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___5311; + s.tmp_4.arg0 = globals.consoleFont___5312; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1202; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1204; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -3130,50 +3130,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___11606; - r0 = (s.i___11612 * s.height___11601); + s.tmp_5 = r0 = s.top___11645; + r0 = (s.i___11651 * s.height___11640); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___5302; - s.tmp_0.arg5 = globals.consoleFont___5311; + s.tmp_0.arg4 = globals.consoleColor___5303; + s.tmp_0.arg5 = globals.consoleFont___5312; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1203; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1205; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___11632; - r0 = pxsim_String_.length(s.tab___11634); + s.tmp_0 = r0 = s.tOff___11671; + r0 = pxsim_String_.length(s.tab___11673); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___11636); + r0 = (s.tmp_2 + s.padding___11675); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___11632 = (r0); - r0 = (s.unnamed103___U7 + 1); - s.unnamed103___U7 = (r0); + s.tOff___11671 = (r0); + r0 = (s.unnamed105___U7 + 1); + s.unnamed105___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed102___U6 = (undefined); + s.unnamed104___U6 = (undefined); { step = 11; continue; } 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___11612); + r0 = pxsim_Array__getAt(globals.consoleStrings___5304, s.i___11651); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___11606; - r0 = (s.i___11612 * s.height___11601); + s.tmp_1 = r0 = s.top___11645; + r0 = (s.i___11651 * s.height___11640); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___5302; - s.tmp_0.arg5 = globals.consoleFont___5311; + s.tmp_0.arg4 = globals.consoleColor___5303; + s.tmp_0.arg5 = globals.consoleFont___5312; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1204; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1206; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___11612 + 1); - s.i___11612 = (r0); + r0 = (s.i___11651 + 1); + s.i___11651 = (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___11601: undefined, - top___11606: undefined, - i___11612: undefined, - t___11625: undefined, - tOff___11632: undefined, - tab___11634: undefined, - unnamed102___U6: undefined, - unnamed103___U7: undefined, - padding___11636: undefined, + height___11640: undefined, + top___11645: undefined, + i___11651: undefined, + t___11664: undefined, + tOff___11671: undefined, + tab___11673: undefined, + unnamed104___U6: undefined, + unnamed105___U7: undefined, + padding___11675: undefined, } } @@ -3221,7 +3221,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5257); + r0 = pxsim_numops_toBoolDecr(globals.instance___5258); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -3257,31 +3257,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.x0___11747 = undefined; + s.cp___11749 = undefined; + s.mult___11750 = undefined; + s.dataW___11755 = undefined; + s.dataH___11761 = undefined; + s.byteHeight___11767 = undefined; + s.charSize___11773 = undefined; + s.dataSize___11777 = undefined; + s.fontdata___11781 = undefined; + s.lastchar___11784 = undefined; + s.imgBuf___11791 = undefined; + s.xOffset___11815 = undefined; + s.yOffset___11816 = undefined; + s.ch___11831 = undefined; + s.l___11850 = undefined; + s.r___11851 = undefined; + s.off___11853 = undefined; + s.guess___11854 = undefined; + s.m___11873 = undefined; + s.v___11882 = undefined; + s.i___11938 = undefined; + s.j___11943 = undefined; + s.mask___11944 = undefined; + s.c___11945 = undefined; + s.n___11962 = 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___11708 = (s.arg2); - s.cp___11710 = (0); + s.x0___11747 = (s.arg2); + s.cp___11749 = (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___11711 = (s.tmp_3); + s.mult___11750 = (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___11711); - s.dataW___11716 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11750); + s.dataW___11755 = (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___11711); - s.dataH___11722 = (r0); - r0 = (s.dataH___11722 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11750); + s.dataH___11761 = (r0); + r0 = (s.dataH___11761 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - 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.byteHeight___11767 = (r0); + r0 = (s.byteHeight___11767 * s.dataW___11755); + s.charSize___11773 = (r0); + r0 = (2 + s.charSize___11773); + s.dataSize___11777 = (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___11742 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___11742); + s.fontdata___11781 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___11781); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___11738); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___11777); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___11745 = (r0); - r0 = (s.mult___11711 == 1); + s.lastchar___11784 = (r0); + r0 = (s.mult___11750 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___11734); + r0 = (8 + s.charSize___11773); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - 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); + s.imgBuf___11791 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11791, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11791, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11791, 2, s.dataW___11755); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___11791, 4, s.dataH___11761); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___11710; + s.tmp_1 = r0 = s.cp___11749; 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___11776 = (0); - s.yOffset___11777 = (0); + s.xOffset___11815 = (0); + s.yOffset___11816 = (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___11710; + s.tmp_1 = r0 = s.cp___11749; 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___11710); + r0 = pxsim_Array__getAt(s.arg6, s.cp___11749); 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___11776 = (r0); + s.xOffset___11815 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___11710); + r0 = pxsim_Array__getAt(s.arg6, s.cp___11749); 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___11777 = (r0); + s.yOffset___11816 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___11710; + s.tmp_0 = r0 = s.cp___11749; r0 = (s.tmp_0 + 1); - s.cp___11710 = (r0); + s.cp___11749 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___11792 = (r0); - r0 = (s.ch___11792 == 10); + s.ch___11831 = (r0); + r0 = (s.ch___11831 == 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___11708); + s.arg2 = (s.x0___11747); case 14: case 15: - r0 = (s.ch___11792 < 32); + r0 = (s.ch___11831 < 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___11811 = (0); - s.r___11812 = (s.lastchar___11745); - s.off___11814 = (0); - r0 = (s.ch___11792 - 32); + s.l___11850 = (0); + s.r___11851 = (s.lastchar___11784); + s.off___11853 = (0); + r0 = (s.ch___11831 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___11738); - s.guess___11815 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___11742, 4, s.guess___11815); + r0 = (s.tmp_0 * s.dataSize___11777); + s.guess___11854 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___11781, 4, s.guess___11854); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___11792); + r0 = (s.tmp_1 == s.ch___11831); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___11814 = (s.guess___11815); + s.off___11853 = (s.guess___11854); { step = 25; continue; } case 18: case 19: - r0 = (s.l___11811 <= s.r___11812); + r0 = (s.l___11850 <= s.r___11851); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___11811; - r0 = (s.r___11812 - s.l___11811); + s.tmp_1 = r0 = s.l___11850; + r0 = (s.r___11851 - s.l___11850); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___11834 = (r0); - s.tmp_0 = r0 = s.fontdata___11742; - r0 = (s.m___11834 * s.dataSize___11738); + s.m___11873 = (r0); + s.tmp_0 = r0 = s.fontdata___11781; + r0 = (s.m___11873 * s.dataSize___11777); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___11843 = (r0); - r0 = (s.v___11843 == s.ch___11792); + s.v___11882 = (r0); + r0 = (s.v___11882 == s.ch___11831); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___11834 * s.dataSize___11738); - s.off___11814 = (r0); + r0 = (s.m___11873 * s.dataSize___11777); + s.off___11853 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___11843 < s.ch___11792); + r0 = (s.v___11882 < s.ch___11831); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___11834 + 1); - s.l___11811 = (r0); + r0 = (s.m___11873 + 1); + s.l___11850 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___11834 - 1); - s.r___11812 = (r0); + r0 = (s.m___11873 - 1); + s.r___11851 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___11711 == 1); + r0 = (s.mult___11750 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___11752; - s.tmp_3 = r0 = s.fontdata___11742; - r0 = (s.off___11814 + 2); + s.tmp_1 = r0 = s.imgBuf___11791; + s.tmp_3 = r0 = s.fontdata___11781; + r0 = (s.off___11853 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___11734); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___11773); 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___11752; - r0 = (s.arg2 + s.xOffset___11776); + s.tmp_0.arg1 = s.imgBuf___11791; + r0 = (s.arg2 + s.xOffset___11815); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___11777); + r0 = (s.arg3 + s.yOffset___11816); 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___11814 + 2); - s.off___11814 = (r0); - s.i___11899 = (0); + r0 = (s.off___11853 + 2); + s.off___11853 = (r0); + s.i___11938 = (0); case 27: - r0 = (s.i___11899 < s.dataW___11716); + r0 = (s.i___11938 < s.dataW___11755); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___11904 = (0); - s.mask___11905 = (1); - s.tmp_0 = r0 = s.off___11814; + s.j___11943 = (0); + s.mask___11944 = (1); + s.tmp_0 = r0 = s.off___11853; r0 = (s.tmp_0 + 1); - s.off___11814 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11742, s.tmp_0); - s.c___11906 = (r0); + s.off___11853 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___11781, s.tmp_0); + s.c___11945 = (r0); case 28: - r0 = (s.j___11904 < s.dataH___11722); + r0 = (s.j___11943 < s.dataH___11761); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___11905 == 256); + r0 = (s.mask___11944 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___11814; + s.tmp_2 = r0 = s.off___11853; r0 = (s.tmp_2 + 1); - s.off___11814 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11742, s.tmp_2); - s.c___11906 = (r0); - s.mask___11905 = (1); + s.off___11853 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___11781, s.tmp_2); + s.c___11945 = (r0); + s.mask___11944 = (1); case 29: case 30: - s.n___11923 = (0); + s.n___11962 = (0); case 31: - r0 = (s.c___11906 & s.mask___11905); + r0 = (s.c___11945 & s.mask___11944); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___11923 + 1); - s.n___11923 = (r0); - r0 = (s.mask___11905 << 1); - s.mask___11905 = (r0); + r0 = (s.n___11962 + 1); + s.n___11962 = (r0); + r0 = (s.mask___11944 << 1); + s.mask___11944 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___11923); + r0 = pxsim_numops_toBoolDecr(s.n___11962); 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___11776 * s.mult___11711); + r0 = (s.xOffset___11815 * s.mult___11750); 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___11904 + s.yOffset___11777); + r0 = (s.j___11943 + s.yOffset___11816); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___11711); + r0 = (s.tmp_5 * s.mult___11750); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___11711; - r0 = (s.mult___11711 * s.n___11923); + s.tmp_0.arg3 = s.mult___11750; + r0 = (s.mult___11750 * s.n___11962); 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___11904 + s.n___11923); - s.j___11904 = (r0); + r0 = (s.j___11943 + s.n___11962); + s.j___11943 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___11905 << 1); - s.mask___11905 = (r0); - r0 = (s.j___11904 + 1); - s.j___11904 = (r0); + r0 = (s.mask___11944 << 1); + s.mask___11944 = (r0); + r0 = (s.j___11943 + 1); + s.j___11943 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___11711); + r0 = (s.arg2 + s.mult___11750); s.arg2 = (r0); - r0 = (s.i___11899 + 1); - s.i___11899 = (r0); + r0 = (s.i___11938 + 1); + s.i___11938 = (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___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, + x0___11747: undefined, + cp___11749: undefined, + mult___11750: undefined, + dataW___11755: undefined, + dataH___11761: undefined, + byteHeight___11767: undefined, + charSize___11773: undefined, + dataSize___11777: undefined, + fontdata___11781: undefined, + lastchar___11784: undefined, + imgBuf___11791: undefined, + xOffset___11815: undefined, + yOffset___11816: undefined, + ch___11831: undefined, + l___11850: undefined, + r___11851: undefined, + off___11853: undefined, + guess___11854: undefined, + m___11873: undefined, + v___11882: undefined, + i___11938: undefined, + j___11943: undefined, + mask___11944: undefined, + c___11945: undefined, + n___11962: 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___12026 = undefined; + s.i___12065 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___12026 = (0); + s.i___12065 = (0); case 1: - s.tmp_1 = r0 = s.i___12026; + s.tmp_1 = r0 = s.i___12065; 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___12026); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___12065); 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___12026 + 1); - s.i___12026 = (r0); + r0 = (s.i___12065 + 1); + s.i___12065 = (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___12026: undefined, + i___12065: undefined, arg0: undefined, } } @@ -3839,14 +3839,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4641_mk(s); + s.tmp_2 = helpers_pack__P4642_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 80; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4641_mk(s); + s.tmp_4 = helpers_pack__P4642_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 81; s.pc = 2; return s.tmp_4; @@ -3882,7 +3882,7 @@ function helpers_imageFillRect__P1957_mk(s) { -function helpers_pack__P4641(s) { +function helpers_pack__P4642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3923,12 +3923,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P4641.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P4642.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P4641_mk(s) { +function helpers_pack__P4642_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P4641, depth: s.depth + 1, + parent: s, fn: helpers_pack__P4642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4101,7 +4101,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P4641_mk(s); + s.tmp_3 = helpers_pack__P4642_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 79; s.pc = 1; return s.tmp_3; @@ -4145,15 +4145,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.A___12088 = undefined; + s.lim___12090 = undefined; + s.s___12106 = undefined; + s.p___12109 = undefined; + s.R___12110 = undefined; + s.z___12124 = undefined; + s.T___12137 = undefined; + s.q___12138 = undefined; + s.e___12144 = 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___12049 = (r0); - s.lim___12051 = (0); + s.A___12088 = (r0); + s.lim___12090 = (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___12051 = (r0); + s.lim___12090 = (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___12051 = (0); + s.lim___12090 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___12051 = (r0); + s.lim___12090 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___12067 = (r0); - s.p___12070 = (0); - s.R___12071 = (s.arg1); - r0 = (s.lim___12051 == 0); + s.s___12106 = (r0); + s.p___12109 = (0); + s.R___12110 = (s.arg1); + r0 = (s.lim___12090 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___12049; + r0 = s.A___12088; { 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___12049, 0, s.arg0); - r0 = s.A___12049; + r0 = pxsim_Array_.setAt(s.A___12088, 0, s.arg0); + r0 = s.A___12088; { step = 21; continue; } case 7: case 8: - r0 = (s.s___12067 == 0); + r0 = (s.s___12106 == 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 = helpers_splitMatch__P4428_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___12071; + s.tmp_1.arg2 = s.R___12110; s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___12085 = (r0); - r0 = (s.z___12085 > -1); + s.z___12124 = (r0); + r0 = (s.z___12124 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___12049; + r0 = s.A___12088; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___12049, 0, s.arg0); - r0 = s.A___12049; + r0 = pxsim_Array_.setAt(s.A___12088, 0, s.arg0); + r0 = s.A___12088; { step = 21; continue; } case 11: case 12: - s.q___12099 = (s.p___12070); + s.q___12138 = (s.p___12109); case 13: - r0 = (s.q___12099 != s.s___12067); + r0 = (s.q___12138 != s.s___12106); 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 = helpers_splitMatch__P4428_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___12099; - s.tmp_1.arg2 = s.R___12071; + s.tmp_1.arg1 = s.q___12138; + s.tmp_1.arg2 = s.R___12110; s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___12105 = (r0); - r0 = (s.e___12105 < 0); + s.e___12144 = (r0); + r0 = (s.e___12144 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___12099 + 1); - s.q___12099 = (r0); + r0 = (s.q___12138 + 1); + s.q___12138 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___12105 == s.p___12070); + r0 = (s.e___12144 == s.p___12109); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___12099 + 1); - s.q___12099 = (r0); + r0 = (s.q___12138 + 1); + s.q___12138 = (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___12070; - s.tmp_0.arg2 = s.q___12099; + s.tmp_0.arg1 = s.p___12109; + s.tmp_0.arg2 = s.q___12138; s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___12098 = (r0); - r0 = pxsim_Array__push(s.A___12049, s.T___12098); - r0 = pxsim_Array__length(s.A___12049); + s.T___12137 = (r0); + r0 = pxsim_Array__push(s.A___12088, s.T___12137); + r0 = pxsim_Array__length(s.A___12088); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___12051); + r0 = (s.tmp_1 == s.lim___12090); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___12049; + r0 = s.A___12088; { step = 21; continue; } case 16: case 17: - s.p___12070 = (s.e___12105); - s.q___12099 = (s.p___12070); + s.p___12109 = (s.e___12144); + s.q___12138 = (s.p___12109); 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___12070; - s.tmp_0.arg2 = s.q___12099; + s.tmp_0.arg1 = s.p___12109; + s.tmp_0.arg2 = s.q___12138; s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___12098 = (r0); - r0 = pxsim_Array__push(s.A___12049, s.T___12098); - r0 = s.A___12049; + s.T___12137 = (r0); + r0 = pxsim_Array__push(s.A___12088, s.T___12137); + r0 = s.A___12088; 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___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, + A___12088: undefined, + lim___12090: undefined, + s___12106: undefined, + p___12109: undefined, + R___12110: undefined, + z___12124: undefined, + T___12137: undefined, + q___12138: undefined, + e___12144: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4324,7 +4324,7 @@ function helpers_stringSplit__P122_mk(s) { -function helpers_splitMatch__P4427(s) { +function helpers_splitMatch__P4428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4334,9 +4334,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___12185 = undefined; - s.s___12188 = undefined; - s.i___12198 = undefined; + s.r___12224 = undefined; + s.s___12227 = undefined; + s.i___12237 = 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___12185 = (r0); + s.r___12224 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___12188 = (r0); - r0 = (s.arg1 + s.r___12185); + s.s___12227 = (r0); + r0 = (s.arg1 + s.r___12224); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___12188); + r0 = (s.tmp_1 > s.s___12227); 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___12198 = (0); + s.i___12237 = (0); case 3: - r0 = (s.i___12198 < s.r___12185); + r0 = (s.i___12237 < s.r___12224); 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___12198); + r0 = (s.arg1 + s.i___12237); 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___12198); + r0 = pxsim_String_.charAt(s.arg2, s.i___12237); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -4378,21 +4378,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___12198 + 1); - s.i___12198 = (r0); + r0 = (s.i___12237 + 1); + s.i___12237 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___12185); + r0 = (s.arg1 + s.r___12224); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P4427.info = {"start":14244,"length":289,"line":480,"column":4,"endLine":489,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P4428.info = {"start":14244,"length":289,"line":480,"column":4,"endLine":489,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P4427_mk(s) { +function helpers_splitMatch__P4428_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P4427, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P4428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4400,9 +4400,9 @@ function helpers_splitMatch__P4427_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___12185: undefined, - s___12188: undefined, - i___12198: undefined, + r___12224: undefined, + s___12227: undefined, + i___12237: 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___12150 = undefined; + s.len___12189 = 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___12150 = (r0); + s.len___12189 = (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___12150 + s.arg1); + r0 = (s.len___12189 + 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___12150); + s.arg2 = (s.len___12189); { 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___12150 + s.arg2); + r0 = (s.len___12189 + 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___12150: undefined, + len___12189: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4506,9 +4506,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12282 = undefined; - s.unnamed100___U1 = undefined; - s.unnamed101___U2 = undefined; + s.s___12321 = undefined; + s.unnamed102___U1 = undefined; + s.unnamed103___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -4548,7 +4548,7 @@ switch (step) { s.tmp_3 = scene_Scene_render__P2873_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1000; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1002; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } @@ -4556,7 +4556,7 @@ switch (step) { s.tmp_0 = scene_Background_draw__P2679_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1001; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1003; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -4569,8 +4569,8 @@ 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__P12259; - s.callLocIdx = 1006; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = scene_Scene_render_inline__P12298; + s.callLocIdx = 1008; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -4581,38 +4581,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___12282 = (undefined); + s.s___12321 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed100___U1 = (r0); - s.unnamed101___U2 = (0); + s.unnamed102___U1 = (r0); + s.unnamed103___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed101___U2; - r0 = pxsim_Array__length(s.unnamed100___U1); + s.tmp_0 = r0 = s.unnamed103___U2; + r0 = pxsim_Array__length(s.unnamed102___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed100___U1, s.unnamed101___U2); - s.s___12282 = (r0); + r0 = pxsim_Array__getAt(s.unnamed102___U1, s.unnamed103___U2); + s.s___12321 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___12282; + s.tmp_2.arg0 = s.s___12321; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__draw"), 2); - s.callLocIdx = 1007; s.pc = 15; return s.tmp_2; + s.callLocIdx = 1009; s.pc = 15; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__draw"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 1007; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1007; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 1007; s.pc = 15; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 1009; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1009; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 1009; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed101___U2 + 1); - s.unnamed101___U2 = (r0); + r0 = (s.unnamed103___U2 + 1); + s.unnamed103___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed100___U1 = (undefined); + s.unnamed102___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -4636,9 +4636,9 @@ function scene_Scene_render__P2873_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - s___12282: undefined, - unnamed100___U1: undefined, - unnamed101___U2: undefined, + s___12321: undefined, + unnamed102___U1: undefined, + unnamed103___U2: undefined, arg0: undefined, } } @@ -4646,7 +4646,7 @@ function scene_Scene_render__P2873_mk(s) { -function scene_Scene_render_inline__P12259(s) { +function scene_Scene_render_inline__P12298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4669,7 +4669,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["z"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["z"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1002; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 1004; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -4682,7 +4682,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["z"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["z"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1003; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 1005; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -4702,7 +4702,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["id"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["id"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1004; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 1006; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -4715,7 +4715,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["id"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["id"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 1005; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 1007; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -4728,12 +4728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_Scene_render_inline__P12298.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__P12259_mk(s) { +function scene_Scene_render_inline__P12298_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P12259, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P12298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4785,14 +4785,14 @@ 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__P12430); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P12469); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 807; s.pc = 5; return s.tmp_2; + s.callLocIdx = 809; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -4818,7 +4818,7 @@ function scene_Background_draw__P2679_mk(s) { -function scene_Background_draw_inline__P12430(s) { +function scene_Background_draw_inline__P12469(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___12432 = undefined; - s.oy___12443 = undefined; + s.ox___12471 = undefined; + s.oy___12482 = 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___12432 = (r0); + s.ox___12471 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -4855,31 +4855,31 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___12443 = (r0); + s.oy___12482 = (r0); s.tmp_0 = scene_BackgroundLayer_draw__P2688_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___12432; - s.tmp_0.arg2 = s.oy___12443; - s.callLocIdx = 806; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = s.ox___12471; + s.tmp_0.arg2 = s.oy___12482; + s.callLocIdx = 808; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +scene_Background_draw_inline__P12469.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__P12430_mk(s) { +function scene_Background_draw_inline__P12469_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P12430, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P12469, 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___12432: undefined, - oy___12443: undefined, + ox___12471: undefined, + oy___12482: undefined, arg0: undefined, } } @@ -4897,19 +4897,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.w___12500 = undefined; + s.h___12503 = undefined; + s.pw___12506 = undefined; + s.ph___12510 = undefined; + s.rx___12519 = undefined; + s.ry___12522 = undefined; + s.y___12591 = undefined; + s.py___12592 = undefined; + s.dh___12601 = undefined; + s.x___12609 = undefined; + s.rxl___12610 = undefined; + s.px___12616 = undefined; + s.dw___12620 = 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___12461 = (r0); + s.w___12500 = (r0); r0 = pxsim_ImageMethods.height(globals.screen___2033); - s.h___12464 = (r0); + s.h___12503 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___12467 = (r0); + s.pw___12506 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___12471 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___12467); + s.ph___12510 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___12506); 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___12471); + r0 = pxsim_numops_toBoolDecr(s.ph___12510); 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___12480 = (r0); + s.rx___12519 = (r0); r0 = (0 - s.arg2); - s.ry___12483 = (r0); + s.ry___12522 = (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___12480; - r0 = (s.w___12461 + s.pw___12467); + s.tmp_1 = r0 = s.rx___12519; + r0 = (s.w___12500 + s.pw___12506); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___12480 = (r0); + s.rx___12519 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___12480; - r0 = (s.w___12461 + s.pw___12467); + s.tmp_0 = r0 = s.rx___12519; + r0 = (s.w___12500 + s.pw___12506); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___12480 = (r0); + s.rx___12519 = (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___12483; - r0 = (s.h___12464 + s.ph___12471); + s.tmp_1 = r0 = s.ry___12522; + r0 = (s.h___12503 + s.ph___12510); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___12483 = (r0); + s.ry___12522 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___12483; - r0 = (s.h___12464 + s.ph___12471); + s.tmp_0 = r0 = s.ry___12522; + r0 = (s.h___12503 + s.ph___12510); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___12483 = (r0); + s.ry___12522 = (r0); case 10: - r0 = (s.rx___12480 % s.w___12461); - s.rx___12480 = (r0); - r0 = (s.rx___12480 < 0); + r0 = (s.rx___12519 % s.w___12500); + s.rx___12519 = (r0); + r0 = (s.rx___12519 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___12480 + s.w___12461); - s.rx___12480 = (r0); + r0 = (s.rx___12519 + s.w___12500); + s.rx___12519 = (r0); case 11: case 12: - r0 = (s.ry___12483 % s.h___12464); - s.ry___12483 = (r0); - r0 = (s.ry___12483 < 0); + r0 = (s.ry___12522 % s.h___12503); + s.ry___12522 = (r0); + r0 = (s.ry___12522 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___12483 + s.h___12464); - s.ry___12483 = (r0); + r0 = (s.ry___12522 + s.h___12503); + s.ry___12522 = (r0); case 13: case 14: - 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); + r0 = pxsim.Math_.floor(s.rx___12519); + s.rx___12519 = (r0); + r0 = pxsim.Math_.floor(s.ry___12522); + s.ry___12522 = (r0); + s.y___12591 = (0); + s.py___12592 = (0); case 15: - r0 = (s.y___12552 < s.h___12464); + r0 = (s.y___12591 < s.h___12503); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___12552 % s.ph___12471); - s.py___12553 = (r0); + r0 = (s.y___12591 % s.ph___12510); + s.py___12592 = (r0); s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.ph___12471 - s.py___12553); + r0 = (s.ph___12510 - s.py___12592); s.tmp_0.arg0 = r0; - r0 = (s.h___12464 - s.ry___12483); + r0 = (s.h___12503 - s.ry___12522); s.tmp_0.arg1 = r0; - s.callLocIdx = 809; s.pc = 24; return s.tmp_0; + s.callLocIdx = 811; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___12562 = (r0); - s.x___12570 = (0); - s.rxl___12571 = (s.rx___12480); + s.dh___12601 = (r0); + s.x___12609 = (0); + s.rxl___12610 = (s.rx___12519); case 16: - r0 = (s.x___12570 < s.w___12461); + r0 = (s.x___12609 < s.w___12500); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___12570 % s.pw___12467); - s.px___12577 = (r0); + r0 = (s.x___12609 % s.pw___12506); + s.px___12616 = (r0); s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.pw___12467 - s.px___12577); + r0 = (s.pw___12506 - s.px___12616); s.tmp_0.arg0 = r0; - r0 = (s.w___12461 - s.rxl___12571); + r0 = (s.w___12500 - s.rxl___12610); s.tmp_0.arg1 = r0; - s.callLocIdx = 810; s.pc = 25; return s.tmp_0; + s.callLocIdx = 812; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___12581 = (r0); + s.dw___12620 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___2033, s.tmp_0, s.rxl___12571, s.ry___12483); - r0 = (s.rxl___12571 + s.dw___12581); + r0 = pxsim_ImageMethods.drawImage(globals.screen___2033, s.tmp_0, s.rxl___12610, s.ry___12522); + r0 = (s.rxl___12610 + s.dw___12620); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___12461); - s.rxl___12571 = (r0); + r0 = (s.tmp_0 % s.w___12500); + s.rxl___12610 = (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___12581; + r0 = s.dw___12620; { step = 18; continue; } case 17: - r0 = s.w___12461; + r0 = s.w___12500; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___12570 + s.tmp_1); - s.x___12570 = (r0); + r0 = (s.x___12609 + s.tmp_1); + s.x___12609 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___12483 + s.dh___12562); + r0 = (s.ry___12522 + s.dh___12601); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___12464); - s.ry___12483 = (r0); + r0 = (s.tmp_0 % s.h___12503); + s.ry___12522 = (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___12562; + r0 = s.dh___12601; { step = 21; continue; } case 20: - r0 = s.h___12464; + r0 = s.h___12503; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___12552 + s.tmp_1); - s.y___12552 = (r0); + r0 = (s.y___12591 + s.tmp_1); + s.y___12591 = (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___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, + w___12500: undefined, + h___12503: undefined, + pw___12506: undefined, + ph___12510: undefined, + rx___12519: undefined, + ry___12522: undefined, + y___12591: undefined, + py___12592: undefined, + dh___12601: undefined, + x___12609: undefined, + rxl___12610: undefined, + px___12616: undefined, + dw___12620: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5173,10 +5173,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P12304); + s.arg1 = (helpers_arraySort_inline__P12343); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P4425_mk(s); + s.tmp_0 = helpers_sortHelper__P4426_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -5204,7 +5204,7 @@ function helpers_arraySort__P105_mk(s) { -function helpers_arraySort_inline__P12304(s) { +function helpers_arraySort_inline__P12343(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___12307 = undefined; - s.bIsUndef___12311 = undefined; - s.aIsNull___12322 = undefined; - s.bIsNull___12326 = undefined; + s.aIsUndef___12346 = undefined; + s.bIsUndef___12350 = undefined; + s.aIsNull___12361 = undefined; + s.bIsNull___12365 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___12307 = (r0); + s.aIsUndef___12346 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___12311 = (r0); - s.tmp_0 = r0 = s.aIsUndef___12307; + s.bIsUndef___12350 = (r0); + s.tmp_0 = r0 = s.aIsUndef___12346; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___12311; + r0 = s.bIsUndef___12350; 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___12307); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___12346); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___12311); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___12350); 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___12322 = (r0); + s.aIsNull___12361 = (r0); r0 = (s.arg1 === null); - s.bIsNull___12326 = (r0); - s.tmp_0 = r0 = s.aIsNull___12322; + s.bIsNull___12365 = (r0); + s.tmp_0 = r0 = s.aIsNull___12361; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___12326; + r0 = s.bIsNull___12365; 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___12322); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___12361); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___12326); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___12365); 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__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"]} +helpers_arraySort_inline__P12343.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__P12304_mk(s) { +function helpers_arraySort_inline__P12343_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P12304, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P12343, 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__P12304_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___12307: undefined, - bIsUndef___12311: undefined, - aIsNull___12322: undefined, - bIsNull___12326: undefined, + aIsUndef___12346: undefined, + bIsUndef___12350: undefined, + aIsNull___12361: undefined, + bIsNull___12365: undefined, arg0: undefined, arg1: undefined, } } @@ -5349,7 +5349,7 @@ function helpers_arraySort_inline__P12304_mk(s) { -function helpers_sortHelper__P4425(s) { +function helpers_sortHelper__P4426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5359,9 +5359,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12361 = undefined; - s.i___12364 = undefined; - s.j___12370 = undefined; + s.len___12400 = undefined; + s.i___12403 = undefined; + s.j___12409 = 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___12361 = (r0); - s.i___12364 = (0); + s.len___12400 = (r0); + s.i___12403 = (0); case 5: - s.tmp_1 = r0 = s.i___12364; - r0 = (s.len___12361 - 1); + s.tmp_1 = r0 = s.i___12403; + r0 = (s.len___12400 - 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___12364 + 1); - s.j___12370 = (r0); + r0 = (s.i___12403 + 1); + s.j___12409 = (r0); case 6: - r0 = (s.j___12370 < s.len___12361); + r0 = (s.j___12409 < s.len___12400); 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___12364); + r0 = pxsim_Array__getAt(s.arg0, s.i___12403); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___12370); + r0 = pxsim_Array__getAt(s.arg0, s.j___12409); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -5421,21 +5421,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P4424_mk(s); + s.tmp_4 = helpers_swap__P4425_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___12364; - s.tmp_4.arg2 = s.j___12370; + s.tmp_4.arg1 = s.i___12403; + s.tmp_4.arg2 = s.j___12409; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___12370 + 1); - s.j___12370 = (r0); + r0 = (s.j___12409 + 1); + s.j___12409 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___12364 + 1); - s.i___12364 = (r0); + r0 = (s.i___12403 + 1); + s.i___12403 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -5443,21 +5443,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P4425.info = {"start":5176,"length":481,"line":191,"column":4,"endLine":205,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} +helpers_sortHelper__P4426.info = {"start":5176,"length":481,"line":191,"column":4,"endLine":205,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} -function helpers_sortHelper__P4425_mk(s) { +function helpers_sortHelper__P4426_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P4425, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P4426, 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, tmp_4: undefined, - len___12361: undefined, - i___12364: undefined, - j___12370: undefined, + len___12400: undefined, + i___12403: undefined, + j___12409: undefined, arg0: undefined, arg1: undefined, } } @@ -5466,7 +5466,7 @@ function helpers_sortHelper__P4425_mk(s) { -function helpers_swap__P4424(s) { +function helpers_swap__P4425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5476,7 +5476,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___12399 = undefined; + s.temp___12438 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5484,28 +5484,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___12399 = (r0); + s.temp___12438 = (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___12399); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___12438); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P4424.info = {"start":5030,"length":140,"line":185,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} +helpers_swap__P4425.info = {"start":5030,"length":140,"line":185,"column":4,"endLine":189,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} -function helpers_swap__P4424_mk(s) { +function helpers_swap__P4425_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P4424, depth: s.depth + 1, + parent: s, fn: helpers_swap__P4425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___12399: undefined, + temp___12438: 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___12680 = undefined; - s.percentComplete___12694 = undefined; - s.damp___12701 = undefined; - s.f___12710 = undefined; - s.x___12716 = undefined; - s.y___12723 = undefined; + s.elapsed___12719 = undefined; + s.percentComplete___12733 = undefined; + s.damp___12740 = undefined; + s.f___12749 = undefined; + s.x___12755 = undefined; + s.y___12762 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -5545,7 +5545,7 @@ switch (step) { s.tmp_3 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 959; s.pc = 9; return s.tmp_3; + s.callLocIdx = 961; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; s.tmp_2 = r0; @@ -5554,7 +5554,7 @@ switch (step) { s.tmp_2 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 960; s.pc = 10; return s.tmp_2; + s.callLocIdx = 962; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -5564,14 +5564,14 @@ switch (step) { s.tmp_3 = Sprite_left__P2400_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 961; s.pc = 12; return s.tmp_3; + s.callLocIdx = 963; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; s.tmp_6 = Sprite_width__P2398_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_6.arg0 = r0; - s.callLocIdx = 962; s.pc = 13; return s.tmp_6; + s.callLocIdx = 964; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; s.tmp_5 = r0; @@ -5585,7 +5585,7 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_1 - s.tmp_7); s.tmp_0.arg1 = r0; - s.callLocIdx = 963; s.pc = 11; return s.tmp_0; + s.callLocIdx = 965; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = scene_Camera_offsetY__P2790_mk(s); @@ -5593,14 +5593,14 @@ switch (step) { s.tmp_3 = Sprite_top__P2404_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 964; s.pc = 15; return s.tmp_3; + s.callLocIdx = 966; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; s.tmp_6 = Sprite_width__P2398_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_6.arg0 = r0; - s.callLocIdx = 965; s.pc = 16; return s.tmp_6; + s.callLocIdx = 967; s.pc = 16; return s.tmp_6; case 16: r0 = s.retval; s.tmp_5 = r0; @@ -5614,7 +5614,7 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_1 - s.tmp_7); s.tmp_0.arg1 = r0; - s.callLocIdx = 966; s.pc = 14; return s.tmp_0; + s.callLocIdx = 968; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 1: @@ -5638,10 +5638,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___12680 = (r0); + s.elapsed___12719 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___12680 >= s.tmp_1); + r0 = (s.elapsed___12719 >= 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___12680 / s.tmp_0); - s.percentComplete___12694 = (r0); - s.damp___12701 = (1); - r0 = (s.percentComplete___12694 >= 0.75); + r0 = (s.elapsed___12719 / s.tmp_0); + s.percentComplete___12733 = (r0); + s.damp___12740 = (1); + r0 = (s.percentComplete___12733 >= 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___12694); + r0 = (1 - s.percentComplete___12733); s.tmp_1.arg1 = r0; - s.callLocIdx = 969; s.pc = 17; return s.tmp_1; + s.callLocIdx = 971; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.damp___12701 = (r0); + s.damp___12740 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___12701); - s.f___12710 = (r0); + r0 = (s.tmp_0 * s.damp___12740); + s.f___12749 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12710); + r0 = (s.tmp_1 * s.f___12749); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___12716 = (r0); + s.x___12755 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12710); + r0 = (s.tmp_1 * s.f___12749); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___12723 = (r0); + s.y___12762 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___12716); + r0 = (s.tmp_2 + s.x___12755); 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___12723); + r0 = (s.tmp_2 + s.y___12762); 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___12680: undefined, - percentComplete___12694: undefined, - damp___12701: undefined, - f___12710: undefined, - x___12716: undefined, - y___12723: undefined, + elapsed___12719: undefined, + percentComplete___12733: undefined, + damp___12740: undefined, + f___12749: undefined, + x___12755: undefined, + y___12762: undefined, arg0: undefined, } } @@ -5741,7 +5741,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12742 = undefined; + s.scene___12781 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5750,18 +5750,18 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 948; s.pc = 5; return s.tmp_0; + s.callLocIdx = 950; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12742 = (r0); - r0 = s.scene___12742.fields["tileMap"]; + s.scene___12781 = (r0); + r0 = s.scene___12781.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___12742.fields["tileMap"]; + r0 = s.scene___12781.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -5779,10 +5779,10 @@ 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___12742.fields["tileMap"]; + r0 = s.scene___12781.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.callLocIdx = 950; s.pc = 6; return s.tmp_10; + s.callLocIdx = 952; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -5818,7 +5818,7 @@ function scene_Camera_offsetY__P2790_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12742: undefined, + scene___12781: undefined, arg0: undefined, arg1: undefined, } } @@ -5896,7 +5896,7 @@ switch (step) { s.tmp_1 = Math_max__P130_mk(s); s.tmp_3 = tiles_TileMap_areaHeight__P2745_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 843; s.pc = 3; return s.tmp_3; + s.callLocIdx = 845; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -5905,12 +5905,12 @@ switch (step) { r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 844; s.pc = 2; return s.tmp_1; + s.callLocIdx = 846; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 845; s.pc = 1; return s.tmp_0; + s.callLocIdx = 847; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -6107,7 +6107,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12784 = undefined; + s.scene___12823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6116,18 +6116,18 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 945; s.pc = 5; return s.tmp_0; + s.callLocIdx = 947; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12784 = (r0); - r0 = s.scene___12784.fields["tileMap"]; + s.scene___12823 = (r0); + r0 = s.scene___12823.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___12784.fields["tileMap"]; + r0 = s.scene___12823.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -6145,10 +6145,10 @@ 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___12784.fields["tileMap"]; + r0 = s.scene___12823.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.callLocIdx = 947; s.pc = 6; return s.tmp_10; + s.callLocIdx = 949; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -6184,7 +6184,7 @@ function scene_Camera_offsetX__P2788_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12784: undefined, + scene___12823: undefined, arg0: undefined, arg1: undefined, } } @@ -6215,7 +6215,7 @@ switch (step) { s.tmp_1 = Math_max__P130_mk(s); s.tmp_3 = tiles_TileMap_areaWidth__P2744_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 840; s.pc = 3; return s.tmp_3; + s.callLocIdx = 842; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -6224,12 +6224,12 @@ switch (step) { r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 841; s.pc = 2; return s.tmp_1; + s.callLocIdx = 843; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 842; s.pc = 1; return s.tmp_0; + s.callLocIdx = 844; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -6778,7 +6778,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___13045 = undefined; + s.dtms___13084 = 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___13045 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P13052); + s.dtms___13084 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P13091); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___13045); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___13084); 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___13045: undefined, + dtms___13084: undefined, arg0: undefined, } } @@ -6822,7 +6822,7 @@ function controller___update__P2166_mk(s) { -function controller___update_inline__P13052(s) { +function controller___update_inline__P13091(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__P13052.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__P13091.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__P13052_mk(s) { +function controller___update_inline__P13091_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P13052, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P13091, 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__P13065); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P13104); 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__P13065(s) { +function controller_Controller___update_inline__P13104(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__P13065.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__P13104.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__P13065_mk(s) { +function controller_Controller___update_inline__P13104_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P13065, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P13104, 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___13081 = undefined; - s.interval___13090 = undefined; - s.count___13103 = undefined; + s.delay___13120 = undefined; + s.interval___13129 = undefined; + s.count___13142 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7004,31 +7004,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___4802; + r0 = globals.defaultRepeatDelay___4803; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___13081 = (s.tmp_2); + s.delay___13120 = (s.tmp_2); r0 = s.arg0.fields["repeatInterval"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = globals.defaultRepeatInterval___4804; + r0 = globals.defaultRepeatInterval___4805; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___13090 = (s.tmp_2); + s.interval___13129 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___13081); + r0 = (s.tmp_1 < s.delay___13120); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -7037,26 +7037,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___13081); + r0 = (s.tmp_5 - s.delay___13120); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___13090); + r0 = (s.tmp_4 - s.interval___13129); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___13090); + r0 = (s.tmp_3 / s.interval___13129); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___13103 = (r0); + s.count___13142 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___13103 != s.tmp_1); + r0 = (s.count___13142 != s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_2 = controller_Button_raiseButtonRepeat__P4791_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P4792_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 208; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___13103); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___13142); 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___13081: undefined, - interval___13090: undefined, - count___13103: undefined, + delay___13120: undefined, + interval___13129: undefined, + count___13142: undefined, arg0: undefined, arg1: undefined, } } @@ -7088,7 +7088,7 @@ function controller_Button___update__P2204_mk(s) { -function controller_Button_raiseButtonRepeat__P4791(s) { +function controller_Button_raiseButtonRepeat__P4792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7104,7 +7104,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4800); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4801); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -7119,12 +7119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P4791.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P4792.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P4791_mk(s) { +function controller_Button_raiseButtonRepeat__P4792_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P4791, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P4792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7149,8 +7149,8 @@ switch (step) { case 1: 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__P13035; + s.tmp_0.arg0 = globals._players___4721; + s.tmp_0.arg1 = controller_players_inline__P13074; 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__P13035(s) { +function controller_players_inline__P13074(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__P13035.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__P13074.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__P13035_mk(s) { +function controller_players_inline__P13074_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P13035, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P13074, 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___9324 = undefined; - s.len___9326 = undefined; - s.i___9329 = undefined; - s.v___9334 = undefined; + s.res___9335 = undefined; + s.len___9337 = undefined; + s.i___9340 = undefined; + s.v___9345 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___9324 = (r0); + s.res___9335 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___9326 = (r0); - s.i___9329 = (0); + s.len___9337 = (r0); + s.i___9340 = (0); case 1: - r0 = (s.i___9329 < s.len___9326); + r0 = (s.i___9340 < s.len___9337); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___9329); - s.v___9334 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___9340); + s.v___9345 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___9334; - s.tmp_1.arg1 = s.i___9329; + s.tmp_1.arg0 = s.v___9345; + s.tmp_1.arg1 = s.i___9340; 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___9324, s.v___9334); + r0 = pxsim_Array__push(s.res___9335, s.v___9345); case 2: case 3: - r0 = (s.i___9329 + 1); - s.i___9329 = (r0); + r0 = (s.i___9340 + 1); + s.i___9340 = (r0); { step = 1; continue; } case 4: - r0 = s.res___9324; + r0 = s.res___9335; 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___9324: undefined, - len___9326: undefined, - i___9329: undefined, - v___9334: undefined, + res___9335: undefined, + len___9337: undefined, + i___9340: undefined, + v___9345: 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__P12830; + s.tmp_0.arg1 = controller__moveSprites_inline__P12869; 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__P12830(s) { +function controller__moveSprites_inline__P12869(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__P12830.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__P12869.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__P12830_mk(s) { +function controller__moveSprites_inline__P12869_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P12830, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P12869, 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___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; + s.deadSprites___12876 = undefined; + s.svx___12877 = undefined; + s.svy___12878 = undefined; + s.svxInCricle___12913 = undefined; + s.svyInCircle___12915 = undefined; + s.sq___12917 = undefined; + s.scale___12932 = 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___12837 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___12837, false); + s.deadSprites___12876 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___12876, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___12838 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___12838, 0); + s.svx___12877 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___12877, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___12839 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___12839, 0); + s.svy___12878 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___12878, 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___12838; + s.tmp_1 = r0 = s.svx___12877; 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___12839; + s.tmp_0 = r0 = s.svy___12878; 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___12838; + s.tmp_8 = r0 = s.svx___12877; 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___12839; + s.tmp_8 = r0 = s.svy___12878; 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___12874 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12874; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); + s.svxInCricle___12913 = (r0); + s.tmp_0 = r0 = s.svxInCricle___12913; + r0 = pxsim_pxtrt_ldlocRef(s.svx___12877); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___12876 = (r0); - s.tmp_0 = r0 = s.svyInCircle___12876; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); + s.svyInCircle___12915 = (r0); + s.tmp_0 = r0 = s.svyInCircle___12915; + r0 = pxsim_pxtrt_ldlocRef(s.svy___12878); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); + r0 = pxsim_pxtrt_ldlocRef(s.svx___12877); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12838); + r0 = pxsim_pxtrt_ldlocRef(s.svx___12877); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); + r0 = pxsim_pxtrt_ldlocRef(s.svy___12878); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); + r0 = pxsim_pxtrt_ldlocRef(s.svy___12878); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___12878 = (r0); - r0 = (s.sq___12878 > 65536); + s.sq___12917 = (r0); + r0 = (s.sq___12917 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___12878); + r0 = (65536 / s.sq___12917); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - 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.scale___12932 = (r0); + s.tmp_0 = r0 = s.svxInCricle___12913; + s.tmp_3 = r0 = s.scale___12932; + r0 = pxsim_pxtrt_ldlocRef(s.svx___12877); 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___12876; - s.tmp_3 = r0 = s.scale___12893; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12839); + s.tmp_0 = r0 = s.svyInCircle___12915; + s.tmp_3 = r0 = s.scale___12932; + r0 = pxsim_pxtrt_ldlocRef(s.svy___12878); 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__P12911); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P12950); s.tmp_0 = r0; - 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); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___12876); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___12877); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___12878); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___12913); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___12915); 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___12837); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___12876); 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__P12968; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P13007; 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___12837: undefined, - svx___12838: undefined, - svy___12839: undefined, - svxInCricle___12874: undefined, - svyInCircle___12876: undefined, - sq___12878: undefined, - scale___12893: undefined, + deadSprites___12876: undefined, + svx___12877: undefined, + svy___12878: undefined, + svxInCricle___12913: undefined, + svyInCircle___12915: undefined, + sq___12917: undefined, + scale___12932: undefined, arg0: undefined, } } @@ -7700,7 +7700,7 @@ function controller_Controller___preUpdate__P2163_mk(s) { -function controller_Controller___preUpdate_inline__P12911(s) { +function controller_Controller___preUpdate_inline__P12950(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___12914 = undefined; - s.vx___12915 = undefined; - s.vy___12916 = undefined; + s.s___12953 = undefined; + s.vx___12954 = undefined; + s.vy___12955 = 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___12914 = (r0); + s.s___12953 = (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___12915 = (r0); + s.vx___12954 = (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___12916 = (r0); - r0 = s.s___12914.fields["flags"]; + s.vy___12955 = (r0); + r0 = s.s___12953.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___12915); + r0 = pxsim_numops_toBoolDecr(s.vx___12954); if (!r0) { step = 3; continue; } - r0 = (s.s___12914).fields["_vx"] = (0); + r0 = (s.s___12953).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___12916); + r0 = pxsim_numops_toBoolDecr(s.vy___12955); if (!r0) { step = 5; continue; } - r0 = (s.s___12914).fields["_vy"] = (0); + r0 = (s.s___12953).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___12915; + s.tmp_2 = r0 = s.vx___12954; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___12916; + r0 = s.vy___12955; 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___12914; + s.tmp_4 = r0 = s.s___12953; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___12915); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___12954); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___12914; + s.tmp_0 = r0 = s.s___12953; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12916); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12955); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___12915); + r0 = pxsim_numops_toBoolDecr(s.vx___12954); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___12914; + s.tmp_0 = r0 = s.s___12953; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___12915); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___12954); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___12916); + r0 = pxsim_numops_toBoolDecr(s.vy___12955); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___12914; + s.tmp_0 = r0 = s.s___12953; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12916); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12955); 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__P12911.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__P12950.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__P12911_mk(s) { +function controller_Controller___preUpdate_inline__P12950_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12911, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P12950, 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__P12911_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___12914: undefined, - vx___12915: undefined, - vy___12916: undefined, + s___12953: undefined, + vx___12954: undefined, + vy___12955: undefined, arg0: undefined, } } @@ -7878,7 +7878,7 @@ function controller_Controller___preUpdate_inline__P12911_mk(s) { -function controller_Controller___preUpdate_inline__P12968(s) { +function controller_Controller___preUpdate_inline__P13007(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__P12968.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__P13007.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__P12968_mk(s) { +function controller_Controller___preUpdate_inline__P13007_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12968, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P13007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8068,7 +8068,7 @@ function controller_Controller_down__P2147_mk(s) { -function controller_Controller_button__P4785(s) { +function controller_Controller_button__P4786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8093,12 +8093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P4785.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P4786.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P4785_mk(s) { +function controller_Controller_button__P4786_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P4785, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P4786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8371,13 +8371,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11556 = undefined; - s.to___11559 = undefined; - s.tmp_0 = power_init__P4629_mk(s); + s.p___11595 = undefined; + s.to___11598 = undefined; + s.tmp_0 = power_init__P4630_mk(s); s.callLocIdx = 76; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___4627; + s.tmp_0 = r0 = globals._poked___4628; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -8387,8 +8387,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___11556 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___4628; + s.p___11595 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___4629; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -8398,8 +8398,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___11559 = (s.tmp_1); - r0 = (s.to___11559 > 0); + s.to___11598 = (s.tmp_1); + r0 = (s.to___11598 > 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___11556); + r0 = (s.tmp_2 - s.p___11595); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___11559); + r0 = (s.tmp_1 > s.to___11598); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -8450,15 +8450,15 @@ function power_checkDeepSleep__P1931_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___11556: undefined, - to___11559: undefined, + p___11595: undefined, + to___11598: undefined, } } -function power_init__P4629(s) { +function power_init__P4630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8468,7 +8468,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___4628 !== undefined); + r0 = (globals._timeout___4629 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8478,21 +8478,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___4628 = (r0); - r0 = (globals._timeout___4628 > 0); + globals._timeout___4629 = (r0); + r0 = (globals._timeout___4629 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (globals._timeout___4628 < 300000); + r0 = (globals._timeout___4629 < 300000); case 4: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - globals._timeout___4628 = (300000); + globals._timeout___4629 = (300000); case 5: case 6: case 7: @@ -8500,12 +8500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P4629.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P4630.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} -function power_init__P4629_mk(s) { +function power_init__P4630_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P4629, depth: s.depth + 1, + parent: s, fn: power_init__P4630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8525,12 +8525,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P4629_mk(s); + s.tmp_0 = power_init__P4630_mk(s); s.callLocIdx = 75; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___4627 = (r0); + globals._poked___4628 = (r0); r0 = undefined; return leave(s, r0) default: oops() @@ -8559,8 +8559,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___9662 = undefined; - s.i___9671 = undefined; + s.fn___9673 = undefined; + s.i___9682 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8581,7 +8581,7 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P4502_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P4503_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 51; s.pc = 8; return s.tmp_0; case 8: @@ -8589,12 +8589,12 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C392_VT); - s.fn___9662 = (r0); - r0 = (s.fn___9662).fields["order"] = (s.arg1); - r0 = (s.fn___9662).fields["handler"] = (s.arg2); - s.i___9671 = (0); + s.fn___9673 = (r0); + r0 = (s.fn___9673).fields["order"] = (s.arg1); + r0 = (s.fn___9673).fields["handler"] = (s.arg2); + s.i___9682 = (0); case 3: - s.tmp_1 = r0 = s.i___9671; + s.tmp_1 = r0 = s.i___9682; 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___9671); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___9682); 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___9671, s.fn___9662); - r0 = s.fn___9662; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___9682, s.fn___9673); + r0 = s.fn___9673; { step = 7; continue; } case 4: case 5: - r0 = (s.i___9671 + 1); - s.i___9671 = (r0); + r0 = (s.i___9682 + 1); + s.i___9682 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___9662); - r0 = s.fn___9662; + r0 = pxsim_Array__push(s.tmp_0, s.fn___9673); + r0 = s.fn___9673; 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___9662: undefined, - i___9671: undefined, + fn___9673: undefined, + i___9682: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8657,7 +8657,7 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { -function control_EventContext_registerFrameCallbacks__P4502(s) { +function control_EventContext_registerFrameCallbacks__P4503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8667,7 +8667,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___9705 = undefined; + s.worker___9716 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8686,28 +8686,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___9705 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P9711); + s.worker___9716 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P9722); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___9705); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___9716); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P4502.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P4503.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P4502_mk(s) { +function control_EventContext_registerFrameCallbacks__P4503_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P4502, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P4503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___9705: undefined, + worker___9716: undefined, arg0: undefined, } } @@ -8715,7 +8715,7 @@ function control_EventContext_registerFrameCallbacks__P4502_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P9711(s) { +function control_EventContext_registerFrameCallbacks_inline__P9722(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___9741 = undefined; + s.delay___9752 = 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__P9717); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P9728); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); s.tmp_2 = pauseUntil__P367_mk(s); @@ -8756,14 +8756,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P4501_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P4502_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 46; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___9741 = (r0); + s.delay___9752 = (r0); s.tmp_0 = pause__P413_mk(s); - s.tmp_0.arg0 = s.delay___9741; + s.tmp_0.arg0 = s.delay___9752; 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__P9711.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__P9722.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__P9711_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P9722_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9711, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___9741: undefined, + delay___9752: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P9717(s) { +function control_EventContext_registerFrameCallbacks_inline__P9728(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__P9717.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__P9728.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__P9717_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P9728_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9717, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P9728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8824,7 +8824,7 @@ function control_EventContext_registerFrameCallbacks_inline__P9717_mk(s) { -function control_EventContext_runCallbacks__P4501(s) { +function control_EventContext_runCallbacks__P4502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8834,15 +8834,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___9750 = undefined; - s.f___9763 = undefined; - s.unnamed66___U2 = undefined; - s.unnamed67___U3 = undefined; - s.now___9768 = undefined; - s.runtime___9771 = undefined; - s.realTimeInSample___9790 = undefined; - s.fps___9799 = undefined; - s.delay___9868 = undefined; + s.loopStart___9761 = undefined; + s.f___9774 = undefined; + s.unnamed68___U2 = undefined; + s.unnamed69___U3 = undefined; + s.now___9779 = undefined; + s.runtime___9782 = undefined; + s.realTimeInSample___9801 = undefined; + s.fps___9810 = undefined; + s.delay___9879 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8850,28 +8850,28 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___9750 = (r0); + s.loopStart___9761 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___9750 - s.tmp_2); + r0 = (s.loopStart___9761 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___9750); - s.f___9763 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___9761); + s.f___9774 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed66___U2 = (r0); - s.unnamed67___U3 = (0); + s.unnamed68___U2 = (r0); + s.unnamed69___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed67___U3; - r0 = pxsim_Array__length(s.unnamed66___U2); + s.tmp_0 = r0 = s.unnamed69___U3; + r0 = pxsim_Array__length(s.unnamed68___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed66___U2, s.unnamed67___U3); - s.f___9763 = (r0); + r0 = pxsim_Array__getAt(s.unnamed68___U2, s.unnamed69___U3); + s.f___9774 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___9763; + s.tmp_2.arg0 = s.f___9774; 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; @@ -8883,19 +8883,19 @@ switch (step) { } case 11: r0 = s.retval; - r0 = (s.unnamed67___U3 + 1); - s.unnamed67___U3 = (r0); + r0 = (s.unnamed69___U3 + 1); + s.unnamed69___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed66___U2 = (undefined); + s.unnamed68___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___9768 = (r0); - r0 = (s.now___9768 - s.loopStart___9750); - s.runtime___9771 = (r0); + s.now___9779 = (r0); + r0 = (s.now___9779 - s.loopStart___9761); + s.runtime___9782 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___9771); + r0 = (s.tmp_2 + s.runtime___9782); 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___9768 - s.tmp_4); - s.realTimeInSample___9790 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___9768); + r0 = (s.now___9779 - s.tmp_4); + s.realTimeInSample___9801 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___9779); 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___9799 = (r0); - r0 = pxsim.Math_.round(s.fps___9799); + s.fps___9810 = (r0); + r0 = pxsim.Math_.round(s.fps___9810); 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___9799 < 99); + r0 = (s.fps___9810 < 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___9799 * 10); + r0 = (s.fps___9810 * 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___9799 * 100); + r0 = (s.fps___9810 * 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___9790) && (s.realTimeInSample___9790).vtable) { + if ((s.realTimeInSample___9801) && (s.realTimeInSample___9801).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___9790); + pxsim_String__stringConv(s.realTimeInSample___9801); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___9790) + ""; } + } else { s.retval = (s.realTimeInSample___9801) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -9067,22 +9067,22 @@ switch (step) { case 10: s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___9771); + r0 = (20 - s.runtime___9782); s.tmp_0.arg1 = r0; s.callLocIdx = 44; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___9868 = (r0); - r0 = s.delay___9868; + s.delay___9879 = (r0); + r0 = s.delay___9879; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P4501.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P4502.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P4501_mk(s) { +function control_EventContext_runCallbacks__P4502_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P4501, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P4502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9102,15 +9102,15 @@ function control_EventContext_runCallbacks__P4501_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___9750: undefined, - f___9763: undefined, - unnamed66___U2: undefined, - unnamed67___U3: undefined, - now___9768: undefined, - runtime___9771: undefined, - realTimeInSample___9790: undefined, - fps___9799: undefined, - delay___9868: undefined, + loopStart___9761: undefined, + f___9774: undefined, + unnamed68___U2: undefined, + unnamed69___U3: undefined, + now___9779: undefined, + runtime___9782: undefined, + realTimeInSample___9801: undefined, + fps___9810: undefined, + delay___9879: undefined, arg0: undefined, } } @@ -9208,16 +9208,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___9890 = undefined; + s.ev___9901 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C4475_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C4476_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P4476_mk(s); + s.tmp_1 = control_PollEvent_constructor__P4477_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -9233,8 +9233,8 @@ switch (step) { s.callLocIdx = 28; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___9890 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4478); + s.ev___9901 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4479); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -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___9890); - globals._pollEventQueue___4478 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P4479); + r0 = pxsim_Array__push(s.tmp_2, s.ev___9901); + globals._pollEventQueue___4479 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P4480); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___4478, s.ev___9890); + r0 = pxsim_Array__push(globals._pollEventQueue___4479, s.ev___9901); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } s.tmp_0 = control_onEvent__P391_mk(s); - r0 = s.ev___9890.fields["eid"]; + r0 = s.ev___9901.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___9890.fields["vid"]; + r0 = s.ev___9901.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___9890.fields["eid"]; + r0 = s.ev___9901.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___9890.fields["vid"]; + r0 = s.ev___9901.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___9890: undefined, + ev___9901: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9298,7 +9298,7 @@ function control___queuePollEvent__P366_mk(s) { -function control_pollEvents__P4479(s) { +function control_pollEvents__P4480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9308,31 +9308,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___10017 = undefined; - s.i___10020 = undefined; - s.ev___10026 = undefined; + s.now___10028 = undefined; + s.i___10031 = undefined; + s.ev___10037 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___4478); + r0 = pxsim_Array__length(globals._pollEventQueue___4479); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = pxsim.control.millis(); - s.now___10017 = (r0); - s.i___10020 = (0); + s.now___10028 = (r0); + s.i___10031 = (0); case 2: - s.tmp_1 = r0 = s.i___10020; - r0 = pxsim_Array__length(globals._pollEventQueue___4478); + s.tmp_1 = r0 = s.i___10031; + r0 = pxsim_Array__length(globals._pollEventQueue___4479); 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___10020); - s.ev___10026 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___4479, s.i___10031); + s.ev___10037 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___10026; + s.tmp_1.arg0 = s.ev___10037; 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___10026.fields["timeOut"]; + r0 = s.ev___10037.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___10026.fields["start"]; + r0 = s.ev___10037.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___10017 - s.tmp_5); + r0 = (s.now___10028 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___10026.fields["timeOut"]; + r0 = s.ev___10037.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___10026.fields["eid"]; + r0 = s.ev___10037.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___10026.fields["vid"]; + r0 = s.ev___10037.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___10026.fields["once"]; + r0 = s.ev___10037.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___10020; + s.tmp_1.arg0 = globals._pollEventQueue___4479; + s.tmp_1.arg1 = s.i___10031; s.tmp_1.arg2 = 1; s.callLocIdx = 26; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___10020 - 1); - s.i___10020 = (r0); + r0 = (s.i___10031 - 1); + s.i___10031 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___10020 + 1); - s.i___10020 = (r0); + r0 = (s.i___10031 + 1); + s.i___10031 = (r0); { step = 2; continue; } case 11: s.tmp_0 = pause__P413_mk(s); @@ -9408,17 +9408,17 @@ switch (step) { r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___4478 = (undefined); + globals._pollEventQueue___4479 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P4479.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P4480.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} -function control_pollEvents__P4479_mk(s) { +function control_pollEvents__P4480_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P4479, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P4480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9431,9 +9431,9 @@ function control_pollEvents__P4479_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___10017: undefined, - i___10020: undefined, - ev___10026: undefined, + now___10028: undefined, + i___10031: undefined, + ev___10037: undefined, } } @@ -9450,7 +9450,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10074 = undefined; + s.i___10085 = 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___10074 = (0); + s.i___10085 = (0); case 3: - r0 = (s.i___10074 < s.arg2); + r0 = (s.i___10085 < 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___10074 + 1); - s.i___10074 = (r0); + r0 = (s.i___10085 + 1); + s.i___10085 = (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___10074: undefined, + i___10085: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9498,7 +9498,7 @@ function helpers_arraySplice__P100_mk(s) { -function control_PollEvent_constructor__P4476(s) { +function control_PollEvent_constructor__P4477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9519,7 +9519,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C4475_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C4476_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -9530,12 +9530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P4476.info = {"start":239,"length":316,"line":8,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/base/poll.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} +control_PollEvent_constructor__P4477.info = {"start":239,"length":316,"line":8,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/base/poll.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} -function control_PollEvent_constructor__P4476_mk(s) { +function control_PollEvent_constructor__P4477_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P4476, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P4477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9598,32 +9598,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___8200 = undefined; - s.i___8203 = undefined; + s.len___8211 = undefined; + s.i___8214 = 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___8200 = (r0); - s.i___8203 = (0); + s.len___8211 = (r0); + s.i___8214 = (0); case 1: - r0 = (s.i___8203 < s.len___8200); + r0 = (s.i___8214 < s.len___8211); 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___8203); + r0 = pxsim_Array__getAt(s.arg0, s.i___8214); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___8203; + s.tmp_1.arg1 = s.i___8214; 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___8203 + 1); - s.i___8203 = (r0); + r0 = (s.i___8214 + 1); + s.i___8214 = (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___8200: undefined, - i___8203: undefined, + len___8211: undefined, + i___8214: undefined, arg0: undefined, arg1: undefined, } } @@ -9677,7 +9677,7 @@ switch (step) { s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; s.tmp_1.arg3 = 4; - s.callLocIdx = 974; s.pc = 1; return s.tmp_1; + s.callLocIdx = 976; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); @@ -9685,7 +9685,7 @@ switch (step) { s.tmp_0 = r0; s.tmp_1 = scene_Camera_constructor__P2786_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 975; s.pc = 2; return s.tmp_1; + s.callLocIdx = 977; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["camera"] = (s.tmp_0); @@ -9695,7 +9695,7 @@ switch (step) { s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 976; s.pc = 3; return s.tmp_1; + s.callLocIdx = 978; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -9880,26 +9880,26 @@ switch (step) { s.tmp_0 = r0; s.tmp_1 = sprites_SpriteMap_constructor__P2448_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 539; s.pc = 1; return s.tmp_1; + s.callLocIdx = 541; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["map"] = (s.tmp_0); s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P2531_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 540; s.pc = 2; return s.tmp_0; + s.callLocIdx = 542; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = ArcadePhysicsEngine_maxStep__P2535_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 541; s.pc = 3; return s.tmp_0; + s.callLocIdx = 543; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = ArcadePhysicsEngine_minStep__P2533_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 542; s.pc = 4; return s.tmp_0; + s.callLocIdx = 544; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; @@ -10340,27 +10340,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___13144 = undefined; - s.n___13150 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4504); + s.ctx___13183 = undefined; + s.n___13189 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4505); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.eventContexts___4504 = (r0); + globals.eventContexts___4505 = (r0); case 1: case 2: s.tmp_0 = control_eventContext__P408_mk(s); s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___13144 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___13144); + s.ctx___13183 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___13183); if (!r0) { step = 3; continue; } s.tmp_0 = control_EventContext_unregister__P402_mk(s); - s.tmp_0.arg0 = s.ctx___13144; + s.tmp_0.arg0 = s.ctx___13183; 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___13150 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___4504, s.n___13150); - r0 = s.n___13150; + s.n___13189 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___4505, s.n___13189); + r0 = s.n___13189; 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___13144: undefined, - n___13150: undefined, + ctx___13183: undefined, + n___13189: undefined, } } @@ -10406,37 +10406,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___13179 = undefined; - s.unnamed70___U1 = undefined; - s.unnamed71___U2 = undefined; + s.h___13218 = undefined; + s.unnamed72___U1 = undefined; + s.unnamed73___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___13179 = (undefined); + s.h___13218 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed70___U1 = (r0); - s.unnamed71___U2 = (0); + s.unnamed72___U1 = (r0); + s.unnamed73___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed71___U2; - r0 = pxsim_Array__length(s.unnamed70___U1); + s.tmp_0 = r0 = s.unnamed73___U2; + r0 = pxsim_Array__length(s.unnamed72___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed70___U1, s.unnamed71___U2); - s.h___13179 = (r0); - s.tmp_2 = control_EventHandler_unregister__P4498_mk(s); - s.tmp_2.arg0 = s.h___13179; + r0 = pxsim_Array__getAt(s.unnamed72___U1, s.unnamed73___U2); + s.h___13218 = (r0); + s.tmp_2 = control_EventHandler_unregister__P4499_mk(s); + s.tmp_2.arg0 = s.h___13218; s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed71___U2 + 1); - s.unnamed71___U2 = (r0); + r0 = (s.unnamed73___U2 + 1); + s.unnamed73___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed70___U1 = (undefined); + s.unnamed72___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -10457,9 +10457,9 @@ function control_EventContext_unregister__P402_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___13179: undefined, - unnamed70___U1: undefined, - unnamed71___U2: undefined, + h___13218: undefined, + unnamed72___U1: undefined, + unnamed73___U2: undefined, arg0: undefined, } } @@ -10467,7 +10467,7 @@ function control_EventContext_unregister__P402_mk(s) { -function control_EventHandler_unregister__P4498(s) { +function control_EventHandler_unregister__P4499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10482,24 +10482,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4496_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C4497_VT)) failedCast(r0); r0 = s.arg0.fields["src"]; s.tmp_0 = r0; r0 = s.arg0.fields["value"]; s.tmp_1 = r0; r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; - r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P4500, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P4501, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P4498.info = {"start":1136,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventHandler_unregister__P4499.info = {"start":1136,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventHandler_unregister__P4498_mk(s) { +function control_EventHandler_unregister__P4499_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P4498, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P4499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10511,7 +10511,7 @@ function control_EventHandler_unregister__P4498_mk(s) { -function control_doNothing__P4500(s) { +function control_doNothing__P4501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10525,12 +10525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P4500.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P4501.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} -function control_doNothing__P4500_mk(s) { +function control_doNothing__P4501_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P4500, depth: s.depth + 1, + parent: s, fn: control_doNothing__P4501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10640,7 +10640,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___5008 = (s.arg0); + globals.__waitAnyButton___5009 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() @@ -10706,7 +10706,7 @@ function Math_FastRandom_constructor__P3079_mk(s) { -function game_consoleOverlay_listener__P5338(s) { +function game_consoleOverlay_listener__P5339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10721,7 +10721,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5304); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10747,33 +10747,33 @@ switch (step) { s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1194; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1196; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P13381; - s.callLocIdx = 1195; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = forEach_inline__P13420; + s.callLocIdx = 1197; 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__P13386; - s.callLocIdx = 1197; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P13425; + s.callLocIdx = 1199; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___5303); + r0 = pxsim_Array__length(globals.consoleStrings___5304); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___5316); + r0 = (s.tmp_1 > globals.consoleLines___5317); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_2 = helpers_arraySplice__P100_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___5303; + s.tmp_2.arg0 = globals.consoleStrings___5304; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___5303); + r0 = pxsim_Array__length(globals.consoleStrings___5304); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___5316); + r0 = (s.tmp_3 - globals.consoleLines___5317); s.tmp_2.arg2 = r0; - s.callLocIdx = 1198; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1200; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -10783,12 +10783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P5338.info = {"start":787,"length":571,"line":26,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"listener","argumentNames":["priority","text"]} +game_consoleOverlay_listener__P5339.info = {"start":787,"length":571,"line":26,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"listener","argumentNames":["priority","text"]} -function game_consoleOverlay_listener__P5338_mk(s) { +function game_consoleOverlay_listener__P5339_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P5338, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P5339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10805,7 +10805,7 @@ function game_consoleOverlay_listener__P5338_mk(s) { -function forEach_inline__P13381(s) { +function forEach_inline__P13420(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__P13381.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__P13420.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__P13381_mk(s) { +function forEach_inline__P13420_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P13381, depth: s.depth + 1, + parent: s, fn: forEach_inline__P13420, 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__P13381_mk(s) { -function game_consoleOverlay_listener_inline__P13386(s) { +function game_consoleOverlay_listener_inline__P13425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10856,45 +10856,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___13388 = undefined; + s.j___13427 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___13388 = (0); + s.j___13427 = (0); case 1: - s.tmp_1 = r0 = s.j___13388; + s.tmp_1 = r0 = s.j___13427; 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 = 2; continue; } - s.tmp_3 = r0 = globals.consoleStrings___5303; + s.tmp_3 = r0 = globals.consoleStrings___5304; s.tmp_5 = helpers_stringSlice__P119_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___13388; - r0 = (s.j___13388 + globals.consoleColumns___5326); + s.tmp_5.arg1 = s.j___13427; + r0 = (s.j___13427 + globals.consoleColumns___5327); s.tmp_5.arg2 = r0; - s.callLocIdx = 1196; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1198; 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___13388 + globals.consoleColumns___5326); - s.j___13388 = (r0); + r0 = (s.j___13427 + globals.consoleColumns___5327); + s.j___13427 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_consoleOverlay_listener_inline__P13425.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__P13386_mk(s) { +function game_consoleOverlay_listener_inline__P13425_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P13386, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P13425, 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__P13386_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___13388: undefined, + j___13427: undefined, arg0: undefined, } } @@ -10933,7 +10933,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___4482, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___4483, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -10944,7 +10944,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___4482, s.arg0); + r0 = pxsim_Array__push(globals.listeners___4483, s.arg0); case 5: r0 = undefined; return leave(s, r0) @@ -10968,7 +10968,7 @@ function console_addListener__P383_mk(s) { -function listeners_inline__P4481(s) { +function listeners_inline__P4482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10988,12 +10988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P4481.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} +listeners_inline__P4482.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} -function listeners_inline__P4481_mk(s) { +function listeners_inline__P4482_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P4481, depth: s.depth + 1, + parent: s, fn: listeners_inline__P4482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11013,7 +11013,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5257); + r0 = pxsim_numops_toBoolDecr(globals.instance___5258); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: @@ -11022,7 +11022,7 @@ switch (step) { s.tmp_0.arg0 = globals.menu___2120; s.tmp_0.arg1 = 2049; s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P3125; - s.callLocIdx = 1181; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1183; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -11054,13 +11054,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5257); + r0 = pxsim_numops_toBoolDecr(globals.instance___5258); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: s.tmp_0 = game_pushScene__P3021_mk(s); - s.callLocIdx = 1182; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1184; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C3113_VT); @@ -11069,13 +11069,13 @@ switch (step) { s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P3121; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1183; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1185; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___5257 = (s.tmp_0); + globals.instance___5258 = (s.tmp_0); s.tmp_0 = scene_systemMenu_PauseMenu_show__P3115_mk(s); - s.tmp_0.arg0 = globals.instance___5257; - s.callLocIdx = 1184; s.pc = 6; return s.tmp_0; + s.tmp_0.arg0 = globals.instance___5258; + s.callLocIdx = 1186; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -11108,31 +11108,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___14705 = undefined; + s.options___14744 = undefined; r0 = pxsim_Array__mk(); - s.options___14705 = (r0); + s.options___14744 = (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__P14713; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P5263; - s.callLocIdx = 1164; s.pc = 5; return s.tmp_1; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14752; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P5264; + s.callLocIdx = 1166; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); + r0 = pxsim_Array__push(s.options___14744, 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__P14727; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P5262; - s.callLocIdx = 1166; s.pc = 6; return s.tmp_1; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14766; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P5263; + s.callLocIdx = 1168; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); + r0 = pxsim_Array__push(s.options___14744, 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__P14742; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P5265; - s.callLocIdx = 1169; s.pc = 7; return s.tmp_2; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P14781; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P5266; + s.callLocIdx = 1171; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_1); + r0 = pxsim_Array__push(s.options___14744, 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__P14757; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P5264; - s.callLocIdx = 1171; s.pc = 8; return s.tmp_1; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14796; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P5265; + s.callLocIdx = 1173; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); + r0 = pxsim_Array__push(s.options___14744, 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__P14772; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P5267; - s.callLocIdx = 1172; s.pc = 9; return s.tmp_1; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14811; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P5268; + s.callLocIdx = 1174; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); + r0 = pxsim_Array__push(s.options___14744, 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__P14781; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P5268; - s.callLocIdx = 1174; s.pc = 10; return s.tmp_1; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14820; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P5269; + s.callLocIdx = 1176; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); + r0 = pxsim_Array__push(s.options___14744, 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__P14790; - s.tmp_1.arg3 = scene_systemMenu_sleep__P5269; - s.callLocIdx = 1175; s.pc = 11; return s.tmp_1; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14829; + s.tmp_1.arg3 = scene_systemMenu_sleep__P5270; + s.callLocIdx = 1177; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___5258); + r0 = pxsim_Array__push(s.options___14744, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___5259); if (!r0) { step = 3; continue; } s.tmp_0 = helpers_arrayConcat__P113_mk(s); - s.tmp_0.arg0 = s.options___14705; - s.tmp_0.arg1 = globals.customMenuOptions___5258; - s.callLocIdx = 1176; s.pc = 12; return s.tmp_0; + s.tmp_0.arg0 = s.options___14744; + s.tmp_0.arg1 = globals.customMenuOptions___5259; + s.callLocIdx = 1178; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___14705 = (r0); + s.options___14744 = (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__P14803; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14842; s.tmp_1.arg3 = scene_systemMenu_closeMenu__P3120; - s.callLocIdx = 1177; s.pc = 13; return s.tmp_1; + s.callLocIdx = 1179; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14705, s.tmp_0); - r0 = s.options___14705; + r0 = pxsim_Array__push(s.options___14744, s.tmp_0); + r0 = s.options___14744; 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___14705: undefined, + options___14744: undefined, } } -function scene_systemMenu_buildOptionList_inline__P14713(s) { +function scene_systemMenu_buildOptionList_inline__P14752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11248,7 +11248,7 @@ switch (step) { case 0: s.tmp_3 = music_volume__P1622_mk(s); - s.callLocIdx = 1163; s.pc = 1; return s.tmp_3; + s.callLocIdx = 1165; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -11267,12 +11267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_buildOptionList_inline__P14752.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__P14713_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14752_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14713, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14752, 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__P14713_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14727(s) { +function scene_systemMenu_buildOptionList_inline__P14766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11295,7 +11295,7 @@ switch (step) { case 0: s.tmp_3 = music_volume__P1622_mk(s); - s.callLocIdx = 1165; s.pc = 1; return s.tmp_3; + s.callLocIdx = 1167; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -11314,12 +11314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_buildOptionList_inline__P14766.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__P14727_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14766_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14727, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14766, 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__P14727_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14742(s) { +function scene_systemMenu_buildOptionList_inline__P14781(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__P14742.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__P14781.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__P14742_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14781_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14742, 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, @@ -11374,7 +11374,7 @@ function scene_systemMenu_buildOptionList_inline__P14742_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14757(s) { +function scene_systemMenu_buildOptionList_inline__P14796(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__P14757.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__P14796.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__P14757_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14796_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14757, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14796, 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__P14757_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14772(s) { +function scene_systemMenu_buildOptionList_inline__P14811(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__P14772.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__P14811.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__P14772_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14811_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14772, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14811, 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__P14772_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14781(s) { +function scene_systemMenu_buildOptionList_inline__P14820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11464,7 +11464,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5304); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11485,12 +11485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_buildOptionList_inline__P14820.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__P14781_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14820_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14781, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14820, 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__P14781_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14790(s) { +function scene_systemMenu_buildOptionList_inline__P14829(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__P14790.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__P14829.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__P14790_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14829_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14790, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11530,7 +11530,7 @@ function scene_systemMenu_buildOptionList_inline__P14790_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14803(s) { +function scene_systemMenu_buildOptionList_inline__P14842(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__P14803.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__P14842.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__P14803_mk(s) { +function scene_systemMenu_buildOptionList_inline__P14842_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14803, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P14842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11557,7 +11557,7 @@ function scene_systemMenu_buildOptionList_inline__P14803_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P5270(s) { +function scene_systemMenu_setScreenBrightnessSupported__P5271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11571,12 +11571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P5270.info = {"start":10398,"length":95,"line":330,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} +scene_systemMenu_setScreenBrightnessSupported__P5271.info = {"start":10398,"length":95,"line":330,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} -function scene_systemMenu_setScreenBrightnessSupported__P5270_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P5271_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P5270, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P5271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11584,7 +11584,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P5270_mk(s) { -function scene_systemMenu_sleep__P5269(s) { +function scene_systemMenu_sleep__P5270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11599,12 +11599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P5269.info = {"start":10072,"length":51,"line":316,"column":4,"endLine":318,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} +scene_systemMenu_sleep__P5270.info = {"start":10072,"length":51,"line":316,"column":4,"endLine":318,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} -function scene_systemMenu_sleep__P5269_mk(s) { +function scene_systemMenu_sleep__P5270_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P5269, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P5270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11612,7 +11612,7 @@ function scene_systemMenu_sleep__P5269_mk(s) { -function scene_systemMenu_toggleConsole__P5268(s) { +function scene_systemMenu_toggleConsole__P5269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11622,7 +11622,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5304); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11635,7 +11635,7 @@ switch (step) { s.tmp_4 = game_consoleOverlay_setVisible__P3144_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1157; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1159; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } @@ -11643,12 +11643,12 @@ switch (step) { s.tmp_0 = game_consoleOverlay_setVisible__P3144_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1158; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1160; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = console_log__P380_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1159; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1161; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -11656,12 +11656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P5268.info = {"start":9827,"length":239,"line":307,"column":4,"endLine":314,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} +scene_systemMenu_toggleConsole__P5269.info = {"start":9827,"length":239,"line":307,"column":4,"endLine":314,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} -function scene_systemMenu_toggleConsole__P5268_mk(s) { +function scene_systemMenu_toggleConsole__P5269_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P5268, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P5269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11690,7 +11690,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5304); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -11711,14 +11711,14 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___5303 = (s.tmp_6); + globals.consoleStrings___5304 = (s.tmp_6); case 3: case 4: r0 = (s.arg1 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - globals.consoleColor___5302 = (s.arg1); + globals.consoleColor___5303 = (s.arg1); case 5: case 6: r0 = undefined; @@ -11796,8 +11796,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___7921 = undefined; - s.i___7930 = undefined; + s.text___7932 = undefined; + s.i___7941 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11816,38 +11816,38 @@ switch (step) { s.callLocIdx = 32; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___7921 = (r0); - if ((s.text___7921) && (s.text___7921).vtable) { + s.text___7932 = (r0); + if ((s.text___7932) && (s.text___7932).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___7921); + pxsim_String__stringConv(s.text___7932); checkResumeConsumed(); return; - } else { s.retval = (s.text___7921) + ""; } + } else { s.retval = (s.text___7932) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___7921 = (r0); - s.i___7930 = (0); + s.text___7932 = (r0); + s.i___7941 = (0); case 3: - s.tmp_1 = r0 = s.i___7930; - r0 = pxsim_Array__length(globals.listeners___4482); + s.tmp_1 = r0 = s.i___7941; + r0 = pxsim_Array__length(globals.listeners___4483); 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 = lambda_3_mk(s); - r0 = pxsim_Array__getAt(globals.listeners___4482, s.i___7930); + r0 = pxsim_Array__getAt(globals.listeners___4483, s.i___7941); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___7921; + s.tmp_3.arg1 = s.text___7932; 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___7930 + 1); - s.i___7930 = (r0); + r0 = (s.i___7941 + 1); + s.i___7941 = (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___7921: undefined, - i___7930: undefined, + text___7932: undefined, + i___7941: 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___7968 = undefined; - s.asString___7986 = undefined; - s.keys___7998 = undefined; - s.snipped___8002 = undefined; + s.asArr___7979 = undefined; + s.asString___7997 = undefined; + s.keys___8009 = undefined; + s.snipped___8013 = 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___7968 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___7968); + s.asArr___7979 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___7979); 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___7968; + s.tmp_2.arg0 = s.asArr___7979; 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___7968; + s.tmp_8.arg0 = s.asArr___7979; 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___7986 = (r0); - r0 = (s.asString___7986 != "[object Object]"); + s.asString___7997 = (r0); + r0 = (s.asString___7997 != "[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___7986 != "[Object]"); + r0 = (s.asString___7997 != "[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___7986; + r0 = s.asString___7997; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___7998 = (r0); - r0 = pxsim_Array__length(s.keys___7998); + s.keys___8009 = (r0); + r0 = pxsim_Array__length(s.keys___8009); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___8002 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___8002); + s.snipped___8013 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___8013); if (!r0) { step = 10; continue; } s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = s.keys___7998; + s.tmp_0.arg0 = s.keys___8009; 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___7998 = (r0); + s.keys___8009 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P8019); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P8030); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___8002); + r0 = pxsim_numops_toBoolDecr(s.snipped___8013); 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___7998; + s.tmp_7.arg0 = s.keys___8009; 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___7968: undefined, - asString___7986: undefined, - keys___7998: undefined, - snipped___8002: undefined, + asArr___7979: undefined, + asString___7997: undefined, + keys___8009: undefined, + snipped___8013: undefined, arg0: undefined, arg1: undefined, } } @@ -12118,7 +12118,7 @@ function console_inspect__P382_mk(s) { -function console_inspect_inline__P8019(s) { +function console_inspect_inline__P8030(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__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"]} +console_inspect_inline__P8030.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__P8019_mk(s) { +function console_inspect_inline__P8030_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P8019, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P8030, 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___8067 = undefined; - s.len___8069 = undefined; - s.i___8103 = undefined; + s.res___8078 = undefined; + s.len___8080 = undefined; + s.i___8114 = 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___8067 = (r0); + s.res___8078 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___8069 = (r0); + s.len___8080 = (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___8069 + s.arg1); + r0 = (s.len___8080 + 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___8069); + r0 = (s.arg1 > s.len___8080); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___8067; + r0 = s.res___8078; { 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___8069); + s.arg2 = (s.len___8080); { 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___8069 + s.arg2); + r0 = (s.len___8080 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___8069); + r0 = (s.arg2 > s.len___8080); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___8069); + s.arg2 = (s.len___8080); case 11: case 12: - s.i___8103 = (s.arg1); + s.i___8114 = (s.arg1); case 13: - r0 = (s.i___8103 < s.arg2); + r0 = (s.i___8114 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___8067; - r0 = pxsim_Array__getAt(s.arg0, s.i___8103); + s.tmp_1 = r0 = s.res___8078; + r0 = pxsim_Array__getAt(s.arg0, s.i___8114); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___8103 + 1); - s.i___8103 = (r0); + r0 = (s.i___8114 + 1); + s.i___8114 = (r0); { step = 13; continue; } case 14: - r0 = s.res___8067; + r0 = s.res___8078; 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___8067: undefined, - len___8069: undefined, - i___8103: undefined, + res___8078: undefined, + len___8080: undefined, + i___8114: 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___8046 = undefined; - s.i___8049 = undefined; + s.len___8057 = undefined; + s.i___8060 = 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___8046 = (r0); - s.i___8049 = (0); + s.len___8057 = (r0); + s.i___8060 = (0); case 1: - r0 = (s.i___8049 < s.len___8046); + r0 = (s.i___8060 < s.len___8057); 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___8049); + r0 = pxsim_Array__getAt(s.arg0, s.i___8060); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___8049; + s.tmp_1.arg2 = s.i___8060; 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___8049 + 1); - s.i___8049 = (r0); + r0 = (s.i___8060 + 1); + s.i___8060 = (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___8046: undefined, - i___8049: undefined, + len___8057: undefined, + i___8060: 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___8135 = undefined; - s.len___8136 = undefined; - s.i___8139 = undefined; + s.r___8146 = undefined; + s.len___8147 = undefined; + s.i___8150 = 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___8135 = (r0); + s.r___8146 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___8136 = (r0); - s.i___8139 = (0); + s.len___8147 = (r0); + s.i___8150 = (0); case 5: - r0 = (s.i___8139 < s.len___8136); + r0 = (s.i___8150 < s.len___8147); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___8139 > 0); + r0 = (s.i___8150 > 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___8135) && (s.r___8135).vtable) { + if ((s.r___8146) && (s.r___8146).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___8135); + pxsim_String__stringConv(s.r___8146); checkResumeConsumed(); return; - } else { s.retval = (s.r___8135) + ""; } + } else { s.retval = (s.r___8146) + ""; } 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___8135 = (r0); + s.r___8146 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___8139); + r0 = pxsim_Array__getAt(s.arg0, s.i___8150); 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___8139); + r0 = pxsim_Array__getAt(s.arg0, s.i___8150); 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___8139); + r0 = pxsim_Array__getAt(s.arg0, s.i___8150); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___8135) && (s.r___8135).vtable) { + if ((s.r___8146) && (s.r___8146).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___8135); + pxsim_String__stringConv(s.r___8146); checkResumeConsumed(); return; - } else { s.retval = (s.r___8135) + ""; } + } else { s.retval = (s.r___8146) + ""; } 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___8135 = (r0); - r0 = (s.i___8139 + 1); - s.i___8139 = (r0); + s.r___8146 = (r0); + r0 = (s.i___8150 + 1); + s.i___8150 = (r0); { step = 5; continue; } case 14: - r0 = s.r___8135; + r0 = s.r___8146; 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___8135: undefined, - len___8136: undefined, - i___8139: undefined, + r___8146: undefined, + len___8147: undefined, + i___8150: undefined, arg0: undefined, arg1: undefined, } } @@ -12542,7 +12542,7 @@ function helpers_arrayJoin__P103_mk(s) { -function scene_systemMenu_toggleStats__P5267(s) { +function scene_systemMenu_toggleStats__P5268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12576,7 +12576,7 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 1155; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1157; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -12585,12 +12585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P5267.info = {"start":9642,"length":179,"line":300,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} +scene_systemMenu_toggleStats__P5268.info = {"start":9642,"length":179,"line":300,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} -function scene_systemMenu_toggleStats__P5267_mk(s) { +function scene_systemMenu_toggleStats__P5268_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P5267, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P5268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12602,7 +12602,7 @@ function scene_systemMenu_toggleStats__P5267_mk(s) { -function scene_systemMenu_brightnessDown__P5265(s) { +function scene_systemMenu_brightnessDown__P5266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12612,24 +12612,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P5266_mk(s); + s.tmp_0 = scene_systemMenu_setScreenBrightness__P5267_mk(s); r0 = globals.brightness___1952; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1151; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1153; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P5265.info = {"start":9198,"length":87,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} +scene_systemMenu_brightnessDown__P5266.info = {"start":9198,"length":87,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} -function scene_systemMenu_brightnessDown__P5265_mk(s) { +function scene_systemMenu_brightnessDown__P5266_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P5265, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P5266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12639,7 +12639,7 @@ function scene_systemMenu_brightnessDown__P5265_mk(s) { -function scene_systemMenu_setScreenBrightness__P5266(s) { +function scene_systemMenu_setScreenBrightness__P5267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12656,26 +12656,26 @@ switch (step) { s.tmp_0 = helpers_setScreenBrightness__P1966_mk(s); s.tmp_0.arg0 = globals.screen___2033; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1152; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1154; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = settings_writeNumber__P2064_mk(s); s.tmp_0.arg0 = "#brightness"; r0 = globals.brightness___1952; s.tmp_0.arg1 = r0; - s.callLocIdx = 1154; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1156; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P5266.info = {"start":9291,"length":345,"line":293,"column":4,"endLine":298,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightness","argumentNames":["b"]} +scene_systemMenu_setScreenBrightness__P5267.info = {"start":9291,"length":345,"line":293,"column":4,"endLine":298,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightness","argumentNames":["b"]} -function scene_systemMenu_setScreenBrightness__P5266_mk(s) { +function scene_systemMenu_setScreenBrightness__P5267_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P5266, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P5267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12789,77 +12789,77 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___14881 = undefined; - s.n___14883 = undefined; - s.unnamed62___U2 = undefined; - s.unnamed63___U3 = undefined; - s.buf___14893 = undefined; - s.n___14899 = undefined; - s.unnamed64___U6 = undefined; - s.unnamed65___U7 = undefined; + s.off___14920 = undefined; + s.n___14922 = undefined; + s.unnamed64___U2 = undefined; + s.unnamed65___U3 = undefined; + s.buf___14932 = undefined; + s.n___14938 = undefined; + s.unnamed66___U6 = undefined; + s.unnamed67___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___14881 = (0); - s.n___14883 = (undefined); - s.unnamed62___U2 = (s.arg0); - s.unnamed63___U3 = (0); + s.off___14920 = (0); + s.n___14922 = (undefined); + s.unnamed64___U2 = (s.arg0); + s.unnamed65___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed63___U3; - r0 = pxsim_Array__length(s.unnamed62___U2); + s.tmp_0 = r0 = s.unnamed65___U3; + r0 = pxsim_Array__length(s.unnamed64___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed62___U2, s.unnamed63___U3); - s.n___14883 = (r0); - s.tmp_2 = r0 = s.off___14881; - s.tmp_4 = msgpack_packNumberCore__P4441_mk(s); + r0 = pxsim_Array__getAt(s.unnamed64___U2, s.unnamed65___U3); + s.n___14922 = (r0); + s.tmp_2 = r0 = s.off___14920; + s.tmp_4 = msgpack_packNumberCore__P4442_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___14881; - s.tmp_4.arg2 = s.n___14883; + s.tmp_4.arg1 = s.off___14920; + s.tmp_4.arg2 = s.n___14922; 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___14881 = (r0); - r0 = (s.unnamed63___U3 + 1); - s.unnamed63___U3 = (r0); + s.off___14920 = (r0); + r0 = (s.unnamed65___U3 + 1); + s.unnamed65___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed62___U2 = (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); + s.unnamed64___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___14920); + s.buf___14932 = (r0); + s.off___14920 = (0); + s.n___14938 = (undefined); + s.unnamed66___U6 = (s.arg0); + s.unnamed67___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed65___U7; - r0 = pxsim_Array__length(s.unnamed64___U6); + s.tmp_0 = r0 = s.unnamed67___U7; + r0 = pxsim_Array__length(s.unnamed66___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed64___U6, s.unnamed65___U7); - 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___14893; - s.tmp_4.arg1 = s.off___14881; - s.tmp_4.arg2 = s.n___14899; + r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); + s.n___14938 = (r0); + s.tmp_2 = r0 = s.off___14920; + s.tmp_4 = msgpack_packNumberCore__P4442_mk(s); + s.tmp_4.arg0 = s.buf___14932; + s.tmp_4.arg1 = s.off___14920; + s.tmp_4.arg2 = s.n___14938; 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___14881 = (r0); - r0 = (s.unnamed65___U7 + 1); - s.unnamed65___U7 = (r0); + s.off___14920 = (r0); + r0 = (s.unnamed67___U7 + 1); + s.unnamed67___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed64___U6 = (undefined); - r0 = s.buf___14893; + s.unnamed66___U6 = (undefined); + r0 = s.buf___14932; return leave(s, r0) default: oops() } } } @@ -12875,14 +12875,14 @@ function msgpack_packNumberArray__P184_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - off___14881: undefined, - n___14883: undefined, - unnamed62___U2: undefined, - unnamed63___U3: undefined, - buf___14893: undefined, - n___14899: undefined, - unnamed64___U6: undefined, - unnamed65___U7: undefined, + off___14920: undefined, + n___14922: undefined, + unnamed64___U2: undefined, + unnamed65___U3: undefined, + buf___14932: undefined, + n___14938: undefined, + unnamed66___U6: undefined, + unnamed67___U7: undefined, arg0: undefined, } } @@ -12890,7 +12890,7 @@ function msgpack_packNumberArray__P184_mk(s) { -function msgpack_packNumberCore__P4441(s) { +function msgpack_packNumberCore__P4442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12900,15 +12900,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___14913 = undefined; - s.fmt___14956 = undefined; + s.tag___14952 = undefined; + s.fmt___14995 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___14913 = (203); + s.tag___14952 = (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___14913 = (204); + s.tag___14952 = (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___14913 = (205); + s.tag___14952 = (205); { step = 10; continue; } case 9: - s.tag___14913 = (206); + s.tag___14952 = (206); case 10: case 11: { step = 17; continue; } @@ -12977,41 +12977,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___14913 = (208); + s.tag___14952 = (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___14913 = (209); + s.tag___14952 = (209); { step = 15; continue; } case 14: - s.tag___14913 = (210); + s.tag___14952 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P4440_mk(s); - s.tmp_0.arg0 = s.tag___14913; + s.tmp_0 = msgpack_tagFormat__P4441_mk(s); + s.tmp_0.arg0 = s.tag___14952; s.callLocIdx = 18; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___14956 = (r0); + s.fmt___14995 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___14913); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___14952); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___14956; + s.tmp_1 = r0 = s.fmt___14995; 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___14956; + s.tmp_1.arg0 = s.fmt___14995; s.callLocIdx = 19; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -13021,12 +13021,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P4441.info = {"start":1632,"length":951,"line":56,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} +msgpack_packNumberCore__P4442.info = {"start":1632,"length":951,"line":56,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberCore","argumentNames":["buf","offset","num"]} -function msgpack_packNumberCore__P4441_mk(s) { +function msgpack_packNumberCore__P4442_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P4441, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P4442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13036,8 +13036,8 @@ function msgpack_packNumberCore__P4441_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___14913: undefined, - fmt___14956: undefined, + tag___14952: undefined, + fmt___14995: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13047,7 +13047,7 @@ function msgpack_packNumberCore__P4441_mk(s) { -function msgpack_tagFormat__P4440(s) { +function msgpack_tagFormat__P4441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13107,12 +13107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P4440.info = {"start":1145,"length":481,"line":42,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} +msgpack_tagFormat__P4441.info = {"start":1145,"length":481,"line":42,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"tagFormat","argumentNames":["tag"]} -function msgpack_tagFormat__P4440_mk(s) { +function msgpack_tagFormat__P4441_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P4440, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P4441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13299,7 +13299,7 @@ function helpers_setScreenBrightness__P1966_mk(s) { -function scene_systemMenu_brightnessUp__P5264(s) { +function scene_systemMenu_brightnessUp__P5265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13309,24 +13309,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P5266_mk(s); + s.tmp_0 = scene_systemMenu_setScreenBrightness__P5267_mk(s); r0 = globals.brightness___1952; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1149; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1151; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P5264.info = {"start":9107,"length":85,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} +scene_systemMenu_brightnessUp__P5265.info = {"start":9107,"length":85,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} -function scene_systemMenu_brightnessUp__P5264_mk(s) { +function scene_systemMenu_brightnessUp__P5265_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P5264, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P5265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13336,7 +13336,7 @@ function scene_systemMenu_brightnessUp__P5264_mk(s) { -function scene_systemMenu_volumeDown__P5263(s) { +function scene_systemMenu_volumeDown__P5264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13346,54 +13346,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___15229 = undefined; - s.remainder___15232 = undefined; - s.newVolume___15235 = undefined; + s.v___15268 = undefined; + s.remainder___15271 = undefined; + s.newVolume___15274 = undefined; s.tmp_0 = music_volume__P1622_mk(s); - s.callLocIdx = 1146; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1148; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___15229 = (r0); - r0 = (s.v___15229 % 32); - s.remainder___15232 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___15232); + s.v___15268 = (r0); + r0 = (s.v___15268 % 32); + s.remainder___15271 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___15271); if (!r0) { step = 1; continue; } - r0 = s.remainder___15232; + r0 = s.remainder___15271; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = 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___15235; - s.callLocIdx = 1147; s.pc = 4; return s.tmp_0; + r0 = (s.v___15268 - s.tmp_0); + s.newVolume___15274 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P5262_mk(s); + s.tmp_0.arg0 = s.newVolume___15274; + s.callLocIdx = 1149; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P5263.info = {"start":8914,"length":187,"line":278,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeDown","argumentNames":[]} +scene_systemMenu_volumeDown__P5264.info = {"start":8914,"length":187,"line":278,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeDown","argumentNames":[]} -function scene_systemMenu_volumeDown__P5263_mk(s) { +function scene_systemMenu_volumeDown__P5264_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P5263, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P5264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___15229: undefined, - remainder___15232: undefined, - newVolume___15235: undefined, + v___15268: undefined, + remainder___15271: undefined, + newVolume___15274: undefined, } } -function scene_systemMenu_setVolume__P5261(s) { +function scene_systemMenu_setVolume__P5262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13409,31 +13409,31 @@ switch (step) { } s.tmp_0 = music_setVolume__P1621_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1141; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1143; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = music_playTone__P1623_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1142; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1144; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = settings_writeNumber__P2064_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1143; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1145; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P5261.info = {"start":8565,"length":166,"line":265,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setVolume","argumentNames":["newVolume"]} +scene_systemMenu_setVolume__P5262.info = {"start":8565,"length":166,"line":265,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setVolume","argumentNames":["newVolume"]} -function scene_systemMenu_setVolume__P5261_mk(s) { +function scene_systemMenu_setVolume__P5262_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P5261, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P5262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13453,7 +13453,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___15070 = undefined; + s.id___15109 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13478,7 +13478,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P4540_mk(s); + s.tmp_2 = music_playNoteCore__P4541_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -13494,13 +13494,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___4542 + 1); + r0 = (globals.playToneID___4543 + 1); s.tmp_0 = r0; - globals.playToneID___4542 = (r0); - s.id___15070 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P15076); + globals.playToneID___4543 = (r0); + s.id___15109 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P15115); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___15070); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___15109); 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___15070: undefined, + id___15109: undefined, arg0: undefined, arg1: undefined, } } @@ -13528,7 +13528,7 @@ function music_playTone__P1623_mk(s) { -function music_playTone_inline__P15076(s) { +function music_playTone_inline__P15115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13538,14 +13538,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___15077 = undefined; - s.now___15087 = undefined; - s.d___15090 = undefined; - s.t___15094 = undefined; + s.pos___15116 = undefined; + s.now___15126 = undefined; + s.d___15129 = undefined; + s.t___15133 = undefined; r0 = pxsim.control.millis(); - s.pos___15077 = (r0); + s.pos___15116 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___4542); + r0 = (s.caps[0] == globals.playToneID___4543); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -13561,9 +13561,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___15087 = (r0); - r0 = (s.pos___15077 - s.now___15087); - s.d___15090 = (r0); + s.now___15126 = (r0); + r0 = (s.pos___15116 - s.now___15126); + s.d___15129 = (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___15094 = (r0); + s.t___15133 = (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___15094); + r0 = (s.tmp_2 - s.t___15133); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___15077 + s.t___15094); - s.pos___15077 = (r0); - s.tmp_0 = music_playNoteCore__P4540_mk(s); - r0 = (s.d___15090 - 1); + r0 = (s.pos___15116 + s.t___15133); + s.pos___15116 = (r0); + s.tmp_0 = music_playNoteCore__P4541_mk(s); + r0 = (s.d___15129 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___15094; + s.tmp_0.arg2 = s.t___15133; 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___15090 + s.t___15094); + r0 = (s.d___15129 + s.t___15133); 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___15090 + s.t___15094); + r0 = (s.d___15129 + s.t___15133); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -13617,27 +13617,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +music_playTone_inline__P15115.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__P15076_mk(s) { +function music_playTone_inline__P15115_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P15076, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P15115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___15077: undefined, - now___15087: undefined, - d___15090: undefined, - t___15094: undefined, + pos___15116: undefined, + now___15126: undefined, + d___15129: undefined, + t___15133: undefined, } } -function music_playNoteCore__P4540(s) { +function music_playNoteCore__P4541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13647,7 +13647,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15124 = undefined; + s.buf___15163 = 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___15124 = (r0); + s.buf___15163 = (r0); s.tmp_0 = music_addNote__P1637_mk(s); - s.tmp_0.arg0 = s.buf___15124; + s.tmp_0.arg0 = s.buf___15163; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 255; @@ -13673,21 +13673,21 @@ 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___15124); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___15163); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P4540.info = {"start":1877,"length":240,"line":66,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playNoteCore","argumentNames":["when","frequency","ms"]} +music_playNoteCore__P4541.info = {"start":1877,"length":240,"line":66,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playNoteCore","argumentNames":["when","frequency","ms"]} -function music_playNoteCore__P4540_mk(s) { +function music_playNoteCore__P4541_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P4540, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P4541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___15124: undefined, + buf___15163: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13813,8 +13813,8 @@ switch (step) { s.callLocIdx = 60; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___4535 = (r0); - r0 = (globals.globalVolume___4535 > 0); + globals.globalVolume___4536 = (r0); + r0 = (globals.globalVolume___4536 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -13846,7 +13846,7 @@ function music_setVolume__P1621_mk(s) { -function music_enableAmp__P4538(s) { +function music_enableAmp__P4539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13864,12 +13864,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P4538.info = {"start":944,"length":64,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"enableAmp","argumentNames":["en"]} +music_enableAmp__P4539.info = {"start":944,"length":64,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"enableAmp","argumentNames":["en"]} -function music_enableAmp__P4538_mk(s) { +function music_enableAmp__P4539_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P4538, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P4539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13878,7 +13878,7 @@ function music_enableAmp__P4538_mk(s) { -function scene_systemMenu_volumeUp__P5262(s) { +function scene_systemMenu_volumeUp__P5263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13888,40 +13888,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___15038 = undefined; - s.remainder___15041 = undefined; - s.newVolume___15044 = undefined; + s.v___15077 = undefined; + s.remainder___15080 = undefined; + s.newVolume___15083 = undefined; s.tmp_0 = music_volume__P1622_mk(s); - s.callLocIdx = 1144; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1146; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___15038 = (r0); - r0 = (s.v___15038 % 32); - s.remainder___15041 = (r0); - r0 = (s.v___15038 + 32); + s.v___15077 = (r0); + r0 = (s.v___15077 % 32); + s.remainder___15080 = (r0); + r0 = (s.v___15077 + 32); s.tmp_0 = 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___15044; - s.callLocIdx = 1145; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___15080); + s.newVolume___15083 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P5262_mk(s); + s.tmp_0.arg0 = s.newVolume___15083; + s.callLocIdx = 1147; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P5262.info = {"start":8737,"length":171,"line":271,"column":4,"endLine":276,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeUp","argumentNames":[]} +scene_systemMenu_volumeUp__P5263.info = {"start":8737,"length":171,"line":271,"column":4,"endLine":276,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"volumeUp","argumentNames":[]} -function scene_systemMenu_volumeUp__P5262_mk(s) { +function scene_systemMenu_volumeUp__P5263_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P5262, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P5263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___15038: undefined, - remainder___15041: undefined, - newVolume___15044: undefined, + v___15077: undefined, + remainder___15080: undefined, + newVolume___15083: undefined, } } @@ -13938,7 +13938,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5303); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5304); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -13974,21 +13974,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5257); + r0 = pxsim_numops_toBoolDecr(globals.instance___5258); if (!r0) { step = 1; continue; } s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P3119_mk(s); - s.tmp_0.arg0 = globals.instance___5257; - s.callLocIdx = 1160; s.pc = 3; return s.tmp_0; + s.tmp_0.arg0 = globals.instance___5258; + s.callLocIdx = 1162; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___5257 = (undefined); + globals.instance___5258 = (undefined); s.tmp_0 = controller__setUserEventsEnabled__P2207_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1161; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1163; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = game_popScene__P3022_mk(s); - s.callLocIdx = 1162; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1164; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -14034,8 +14034,8 @@ 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__P14152; - s.callLocIdx = 1137; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P14191; + s.callLocIdx = 1139; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -14061,7 +14061,7 @@ function scene_systemMenu_PauseMenu_dispose__P3119_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P14152(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P14191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14077,19 +14077,19 @@ switch (step) { } s.tmp_0 = scene_systemMenu_MenuOption_dispose__P3112_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1138; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_dispose_inline__P14191.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__P14152_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P14191_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P14152, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P14191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14124,7 +14124,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1056; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1058; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = Sprite_destroy__P2429_mk(s); @@ -14132,7 +14132,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 1057; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1059; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -14259,7 +14259,7 @@ switch (step) { s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; - s.callLocIdx = 1321; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1323; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = effects_ParticleEffect_start__P3282_mk(s); @@ -14279,7 +14279,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1322; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1324; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -14297,7 +14297,7 @@ switch (step) { s.tmp_0 = effects_ImageEffect_applyTo__P3310_mk(s); s.tmp_0.arg0 = globals.dissolve___3313; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1323; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1325; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; @@ -14327,7 +14327,7 @@ function effects_ParticleEffect_destroy__P3283_mk(s) { -function dissolve_inline__P14276(s) { +function dissolve_inline__P14315(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___14279 = undefined; - s.x___14290 = undefined; - s.y___14296 = undefined; - s.w___14302 = undefined; - s.h___14306 = undefined; + s.i___14318 = undefined; + s.x___14329 = undefined; + s.y___14335 = undefined; + s.w___14341 = undefined; + s.h___14345 = 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___14279 = (r0); + s.i___14318 = (r0); case 1: - r0 = (s.i___14279 > 0); + r0 = (s.i___14318 > 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___14290 = (r0); + s.x___14329 = (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___14296 = (r0); + s.y___14335 = (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___14302 = (r0); + s.w___14341 = (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___14306 = (r0); + s.h___14345 = (r0); s.tmp_0 = helpers_imageDrawRect__P1960_mk(s); s.tmp_0.arg0 = s.arg0; - 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.arg1 = s.x___14329; + s.tmp_0.arg2 = s.y___14335; + s.tmp_0.arg3 = s.w___14341; + s.tmp_0.arg4 = s.h___14345; s.tmp_0.arg5 = 0; s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___14279 - 1); - s.i___14279 = (r0); + r0 = (s.i___14318 - 1); + s.i___14318 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +dissolve_inline__P14315.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__P14276_mk(s) { +function dissolve_inline__P14315_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P14276, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P14315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___14279: undefined, - x___14290: undefined, - y___14296: undefined, - w___14302: undefined, - h___14306: undefined, + i___14318: undefined, + x___14329: undefined, + y___14335: undefined, + w___14341: undefined, + h___14345: undefined, arg0: undefined, arg1: undefined, } } @@ -14568,14 +14568,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4641_mk(s); + s.tmp_2 = helpers_pack__P4642_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 82; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4641_mk(s); + s.tmp_4 = helpers_pack__P4642_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 83; s.pc = 2; return s.tmp_4; @@ -14635,7 +14635,7 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_2 = Math_FastRandom_next__P3080_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1038; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1040; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -14758,7 +14758,7 @@ switch (step) { s.tmp_1 = Math_FastRandom_constructor__P3079_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1331; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1333; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -14796,7 +14796,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___14455 = undefined; + s.clonedImage___14494 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14829,17 +14829,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___14455 = (r0); + s.clonedImage___14494 = (r0); s.tmp_0 = effects_ImageEffect_change__P3311_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___14455; - s.callLocIdx = 1334; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___14494; + s.callLocIdx = 1336; 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___14455; - s.callLocIdx = 1335; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___14494; + s.callLocIdx = 1337; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -14860,7 +14860,7 @@ function effects_ImageEffect_applyTo__P3310_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___14455: undefined, + clonedImage___14494: undefined, arg0: undefined, arg1: undefined, } } @@ -14893,12 +14893,12 @@ switch (step) { s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "effect"), 3); - s.callLocIdx = 1336; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1338; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["effect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1336; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1336; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1336; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1338; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1338; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1338; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -14991,7 +14991,7 @@ function Sprite_setImage__P2392_mk(s) { -function Sprite_recalcSize__P4812(s) { +function Sprite_recalcSize__P4813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15052,12 +15052,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P4812.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} +Sprite_recalcSize__P4813.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} -function Sprite_recalcSize__P4812_mk(s) { +function Sprite_recalcSize__P4813_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P4812, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P4813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15185,17 +15185,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.i___10359 = undefined; + s.minX___10362 = undefined; + s.minY___10366 = undefined; + s.maxX___10370 = undefined; + s.maxY___10372 = undefined; + s.c___10374 = undefined; + s.fxc___10375 = undefined; + s.r___10382 = undefined; + s.fxr___10383 = undefined; + s.width___10447 = undefined; + s.height___10455 = 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___10348 = (r0); - r0 = pxsim_ImageMethods.width(s.i___10348); + s.i___10359 = (r0); + r0 = pxsim_ImageMethods.width(s.i___10359); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___10351 = (r0); - r0 = pxsim_ImageMethods.height(s.i___10348); + s.minX___10362 = (r0); + r0 = pxsim_ImageMethods.height(s.i___10359); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___10355 = (r0); - s.maxX___10359 = (0); - s.maxY___10361 = (0); - s.c___10363 = (0); - s.fxc___10364 = (0); + s.minY___10366 = (r0); + s.maxX___10370 = (0); + s.maxY___10372 = (0); + s.c___10374 = (0); + s.fxc___10375 = (0); case 5: - s.tmp_1 = r0 = s.c___10363; - r0 = pxsim_ImageMethods.width(s.i___10348); + s.tmp_1 = r0 = s.c___10374; + r0 = pxsim_ImageMethods.width(s.i___10359); 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___10371 = (0); - s.fxr___10372 = (0); + s.r___10382 = (0); + s.fxr___10383 = (0); case 6: - s.tmp_1 = r0 = s.r___10371; - r0 = pxsim_ImageMethods.height(s.i___10348); + s.tmp_1 = r0 = s.r___10382; + r0 = pxsim_ImageMethods.height(s.i___10359); 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___10348, s.c___10363, s.r___10371); + r0 = pxsim_ImageMethods.getPixel(s.i___10359, s.c___10374, s.r___10382); 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___10351; - s.tmp_4.arg1 = s.fxc___10364; + s.tmp_4.arg0 = s.minX___10362; + s.tmp_4.arg1 = s.fxc___10375; s.callLocIdx = 280; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___10351 = (r0); + s.minX___10362 = (r0); s.tmp_0 = Fx_min__P166_mk(s); - s.tmp_0.arg0 = s.minY___10355; - s.tmp_0.arg1 = s.fxr___10372; + s.tmp_0.arg0 = s.minY___10366; + s.tmp_0.arg1 = s.fxr___10383; s.callLocIdx = 281; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___10355 = (r0); + s.minY___10366 = (r0); s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxX___10359; - s.tmp_0.arg1 = s.fxc___10364; + s.tmp_0.arg0 = s.maxX___10370; + s.tmp_0.arg1 = s.fxc___10375; s.callLocIdx = 282; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___10359 = (r0); + s.maxX___10370 = (r0); s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxY___10361; - s.tmp_0.arg1 = s.fxr___10372; + s.tmp_0.arg0 = s.maxY___10372; + s.tmp_0.arg1 = s.fxr___10383; s.callLocIdx = 283; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___10361 = (r0); + s.maxY___10372 = (r0); case 7: case 8: - r0 = (s.r___10371 + 1); - s.r___10371 = (r0); - r0 = (s.fxr___10372 + 256); + r0 = (s.r___10382 + 1); + s.r___10382 = (r0); + r0 = (s.fxr___10383 + 256); s.tmp_0 = r0; - s.fxr___10372 = (r0); + s.fxr___10383 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___10363 + 1); - s.c___10363 = (r0); - r0 = (s.fxc___10364 + 256); + r0 = (s.c___10374 + 1); + s.c___10374 = (r0); + r0 = (s.fxc___10375 + 256); s.tmp_0 = r0; - s.fxc___10364 = (r0); + s.fxc___10375 = (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___10351, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___10362, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___10351 = (r0); + s.minX___10362 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___10355, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___10366, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___10355 = (r0); + s.minY___10366 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___10359, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___10370, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___10359 = (r0); + s.maxX___10370 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___10361, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___10372, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___10361 = (r0); - r0 = (s.maxX___10359 - s.minX___10351); + s.maxY___10372 = (r0); + r0 = (s.maxX___10370 - s.minX___10362); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___10436 = (r0); - r0 = (s.maxY___10361 - s.minY___10355); + s.width___10447 = (r0); + r0 = (s.maxY___10372 - s.minY___10366); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___10444 = (r0); + s.height___10455 = (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___10436; - s.tmp_1.arg3 = s.height___10444; - r0 = (s.minX___10351 & -256); + s.tmp_1.arg2 = s.width___10447; + s.tmp_1.arg3 = s.height___10455; + r0 = (s.minX___10362 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___10355 & -256); + r0 = (s.minY___10366 & -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___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, + i___10359: undefined, + minX___10362: undefined, + minY___10366: undefined, + maxX___10370: undefined, + maxY___10372: undefined, + c___10374: undefined, + fxc___10375: undefined, + r___10382: undefined, + fxr___10383: undefined, + width___10447: undefined, + height___10455: undefined, arg0: undefined, } } @@ -15806,17 +15806,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.newHitBox___10551 = undefined; + s.oMinX___10556 = undefined; + s.oMinY___10559 = undefined; + s.oMaxX___10562 = undefined; + s.oMaxY___10568 = undefined; + s.nMinX___10574 = undefined; + s.nMinY___10577 = undefined; + s.nMaxX___10580 = undefined; + s.nMaxY___10586 = undefined; + s.xDiff___10592 = undefined; + s.yDiff___10603 = 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___10540 = (r0); + s.newHitBox___10551 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___10545 = (r0); + s.oMinX___10556 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___10548 = (r0); + s.oMinY___10559 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___10545 + s.tmp_0); - s.oMaxX___10551 = (r0); + r0 = (s.oMinX___10556 + s.tmp_0); + s.oMaxX___10562 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - 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"]; + r0 = (s.oMinY___10559 + s.tmp_0); + s.oMaxY___10568 = (r0); + r0 = s.newHitBox___10551.fields["ox"]; + s.nMinX___10574 = (r0); + r0 = s.newHitBox___10551.fields["oy"]; + s.nMinY___10577 = (r0); + r0 = s.newHitBox___10551.fields["width"]; s.tmp_0 = r0; - r0 = (s.nMinX___10563 + s.tmp_0); - s.nMaxX___10569 = (r0); - r0 = s.newHitBox___10540.fields["height"]; + r0 = (s.nMinX___10574 + s.tmp_0); + s.nMaxX___10580 = (r0); + r0 = s.newHitBox___10551.fields["height"]; s.tmp_0 = r0; - r0 = (s.nMinY___10566 + s.tmp_0); - s.nMaxY___10575 = (r0); + r0 = (s.nMinY___10577 + s.tmp_0); + s.nMaxY___10586 = (r0); s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinX___10545 - s.nMinX___10563); + r0 = (s.oMinX___10556 - s.nMinX___10574); 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___10551 - s.nMaxX___10569); + r0 = (s.oMaxX___10562 - s.nMaxX___10580); 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___10581 = (r0); + s.xDiff___10592 = (r0); s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinY___10548 - s.nMinY___10566); + r0 = (s.oMinY___10559 - s.nMinY___10577); 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___10557 - s.nMaxY___10575); + r0 = (s.oMaxY___10568 - s.nMaxY___10586); 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___10592 = (r0); - r0 = (s.xDiff___10581 > 512); + s.yDiff___10603 = (r0); + r0 = (s.xDiff___10592 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___10563); - r0 = s.newHitBox___10540.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___10574); + r0 = s.newHitBox___10551.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___10592 > 512); + r0 = (s.yDiff___10603 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___10566); - r0 = s.newHitBox___10540.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___10577); + r0 = s.newHitBox___10551.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___10540.fields["hash"]; + r0 = s.newHitBox___10551.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___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, + newHitBox___10551: undefined, + oMinX___10556: undefined, + oMinY___10559: undefined, + oMaxX___10562: undefined, + oMaxY___10568: undefined, + nMinX___10574: undefined, + nMinY___10577: undefined, + nMaxX___10580: undefined, + nMaxY___10586: undefined, + xDiff___10592: undefined, + yDiff___10603: undefined, arg0: undefined, } } @@ -16120,7 +16120,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___14480 = undefined; + s.src___14519 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16157,18 +16157,18 @@ switch (step) { s.tmp_4.arg2 = s.tmp_3; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "sourceFactory"), 3); - s.callLocIdx = 1319; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1321; s.pc = 10; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1319; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1319; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1319; s.pc = 10; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1321; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1321; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1321; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___14480 = (r0); + s.src___14519 = (r0); s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P3180_mk(s); - s.tmp_0.arg0 = s.src___14480; + s.tmp_0.arg0 = s.src___14519; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -16177,7 +16177,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1320; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1322; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -16193,7 +16193,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___14480).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___14519).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___14480: undefined, + src___14519: 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___14202 = undefined; + s.scene___14241 = 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___14202 = (r0); - r0 = s.scene___14202.fields["allSprites"]; + s.scene___14241 = (r0); + r0 = s.scene___14241.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___14202.fields["spritesByKind"]; + r0 = s.scene___14241.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___14202.fields["spritesByKind"]; + r0 = s.scene___14241.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___14202.fields["physicsEngine"]; + r0 = s.scene___14241.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__P14231); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14270); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P14238); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P14277); 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___14202.fields["destroyedHandlers"]; + r0 = s.scene___14241.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___14202: undefined, + scene___14241: undefined, arg0: undefined, } } @@ -16488,7 +16488,7 @@ function Sprite__destroyCore__P2430_mk(s) { -function forEach_inline__P14231(s) { +function forEach_inline__P14270(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__P14231.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__P14270.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__P14231_mk(s) { +function forEach_inline__P14270_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14231, depth: s.depth + 1, + parent: s, fn: forEach_inline__P14270, 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__P14231_mk(s) { -function Sprite__destroyCore_inline__P14238(s) { +function Sprite__destroyCore_inline__P14277(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__P14238.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__P14277.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__P14238_mk(s) { +function Sprite__destroyCore_inline__P14277_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P14238, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P14277, 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___10217 = undefined; + s.i___10228 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16630,17 +16630,17 @@ switch (step) { r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___10217 = (r0); - r0 = (s.i___10217 > -1); + s.i___10228 = (r0); + r0 = (s.i___10228 > -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___10217; + s.tmp_1.arg1 = s.i___10228; s.tmp_1.arg2 = 1; - s.callLocIdx = 530; s.pc = 4; return s.tmp_1; + s.callLocIdx = 532; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = true; @@ -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___10217: undefined, + i___10228: undefined, arg0: undefined, arg1: undefined, } } @@ -16714,59 +16714,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___13967 = undefined; + s.oldScene___14006 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1023; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1025; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___13967 = (r0); - s.tmp_0 = r0 = globals._sceneStack___5005; + s.oldScene___14006 = (r0); + s.tmp_0 = r0 = globals._sceneStack___5006; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__length(globals._sceneStack___5005); + r0 = pxsim_Array__length(globals._sceneStack___5006); case 2: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - r0 = pxsim_Array_.pop(globals._sceneStack___5005); - globals._scene___5004 = (r0); + r0 = pxsim_Array_.pop(globals._sceneStack___5006); + globals._scene___5005 = (r0); s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 1024; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1026; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___5004); + r0 = pxsim_numops_toBoolDecr(globals._scene___5005); if (!r0) { step = 4; continue; } s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 1025; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1027; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___5004 = (undefined); + globals._scene___5005 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___5004); + r0 = pxsim_numops_toBoolDecr(globals._scene___5005); if (!r0) { step = 7; continue; } s.tmp_0 = particles_enableAll__P3201_mk(s); - s.callLocIdx = 1026; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1028; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5007); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5008); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P13988); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P14027); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___13967); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___14006); s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___5007; + s.tmp_1.arg0 = globals._scenePopHandlers___5008; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1028; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1030; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -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___13967: undefined, + oldScene___14006: undefined, } } -function game_popScene_inline__P13988(s) { +function game_popScene_inline__P14027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16809,19 +16809,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1027; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1029; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_popScene_inline__P14027.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__P13988_mk(s) { +function game_popScene_inline__P14027_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P13988, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P14027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16841,22 +16841,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___13992 = undefined; - s.tmp_0 = particles_particleSources__P5354_mk(s); - s.callLocIdx = 1265; s.pc = 3; return s.tmp_0; + s.sources___14031 = undefined; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1267; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___13992 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___13992); + s.sources___14031 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___14031); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); - 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; + s.tmp_0.arg0 = s.sources___14031; + s.tmp_0.arg1 = particles_enableAll_inline__P14037; + s.callLocIdx = 1269; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5350_mk(s); - s.callLocIdx = 1268; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P5351_mk(s); + s.callLocIdx = 1270; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -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___13992: undefined, + sources___14031: undefined, } } -function particles_enableAll_inline__P13998(s) { +function particles_enableAll_inline__P14037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16897,19 +16897,19 @@ switch (step) { s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1266; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1268; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -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"]} +particles_enableAll_inline__P14037.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__P13998_mk(s) { +function particles_enableAll_inline__P14037_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P13998, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P14037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16919,7 +16919,7 @@ function particles_enableAll_inline__P13998_mk(s) { -function particles_particleSources__P5354(s) { +function particles_particleSources__P5355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16929,33 +16929,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___14112 = undefined; + s.sources___14151 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1269; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1271; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___14112 = (r0); - r0 = s.sources___14112; + s.sources___14151 = (r0); + r0 = s.sources___14151; return leave(s, r0) default: oops() } } } -particles_particleSources__P5354.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P5355.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} -function particles_particleSources__P5354_mk(s) { +function particles_particleSources__P5355_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P5354, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P5355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___14112: undefined, + sources___14151: undefined, } } -function particles_pruneParticles__P5350(s) { +function particles_pruneParticles__P5351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16965,26 +16965,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___14003 = undefined; - s.tmp_0 = particles_particleSources__P5354_mk(s); - s.callLocIdx = 1252; s.pc = 3; return s.tmp_0; + s.sources___14042 = undefined; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1254; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___14003 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___14003); + s.sources___14042 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___14042); 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___14003; + s.tmp_1.arg0 = s.sources___14042; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___14003); + r0 = pxsim_Array__length(s.sources___14042); s.tmp_1.arg2 = r0; - s.callLocIdx = 1253; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1255; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P14012; - s.callLocIdx = 1255; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles_inline__P14051; + s.callLocIdx = 1257; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -16993,23 +16993,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P5350.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P5351.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} -function particles_pruneParticles__P5350_mk(s) { +function particles_pruneParticles__P5351_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P5350, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P5351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___14003: undefined, + sources___14042: undefined, } } -function particles_pruneParticles_inline__P14012(s) { +function particles_pruneParticles_inline__P14051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17025,19 +17025,19 @@ switch (step) { } s.tmp_0 = particles_ParticleSource__prune__P3177_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1254; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1256; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_pruneParticles_inline__P14051.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__P14012_mk(s) { +function particles_pruneParticles_inline__P14051_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P14012, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P14051, 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___14042 = undefined; - s.sources___14050 = undefined; - s.current___14064 = undefined; + s.scene___14081 = undefined; + s.sources___14089 = undefined; + s.current___14103 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17109,35 +17109,35 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } s.tmp_5 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1227; s.pc = 21; return s.tmp_5; + s.callLocIdx = 1229; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___14042 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___14042); + s.scene___14081 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___14081); if (!r0) { step = 7; continue; } - r0 = s.scene___14042.fields["allSprites"]; + r0 = s.scene___14081.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P5354_mk(s); - s.callLocIdx = 1228; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1230; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___14050 = (r0); - s.tmp_0 = r0 = s.sources___14050; + s.sources___14089 = (r0); + s.tmp_0 = r0 = s.sources___14089; 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___14050); + r0 = pxsim_Array__length(s.sources___14089); 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___14050, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___14089, 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___14064 = (r0); + s.current___14103 = (r0); case 15: - s.tmp_0 = r0 = s.current___14064; + s.tmp_0 = r0 = s.current___14103; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___14064.fields["next"]; + r0 = s.current___14103.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___14064.fields["next"]; + r0 = s.current___14103.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___14064.fields["next"]; + r0 = s.current___14103.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___14064).fields["next"] = (s.tmp_4); + r0 = (s.current___14103).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___14064.fields["next"]; - s.current___14064 = (r0); + r0 = s.current___14103.fields["next"]; + s.current___14103 = (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___14042: undefined, - sources___14050: undefined, - current___14064: undefined, + scene___14081: undefined, + sources___14089: undefined, + current___14103: undefined, arg0: undefined, } } @@ -17225,7 +17225,7 @@ switch (step) { s.tmp_1 = r0 = s.arg1; s.tmp_3 = particles_ParticleSource_enabled__P3181_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1231; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1233; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -17336,9 +17336,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___14119 = undefined; - s.context___14127 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4504); + s.ctx___14158 = undefined; + s.context___14166 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4505); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17347,9 +17347,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___4504); - s.ctx___14119 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___14119); + r0 = pxsim_Array_.pop(globals.eventContexts___4505); + s.ctx___14158 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___14158); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17359,27 +17359,27 @@ switch (step) { case 3: case 4: s.tmp_2 = control_EventContext_unregister__P402_mk(s); - s.tmp_2.arg0 = s.ctx___14119; + s.tmp_2.arg0 = s.ctx___14158; s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___4504; - r0 = pxsim_Array__length(globals.eventContexts___4504); + s.tmp_0 = r0 = globals.eventContexts___4505; + r0 = pxsim_Array__length(globals.eventContexts___4505); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.context___14127 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___14127); + s.context___14166 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___14166); if (!r0) { step = 5; continue; } s.tmp_0 = control_EventContext_register__P401_mk(s); - s.tmp_0.arg0 = s.context___14127; + s.tmp_0.arg0 = s.context___14166; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___4504 = (undefined); + globals.eventContexts___4505 = (undefined); case 6: case 7: r0 = undefined; @@ -17396,8 +17396,8 @@ function control_popEventContext__P410_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___14119: undefined, - context___14127: undefined, + ctx___14158: undefined, + context___14166: undefined, } } @@ -17414,38 +17414,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___14140 = undefined; - s.unnamed68___U1 = undefined; - s.unnamed69___U2 = undefined; + s.h___14179 = undefined; + s.unnamed70___U1 = undefined; + s.unnamed71___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___14140 = (undefined); + s.h___14179 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed68___U1 = (r0); - s.unnamed69___U2 = (0); + s.unnamed70___U1 = (r0); + s.unnamed71___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed69___U2; - r0 = pxsim_Array__length(s.unnamed68___U1); + s.tmp_0 = r0 = s.unnamed71___U2; + r0 = pxsim_Array__length(s.unnamed70___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed68___U1, s.unnamed69___U2); - s.h___14140 = (r0); - s.tmp_2 = control_EventHandler_register__P4497_mk(s); - s.tmp_2.arg0 = s.h___14140; + r0 = pxsim_Array__getAt(s.unnamed70___U1, s.unnamed71___U2); + s.h___14179 = (r0); + s.tmp_2 = control_EventHandler_register__P4498_mk(s); + s.tmp_2.arg0 = s.h___14179; s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed69___U2 + 1); - s.unnamed69___U2 = (r0); + r0 = (s.unnamed71___U2 + 1); + s.unnamed71___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed68___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P4502_mk(s); + s.unnamed70___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P4503_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 49; s.pc = 4; return s.tmp_0; case 4: @@ -17464,9 +17464,9 @@ function control_EventContext_register__P401_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___14140: undefined, - unnamed68___U1: undefined, - unnamed69___U2: undefined, + h___14179: undefined, + unnamed70___U1: undefined, + unnamed71___U2: undefined, arg0: undefined, } } @@ -17488,7 +17488,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___4800 = (s.arg0); + globals._userEventsEnabled___4801 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() @@ -17592,11 +17592,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P4539_mk(s); + s.tmp_0 = music_initVolume__P4540_mk(s); s.callLocIdx = 62; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___4535; + r0 = globals.globalVolume___4536; return leave(s, r0) default: oops() } } } @@ -17614,7 +17614,7 @@ function music_volume__P1622_mk(s) { -function music_initVolume__P4539(s) { +function music_initVolume__P4540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17624,11 +17624,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___4535 === null); + r0 = (globals.globalVolume___4536 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___4535 = (0); + globals.globalVolume___4536 = (0); s.tmp_0 = music_setVolume__P1621_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; @@ -17641,12 +17641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P4539.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P4540.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} -function music_initVolume__P4539_mk(s) { +function music_initVolume__P4540_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P4539, depth: s.depth + 1, + parent: s, fn: music_initVolume__P4540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17665,55 +17665,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___14808 = undefined; - s.value___14811 = undefined; - s.unnamed58___U2 = undefined; - s.unnamed59___U3 = undefined; - s.value___14818 = undefined; - s.unnamed60___U5 = undefined; - s.unnamed61___U6 = undefined; + s.out___14847 = undefined; + s.value___14850 = undefined; + s.unnamed60___U2 = undefined; + s.unnamed61___U3 = undefined; + s.value___14857 = undefined; + s.unnamed62___U5 = undefined; + s.unnamed63___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___14808 = (r0); - s.value___14811 = (undefined); - s.unnamed58___U2 = (s.arg0); - s.unnamed59___U3 = (0); + s.out___14847 = (r0); + s.value___14850 = (undefined); + s.unnamed60___U2 = (s.arg0); + s.unnamed61___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed59___U3; - r0 = pxsim_Array__length(s.unnamed58___U2); + s.tmp_0 = r0 = s.unnamed61___U3; + r0 = pxsim_Array__length(s.unnamed60___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed58___U2, s.unnamed59___U3); - s.value___14811 = (r0); - r0 = pxsim_Array__push(s.out___14808, s.value___14811); - r0 = (s.unnamed59___U3 + 1); - s.unnamed59___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed60___U2, s.unnamed61___U3); + s.value___14850 = (r0); + r0 = pxsim_Array__push(s.out___14847, s.value___14850); + r0 = (s.unnamed61___U3 + 1); + s.unnamed61___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed58___U2 = (undefined); - s.value___14818 = (undefined); - s.unnamed60___U5 = (s.arg1); - s.unnamed61___U6 = (0); + s.unnamed60___U2 = (undefined); + s.value___14857 = (undefined); + s.unnamed62___U5 = (s.arg1); + s.unnamed63___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed61___U6; - r0 = pxsim_Array__length(s.unnamed60___U5); + s.tmp_0 = r0 = s.unnamed63___U6; + r0 = pxsim_Array__length(s.unnamed62___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed60___U5, s.unnamed61___U6); - s.value___14818 = (r0); - r0 = pxsim_Array__push(s.out___14808, s.value___14818); - r0 = (s.unnamed61___U6 + 1); - s.unnamed61___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed62___U5, s.unnamed63___U6); + s.value___14857 = (r0); + r0 = pxsim_Array__push(s.out___14847, s.value___14857); + r0 = (s.unnamed63___U6 + 1); + s.unnamed63___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed60___U5 = (undefined); - r0 = s.out___14808; + s.unnamed62___U5 = (undefined); + r0 = s.out___14847; return leave(s, r0) default: oops() } } } @@ -17726,13 +17726,13 @@ function helpers_arrayConcat__P113_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___14808: undefined, - value___14811: undefined, - unnamed58___U2: undefined, - unnamed59___U3: undefined, - value___14818: undefined, - unnamed60___U5: undefined, - unnamed61___U6: undefined, + out___14847: undefined, + value___14850: undefined, + unnamed60___U2: undefined, + unnamed61___U3: undefined, + value___14857: undefined, + unnamed62___U5: undefined, + unnamed63___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -17751,8 +17751,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___13459 = undefined; - s.i___13460 = undefined; + s.current___13498 = undefined; + s.i___13499 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17764,21 +17764,21 @@ switch (step) { s.tmp_2.arg0 = s.arg0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.callLocIdx = 1069; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1071; s.pc = 3; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 1069; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1069; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 1069; s.pc = 3; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 1071; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1071; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 1071; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___13460 = (0); + s.i___13499 = (0); case 1: - s.tmp_1 = r0 = s.i___13460; + s.tmp_1 = r0 = s.i___13499; 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___13460); - s.current___13459 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___13499); + s.current___13498 = (r0); s.tmp_0 = scene_systemMenu_MenuOption_show__P3107_mk(s); - s.tmp_0.arg0 = s.current___13459; - s.callLocIdx = 1070; s.pc = 4; return s.tmp_0; + s.tmp_0.arg0 = s.current___13498; + s.callLocIdx = 1072; 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___13459; + s.tmp_0.arg0 = s.current___13498; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1071; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1073; 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___13459; + s.tmp_0.arg0 = s.current___13498; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -17814,12 +17814,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1072; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 1074; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___13460; + s.tmp_5 = r0 = s.i___13499; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -17829,7 +17829,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1073; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 1075; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -17845,7 +17845,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 1074; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 1076; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -17859,7 +17859,7 @@ switch (step) { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.callLocIdx = 1075; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 1077; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -17879,12 +17879,12 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 1076; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 1078; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___13460; + s.tmp_17 = r0 = s.i___13499; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -17894,7 +17894,7 @@ switch (step) { s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.callLocIdx = 1077; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 1079; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -17910,7 +17910,7 @@ switch (step) { s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.callLocIdx = 1078; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 1080; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -17924,7 +17924,7 @@ switch (step) { s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.callLocIdx = 1079; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 1081; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -17935,104 +17935,104 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 1080; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1082; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___13460 + 1); - s.i___13460 = (r0); + r0 = (s.i___13499 + 1); + s.i___13499 = (r0); { step = 1; continue; } case 2: s.tmp_0 = controller__setUserEventsEnabled__P2207_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 1081; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1083; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13523); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13562); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); s.tmp_1.arg0 = globals.A___2114; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1083; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1085; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13543); + 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); s.tmp_1.arg0 = globals.A___2114; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1085; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1087; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; 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__P13572; - s.callLocIdx = 1087; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13611; + s.callLocIdx = 1089; 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__P13577; - s.callLocIdx = 1089; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13616; + s.callLocIdx = 1091; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13582); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13621); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); s.tmp_1.arg0 = globals.up___2117; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1093; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1095; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13594); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13633); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); s.tmp_1.arg0 = globals.left___2116; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1096; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1098; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13603); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13642); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); s.tmp_1.arg0 = globals.down___2119; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1100; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1102; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13619); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13658); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P2197_mk(s); s.tmp_1.arg0 = globals.right___2118; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1103; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1105; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13631); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13670); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = game_onShade__P3035_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1106; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1108; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3117_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1107; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1109; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; @@ -18071,8 +18071,8 @@ function scene_systemMenu_PauseMenu_show__P3115_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___13459: undefined, - i___13460: undefined, + current___13498: undefined, + i___13499: undefined, arg0: undefined, } } @@ -18080,7 +18080,7 @@ function scene_systemMenu_PauseMenu_show__P3115_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13523(s) { +function scene_systemMenu_PauseMenu_show_inline__P13562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18126,7 +18126,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 1; - s.callLocIdx = 1082; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1084; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -18134,12 +18134,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13562.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__P13523_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13562_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13523, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13562, 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__P13523_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13543(s) { +function scene_systemMenu_PauseMenu_show_inline__P13582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18204,7 +18204,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 0; - s.callLocIdx = 1084; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1086; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -18220,12 +18220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13582.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__P13543_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13582_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13543, 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, @@ -18244,7 +18244,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13543_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13572(s) { +function scene_systemMenu_PauseMenu_show_inline__P13611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18255,19 +18255,19 @@ switch (step) { case 0: s.tmp_0 = scene_systemMenu_closeMenu__P3120_mk(s); - s.callLocIdx = 1086; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13611.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__P13572_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13611_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13572, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13611, 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__P13572_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13577(s) { +function scene_systemMenu_PauseMenu_show_inline__P13616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18287,19 +18287,19 @@ switch (step) { case 0: s.tmp_0 = scene_systemMenu_closeMenu__P3120_mk(s); - s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1090; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13616.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__P13577_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13616_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__P13616, 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__P13577_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13582(s) { +function scene_systemMenu_PauseMenu_show_inline__P13621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18333,30 +18333,30 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1090; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 1092; s.pc = 3; return s.tmp_4; } } case 3: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); s.tmp_1.arg1 = r0; - s.callLocIdx = 1091; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1093; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1092; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1094; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13621.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__P13582_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13621_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13582, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13621, 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__P13582_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13594(s) { +function scene_systemMenu_PauseMenu_show_inline__P13633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18387,23 +18387,23 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1094; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1096; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1095; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1097; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13633.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__P13594_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13633_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13594, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13633, 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__P13594_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13603(s) { +function scene_systemMenu_PauseMenu_show_inline__P13642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18444,30 +18444,30 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1097; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 1099; s.pc = 3; return s.tmp_6; } } case 3: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_1.arg1 = r0; - s.callLocIdx = 1098; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1100; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1099; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1101; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13642.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__P13603_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13642_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13603, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13642, 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__P13603_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13619(s) { +function scene_systemMenu_PauseMenu_show_inline__P13658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18505,23 +18505,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1101; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1103; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1102; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1104; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13658.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__P13619_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13658_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13619, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13658, 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__P13619_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13631(s) { +function scene_systemMenu_PauseMenu_show_inline__P13670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18546,24 +18546,24 @@ switch (step) { s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P3116_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1104; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1106; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P3118_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1105; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1107; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_PauseMenu_show_inline__P13670.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__P13631_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P13670_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13631, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18614,7 +18614,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1118; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 1120; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -18622,7 +18622,7 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 1119; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1121; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_0 = helpers_imagePrintCenter__P1990_mk(s); @@ -18636,7 +18636,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1120; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 1122; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -18652,12 +18652,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1121; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1123; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1122; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1124; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = helpers_imageFillRect__P1957_mk(s); @@ -18672,7 +18672,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1123; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 1125; s.pc = 10; return s.tmp_2; } } case 10: r0 = s.retval; @@ -18692,7 +18692,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1124; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 1126; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -18702,7 +18702,7 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 1125; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1127; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = helpers_imageFillRect__P1957_mk(s); @@ -18716,7 +18716,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1126; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1128; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -18730,7 +18730,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1127; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 1129; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; @@ -18746,7 +18746,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1128; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 1130; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -18765,7 +18765,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 1129; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 1131; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -18776,7 +18776,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 1130; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 1132; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -18784,7 +18784,7 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1131; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1133; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; s.tmp_0 = helpers_imagePrintCenter__P1990_mk(s); @@ -18798,12 +18798,12 @@ switch (step) { s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.callLocIdx = 1132; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1134; s.pc = 19; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 1132; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1132; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 1132; s.pc = 19; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 1134; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1134; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 1134; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -18817,7 +18817,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1133; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 1135; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -18834,12 +18834,12 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1134; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 1136; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1135; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1137; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -18881,8 +18881,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___13718 = undefined; - s.x___13724 = undefined; + s.w___13757 = undefined; + s.x___13763 = 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___13718 = (r0); + s.w___13757 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___13718); + r0 = (s.tmp_1 - s.w___13757); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___13724 = (r0); + s.x___13763 = (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___13724; + s.tmp_0.arg2 = s.x___13763; 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___13718: undefined, - x___13724: undefined, + w___13757: undefined, + x___13763: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19010,7 +19010,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = 2; - s.callLocIdx = 1115; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1117; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -19049,14 +19049,14 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 1116; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1118; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P5260_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P5261_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1117; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1119; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -19088,7 +19088,7 @@ function scene_systemMenu_PauseMenu_setSelection__P3117_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P5260(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P5261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19098,7 +19098,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___13919 = undefined; + s.row___13958 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -19116,23 +19116,23 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1138; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1140; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___13919 = (r0); + s.row___13958 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___13919 === s.tmp_1); + r0 = (s.row___13958 === 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___13919 - 1); + r0 = (s.row___13958 - 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___13919 > s.tmp_6); + r0 = (s.row___13958 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -19178,7 +19178,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1139; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1141; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -19192,7 +19192,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1140; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1142; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -19207,12 +19207,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P5260.info = {"start":7907,"length":458,"line":250,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateScrollTarget","argumentNames":["this"]} +scene_systemMenu_PauseMenu_updateScrollTarget__P5261.info = {"start":7907,"length":458,"line":250,"column":8,"endLine":260,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateScrollTarget","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_updateScrollTarget__P5260_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P5261_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P5260, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P5261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19224,7 +19224,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P5260_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___13919: undefined, + row___13958: undefined, arg0: undefined, } } @@ -19242,9 +19242,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___13740 = undefined; - s.i___13744 = undefined; - s.dt___13773 = undefined; + s.t___13779 = undefined; + s.i___13783 = undefined; + s.dt___13812 = 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___13740 = (r0); - s.i___13744 = (0); + s.t___13779 = (r0); + s.i___13783 = (0); case 1: - s.tmp_1 = r0 = s.i___13744; + s.tmp_1 = r0 = s.i___13783; 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___13744); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___13783); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___13740; - s.tmp_11 = r0 = s.i___13744; + s.tmp_8 = r0 = s.t___13779; + s.tmp_11 = r0 = s.i___13783; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -19282,7 +19282,7 @@ switch (step) { s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.callLocIdx = 1108; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 1110; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -19297,15 +19297,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 1109; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1111; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___13744 + 1); - s.i___13744 = (r0); + r0 = (s.i___13783 + 1); + s.i___13783 = (r0); { step = 1; continue; } case 2: s.tmp_1 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1110; s.pc = 12; return s.tmp_1; + s.callLocIdx = 1112; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -19313,7 +19313,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___13773 = (r0); + s.dt___13812 = (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___13773 * 100); + r0 = (s.dt___13812 * 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___13773 * 100); + r0 = (s.dt___13812 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -19360,7 +19360,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 1112; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1114; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -19375,14 +19375,14 @@ switch (step) { case 8: s.tmp_0 = scene_Camera_offsetY__P2790_mk(s); s.tmp_1 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1113; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1115; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = r0.fields["camera"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["scrollOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1114; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1116; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -19411,9 +19411,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P3116_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___13740: undefined, - i___13744: undefined, - dt___13773: undefined, + t___13779: undefined, + i___13783: undefined, + dt___13812: undefined, arg0: undefined, } } @@ -19445,7 +19445,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1051; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1053; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_y__P2358_mk(s); @@ -19454,11 +19454,11 @@ switch (step) { s.tmp_1 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1052; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1054; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1053; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1055; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; @@ -19492,7 +19492,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___13847 = undefined; + s.physics___13886 = 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___13847 = (r0); + s.physics___13886 = (r0); s.tmp_0 = PhysicsEngine__C2512_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___13847; + s.tmp_0.arg0 = s.physics___13886; 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___13847: undefined, + physics___13886: undefined, arg0: undefined, arg1: undefined, } } @@ -19754,9 +19754,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5259_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5260_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1055; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1057; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -19781,7 +19781,7 @@ function scene_systemMenu_MenuOption_setState__P3111_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P5259(s) { +function scene_systemMenu_MenuOption_updateCard__P5260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19831,12 +19831,12 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1058; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1060; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 1059; s.pc = 8; return s.tmp_4; + s.callLocIdx = 1061; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } @@ -19853,12 +19853,12 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1060; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 1062; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1061; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1063; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } @@ -19875,12 +19875,12 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1062; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1064; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1063; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1065; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: @@ -19890,11 +19890,11 @@ switch (step) { s.tmp_1 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1064; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1066; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1065; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1067; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; s.tmp_0 = Sprite_y__P2358_mk(s); @@ -19903,11 +19903,11 @@ switch (step) { s.tmp_1 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1066; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1068; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1067; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1069; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -19915,12 +19915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P5259.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} +scene_systemMenu_MenuOption_updateCard__P5260.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} -function scene_systemMenu_MenuOption_updateCard__P5259_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P5260_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P5259, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P5260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20002,7 +20002,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___14599 = undefined; + s.physics___14638 = 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___14599 = (r0); + s.physics___14638 = (r0); s.tmp_0 = PhysicsEngine__C2512_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___14599; + s.tmp_0.arg0 = s.physics___14638; 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___14599: undefined, + physics___14638: undefined, arg0: undefined, arg1: undefined, } } @@ -20075,9 +20075,9 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5259_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5260_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1054; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -20123,14 +20123,14 @@ switch (step) { r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1045; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1047; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_top__P2405_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1046; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1048; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = Sprite_x__P2356_mk(s); @@ -20139,11 +20139,11 @@ switch (step) { s.tmp_1 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1047; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1049; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1048; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1050; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = Sprite_y__P2358_mk(s); @@ -20152,11 +20152,11 @@ switch (step) { s.tmp_1 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1049; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1051; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1050; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1052; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; @@ -20210,7 +20210,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1040; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 1042; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; @@ -20224,7 +20224,7 @@ switch (step) { s.tmp_5 = sprites_create__P2276_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 1041; s.pc = 4; return s.tmp_5; + s.callLocIdx = 1043; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -20239,7 +20239,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 1042; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 1044; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; @@ -20248,7 +20248,7 @@ switch (step) { r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1043; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1045; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -20263,7 +20263,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 1044; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 1046; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -20302,8 +20302,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14675 = undefined; - s.sprite___14678 = undefined; + s.scene___14714 = undefined; + s.sprite___14717 = 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___14675 = (r0); + s.scene___14714 = (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___14678 = (s.tmp_0); + s.sprite___14717 = (s.tmp_0); s.tmp_0 = Sprite_setKind__P2409_mk(s); - s.tmp_0.arg0 = s.sprite___14678; + s.tmp_0.arg0 = s.sprite___14717; 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___14675.fields["physicsEngine"]; + r0 = s.scene___14714.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___14678; + s.tmp_0.arg1 = s.sprite___14717; 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__P14693); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14732); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P14699); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P14738); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___14678); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___14717); s.tmp_2 = helpers_arrayForEach__P109_mk(s); s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___14675.fields["createdHandlers"]; + r0 = s.scene___14714.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___14678; + r0 = s.sprite___14717; 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___14675: undefined, - sprite___14678: undefined, + scene___14714: undefined, + sprite___14717: undefined, arg0: undefined, arg1: undefined, } } @@ -20382,7 +20382,7 @@ function sprites_create__P2276_mk(s) { -function forEach_inline__P14693(s) { +function forEach_inline__P14732(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__P14693.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__P14732.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__P14693_mk(s) { +function forEach_inline__P14732_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14693, depth: s.depth + 1, + parent: s, fn: forEach_inline__P14732, 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__P14693_mk(s) { -function sprites_create_inline__P14699(s) { +function sprites_create_inline__P14738(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__P14699.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__P14738.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__P14699_mk(s) { +function sprites_create_inline__P14738_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P14699, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P14738, 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___10140 = undefined; - s.overlapMap___10169 = undefined; + s.spritesByKind___10151 = undefined; + s.overlapMap___10180 = 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___10140 = (r0); + s.spritesByKind___10151 = (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___10140, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10151, 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___10140, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10151, 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___10140, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10151, 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___10140, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___10151, s.arg1, s.tmp_4); case 9: case 10: s.tmp_0 = sprites_SpriteSet_add__P2469_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10140, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10151, 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___10169 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10169, s.arg1); + s.overlapMap___10180 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10180, 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___10169; + s.tmp_3 = r0 = s.overlapMap___10180; 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___10169, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10180, 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___10140: undefined, - overlapMap___10169: undefined, + spritesByKind___10151: undefined, + overlapMap___10180: undefined, arg0: undefined, arg1: undefined, } } @@ -21555,7 +21555,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["set/id"]; if (s.tmp_3.fn === null) { s.tmp_3.arg0.fields["id"] = s.tmp_3.arg1; } else if (s.tmp_3.fn === undefined) { failedCast(s.tmp_3.arg0) } - else { s.callLocIdx = 999; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1001; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -21690,9 +21690,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P5012_mk(s); + s.tmp_0 = game_init__P5013_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1029; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1031; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -21708,7 +21708,7 @@ switch (step) { s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 1030; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1032; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -21743,7 +21743,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___13871 = undefined; + s.renderable___13910 = 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__P13877; + r0 = renderable_inline__P13916; case 2: // jmp value (already in r0) s.tmp_2 = r0; @@ -21767,11 +21767,11 @@ switch (step) { s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 973; s.pc = 3; return s.tmp_3; + s.callLocIdx = 975; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___13871 = (s.tmp_0); - r0 = s.renderable___13871; + s.renderable___13910 = (s.tmp_0); + r0 = s.renderable___13910; 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___13871: undefined, + renderable___13910: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21796,7 +21796,7 @@ function scene_createRenderable__P2806_mk(s) { -function renderable_inline__P13877(s) { +function renderable_inline__P13916(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__P13877.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P13916.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__P13877_mk(s) { +function renderable_inline__P13916_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P13877, depth: s.depth + 1, + parent: s, fn: renderable_inline__P13916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21847,7 +21847,7 @@ switch (step) { s.tmp_0 = sprites_BaseSprite_constructor__P2097_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 970; s.pc = 1; return s.tmp_0; + s.callLocIdx = 972; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -21903,7 +21903,7 @@ switch (step) { s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 1068; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1070; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -21946,7 +21946,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___15274 = undefined; + s.cardsPerRow___15313 = 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___15274 = (r0); + s.cardsPerRow___15313 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } @@ -21979,7 +21979,7 @@ switch (step) { case 3: s.tmp_1 = image_doubledFont__P1979_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1178; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1180; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -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___15274); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___15313); r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_3 = r0; - r0 = (s.cardsPerRow___15274 * s.arg0); + r0 = (s.cardsPerRow___15313 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___15274 - 1); + r0 = (s.cardsPerRow___15313 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -22016,7 +22016,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 1179; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1181; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -22036,7 +22036,7 @@ switch (step) { s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.callLocIdx = 1180; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1182; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -22078,7 +22078,7 @@ function scene_systemMenu_buildMenuTheme__P3122_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___15274: undefined, + cardsPerRow___15313: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22283,45 +22283,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___15353 = undefined; + s.oldScene___15392 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1017; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1019; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___15353 = (r0); + s.oldScene___15392 = (r0); s.tmp_0 = particles_clearAll__P3199_mk(s); - s.callLocIdx = 1018; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1020; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = particles_disableAll__P3200_mk(s); - s.callLocIdx = 1019; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1021; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___5005); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___5006); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals._sceneStack___5005 = (r0); + globals._sceneStack___5006 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___5005, globals._scene___5004); - s.tmp_0 = game_init__P5012_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___5006, globals._scene___5005); + s.tmp_0 = game_init__P5013_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1020; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1022; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5006); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5007); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P15370); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P15409); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___15353); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___15392); s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___5006; + s.tmp_1.arg0 = globals._scenePushHandlers___5007; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1022; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1024; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -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___15353: undefined, + oldScene___15392: undefined, } } -function game_pushScene_inline__P15370(s) { +function game_pushScene_inline__P15409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22364,19 +22364,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1021; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1023; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_pushScene_inline__P15409.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__P15370_mk(s) { +function game_pushScene_inline__P15409_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P15370, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P15409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22396,22 +22396,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15374 = undefined; - s.tmp_0 = particles_particleSources__P5354_mk(s); - s.callLocIdx = 1261; s.pc = 3; return s.tmp_0; + s.sources___15413 = undefined; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1263; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___15374 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___15374); + s.sources___15413 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___15413); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); - 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; + s.tmp_0.arg0 = s.sources___15413; + s.tmp_0.arg1 = particles_disableAll_inline__P15419; + s.callLocIdx = 1265; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5350_mk(s); - s.callLocIdx = 1264; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P5351_mk(s); + s.callLocIdx = 1266; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -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___15374: undefined, + sources___15413: undefined, } } -function particles_disableAll_inline__P15380(s) { +function particles_disableAll_inline__P15419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22452,19 +22452,19 @@ switch (step) { s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1262; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1264; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -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"]} +particles_disableAll_inline__P15419.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__P15380_mk(s) { +function particles_disableAll_inline__P15419_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P15380, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P15419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22484,22 +22484,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15385 = undefined; - s.tmp_0 = particles_particleSources__P5354_mk(s); - s.callLocIdx = 1257; s.pc = 3; return s.tmp_0; + s.sources___15424 = undefined; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1259; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___15385 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___15385); + s.sources___15424 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___15424); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P109_mk(s); - 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; + s.tmp_0.arg0 = s.sources___15424; + s.tmp_0.arg1 = particles_clearAll_inline__P15430; + s.callLocIdx = 1261; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5350_mk(s); - s.callLocIdx = 1260; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P5351_mk(s); + s.callLocIdx = 1262; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -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___15385: undefined, + sources___15424: undefined, } } -function particles_clearAll_inline__P15391(s) { +function particles_clearAll_inline__P15430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22539,19 +22539,19 @@ switch (step) { } s.tmp_0 = particles_ParticleSource_clear__P3184_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1258; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1260; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_clearAll_inline__P15430.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__P15391_mk(s) { +function particles_clearAll_inline__P15430_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P15391, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P15430, 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___15403 = undefined; + s.eventHandler___15442 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22615,14 +22615,14 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P4793_mk(s); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P4794_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 203; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___15403 = (r0); - r0 = (s.eventHandler___15403).fields["callback"] = (s.arg2); + s.eventHandler___15442 = (r0); + r0 = (s.eventHandler___15442).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___15403: undefined, + eventHandler___15442: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22645,7 +22645,7 @@ function controller_Button_onEvent__P2197_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P4793(s) { +function controller_Button_getOrCreateHandlerForEvent__P4794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22655,11 +22655,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___15424 = undefined; - s.eventHandler___15433 = undefined; - s.unnamed80___U2 = undefined; - s.unnamed81___U3 = undefined; - s.newHandler___15449 = undefined; + s.handlerState___15463 = undefined; + s.eventHandler___15472 = undefined; + s.unnamed82___U2 = undefined; + s.unnamed83___U3 = undefined; + s.newHandler___15488 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22667,7 +22667,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P4788_mk(s); + s.tmp_3 = controller_Button_handlerState__P4789_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 213; s.pc = 10; return s.tmp_3; case 10: @@ -22697,13 +22697,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P4788_mk(s); + s.tmp_0 = controller_Button_handlerState__P4789_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 216; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___15424 = (r0); - r0 = s.handlerState___15424.fields["user"]; + s.handlerState___15463 = (r0); + r0 = s.handlerState___15463.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22711,40 +22711,40 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___15424; + s.tmp_3 = r0 = s.handlerState___15463; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___15433 = (undefined); - r0 = s.handlerState___15424.fields["user"]; - s.unnamed80___U2 = (r0); - s.unnamed81___U3 = (0); + s.eventHandler___15472 = (undefined); + r0 = s.handlerState___15463.fields["user"]; + s.unnamed82___U2 = (r0); + s.unnamed83___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed81___U3; - r0 = pxsim_Array__length(s.unnamed80___U2); + s.tmp_0 = r0 = s.unnamed83___U3; + r0 = pxsim_Array__length(s.unnamed82___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed80___U2, s.unnamed81___U3); - s.eventHandler___15433 = (r0); - r0 = s.eventHandler___15433.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed82___U2, s.unnamed83___U3); + s.eventHandler___15472 = (r0); + r0 = s.eventHandler___15472.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___15433; + r0 = s.eventHandler___15472; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed81___U3 + 1); - s.unnamed81___U3 = (r0); + r0 = (s.unnamed83___U3 + 1); + s.unnamed83___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed80___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P15446); + s.unnamed82___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P15485); 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,21 +22766,21 @@ switch (step) { s.callLocIdx = 219; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___15449 = (s.tmp_0); - r0 = s.handlerState___15424.fields["user"]; + s.newHandler___15488 = (s.tmp_0); + r0 = s.handlerState___15463.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___15449); - r0 = s.newHandler___15449; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___15488); + r0 = s.newHandler___15488; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P4793.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} +controller_Button_getOrCreateHandlerForEvent__P4794.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} -function controller_Button_getOrCreateHandlerForEvent__P4793_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P4794_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P4793, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P4794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22790,11 +22790,11 @@ function controller_Button_getOrCreateHandlerForEvent__P4793_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___15424: undefined, - eventHandler___15433: undefined, - unnamed80___U2: undefined, - unnamed81___U3: undefined, - newHandler___15449: undefined, + handlerState___15463: undefined, + eventHandler___15472: undefined, + unnamed82___U2: undefined, + unnamed83___U3: undefined, + newHandler___15488: undefined, arg0: undefined, arg1: undefined, } } @@ -22803,7 +22803,7 @@ function controller_Button_getOrCreateHandlerForEvent__P4793_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P15446(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P15485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22813,7 +22813,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P4792_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P4793_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 217; s.pc = 1; return s.tmp_0; @@ -22823,12 +22823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +controller_Button_getOrCreateHandlerForEvent_inline__P15485.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__P15446_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P15485_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P15446, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P15485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22837,7 +22837,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P15446_mk(s) { -function controller_Button_runButtonEvents__P4792(s) { +function controller_Button_runButtonEvents__P4793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22847,11 +22847,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___15463 = undefined; - s.userHandler___15467 = undefined; - s.eventHandler___15478 = undefined; - s.unnamed78___U3 = undefined; - s.unnamed79___U4 = undefined; + s.handlerState___15502 = undefined; + s.userHandler___15506 = undefined; + s.eventHandler___15517 = undefined; + s.unnamed80___U3 = undefined; + s.unnamed81___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22859,13 +22859,13 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P4788_mk(s); + s.tmp_0 = controller_Button_handlerState__P4789_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 209; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___15463 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___15463); + s.handlerState___15502 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___15502); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22874,19 +22874,19 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P4793_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P4794_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 210; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___15467 = (r0); - r0 = s.userHandler___15467.fields["callback"]; + s.userHandler___15506 = (r0); + r0 = s.userHandler___15506.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___15467; + s.tmp_1.arg0 = s.userHandler___15506; 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,23 +22900,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = s.handlerState___15463.fields["system"]; + r0 = s.handlerState___15502.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___15478 = (undefined); - r0 = s.handlerState___15463.fields["system"]; - s.unnamed78___U3 = (r0); - s.unnamed79___U4 = (0); + s.eventHandler___15517 = (undefined); + r0 = s.handlerState___15502.fields["system"]; + s.unnamed80___U3 = (r0); + s.unnamed81___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed79___U4; - r0 = pxsim_Array__length(s.unnamed78___U3); + s.tmp_0 = r0 = s.unnamed81___U4; + r0 = pxsim_Array__length(s.unnamed80___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed78___U3, s.unnamed79___U4); - s.eventHandler___15478 = (r0); - r0 = s.eventHandler___15478.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed80___U3, s.unnamed81___U4); + s.eventHandler___15517 = (r0); + r0 = s.eventHandler___15517.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___15478.fields["callback"]; + r0 = s.eventHandler___15517.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___15478; + s.tmp_5.arg0 = s.eventHandler___15517; 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; @@ -22946,11 +22946,11 @@ switch (step) { r0 = s.retval; case 8: case 9: - r0 = (s.unnamed79___U4 + 1); - s.unnamed79___U4 = (r0); + r0 = (s.unnamed81___U4 + 1); + s.unnamed81___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed78___U3 = (undefined); + s.unnamed80___U3 = (undefined); case 11: case 12: case 13: @@ -22958,12 +22958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P4792.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} +controller_Button_runButtonEvents__P4793.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} -function controller_Button_runButtonEvents__P4792_mk(s) { +function controller_Button_runButtonEvents__P4793_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P4792, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P4793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22971,11 +22971,11 @@ function controller_Button_runButtonEvents__P4792_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___15463: undefined, - userHandler___15467: undefined, - eventHandler___15478: undefined, - unnamed78___U3: undefined, - unnamed79___U4: undefined, + handlerState___15502: undefined, + userHandler___15506: undefined, + eventHandler___15517: undefined, + unnamed80___U3: undefined, + unnamed81___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -22984,7 +22984,7 @@ function controller_Button_runButtonEvents__P4792_mk(s) { -function controller_Button_handlerState__P4788(s) { +function controller_Button_handlerState__P4789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22994,32 +22994,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___15494 = undefined; - s.unnamed76___U1 = undefined; - s.unnamed77___U2 = undefined; + s.state___15533 = undefined; + s.unnamed78___U1 = undefined; + s.unnamed79___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - s.state___15494 = (undefined); + s.state___15533 = (undefined); s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 199; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed76___U1 = (r0); - s.unnamed77___U2 = (0); + s.unnamed78___U1 = (r0); + s.unnamed79___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed77___U2; - r0 = pxsim_Array__length(s.unnamed76___U1); + s.tmp_0 = r0 = s.unnamed79___U2; + r0 = pxsim_Array__length(s.unnamed78___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); - s.state___15494 = (r0); - r0 = s.state___15494.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed78___U1, s.unnamed79___U2); + s.state___15533 = (r0); + r0 = s.state___15533.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -23027,36 +23027,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___15494; + r0 = s.state___15533; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed77___U2 + 1); - s.unnamed77___U2 = (r0); + r0 = (s.unnamed79___U2 + 1); + s.unnamed79___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed76___U1 = (undefined); + s.unnamed78___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P4788.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} -controller_Button_handlerState__P4788.isGetter = true; +controller_Button_handlerState__P4789.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} +controller_Button_handlerState__P4789.isGetter = true; -function controller_Button_handlerState__P4788_mk(s) { +function controller_Button_handlerState__P4789_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P4788, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P4789, 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, tmp_4: undefined, - state___15494: undefined, - unnamed76___U1: undefined, - unnamed77___U2: undefined, + state___15533: undefined, + unnamed78___U1: undefined, + unnamed79___U2: undefined, arg0: undefined, } } @@ -23141,7 +23141,7 @@ function controller_ButtonHandler_constructor__P2185_mk(s) { -function scene_systemMenu_initScreen__P5272(s) { +function scene_systemMenu_initScreen__P5273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23151,21 +23151,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___15506 = undefined; + s.brightness___15545 = undefined; s.tmp_0 = settings_readNumber__P2069_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1187; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1189; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___15506 = (r0); - r0 = (s.brightness___15506 !== undefined); + s.brightness___15545 = (r0); + r0 = (s.brightness___15545 !== 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___15506; - s.callLocIdx = 1188; s.pc = 4; return s.tmp_1; + s.tmp_1.arg1 = s.brightness___15545; + s.callLocIdx = 1190; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -23174,16 +23174,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P5272.info = {"start":13388,"length":175,"line":405,"column":4,"endLine":409,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initScreen","argumentNames":[]} +scene_systemMenu_initScreen__P5273.info = {"start":13388,"length":175,"line":405,"column":4,"endLine":409,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initScreen","argumentNames":[]} -function scene_systemMenu_initScreen__P5272_mk(s) { +function scene_systemMenu_initScreen__P5273_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P5272, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P5273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___15506: undefined, + brightness___15545: undefined, } } @@ -23200,15 +23200,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15517 = undefined; - s.nums___15524 = undefined; + s.buf___15556 = undefined; + s.nums___15563 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___15517 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___15517); + s.buf___15556 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___15556); 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___15517; + s.tmp_2.arg0 = s.buf___15556; s.tmp_2.arg1 = 0; s.callLocIdx = 129; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___15524 = (r0); - s.tmp_0 = r0 = s.nums___15524; + s.nums___15563 = (r0); + s.tmp_0 = r0 = s.nums___15563; 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___15524); + r0 = pxsim_Array__length(s.nums___15563); 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___15524, 0); + r0 = pxsim_Array__getAt(s.nums___15563, 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___15517: undefined, - nums___15524: undefined, + buf___15556: undefined, + nums___15563: undefined, arg0: undefined, } } @@ -23312,16 +23312,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___15537 = undefined; - s.fmt___15544 = undefined; - s.v___15553 = undefined; + s.res___15576 = undefined; + s.fmt___15583 = undefined; + s.v___15592 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___15537 = (r0); + s.res___15576 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -23333,14 +23333,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P4440_mk(s); + s.tmp_4 = msgpack_tagFormat__P4441_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 20; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___15544 = (r0); - r0 = (s.fmt___15544 === null); + s.fmt___15583 = (r0); + r0 = (s.fmt___15583 === 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___15553 = (r0); - r0 = (-31 <= s.v___15553); + s.v___15592 = (r0); + r0 = (-31 <= s.v___15592); 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___15553 <= 127); + r0 = (s.v___15592 <= 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___15537, s.v___15553); + r0 = pxsim_Array__push(s.res___15576, s.v___15592); { 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___15537; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___15544, s.arg1); + s.tmp_0 = r0 = s.res___15576; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___15583, 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___15544; + s.tmp_2.arg0 = s.fmt___15583; 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___15537; + r0 = s.res___15576; 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___15537: undefined, - fmt___15544: undefined, - v___15553: undefined, + res___15576: undefined, + fmt___15583: undefined, + v___15592: undefined, arg0: undefined, arg1: undefined, } } @@ -23425,7 +23425,7 @@ function msgpack_unpackNumberArray__P183_mk(s) { -function scene_systemMenu_initVolume__P5271(s) { +function scene_systemMenu_initVolume__P5272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23435,20 +23435,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___15598 = undefined; + s.vol___15637 = undefined; s.tmp_0 = settings_readNumber__P2069_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1185; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1187; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___15598 = (r0); - r0 = (s.vol___15598 !== undefined); + s.vol___15637 = (r0); + r0 = (s.vol___15637 !== 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___15598; - s.callLocIdx = 1186; s.pc = 4; return s.tmp_1; + s.tmp_1.arg0 = s.vol___15637; + s.callLocIdx = 1188; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -23457,16 +23457,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P5271.info = {"start":13238,"length":144,"line":399,"column":4,"endLine":403,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} +scene_systemMenu_initVolume__P5272.info = {"start":13238,"length":144,"line":399,"column":4,"endLine":403,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} -function scene_systemMenu_initVolume__P5271_mk(s) { +function scene_systemMenu_initVolume__P5272_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P5271, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P5272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___15598: undefined, + vol___15637: undefined, } } @@ -23491,7 +23491,7 @@ switch (step) { if (!checkSubtype(r0, game_GameOverConfig__C2991_VT)) failedCast(r0); s.tmp_0 = game_GameOverConfig_init__P3007_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1008; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1010; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -23535,7 +23535,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; s.tmp_2 = music_melodyPlayable__P1924_mk(s); s.tmp_2.arg0 = globals.powerUp___1651; - s.callLocIdx = 1009; s.pc = 1; return s.tmp_2; + s.callLocIdx = 1011; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -23543,7 +23543,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; s.tmp_2 = music_melodyPlayable__P1924_mk(s); s.tmp_2.arg0 = globals.wawawawaa___1648; - s.callLocIdx = 1010; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1012; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -23578,7 +23578,7 @@ function game_GameOverConfig_init__P3007_mk(s) { -function melt_inline__P15661(s) { +function melt_inline__P15700(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___15664 = undefined; - s.j___15672 = undefined; - s.x___15677 = undefined; - s.y___15683 = undefined; - s.c___15689 = undefined; + s.rounds___15703 = undefined; + s.j___15711 = undefined; + s.x___15716 = undefined; + s.y___15722 = undefined; + s.c___15728 = 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___15664 = (r0); - s.j___15672 = (0); + s.rounds___15703 = (r0); + s.j___15711 = (0); case 1: - r0 = (s.j___15672 < s.rounds___15664); + r0 = (s.j___15711 < s.rounds___15703); 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___15677 = (r0); + s.x___15716 = (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___15683 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___15677, s.y___15683); - s.c___15689 = (r0); + s.y___15722 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___15716, s.y___15722); + s.c___15728 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___15677; - r0 = (s.y___15683 + 1); + s.tmp_1 = r0 = s.x___15716; + r0 = (s.y___15722 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15689); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15728); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___15677; - r0 = (s.y___15683 + 2); + s.tmp_1 = r0 = s.x___15716; + r0 = (s.y___15722 + 2); s.tmp_2 = 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); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15728); + r0 = (s.j___15711 + 1); + s.j___15711 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +melt_inline__P15700.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__P15661_mk(s) { +function melt_inline__P15700_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P15661, depth: s.depth + 1, + parent: s, fn: melt_inline__P15700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___15664: undefined, - j___15672: undefined, - x___15677: undefined, - y___15683: undefined, - c___15689: undefined, + rounds___15703: undefined, + j___15711: undefined, + x___15716: undefined, + y___15722: undefined, + c___15728: undefined, arg0: undefined, arg1: undefined, } } @@ -23677,7 +23677,7 @@ function melt_inline__P15661_mk(s) { -function confetti_inline__P15715(s) { +function confetti_inline__P15754(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___15718 = undefined; + s.factory___15757 = 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___15718 = (s.tmp_0); + s.factory___15757 = (s.tmp_0); s.tmp_0 = particles_SprayFactory_setSpeed__P3213_mk(s); - s.tmp_0.arg0 = s.factory___15718; + s.tmp_0.arg0 = s.factory___15757; 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___15718; + s.tmp_1.arg3 = s.factory___15757; 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__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"]} +confetti_inline__P15754.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__P15715_mk(s) { +function confetti_inline__P15754_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P15715, depth: s.depth + 1, + parent: s, fn: confetti_inline__P15754, 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__P15715_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___15718: undefined, + factory___15757: 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___15739 = undefined; - s.removedSource___15748 = undefined; + s.sources___15778 = undefined; + s.removedSource___15787 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23802,39 +23802,39 @@ switch (step) { s.tmp_0 = sprites_BaseSprite_constructor__P2097_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1207; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1209; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P5348_mk(s); - s.callLocIdx = 1208; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P5349_mk(s); + s.callLocIdx = 1210; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P5354_mk(s); - s.callLocIdx = 1209; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1211; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___15739 = (r0); - r0 = pxsim_Array__length(s.sources___15739); + s.sources___15778 = (r0); + r0 = pxsim_Array__length(s.sources___15778); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___5340); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___5341); 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___15739; - s.callLocIdx = 1210; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P5352_mk(s); + s.tmp_2.arg0 = s.sources___15778; + s.callLocIdx = 1212; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___15739, 0); - s.removedSource___15748 = (r0); + r0 = pxsim_Array_.removeAt(s.sources___15778, 0); + s.removedSource___15787 = (r0); s.tmp_0 = particles_ParticleSource_clear__P3184_mk(s); - s.tmp_0.arg0 = s.removedSource___15748; - s.callLocIdx = 1212; s.pc = 9; return s.tmp_0; + s.tmp_0.arg0 = s.removedSource___15787; + s.callLocIdx = 1214; 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___15748; - s.callLocIdx = 1213; s.pc = 10; return s.tmp_0; + s.tmp_0.arg0 = s.removedSource___15787; + s.callLocIdx = 1215; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 1: @@ -23843,20 +23843,20 @@ switch (step) { s.tmp_0 = particles_ParticleSource_setRate__P3186_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1214; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1216; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = particles_ParticleSource_setAcceleration__P3178_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1215; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1217; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; s.tmp_0 = particles_ParticleSource_setAnchor__P3185_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1216; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1218; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -23875,14 +23875,14 @@ switch (step) { s.tmp_2 = particles_ParticleSource_setFactory__P3188_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1217; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1219; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___15739, s.arg0); + r0 = pxsim_Array__push(s.sources___15778, s.arg0); s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1218; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1220; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; @@ -23899,8 +23899,8 @@ function particles_ParticleSource_constructor__P3174_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___15739: undefined, - removedSource___15748: undefined, + sources___15778: undefined, + removedSource___15787: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23911,7 +23911,7 @@ function particles_ParticleSource_constructor__P3174_mk(s) { -function particles_sortSources__P5351(s) { +function particles_sortSources__P5352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23927,20 +23927,20 @@ switch (step) { } s.tmp_0 = helpers_arraySort__P105_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P15942; - s.callLocIdx = 1256; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = particles_sortSources_inline__P15981; + s.callLocIdx = 1258; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P5351.info = {"start":10026,"length":129,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +particles_sortSources__P5352.info = {"start":10026,"length":129,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} -function particles_sortSources__P5351_mk(s) { +function particles_sortSources__P5352_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P5351, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P5352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23950,7 +23950,7 @@ function particles_sortSources__P5351_mk(s) { -function particles_sortSources_inline__P15942(s) { +function particles_sortSources_inline__P15981(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__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"]} +particles_sortSources_inline__P15981.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__P15942_mk(s) { +function particles_sortSources_inline__P15981_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P15942, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P15981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24009,7 +24009,7 @@ function particles_sortSources_inline__P15942_mk(s) { -function particles_init__P5348(s) { +function particles_init__P5349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24019,34 +24019,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___15981 = undefined; + s.scene___16020 = undefined; s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1246; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1248; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___15981 = (r0); - r0 = s.scene___15981.fields["particleSources"]; + s.scene___16020 = (r0); + r0 = s.scene___16020.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___15981; + s.tmp_1 = r0 = s.scene___16020; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___5343 = (r0); + globals.lastUpdate___5344 = (r0); s.tmp_0 = game_onUpdate__P3041_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P5349; - s.callLocIdx = 1247; s.pc = 5; return s.tmp_0; + s.tmp_0.arg0 = particles_updateParticles__P5350; + s.callLocIdx = 1249; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = game_onUpdateInterval__P3042_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P5350; - s.callLocIdx = 1248; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P5351; + s.callLocIdx = 1250; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -24054,24 +24054,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P5348.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P5349.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} -function particles_init__P5348_mk(s) { +function particles_init__P5349_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P5348, depth: s.depth + 1, + parent: s, fn: particles_init__P5349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___15981: undefined, + scene___16020: undefined, } } -function particles_updateParticles__P5349(s) { +function particles_updateParticles__P5350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24081,16 +24081,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.sources___16062 = undefined; + s.time___16069 = undefined; + s.dt___16072 = undefined; + s.i___16078 = undefined; + s.tmp_0 = particles_particleSources__P5355_mk(s); + s.callLocIdx = 1251; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___16023 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___16023); + s.sources___16062 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___16062); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24099,34 +24099,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P5351_mk(s); - s.tmp_2.arg0 = s.sources___16023; - s.callLocIdx = 1250; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P5352_mk(s); + s.tmp_2.arg0 = s.sources___16062; + s.callLocIdx = 1252; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - 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); + s.time___16069 = (r0); + r0 = (s.time___16069 - globals.lastUpdate___5344); + s.dt___16072 = (r0); + globals.lastUpdate___5344 = (s.time___16069); + s.i___16078 = (0); case 3: - s.tmp_1 = r0 = s.i___16039; - r0 = pxsim_Array__length(s.sources___16023); + s.tmp_1 = r0 = s.i___16078; + r0 = pxsim_Array__length(s.sources___16062); 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___16023, s.i___16039); + r0 = pxsim_Array__getAt(s.sources___16062, s.i___16078); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___16033; - s.callLocIdx = 1251; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___16072; + s.callLocIdx = 1253; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___16039 + 1); - s.i___16039 = (r0); + r0 = (s.i___16078 + 1); + s.i___16078 = (r0); { step = 3; continue; } case 4: case 5: @@ -24134,21 +24134,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P5349.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P5350.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} -function particles_updateParticles__P5349_mk(s) { +function particles_updateParticles__P5350_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P5349, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P5350, 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, - sources___16023: undefined, - time___16030: undefined, - dt___16033: undefined, - i___16039: undefined, + sources___16062: undefined, + time___16069: undefined, + dt___16072: undefined, + i___16078: undefined, } } @@ -24165,9 +24165,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16102 = undefined; - s.current___16121 = undefined; - s.fixedDt___16129 = undefined; + s.p___16141 = undefined; + s.current___16160 = undefined; + s.fixedDt___16168 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24202,7 +24202,7 @@ switch (step) { r0 = (s.arg0).fields["lifespan"] = (undefined); s.tmp_0 = particles_ParticleSource_destroy__P3183_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1222; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1224; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -24225,7 +24225,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["flags"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["flags"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1223; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1225; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -24248,7 +24248,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["flags"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["flags"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1224; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1226; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -24275,7 +24275,7 @@ switch (step) { case 12: s.tmp_2 = particles_ParticleSource_enabled__P3181_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1225; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1227; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -24301,8 +24301,8 @@ switch (step) { s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.p___16102 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___16102); + s.p___16141 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___16141); 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___16102).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___16102); + r0 = (s.p___16141).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___16141); { 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___16121 = (r0); + s.current___16160 = (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___16129 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___16129); + s.fixedDt___16168 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___16168); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___16121.fields["lifespan"]; + r0 = s.current___16160.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___16121; + s.tmp_2 = r0 = s.current___16160; 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___16121; - s.tmp_0.arg2 = s.fixedDt___16129; + s.tmp_0.arg1 = s.current___16160; + s.tmp_0.arg2 = s.fixedDt___16168; 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___16121.fields["next"]; + r0 = s.current___16160.fields["next"]; s.tmp_0 = r0; - s.current___16121 = (r0); + s.current___16160 = (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___16121; + s.tmp_0 = r0 = s.current___16160; 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___16121.fields["next"]; + r0 = s.current___16160.fields["next"]; s.tmp_0 = r0; - s.current___16121 = (r0); + s.current___16160 = (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___16102: undefined, - current___16121: undefined, - fixedDt___16129: undefined, + p___16141: undefined, + current___16160: undefined, + fixedDt___16168: undefined, arg0: undefined, arg1: undefined, } } @@ -24424,7 +24424,7 @@ function particles_ParticleSource__update__P3176_mk(s) { -function particles_ParticleSource_updateParticle__P5345(s) { +function particles_ParticleSource_updateParticle__P5346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24496,12 +24496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P5345.info = {"start":8248,"length":357,"line":277,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_ParticleSource_updateParticle__P5346.info = {"start":8248,"length":357,"line":277,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -function particles_ParticleSource_updateParticle__P5345_mk(s) { +function particles_ParticleSource_updateParticle__P5346_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P5345, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P5346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24562,7 +24562,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16212 = undefined; + s.p___16251 = 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___16212 = (r0); - s.tmp_0 = r0 = s.p___16212; + s.p___16251 = (r0); + s.tmp_0 = r0 = s.p___16251; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24581,7 +24581,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["x"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["x"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1276; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1278; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -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___16212; + s.tmp_0 = r0 = s.p___16251; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24600,7 +24600,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["y"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["y"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1278; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1280; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -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___16212).fields["vx"] = (0); - r0 = (s.p___16212).fields["vy"] = (0); - r0 = (s.p___16212).fields["lifespan"] = (500); - r0 = s.p___16212; + r0 = (s.p___16251).fields["vx"] = (0); + r0 = (s.p___16251).fields["vy"] = (0); + r0 = (s.p___16251).fields["lifespan"] = (500); + r0 = s.p___16251; 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___16212: undefined, + p___16251: 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___16003 = undefined; + s.timer___16042 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24673,22 +24673,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___16003 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___16003, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P16007); + s.timer___16042 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___16042, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P16046); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___16003); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___16042); 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); s.tmp_2 = game_eventContext__P3020_mk(s); - s.callLocIdx = 1033; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1035; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1037; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1039; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 5: @@ -24706,7 +24706,7 @@ function game_onUpdateInterval__P3042_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___16003: undefined, + timer___16042: undefined, arg0: undefined, arg1: undefined, } } @@ -24715,7 +24715,7 @@ function game_onUpdateInterval__P3042_mk(s) { -function game_onUpdateInterval_inline__P16007(s) { +function game_onUpdateInterval_inline__P16046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24725,28 +24725,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___16008 = undefined; + s.time___16047 = undefined; s.tmp_1 = game_currentScene__P3017_mk(s); - s.callLocIdx = 1034; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1036; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___16008 = (r0); + s.time___16047 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___16008); + r0 = (s.tmp_1 <= s.time___16047); 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___16008 + s.caps[1]); + r0 = (s.time___16047 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.caps[2]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1036; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1038; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -24755,18 +24755,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +game_onUpdateInterval_inline__P16046.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__P16007_mk(s) { +function game_onUpdateInterval_inline__P16046_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P16007, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P16046, 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___16008: undefined, + time___16047: undefined, } } @@ -24832,13 +24832,13 @@ switch (step) { case 2: s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); s.tmp_3 = game_eventContext__P3020_mk(s); - s.callLocIdx = 1031; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1033; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 1032; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1034; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 3: @@ -24864,7 +24864,7 @@ function game_onUpdate__P3041_mk(s) { -function MAX_SOURCES_inline__P15957(s) { +function MAX_SOURCES_inline__P15996(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___15958 = undefined; + s.sz___15997 = 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___15958 = (r0); - r0 = (s.sz___15958 <= 102400); + s.sz___15997 = (r0); + r0 = (s.sz___15997 <= 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___15958 <= 204800); + r0 = (s.sz___15997 <= 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__P15957.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__P15996.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__P15957_mk(s) { +function MAX_SOURCES_inline__P15996_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P15957, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P15996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___15958: undefined, + sz___15997: undefined, } } @@ -24961,7 +24961,7 @@ function control_ramSize__P346_mk(s) { -function control__ramSize__P4467(s) { +function control__ramSize__P4468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24975,12 +24975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P4467.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P4468.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -function control__ramSize__P4467_mk(s) { +function control__ramSize__P4468_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P4467, depth: s.depth + 1, + parent: s, fn: control__ramSize__P4468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -25008,21 +25008,21 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P5369_mk(s); - s.callLocIdx = 1283; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P5370_mk(s); + s.callLocIdx = 1285; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = particles_SprayFactory_setSpeed__P3213_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1284; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1286; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = particles_SprayFactory_setDirection__P3214_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1285; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1287; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; @@ -25047,7 +25047,7 @@ function particles_SprayFactory_constructor__P3210_mk(s) { -function particles_initTrig__P5369(s) { +function particles_initTrig__P5370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25057,7 +25057,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___5355); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___5356); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25065,28 +25065,28 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_2 = particles_cacheSin__P3203_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1271; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1273; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___5355 = (r0); + globals.cachedSin___5356 = (r0); s.tmp_0 = particles_cacheCos__P3204_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1272; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1274; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___5356 = (r0); + globals.cachedCos___5357 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P5369.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P5370.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} -function particles_initTrig__P5369_mk(s) { +function particles_initTrig__P5370_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P5369, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P5370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25107,25 +25107,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___15842 = undefined; - s.anglePerSlice___15844 = undefined; - s.i___15850 = undefined; + s.cos___15881 = undefined; + s.anglePerSlice___15883 = undefined; + s.i___15889 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___15842 = (r0); + s.cos___15881 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___15844 = (r0); - s.i___15850 = (0); + s.anglePerSlice___15883 = (r0); + s.i___15889 = (0); case 1: - r0 = (s.i___15850 < s.arg0); + r0 = (s.i___15889 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___15842; - r0 = (s.i___15850 * s.anglePerSlice___15844); + s.tmp_1 = r0 = s.cos___15881; + r0 = (s.i___15889 * s.anglePerSlice___15883); 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___15850 + 1); - s.i___15850 = (r0); + r0 = (s.i___15889 + 1); + s.i___15889 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___15842; + r0 = s.cos___15881; 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___15842: undefined, - anglePerSlice___15844: undefined, - i___15850: undefined, + cos___15881: undefined, + anglePerSlice___15883: undefined, + i___15889: undefined, arg0: undefined, } } @@ -25175,25 +25175,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___15868 = undefined; - s.anglePerSlice___15870 = undefined; - s.i___15876 = undefined; + s.sin___15907 = undefined; + s.anglePerSlice___15909 = undefined; + s.i___15915 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___15868 = (r0); + s.sin___15907 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___15870 = (r0); - s.i___15876 = (0); + s.anglePerSlice___15909 = (r0); + s.i___15915 = (0); case 1: - r0 = (s.i___15876 < s.arg0); + r0 = (s.i___15915 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___15868; - r0 = (s.i___15876 * s.anglePerSlice___15870); + s.tmp_1 = r0 = s.sin___15907; + r0 = (s.i___15915 * s.anglePerSlice___15909); 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___15876 + 1); - s.i___15876 = (r0); + r0 = (s.i___15915 + 1); + s.i___15915 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___15868; + r0 = s.sin___15907; 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___15868: undefined, - anglePerSlice___15870: undefined, - i___15876: undefined, + sin___15907: undefined, + anglePerSlice___15909: undefined, + i___15915: undefined, arg0: undefined, } } @@ -25252,29 +25252,29 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P5374_mk(s); + s.tmp_4 = particles_toRadians__P5375_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1293; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1295; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___5368); + r0 = (s.tmp_3 / globals.angleSlice___5369); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["minAngle"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P5374_mk(s); + s.tmp_4 = particles_toRadians__P5375_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1294; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1296; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___5368); + r0 = (s.tmp_3 / globals.angleSlice___5369); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -25306,7 +25306,7 @@ function particles_SprayFactory_setDirection__P3214_mk(s) { -function particles_toRadians__P5374(s) { +function particles_toRadians__P5375(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25326,7 +25326,7 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_3 = Math_abs__P128_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1275; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1277; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -25343,12 +25343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P5374.info = {"start":1307,"length":206,"line":45,"column":4,"endLine":52,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"toRadians","argumentNames":["degrees"]} +particles_toRadians__P5375.info = {"start":1307,"length":206,"line":45,"column":4,"endLine":52,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"toRadians","argumentNames":["degrees"]} -function particles_toRadians__P5374_mk(s) { +function particles_toRadians__P5375_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P5374, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P5375, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25538,7 +25538,7 @@ switch (step) { s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1232; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1234; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -25549,7 +25549,7 @@ switch (step) { r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); s.tmp_0 = particles_ParticleSource__prune__P3177_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1233; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1235; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; @@ -25713,8 +25713,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___16244 = undefined; - s.i___16260 = undefined; + s.confetti___16283 = undefined; + s.i___16299 = 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(_hex16247); + r0 = pxsim.image.ofBuffer(_hex16286); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex16249); + r0 = pxsim.image.ofBuffer(_hex16288); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex16251); + r0 = pxsim.image.ofBuffer(_hex16290); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex16253); + r0 = pxsim.image.ofBuffer(_hex16292); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex16255); + r0 = pxsim.image.ofBuffer(_hex16294); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___16244 = (s.tmp_0); + s.confetti___16283 = (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___16244, 0); + r0 = pxsim_Array__getAt(s.confetti___16283, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1317; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1319; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___16260 = (1); + s.i___16299 = (1); case 1: - s.tmp_1 = r0 = s.i___16260; - r0 = pxsim_Array__length(s.confetti___16244); + s.tmp_1 = r0 = s.i___16299; + r0 = pxsim_Array__length(s.confetti___16283); 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___16244, s.i___16260); + r0 = pxsim_Array__getAt(s.confetti___16283, s.i___16299); s.tmp_3.arg1 = r0; - s.callLocIdx = 1318; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1320; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___16260 + 1); - s.i___16260 = (r0); + r0 = (s.i___16299 + 1); + s.i___16299 = (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___16244: undefined, - i___16260: undefined, + confetti___16283: undefined, + i___16299: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -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") +const _hex16286 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex16288 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex16290 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex16292 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex16294 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") @@ -25874,7 +25874,7 @@ switch (step) { s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1307; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1309; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -25952,7 +25952,7 @@ switch (step) { s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1295; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1297; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -25982,7 +25982,7 @@ switch (step) { s.tmp_1 = Math_FastRandom_constructor__P3079_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1296; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1298; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -26035,7 +26035,7 @@ switch (step) { s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1324; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1326; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -26301,16 +26301,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___4823 === undefined); + r0 = (globals.nextKind___4824 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___4823 = (1000); + globals.nextKind___4824 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___4823; + s.tmp_0 = r0 = globals.nextKind___4824; r0 = (s.tmp_0 + 1); - globals.nextKind___4823 = (r0); + globals.nextKind___4824 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() @@ -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__P16397); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P16436); 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__P16404); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P16443); 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__P16397(s) { +function controller_Button_inline__P16436(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__P16397.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__P16436.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__P16397_mk(s) { +function controller_Button_inline__P16436_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16397, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P16436, 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__P16397_mk(s) { -function controller_Button_inline__P16404(s) { +function controller_Button_inline__P16443(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__P16404.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__P16443.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__P16404_mk(s) { +function controller_Button_inline__P16443_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16404, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P16443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26468,7 +26468,7 @@ function controller_Button_inline__P16404_mk(s) { -function controller_setupButton__P4806(s) { +function controller_setupButton__P4807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26487,12 +26487,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P4806.info = {"start":861,"length":93,"line":39,"column":4,"endLine":41,"endColumn":6,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} +controller_setupButton__P4807.info = {"start":861,"length":93,"line":39,"column":4,"endLine":41,"endColumn":6,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -function controller_setupButton__P4806_mk(s) { +function controller_setupButton__P4807_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P4806, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P4807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26548,7 +26548,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P4790_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P4791_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 206; s.pc = 9; return s.tmp_0; case 9: @@ -26556,7 +26556,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P4789_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P4790_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 10; return s.tmp_0; case 10: @@ -26586,7 +26586,7 @@ function controller_Button_setPressed__P2203_mk(s) { -function controller_Button_raiseButtonDown__P4790(s) { +function controller_Button_raiseButtonDown__P4791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26602,7 +26602,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4800); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4801); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26617,12 +26617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P4790.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P4791.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P4790_mk(s) { +function controller_Button_raiseButtonDown__P4791_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P4790, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P4791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26632,7 +26632,7 @@ function controller_Button_raiseButtonDown__P4790_mk(s) { -function controller_Button_raiseButtonUp__P4789(s) { +function controller_Button_raiseButtonUp__P4790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26648,7 +26648,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4800); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4801); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26663,12 +26663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P4789.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P4790.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P4789_mk(s) { +function controller_Button_raiseButtonUp__P4790_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P4789, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P4790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26692,23 +26692,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5006); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5007); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals._scenePushHandlers___5006 = (r0); + globals._scenePushHandlers___5007 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___5006, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___5007, s.arg0, 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(globals._scenePushHandlers___5006, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___5007, s.arg0); case 3: case 4: r0 = undefined; @@ -26811,12 +26811,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P5012_mk(s); + s.tmp_0 = game_init__P5013_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1012; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1014; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___5004; + r0 = globals._scene___5005; return leave(s, r0) default: oops() } } } @@ -26848,23 +26848,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5007); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5008); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals._scenePopHandlers___5007 = (r0); + globals._scenePopHandlers___5008 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___5007, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___5008, s.arg0, 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(globals._scenePopHandlers___5007, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___5008, s.arg0); case 3: case 4: r0 = undefined; @@ -26887,7 +26887,7 @@ function game_addScenePopHandler__P3038_mk(s) { -function settings_initScopes__P4694(s) { +function settings_initScopes__P4695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26897,17 +26897,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___16499 = undefined; + s.rn___16538 = 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___16499 = (r0); + s.rn___16538 = (r0); s.tmp_0 = settings_writeNumber__P2064_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___4682; - s.tmp_0.arg1 = s.rn___16499; + s.tmp_0.arg0 = globals.RUN_KEY___4683; + s.tmp_0.arg1 = s.rn___16538; s.callLocIdx = 121; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -26916,8 +26916,8 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___16499); - s.tmp_0 = settings_setScope__P4693_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___16538); + s.tmp_0 = settings_setScope__P4694_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 122; s.pc = 3; return s.tmp_0; @@ -26927,23 +26927,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P4694.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P4695.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} -function settings_initScopes__P4694_mk(s) { +function settings_initScopes__P4695_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P4694, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P4695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___16499: undefined, + rn___16538: undefined, } } -function settings_setScope__P4693(s) { +function settings_setScope__P4694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26953,7 +26953,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___16528 = undefined; + s.currScope___16567 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -26979,18 +26979,18 @@ switch (step) { case 3: case 4: s.tmp_0 = settings_readString__P2067_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4683; + s.tmp_0.arg0 = globals.SCOPE_KEY___4684; s.callLocIdx = 118; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___16528 = (r0); - r0 = (s.currScope___16528 != s.arg0); + s.currScope___16567 = (r0); + r0 = (s.currScope___16567 != s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = pxsim.settings._userClean(); s.tmp_0 = settings_writeString__P2062_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4683; + s.tmp_0.arg0 = globals.SCOPE_KEY___4684; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 119; s.pc = 8; return s.tmp_0; case 8: @@ -27001,18 +27001,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P4693.info = {"start":826,"length":272,"line":31,"column":4,"endLine":39,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"setScope","argumentNames":["scope"]} +settings_setScope__P4694.info = {"start":826,"length":272,"line":31,"column":4,"endLine":39,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"setScope","argumentNames":["scope"]} -function settings_setScope__P4693_mk(s) { +function settings_setScope__P4694_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P4693, depth: s.depth + 1, + parent: s, fn: settings_setScope__P4694, 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, - currScope___16528: undefined, + currScope___16567: undefined, arg0: undefined, } } @@ -27030,14 +27030,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___16549 = undefined; + s.buf___16588 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___16549 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___16549); + s.buf___16588 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___16588); 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___16549); + r0 = pxsim.BufferMethods.toString(s.buf___16588); { 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___16549: undefined, + buf___16588: undefined, arg0: undefined, } } @@ -27125,7 +27125,7 @@ switch (step) { case 0: s.tmp_1 = settings_readNumber__P2069_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___4682; + s.tmp_1.arg0 = globals.RUN_KEY___4683; s.callLocIdx = 117; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27173,8 +27173,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___4649 = (true); - globals.__update___4647 = (s.arg0); + globals.__updated___4650 = (true); + globals.__update___4648 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -27274,17 +27274,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___4647); + r0 = pxsim_numops_toBoolDecr(globals.__update___4648); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___4647; + s.tmp_0.argL = globals.__update___4648; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 110; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___4649 = (true); + globals.__updated___4650 = (true); r0 = undefined; return leave(s, r0) default: oops() @@ -27385,7 +27385,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16587 = undefined; + s.p___16626 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27396,22 +27396,22 @@ switch (step) { s.tmp_0 = particles_AreaFactory_createParticle__P3221_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1315; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1317; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16587 = (r0); - s.tmp_0 = r0 = s.p___16587; + s.p___16626 = (r0); + s.tmp_0 = r0 = s.p___16626; s.tmp_2 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1316; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1318; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___16587; + r0 = s.p___16626; 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___16587: undefined, + p___16626: 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___16599 = undefined; + s.p___16638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27455,11 +27455,11 @@ switch (step) { s.tmp_0 = particles_SprayFactory_createParticle__P3211_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1297; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1299; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___16599 = (r0); - s.tmp_0 = r0 = s.p___16599; + s.p___16638 = (r0); + s.tmp_0 = r0 = s.p___16638; s.tmp_2 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; @@ -27467,19 +27467,19 @@ switch (step) { s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1298; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1300; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16599; + s.tmp_0 = r0 = s.p___16638; s.tmp_4 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["xRange"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 1299; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1301; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = 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___16599.fields["_x"]; + r0 = s.p___16638.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -27504,7 +27504,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["height"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["height"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1302; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1304; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -27519,7 +27519,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["height"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["height"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1303; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1305; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -27531,27 +27531,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___16599; + s.tmp_5 = r0 = s.p___16638; s.tmp_9 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; r0 = s.arg0.fields["yRange"]; s.tmp_9.arg2 = r0; - s.callLocIdx = 1301; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1303; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___16599.fields["_y"]; + r0 = s.p___16638.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___16599; + r0 = s.p___16638; 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___16599: undefined, + p___16638: 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___16655 = undefined; - s.angle___16659 = undefined; + s.p___16694 = undefined; + s.angle___16698 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27642,27 +27642,27 @@ switch (step) { s.tmp_0 = particles_ParticleFactory_createParticle__P3207_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1286; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1288; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16655 = (r0); + s.p___16694 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; s.tmp_3 = Math_FastRandom_randomRange__P3081_mk(s); - s.tmp_3.arg0 = globals.galois___5360; + s.tmp_3.arg0 = globals.galois___5361; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1287; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1289; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___16659 = (r0); - s.tmp_0 = r0 = s.p___16655; - r0 = pxsim_Array__getAt(globals.cachedSin___5355, s.angle___16659); + s.angle___16698 = (r0); + s.tmp_0 = r0 = s.p___16694; + r0 = pxsim_Array__getAt(globals.cachedSin___5356, s.angle___16698); 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___16655; - r0 = pxsim_Array__getAt(globals.cachedCos___5356, s.angle___16659); + s.tmp_0 = r0 = s.p___16694; + r0 = pxsim_Array__getAt(globals.cachedCos___5357, s.angle___16698); 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___16655; + r0 = s.p___16694; 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___16655: undefined, - angle___16659: undefined, + p___16694: undefined, + angle___16698: 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___16691 = undefined; - s.left___16694 = undefined; - s.top___16704 = undefined; + s.current___16730 = undefined; + s.left___16733 = undefined; + s.top___16743 = 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___16691 = (r0); + s.current___16730 = (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___16694 = (s.tmp_4); + s.left___16733 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27858,28 +27858,28 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___16704 = (s.tmp_4); + s.top___16743 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___16691); + r0 = pxsim_numops_toBoolDecr(s.current___16730); if (!r0) { step = 8; continue; } - r0 = s.current___16691.fields["lifespan"]; + r0 = s.current___16730.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 = 6; continue; } - s.tmp_2 = particles_ParticleSource_drawParticle__P5346_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P5347_mk(s); s.tmp_2.arg0 = s.arg0; - 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; + s.tmp_2.arg1 = s.current___16730; + s.tmp_2.arg2 = s.left___16733; + s.tmp_2.arg3 = s.top___16743; + s.callLocIdx = 1223; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___16691.fields["next"]; - s.current___16691 = (r0); + r0 = s.current___16730.fields["next"]; + s.current___16730 = (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___16691: undefined, - left___16694: undefined, - top___16704: undefined, + current___16730: undefined, + left___16733: undefined, + top___16743: undefined, arg0: undefined, arg1: undefined, } } @@ -27909,7 +27909,7 @@ function particles_ParticleSource___draw__P3175_mk(s) { -function particles_ParticleSource_drawParticle__P5346(s) { +function particles_ParticleSource_drawParticle__P5347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27949,12 +27949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P5346.info = {"start":8615,"length":174,"line":287,"column":8,"endLine":289,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} +particles_ParticleSource_drawParticle__P5347.info = {"start":8615,"length":174,"line":287,"column":8,"endLine":289,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} -function particles_ParticleSource_drawParticle__P5346_mk(s) { +function particles_ParticleSource_drawParticle__P5347_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P5346, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P5347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: 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__P16767; + s.tmp_10.arg1 = length_inline__P16806; 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__P16767(s) { +function length_inline__P16806(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__P16767.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__P16806.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__P16767_mk(s) { +function length_inline__P16806_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P16767, depth: s.depth + 1, + parent: s, fn: length_inline__P16806, 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___16799 = undefined; - s.maxDist___16807 = undefined; - s.ms___16827 = undefined; + s.tm___16838 = undefined; + s.maxDist___16846 = undefined; + s.ms___16866 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28191,18 +28191,18 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 765; s.pc = 13; return s.tmp_0; + s.callLocIdx = 767; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___16799 = (r0); - s.tmp_0 = r0 = s.tm___16799; + s.tm___16838 = (r0); + s.tmp_0 = r0 = s.tm___16838; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___16799.fields["_map"]; + r0 = s.tm___16838.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -28221,17 +28221,17 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___16807 = (r0); + s.maxDist___16846 = (r0); s.tmp_2 = Math_abs__P128_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 769; s.pc = 14; return s.tmp_2; + s.callLocIdx = 771; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___16807); + r0 = (s.tmp_1 <= s.maxDist___16846); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } @@ -28243,11 +28243,11 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_5.arg0 = r0; - s.callLocIdx = 771; s.pc = 15; return s.tmp_5; + s.callLocIdx = 773; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___16807); + r0 = (s.tmp_4 <= s.maxDist___16846); case 4: // jmp value (already in r0) s.tmp_7 = r0; @@ -28266,23 +28266,23 @@ switch (step) { s.tmp_9.arg5 = s.arg3; s.tmp_9.arg6 = s.arg2; s.tmp_9.arg7 = s.arg3; - s.callLocIdx = 772; s.pc = 16; return s.tmp_9; + s.callLocIdx = 774; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___16827 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s); + s.ms___16866 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4861_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___16827; - s.tmp_0.arg2 = s.tm___16799; - s.callLocIdx = 773; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = s.ms___16866; + s.tmp_0.arg2 = s.tm___16838; + s.callLocIdx = 775; 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___16799; + s.tmp_1.arg0 = s.tm___16838; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 774; s.pc = 18; return s.tmp_1; + s.callLocIdx = 776; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0 = r0; @@ -28291,11 +28291,11 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4862_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4863_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___16799; - s.callLocIdx = 775; s.pc = 19; return s.tmp_4; + s.tmp_4.arg2 = s.tm___16838; + s.callLocIdx = 777; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3 = r0; @@ -28346,9 +28346,9 @@ function ArcadePhysicsEngine_moveSprite__P2542_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___16799: undefined, - maxDist___16807: undefined, - ms___16827: undefined, + tm___16838: undefined, + maxDist___16846: undefined, + ms___16866: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28359,7 +28359,7 @@ function ArcadePhysicsEngine_moveSprite__P2542_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P4862(s) { +function ArcadePhysicsEngine_canResolveClipping__P4863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28369,19 +28369,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.hbox___16911 = undefined; + s.sz___16914 = undefined; + s.maxMove___16919 = undefined; + s.origY___16921 = undefined; + s.origX___16924 = undefined; + s.l___16927 = undefined; + s.r___16932 = undefined; + s.t___16937 = undefined; + s.b___16942 = undefined; + s.offset___16947 = undefined; + s.offset___16972 = undefined; + s.offset___17003 = undefined; + s.offset___17028 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28410,73 +28410,73 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___16872 = (r0); + s.hbox___16911 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___16875 = (r0); + s.sz___16914 = (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; + s.callLocIdx = 780; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___16880 = (r0); + s.maxMove___16919 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___16882 = (r0); + s.origY___16921 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___16885 = (r0); + s.origX___16924 = (r0); s.tmp_1 = game_Hitbox_left__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___16872; - s.callLocIdx = 779; s.pc = 22; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___16911; + s.callLocIdx = 781; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___16888 = (r0); + s.l___16927 = (r0); s.tmp_1 = game_Hitbox_right__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___16872; - s.callLocIdx = 781; s.pc = 23; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___16911; + s.callLocIdx = 783; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___16893 = (r0); + s.r___16932 = (r0); s.tmp_1 = game_Hitbox_top__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___16872; - s.callLocIdx = 783; s.pc = 24; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___16911; + s.callLocIdx = 785; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___16898 = (r0); + s.t___16937 = (r0); s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_1.arg0 = s.hbox___16872; - s.callLocIdx = 785; s.pc = 25; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___16911; + s.callLocIdx = 787; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___16903 = (r0); - r0 = (s.b___16903 + 1); + s.b___16942 = (r0); + r0 = (s.b___16942 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16875); - s.offset___16908 = (r0); - r0 = (s.offset___16908 <= s.maxMove___16880); + r0 = (s.tmp_0 % s.sz___16914); + s.offset___16947 = (r0); + r0 = (s.offset___16947 <= s.maxMove___16919); 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___16908 * 256); + r0 = (s.offset___16947 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28486,7 +28486,7 @@ switch (step) { s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 789; s.pc = 26; return s.tmp_3; + s.callLocIdx = 791; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2 = r0; @@ -28500,28 +28500,28 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___16882); + r0 = (s.arg1).fields["_y"] = (s.origY___16921); case 4: case 5: case 6: - r0 = (s.t___16898 / s.sz___16875); + r0 = (s.t___16937 / s.sz___16914); 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___16875); + r0 = (s.tmp_1 * s.sz___16914); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___16898); - s.offset___16933 = (r0); - r0 = (s.offset___16933 <= s.maxMove___16880); + r0 = (s.tmp_0 - s.t___16937); + s.offset___16972 = (r0); + r0 = (s.offset___16972 <= s.maxMove___16919); 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___16933 * 256); + r0 = (s.offset___16972 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28531,7 +28531,7 @@ switch (step) { s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 792; s.pc = 27; return s.tmp_3; + s.callLocIdx = 794; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; @@ -28545,22 +28545,22 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___16882); + r0 = (s.arg1).fields["_y"] = (s.origY___16921); case 8: case 9: case 10: - r0 = (s.r___16893 + 1); + r0 = (s.r___16932 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16875); - s.offset___16964 = (r0); - r0 = (s.offset___16964 <= s.maxMove___16880); + r0 = (s.tmp_0 % s.sz___16914); + s.offset___17003 = (r0); + r0 = (s.offset___17003 <= s.maxMove___16919); 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___16964 * 256); + r0 = (s.offset___17003 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28570,7 +28570,7 @@ switch (step) { s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 795; s.pc = 28; return s.tmp_3; + s.callLocIdx = 797; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -28584,28 +28584,28 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___16885); + r0 = (s.arg1).fields["_x"] = (s.origX___16924); case 12: case 13: case 14: - r0 = (s.l___16888 / s.sz___16875); + r0 = (s.l___16927 / s.sz___16914); 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___16875); + r0 = (s.tmp_1 * s.sz___16914); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___16888); - s.offset___16989 = (r0); - r0 = (s.offset___16989 <= s.maxMove___16880); + r0 = (s.tmp_0 - s.l___16927); + s.offset___17028 = (r0); + r0 = (s.offset___17028 <= s.maxMove___16919); 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___16989 * 256); + r0 = (s.offset___17028 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -28615,7 +28615,7 @@ switch (step) { s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 798; s.pc = 29; return s.tmp_3; + s.callLocIdx = 800; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -28629,7 +28629,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___16885); + r0 = (s.arg1).fields["_x"] = (s.origX___16924); case 16: case 17: case 18: @@ -28638,12 +28638,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P4862.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P4863.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P4862_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P4863_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4862, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28651,19 +28651,19 @@ function ArcadePhysicsEngine_canResolveClipping__P4862_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: 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, + hbox___16911: undefined, + sz___16914: undefined, + maxMove___16919: undefined, + origY___16921: undefined, + origX___16924: undefined, + l___16927: undefined, + r___16932: undefined, + t___16937: undefined, + b___16942: undefined, + offset___16947: undefined, + offset___16972: undefined, + offset___17003: undefined, + offset___17028: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28892,7 +28892,7 @@ function game_Hitbox_left__P2217_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P4860(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28902,37 +28902,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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___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___17473 = undefined; - s.x___17475 = undefined; - s.x0___17485 = undefined; - s.y___17495 = undefined; - s.y0___17505 = undefined; + s.s___17067 = undefined; + s.hbox___17092 = undefined; + s.tileScale___17095 = undefined; + s.tileSize___17098 = undefined; + s.xDiff___17102 = undefined; + s.yDiff___17109 = undefined; + s.right___17125 = undefined; + s.x0___17129 = undefined; + s.collidedTiles___17144 = undefined; + s.y___17146 = undefined; + s.y0___17160 = undefined; + s.obstacle___17176 = undefined; + s.collisionDirection___17203 = undefined; + s.tile___17229 = undefined; + s.unnamed94___U14 = undefined; + s.unnamed95___U15 = undefined; + s.down___17320 = undefined; + s.y0___17324 = undefined; + s.collidedTiles___17339 = undefined; + s.x___17341 = undefined; + s.x0___17351 = undefined; + s.obstacle___17365 = undefined; + s.collisionDirection___17392 = undefined; + s.tile___17418 = undefined; + s.unnamed96___U24 = undefined; + s.unnamed97___U25 = undefined; + s.overlappedTiles___17512 = undefined; + s.x___17514 = undefined; + s.x0___17524 = undefined; + s.y___17534 = undefined; + s.y0___17544 = 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___17028 = (r0); - r0 = s.s___17028.fields["flags"]; + s.s___17067 = (r0); + r0 = s.s___17067.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 256); s.tmp_0 = r0; @@ -28951,8 +28951,8 @@ 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___17028; - s.callLocIdx = 661; s.pc = 97; return s.tmp_5; + s.tmp_5.arg1 = s.s___17067; + s.callLocIdx = 663; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; s.tmp_4 = r0; @@ -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___17028; + s.tmp_6 = r0 = s.s___17067; 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___17028.fields["_image"]; + r0 = s.s___17067.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___17028; + s.tmp_4.arg0 = s.s___17067; 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___17028.fields["_hitbox"]; - s.hbox___17053 = (r0); + r0 = s.s___17067.fields["_hitbox"]; + s.hbox___17092 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___17056 = (r0); - r0 = (1 << s.tileScale___17056); - s.tileSize___17059 = (r0); - r0 = s.s___17028.fields["_x"]; + s.tileScale___17095 = (r0); + r0 = (1 << s.tileScale___17095); + s.tileSize___17098 = (r0); + r0 = s.s___17067.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___17028.fields["_lastX"]; + r0 = s.s___17067.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___17063 = (r0); - r0 = s.s___17028.fields["_y"]; + s.xDiff___17102 = (r0); + r0 = s.s___17067.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___17028.fields["_lastY"]; + r0 = s.s___17067.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___17070 = (r0); - r0 = s.s___17028.fields["flags"]; + s.yDiff___17109 = (r0); + r0 = s.s___17067.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -29019,17 +29019,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___17063 !== 0); + r0 = (s.xDiff___17102 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___17063 > 0); - s.right___17086 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___17086); + r0 = (s.xDiff___17102 > 0); + s.right___17125 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___17125); if (!r0) { step = 7; continue; } s.tmp_1 = game_Hitbox_right__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___17053; - s.callLocIdx = 666; s.pc = 99; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___17092; + s.callLocIdx = 668; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; s.tmp_0 = r0; @@ -29037,8 +29037,8 @@ switch (step) { { step = 8; continue; } case 7: s.tmp_3 = game_Hitbox_left__P2217_mk(s); - s.tmp_3.arg0 = s.hbox___17053; - s.callLocIdx = 668; s.pc = 100; return s.tmp_3; + s.tmp_3.arg0 = s.hbox___17092; + s.callLocIdx = 670; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; s.tmp_2 = r0; @@ -29048,30 +29048,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___17056 + 8); + r0 = (s.tileScale___17095 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___17090 = (r0); + s.x0___17129 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17105 = (r0); + s.collidedTiles___17144 = (r0); s.tmp_1 = game_Hitbox_top__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___17053; - s.callLocIdx = 672; s.pc = 101; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___17092; + s.callLocIdx = 674; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___17070); - s.y___17107 = (r0); + r0 = (s.tmp_0 - s.yDiff___17109); + s.y___17146 = (r0); case 9: - s.tmp_1 = r0 = s.y___17107; - s.tmp_3 = r0 = s.tileSize___17059; + s.tmp_1 = r0 = s.y___17146; + s.tmp_3 = r0 = s.tileSize___17098; s.tmp_6 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_6.arg0 = s.hbox___17053; - s.callLocIdx = 674; s.pc = 102; return s.tmp_6; + s.tmp_6.arg0 = s.hbox___17092; + s.callLocIdx = 676; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___17070); + r0 = (s.tmp_5 - s.yDiff___17109); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -29082,30 +29082,30 @@ 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___17107; + s.tmp_10.arg0 = s.y___17146; s.tmp_12 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_12.arg0 = s.hbox___17053; - s.callLocIdx = 677; s.pc = 104; return s.tmp_12; + s.tmp_12.arg0 = s.hbox___17092; + s.callLocIdx = 679; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___17070); + r0 = (s.tmp_11 - s.yDiff___17109); s.tmp_10.arg1 = r0; - s.callLocIdx = 679; s.pc = 103; return s.tmp_10; + s.callLocIdx = 681; s.pc = 103; return s.tmp_10; case 103: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___17056 + 8); + r0 = (s.tileScale___17095 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___17121 = (r0); + s.y0___17160 = (r0); s.tmp_1 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17090; - s.tmp_1.arg2 = s.y0___17121; - s.callLocIdx = 682; s.pc = 105; return s.tmp_1; + s.tmp_1.arg1 = s.x0___17129; + s.tmp_1.arg2 = s.y0___17160; + s.callLocIdx = 684; s.pc = 105; return s.tmp_1; case 105: r0 = s.retval; s.tmp_0 = r0; @@ -29113,19 +29113,19 @@ 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___17090; - s.tmp_2.arg2 = s.y0___17121; - s.callLocIdx = 683; s.pc = 106; return s.tmp_2; + s.tmp_2.arg1 = s.x0___17129; + s.tmp_2.arg2 = s.y0___17160; + s.callLocIdx = 685; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___17137 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17145); + s.obstacle___17176 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17184); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17137); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17176); s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17105; + s.tmp_4.arg0 = s.collidedTiles___17144; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 684; s.pc = 107; return s.tmp_4; + s.callLocIdx = 686; s.pc = 107; return s.tmp_4; case 107: r0 = s.retval; s.tmp_3 = r0; @@ -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___17105, s.obstacle___17137); + r0 = pxsim_Array__push(s.collidedTiles___17144, s.obstacle___17176); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___17059 << 8); + r0 = (s.tileSize___17098 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17107); - s.y___17107 = (r0); + r0 = (s.tmp_0 + s.y___17146); + s.y___17146 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___17105); + r0 = pxsim_Array__length(s.collidedTiles___17144); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___17086); + r0 = pxsim_numops_toBoolDecr(s.right___17125); 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___17164 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___17086); + s.collisionDirection___17203 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___17125); if (!r0) { step = 17; continue; } - r0 = (s.x0___17090 << s.tileScale___17056); + r0 = (s.x0___17129 << s.tileScale___17095); 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___17053.fields["width"]; + r0 = s.hbox___17092.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___17090 + 1); + r0 = (s.x0___17129 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___17056); + r0 = (s.tmp_5 << s.tileScale___17095); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29183,24 +29183,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___17028; - r0 = s.hbox___17053.fields["ox"]; + s.tmp_8 = r0 = s.s___17067; + r0 = s.hbox___17092.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___17190 = (undefined); - s.unnamed92___U14 = (s.collidedTiles___17105); - s.unnamed93___U15 = (0); + s.tile___17229 = (undefined); + s.unnamed94___U14 = (s.collidedTiles___17144); + s.unnamed95___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed93___U15; - r0 = pxsim_Array__length(s.unnamed92___U14); + s.tmp_0 = r0 = s.unnamed95___U15; + r0 = pxsim_Array__length(s.unnamed94___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed92___U14, s.unnamed93___U15); - s.tile___17190 = (r0); - r0 = s.s___17028.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed94___U14, s.unnamed95___U15); + s.tile___17229 = (r0); + r0 = s.s___17067.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29211,36 +29211,36 @@ 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___17028; - s.tmp_6.arg1 = s.collisionDirection___17164; - s.tmp_6.arg2 = s.tile___17190; + s.tmp_6.arg0 = s.s___17067; + s.tmp_6.arg1 = s.collisionDirection___17203; + s.tmp_6.arg2 = s.tile___17229; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 690; s.pc = 108; return s.tmp_6; + s.callLocIdx = 692; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed93___U15 + 1); - s.unnamed93___U15 = (r0); + r0 = (s.unnamed95___U15 + 1); + s.unnamed95___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed92___U14 = (undefined); - r0 = s.s___17028.fields["flags"]; + s.unnamed94___U14 = (undefined); + r0 = s.s___17067.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___17028; + s.tmp_2.arg0 = s.s___17067; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 691; s.pc = 109; return s.tmp_2; + s.callLocIdx = 693; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___17028.fields["_vx"]; + r0 = s.s___17067.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___17028.fields["flags"]; + r0 = s.s___17067.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___17028.fields["flags"]; + r0 = s.s___17067.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___17086); + r0 = pxsim_numops_toBoolDecr(s.right___17125); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29279,8 +29279,8 @@ switch (step) { { step = 27; continue; } case 26: s.tmp_12 = Sprite_vx__P2359_mk(s); - s.tmp_12.arg0 = s.s___17028; - s.callLocIdx = 692; s.pc = 110; return s.tmp_12; + s.tmp_12.arg0 = s.s___17067; + s.callLocIdx = 694; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; s.tmp_11 = r0; @@ -29293,15 +29293,15 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___17086; + s.tmp_14 = r0 = s.right___17125; 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___17028; - s.callLocIdx = 693; s.pc = 111; return s.tmp_16; + s.tmp_16.arg0 = s.s___17067; + s.callLocIdx = 695; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; s.tmp_15 = r0; @@ -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___17028; - r0 = s.s___17028.fields["_vx"]; + s.tmp_19 = r0 = s.s___17067; + r0 = s.s___17067.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29338,18 +29338,18 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___17028).fields["_vx"] = (0); + r0 = (s.s___17067).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___17028.fields["_vx"]; + r0 = s.s___17067.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 698; s.pc = 112; return s.tmp_2; + s.callLocIdx = 700; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; s.tmp_1 = r0; @@ -29360,7 +29360,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 700; s.pc = 113; return s.tmp_6; + s.callLocIdx = 702; s.pc = 113; return s.tmp_6; case 113: r0 = s.retval; s.tmp_5 = r0; @@ -29377,17 +29377,17 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___17070 !== 0); + r0 = (s.yDiff___17109 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___17070 > 0); - s.down___17281 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___17281); + r0 = (s.yDiff___17109 > 0); + s.down___17320 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___17320); if (!r0) { step = 45; continue; } s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_1.arg0 = s.hbox___17053; - s.callLocIdx = 701; s.pc = 114; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___17092; + s.callLocIdx = 703; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; s.tmp_0 = r0; @@ -29395,8 +29395,8 @@ switch (step) { { step = 46; continue; } case 45: s.tmp_3 = game_Hitbox_top__P2218_mk(s); - s.tmp_3.arg0 = s.hbox___17053; - s.callLocIdx = 703; s.pc = 115; return s.tmp_3; + s.tmp_3.arg0 = s.hbox___17092; + s.callLocIdx = 705; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; s.tmp_2 = r0; @@ -29406,24 +29406,24 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___17056 + 8); + r0 = (s.tileScale___17095 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___17285 = (r0); + s.y0___17324 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17300 = (r0); + s.collidedTiles___17339 = (r0); s.tmp_0 = game_Hitbox_left__P2217_mk(s); - s.tmp_0.arg0 = s.hbox___17053; - s.callLocIdx = 707; s.pc = 116; return s.tmp_0; + s.tmp_0.arg0 = s.hbox___17092; + s.callLocIdx = 709; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___17302 = (r0); + s.x___17341 = (r0); case 47: - s.tmp_1 = r0 = s.x___17302; - s.tmp_3 = r0 = s.tileSize___17059; + s.tmp_1 = r0 = s.x___17341; + s.tmp_3 = r0 = s.tileSize___17098; s.tmp_5 = game_Hitbox_right__P2219_mk(s); - s.tmp_5.arg0 = s.hbox___17053; - s.callLocIdx = 708; s.pc = 117; return s.tmp_5; + s.tmp_5.arg0 = s.hbox___17092; + s.callLocIdx = 710; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; s.tmp_4 = r0; @@ -29436,28 +29436,28 @@ 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___17302; + s.tmp_9.arg0 = s.x___17341; s.tmp_10 = game_Hitbox_right__P2219_mk(s); - s.tmp_10.arg0 = s.hbox___17053; - s.callLocIdx = 710; s.pc = 119; return s.tmp_10; + s.tmp_10.arg0 = s.hbox___17092; + s.callLocIdx = 712; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 711; s.pc = 118; return s.tmp_9; + s.callLocIdx = 713; s.pc = 118; return s.tmp_9; case 118: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17056 + 8); + r0 = (s.tileScale___17095 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17312 = (r0); + s.x0___17351 = (r0); s.tmp_1 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17312; - s.tmp_1.arg2 = s.y0___17285; - s.callLocIdx = 714; s.pc = 120; return s.tmp_1; + s.tmp_1.arg1 = s.x0___17351; + s.tmp_1.arg2 = s.y0___17324; + s.callLocIdx = 716; s.pc = 120; return s.tmp_1; case 120: r0 = s.retval; s.tmp_0 = r0; @@ -29465,19 +29465,19 @@ 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___17312; - s.tmp_2.arg2 = s.y0___17285; - s.callLocIdx = 715; s.pc = 121; return s.tmp_2; + s.tmp_2.arg1 = s.x0___17351; + s.tmp_2.arg2 = s.y0___17324; + s.callLocIdx = 717; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___17326 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17334); + s.obstacle___17365 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17373); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17326); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17365); s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17300; + s.tmp_4.arg0 = s.collidedTiles___17339; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 716; s.pc = 122; return s.tmp_4; + s.callLocIdx = 718; s.pc = 122; return s.tmp_4; case 122: r0 = s.retval; s.tmp_3 = r0; @@ -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___17300, s.obstacle___17326); + r0 = pxsim_Array__push(s.collidedTiles___17339, s.obstacle___17365); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___17059 << 8); + r0 = (s.tileSize___17098 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17302); - s.x___17302 = (r0); + r0 = (s.tmp_0 + s.x___17341); + s.x___17341 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___17300); + r0 = pxsim_Array__length(s.collidedTiles___17339); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___17281); + r0 = pxsim_numops_toBoolDecr(s.down___17320); 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___17353 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___17281); + s.collisionDirection___17392 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___17320); if (!r0) { step = 55; continue; } - r0 = (s.y0___17285 << s.tileScale___17056); + r0 = (s.y0___17324 << s.tileScale___17095); 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___17053.fields["height"]; + r0 = s.hbox___17092.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___17285 + 1); + r0 = (s.y0___17324 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___17056); + r0 = (s.tmp_5 << s.tileScale___17095); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29535,24 +29535,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___17028; - r0 = s.hbox___17053.fields["oy"]; + s.tmp_8 = r0 = s.s___17067; + r0 = s.hbox___17092.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___17379 = (undefined); - s.unnamed94___U24 = (s.collidedTiles___17300); - s.unnamed95___U25 = (0); + s.tile___17418 = (undefined); + s.unnamed96___U24 = (s.collidedTiles___17339); + s.unnamed97___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed95___U25; - r0 = pxsim_Array__length(s.unnamed94___U24); + s.tmp_0 = r0 = s.unnamed97___U25; + r0 = pxsim_Array__length(s.unnamed96___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed94___U24, s.unnamed95___U25); - s.tile___17379 = (r0); - r0 = s.s___17028.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed96___U24, s.unnamed97___U25); + s.tile___17418 = (r0); + r0 = s.s___17067.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29563,36 +29563,36 @@ 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___17028; - s.tmp_6.arg1 = s.collisionDirection___17353; - s.tmp_6.arg2 = s.tile___17379; + s.tmp_6.arg0 = s.s___17067; + s.tmp_6.arg1 = s.collisionDirection___17392; + s.tmp_6.arg2 = s.tile___17418; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 722; s.pc = 123; return s.tmp_6; + s.callLocIdx = 724; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed95___U25 + 1); - s.unnamed95___U25 = (r0); + r0 = (s.unnamed97___U25 + 1); + s.unnamed97___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed94___U24 = (undefined); - r0 = s.s___17028.fields["flags"]; + s.unnamed96___U24 = (undefined); + r0 = s.s___17067.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___17028; + s.tmp_2.arg0 = s.s___17067; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 723; s.pc = 124; return s.tmp_2; + s.callLocIdx = 725; s.pc = 124; return s.tmp_2; case 124: r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___17028.fields["_vy"]; + r0 = s.s___17067.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___17028.fields["flags"]; + r0 = s.s___17067.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___17028.fields["flags"]; + r0 = s.s___17067.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___17281); + r0 = pxsim_numops_toBoolDecr(s.down___17320); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29631,8 +29631,8 @@ switch (step) { { step = 65; continue; } case 64: s.tmp_12 = Sprite_vy__P2361_mk(s); - s.tmp_12.arg0 = s.s___17028; - s.callLocIdx = 724; s.pc = 125; return s.tmp_12; + s.tmp_12.arg0 = s.s___17067; + s.callLocIdx = 726; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; s.tmp_11 = r0; @@ -29645,15 +29645,15 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___17281; + s.tmp_14 = r0 = s.down___17320; 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___17028; - s.callLocIdx = 725; s.pc = 126; return s.tmp_16; + s.tmp_16.arg0 = s.s___17067; + s.callLocIdx = 727; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; s.tmp_15 = r0; @@ -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___17028; - r0 = s.s___17028.fields["_vy"]; + s.tmp_19 = r0 = s.s___17067; + r0 = s.s___17067.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29690,18 +29690,18 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___17028).fields["_vy"] = (0); + r0 = (s.s___17067).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___17028.fields["_vy"]; + r0 = s.s___17067.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 730; s.pc = 127; return s.tmp_2; + s.callLocIdx = 732; s.pc = 127; return s.tmp_2; case 127: r0 = s.retval; s.tmp_1 = r0; @@ -29712,7 +29712,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 732; s.pc = 128; return s.tmp_6; + s.callLocIdx = 734; s.pc = 128; return s.tmp_6; case 128: r0 = s.retval; s.tmp_5 = r0; @@ -29731,7 +29731,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___17028.fields["flags"]; + r0 = s.s___17067.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -29742,19 +29742,19 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___17473 = (r0); + s.overlappedTiles___17512 = (r0); s.tmp_0 = game_Hitbox_left__P2217_mk(s); - s.tmp_0.arg0 = s.hbox___17053; - s.callLocIdx = 733; s.pc = 129; return s.tmp_0; + s.tmp_0.arg0 = s.hbox___17092; + s.callLocIdx = 735; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___17475 = (r0); + s.x___17514 = (r0); case 85: - s.tmp_1 = r0 = s.x___17475; - s.tmp_3 = r0 = s.tileSize___17059; + s.tmp_1 = r0 = s.x___17514; + s.tmp_3 = r0 = s.tileSize___17098; s.tmp_5 = game_Hitbox_right__P2219_mk(s); - s.tmp_5.arg0 = s.hbox___17053; - s.callLocIdx = 734; s.pc = 130; return s.tmp_5; + s.tmp_5.arg0 = s.hbox___17092; + s.callLocIdx = 736; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; s.tmp_4 = r0; @@ -29767,35 +29767,35 @@ 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___17475; + s.tmp_9.arg0 = s.x___17514; s.tmp_10 = game_Hitbox_right__P2219_mk(s); - s.tmp_10.arg0 = s.hbox___17053; - s.callLocIdx = 736; s.pc = 132; return s.tmp_10; + s.tmp_10.arg0 = s.hbox___17092; + s.callLocIdx = 738; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 737; s.pc = 131; return s.tmp_9; + s.callLocIdx = 739; s.pc = 131; return s.tmp_9; case 131: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17056 + 8); + r0 = (s.tileScale___17095 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17485 = (r0); + s.x0___17524 = (r0); s.tmp_0 = game_Hitbox_top__P2218_mk(s); - s.tmp_0.arg0 = s.hbox___17053; - s.callLocIdx = 740; s.pc = 133; return s.tmp_0; + s.tmp_0.arg0 = s.hbox___17092; + s.callLocIdx = 742; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___17495 = (r0); + s.y___17534 = (r0); case 86: - s.tmp_1 = r0 = s.y___17495; - s.tmp_3 = r0 = s.tileSize___17059; + s.tmp_1 = r0 = s.y___17534; + s.tmp_3 = r0 = s.tileSize___17098; s.tmp_5 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_5.arg0 = s.hbox___17053; - s.callLocIdx = 741; s.pc = 134; return s.tmp_5; + s.tmp_5.arg0 = s.hbox___17092; + s.callLocIdx = 743; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; s.tmp_4 = r0; @@ -29808,28 +29808,28 @@ 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___17495; + s.tmp_9.arg0 = s.y___17534; s.tmp_10 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_10.arg0 = s.hbox___17053; - s.callLocIdx = 743; s.pc = 136; return s.tmp_10; + s.tmp_10.arg0 = s.hbox___17092; + s.callLocIdx = 745; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 744; s.pc = 135; return s.tmp_9; + s.callLocIdx = 746; s.pc = 135; return s.tmp_9; case 135: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___17056 + 8); + r0 = (s.tileScale___17095 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___17505 = (r0); + s.y0___17544 = (r0); s.tmp_3 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___17485; - s.tmp_3.arg2 = s.y0___17505; - s.callLocIdx = 747; s.pc = 137; return s.tmp_3; + s.tmp_3.arg1 = s.x0___17524; + s.tmp_3.arg2 = s.y0___17544; + s.callLocIdx = 749; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; s.tmp_2 = r0; @@ -29842,7 +29842,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___17028.fields["flags"]; + r0 = s.s___17067.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -29858,39 +29858,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___17473; + s.tmp_10 = r0 = s.overlappedTiles___17512; s.tmp_12 = tiles_TileMap_getTile__P2750_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___17485; - s.tmp_12.arg2 = s.y0___17505; - s.callLocIdx = 748; s.pc = 138; return s.tmp_12; + s.tmp_12.arg1 = s.x0___17524; + s.tmp_12.arg2 = s.y0___17544; + s.callLocIdx = 750; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; s.tmp_11 = r0; r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___17059 << 8); + r0 = (s.tileSize___17098 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17495); - s.y___17495 = (r0); + r0 = (s.tmp_0 + s.y___17534); + s.y___17534 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___17059 << 8); + r0 = (s.tileSize___17098 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17475); - s.x___17475 = (r0); + r0 = (s.tmp_0 + s.x___17514); + s.x___17514 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___17473); + r0 = pxsim_Array__length(s.overlappedTiles___17512); 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 = ArcadePhysicsEngine_tilemapOverlaps__P4862_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___17028; - s.tmp_1.arg2 = s.overlappedTiles___17473; - s.callLocIdx = 751; s.pc = 139; return s.tmp_1; + s.tmp_1.arg1 = s.s___17067; + s.tmp_1.arg2 = s.overlappedTiles___17512; + s.callLocIdx = 753; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; case 93: @@ -29901,12 +29901,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P4860.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P4861.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4861_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4860, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29930,37 +29930,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: 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___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___17473: undefined, - x___17475: undefined, - x0___17485: undefined, - y___17495: undefined, - y0___17505: undefined, + s___17067: undefined, + hbox___17092: undefined, + tileScale___17095: undefined, + tileSize___17098: undefined, + xDiff___17102: undefined, + yDiff___17109: undefined, + right___17125: undefined, + x0___17129: undefined, + collidedTiles___17144: undefined, + y___17146: undefined, + y0___17160: undefined, + obstacle___17176: undefined, + collisionDirection___17203: undefined, + tile___17229: undefined, + unnamed94___U14: undefined, + unnamed95___U15: undefined, + down___17320: undefined, + y0___17324: undefined, + collidedTiles___17339: undefined, + x___17341: undefined, + x0___17351: undefined, + obstacle___17365: undefined, + collisionDirection___17392: undefined, + tile___17418: undefined, + unnamed96___U24: undefined, + unnamed97___U25: undefined, + overlappedTiles___17512: undefined, + x___17514: undefined, + x0___17524: undefined, + y___17534: undefined, + y0___17544: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29970,7 +29970,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17145(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17184(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__P17145.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__P17184.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__P17145_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17184_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17145, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17184, 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__P17145_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17334(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17373(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__P17334.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__P17373.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__P17334_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P17373_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17334, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17373, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30046,7 +30046,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P17334_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P4861(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30056,11 +30056,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___17552 = undefined; - s.tile___17555 = undefined; - s.unnamed96___U2 = undefined; - s.unnamed97___U3 = undefined; - s.tileOverlapHandlers___17576 = undefined; + s.alreadyHandled___17591 = undefined; + s.tile___17594 = undefined; + s.unnamed98___U2 = undefined; + s.unnamed99___U3 = undefined; + s.tileOverlapHandlers___17615 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30070,25 +30070,25 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___17552 = (r0); - s.tile___17555 = (undefined); - s.unnamed96___U2 = (s.arg2); - s.unnamed97___U3 = (0); + s.alreadyHandled___17591 = (r0); + s.tile___17594 = (undefined); + s.unnamed98___U2 = (s.arg2); + s.unnamed99___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed97___U3; - r0 = pxsim_Array__length(s.unnamed96___U2); + s.tmp_0 = r0 = s.unnamed99___U3; + r0 = pxsim_Array__length(s.unnamed98___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed96___U2, s.unnamed97___U3); - s.tile___17555 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P17559); + r0 = pxsim_Array__getAt(s.unnamed98___U2, s.unnamed99___U3); + s.tile___17594 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P17598); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___17555); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___17594); s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___17552; + s.tmp_4.arg0 = s.alreadyHandled___17591; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 756; s.pc = 8; return s.tmp_4; + s.callLocIdx = 758; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -30097,64 +30097,64 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___17552, s.tile___17555); + r0 = pxsim_Array__push(s.alreadyHandled___17591, s.tile___17594); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 757; s.pc = 9; return s.tmp_0; + s.callLocIdx = 759; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___17576 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___17576); + s.tileOverlapHandlers___17615 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___17615); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P17584); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P17623); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___17555); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P17600); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___17594); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P17637); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___17555); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___17594); s.tmp_2 = helpers_arrayForEach__P109_mk(s); s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___17576; + s.tmp_3.arg0 = s.tileOverlapHandlers___17615; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 760; s.pc = 11; return s.tmp_3; + s.callLocIdx = 762; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 762; s.pc = 10; return s.tmp_2; + s.callLocIdx = 764; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 4: case 5: case 6: - r0 = (s.unnamed97___U3 + 1); - s.unnamed97___U3 = (r0); + r0 = (s.unnamed99___U3 + 1); + s.unnamed99___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed96___U2 = (undefined); + s.unnamed98___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P4861.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P4862.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P4861_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4862_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4861, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4862, 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, tmp_4: undefined, - alreadyHandled___17552: undefined, - tile___17555: undefined, - unnamed96___U2: undefined, - unnamed97___U3: undefined, - tileOverlapHandlers___17576: undefined, + alreadyHandled___17591: undefined, + tile___17594: undefined, + unnamed98___U2: undefined, + unnamed99___U3: undefined, + tileOverlapHandlers___17615: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30164,7 +30164,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4861_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17559(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17598(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__P17559.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__P17598.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__P17559_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17598_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17559, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17598, 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__P17559_mk(s) { -function forEach_inline__P17584(s) { +function forEach_inline__P17623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30250,7 +30250,7 @@ switch (step) { s.tmp_3 = r0; s.tmp_5 = tiles_getTileImage__P2769_mk(s); s.tmp_5.arg0 = s.caps[1]; - s.callLocIdx = 759; s.pc = 3; return s.tmp_5; + s.callLocIdx = 761; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; @@ -30262,12 +30262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +forEach_inline__P17623.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__P17584_mk(s) { +function forEach_inline__P17623_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17584, depth: s.depth + 1, + parent: s, fn: forEach_inline__P17623, 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__P17584_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17600(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30303,12 +30303,12 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 761; s.pc = 1; return s.tmp_0; + s.callLocIdx = 763; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 761; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 761; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 761; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 763; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 763; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 763; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -30316,12 +30316,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P17637.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__P17600_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P17637_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17600, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30341,16 +30341,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17608 = undefined; + s.scene___17644 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 931; s.pc = 6; return s.tmp_0; + s.callLocIdx = 933; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___17608 = (r0); + s.scene___17644 = (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___17608.fields["tileMap"]; + r0 = s.scene___17644.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -30370,20 +30370,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex17618); + r0 = pxsim.image.ofBuffer(_hex17654); { step = 5; continue; } case 3: case 4: s.tmp_5 = tiles_TileMap_getTileImage__P2760_mk(s); - r0 = s.scene___17608.fields["tileMap"]; + r0 = s.scene___17644.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_6 = tiles_Location_tileSet__P2705_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 932; s.pc = 8; return s.tmp_6; + s.callLocIdx = 934; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; - s.callLocIdx = 933; s.pc = 7; return s.tmp_5; + s.callLocIdx = 935; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; case 5: @@ -30404,11 +30404,11 @@ function tiles_getTileImage__P2769_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___17608: undefined, + scene___17644: undefined, arg0: undefined, } } -const _hex17618 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex17654 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") @@ -30434,7 +30434,7 @@ switch (step) { r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 917; s.pc = 1; return s.tmp_0; + s.callLocIdx = 919; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -30466,9 +30466,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___8911 = undefined; - s.cachedImage___8915 = undefined; - s.originalImage___8922 = undefined; + s.size___8922 = undefined; + s.cachedImage___8926 = undefined; + s.originalImage___8933 = 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___8911 = (r0); + s.size___8922 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___8915 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___8915); + s.cachedImage___8926 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___8926); 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___8922 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___8922); + s.originalImage___8933 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___8933); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___8922); + r0 = pxsim_ImageMethods.width(s.originalImage___8933); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___8911); + r0 = (s.tmp_1 <= s.size___8922); 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___8922); + r0 = pxsim_ImageMethods.height(s.originalImage___8933); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___8911); + r0 = (s.tmp_2 <= s.size___8922); 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___8915 = (s.originalImage___8922); + s.cachedImage___8926 = (s.originalImage___8933); { step = 4; continue; } case 3: - 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); + r0 = pxsim.image.create(s.size___8922, s.size___8922); + s.cachedImage___8926 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___8926, s.originalImage___8933, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___8915); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___8926); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___8915; + r0 = s.cachedImage___8926; 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___8911: undefined, - cachedImage___8915: undefined, - originalImage___8922: undefined, + size___8922: undefined, + cachedImage___8926: undefined, + originalImage___8933: undefined, arg0: undefined, arg1: undefined, } } @@ -30607,7 +30607,7 @@ switch (step) { s.tmp_0 = tiles_TileMap_getTileIndex__P2751_mk(s); s.tmp_1 = tiles_Location_tileMap__P2696_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 820; s.pc = 2; return s.tmp_1; + s.callLocIdx = 822; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; @@ -30615,7 +30615,7 @@ switch (step) { s.tmp_0.arg1 = r0; r0 = s.arg0.fields["_row"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 821; s.pc = 1; return s.tmp_0; + s.callLocIdx = 823; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leaveAccessor(s, r0) @@ -30661,7 +30661,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 852; s.pc = 1; return s.tmp_0; + s.callLocIdx = 854; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -30706,7 +30706,7 @@ switch (step) { s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 829; s.pc = 4; return s.tmp_1; + s.callLocIdx = 831; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -30858,7 +30858,7 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 811; s.pc = 1; return s.tmp_0; + s.callLocIdx = 813; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["tileMap"]; @@ -30961,8 +30961,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___17734 = undefined; - s.tile___17746 = undefined; + s.index___17770 = undefined; + s.tile___17782 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30976,7 +30976,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 896; s.pc = 3; return s.tmp_1; + s.callLocIdx = 898; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -30990,26 +30990,26 @@ switch (step) { s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 897; s.pc = 4; return s.tmp_2; + s.callLocIdx = 899; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___17734 = (s.tmp_3); + s.index___17770 = (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___17734; - s.callLocIdx = 898; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___17770; + s.callLocIdx = 900; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___17746 = (r0); + s.tile___17782 = (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___17746; + s.tmp_1.arg1 = s.tile___17782; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -31022,8 +31022,8 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___17734; - s.callLocIdx = 902; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___17770; + s.callLocIdx = 904; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = s.tmp_0; @@ -31043,8 +31043,8 @@ function tiles_TileMap_getObstacle__P2758_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___17734: undefined, - tile___17746: undefined, + index___17770: undefined, + tile___17782: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31181,7 +31181,7 @@ switch (step) { s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; s.tmp_8.arg2 = s.arg2; - s.callLocIdx = 894; s.pc = 6; return s.tmp_8; + s.callLocIdx = 896; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -31299,7 +31299,7 @@ switch (step) { s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 850; s.pc = 1; return s.tmp_1; + s.callLocIdx = 852; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; @@ -31376,10 +31376,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___17647 = undefined; - s.wallCollisionHandlers___17654 = undefined; - s.wallHandlersToRun___17679 = undefined; - s.asTileLocation___17692 = undefined; + s.collisionHandlers___17683 = undefined; + s.wallCollisionHandlers___17690 = undefined; + s.wallHandlersToRun___17715 = undefined; + s.asTileLocation___17728 = 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___17647 = (r0); + s.collisionHandlers___17683 = (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___17654 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___17647); + s.wallCollisionHandlers___17690 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___17683); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P17662); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P17698); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P17668); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P17704); 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___17647; + s.tmp_3.arg0 = s.collisionHandlers___17683; 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___17654); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___17690); 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__P17681); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P17717); 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___17654; + s.tmp_1.arg0 = s.wallCollisionHandlers___17690; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 437; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___17679 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___17679); + s.wallHandlersToRun___17715 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___17715); 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___17692 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P17708); + s.asTileLocation___17728 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P17744); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___17692); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___17728); s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___17679; + s.tmp_1.arg0 = s.wallHandlersToRun___17715; 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___17647: undefined, - wallCollisionHandlers___17654: undefined, - wallHandlersToRun___17679: undefined, - asTileLocation___17692: undefined, + collisionHandlers___17683: undefined, + wallCollisionHandlers___17690: undefined, + wallHandlersToRun___17715: undefined, + asTileLocation___17728: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31559,7 +31559,7 @@ function Sprite_registerObstacle__P2427_mk(s) { -function forEach_inline__P17662(s) { +function forEach_inline__P17698(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__P17662.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__P17698.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__P17662_mk(s) { +function forEach_inline__P17698_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17662, depth: s.depth + 1, + parent: s, fn: forEach_inline__P17698, 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__P17662_mk(s) { -function Sprite_registerObstacle_inline__P17668(s) { +function Sprite_registerObstacle_inline__P17704(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__P17668.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__P17704.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__P17668_mk(s) { +function Sprite_registerObstacle_inline__P17704_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17668, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P17704, 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__P17668_mk(s) { -function wallHandlersToRun_inline__P17681(s) { +function wallHandlersToRun_inline__P17717(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__P17681.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__P17717.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__P17681_mk(s) { +function wallHandlersToRun_inline__P17717_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P17681, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P17717, 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__P17681_mk(s) { -function Sprite_registerObstacle_inline__P17708(s) { +function Sprite_registerObstacle_inline__P17744(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__P17708.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__P17744.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__P17708_mk(s) { +function Sprite_registerObstacle_inline__P17744_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17708, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P17744, 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___17716 = undefined; - s.i___17719 = undefined; + s.len___17752 = undefined; + s.i___17755 = 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___17716 = (r0); - s.i___17719 = (0); + s.len___17752 = (r0); + s.i___17755 = (0); case 1: - r0 = (s.i___17719 < s.len___17716); + r0 = (s.i___17755 < s.len___17752); 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___17719); + r0 = pxsim_Array__getAt(s.arg0, s.i___17755); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___17719; + s.tmp_2.arg1 = s.i___17755; 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___17719 + 1); - s.i___17719 = (r0); + r0 = (s.i___17755 + 1); + s.i___17755 = (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___17716: undefined, - i___17719: undefined, + len___17752: undefined, + i___17755: 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___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; + s.hbox___9426 = undefined; + s.left___9429 = undefined; + s.right___9435 = undefined; + s.top___9441 = undefined; + s.bottom___9447 = undefined; + s.col___9453 = undefined; + s.row___9459 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31876,10 +31876,10 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___9415 = (r0); + s.hbox___9426 = (r0); s.tmp_1 = game_Hitbox_left__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___9415; - s.callLocIdx = 903; s.pc = 8; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___9426; + s.callLocIdx = 905; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -31888,10 +31888,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___9418 = (r0); + s.left___9429 = (r0); s.tmp_1 = game_Hitbox_right__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___9415; - s.callLocIdx = 906; s.pc = 9; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___9426; + s.callLocIdx = 908; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -31900,10 +31900,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___9424 = (r0); + s.right___9435 = (r0); s.tmp_1 = game_Hitbox_top__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___9415; - s.callLocIdx = 909; s.pc = 10; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___9426; + s.callLocIdx = 911; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -31912,10 +31912,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___9430 = (r0); + s.top___9441 = (r0); s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); - s.tmp_1.arg0 = s.hbox___9415; - s.callLocIdx = 912; s.pc = 11; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___9426; + s.callLocIdx = 914; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -31924,24 +31924,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___9436 = (r0); - s.col___9442 = (s.left___9418); + s.bottom___9447 = (r0); + s.col___9453 = (s.left___9429); case 1: - r0 = (s.col___9442 <= s.right___9424); + r0 = (s.col___9453 <= s.right___9435); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___9448 = (s.top___9430); + s.row___9459 = (s.top___9441); case 2: - r0 = (s.row___9448 <= s.bottom___9436); + r0 = (s.row___9459 <= s.bottom___9447); 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___9442; - s.tmp_2.arg2 = s.row___9448; - s.callLocIdx = 915; s.pc = 12; return s.tmp_2; + s.tmp_2.arg1 = s.col___9453; + s.tmp_2.arg2 = s.row___9459; + s.callLocIdx = 917; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -31951,12 +31951,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___9448 + 1); - s.row___9448 = (r0); + r0 = (s.row___9459 + 1); + s.row___9459 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___9442 + 1); - s.col___9442 = (r0); + r0 = (s.col___9453 + 1); + s.col___9453 = (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___9415: undefined, - left___9418: undefined, - right___9424: undefined, - top___9430: undefined, - bottom___9436: undefined, - col___9442: undefined, - row___9448: undefined, + hbox___9426: undefined, + left___9429: undefined, + right___9435: undefined, + top___9441: undefined, + bottom___9447: undefined, + col___9453: undefined, + row___9459: 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___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___17886 = undefined; - s.stepX___17979 = undefined; - s.stepY___17993 = undefined; - s.bounce___18056 = undefined; + s.dtMs___17827 = undefined; + s.dt2___17833 = undefined; + s.scene___17837 = undefined; + s.tileMap___17840 = undefined; + s.movingSprites___17843 = undefined; + s.MAX_STEP_COUNT___17874 = undefined; + s.overlapHandlers___17886 = undefined; + s.selected___17893 = undefined; + s.buffers___17894 = undefined; + s.count___17898 = undefined; + s.currMovers___17908 = undefined; + s.remainingMovers___17915 = undefined; + s.ms___17920 = undefined; + s.unnamed88___U13 = undefined; + s.unnamed89___U14 = undefined; + s.s___17922 = undefined; + s.stepX___18015 = undefined; + s.stepY___18029 = undefined; + s.bounce___18092 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32085,43 +32085,43 @@ switch (step) { s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; - s.callLocIdx = 553; s.pc = 53; return s.tmp_0; + s.callLocIdx = 555; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___17791 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___17791, 2); - s.dt2___17797 = (r0); + s.dtMs___17827 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___17827, 2); + s.dt2___17833 = (r0); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 554; s.pc = 54; return s.tmp_0; + s.callLocIdx = 556; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___17801 = (r0); - r0 = s.scene___17801.fields["tileMap"]; - s.tileMap___17804 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P17809); + s.scene___17837 = (r0); + r0 = s.scene___17837.fields["tileMap"]; + s.tileMap___17840 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P17845); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___17791); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___17797); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___17827); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___17833); s.tmp_1 = helpers_arrayMap__P106_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 556; s.pc = 55; return s.tmp_1; + s.callLocIdx = 558; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___17807 = (r0); + s.movingSprites___17843 = (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__P17821; - s.callLocIdx = 560; s.pc = 56; return s.tmp_0; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P17857; + s.callLocIdx = 562; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; s.tmp_0 = sprites_SpriteMap_clear__P2453_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 561; s.pc = 57; return s.tmp_0; + s.callLocIdx = 563; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2452_mk(s); @@ -32129,7 +32129,7 @@ switch (step) { s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 562; s.pc = 58; return s.tmp_0; + s.callLocIdx = 564; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; r0 = s.arg0.fields["maxVelocity"]; @@ -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___17791); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___17827); 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___17838 = (r0); + s.MAX_STEP_COUNT___17874 = (r0); s.tmp_0 = helpers_arraySlice__P115_mk(s); - r0 = s.scene___17801.fields["overlapHandlers"]; + r0 = s.scene___17837.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; + s.callLocIdx = 569; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___17850 = (r0); - s.selected___17857 = (0); + s.overlapHandlers___17886 = (r0); + s.selected___17893 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___17807); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___17843); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___17858 = (s.tmp_0); - s.count___17862 = (0); + s.buffers___17894 = (s.tmp_0); + s.count___17898 = (0); case 1: - r0 = (s.count___17862 < s.MAX_STEP_COUNT___17838); + r0 = (s.count___17898 < s.MAX_STEP_COUNT___17874); 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___17858, s.selected___17857); + r0 = pxsim_Array__getAt(s.buffers___17894, s.selected___17893); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -32184,43 +32184,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 52; continue; } - 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); + r0 = pxsim_Array__getAt(s.buffers___17894, s.selected___17893); + s.currMovers___17908 = (r0); + r0 = (s.selected___17893 ^ 1); + s.selected___17893 = (r0); + r0 = pxsim_Array__getAt(s.buffers___17894, s.selected___17893); + s.remainingMovers___17915 = (r0); + s.ms___17920 = (undefined); + s.unnamed88___U13 = (s.currMovers___17908); + s.unnamed89___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed87___U14; - r0 = pxsim_Array__length(s.unnamed86___U13); + s.tmp_0 = r0 = s.unnamed89___U14; + r0 = pxsim_Array__length(s.unnamed88___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed86___U13, s.unnamed87___U14); - s.ms___17884 = (r0); - r0 = s.ms___17884.fields["sprite"]; - s.s___17886 = (r0); - r0 = s.ms___17884.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed88___U13, s.unnamed89___U14); + s.ms___17920 = (r0); + r0 = s.ms___17920.fields["sprite"]; + s.s___17922 = (r0); + r0 = s.ms___17920.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___17886.fields["_vx"]; + r0 = s.s___17922.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___17886.fields["_vx"]; + r0 = s.s___17922.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___17884).fields["dx"] = (0); + r0 = (s.ms___17920).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___17886.fields["_vx"]; + r0 = s.s___17922.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___17884.fields["cachedVx"]; + r0 = s.ms___17920.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___17886.fields["_vx"]; + r0 = s.s___17922.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___17884.fields["cachedVx"]; + r0 = s.ms___17920.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___17884; - r0 = s.ms___17884.fields["dx"]; + s.tmp_9 = r0 = s.ms___17920; + r0 = s.ms___17920.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___17884; - r0 = s.ms___17884.fields["xStep"]; + s.tmp_0 = r0 = s.ms___17920; + r0 = s.ms___17920.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___17886.fields["_vx"]; + r0 = s.s___17922.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___17884).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___17920).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___17884.fields["cachedVy"]; + r0 = s.ms___17920.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___17886.fields["_vy"]; + r0 = s.s___17922.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___17886.fields["_vy"]; + r0 = s.s___17922.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___17884).fields["dy"] = (0); + r0 = (s.ms___17920).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___17886.fields["_vy"]; + r0 = s.s___17922.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___17884.fields["cachedVy"]; + r0 = s.ms___17920.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___17886.fields["_vy"]; + r0 = s.s___17922.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___17884.fields["cachedVy"]; + r0 = s.ms___17920.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___17884; - r0 = s.ms___17884.fields["dy"]; + s.tmp_9 = r0 = s.ms___17920; + r0 = s.ms___17920.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___17884; - r0 = s.ms___17884.fields["yStep"]; + s.tmp_0 = r0 = s.ms___17920; + r0 = s.ms___17920.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32354,22 +32354,22 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___17886.fields["_vy"]; + r0 = s.s___17922.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___17884).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___17920).fields["cachedVy"] = (s.tmp_0); case 27: case 28: s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17884.fields["xStep"]; + r0 = s.ms___17920.fields["xStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 572; s.pc = 60; return s.tmp_2; + s.callLocIdx = 574; 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___17884.fields["dx"]; + r0 = s.ms___17920.fields["dx"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 573; s.pc = 61; return s.tmp_4; + s.callLocIdx = 575; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; @@ -32377,25 +32377,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___17884.fields["dx"]; + r0 = s.ms___17920.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___17884.fields["xStep"]; + r0 = s.ms___17920.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___17979 = (s.tmp_5); + s.stepX___18015 = (s.tmp_5); s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17884.fields["yStep"]; + r0 = s.ms___17920.fields["yStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 574; s.pc = 62; return s.tmp_2; + s.callLocIdx = 576; 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___17884.fields["dy"]; + r0 = s.ms___17920.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 575; s.pc = 63; return s.tmp_4; + s.callLocIdx = 577; s.pc = 63; return s.tmp_4; case 63: r0 = s.retval; s.tmp_3 = r0; @@ -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___17884.fields["dy"]; + r0 = s.ms___17920.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___17884.fields["yStep"]; + r0 = s.ms___17920.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___17993 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___17884; - r0 = s.ms___17884.fields["dx"]; + s.stepY___18029 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___17920; + r0 = s.ms___17920.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___17979); + r0 = (s.tmp_2 - s.stepX___18015); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___17884; - r0 = s.ms___17884.fields["dy"]; + s.tmp_0 = r0 = s.ms___17920; + r0 = s.ms___17920.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___17993); + r0 = (s.tmp_2 - s.stepY___18029); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___17886.fields["_x"]; + r0 = s.s___17922.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___17886).fields["_lastX"] = (s.tmp_0); - r0 = s.s___17886.fields["_y"]; + r0 = (s.s___17922).fields["_lastX"] = (s.tmp_0); + r0 = s.s___17922.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___17886).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___17886; - r0 = s.s___17886.fields["_x"]; + r0 = (s.s___17922).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___17922; + r0 = s.s___17922.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___17979); + r0 = (s.tmp_2 + s.stepX___18015); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___17886; - r0 = s.s___17886.fields["_y"]; + s.tmp_0 = r0 = s.s___17922; + r0 = s.s___17922.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___17993); + r0 = (s.tmp_2 + s.stepY___18029); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___17886.fields["flags"]; + r0 = s.s___17922.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___17886; - s.callLocIdx = 580; s.pc = 64; return s.tmp_4; + s.tmp_4.arg1 = s.s___17922; + s.callLocIdx = 582; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___17804; + s.tmp_0 = r0 = s.tileMap___17840; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___17804.fields["_map"]; + r0 = s.tileMap___17840.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -32480,20 +32480,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4860_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4861_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17884; - s.tmp_6.arg2 = s.tileMap___17804; - s.callLocIdx = 582; s.pc = 65; return s.tmp_6; + s.tmp_6.arg1 = s.ms___17920; + s.tmp_6.arg2 = s.tileMap___17840; + s.callLocIdx = 584; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___17886.fields["flags"]; + r0 = s.s___17922.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___18056 = (r0); - r0 = s.s___17886.fields["flags"]; + s.bounce___18092 = (r0); + r0 = s.s___17922.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___18056; + s.tmp_2 = r0 = s.bounce___18092; 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___17804); + r0 = pxsim_numops_toBoolDecr(s.tileMap___17840); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -32520,21 +32520,21 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4859_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4860_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17884; - s.tmp_6.arg2 = s.bounce___18056; - r0 = s.scene___17801.fields["camera"]; + s.tmp_6.arg1 = s.ms___17920; + s.tmp_6.arg2 = s.bounce___18092; + r0 = s.scene___17837.fields["camera"]; s.tmp_6.arg3 = r0; - s.callLocIdx = 583; s.pc = 66; return s.tmp_6; + s.callLocIdx = 585; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17884.fields["dx"]; + r0 = s.ms___17920.fields["dx"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 584; s.pc = 67; return s.tmp_2; + s.callLocIdx = 586; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; @@ -32546,9 +32546,9 @@ switch (step) { { step = 46; continue; } case 45: s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17884.fields["dy"]; + r0 = s.ms___17920.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 585; s.pc = 68; return s.tmp_4; + s.callLocIdx = 587; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; @@ -32558,31 +32558,31 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 47; continue; } - r0 = pxsim_Array__push(s.remainingMovers___17879, s.ms___17884); + r0 = pxsim_Array__push(s.remainingMovers___17915, s.ms___17920); case 47: case 48: - r0 = (s.unnamed87___U14 + 1); - s.unnamed87___U14 = (r0); + r0 = (s.unnamed89___U14 + 1); + s.unnamed89___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed86___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4858_mk(s); + s.unnamed88___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4859_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___17872; - s.tmp_0.arg2 = s.overlapHandlers___17850; - s.callLocIdx = 586; s.pc = 69; return s.tmp_0; + s.tmp_0.arg1 = s.currMovers___17908; + s.tmp_0.arg2 = s.overlapHandlers___17886; + s.callLocIdx = 588; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___17872); + r0 = pxsim_Array__length(s.currMovers___17908); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___17872); + r0 = pxsim_Array_.pop(s.currMovers___17908); { step = 50; continue; } case 51: - r0 = (s.count___17862 + 1); - s.count___17862 = (r0); + r0 = (s.count___17898 + 1); + s.count___17898 = (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___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___17886: undefined, - stepX___17979: undefined, - stepY___17993: undefined, - bounce___18056: undefined, + dtMs___17827: undefined, + dt2___17833: undefined, + scene___17837: undefined, + tileMap___17840: undefined, + movingSprites___17843: undefined, + MAX_STEP_COUNT___17874: undefined, + overlapHandlers___17886: undefined, + selected___17893: undefined, + buffers___17894: undefined, + count___17898: undefined, + currMovers___17908: undefined, + remainingMovers___17915: undefined, + ms___17920: undefined, + unnamed88___U13: undefined, + unnamed89___U14: undefined, + s___17922: undefined, + stepX___18015: undefined, + stepY___18029: undefined, + bounce___18092: undefined, arg0: undefined, arg1: undefined, } } @@ -32635,7 +32635,7 @@ function ArcadePhysicsEngine_move__P2540_mk(s) { -function movingSprites_inline__P17809(s) { +function movingSprites_inline__P17845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32649,23 +32649,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4857_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4858_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; s.tmp_0.arg3 = s.caps[2]; - s.callLocIdx = 555; s.pc = 1; return s.tmp_0; + s.callLocIdx = 557; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -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"]} +movingSprites_inline__P17845.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__P17809_mk(s) { +function movingSprites_inline__P17845_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P17809, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P17845, 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__P17809_mk(s) { -function ArcadePhysicsEngine_move_inline__P17821(s) { +function ArcadePhysicsEngine_move_inline__P17857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32691,7 +32691,7 @@ switch (step) { } s.tmp_1 = Sprite_vx__P2359_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 557; s.pc = 5; return s.tmp_1; + s.callLocIdx = 559; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -32702,7 +32702,7 @@ switch (step) { case 1: s.tmp_2 = Sprite_vy__P2361_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 558; s.pc = 6; return s.tmp_2; + s.callLocIdx = 560; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -32712,7 +32712,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_4 = Sprite_clearObstacles__P2426_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 559; s.pc = 7; return s.tmp_4; + s.callLocIdx = 561; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -32721,12 +32721,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_move_inline__P17857.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__P17821_mk(s) { +function ArcadePhysicsEngine_move_inline__P17857_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P17821, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P17857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32740,7 +32740,7 @@ function ArcadePhysicsEngine_move_inline__P17821_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P4859(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P4860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32750,8 +32750,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___18631 = undefined; - s.offset___18646 = undefined; + s.s___18667 = undefined; + s.offset___18682 = 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___18631 = (r0); - r0 = s.s___18631.fields["_image"]; + s.s___18667 = (r0); + r0 = s.s___18667.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___18631; + s.tmp_4.arg0 = s.s___18667; 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; @@ -32784,7 +32784,7 @@ switch (step) { case 2: s.tmp_3 = scene_Camera_isUpdated__P2798_mk(s); s.tmp_3.arg0 = s.arg3; - s.callLocIdx = 631; s.pc = 22; return s.tmp_3; + s.callLocIdx = 633; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_2 = r0; @@ -32796,15 +32796,15 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_4 = scene_Camera_update__P2799_mk(s); s.tmp_4.arg0 = s.arg3; - s.callLocIdx = 632; s.pc = 23; return s.tmp_4; + s.callLocIdx = 634; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: s.tmp_2 = game_Hitbox_left__P2217_mk(s); - r0 = s.s___18631.fields["_hitbox"]; + r0 = s.s___18667.fields["_hitbox"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 633; s.pc = 24; return s.tmp_2; + s.callLocIdx = 635; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -32813,38 +32813,38 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___18646 = (r0); - r0 = (s.offset___18646 < 0); + s.offset___18682 = (r0); + r0 = (s.offset___18682 < 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___18631; + s.tmp_2 = r0 = s.s___18667; s.tmp_1.arg0 = r0; s.tmp_4 = Sprite_left__P2400_mk(s); s.tmp_4.arg0 = s.tmp_2; - s.callLocIdx = 636; s.pc = 26; return s.tmp_4; + s.callLocIdx = 638; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___18646); + r0 = (s.tmp_3 - s.offset___18682); s.tmp_1.arg1 = r0; - s.callLocIdx = 637; s.pc = 25; return s.tmp_1; + s.callLocIdx = 639; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; 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___18631; + s.tmp_0.arg0 = s.s___18667; s.tmp_2 = Sprite_vx__P2359_mk(s); - s.tmp_2.arg0 = s.s___18631; - s.callLocIdx = 638; s.pc = 28; return s.tmp_2; + s.tmp_2.arg0 = s.s___18667; + s.callLocIdx = 640; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 639; s.pc = 27; return s.tmp_0; + s.callLocIdx = 641; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 5: @@ -32852,9 +32852,9 @@ switch (step) { { step = 12; continue; } case 7: s.tmp_4 = game_Hitbox_right__P2219_mk(s); - r0 = s.s___18631.fields["_hitbox"]; + r0 = s.s___18667.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 640; s.pc = 29; return s.tmp_4; + s.callLocIdx = 642; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; s.tmp_3 = r0; @@ -32868,38 +32868,38 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___18646 = (r0); + s.offset___18682 = (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___18631; + s.tmp_9 = r0 = s.s___18667; s.tmp_8.arg0 = r0; s.tmp_11 = Sprite_right__P2402_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 643; s.pc = 31; return s.tmp_11; + s.callLocIdx = 645; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___18646); + r0 = (s.tmp_10 - s.offset___18682); s.tmp_8.arg1 = r0; - s.callLocIdx = 644; s.pc = 30; return s.tmp_8; + s.callLocIdx = 646; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; 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___18631; + s.tmp_0.arg0 = s.s___18667; s.tmp_2 = Sprite_vx__P2359_mk(s); - s.tmp_2.arg0 = s.s___18631; - s.callLocIdx = 645; s.pc = 33; return s.tmp_2; + s.tmp_2.arg0 = s.s___18667; + s.callLocIdx = 647; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 646; s.pc = 32; return s.tmp_0; + s.callLocIdx = 648; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 8: @@ -32908,9 +32908,9 @@ switch (step) { case 11: case 12: s.tmp_3 = game_Hitbox_top__P2218_mk(s); - r0 = s.s___18631.fields["_hitbox"]; + r0 = s.s___18667.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 647; s.pc = 34; return s.tmp_3; + s.callLocIdx = 649; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; @@ -32920,38 +32920,38 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___18646 = (r0); + s.offset___18682 = (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___18631; + s.tmp_7 = r0 = s.s___18667; s.tmp_6.arg0 = r0; s.tmp_9 = Sprite_top__P2404_mk(s); s.tmp_9.arg0 = s.tmp_7; - s.callLocIdx = 650; s.pc = 36; return s.tmp_9; + s.callLocIdx = 652; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___18646); + r0 = (s.tmp_8 - s.offset___18682); s.tmp_6.arg1 = r0; - s.callLocIdx = 651; s.pc = 35; return s.tmp_6; + s.callLocIdx = 653; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; 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___18631; + s.tmp_0.arg0 = s.s___18667; s.tmp_2 = Sprite_vy__P2361_mk(s); - s.tmp_2.arg0 = s.s___18631; - s.callLocIdx = 652; s.pc = 38; return s.tmp_2; + s.tmp_2.arg0 = s.s___18667; + s.callLocIdx = 654; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 653; s.pc = 37; return s.tmp_0; + s.callLocIdx = 655; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; case 13: @@ -32959,9 +32959,9 @@ switch (step) { { step = 20; continue; } case 15: s.tmp_4 = game_Hitbox_bottom__P2220_mk(s); - r0 = s.s___18631.fields["_hitbox"]; + r0 = s.s___18667.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 654; s.pc = 39; return s.tmp_4; + s.callLocIdx = 656; s.pc = 39; return s.tmp_4; case 39: r0 = s.retval; s.tmp_3 = r0; @@ -32975,38 +32975,38 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___18646 = (r0); + s.offset___18682 = (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___18631; + s.tmp_9 = r0 = s.s___18667; s.tmp_8.arg0 = r0; s.tmp_11 = Sprite_bottom__P2406_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 657; s.pc = 41; return s.tmp_11; + s.callLocIdx = 659; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___18646); + r0 = (s.tmp_10 - s.offset___18682); s.tmp_8.arg1 = r0; - s.callLocIdx = 658; s.pc = 40; return s.tmp_8; + s.callLocIdx = 660; s.pc = 40; return s.tmp_8; case 40: r0 = s.retval; 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___18631; + s.tmp_0.arg0 = s.s___18667; s.tmp_2 = Sprite_vy__P2361_mk(s); - s.tmp_2.arg0 = s.s___18631; - s.callLocIdx = 659; s.pc = 43; return s.tmp_2; + s.tmp_2.arg0 = s.s___18667; + s.callLocIdx = 661; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 660; s.pc = 42; return s.tmp_0; + s.callLocIdx = 662; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; case 16: @@ -33018,12 +33018,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P4859.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} +ArcadePhysicsEngine_screenEdgeCollisions__P4860.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} -function ArcadePhysicsEngine_screenEdgeCollisions__P4859_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P4860_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P4859, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P4860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33037,8 +33037,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4859_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___18631: undefined, - offset___18646: undefined, + s___18667: undefined, + offset___18682: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33079,7 +33079,7 @@ switch (step) { s.tmp_5 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 957; s.pc = 5; return s.tmp_5; + s.callLocIdx = 959; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; s.tmp_4 = r0; @@ -33095,7 +33095,7 @@ switch (step) { s.tmp_8 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; - s.callLocIdx = 958; s.pc = 6; return s.tmp_8; + s.callLocIdx = 960; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -33349,7 +33349,7 @@ function Sprite_right__P2402_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P4858(s) { +function ArcadePhysicsEngine_spriteCollisions__P4859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33359,18 +33359,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___18113 = undefined; - s.unnamed88___U1 = undefined; - s.unnamed89___U2 = undefined; - s.sprite___18115 = undefined; - s.overSprites___18122 = undefined; - s.overlapper___18130 = undefined; - s.unnamed90___U6 = undefined; - s.unnamed91___U7 = undefined; - s.thisKind___18136 = undefined; - s.otherKind___18140 = undefined; - s.higher___18153 = undefined; - s.lower___18162 = undefined; + s.ms___18149 = undefined; + s.unnamed90___U1 = undefined; + s.unnamed91___U2 = undefined; + s.sprite___18151 = undefined; + s.overSprites___18158 = undefined; + s.overlapper___18166 = undefined; + s.unnamed92___U6 = undefined; + s.unnamed93___U7 = undefined; + s.thisKind___18172 = undefined; + s.otherKind___18176 = undefined; + s.higher___18189 = undefined; + s.lower___18198 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33390,20 +33390,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___18113 = (undefined); - s.unnamed88___U1 = (s.arg1); - s.unnamed89___U2 = (0); + s.ms___18149 = (undefined); + s.unnamed90___U1 = (s.arg1); + s.unnamed91___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed89___U2; - r0 = pxsim_Array__length(s.unnamed88___U1); + s.tmp_0 = r0 = s.unnamed91___U2; + r0 = pxsim_Array__length(s.unnamed90___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed88___U1, s.unnamed89___U2); - s.ms___18113 = (r0); - r0 = s.ms___18113.fields["sprite"]; - s.sprite___18115 = (r0); - r0 = s.sprite___18115.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed90___U1, s.unnamed91___U2); + s.ms___18149 = (r0); + r0 = s.ms___18149.fields["sprite"]; + s.sprite___18151 = (r0); + r0 = s.sprite___18151.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -33415,24 +33415,24 @@ switch (step) { s.tmp_2 = sprites_SpriteMap_overlaps__P2450_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___18113.fields["sprite"]; + r0 = s.ms___18149.fields["sprite"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 624; s.pc = 22; return s.tmp_2; + s.callLocIdx = 626; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___18122 = (r0); - s.overlapper___18130 = (undefined); - s.unnamed90___U6 = (s.overSprites___18122); - s.unnamed91___U7 = (0); + s.overSprites___18158 = (r0); + s.overlapper___18166 = (undefined); + s.unnamed92___U6 = (s.overSprites___18158); + s.unnamed93___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed91___U7; - r0 = pxsim_Array__length(s.unnamed90___U6); + s.tmp_0 = r0 = s.unnamed93___U7; + r0 = pxsim_Array__length(s.unnamed92___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed90___U6, s.unnamed91___U7); - s.overlapper___18130 = (r0); - r0 = s.overlapper___18130.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed92___U6, s.unnamed93___U7); + s.overlapper___18166 = (r0); + r0 = s.overlapper___18166.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___18115.fields["_kind"]; - s.thisKind___18136 = (r0); - r0 = s.overlapper___18130.fields["_kind"]; - s.otherKind___18140 = (r0); - r0 = s.sprite___18115.fields["_kindsOverlappedWith"]; + r0 = s.sprite___18151.fields["_kind"]; + s.thisKind___18172 = (r0); + r0 = s.overlapper___18166.fields["_kind"]; + s.otherKind___18176 = (r0); + r0 = s.sprite___18151.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___18140, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___18176, 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___18115.fields["id"]; + r0 = s.sprite___18151.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___18130.fields["id"]; + r0 = s.overlapper___18166.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___18115; + r0 = s.sprite___18151; { step = 12; continue; } case 11: - r0 = s.overlapper___18130; + r0 = s.overlapper___18166; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___18153 = (s.tmp_6); - r0 = (s.higher___18153 === s.sprite___18115); + s.higher___18189 = (s.tmp_6); + r0 = (s.higher___18189 === s.sprite___18151); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___18130; + r0 = s.overlapper___18166; { step = 14; continue; } case 13: - r0 = s.sprite___18115; + r0 = s.sprite___18151; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___18162 = (s.tmp_1); - r0 = s.higher___18153.fields["_overlappers"]; + s.lower___18198 = (s.tmp_1); + r0 = s.higher___18189.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___18162.fields["id"]; + r0 = s.lower___18198.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -33494,54 +33494,54 @@ 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__P18182); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P18218); s.tmp_4 = r0; - 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); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___18172); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___18176); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P18242); s.tmp_5 = r0; - 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); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___18189); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___18198); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___18151); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___18166); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___18172); s.tmp_6 = helpers_arrayForEach__P109_mk(s); s.tmp_7 = helpers_arrayFilter__P110_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; - s.callLocIdx = 627; s.pc = 24; return s.tmp_7; + s.callLocIdx = 629; s.pc = 24; return s.tmp_7; case 24: r0 = s.retval; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 629; s.pc = 23; return s.tmp_6; + s.callLocIdx = 631; s.pc = 23; return s.tmp_6; case 23: r0 = s.retval; case 15: case 16: case 17: - r0 = (s.unnamed91___U7 + 1); - s.unnamed91___U7 = (r0); + r0 = (s.unnamed93___U7 + 1); + s.unnamed93___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed90___U6 = (undefined); + s.unnamed92___U6 = (undefined); case 19: - r0 = (s.unnamed89___U2 + 1); - s.unnamed89___U2 = (r0); + r0 = (s.unnamed91___U2 + 1); + s.unnamed91___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed88___U1 = (undefined); + s.unnamed90___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P4858.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P4859.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P4858_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P4859_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4858, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33551,18 +33551,18 @@ function ArcadePhysicsEngine_spriteCollisions__P4858_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___18113: undefined, - unnamed88___U1: undefined, - unnamed89___U2: undefined, - sprite___18115: undefined, - overSprites___18122: undefined, - overlapper___18130: undefined, - unnamed90___U6: undefined, - unnamed91___U7: undefined, - thisKind___18136: undefined, - otherKind___18140: undefined, - higher___18153: undefined, - lower___18162: undefined, + ms___18149: undefined, + unnamed90___U1: undefined, + unnamed91___U2: undefined, + sprite___18151: undefined, + overSprites___18158: undefined, + overlapper___18166: undefined, + unnamed92___U6: undefined, + unnamed93___U7: undefined, + thisKind___18172: undefined, + otherKind___18176: undefined, + higher___18189: undefined, + lower___18198: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33572,7 +33572,7 @@ function ArcadePhysicsEngine_spriteCollisions__P4858_mk(s) { -function forEach_inline__P18182(s) { +function forEach_inline__P18218(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__P18182.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__P18218.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__P18182_mk(s) { +function forEach_inline__P18218_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P18182, depth: s.depth + 1, + parent: s, fn: forEach_inline__P18218, 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__P18182_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18206(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18242(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__P18216); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P18252); 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__P18206.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__P18242.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__P18206_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18242_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18206, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18242, 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__P18206_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18216(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33756,12 +33756,12 @@ switch (step) { s.tmp_12.arg2 = s.tmp_11; if (!s.tmp_12.arg0.vtable.iface) { setupLambda(s.tmp_12, pxsim_pxtrt.mapGetByString(s.tmp_12.arg0, "handler"), 3); - s.callLocIdx = 628; s.pc = 7; return s.tmp_12; + s.callLocIdx = 630; s.pc = 7; return s.tmp_12; } else { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["handler"]; - if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 628; s.pc = 7; return s.tmp_12; } - else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 628; s.pc = 7; return s.tmp_12;; } - else { s.callLocIdx = 628; s.pc = 7; return s.tmp_12; } + if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 630; s.pc = 7; return s.tmp_12; } + else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 630; s.pc = 7; return s.tmp_12;; } + else { s.callLocIdx = 630; s.pc = 7; return s.tmp_12; } } case 7: r0 = s.retval; @@ -33776,12 +33776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P18252.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__P18216_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P18252_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18216, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18252, 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___18250 = undefined; - s.o___18254 = undefined; + s.n___18286 = undefined; + s.o___18290 = 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___18250 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P18256); + s.n___18286 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P18292); 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___18250; + s.tmp_1.arg0 = s.n___18286; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 503; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___18254 = (r0); - r0 = s.o___18254; + s.o___18290 = (r0); + r0 = s.o___18290; 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___18250: undefined, - o___18254: undefined, + n___18286: undefined, + o___18290: undefined, arg0: undefined, arg1: undefined, } } @@ -33861,7 +33861,7 @@ function sprites_SpriteMap_overlaps__P2450_mk(s) { -function o_inline__P18256(s) { +function o_inline__P18292(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__P18256.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__P18292.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__P18256_mk(s) { +function o_inline__P18292_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P18256, depth: s.depth + 1, + parent: s, fn: o_inline__P18292, 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___18521 = undefined; - s.layer___18523 = undefined; + s.n___18557 = undefined; + s.layer___18559 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33919,10 +33919,10 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___18521 = (r0); + s.n___18557 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___18523 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4822_mk(s); + s.layer___18559 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4823_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = Sprite_left__P2400_mk(s); s.tmp_1.arg0 = s.arg1; @@ -33936,12 +33936,12 @@ switch (step) { case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18523; - s.tmp_0.arg4 = s.n___18521; + s.tmp_0.arg3 = s.layer___18559; + s.tmp_0.arg4 = s.n___18557; s.callLocIdx = 491; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4822_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4823_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = Sprite_left__P2400_mk(s); s.tmp_1.arg0 = s.arg1; @@ -33955,12 +33955,12 @@ switch (step) { case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18523; - s.tmp_0.arg4 = s.n___18521; + s.tmp_0.arg3 = s.layer___18559; + s.tmp_0.arg4 = s.n___18557; s.callLocIdx = 494; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4822_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4823_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = Sprite_right__P2402_mk(s); s.tmp_1.arg0 = s.arg1; @@ -33974,12 +33974,12 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18523; - s.tmp_0.arg4 = s.n___18521; + s.tmp_0.arg3 = s.layer___18559; + s.tmp_0.arg4 = s.n___18557; s.callLocIdx = 497; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4822_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4823_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = Sprite_right__P2402_mk(s); s.tmp_1.arg0 = s.arg1; @@ -33993,13 +33993,13 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18523; - s.tmp_0.arg4 = s.n___18521; + s.tmp_0.arg3 = s.layer___18559; + s.tmp_0.arg4 = s.n___18557; s.callLocIdx = 500; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___18521, s.arg1); - r0 = s.n___18521; + r0 = pxsim_Array_.removeElement(s.n___18557, s.arg1); + r0 = s.n___18557; 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___18521: undefined, - layer___18523: undefined, + n___18557: undefined, + layer___18559: undefined, arg0: undefined, arg1: undefined, } } @@ -34023,7 +34023,7 @@ function sprites_SpriteMap_neighbors__P2449_mk(s) { -function sprites_SpriteMap_mergeAtKey__P4822(s) { +function sprites_SpriteMap_mergeAtKey__P4823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34033,11 +34033,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18564 = undefined; - s.bucket___18569 = undefined; - s.sprite___18576 = undefined; - s.unnamed84___U3 = undefined; - s.unnamed85___U4 = undefined; + s.k___18600 = undefined; + s.bucket___18605 = undefined; + s.sprite___18612 = undefined; + s.unnamed86___U3 = undefined; + s.unnamed87___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34048,32 +34048,32 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4820_mk(s); + s.tmp_0 = sprites_SpriteMap_key__P4821_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 527; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___18564 = (r0); + s.k___18600 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18564); - s.bucket___18569 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18569); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___18600); + s.bucket___18605 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___18605); if (!r0) { step = 7; continue; } - s.sprite___18576 = (undefined); - s.unnamed84___U3 = (s.bucket___18569); - s.unnamed85___U4 = (0); + s.sprite___18612 = (undefined); + s.unnamed86___U3 = (s.bucket___18605); + s.unnamed87___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed85___U4; - r0 = pxsim_Array__length(s.unnamed84___U3); + s.tmp_0 = r0 = s.unnamed87___U4; + r0 = pxsim_Array__length(s.unnamed86___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed84___U3, s.unnamed85___U4); - s.sprite___18576 = (r0); - r0 = s.sprite___18576.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed86___U3, s.unnamed87___U4); + s.sprite___18612 = (r0); + r0 = s.sprite___18612.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___18576, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___18612, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -34090,26 +34090,26 @@ 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___18576); + r0 = pxsim_Array__push(s.arg4, s.sprite___18612); case 4: case 5: - r0 = (s.unnamed85___U4 + 1); - s.unnamed85___U4 = (r0); + r0 = (s.unnamed87___U4 + 1); + s.unnamed87___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed84___U3 = (undefined); + s.unnamed86___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P4822.info = {"start":3715,"length":384,"line":101,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"mergeAtKey","argumentNames":["this","x","y","layer","n"]} +sprites_SpriteMap_mergeAtKey__P4823.info = {"start":3715,"length":384,"line":101,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"mergeAtKey","argumentNames":["this","x","y","layer","n"]} -function sprites_SpriteMap_mergeAtKey__P4822_mk(s) { +function sprites_SpriteMap_mergeAtKey__P4823_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P4822, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P4823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34117,11 +34117,11 @@ function sprites_SpriteMap_mergeAtKey__P4822_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___18564: undefined, - bucket___18569: undefined, - sprite___18576: undefined, - unnamed84___U3: undefined, - unnamed85___U4: undefined, + k___18600: undefined, + bucket___18605: undefined, + sprite___18612: undefined, + unnamed86___U3: undefined, + unnamed87___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34133,7 +34133,7 @@ function sprites_SpriteMap_mergeAtKey__P4822_mk(s) { -function sprites_SpriteMap_key__P4820(s) { +function sprites_SpriteMap_key__P4821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34143,8 +34143,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___18597 = undefined; - s.yi___18609 = undefined; + s.xi___18633 = undefined; + s.yi___18645 = 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___18597 = (r0); + s.xi___18633 = (r0); s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; @@ -34176,28 +34176,28 @@ switch (step) { s.callLocIdx = 516; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___18609 = (r0); - s.tmp_0 = r0 = s.xi___18597; + s.yi___18645 = (r0); + s.tmp_0 = r0 = s.xi___18633; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___18609 * s.tmp_2); + r0 = (s.yi___18645 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P4820.info = {"start":2592,"length":270,"line":76,"column":8,"endLine":80,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"key","argumentNames":["this","x","y"]} +sprites_SpriteMap_key__P4821.info = {"start":2592,"length":270,"line":76,"column":8,"endLine":80,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"key","argumentNames":["this","x","y"]} -function sprites_SpriteMap_key__P4820_mk(s) { +function sprites_SpriteMap_key__P4821_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P4820, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P4821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___18597: undefined, - yi___18609: undefined, + xi___18633: undefined, + yi___18645: 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___18334 = undefined; - s.B___18335 = undefined; + s.A___18370 = undefined; + s.B___18371 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34301,7 +34301,7 @@ switch (step) { { step = 27; continue; } case 11: case 12: - s.tmp_17 = Sprite_isScaled__P4813_mk(s); + s.tmp_17 = Sprite_isScaled__P4814_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 393; s.pc = 30; return s.tmp_17; case 30: @@ -34316,7 +34316,7 @@ switch (step) { r0 = s.tmp_14; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_isScaled__P4813_mk(s); + s.tmp_20 = Sprite_isScaled__P4814_mk(s); s.tmp_20.arg0 = s.arg1; s.callLocIdx = 394; s.pc = 31; return s.tmp_20; case 31: @@ -34457,24 +34457,24 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___18334 = (s.arg0); - s.B___18335 = (s.arg1); + s.A___18370 = (s.arg0); + s.B___18371 = (s.arg1); { step = 25; continue; } case 24: - s.A___18334 = (s.arg1); - s.B___18335 = (s.arg0); + s.A___18370 = (s.arg1); + s.B___18371 = (s.arg0); case 25: s.tmp_0 = helpers_imageBlit__P1954_mk(s); - r0 = s.A___18334.fields["_image"]; + r0 = s.A___18370.fields["_image"]; s.tmp_0.arg0 = r0; s.tmp_3 = Sprite_left__P2400_mk(s); - s.tmp_3.arg0 = s.B___18335; + s.tmp_3.arg0 = s.B___18371; 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___18334; + s.tmp_5.arg0 = s.A___18370; 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___18334; + s.tmp_7.arg0 = s.A___18370; 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___18335; + s.tmp_10.arg0 = s.B___18371; 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___18334; + s.tmp_12.arg0 = s.A___18370; 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___18334; + s.tmp_14.arg0 = s.A___18370; 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___18335; + s.tmp_16.arg0 = s.B___18371; 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___18334; + s.tmp_18.arg0 = s.A___18370; 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___18335; + s.tmp_20.arg0 = s.B___18371; 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___18334; + s.tmp_22.arg0 = s.A___18370; 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___18335.fields["_image"]; + r0 = s.B___18371.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___18335.fields["_image"]; + r0 = s.B___18371.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___18335.fields["_image"]; + r0 = s.B___18371.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___18334: undefined, - B___18335: undefined, + A___18370: undefined, + B___18371: undefined, arg0: undefined, arg1: undefined, } } @@ -34637,7 +34637,7 @@ function Sprite_overlapsWith__P2421_mk(s) { -function Sprite_isScaled__P4813(s) { +function Sprite_isScaled__P4814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34672,12 +34672,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P4813.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} +Sprite_isScaled__P4814.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} -function Sprite_isScaled__P4813_mk(s) { +function Sprite_isScaled__P4814_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P4813, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P4814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35097,7 +35097,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -35107,36 +35107,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___4642 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + globals._blitArgs___4643 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 0, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg2 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 1, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg3 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 2, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg4 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 3, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg6 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 4, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg7 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 5, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg8 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 6, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4642; + s.tmp_0 = r0 = globals._blitArgs___4643; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -35149,7 +35149,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4642, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___4643, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -35159,8 +35159,8 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4642, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___4642); + r0 = pxsim_Array_.setAt(globals._blitArgs___4643, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___4643); return leave(s, r0) default: oops() } } } @@ -35191,7 +35191,7 @@ function helpers_imageBlit__P1954_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P4857(s) { +function ArcadePhysicsEngine_createMovingSprite__P4858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35201,16 +35201,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.ovx___18988 = undefined; + s.ovy___18993 = undefined; + s.fx___19020 = undefined; + s.c___19027 = undefined; + s.fy___19070 = undefined; + s.c___19077 = undefined; + s.dx___19116 = undefined; + s.dy___19129 = undefined; + s.xStep___19142 = undefined; + s.yStep___19144 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35220,22 +35220,22 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4863_mk(s); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4864_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 587; s.pc = 25; return s.tmp_0; + s.callLocIdx = 589; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___18952 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4863_mk(s); + s.ovx___18988 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4864_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 588; s.pc = 26; return s.tmp_0; + s.callLocIdx = 590; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___18957 = (r0); + s.ovy___18993 = (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___18984 = (r0); + s.fx___19020 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___18984); - s.c___18991 = (r0); - r0 = (s.c___18991 < 0); + r0 = (s.tmp_0 - s.fx___19020); + s.c___19027 = (r0); + r0 = (s.c___19027 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -35283,16 +35283,16 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___18984); + r0 = (s.tmp_4 + s.fx___19020); s.tmp_3.arg1 = r0; - s.callLocIdx = 596; s.pc = 27; return s.tmp_3; + s.callLocIdx = 598; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___18991 > 0); + r0 = (s.c___19027 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -35301,9 +35301,9 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___18984); + r0 = (s.tmp_4 - s.fx___19020); s.tmp_3.arg1 = r0; - s.callLocIdx = 598; s.pc = 28; return s.tmp_3; + s.callLocIdx = 600; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -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___19034 = (r0); + s.fy___19070 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___19034); - s.c___19041 = (r0); - r0 = (s.c___19041 < 0); + r0 = (s.tmp_0 - s.fy___19070); + s.c___19077 = (r0); + r0 = (s.c___19077 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -35357,16 +35357,16 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___19034); + r0 = (s.tmp_4 + s.fy___19070); s.tmp_3.arg1 = r0; - s.callLocIdx = 606; s.pc = 29; return s.tmp_3; + s.callLocIdx = 608; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___19041 > 0); + r0 = (s.c___19077 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } @@ -35375,9 +35375,9 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___19034); + r0 = (s.tmp_4 - s.fy___19070); s.tmp_3.arg1 = r0; - s.callLocIdx = 608; s.pc = 30; return s.tmp_3; + s.callLocIdx = 610; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -35391,28 +35391,28 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4863_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4864_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 609; s.pc = 31; return s.tmp_2; + s.callLocIdx = 611; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4863_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4864_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 610; s.pc = 32; return s.tmp_2; + s.callLocIdx = 612; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___18952); + r0 = (s.tmp_4 + s.ovx___18988); 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___19080 = (r0); + s.dx___19116 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___18957); + r0 = (s.tmp_4 + s.ovy___18993); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35437,13 +35437,13 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___19093 = (r0); - s.xStep___19106 = (s.dx___19080); - s.yStep___19108 = (s.dy___19093); + s.dy___19129 = (r0); + s.xStep___19142 = (s.dx___19116); + s.yStep___19144 = (s.dy___19129); case 17: s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.xStep___19106; - s.callLocIdx = 617; s.pc = 33; return s.tmp_2; + s.tmp_2.arg0 = s.xStep___19142; + s.callLocIdx = 619; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; @@ -35457,8 +35457,8 @@ switch (step) { { step = 19; continue; } case 18: s.tmp_5 = Fx_abs__P165_mk(s); - s.tmp_5.arg0 = s.yStep___19108; - s.callLocIdx = 618; s.pc = 34; return s.tmp_5; + s.tmp_5.arg0 = s.yStep___19144; + s.callLocIdx = 620; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; s.tmp_4 = r0; @@ -35471,8 +35471,8 @@ 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___19106; - s.callLocIdx = 619; s.pc = 35; return s.tmp_10; + s.tmp_10.arg0 = s.xStep___19142; + s.callLocIdx = 621; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; s.tmp_9 = r0; @@ -35482,13 +35482,13 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___19106, 2); - s.xStep___19106 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___19142, 2); + s.xStep___19142 = (r0); case 20: case 21: s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.yStep___19108; - s.callLocIdx = 621; s.pc = 36; return s.tmp_2; + s.tmp_2.arg0 = s.yStep___19144; + s.callLocIdx = 623; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -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___19108, 2); - s.yStep___19108 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___19144, 2); + s.yStep___19144 = (r0); case 22: case 23: { step = 17; continue; } @@ -35513,23 +35513,23 @@ switch (step) { s.tmp_1.arg2 = r0; r0 = s.arg1.fields["_vy"]; s.tmp_1.arg3 = r0; - 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; + s.tmp_1.arg4 = s.dx___19116; + s.tmp_1.arg5 = s.dy___19129; + s.tmp_1.arg6 = s.xStep___19142; + s.tmp_1.arg7 = s.yStep___19144; + s.callLocIdx = 625; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P4857.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P4858.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P4857_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P4858_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4857, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35543,16 +35543,16 @@ function ArcadePhysicsEngine_createMovingSprite__P4857_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: 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, + ovx___18988: undefined, + ovy___18993: undefined, + fx___19020: undefined, + c___19027: undefined, + fy___19070: undefined, + c___19077: undefined, + dx___19116: undefined, + dy___19129: undefined, + xStep___19142: undefined, + yStep___19144: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35563,7 +35563,7 @@ function ArcadePhysicsEngine_createMovingSprite__P4857_mk(s) { -function ArcadePhysicsEngine_constrain__P4863(s) { +function ArcadePhysicsEngine_constrain__P4864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35585,24 +35585,24 @@ switch (step) { r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 799; s.pc = 2; return s.tmp_1; + s.callLocIdx = 801; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxNegativeVelocity"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 800; s.pc = 1; return s.tmp_0; + s.callLocIdx = 802; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P4863.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P4864.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P4863_mk(s) { +function ArcadePhysicsEngine_constrain__P4864_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P4863, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P4864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35658,12 +35658,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___18772 = undefined; - s.top___18775 = undefined; - s.xn___18778 = undefined; - s.yn___18789 = undefined; - s.x___18800 = undefined; - s.y___18805 = undefined; + s.left___18808 = undefined; + s.top___18811 = undefined; + s.xn___18814 = undefined; + s.yn___18825 = undefined; + s.x___18836 = undefined; + s.y___18841 = 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___18772 = (r0); + s.left___18808 = (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___18775 = (r0); + s.top___18811 = (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___18778 = (r0); + s.xn___18814 = (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___18789 = (r0); - s.x___18800 = (0); + s.yn___18825 = (r0); + s.x___18836 = (0); case 1: - r0 = (s.x___18800 <= s.xn___18778); + r0 = (s.x___18836 <= s.xn___18814); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___18805 = (0); + s.y___18841 = (0); case 2: - r0 = (s.y___18805 <= s.yn___18789); + r0 = (s.y___18841 <= s.yn___18825); 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 = sprites_SpriteMap_insertAtKey__P4822_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___18772; + s.tmp_2 = r0 = s.left___18808; 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___18800 * s.tmp_6); + r0 = (s.x___18836 * 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___18775; + s.tmp_7 = r0 = s.top___18811; 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___18805 * s.tmp_11); + r0 = (s.y___18841 * 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___18805 + 1); - s.y___18805 = (r0); + r0 = (s.y___18841 + 1); + s.y___18841 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___18800 + 1); - s.x___18800 = (r0); + r0 = (s.x___18836 + 1); + s.x___18836 = (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___18772: undefined, - top___18775: undefined, - xn___18778: undefined, - yn___18789: undefined, - x___18800: undefined, - y___18805: undefined, + left___18808: undefined, + top___18811: undefined, + xn___18814: undefined, + yn___18825: undefined, + x___18836: undefined, + y___18841: undefined, arg0: undefined, arg1: undefined, } } @@ -35814,7 +35814,7 @@ function sprites_SpriteMap_insertAABB__P2454_mk(s) { -function sprites_SpriteMap_insertAtKey__P4821(s) { +function sprites_SpriteMap_insertAtKey__P4822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35824,8 +35824,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18840 = undefined; - s.bucket___18845 = undefined; + s.k___18876 = undefined; + s.bucket___18881 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35835,19 +35835,19 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4820_mk(s); + s.tmp_0 = sprites_SpriteMap_key__P4821_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 517; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___18840 = (r0); + s.k___18876 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18840); - s.bucket___18845 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18845); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___18876); + s.bucket___18881 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___18881); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35855,40 +35855,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___18840; + s.tmp_3 = r0 = s.k___18876; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___18845 = (s.tmp_4); + s.bucket___18881 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___18845, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___18881, 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___18845, s.arg3); + r0 = pxsim_Array__push(s.bucket___18881, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P4821.info = {"start":2872,"length":302,"line":82,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"insertAtKey","argumentNames":["this","x","y","sprite"]} +sprites_SpriteMap_insertAtKey__P4822.info = {"start":2872,"length":302,"line":82,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"insertAtKey","argumentNames":["this","x","y","sprite"]} -function sprites_SpriteMap_insertAtKey__P4821_mk(s) { +function sprites_SpriteMap_insertAtKey__P4822_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P4821, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P4822, 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, tmp_4: undefined, - k___18840: undefined, - bucket___18845: undefined, + k___18876: undefined, + bucket___18881: 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___18875 = undefined; - s.maxHeight___18876 = undefined; - s.sprite___18878 = undefined; - s.unnamed82___U3 = undefined; - s.unnamed83___U4 = undefined; - s.tMap___18894 = undefined; - s.areaWidth___18898 = undefined; - s.areaHeight___18905 = undefined; + s.maxWidth___18911 = undefined; + s.maxHeight___18912 = undefined; + s.sprite___18914 = undefined; + s.unnamed84___U3 = undefined; + s.unnamed85___U4 = undefined; + s.tMap___18930 = undefined; + s.areaWidth___18934 = undefined; + s.areaHeight___18941 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35964,70 +35964,70 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); - s.maxWidth___18875 = (0); - s.maxHeight___18876 = (0); - s.sprite___18878 = (undefined); - s.unnamed82___U3 = (s.arg1); - s.unnamed83___U4 = (0); + s.maxWidth___18911 = (0); + s.maxHeight___18912 = (0); + s.sprite___18914 = (undefined); + s.unnamed84___U3 = (s.arg1); + s.unnamed85___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed83___U4; - r0 = pxsim_Array__length(s.unnamed82___U3); + s.tmp_0 = r0 = s.unnamed85___U4; + r0 = pxsim_Array__length(s.unnamed84___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed82___U3, s.unnamed83___U4); - s.sprite___18878 = (r0); + r0 = pxsim_Array__getAt(s.unnamed84___U3, s.unnamed85___U4); + s.sprite___18914 = (r0); s.tmp_4 = Sprite_width__P2398_mk(s); - s.tmp_4.arg0 = s.sprite___18878; + s.tmp_4.arg0 = s.sprite___18914; 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___18875); + r0 = (s.tmp_3 > s.maxWidth___18911); 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___18878; + s.tmp_5.arg0 = s.sprite___18914; s.callLocIdx = 507; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___18875 = (r0); + s.maxWidth___18911 = (r0); case 2: case 3: s.tmp_2 = Sprite_height__P2399_mk(s); - s.tmp_2.arg0 = s.sprite___18878; + s.tmp_2.arg0 = s.sprite___18914; 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___18876); + r0 = (s.tmp_1 > s.maxHeight___18912); 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___18878; + s.tmp_3.arg0 = s.sprite___18914; s.callLocIdx = 509; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___18876 = (r0); + s.maxHeight___18912 = (r0); case 4: case 5: - r0 = (s.unnamed83___U4 + 1); - s.unnamed83___U4 = (r0); + r0 = (s.unnamed85___U4 + 1); + s.unnamed85___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed82___U3 = (undefined); + s.unnamed84___U3 = (undefined); s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 510; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___18894 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___18894); + s.tMap___18930 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___18930); if (!r0) { step = 7; continue; } s.tmp_0 = tiles_TileMap_areaWidth__P2744_mk(s); - s.tmp_0.arg0 = s.tMap___18894; + s.tmp_0.arg0 = s.tMap___18930; 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___18898 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___18894); + s.areaWidth___18934 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___18930); if (!r0) { step = 9; continue; } s.tmp_0 = tiles_TileMap_areaHeight__P2745_mk(s); - s.tmp_0.arg0 = s.tMap___18894; + s.tmp_0.arg0 = s.tMap___18930; 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___18905 = (s.tmp_1); + s.areaHeight___18941 = (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___18898 >> 2); + r0 = (s.areaWidth___18934 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___18875 * 2); + r0 = (s.maxWidth___18911 * 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___18905 >> 2); + r0 = (s.areaHeight___18941 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___18876 * 2); + r0 = (s.maxHeight___18912 * 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___18905, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___18941, 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___18898, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___18934, 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___18875: undefined, - maxHeight___18876: undefined, - sprite___18878: undefined, - unnamed82___U3: undefined, - unnamed83___U4: undefined, - tMap___18894: undefined, - areaWidth___18898: undefined, - areaHeight___18905: undefined, + maxWidth___18911: undefined, + maxHeight___18912: undefined, + sprite___18914: undefined, + unnamed84___U3: undefined, + unnamed85___U4: undefined, + tMap___18930: undefined, + areaWidth___18934: undefined, + areaHeight___18941: 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___19170 = undefined; - s.len___19172 = undefined; - s.i___19175 = undefined; + s.res___19206 = undefined; + s.len___19208 = undefined; + s.i___19211 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___19170 = (r0); + s.res___19206 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___19172 = (r0); - s.i___19175 = (0); + s.len___19208 = (r0); + s.i___19211 = (0); case 1: - r0 = (s.i___19175 < s.len___19172); + r0 = (s.i___19211 < s.len___19208); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___19170; + s.tmp_1 = r0 = s.res___19206; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___19175); + r0 = pxsim_Array__getAt(s.arg0, s.i___19211); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___19175; + s.tmp_3.arg1 = s.i___19211; 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___19175 + 1); - s.i___19175 = (r0); + r0 = (s.i___19211 + 1); + s.i___19211 = (r0); { step = 1; continue; } case 2: - r0 = s.res___19170; + r0 = s.res___19206; 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___19170: undefined, - len___19172: undefined, - i___19175: undefined, + res___19206: undefined, + len___19208: undefined, + i___19211: undefined, arg0: undefined, arg1: undefined, } } @@ -36284,7 +36284,7 @@ switch (step) { s.tmp_0 = sprites_SpriteMap_draw__P2451_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 552; s.pc = 1; return s.tmp_0; + s.callLocIdx = 554; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -36316,61 +36316,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___19196 = undefined; - s.y___19202 = undefined; - s.left___19208 = undefined; - s.top___19213 = undefined; - s.k___19218 = undefined; - s.b___19223 = undefined; + s.x___19232 = undefined; + s.y___19238 = undefined; + s.left___19244 = undefined; + s.top___19249 = undefined; + s.k___19254 = undefined; + s.b___19259 = 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___19196 = (0); + s.x___19232 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___19196 < s.tmp_1); + r0 = (s.x___19232 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19202 = (0); + s.y___19238 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___19202 < s.tmp_1); + r0 = (s.y___19238 < 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___19196 * s.tmp_2); - s.left___19208 = (r0); + r0 = (s.x___19232 * s.tmp_2); + s.left___19244 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___19202 * s.tmp_0); - s.top___19213 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P4820_mk(s); + r0 = (s.y___19238 * s.tmp_0); + s.top___19249 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P4821_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___19208; - s.tmp_0.arg2 = s.top___19213; + s.tmp_0.arg1 = s.left___19244; + s.tmp_0.arg2 = s.top___19249; s.callLocIdx = 504; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___19218 = (r0); + s.k___19254 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___19218); - s.b___19223 = (r0); - s.tmp_0 = r0 = s.b___19223; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___19254); + s.b___19259 = (r0); + s.tmp_0 = r0 = s.b___19259; 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___19223); + r0 = pxsim_Array__length(s.b___19259); 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___19208; - s.tmp_2.arg2 = s.top___19213; + s.tmp_2.arg1 = s.left___19244; + s.tmp_2.arg2 = s.top___19249; 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___19202 + 1); - s.y___19202 = (r0); + r0 = (s.y___19238 + 1); + s.y___19238 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___19196 + 1); - s.x___19196 = (r0); + r0 = (s.x___19232 + 1); + s.x___19232 = (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___19196: undefined, - y___19202: undefined, - left___19208: undefined, - top___19213: undefined, - k___19218: undefined, - b___19223: undefined, + x___19232: undefined, + y___19238: undefined, + left___19244: undefined, + top___19249: undefined, + k___19254: undefined, + b___19259: undefined, arg0: undefined, } } @@ -36475,7 +36475,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___19260 = undefined; + s.tm___19296 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36487,21 +36487,21 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); s.tmp_0 = game_currentScene__P3017_mk(s); - s.callLocIdx = 550; s.pc = 5; return s.tmp_0; + s.callLocIdx = 552; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___19260 = (r0); - s.tmp_0 = r0 = s.tm___19260; + s.tm___19296 = (r0); + s.tmp_0 = r0 = s.tm___19296; 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___19260; + s.tmp_1.arg0 = s.tm___19296; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 551; s.pc = 6; return s.tmp_1; + s.callLocIdx = 553; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 2: @@ -36534,7 +36534,7 @@ function ArcadePhysicsEngine_addSprite__P2537_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___19260: undefined, + tm___19296: undefined, arg0: undefined, arg1: undefined, } } @@ -36569,7 +36569,7 @@ switch (step) { s.tmp_0 = tiles_TileMapData_scale__P2723_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 828; s.pc = 1; return s.tmp_0; + s.callLocIdx = 830; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -36668,10 +36668,10 @@ switch (step) { s.tmp_0 = tiles_TileMap_scale__P2740_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 836; s.pc = 1; return s.tmp_0; + s.callLocIdx = 838; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P19531); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P19567); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = r0 = s.arg0; @@ -36679,7 +36679,7 @@ switch (step) { s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; - s.callLocIdx = 838; s.pc = 2; return s.tmp_3; + s.callLocIdx = 840; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -36707,7 +36707,7 @@ function tiles_TileMap_constructor__P2738_mk(s) { -function tiles_TileMap_inline__P19531(s) { +function tiles_TileMap_inline__P19567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36722,23 +36722,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P4933_mk(s); + s.tmp_0 = tiles_TileMap_draw__P4934_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 837; s.pc = 1; return s.tmp_0; + s.callLocIdx = 839; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_inline__P19567.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__P19531_mk(s) { +function tiles_TileMap_inline__P19567_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P19531, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P19567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36749,7 +36749,7 @@ function tiles_TileMap_inline__P19531_mk(s) { -function tiles_TileMap_draw__P4933(s) { +function tiles_TileMap_draw__P4934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36759,21 +36759,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.bitmask___19578 = undefined; + s.offsetX___19584 = undefined; + s.offsetY___19589 = undefined; + s.x0___19594 = undefined; + s.xn___19601 = undefined; + s.y0___19618 = undefined; + s.yn___19625 = undefined; + s.x___19642 = undefined; + s.y___19648 = undefined; + s.index___19654 = undefined; + s.tile___19661 = undefined; + s.x___19697 = undefined; + s.xLine___19703 = undefined; + s.y___19729 = undefined; + s.yLine___19735 = 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___19542 = (r0); + s.bitmask___19578 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19542); - s.offsetX___19548 = (r0); + r0 = (s.tmp_0 & s.bitmask___19578); + s.offsetX___19584 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19542); - s.offsetY___19553 = (r0); + r0 = (s.tmp_0 & s.bitmask___19578); + s.offsetY___19589 = (r0); s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; @@ -36823,10 +36823,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 876; s.pc = 24; return s.tmp_0; + s.callLocIdx = 878; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___19558 = (r0); + s.x0___19594 = (r0); s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; @@ -36844,10 +36844,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 879; s.pc = 25; return s.tmp_0; + s.callLocIdx = 881; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___19565 = (r0); + s.xn___19601 = (r0); s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; @@ -36856,10 +36856,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 881; s.pc = 26; return s.tmp_0; + s.callLocIdx = 883; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___19582 = (r0); + s.y0___19618 = (r0); s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; @@ -36877,94 +36877,94 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 884; s.pc = 27; return s.tmp_0; + s.callLocIdx = 886; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___19589 = (r0); - s.x___19606 = (s.x0___19558); + s.yn___19625 = (r0); + s.x___19642 = (s.x0___19594); case 3: - r0 = (s.x___19606 <= s.xn___19565); + r0 = (s.x___19642 <= s.xn___19601); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19612 = (s.y0___19582); + s.y___19648 = (s.y0___19618); case 4: - r0 = (s.y___19612 <= s.yn___19589); + r0 = (s.y___19648 <= s.yn___19625); 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___19606; - s.tmp_1.arg2 = s.y___19612; - s.callLocIdx = 885; s.pc = 28; return s.tmp_1; + s.tmp_1.arg1 = s.x___19642; + s.tmp_1.arg2 = s.y___19648; + s.callLocIdx = 887; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___19618 = (r0); + s.index___19654 = (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___19618; - s.callLocIdx = 886; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = s.index___19654; + s.callLocIdx = 888; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___19625 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___19625); + s.tile___19661 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___19661); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___19625; - r0 = (s.x___19606 - s.x0___19558); + s.tmp_1 = r0 = s.tile___19661; + r0 = (s.x___19642 - s.x0___19594); 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___19548); + r0 = (s.tmp_3 - s.offsetX___19584); s.tmp_2 = r0; - r0 = (s.y___19612 - s.y0___19582); + r0 = (s.y___19648 - s.y0___19618); 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___19553); + r0 = (s.tmp_7 - s.offsetY___19589); 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___19612 + 1); - s.y___19612 = (r0); + r0 = (s.y___19648 + 1); + s.y___19648 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___19606 + 1); - s.x___19606 = (r0); + r0 = (s.x___19642 + 1); + s.x___19642 = (r0); { step = 3; continue; } case 8: r0 = pxsim_numops_toBoolDecr(globals.debug___2968); if (!r0) { step = 21; continue; } - s.x___19661 = (s.x0___19558); + s.x___19697 = (s.x0___19594); case 9: - r0 = (s.x___19661 <= s.xn___19565); + r0 = (s.x___19697 <= s.xn___19601); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___19661 - s.x0___19558); + r0 = (s.x___19697 - s.x0___19594); 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___19548); - s.xLine___19667 = (r0); - r0 = (s.xLine___19667 >= 0); + r0 = (s.tmp_1 - s.offsetX___19584); + s.xLine___19703 = (r0); + r0 = (s.xLine___19703 >= 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___19667; + s.tmp_1 = r0 = s.xLine___19703; r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -36975,43 +36975,43 @@ 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___19667; + s.tmp_4.arg1 = s.xLine___19703; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___19667; + s.tmp_4.arg3 = s.xLine___19703; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 890; s.pc = 30; return s.tmp_4; + s.callLocIdx = 892; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 12: case 13: - r0 = (s.x___19661 + 1); - s.x___19661 = (r0); + r0 = (s.x___19697 + 1); + s.x___19697 = (r0); { step = 9; continue; } case 14: - s.y___19693 = (s.y0___19582); + s.y___19729 = (s.y0___19618); case 15: - r0 = (s.y___19693 <= s.yn___19589); + r0 = (s.y___19729 <= s.yn___19625); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___19693 - s.y0___19582); + r0 = (s.y___19729 - s.y0___19618); 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___19553); - s.yLine___19699 = (r0); - r0 = (s.yLine___19699 >= 0); + r0 = (s.tmp_1 - s.offsetY___19589); + s.yLine___19735 = (r0); + r0 = (s.yLine___19735 >= 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___19699; + s.tmp_1 = r0 = s.yLine___19735; 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___19699; + s.tmp_4.arg2 = s.yLine___19735; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___19699; + s.tmp_4.arg4 = s.yLine___19735; s.tmp_4.arg5 = 1; - s.callLocIdx = 892; s.pc = 31; return s.tmp_4; + s.callLocIdx = 894; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___19693 + 1); - s.y___19693 = (r0); + r0 = (s.y___19729 + 1); + s.y___19729 = (r0); { step = 15; continue; } case 20: case 21: @@ -37044,12 +37044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P4933.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P4934.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P4933_mk(s) { +function tiles_TileMap_draw__P4934_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P4933, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P4934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37061,21 +37061,21 @@ function tiles_TileMap_draw__P4933_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: 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, + bitmask___19578: undefined, + offsetX___19584: undefined, + offsetY___19589: undefined, + x0___19594: undefined, + xn___19601: undefined, + y0___19618: undefined, + yn___19625: undefined, + x___19642: undefined, + y___19648: undefined, + index___19654: undefined, + tile___19661: undefined, + x___19697: undefined, + xLine___19703: undefined, + y___19729: undefined, + yLine___19735: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37111,7 +37111,7 @@ switch (step) { r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 839; s.pc = 3; return s.tmp_1; + s.callLocIdx = 841; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -37451,8 +37451,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___19456 = undefined; - s.oy___19464 = undefined; + s.ox___19492 = undefined; + s.oy___19500 = 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___19456 = (s.tmp_2); + s.ox___19492 = (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___19464 = (s.tmp_2); + s.oy___19500 = (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___19456); + r0 = (s.tmp_2 - s.ox___19492); 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___19464); + r0 = (s.tmp_5 - s.oy___19500); 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___19456); + r0 = (s.tmp_9 - s.ox___19492); 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___19464); + r0 = (s.tmp_14 - s.oy___19500); 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___19456: undefined, - oy___19464: undefined, + ox___19492: undefined, + oy___19500: undefined, arg0: undefined, arg1: undefined, } } @@ -37913,7 +37913,7 @@ switch (step) { s.tmp_2 = Math_max__P130_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 808; s.pc = 7; return s.tmp_2; + s.callLocIdx = 810; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -38099,7 +38099,7 @@ function scene_Scene_data__P2869_mk(s) { -function controller_AnyButton_isPressed__P4794(s) { +function controller_AnyButton_isPressed__P4795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38109,35 +38109,35 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___19737 = undefined; - s.b___19741 = undefined; - s.unnamed74___U2 = undefined; - s.unnamed75___U3 = undefined; + s.ctrl___19773 = undefined; + s.b___19777 = undefined; + s.unnamed76___U2 = undefined; + s.unnamed77___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C4786_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_AnyButton__C4787_VT)) failedCast(r0); s.tmp_0 = controller__player1__P2129_mk(s); s.callLocIdx = 197; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___19737 = (r0); - s.b___19741 = (undefined); - r0 = s.ctrl___19737.fields["buttons"]; - s.unnamed74___U2 = (r0); - s.unnamed75___U3 = (0); + s.ctrl___19773 = (r0); + s.b___19777 = (undefined); + r0 = s.ctrl___19773.fields["buttons"]; + s.unnamed76___U2 = (r0); + s.unnamed77___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed75___U3; - r0 = pxsim_Array__length(s.unnamed74___U2); + s.tmp_0 = r0 = s.unnamed77___U3; + r0 = pxsim_Array__length(s.unnamed76___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); - s.b___19741 = (r0); + r0 = pxsim_Array__getAt(s.unnamed76___U2, s.unnamed77___U3); + s.b___19777 = (r0); s.tmp_3 = controller_Button__C2190_v0_1_mk(s); - s.tmp_3.arg0 = s.b___19741; + s.tmp_3.arg0 = s.b___19777; 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; @@ -38150,31 +38150,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed75___U3 + 1); - s.unnamed75___U3 = (r0); + r0 = (s.unnamed77___U3 + 1); + s.unnamed77___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed74___U2 = (undefined); + s.unnamed76___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P4794.info = {"start":15736,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P4795.info = {"start":15736,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P4794_mk(s) { +function controller_AnyButton_isPressed__P4795_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P4794, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P4795, 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, - ctrl___19737: undefined, - b___19741: undefined, - unnamed74___U2: undefined, - unnamed75___U3: undefined, + ctrl___19773: undefined, + b___19777: undefined, + unnamed76___U2: undefined, + unnamed77___U3: undefined, arg0: undefined, } } @@ -38491,7 +38491,7 @@ switch (step) { s.tmp_0 = r0; s.tmp_3 = tiles_Location_tileMap__P2696_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 818; s.pc = 1; return s.tmp_3; + s.callLocIdx = 820; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -38540,7 +38540,7 @@ switch (step) { s.tmp_0 = r0; s.tmp_3 = tiles_Location_tileMap__P2696_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 816; s.pc = 1; return s.tmp_3; + s.callLocIdx = 818; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -38579,7 +38579,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___9378 = undefined; + s.scale___9389 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -38588,17 +38588,17 @@ switch (step) { if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); s.tmp_1 = tiles_Location_tileMap__P2696_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 814; s.pc = 1; return s.tmp_1; + s.callLocIdx = 816; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___9378 = (r0); + s.scale___9389 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___9378); + r0 = (s.tmp_1 << s.scale___9389); s.tmp_0 = r0; - r0 = (s.scale___9378 - 1); + r0 = (s.scale___9389 - 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___9378: undefined, + scale___9389: undefined, arg0: undefined, } } @@ -38636,7 +38636,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___9398 = undefined; + s.scale___9409 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -38645,17 +38645,17 @@ switch (step) { if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); s.tmp_1 = tiles_Location_tileMap__P2696_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 812; s.pc = 1; return s.tmp_1; + s.callLocIdx = 814; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___9398 = (r0); + s.scale___9409 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___9398); + r0 = (s.tmp_1 << s.scale___9409); s.tmp_0 = r0; - r0 = (s.scale___9398 - 1); + r0 = (s.scale___9409 - 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___9398: undefined, + scale___9409: undefined, arg0: undefined, } } @@ -38693,7 +38693,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___19788 = undefined; + s.pImage___19824 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38708,17 +38708,17 @@ switch (step) { s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1310; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1312; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___19788 = (r0); + s.pImage___19824 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___19788, 15, s.tmp_0); + r0 = pxsim_ImageMethods.replace(s.pImage___19824, 15, s.tmp_0); s.tmp_0 = r0 = globals.screen___2033; - s.tmp_1 = r0 = s.pImage___19788; + s.tmp_1 = r0 = s.pImage___19824; 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___19788: undefined, + pImage___19824: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38814,7 +38814,7 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 1039; s.pc = 6; return s.tmp_6; + s.callLocIdx = 1041; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -38856,7 +38856,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___19834 = undefined; + s.col___19870 = 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___19834 = (s.tmp_5); + s.col___19870 = (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___19834); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___19870); 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___19834: undefined, + col___19870: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39009,12 +39009,12 @@ switch (step) { s.tmp_0.arg2 = s.arg1; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 972; s.pc = 1; return s.tmp_0; + s.callLocIdx = 974; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 972; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 972; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 972; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 974; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 974; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 974; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -39058,12 +39058,12 @@ switch (step) { s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "shouldBeVisible"), 1); - s.callLocIdx = 971; s.pc = 1; return s.tmp_0; + s.callLocIdx = 973; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["shouldBeVisible"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 971; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 971; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 971; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 973; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 973; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 973; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -39095,10 +39095,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___19874 = undefined; - s.oy___19882 = undefined; - s.l___19890 = undefined; - s.t___19896 = undefined; + s.ox___19910 = undefined; + s.oy___19918 = undefined; + s.l___19926 = undefined; + s.t___19932 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39106,7 +39106,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P4814_mk(s); + s.tmp_0 = Sprite_drawSay__P4815_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 383; s.pc = 8; return s.tmp_0; @@ -39137,7 +39137,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___19874 = (s.tmp_4); + s.ox___19910 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39151,42 +39151,42 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___19882 = (s.tmp_2); + s.oy___19918 = (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___19874); + r0 = (s.tmp_1 - s.ox___19910); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___19890 = (r0); + s.l___19926 = (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___19882); + r0 = (s.tmp_1 - s.oy___19918); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___19896 = (r0); + s.t___19932 = (r0); s.tmp_0 = Sprite__C2342_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___19890; - s.tmp_0.arg2 = s.t___19896; + s.tmp_0.arg1 = s.l___19926; + s.tmp_0.arg2 = s.t___19932; 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; case 12: r0 = s.retval; - s.tmp_0 = Sprite_drawDebug__P4815_mk(s); + s.tmp_0 = Sprite_drawDebug__P4816_mk(s); s.tmp_0.arg0 = s.arg0; - 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.tmp_0.arg1 = s.l___19926; + s.tmp_0.arg2 = s.t___19932; + s.tmp_0.arg3 = s.ox___19910; + s.tmp_0.arg4 = s.oy___19918; 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___19874: undefined, - oy___19882: undefined, - l___19890: undefined, - t___19896: undefined, + ox___19910: undefined, + oy___19918: undefined, + l___19926: undefined, + t___19932: undefined, arg0: undefined, arg1: undefined, } } @@ -39219,7 +39219,7 @@ function Sprite___drawCore__P2416_mk(s) { -function Sprite_drawSprite__P4816(s) { +function Sprite_drawSprite__P4817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39237,7 +39237,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P4813_mk(s); + s.tmp_3 = Sprite_isScaled__P4814_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 485; s.pc = 3; return s.tmp_3; case 3: @@ -39292,12 +39292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P4816.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P4817.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P4816_mk(s) { +function Sprite_drawSprite__P4817_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P4816, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P4817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39313,7 +39313,7 @@ function Sprite_drawSprite__P4816_mk(s) { -function Sprite_drawDebug__P4815(s) { +function Sprite_drawDebug__P4816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39323,9 +39323,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___19920 = undefined; - s.tx___19924 = undefined; - s.ty___19926 = undefined; + s.font___19956 = undefined; + s.tx___19960 = undefined; + s.ty___19962 = 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___19920 = (globals.font5___1981); - s.tx___19924 = (s.arg1); + s.font___19956 = (globals.font5___1981); + s.tx___19960 = (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___19926 = (r0); + s.ty___19962 = (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___19924; - s.tmp_0.arg3 = s.ty___19926; + s.tmp_0.arg2 = s.tx___19960; + s.tmp_0.arg3 = s.ty___19962; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___19920; + s.tmp_0.arg5 = s.font___19956; 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___19924; + s.tmp_0 = r0 = s.tx___19960; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___19920; + s.tmp_2.arg0 = s.font___19956; 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___19924 = (r0); + s.tx___19960 = (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___19926; + s.tmp_4 = r0 = s.ty___19962; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___19920; + s.tmp_7.arg0 = s.font___19956; 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___19926 = (r0); + s.ty___19962 = (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___19924; - s.tmp_0.arg3 = s.ty___19926; + s.tmp_0.arg2 = s.tx___19960; + s.tmp_0.arg3 = s.ty___19962; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___19920; + s.tmp_0.arg5 = s.font___19956; 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___19926; + s.tmp_4 = r0 = s.ty___19962; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___19920; + s.tmp_7.arg0 = s.font___19956; 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___19926 = (r0); + s.ty___19962 = (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___19924; - s.tmp_0.arg3 = s.ty___19926; + s.tmp_0.arg2 = s.tx___19960; + s.tmp_0.arg3 = s.ty___19962; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___19920; + s.tmp_0.arg5 = s.font___19956; s.tmp_0.arg6 = undefined; s.callLocIdx = 477; s.pc = 31; return s.tmp_0; case 31: @@ -39661,12 +39661,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P4815.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P4816.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P4815_mk(s) { +function Sprite_drawDebug__P4816_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P4815, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P4816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39681,9 +39681,9 @@ function Sprite_drawDebug__P4815_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___19920: undefined, - tx___19924: undefined, - ty___19926: undefined, + font___19956: undefined, + tx___19960: undefined, + ty___19962: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39695,7 +39695,7 @@ function Sprite_drawDebug__P4815_mk(s) { -function Sprite_drawSay__P4814(s) { +function Sprite_drawSay__P4815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39774,12 +39774,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P4814.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P4815.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P4814_mk(s) { +function Sprite_drawSay__P4815_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P4814, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P4815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41012,7 +41012,7 @@ const controller_Controller__C2135_VT = mkVTable({ "right": controller_Controller_right__P2145, "up": controller_Controller_up__P2146, "down": controller_Controller_down__P2147, - "button": controller_Controller_button__P4785, + "button": controller_Controller_button__P4786, "connected": controller_Controller_connected__P2156, "set/connected": controller_Controller_connected__P2157, "__preUpdate": controller_Controller___preUpdate__P2163, @@ -41043,29 +41043,29 @@ const controller_Button__C2190_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P4788, + "handlerState": controller_Button_handlerState__P4789, "toString": controller_Button_toString__P2195, - "raiseButtonUp": controller_Button_raiseButtonUp__P4789, - "raiseButtonDown": controller_Button_raiseButtonDown__P4790, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4791, + "raiseButtonUp": controller_Button_raiseButtonUp__P4790, + "raiseButtonDown": controller_Button_raiseButtonDown__P4791, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4792, "onEvent": controller_Button_onEvent__P2197, "isPressed": controller_Button_isPressed__P2201, "pressureLevel": controller_Button_pressureLevel__P2202, "setPressed": controller_Button_setPressed__P2203, "__update": controller_Button___update__P2204, - "runButtonEvents": controller_Button_runButtonEvents__P4792, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4793, + "runButtonEvents": controller_Button_runButtonEvents__P4793, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4794, }, toStringMethod: controller_Button_toString__P2195, }); -const controller_AnyButton__C4786_VT = mkVTable({ +const controller_AnyButton__C4787_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P4794, + "isPressed": controller_AnyButton_isPressed__P4795, }, iface: { "_owner": null, @@ -41082,18 +41082,18 @@ const controller_AnyButton__C4786_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P4794, - "handlerState": controller_Button_handlerState__P4788, + "isPressed": controller_AnyButton_isPressed__P4795, + "handlerState": controller_Button_handlerState__P4789, "toString": controller_Button_toString__P2195, - "raiseButtonUp": controller_Button_raiseButtonUp__P4789, - "raiseButtonDown": controller_Button_raiseButtonDown__P4790, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4791, + "raiseButtonUp": controller_Button_raiseButtonUp__P4790, + "raiseButtonDown": controller_Button_raiseButtonDown__P4791, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4792, "onEvent": controller_Button_onEvent__P2197, "pressureLevel": controller_Button_pressureLevel__P2202, "setPressed": controller_Button_setPressed__P2203, "__update": controller_Button___update__P2204, - "runButtonEvents": controller_Button_runButtonEvents__P4792, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4793, + "runButtonEvents": controller_Button_runButtonEvents__P4793, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4794, }, }); const game_GameOverConfig__C2991_VT = mkVTable({ @@ -41250,8 +41250,8 @@ const control_EventContext__C395_VT = mkVTable({ "runningCallbacks": null, "set/runningCallbacks": null, "deltaTime": control_EventContext_deltaTime__P400, - "runCallbacks": control_EventContext_runCallbacks__P4501, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P4502, + "runCallbacks": control_EventContext_runCallbacks__P4502, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P4503, "register": control_EventContext_register__P401, "unregister": control_EventContext_unregister__P402, "registerFrameHandler": control_EventContext_registerFrameHandler__P403, @@ -41320,7 +41320,7 @@ const scene_Camera__C2782_VT = mkVTable({ "update": scene_Camera_update__P2799, }, }); -const control_EventHandler__C4496_VT = mkVTable({ +const control_EventHandler__C4497_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 26, @@ -41337,8 +41337,8 @@ const control_EventHandler__C4496_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P4497, - "unregister": control_EventHandler_unregister__P4498, + "register": control_EventHandler_register__P4498, + "unregister": control_EventHandler_unregister__P4499, }, }); const scene_Background__C2670_VT = mkVTable({ @@ -41422,8 +41422,8 @@ const Sprite__C2342_VT = mkVTable({ "__drawCore": Sprite___drawCore__P2416, "__update": Sprite___update__P2417, "setHitbox": Sprite_setHitbox__P2395, - "recalcSize": Sprite_recalcSize__P4812, - "drawSprite": Sprite_drawSprite__P4816, + "recalcSize": Sprite_recalcSize__P4813, + "drawSprite": Sprite_drawSprite__P4817, }, iface: { "_z": null, @@ -41513,8 +41513,8 @@ const Sprite__C2342_VT = mkVTable({ "setHitbox": Sprite_setHitbox__P2395, "isStatic": Sprite_isStatic__P2396, "__visible": Sprite___visible__P2397, - "recalcSize": Sprite_recalcSize__P4812, - "isScaled": Sprite_isScaled__P4813, + "recalcSize": Sprite_recalcSize__P4813, + "isScaled": Sprite_isScaled__P4814, "width": Sprite_width__P2398, "height": Sprite_height__P2399, "left": Sprite_left__P2400, @@ -41537,9 +41537,9 @@ const Sprite__C2342_VT = mkVTable({ "destroy": Sprite_destroy__P2429, "_destroyCore": Sprite__destroyCore__P2430, "toString": Sprite_toString__P2435, - "drawSay": Sprite_drawSay__P4814, - "drawDebug": Sprite_drawDebug__P4815, - "drawSprite": Sprite_drawSprite__P4816, + "drawSay": Sprite_drawSay__P4815, + "drawDebug": Sprite_drawDebug__P4816, + "drawSprite": Sprite_drawSprite__P4817, "z": sprites_BaseSprite_z__P2099, "set/z": sprites_BaseSprite_z__P2100, "__draw": sprites_BaseSprite___draw__P2101, @@ -41576,7 +41576,7 @@ const tiles_TileMap__C2736_VT = mkVTable({ "enabled": tiles_TileMap_enabled__P2748, "getTile": tiles_TileMap_getTile__P2750, "getTileIndex": tiles_TileMap_getTileIndex__P2751, - "draw": tiles_TileMap_draw__P4933, + "draw": tiles_TileMap_draw__P4934, "isObstacle": tiles_TileMap_isObstacle__P2757, "getObstacle": tiles_TileMap_getObstacle__P2758, "isOnWall": tiles_TileMap_isOnWall__P2759, @@ -41631,7 +41631,7 @@ const control_FrameCallback__C392_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C4475_VT = mkVTable({ +const control_PollEvent__C4476_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 36, @@ -41690,14 +41690,14 @@ const ArcadePhysicsEngine__C2528_VT = mkVTable({ "removeSprite": ArcadePhysicsEngine_removeSprite__P2538, "draw": ArcadePhysicsEngine_draw__P2539, "move": ArcadePhysicsEngine_move__P2540, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4857, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4858, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P4859, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4860, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4861, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4858, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4859, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P4860, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4861, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4862, "moveSprite": ArcadePhysicsEngine_moveSprite__P2542, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4862, - "constrain": ArcadePhysicsEngine_constrain__P4863, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4863, + "constrain": ArcadePhysicsEngine_constrain__P4864, }, }); const sprites_SpriteMap__C2447_VT = mkVTable({ @@ -41724,10 +41724,10 @@ const sprites_SpriteMap__C2447_VT = mkVTable({ "draw": sprites_SpriteMap_draw__P2451, "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2452, "clear": sprites_SpriteMap_clear__P2453, - "key": sprites_SpriteMap_key__P4820, - "insertAtKey": sprites_SpriteMap_insertAtKey__P4821, + "key": sprites_SpriteMap_key__P4821, + "insertAtKey": sprites_SpriteMap_insertAtKey__P4822, "insertAABB": sprites_SpriteMap_insertAABB__P2454, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4822, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4823, "toString": sprites_SpriteMap_toString__P2455, }, toStringMethod: sprites_SpriteMap_toString__P2455, @@ -41760,7 +41760,7 @@ const scene_systemMenu_PauseMenu__C3113_VT = mkVTable({ "setSelection": scene_systemMenu_PauseMenu_setSelection__P3117, "drawText": scene_systemMenu_PauseMenu_drawText__P3118, "dispose": scene_systemMenu_PauseMenu_dispose__P3119, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P5260, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P5261, }, }); const scene_systemMenu_MenuOption__C3105_VT = mkVTable({ @@ -41794,7 +41794,7 @@ const scene_systemMenu_MenuOption__C3105_VT = mkVTable({ "setTheme": scene_systemMenu_MenuOption_setTheme__P3110, "setState": scene_systemMenu_MenuOption_setState__P3111, "dispose": scene_systemMenu_MenuOption_dispose__P3112, - "updateCard": scene_systemMenu_MenuOption_updateCard__P5259, + "updateCard": scene_systemMenu_MenuOption_updateCard__P5260, }, }); const effects_ParticleEffect__C3280_VT = mkVTable({ @@ -41879,7 +41879,7 @@ const particles_ParticleSource__C3169_VT = mkVTable({ "__draw": particles_ParticleSource___draw__P3175, "__drawCore": sprites_BaseSprite___drawCore__P2102, "__update": sprites_BaseSprite___update__P2103, - "updateParticle": particles_ParticleSource_updateParticle__P5345, + "updateParticle": particles_ParticleSource_updateParticle__P5346, }, iface: { "_z": null, @@ -41920,8 +41920,8 @@ const particles_ParticleSource__C3169_VT = mkVTable({ "setAnchor": particles_ParticleSource_setAnchor__P3185, "setRate": particles_ParticleSource_setRate__P3186, "setFactory": particles_ParticleSource_setFactory__P3188, - "updateParticle": particles_ParticleSource_updateParticle__P5345, - "drawParticle": particles_ParticleSource_drawParticle__P5346, + "updateParticle": particles_ParticleSource_updateParticle__P5346, + "drawParticle": particles_ParticleSource_drawParticle__P5347, "__visible": sprites_BaseSprite___visible__P2098, "z": sprites_BaseSprite_z__P2099, "set/z": sprites_BaseSprite_z__P2100, @@ -42354,5 +42354,5 @@ const sprites_BaseSpriteSayRenderer__C2260_VT = mkVTable({ const breakpoints = setupDebugger(1, []) -return _main___P43366 +return _main___P20630 }) diff --git a/assets/version.txt b/assets/version.txt index 8adc70f..c18d72b 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.8.0 \ No newline at end of file +0.8.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index b2a4311..fa6c5ec 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Tiles Advanced", - "version": "0.8.0", + "version": "0.8.1", "description": "", "dependencies": { "device": "*",