diff --git a/assets/js/binary.js b/assets/js/binary.js index 2201a74..03a41d8 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.6.24/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.17","target":"arcade","targetVersion":"1.6.24","repo":"shakao/skillmap-game-of-life"} -// total=1145461 new=5.53% cached=88.83% other=5.64% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.6.24/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.18","target":"arcade","targetVersion":"1.6.24","repo":"shakao/skillmap-game-of-life"} +// total=1140001 new=5.53% cached=88.84% other=5.63% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -387,7 +387,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P99952(s) { +function _main___P16609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -397,228 +397,228 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___87237 = (undefined); - globals._pollEventQueue___87246 = (undefined); - globals.minPriority___83716 = (1); + globals._intervals___3894 = (undefined); + globals._pollEventQueue___3903 = (undefined); + globals.minPriority___373 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P87249); - globals.listeners___87250 = (s.tmp_0); - globals.globalVolume___87303 = (null); - globals.playToneID___87310 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C84953_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P3906); + globals.listeners___3907 = (s.tmp_0); + globals.globalVolume___3960 = (null); + globals.playToneID___3967 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1610_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P84956_mk(s); + s.tmp_1 = music_Melody_constructor__P1613_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "~15 e3:3 r:1 d#:3 r:1 d:4 r:1 c#:8"; s.callLocIdx = 0; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - globals.wawawawaa___84970 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C84953_VT); + globals.wawawawaa___1627 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1610_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P84956_mk(s); + s.tmp_1 = music_Melody_constructor__P1613_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "g4:1 c5 e g:2 e:1 g:3"; s.callLocIdx = 1; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - globals.powerUp___84973 = (s.tmp_0); - globals.brightness___85090 = (100); + globals.powerUp___1630 = (s.tmp_0); + globals.brightness___1747 = (100); 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", 8); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex91865); - globals.font8___85111 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex8522); + globals.font8___1768 = (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", _hex91867); - globals.font12___85112 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex8524); + globals.font12___1769 = (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", _hex93310); - globals.font5___85116 = (s.tmp_0); - globals.__updated___87357 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P87360); - r0 = pxsim_pxtcore.setPalette(_hex87371); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex9967); + globals.font5___1773 = (s.tmp_0); + globals.__updated___4014 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P4017); + r0 = pxsim_pxtcore.setPalette(_hex4028); r0 = pxsim.image.create(160, 120); - globals.screen___85168 = (r0); - s.tmp_0 = control___screen_setupUpdate__P85130_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P87378; + globals.screen___1825 = (r0); + s.tmp_0 = control___screen_setupUpdate__P1787_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P4035; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___83739 = (_screen_internal_inline__P87383); - globals.RUN_KEY___87388 = ("#run"); - globals.SCOPE_KEY___87389 = ("#scope"); - s.tmp_0 = settings_initScopes__P87400_mk(s); + globals.control_EventContext_onStats___396 = (_screen_internal_inline__P4040); + globals.RUN_KEY___4045 = ("#run"); + globals.SCOPE_KEY___4046 = ("#scope"); + s.tmp_0 = settings_initScopes__P4057_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___85244 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + globals.A___1901 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 7; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___85245 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + globals.B___1902 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 8; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___85246 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + globals.left___1903 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 9; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___85247 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + globals.up___1904 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 10; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___85248 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + globals.right___1905 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 11; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___85249 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + globals.down___1906 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 12; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___85250 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C87429_VT); + globals.menu___1907 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4086_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P85316_mk(s); + s.tmp_1 = controller_Button_constructor__P1973_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 13; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.anyButton___85297 = (s.tmp_0); - globals._userEventsEnabled___87440 = (true); - globals.defaultRepeatDelay___87442 = (500); - globals.defaultRepeatInterval___87444 = (30); - s.tmp_0 = SpriteKind_create__P85545_mk(s); + globals.anyButton___1954 = (s.tmp_0); + globals._userEventsEnabled___4097 = (true); + globals.defaultRepeatDelay___4099 = (500); + globals.defaultRepeatInterval___4101 = (30); + s.tmp_0 = SpriteKind_create__P2202_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___85546 = (r0); - s.tmp_0 = SpriteKind_create__P85545_mk(s); + globals.Player___2203 = (r0); + s.tmp_0 = SpriteKind_create__P2202_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___85548 = (r0); - s.tmp_0 = SpriteKind_create__P85545_mk(s); + globals.Food___2205 = (r0); + s.tmp_0 = SpriteKind_create__P2202_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___85549 = (r0); + globals.Enemy___2206 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___85587 = (r0); - globals.infoState___87500 = (undefined); - s.tmp_0 = game_addScenePushHandler__P85962_mk(s); - s.tmp_0.arg0 = info_inline__P87504; + globals.MIN_MOVE_GAP___2244 = (r0); + globals.infoState___4157 = (undefined); + s.tmp_0 = game_addScenePushHandler__P2619_mk(s); + s.tmp_0.arg0 = info_inline__P4161; s.callLocIdx = 18; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P85964_mk(s); - s.tmp_0.arg0 = info_inline__P87519; + s.tmp_0 = game_addScenePopHandler__P2621_mk(s); + s.tmp_0.arg0 = info_inline__P4176; s.callLocIdx = 22; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___85855 = (r0); - globals.debug___85944 = (false); - globals.stats___85945 = (false); - globals.winEffect___85946 = (undefined); - globals.loseEffect___85947 = (undefined); - globals.loseSound___87616 = (undefined); - globals.winSound___87618 = (undefined); - s.tmp_0 = scene_systemMenu_initVolume__P87885_mk(s); + globals.scene_Scene_initializers___2512 = (r0); + globals.debug___2601 = (false); + globals.stats___2602 = (false); + globals.winEffect___2603 = (undefined); + globals.loseEffect___2604 = (undefined); + globals.loseSound___4273 = (undefined); + globals.winSound___4275 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P4542_mk(s); s.callLocIdx = 23; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P87886_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P4543_mk(s); s.callLocIdx = 24; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___85855, scene_systemMenu_register__P86050); - r0 = pxsim.image.ofBuffer(_hex87893); - globals.CARD_NORMAL___86055 = (r0); - r0 = pxsim.image.ofBuffer(_hex87895); - globals.CARD_SELECTED___86056 = (r0); - r0 = pxsim.image.ofBuffer(_hex87897); - globals.CARD_ACTIVE___86057 = (r0); - r0 = pxsim.image.ofBuffer(_hex87899); - globals.VOLUME_UP_ICON___86058 = (r0); - r0 = pxsim.image.ofBuffer(_hex87901); - globals.BRIGHTNESS_DOWN_ICON___86059 = (r0); - r0 = pxsim.image.ofBuffer(_hex87903); - globals.CLOSE_MENU_ICON___86060 = (r0); - r0 = pxsim.image.ofBuffer(_hex87905); - globals.VOLUME_DOWN_ICON___86061 = (r0); - r0 = pxsim.image.ofBuffer(_hex87907); - globals.SLEEP_ICON___86062 = (r0); - r0 = pxsim.image.ofBuffer(_hex87909); - globals.CONSOLE_ICON___86063 = (r0); - r0 = pxsim.image.ofBuffer(_hex87911); - globals.BRIGHTNESS_UP_ICON___86064 = (r0); - r0 = pxsim.image.ofBuffer(_hex87913); - globals.STATS_ICON___86065 = (r0); - globals.consoleColor___87916 = (1); - globals.tabSize___87919 = (8); - globals.consoleFont___87925 = (globals.font5___85116); - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___2512, scene_systemMenu_register__P2707); + r0 = pxsim.image.ofBuffer(_hex4550); + globals.CARD_NORMAL___2712 = (r0); + r0 = pxsim.image.ofBuffer(_hex4552); + globals.CARD_SELECTED___2713 = (r0); + r0 = pxsim.image.ofBuffer(_hex4554); + globals.CARD_ACTIVE___2714 = (r0); + r0 = pxsim.image.ofBuffer(_hex4556); + globals.VOLUME_UP_ICON___2715 = (r0); + r0 = pxsim.image.ofBuffer(_hex4558); + globals.BRIGHTNESS_DOWN_ICON___2716 = (r0); + r0 = pxsim.image.ofBuffer(_hex4560); + globals.CLOSE_MENU_ICON___2717 = (r0); + r0 = pxsim.image.ofBuffer(_hex4562); + globals.VOLUME_DOWN_ICON___2718 = (r0); + r0 = pxsim.image.ofBuffer(_hex4564); + globals.SLEEP_ICON___2719 = (r0); + r0 = pxsim.image.ofBuffer(_hex4566); + globals.CONSOLE_ICON___2720 = (r0); + r0 = pxsim.image.ofBuffer(_hex4568); + globals.BRIGHTNESS_UP_ICON___2721 = (r0); + r0 = pxsim.image.ofBuffer(_hex4570); + globals.STATS_ICON___2722 = (r0); + globals.consoleColor___4573 = (1); + globals.tabSize___4576 = (8); + globals.consoleFont___4582 = (globals.font5___1773); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___87925; + s.tmp_5.arg0 = globals.consoleFont___4582; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -637,13 +637,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___87930 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___85168); + globals.consoleLines___4587 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___1825); 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___87925; + s.tmp_4.arg0 = globals.consoleFont___4582; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -658,22 +658,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___87940 = (r0); - s.tmp_0 = console_addListener__P83724_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P87952; + globals.consoleColumns___4597 = (r0); + s.tmp_0 = console_addListener__P381_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P4609; s.callLocIdx = 27; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P90253; + s.tmp_0.argL = MAX_SOURCES_inline__P6910; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 29; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - globals.MAX_SOURCES___87954 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C86135_VT); + globals.MAX_SOURCES___4611 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C2792_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P86136_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P2793_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -681,55 +681,55 @@ switch (step) { s.callLocIdx = 30; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___86115 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C86003_VT); + globals.defaultFactory___2772 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2660_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P86005_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2662_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 31; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - globals.galois___87974 = (s.tmp_0); - globals.angleSlice___87982 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C86210_VT); + globals.galois___4631 = (s.tmp_0); + globals.angleSlice___4639 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C2867_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P86211_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P2868_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 10; s.tmp_1.arg2 = 40; s.tmp_1.arg3 = 4000; - s.tmp_1.arg4 = confetti_inline__P89785; + s.tmp_1.arg4 = confetti_inline__P6442; s.callLocIdx = 37; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___86218 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C86233_VT); + globals.confetti___2875 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2890_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P86234_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P2891_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P94074; + s.tmp_1.arg2 = dissolve_inline__P10731; s.callLocIdx = 43; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.dissolve___86238 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C86233_VT); + globals.dissolve___2895 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C2890_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P86234_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P2891_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P89677; + s.tmp_1.arg2 = melt_inline__P6334; s.callLocIdx = 46; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.melt___86239 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P85949_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P85324; + globals.melt___2896 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P2606_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P1981; s.callLocIdx = 47; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = game_eventContext__P85951_mk(s); + s.tmp_0 = game_eventContext__P2608_mk(s); s.callLocIdx = 48; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; @@ -737,13 +737,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P99952.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P99952.continuations = [ ] +_main___P16609.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P16609.continuations = [ ] -function _main___P99952_mk(s) { +function _main___P16609_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P99952, depth: s.depth + 1, + parent: s, fn: _main___P16609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -753,26 +753,26 @@ function _main___P99952_mk(s) { tmp_5: undefined, } } -const _hex91865 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex91867 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex93310 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex87371 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex87893 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex87895 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex87897 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex87899 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87901 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87903 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87905 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87907 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87909 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87911 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex87913 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex8522 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex8524 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex9967 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex4028 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex4550 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex4552 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex4554 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex4556 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4558 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4560 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4562 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4564 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4566 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4568 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex4570 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P87360(s) { +function control___screen_inline__P4017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -785,23 +785,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___87357 = (false); - s.tmp_0 = pause__P83754_mk(s); + globals.__updated___4014 = (false); + s.tmp_0 = pause__P411_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___87357); + r0 = pxsim_numops_toBoolDecr(globals.__updated___4014); 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 = 2; continue; } - s.tmp_2 = control___screen_update__P85129_mk(s); + s.tmp_2 = control___screen_update__P1786_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___87357 = (true); + globals.__updated___4014 = (true); case 2: case 3: { step = 1; continue; } @@ -810,12 +810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P87360.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__P4017.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__P87360_mk(s) { +function control___screen_inline__P4017_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P87360, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P4017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -826,7 +826,7 @@ function control___screen_inline__P87360_mk(s) { -function _screen_internal_inline__P87378(s) { +function _screen_internal_inline__P4035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -836,17 +836,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___85168); + r0 = pxsim_pxtcore.updateScreen(globals.screen___1825); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P87378.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +_screen_internal_inline__P4035.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function _screen_internal_inline__P87378_mk(s) { +function _screen_internal_inline__P4035_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P87378, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P4035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -854,7 +854,7 @@ function _screen_internal_inline__P87378_mk(s) { -function _screen_internal_inline__P87383(s) { +function _screen_internal_inline__P4040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -873,12 +873,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P87383.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +_screen_internal_inline__P4040.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function _screen_internal_inline__P87383_mk(s) { +function _screen_internal_inline__P4040_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P87383, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P4040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -887,7 +887,7 @@ function _screen_internal_inline__P87383_mk(s) { -function info_inline__P87504(s) { +function info_inline__P4161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -901,36 +901,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___87500); + r0 = pxsim_numops_toBoolDecr(globals.infoState___4157); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___87502); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4159); 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___87502 = (r0); + globals.infoStateStack___4159 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___87500); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4157); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___87502, s.tmp_0); - globals.infoState___87500 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___4159, s.tmp_0); + globals.infoState___4157 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P87504.info = {"start":1996,"length":259,"line":75,"column":29,"endLine":84,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P4161.info = {"start":1996,"length":259,"line":75,"column":29,"endLine":84,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P87504_mk(s) { +function info_inline__P4161_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P87504, depth: s.depth + 1, + parent: s, fn: info_inline__P4161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -941,7 +941,7 @@ function info_inline__P87504_mk(s) { -function info_inline__P87519(s) { +function info_inline__P4176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -951,30 +951,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___87520 = undefined; - s.nextState___87529 = undefined; - s.tmp_0 = game_currentScene__P85948_mk(s); + s.scene___4177 = undefined; + s.nextState___4186 = undefined; + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 19; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___87520 = (r0); - globals.infoState___87500 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___87502; + s.scene___4177 = (r0); + globals.infoState___4157 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___4159; 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___87502); + r0 = pxsim_Array__length(globals.infoStateStack___4159); 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___87502); - s.nextState___87529 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___4159); + s.nextState___4186 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___87529; + s.tmp_2.arg0 = s.nextState___4186; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -986,12 +986,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___87520); + r0 = (s.tmp_1 == s.scene___4177); 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___87529; + s.tmp_3.arg0 = s.nextState___4186; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1002,10 +1002,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___87500 = (r0); + globals.infoState___4157 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___87502, s.nextState___87529); + r0 = pxsim_Array__push(globals.infoStateStack___4159, s.nextState___4186); case 4: case 5: case 6: @@ -1013,26 +1013,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P87519.info = {"start":2287,"length":376,"line":86,"column":28,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P4176.info = {"start":2287,"length":376,"line":86,"column":28,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P87519_mk(s) { +function info_inline__P4176_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P87519, depth: s.depth + 1, + parent: s, fn: info_inline__P4176, 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___87520: undefined, - nextState___87529: undefined, + scene___4177: undefined, + nextState___4186: undefined, } } -function game_eventContext__P85951(s) { +function game_eventContext__P2608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1042,21 +1042,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P87627_mk(s); + s.tmp_0 = game_init__P4284_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 807; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___87619.fields["eventContext"]; + r0 = globals._scene___4276.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P85951.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P2608.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P85951_mk(s) { +function game_eventContext__P2608_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P85951, depth: s.depth + 1, + parent: s, fn: game_eventContext__P2608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1065,7 +1065,7 @@ function game_eventContext__P85951_mk(s) { -function game_init__P87627(s) { +function game_init__P4284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1079,7 +1079,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___87619); + r0 = pxsim_numops_toBoolDecr(globals._scene___4276); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1094,73 +1094,73 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C85835_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2492_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P85856_mk(s); + s.tmp_4 = scene_Scene_constructor__P2513_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P83750_mk(s); + s.tmp_5 = control_pushEventContext__P407_mk(s); s.callLocIdx = 808; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___87619; + s.tmp_4.arg2 = globals._scene___4276; s.callLocIdx = 809; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___87619 = (s.tmp_3); + globals._scene___4276 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P85857_mk(s); - s.tmp_0.arg0 = globals._scene___87619; + s.tmp_0 = scene_Scene_init__P2514_mk(s); + s.tmp_0.arg0 = globals._scene___4276; s.callLocIdx = 810; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___85946); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___2603); 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 = 5; continue; } - globals.winEffect___85946 = (globals.confetti___86218); + globals.winEffect___2603 = (globals.confetti___2875); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___85947); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___2604); 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 = 7; continue; } - globals.loseEffect___85947 = (globals.melt___86239); + globals.loseEffect___2604 = (globals.melt___2896); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___87618); + r0 = pxsim_numops_toBoolDecr(globals.winSound___4275); 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 = 9; continue; } - globals.winSound___87618 = (globals.powerUp___84973); + globals.winSound___4275 = (globals.powerUp___1630); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___87616); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___4273); 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 = 11; continue; } - globals.loseSound___87616 = (globals.wawawawaa___84970); + globals.loseSound___4273 = (globals.wawawawaa___1627); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P87627.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P4284.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P87627_mk(s) { +function game_init__P4284_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P87627, depth: s.depth + 1, + parent: s, fn: game_init__P4284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1175,7 +1175,7 @@ function game_init__P87627_mk(s) { -function melt_inline__P89677(s) { +function melt_inline__P6334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1185,11 +1185,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___89680 = undefined; - s.j___89688 = undefined; - s.x___89693 = undefined; - s.y___89699 = undefined; - s.c___89705 = undefined; + s.rounds___6337 = undefined; + s.j___6345 = undefined; + s.x___6350 = undefined; + s.y___6356 = undefined; + s.c___6362 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1202,14 +1202,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___89680 = (r0); - s.j___89688 = (0); + s.rounds___6337 = (r0); + s.j___6345 = (0); case 1: - r0 = (s.j___89688 < s.rounds___89680); + r0 = (s.j___6345 < s.rounds___6337); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P86007_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -1219,8 +1219,8 @@ switch (step) { s.callLocIdx = 44; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___89693 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P86007_mk(s); + s.x___6350 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -1230,42 +1230,42 @@ switch (step) { s.callLocIdx = 45; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___89699 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___89693, s.y___89699); - s.c___89705 = (r0); + s.y___6356 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___6350, s.y___6356); + s.c___6362 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___89693; - r0 = (s.y___89699 + 1); + s.tmp_1 = r0 = s.x___6350; + r0 = (s.y___6356 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___89705); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___6362); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___89693; - r0 = (s.y___89699 + 2); + s.tmp_1 = r0 = s.x___6350; + r0 = (s.y___6356 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___89705); - r0 = (s.j___89688 + 1); - s.j___89688 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___6362); + r0 = (s.j___6345 + 1); + s.j___6345 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P89677.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__P6334.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__P89677_mk(s) { +function melt_inline__P6334_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P89677, depth: s.depth + 1, + parent: s, fn: melt_inline__P6334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___89680: undefined, - j___89688: undefined, - x___89693: undefined, - y___89699: undefined, - c___89705: undefined, + rounds___6337: undefined, + j___6345: undefined, + x___6350: undefined, + y___6356: undefined, + c___6362: undefined, arg0: undefined, arg1: undefined, } } @@ -1274,7 +1274,7 @@ function melt_inline__P89677_mk(s) { -function Math_FastRandom_randomRange__P86007(s) { +function Math_FastRandom_randomRange__P2664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1291,12 +1291,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C86003_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2660_VT)) failedCast(r0); r0 = (s.arg2 > s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = Math_FastRandom_next__P86006_mk(s); + s.tmp_2 = Math_FastRandom_next__P2663_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 832; s.pc = 3; return s.tmp_2; case 3: @@ -1317,12 +1317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P86007.info = {"start":2079,"length":131,"line":62,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} +Math_FastRandom_randomRange__P2664.info = {"start":2079,"length":131,"line":62,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} -function Math_FastRandom_randomRange__P86007_mk(s) { +function Math_FastRandom_randomRange__P2664_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P86007, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P2664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1339,7 +1339,7 @@ function Math_FastRandom_randomRange__P86007_mk(s) { -function Math_FastRandom_next__P86006(s) { +function Math_FastRandom_next__P2663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1354,7 +1354,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C86003_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2660_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -1375,12 +1375,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P86006.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} +Math_FastRandom_next__P2663.info = {"start":1713,"length":107,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} -function Math_FastRandom_next__P86006_mk(s) { +function Math_FastRandom_next__P2663_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P86006, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P2663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1397,7 +1397,7 @@ function Math_FastRandom_next__P86006_mk(s) { -function effects_ImageEffect_constructor__P86234(s) { +function effects_ImageEffect_constructor__P2891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1414,11 +1414,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C86233_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2890_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C86003_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2660_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P86005_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2662_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1125; s.pc = 1; return s.tmp_1; @@ -1431,12 +1431,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P86234.info = {"start":410,"length":290,"line":10,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["this","defaultRate","effectFactory"]} +effects_ImageEffect_constructor__P2891.info = {"start":410,"length":290,"line":10,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["this","defaultRate","effectFactory"]} -function effects_ImageEffect_constructor__P86234_mk(s) { +function effects_ImageEffect_constructor__P2891_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P86234, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P2891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1449,7 +1449,7 @@ function effects_ImageEffect_constructor__P86234_mk(s) { -function confetti_inline__P89785(s) { +function confetti_inline__P6442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1459,13 +1459,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___89788 = undefined; + s.factory___6445 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C86162_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C2819_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -1500,27 +1500,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P86163_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P2820_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 34; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___89788 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P86139_mk(s); - s.tmp_0.arg0 = s.factory___89788; + s.factory___6445 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P2796_mk(s); + s.tmp_0.arg0 = s.factory___6445; s.tmp_0.arg1 = 30; s.callLocIdx = 35; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C86095_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C2752_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P86100_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P2757_mk(s); 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___89788; + s.tmp_1.arg3 = s.factory___6445; s.callLocIdx = 36; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -1528,12 +1528,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P89785.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__P6442.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__P89785_mk(s) { +function confetti_inline__P6442_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P89785, depth: s.depth + 1, + parent: s, fn: confetti_inline__P6442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1541,7 +1541,7 @@ function confetti_inline__P89785_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___89788: undefined, + factory___6445: undefined, arg0: undefined, arg1: undefined, } } @@ -1550,7 +1550,7 @@ function confetti_inline__P89785_mk(s) { -function particles_ParticleSource_constructor__P86100(s) { +function particles_ParticleSource_constructor__P2757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1560,8 +1560,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___89809 = undefined; - s.removedSource___89818 = undefined; + s.sources___6466 = undefined; + s.removedSource___6475 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1570,62 +1570,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P85227_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P1884_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1001; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P87962_mk(s); + s.tmp_0 = particles_init__P4619_mk(s); s.callLocIdx = 1002; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1003; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___89809 = (r0); - r0 = pxsim_Array__length(s.sources___89809); + s.sources___6466 = (r0); + r0 = pxsim_Array__length(s.sources___6466); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___87954); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___4611); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P87965_mk(s); - s.tmp_2.arg0 = s.sources___89809; + s.tmp_2 = particles_sortSources__P4622_mk(s); + s.tmp_2.arg0 = s.sources___6466; s.callLocIdx = 1004; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___89809, 0); - s.removedSource___89818 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P86110_mk(s); - s.tmp_0.arg0 = s.removedSource___89818; + r0 = pxsim_Array_.removeAt(s.sources___6466, 0); + s.removedSource___6475 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P2767_mk(s); + s.tmp_0.arg0 = s.removedSource___6475; s.callLocIdx = 1006; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P86109_mk(s); - s.tmp_0.arg0 = s.removedSource___89818; + s.tmp_0 = particles_ParticleSource_destroy__P2766_mk(s); + s.tmp_0.arg0 = s.removedSource___6475; s.callLocIdx = 1007; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 1: case 2: r0 = (s.arg0).fields["pFlags"] = (0); - s.tmp_0 = particles_ParticleSource_setRate__P86112_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P2769_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1008; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P86104_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P2761_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1009; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P86111_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P2768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1010; s.pc = 13; return s.tmp_0; @@ -1640,18 +1640,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___86115; + r0 = globals.defaultFactory___2772; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P86114_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P2771_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1011; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___89809, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P86108_mk(s); + r0 = pxsim_Array__push(s.sources___6466, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P2765_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1012; s.pc = 15; return s.tmp_0; @@ -1661,18 +1661,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P86100.info = {"start":2307,"length":899,"line":87,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_ParticleSource_constructor__P2757.info = {"start":2307,"length":899,"line":87,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -function particles_ParticleSource_constructor__P86100_mk(s) { +function particles_ParticleSource_constructor__P2757_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P86100, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P2757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___89809: undefined, - removedSource___89818: undefined, + sources___6466: undefined, + removedSource___6475: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -1683,7 +1683,7 @@ function particles_ParticleSource_constructor__P86100_mk(s) { -function particles_particleSources__P87968(s) { +function particles_particleSources__P4625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1693,33 +1693,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___90277 = undefined; - s.tmp_0 = game_currentScene__P85948_mk(s); + s.sources___6934 = undefined; + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 1063; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___90277 = (r0); - r0 = s.sources___90277; + s.sources___6934 = (r0); + r0 = s.sources___6934; return leave(s, r0) default: oops() } } } -particles_particleSources__P87968.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P4625.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__P87968_mk(s) { +function particles_particleSources__P4625_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P87968, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P4625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___90277: undefined, + sources___6934: undefined, } } -function particles_sortSources__P87965(s) { +function particles_sortSources__P4622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1733,9 +1733,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P83448_mk(s); + s.tmp_0 = helpers_arraySort__P105_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P90122; + s.tmp_0.arg1 = particles_sortSources_inline__P6779; s.callLocIdx = 1050; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -1743,12 +1743,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P87965.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__P4622.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__P87965_mk(s) { +function particles_sortSources__P4622_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P87965, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P4622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1758,7 +1758,7 @@ function particles_sortSources__P87965_mk(s) { -function particles_sortSources_inline__P90122(s) { +function particles_sortSources_inline__P6779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1796,12 +1796,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P90122.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__P6779.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__P90122_mk(s) { +function particles_sortSources_inline__P6779_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P90122, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P6779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1817,7 +1817,7 @@ function particles_sortSources_inline__P90122_mk(s) { -function helpers_arraySort__P83448(s) { +function helpers_arraySort__P105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1849,10 +1849,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P90145); + s.arg1 = (helpers_arraySort_inline__P6802); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P87193_mk(s); + s.tmp_0 = helpers_sortHelper__P3850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -1861,12 +1861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P83448.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P105.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} -function helpers_arraySort__P83448_mk(s) { +function helpers_arraySort__P105_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P83448, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1880,7 +1880,7 @@ function helpers_arraySort__P83448_mk(s) { -function helpers_arraySort_inline__P90145(s) { +function helpers_arraySort_inline__P6802(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1890,26 +1890,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___90148 = undefined; - s.bIsUndef___90152 = undefined; - s.aIsNull___90163 = undefined; - s.bIsNull___90167 = undefined; + s.aIsUndef___6805 = undefined; + s.bIsUndef___6809 = undefined; + s.aIsNull___6820 = undefined; + s.bIsNull___6824 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___90148 = (r0); + s.aIsUndef___6805 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___90152 = (r0); - s.tmp_0 = r0 = s.aIsUndef___90148; + s.bIsUndef___6809 = (r0); + s.tmp_0 = r0 = s.aIsUndef___6805; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___90152; + r0 = s.bIsUndef___6809; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -1919,13 +1919,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___90148); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___6805); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___90152); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___6809); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -1934,16 +1934,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___90163 = (r0); + s.aIsNull___6820 = (r0); r0 = (s.arg1 === null); - s.bIsNull___90167 = (r0); - s.tmp_0 = r0 = s.aIsNull___90163; + s.bIsNull___6824 = (r0); + s.tmp_0 = r0 = s.aIsNull___6820; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___90167; + r0 = s.bIsNull___6824; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -1953,13 +1953,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___90163); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___6820); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___90167); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___6824); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -1998,12 +1998,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P90145.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__P6802.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__P90145_mk(s) { +function helpers_arraySort_inline__P6802_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P90145, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P6802, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2013,10 +2013,10 @@ function helpers_arraySort_inline__P90145_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___90148: undefined, - bIsUndef___90152: undefined, - aIsNull___90163: undefined, - bIsNull___90167: undefined, + aIsUndef___6805: undefined, + bIsUndef___6809: undefined, + aIsNull___6820: undefined, + bIsNull___6824: undefined, arg0: undefined, arg1: undefined, } } @@ -2025,7 +2025,7 @@ function helpers_arraySort_inline__P90145_mk(s) { -function helpers_sortHelper__P87193(s) { +function helpers_sortHelper__P3850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2035,9 +2035,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___90202 = undefined; - s.i___90205 = undefined; - s.j___90211 = undefined; + s.len___6859 = undefined; + s.i___6862 = undefined; + s.j___6868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2065,28 +2065,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___90202 = (r0); - s.i___90205 = (0); + s.len___6859 = (r0); + s.i___6862 = (0); case 5: - s.tmp_1 = r0 = s.i___90205; - r0 = (s.len___90202 - 1); + s.tmp_1 = r0 = s.i___6862; + r0 = (s.len___6859 - 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___90205 + 1); - s.j___90211 = (r0); + r0 = (s.i___6862 + 1); + s.j___6868 = (r0); case 6: - r0 = (s.j___90211 < s.len___90202); + r0 = (s.j___6868 < s.len___6859); 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___90205); + r0 = pxsim_Array__getAt(s.arg0, s.i___6862); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___90211); + r0 = pxsim_Array__getAt(s.arg0, s.j___6868); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -2097,21 +2097,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P87192_mk(s); + s.tmp_4 = helpers_swap__P3849_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___90205; - s.tmp_4.arg2 = s.j___90211; + s.tmp_4.arg1 = s.i___6862; + s.tmp_4.arg2 = s.j___6868; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___90211 + 1); - s.j___90211 = (r0); + r0 = (s.j___6868 + 1); + s.j___6868 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___90205 + 1); - s.i___90205 = (r0); + r0 = (s.i___6862 + 1); + s.i___6862 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -2119,21 +2119,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P87193.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__P3850.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__P87193_mk(s) { +function helpers_sortHelper__P3850_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P87193, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P3850, 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___90202: undefined, - i___90205: undefined, - j___90211: undefined, + len___6859: undefined, + i___6862: undefined, + j___6868: undefined, arg0: undefined, arg1: undefined, } } @@ -2142,7 +2142,7 @@ function helpers_sortHelper__P87193_mk(s) { -function helpers_swap__P87192(s) { +function helpers_swap__P3849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2152,7 +2152,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___90240 = undefined; + s.temp___6897 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2160,28 +2160,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___90240 = (r0); + s.temp___6897 = (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___90240); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___6897); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P87192.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__P3849.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__P87192_mk(s) { +function helpers_swap__P3849_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P87192, depth: s.depth + 1, + parent: s, fn: helpers_swap__P3849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___90240: undefined, + temp___6897: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2191,7 +2191,7 @@ function helpers_swap__P87192_mk(s) { -function particles_init__P87962(s) { +function particles_init__P4619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2201,33 +2201,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___90282 = undefined; - s.tmp_0 = game_currentScene__P85948_mk(s); + s.scene___6939 = undefined; + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 1040; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___90282 = (r0); - r0 = s.scene___90282.fields["particleSources"]; + s.scene___6939 = (r0); + r0 = s.scene___6939.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___90282; + s.tmp_1 = r0 = s.scene___6939; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___87957 = (r0); - s.tmp_0 = game_onUpdate__P85967_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P87963; + globals.lastUpdate___4614 = (r0); + s.tmp_0 = game_onUpdate__P2624_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P4620; s.callLocIdx = 1041; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P85968_mk(s); + s.tmp_0 = game_onUpdateInterval__P2625_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P87964; + s.tmp_0.arg1 = particles_pruneParticles__P4621; s.callLocIdx = 1042; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -2236,24 +2236,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P87962.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P4619.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__P87962_mk(s) { +function particles_init__P4619_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P87962, depth: s.depth + 1, + parent: s, fn: particles_init__P4619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___90282: undefined, + scene___6939: undefined, } } -function particles_pruneParticles__P87964(s) { +function particles_pruneParticles__P4621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2263,25 +2263,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___90297 = undefined; - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.sources___6954 = undefined; + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1046; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___90297 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___90297); + s.sources___6954 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___6954); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P83452_mk(s); - s.tmp_1 = helpers_arraySlice__P83458_mk(s); - s.tmp_1.arg0 = s.sources___90297; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arraySlice__P115_mk(s); + s.tmp_1.arg0 = s.sources___6954; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___90297); + r0 = pxsim_Array__length(s.sources___6954); s.tmp_1.arg2 = r0; s.callLocIdx = 1047; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P90306; + s.tmp_0.arg1 = particles_pruneParticles_inline__P6963; s.callLocIdx = 1049; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -2291,23 +2291,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P87964.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P4621.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__P87964_mk(s) { +function particles_pruneParticles__P4621_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P87964, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P4621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___90297: undefined, + sources___6954: undefined, } } -function particles_pruneParticles_inline__P90306(s) { +function particles_pruneParticles_inline__P6963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2321,7 +2321,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P86103_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P2760_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1048; s.pc = 1; return s.tmp_0; case 1: @@ -2330,12 +2330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P90306.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__P6963.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__P90306_mk(s) { +function particles_pruneParticles_inline__P6963_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P90306, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P6963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2345,7 +2345,7 @@ function particles_pruneParticles_inline__P90306_mk(s) { -function particles_ParticleSource__prune__P86103(s) { +function particles_ParticleSource__prune__P2760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2355,15 +2355,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___90069 = undefined; - s.sources___90077 = undefined; - s.current___90091 = undefined; + s.scene___6726 = undefined; + s.sources___6734 = undefined; + s.current___6748 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -2406,36 +2406,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P85948_mk(s); + s.tmp_5 = game_currentScene__P2605_mk(s); s.callLocIdx = 1021; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___90069 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___90069); + s.scene___6726 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___6726); if (!r0) { step = 7; continue; } - r0 = s.scene___90069.fields["allSprites"]; + r0 = s.scene___6726.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1022; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___90077 = (r0); - s.tmp_0 = r0 = s.sources___90077; + s.sources___6734 = (r0); + s.tmp_0 = r0 = s.sources___6734; 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___90077); + r0 = pxsim_Array__length(s.sources___6734); 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___90077, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___6734, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -2444,35 +2444,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___90091 = (r0); + s.current___6748 = (r0); case 15: - s.tmp_0 = r0 = s.current___90091; + s.tmp_0 = r0 = s.current___6748; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___90091.fields["next"]; + r0 = s.current___6748.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___90091.fields["next"]; + r0 = s.current___6748.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___90091.fields["next"]; + r0 = s.current___6748.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___90091).fields["next"] = (s.tmp_4); + r0 = (s.current___6748).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___90091.fields["next"]; - s.current___90091 = (r0); + r0 = s.current___6748.fields["next"]; + s.current___6748 = (r0); case 19: { step = 15; continue; } case 20: @@ -2480,12 +2480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P86103.info = {"start":5104,"length":830,"line":166,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +particles_ParticleSource__prune__P2760.info = {"start":5104,"length":830,"line":166,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} -function particles_ParticleSource__prune__P86103_mk(s) { +function particles_ParticleSource__prune__P2760_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P86103, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P2760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2493,9 +2493,9 @@ function particles_ParticleSource__prune__P86103_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___90069: undefined, - sources___90077: undefined, - current___90091: undefined, + scene___6726: undefined, + sources___6734: undefined, + current___6748: undefined, arg0: undefined, } } @@ -2503,7 +2503,7 @@ function particles_ParticleSource__prune__P86103_mk(s) { -function helpers_arraySlice__P83458(s) { +function helpers_arraySlice__P115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2513,9 +2513,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___90313 = undefined; - s.len___90315 = undefined; - s.i___90349 = undefined; + s.res___6970 = undefined; + s.len___6972 = undefined; + s.i___7006 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2523,9 +2523,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___90313 = (r0); + s.res___6970 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___90315 = (r0); + s.len___6972 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -2537,8 +2537,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P83473_mk(s); - r0 = (s.len___90315 + s.arg1); + s.tmp_1 = Math_max__P130_mk(s); + r0 = (s.len___6972 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 8; s.pc = 16; return s.tmp_1; @@ -2548,11 +2548,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___90315); + r0 = (s.arg1 > s.len___6972); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___90313; + r0 = s.res___6970; { step = 15; continue; } case 5: case 6: @@ -2560,57 +2560,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___90315); + s.arg2 = (s.len___6972); { 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___90315 + s.arg2); + r0 = (s.len___6972 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___90315); + r0 = (s.arg2 > s.len___6972); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___90315); + s.arg2 = (s.len___6972); case 11: case 12: - s.i___90349 = (s.arg1); + s.i___7006 = (s.arg1); case 13: - r0 = (s.i___90349 < s.arg2); + r0 = (s.i___7006 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___90313; - r0 = pxsim_Array__getAt(s.arg0, s.i___90349); + s.tmp_1 = r0 = s.res___6970; + r0 = pxsim_Array__getAt(s.arg0, s.i___7006); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___90349 + 1); - s.i___90349 = (r0); + r0 = (s.i___7006 + 1); + s.i___7006 = (r0); { step = 13; continue; } case 14: - r0 = s.res___90313; + r0 = s.res___6970; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P83458.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P115.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P83458_mk(s) { +function helpers_arraySlice__P115_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P83458, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___90313: undefined, - len___90315: undefined, - i___90349: undefined, + res___6970: undefined, + len___6972: undefined, + i___7006: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2620,7 +2620,7 @@ function helpers_arraySlice__P83458_mk(s) { -function Math_max__P83473(s) { +function Math_max__P130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2648,12 +2648,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P83473.info = {"start":16564,"length":105,"line":556,"column":4,"endLine":559,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P130.info = {"start":16564,"length":105,"line":556,"column":4,"endLine":559,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P83473_mk(s) { +function Math_max__P130_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P83473, depth: s.depth + 1, + parent: s, fn: Math_max__P130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2664,7 +2664,7 @@ function Math_max__P83473_mk(s) { -function helpers_arrayForEach__P83452(s) { +function helpers_arrayForEach__P109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2674,49 +2674,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___90373 = undefined; - s.i___90376 = undefined; + s.len___7030 = undefined; + s.i___7033 = 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___90373 = (r0); - s.i___90376 = (0); + s.len___7030 = (r0); + s.i___7033 = (0); case 1: - r0 = (s.i___90376 < s.len___90373); + r0 = (s.i___7033 < s.len___7030); 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___90376); + r0 = pxsim_Array__getAt(s.arg0, s.i___7033); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___90376; + s.tmp_1.arg1 = s.i___7033; 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___90376 + 1); - s.i___90376 = (r0); + r0 = (s.i___7033 + 1); + s.i___7033 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P83452.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P109.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -function helpers_arrayForEach__P83452_mk(s) { +function helpers_arrayForEach__P109_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P83452, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___90373: undefined, - i___90376: undefined, + len___7030: undefined, + i___7033: undefined, arg0: undefined, arg1: undefined, } } @@ -2725,7 +2725,7 @@ function helpers_arrayForEach__P83452_mk(s) { -function particles_updateParticles__P87963(s) { +function particles_updateParticles__P4620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2735,16 +2735,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___90858 = undefined; - s.time___90865 = undefined; - s.dt___90868 = undefined; - s.i___90874 = undefined; - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.sources___7515 = undefined; + s.time___7522 = undefined; + s.dt___7525 = undefined; + s.i___7531 = undefined; + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1043; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___90858 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___90858); + s.sources___7515 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___7515); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2753,34 +2753,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P87965_mk(s); - s.tmp_2.arg0 = s.sources___90858; + s.tmp_2 = particles_sortSources__P4622_mk(s); + s.tmp_2.arg0 = s.sources___7515; s.callLocIdx = 1044; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___90865 = (r0); - r0 = (s.time___90865 - globals.lastUpdate___87957); - s.dt___90868 = (r0); - globals.lastUpdate___87957 = (s.time___90865); - s.i___90874 = (0); + s.time___7522 = (r0); + r0 = (s.time___7522 - globals.lastUpdate___4614); + s.dt___7525 = (r0); + globals.lastUpdate___4614 = (s.time___7522); + s.i___7531 = (0); case 3: - s.tmp_1 = r0 = s.i___90874; - r0 = pxsim_Array__length(s.sources___90858); + s.tmp_1 = r0 = s.i___7531; + r0 = pxsim_Array__length(s.sources___7515); 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__P86102_mk(s); - r0 = pxsim_Array__getAt(s.sources___90858, s.i___90874); + s.tmp_3 = particles_ParticleSource__update__P2759_mk(s); + r0 = pxsim_Array__getAt(s.sources___7515, s.i___7531); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___90868; + s.tmp_3.arg1 = s.dt___7525; s.callLocIdx = 1045; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___90874 + 1); - s.i___90874 = (r0); + r0 = (s.i___7531 + 1); + s.i___7531 = (r0); { step = 3; continue; } case 4: case 5: @@ -2788,28 +2788,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P87963.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P4620.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__P87963_mk(s) { +function particles_updateParticles__P4620_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P87963, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P4620, 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___90858: undefined, - time___90865: undefined, - dt___90868: undefined, - i___90874: undefined, + sources___7515: undefined, + time___7522: undefined, + dt___7525: undefined, + i___7531: undefined, } } -function particles_ParticleSource__update__P86102(s) { +function particles_ParticleSource__update__P2759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2819,16 +2819,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___90937 = undefined; - s.current___90956 = undefined; - s.fixedDt___90964 = undefined; + s.p___7594 = undefined; + s.current___7613 = undefined; + s.fixedDt___7621 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -2854,7 +2854,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P86109_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P2766_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1016; s.pc = 28; return s.tmp_0; case 28: @@ -2927,7 +2927,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P86107_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P2764_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1019; s.pc = 31; return s.tmp_2; case 31: @@ -2945,18 +2945,18 @@ switch (step) { r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; r0 = (s.tmp_4).fields["timer"] = (s.tmp_5); - s.tmp_0 = particles_ParticleFactory__C86131_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C2788_v0_2_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["anchor"]; s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C86131_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C2788_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.createParticle; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.p___90937 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___90937); + s.p___7594 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___7594); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2967,8 +2967,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___90937).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___90937); + r0 = (s.p___7594).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___7594); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -2983,7 +2983,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___90956 = (r0); + s.current___7613 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -2995,36 +2995,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___90964 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___90964); + s.fixedDt___7621 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___7621); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___90956.fields["lifespan"]; + r0 = s.current___7613.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___90956; + s.tmp_2 = r0 = s.current___7613; r0 = s.tmp_2.fields["lifespan"]; s.tmp_4 = r0; r0 = (s.tmp_4 - s.arg1); s.tmp_3 = r0; r0 = (s.tmp_2).fields["lifespan"] = (s.tmp_3); - s.tmp_0 = particles_ParticleSource__C86095_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C2752_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___90956; - s.tmp_0.arg2 = s.fixedDt___90964; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C86095_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___7613; + s.tmp_0.arg2 = s.fixedDt___7621; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C2752_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 20: case 21: - r0 = s.current___90956.fields["next"]; + r0 = s.current___7613.fields["next"]; s.tmp_0 = r0; - s.current___90956 = (r0); + s.current___7613 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -3033,15 +3033,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___90956; + s.tmp_0 = r0 = s.current___7613; 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___90956.fields["next"]; + r0 = s.current___7613.fields["next"]; s.tmp_0 = r0; - s.current___90956 = (r0); + s.current___7613 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -3052,12 +3052,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P86102.info = {"start":3694,"length":1400,"line":124,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} +particles_ParticleSource__update__P2759.info = {"start":3694,"length":1400,"line":124,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} -function particles_ParticleSource__update__P86102_mk(s) { +function particles_ParticleSource__update__P2759_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P86102, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P2759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3067,9 +3067,9 @@ function particles_ParticleSource__update__P86102_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___90937: undefined, - current___90956: undefined, - fixedDt___90964: undefined, + p___7594: undefined, + current___7613: undefined, + fixedDt___7621: undefined, arg0: undefined, arg1: undefined, } } @@ -3078,7 +3078,7 @@ function particles_ParticleSource__update__P86102_mk(s) { -function particles_ParticleSource_updateParticle__P87959(s) { +function particles_ParticleSource_updateParticle__P4616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3095,7 +3095,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -3150,12 +3150,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P87959.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__P4616.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__P87959_mk(s) { +function particles_ParticleSource_updateParticle__P4616_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P87959, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P4616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3172,7 +3172,7 @@ function particles_ParticleSource_updateParticle__P87959_mk(s) { -function Fx_rightShift__P83512(s) { +function Fx_rightShift__P169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3191,12 +3191,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P83512.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P169.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P83512_mk(s) { +function Fx_rightShift__P169_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P83512, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3206,7 +3206,7 @@ function Fx_rightShift__P83512_mk(s) { -function Fx_mul__P83503(s) { +function Fx_mul__P160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3227,12 +3227,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P83503.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} +Fx_mul__P160.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} -function Fx_mul__P83503_mk(s) { +function Fx_mul__P160_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P83503, depth: s.depth + 1, + parent: s, fn: Fx_mul__P160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3243,7 +3243,7 @@ function Fx_mul__P83503_mk(s) { -function Fx_add__P83500(s) { +function Fx_add__P157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3262,12 +3262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P83500.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} +Fx_add__P157.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} -function Fx_add__P83500_mk(s) { +function Fx_add__P157_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P83500, depth: s.depth + 1, + parent: s, fn: Fx_add__P157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3277,7 +3277,7 @@ function Fx_add__P83500_mk(s) { -function particles_ParticleFactory_createParticle__P86133(s) { +function particles_ParticleFactory_createParticle__P2790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3287,17 +3287,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___91061 = undefined; + s.p___7718 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C86131_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C86076_VT); - s.p___91061 = (r0); - s.tmp_0 = r0 = s.p___91061; + if (!checkSubtype(r0, particles_ParticleFactory__C2788_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C2733_VT); + s.p___7718 = (r0); + s.tmp_0 = r0 = s.p___7718; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -3316,7 +3316,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___91061; + s.tmp_0 = r0 = s.p___7718; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -3335,26 +3335,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___91061).fields["vx"] = (0); - r0 = (s.p___91061).fields["vy"] = (0); - r0 = (s.p___91061).fields["lifespan"] = (500); - r0 = s.p___91061; + r0 = (s.p___7718).fields["vx"] = (0); + r0 = (s.p___7718).fields["vy"] = (0); + r0 = (s.p___7718).fields["lifespan"] = (500); + r0 = s.p___7718; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P86133.info = {"start":1822,"length":282,"line":67,"column":8,"endLine":77,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_ParticleFactory_createParticle__P2790.info = {"start":1822,"length":282,"line":67,"column":8,"endLine":77,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_ParticleFactory_createParticle__P86133_mk(s) { +function particles_ParticleFactory_createParticle__P2790_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P86133, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P2790, 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, - p___91061: undefined, + p___7718: undefined, arg0: undefined, arg1: undefined, } } @@ -3363,7 +3363,7 @@ function particles_ParticleFactory_createParticle__P86133_mk(s) { -function game_onUpdateInterval__P85968(s) { +function game_onUpdateInterval__P2625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3373,7 +3373,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___90395 = undefined; + s.timer___7052 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3398,15 +3398,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___90395 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___90395, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P90399); + s.timer___7052 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___7052, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P7056); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___90395); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___7052); 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__P83744_mk(s); - s.tmp_2 = game_eventContext__P85951_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_2 = game_eventContext__P2608_mk(s); s.callLocIdx = 827; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -3421,17 +3421,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P85968.info = {"start":891,"length":401,"line":28,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P2625.info = {"start":891,"length":401,"line":28,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P85968_mk(s) { +function game_onUpdateInterval__P2625_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P85968, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P2625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___90395: undefined, + timer___7052: undefined, arg0: undefined, arg1: undefined, } } @@ -3440,7 +3440,7 @@ function game_onUpdateInterval__P85968_mk(s) { -function game_onUpdateInterval_inline__P90399(s) { +function game_onUpdateInterval_inline__P7056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3450,22 +3450,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___90400 = undefined; - s.tmp_1 = game_currentScene__P85948_mk(s); + s.time___7057 = undefined; + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 828; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___90400 = (r0); + s.time___7057 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___90400); + r0 = (s.tmp_1 <= s.time___7057); 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___90400 + s.caps[1]); + r0 = (s.time___7057 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -3480,25 +3480,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P90399.info = {"start":1105,"length":179,"line":31,"column":81,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} +game_onUpdateInterval_inline__P7056.info = {"start":1105,"length":179,"line":31,"column":81,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval_inline__P90399_mk(s) { +function game_onUpdateInterval_inline__P7056_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P90399, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P7056, 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___90400: undefined, + time___7057: undefined, } } -function scene_Scene_millis__P85859(s) { +function scene_Scene_millis__P2516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3513,17 +3513,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C85835_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2492_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P85859.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P2516.info = {"start":6788,"length":61,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P85859_mk(s) { +function scene_Scene_millis__P2516_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P85859, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P2516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3532,7 +3532,7 @@ function scene_Scene_millis__P85859_mk(s) { -function control_EventContext_registerFrameHandler__P83744(s) { +function control_EventContext_registerFrameHandler__P401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3542,8 +3542,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___90427 = undefined; - s.i___90436 = undefined; + s.fn___7084 = undefined; + s.i___7093 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3551,7 +3551,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -3564,20 +3564,20 @@ 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__P87270_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P3927_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 51; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C83733_VT); - s.fn___90427 = (r0); - r0 = (s.fn___90427).fields["order"] = (s.arg1); - r0 = (s.fn___90427).fields["handler"] = (s.arg2); - s.i___90436 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C390_VT); + s.fn___7084 = (r0); + r0 = (s.fn___7084).fields["order"] = (s.arg1); + r0 = (s.fn___7084).fields["handler"] = (s.arg2); + s.i___7093 = (0); case 3: - s.tmp_1 = r0 = s.i___90436; + s.tmp_1 = r0 = s.i___7093; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -3588,7 +3588,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___90436); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___7093); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -3597,29 +3597,29 @@ 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___90436, s.fn___90427); - r0 = s.fn___90427; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___7093, s.fn___7084); + r0 = s.fn___7084; { step = 7; continue; } case 4: case 5: - r0 = (s.i___90436 + 1); - s.i___90436 = (r0); + r0 = (s.i___7093 + 1); + s.i___7093 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___90427); - r0 = s.fn___90427; + r0 = pxsim_Array__push(s.tmp_0, s.fn___7084); + r0 = s.fn___7084; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P83744.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P401.info = {"start":4675,"length":643,"line":143,"column":8,"endLine":160,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P83744_mk(s) { +function control_EventContext_registerFrameHandler__P401_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P83744, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3629,8 +3629,8 @@ function control_EventContext_registerFrameHandler__P83744_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___90427: undefined, - i___90436: undefined, + fn___7084: undefined, + i___7093: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3640,7 +3640,7 @@ function control_EventContext_registerFrameHandler__P83744_mk(s) { -function control_EventContext_registerFrameCallbacks__P87270(s) { +function control_EventContext_registerFrameCallbacks__P3927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3650,13 +3650,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___90470 = undefined; + s.worker___7127 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -3669,28 +3669,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___90470 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P90476); + s.worker___7127 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P7133); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___90470); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___7127); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P87270.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P3927.info = {"start":3481,"length":895,"line":105,"column":8,"endLine":129,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P87270_mk(s) { +function control_EventContext_registerFrameCallbacks__P3927_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P87270, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P3927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___90470: undefined, + worker___7127: undefined, arg0: undefined, } } @@ -3698,7 +3698,7 @@ function control_EventContext_registerFrameCallbacks__P87270_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P90476(s) { +function control_EventContext_registerFrameCallbacks_inline__P7133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3708,15 +3708,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___90506 = undefined; + s.delay___7163 = 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__P90482); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P7139); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P83708_mk(s); + s.tmp_2 = pauseUntil__P365_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 45; s.pc = 5; return s.tmp_2; @@ -3739,14 +3739,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__P87269_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P3926_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___90506 = (r0); - s.tmp_0 = pause__P83754_mk(s); - s.tmp_0.arg0 = s.delay___90506; + s.delay___7163 = (r0); + s.tmp_0 = pause__P411_mk(s); + s.tmp_0.arg0 = s.delay___7163; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -3757,24 +3757,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P90476.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P7133.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P90476_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P7133_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P90476, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P7133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___90506: undefined, + delay___7163: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P90482(s) { +function control_EventContext_registerFrameCallbacks_inline__P7139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3792,12 +3792,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P90482.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P7139.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P90482_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P7139_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P90482, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P7139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3807,7 +3807,7 @@ function control_EventContext_registerFrameCallbacks_inline__P90482_mk(s) { -function control_EventContext_runCallbacks__P87269(s) { +function control_EventContext_runCallbacks__P3926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3817,42 +3817,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___90515 = undefined; - s.f___90528 = undefined; - s.unnamed448___U2 = undefined; - s.unnamed449___U3 = undefined; - s.runtime___90533 = undefined; - s.fps___90553 = undefined; - s.delay___90615 = undefined; + s.loopStart___7172 = undefined; + s.f___7185 = undefined; + s.unnamed48___U2 = undefined; + s.unnamed49___U3 = undefined; + s.runtime___7190 = undefined; + s.fps___7210 = undefined; + s.delay___7272 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___90515 = (r0); + s.loopStart___7172 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___90515 - s.tmp_2); + r0 = (s.loopStart___7172 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___90515); - s.f___90528 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___7172); + s.f___7185 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed448___U2 = (r0); - s.unnamed449___U3 = (0); + s.unnamed48___U2 = (r0); + s.unnamed49___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed449___U3; - r0 = pxsim_Array__length(s.unnamed448___U2); + s.tmp_0 = r0 = s.unnamed49___U3; + r0 = pxsim_Array__length(s.unnamed48___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed448___U2, s.unnamed449___U3); - s.f___90528 = (r0); + r0 = pxsim_Array__getAt(s.unnamed48___U2, s.unnamed49___U3); + s.f___7185 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___90528; + s.tmp_2.arg0 = s.f___7185; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 42; s.pc = 13; return s.tmp_2; @@ -3864,19 +3864,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed449___U3 + 1); - s.unnamed449___U3 = (r0); + r0 = (s.unnamed49___U3 + 1); + s.unnamed49___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed448___U2 = (undefined); + s.unnamed48___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___90515); - s.runtime___90533 = (r0); + r0 = (s.tmp_0 - s.loopStart___7172); + s.runtime___7190 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___90533); + r0 = (s.tmp_2 + s.runtime___7190); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -3909,8 +3909,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___90553 = (r0); - r0 = pxsim.Math_.round(s.fps___90553); + s.fps___7210 = (r0); + r0 = pxsim.Math_.round(s.fps___7210); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -3922,21 +3922,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___83738 = (r0); - r0 = (s.fps___90553 < 99); + globals.control_EventContext_lastStats___395 = (r0); + r0 = (s.fps___7210 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___83738) && (globals.control_EventContext_lastStats___83738).vtable) { + if ((globals.control_EventContext_lastStats___395) && (globals.control_EventContext_lastStats___395).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___83738); + pxsim_String__stringConv(globals.control_EventContext_lastStats___395); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___83738) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___395) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___90553 * 10); + r0 = (s.fps___7210 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -3963,10 +3963,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___83738 = (r0); + globals.control_EventContext_lastStats___395 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P83687_mk(s); + s.tmp_2 = control_ramSize__P344_mk(s); s.callLocIdx = 43; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -3986,7 +3986,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___90553 * 100); + r0 = (s.fps___7210 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -4027,24 +4027,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P83473_mk(s); + s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___90533); + r0 = (20 - s.runtime___7190); s.tmp_0.arg1 = r0; s.callLocIdx = 44; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___90615 = (r0); - r0 = s.delay___90615; + s.delay___7272 = (r0); + r0 = s.delay___7272; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P87269.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P3926.info = {"start":2182,"length":1246,"line":74,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P87269_mk(s) { +function control_EventContext_runCallbacks__P3926_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P87269, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P3926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4060,13 +4060,13 @@ function control_EventContext_runCallbacks__P87269_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___90515: undefined, - f___90528: undefined, - unnamed448___U2: undefined, - unnamed449___U3: undefined, - runtime___90533: undefined, - fps___90553: undefined, - delay___90615: undefined, + loopStart___7172: undefined, + f___7185: undefined, + unnamed48___U2: undefined, + unnamed49___U3: undefined, + runtime___7190: undefined, + fps___7210: undefined, + delay___7272: undefined, arg0: undefined, } } @@ -4074,7 +4074,7 @@ function control_EventContext_runCallbacks__P87269_mk(s) { -function control_ramSize__P83687(s) { +function control_ramSize__P344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4099,12 +4099,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P83687.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P344.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function control_ramSize__P83687_mk(s) { +function control_ramSize__P344_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P83687, depth: s.depth + 1, + parent: s, fn: control_ramSize__P344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4114,7 +4114,7 @@ function control_ramSize__P83687_mk(s) { -function control__ramSize__P87235(s) { +function control__ramSize__P3892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4128,12 +4128,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P87235.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P3892.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__P87235_mk(s) { +function control__ramSize__P3892_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P87235, depth: s.depth + 1, + parent: s, fn: control__ramSize__P3892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -4141,7 +4141,7 @@ function control__ramSize__P87235_mk(s) { -function pauseUntil__P83708(s) { +function pauseUntil__P365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4188,7 +4188,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P83707_mk(s); + s.tmp_0 = control___queuePollEvent__P364_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -4200,12 +4200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P83708.info = {"start":2224,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P365.info = {"start":2224,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function pauseUntil__P83708_mk(s) { +function pauseUntil__P365_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P83708, depth: s.depth + 1, + parent: s, fn: pauseUntil__P365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4221,7 +4221,7 @@ function pauseUntil__P83708_mk(s) { -function control___queuePollEvent__P83707(s) { +function control___queuePollEvent__P364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4231,16 +4231,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___90637 = undefined; + s.ev___7294 = 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__C87243_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C3900_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P87244_mk(s); + s.tmp_1 = control_PollEvent_constructor__P3901_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -4256,8 +4256,8 @@ switch (step) { s.callLocIdx = 27; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___90637 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___87246); + s.ev___7294 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___3903); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4265,19 +4265,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___90637); - globals._pollEventQueue___87246 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P87247); + r0 = pxsim_Array__push(s.tmp_2, s.ev___7294); + globals._pollEventQueue___3903 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P3904); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___87246, s.ev___90637); + r0 = pxsim_Array__push(globals._pollEventQueue___3903, s.ev___7294); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P83732_mk(s); - r0 = s.ev___90637.fields["eid"]; + s.tmp_0 = control_onEvent__P389_mk(s); + r0 = s.ev___7294.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___90637.fields["vid"]; + r0 = s.ev___7294.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -4286,9 +4286,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___90637.fields["eid"]; + r0 = s.ev___7294.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___90637.fields["vid"]; + r0 = s.ev___7294.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -4301,17 +4301,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P83707.info = {"start":1262,"length":758,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P364.info = {"start":1262,"length":758,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function control___queuePollEvent__P83707_mk(s) { +function control___queuePollEvent__P364_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P83707, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___90637: undefined, + ev___7294: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4321,7 +4321,7 @@ function control___queuePollEvent__P83707_mk(s) { -function control_pollEvents__P87247(s) { +function control_pollEvents__P3904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4331,31 +4331,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___90764 = undefined; - s.i___90767 = undefined; - s.ev___90773 = undefined; + s.now___7421 = undefined; + s.i___7424 = undefined; + s.ev___7430 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___87246); + r0 = pxsim_Array__length(globals._pollEventQueue___3903); 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___90764 = (r0); - s.i___90767 = (0); + s.now___7421 = (r0); + s.i___7424 = (0); case 2: - s.tmp_1 = r0 = s.i___90767; - r0 = pxsim_Array__length(globals._pollEventQueue___87246); + s.tmp_1 = r0 = s.i___7424; + r0 = pxsim_Array__length(globals._pollEventQueue___3903); 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___87246, s.i___90767); - s.ev___90773 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___3903, s.i___7424); + s.ev___7430 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___90773; + s.tmp_1.arg0 = s.ev___7430; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; @@ -4373,7 +4373,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___90773.fields["timeOut"]; + r0 = s.ev___7430.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -4382,11 +4382,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___90773.fields["start"]; + r0 = s.ev___7430.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___90764 - s.tmp_5); + r0 = (s.now___7421 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___90773.fields["timeOut"]; + r0 = s.ev___7430.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -4398,50 +4398,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___90773.fields["eid"]; + r0 = s.ev___7430.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___90773.fields["vid"]; + r0 = s.ev___7430.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___90773.fields["once"]; + r0 = s.ev___7430.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P83443_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___87246; - s.tmp_1.arg1 = s.i___90767; + s.tmp_1 = helpers_arraySplice__P100_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___3903; + s.tmp_1.arg1 = s.i___7424; s.tmp_1.arg2 = 1; s.callLocIdx = 25; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___90767 - 1); - s.i___90767 = (r0); + r0 = (s.i___7424 - 1); + s.i___7424 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___90767 + 1); - s.i___90767 = (r0); + r0 = (s.i___7424 + 1); + s.i___7424 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P83754_mk(s); + s.tmp_0 = pause__P411_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 26; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___87246 = (undefined); + globals._pollEventQueue___3903 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P87247.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P3904.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__P87247_mk(s) { +function control_pollEvents__P3904_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P87247, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P3904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4454,16 +4454,16 @@ function control_pollEvents__P87247_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___90764: undefined, - i___90767: undefined, - ev___90773: undefined, + now___7421: undefined, + i___7424: undefined, + ev___7430: undefined, } } -function helpers_arraySplice__P83443(s) { +function helpers_arraySplice__P100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4473,7 +4473,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___90821 = undefined; + s.i___7478 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4487,15 +4487,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___90821 = (0); + s.i___7478 = (0); case 3: - r0 = (s.i___90821 < s.arg2); + r0 = (s.i___7478 < 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___90821 + 1); - s.i___90821 = (r0); + r0 = (s.i___7478 + 1); + s.i___7478 = (r0); { step = 3; continue; } case 4: case 5: @@ -4503,15 +4503,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P83443.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P100.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -function helpers_arraySplice__P83443_mk(s) { +function helpers_arraySplice__P100_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P83443, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___90821: undefined, + i___7478: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4521,7 +4521,7 @@ function helpers_arraySplice__P83443_mk(s) { -function control_PollEvent_constructor__P87244(s) { +function control_PollEvent_constructor__P3901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4542,7 +4542,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C87243_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C3900_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -4553,12 +4553,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P87244.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__P3901.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__P87244_mk(s) { +function control_PollEvent_constructor__P3901_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P87244, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P3901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4573,7 +4573,7 @@ function control_PollEvent_constructor__P87244_mk(s) { -function control_onEvent__P83732(s) { +function control_onEvent__P389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4583,7 +4583,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___90680 = undefined; + s.ctx___7337 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4591,12 +4591,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P83749_mk(s); + s.tmp_0 = control_eventContext__P406_mk(s); s.callLocIdx = 39; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___90680 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___90680); + s.ctx___7337 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___7337); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4605,8 +4605,8 @@ switch (step) { r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P83746_mk(s); - s.tmp_0.arg0 = s.ctx___90680; + s.tmp_0 = control_EventContext_registerHandler__P403_mk(s); + s.tmp_0.arg0 = s.ctx___7337; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -4619,16 +4619,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P83732.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]} +control_onEvent__P389.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]} -function control_onEvent__P83732_mk(s) { +function control_onEvent__P389_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P83732, depth: s.depth + 1, + parent: s, fn: control_onEvent__P389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___90680: undefined, + ctx___7337: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4639,7 +4639,7 @@ function control_onEvent__P83732_mk(s) { -function control_eventContext__P83749(s) { +function control_eventContext__P406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4649,10 +4649,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___87272); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3929); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___87272; - r0 = pxsim_Array__length(globals.eventContexts___87272); + s.tmp_0 = r0 = globals.eventContexts___3929; + r0 = pxsim_Array__length(globals.eventContexts___3929); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -4667,12 +4667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P83749.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P406.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P83749_mk(s) { +function control_eventContext__P406_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P83749, depth: s.depth + 1, + parent: s, fn: control_eventContext__P406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4684,7 +4684,7 @@ function control_eventContext__P83749_mk(s) { -function control_EventContext_registerHandler__P83746(s) { +function control_EventContext_registerHandler__P403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4694,10 +4694,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___90703 = undefined; - s.unnamed454___U1 = undefined; - s.unnamed455___U2 = undefined; - s.hn___90726 = undefined; + s.h___7360 = undefined; + s.unnamed54___U1 = undefined; + s.unnamed55___U2 = undefined; + s.hn___7383 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4707,20 +4707,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); - s.h___90703 = (undefined); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + s.h___7360 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed454___U1 = (r0); - s.unnamed455___U2 = (0); + s.unnamed54___U1 = (r0); + s.unnamed55___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed455___U2; - r0 = pxsim_Array__length(s.unnamed454___U1); + s.tmp_0 = r0 = s.unnamed55___U2; + r0 = pxsim_Array__length(s.unnamed54___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed454___U1, s.unnamed455___U2); - s.h___90703 = (r0); - r0 = s.h___90703.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed54___U1, s.unnamed55___U2); + s.h___7360 = (r0); + r0 = s.h___7360.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -4729,7 +4729,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___90703.fields["value"]; + r0 = s.h___7360.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -4737,19 +4737,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___90703).fields["flags"] = (s.arg4); - r0 = (s.h___90703).fields["handler"] = (s.arg3); + r0 = (s.h___7360).fields["flags"] = (s.arg4); + r0 = (s.h___7360).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed455___U2 + 1); - s.unnamed455___U2 = (r0); + r0 = (s.unnamed55___U2 + 1); + s.unnamed55___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed454___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C87264_VT); + s.unnamed54___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C3921_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P87267_mk(s); + s.tmp_1 = control_EventHandler_constructor__P3924_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -4758,12 +4758,12 @@ switch (step) { s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___90726 = (s.tmp_0); + s.hn___7383 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___90726); - s.tmp_0 = control_EventHandler_register__P87265_mk(s); - s.tmp_0.arg0 = s.hn___90726; + r0 = pxsim_Array__push(s.tmp_0, s.hn___7383); + s.tmp_0 = control_EventHandler_register__P3922_mk(s); + s.tmp_0.arg0 = s.hn___7383; s.callLocIdx = 53; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -4772,12 +4772,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P83746.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P403.info = {"start":5573,"length":525,"line":169,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P83746_mk(s) { +function control_EventContext_registerHandler__P403_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P83746, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4785,10 +4785,10 @@ function control_EventContext_registerHandler__P83746_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___90703: undefined, - unnamed454___U1: undefined, - unnamed455___U2: undefined, - hn___90726: undefined, + h___7360: undefined, + unnamed54___U1: undefined, + unnamed55___U2: undefined, + hn___7383: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4800,7 +4800,7 @@ function control_EventContext_registerHandler__P83746_mk(s) { -function control_EventHandler_constructor__P87267(s) { +function control_EventHandler_constructor__P3924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4819,7 +4819,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C87264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C3921_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -4828,12 +4828,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P87267.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__P3924.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__P87267_mk(s) { +function control_EventHandler_constructor__P3924_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P87267, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P3924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4846,7 +4846,7 @@ function control_EventHandler_constructor__P87267_mk(s) { -function control_EventHandler_register__P87265(s) { +function control_EventHandler_register__P3922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4861,8 +4861,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C87264_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P90747); + if (!checkSubtype(r0, control_EventHandler__C3921_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P7404); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -4876,12 +4876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P87265.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__P3922.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__P87265_mk(s) { +function control_EventHandler_register__P3922_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P87265, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P3922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4894,7 +4894,7 @@ function control_EventHandler_register__P87265_mk(s) { -function control_EventHandler_register_inline__P90747(s) { +function control_EventHandler_register_inline__P7404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4927,12 +4927,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P90747.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__P7404.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__P90747_mk(s) { +function control_EventHandler_register_inline__P7404_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P90747, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P7404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4942,7 +4942,7 @@ function control_EventHandler_register_inline__P90747_mk(s) { -function game_onUpdate__P85967(s) { +function game_onUpdate__P2624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4965,8 +4965,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P83744_mk(s); - s.tmp_3 = game_eventContext__P85951_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P401_mk(s); + s.tmp_3 = game_eventContext__P2608_mk(s); s.callLocIdx = 825; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -4981,12 +4981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P85967.info = {"start":405,"length":153,"line":15,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P2624.info = {"start":405,"length":153,"line":15,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P85967_mk(s) { +function game_onUpdate__P2624_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P85967, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P2624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4999,7 +4999,7 @@ function game_onUpdate__P85967_mk(s) { -function MAX_SOURCES_inline__P90253(s) { +function MAX_SOURCES_inline__P6910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5009,13 +5009,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___90254 = undefined; - s.tmp_0 = control_ramSize__P83687_mk(s); + s.sz___6911 = undefined; + s.tmp_0 = control_ramSize__P344_mk(s); s.callLocIdx = 28; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___90254 = (r0); - r0 = (s.sz___90254 <= 102400); + s.sz___6911 = (r0); + r0 = (s.sz___6911 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -5023,7 +5023,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___90254 <= 204800); + r0 = (s.sz___6911 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -5040,23 +5040,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P90253.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__P6910.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__P90253_mk(s) { +function MAX_SOURCES_inline__P6910_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P90253, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P6910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___90254: undefined, + sz___6911: undefined, } } -function particles_SprayFactory_constructor__P86136(s) { +function particles_SprayFactory_constructor__P2793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5074,19 +5074,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C86135_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2792_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P87983_mk(s); + s.tmp_0 = particles_initTrig__P4640_mk(s); s.callLocIdx = 1077; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P86139_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P2796_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1078; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P86140_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P2797_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -5097,12 +5097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P86136.info = {"start":2623,"length":218,"line":98,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","speed","centerDegrees","arcDegrees"]} +particles_SprayFactory_constructor__P2793.info = {"start":2623,"length":218,"line":98,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","speed","centerDegrees","arcDegrees"]} -function particles_SprayFactory_constructor__P86136_mk(s) { +function particles_SprayFactory_constructor__P2793_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P86136, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P2793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5115,7 +5115,7 @@ function particles_SprayFactory_constructor__P86136_mk(s) { -function particles_initTrig__P87983(s) { +function particles_initTrig__P4640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5125,36 +5125,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___87969); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___4626); 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; } - s.tmp_2 = particles_cacheSin__P86129_mk(s); + s.tmp_2 = particles_cacheSin__P2786_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1065; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___87969 = (r0); - s.tmp_0 = particles_cacheCos__P86130_mk(s); + globals.cachedSin___4626 = (r0); + s.tmp_0 = particles_cacheCos__P2787_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1066; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___87970 = (r0); + globals.cachedCos___4627 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P87983.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P4640.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__P87983_mk(s) { +function particles_initTrig__P4640_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P87983, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P4640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5165,7 +5165,7 @@ function particles_initTrig__P87983_mk(s) { -function particles_cacheCos__P86130(s) { +function particles_cacheCos__P2787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5175,25 +5175,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___89947 = undefined; - s.anglePerSlice___89949 = undefined; - s.i___89955 = undefined; + s.cos___6604 = undefined; + s.anglePerSlice___6606 = undefined; + s.i___6612 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___89947 = (r0); + s.cos___6604 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___89949 = (r0); - s.i___89955 = (0); + s.anglePerSlice___6606 = (r0); + s.i___6612 = (0); case 1: - r0 = (s.i___89955 < s.arg0); + r0 = (s.i___6612 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___89947; - r0 = (s.i___89955 * s.anglePerSlice___89949); + s.tmp_1 = r0 = s.cos___6604; + r0 = (s.i___6612 * s.anglePerSlice___6606); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -5202,20 +5202,20 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___89955 + 1); - s.i___89955 = (r0); + r0 = (s.i___6612 + 1); + s.i___6612 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___89947; + r0 = s.cos___6604; return leave(s, r0) default: oops() } } } -particles_cacheCos__P86130.info = {"start":1005,"length":263,"line":35,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"cacheCos","argumentNames":["slices"]} +particles_cacheCos__P2787.info = {"start":1005,"length":263,"line":35,"column":4,"endLine":42,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"cacheCos","argumentNames":["slices"]} -function particles_cacheCos__P86130_mk(s) { +function particles_cacheCos__P2787_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P86130, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P2787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5223,9 +5223,9 @@ function particles_cacheCos__P86130_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___89947: undefined, - anglePerSlice___89949: undefined, - i___89955: undefined, + cos___6604: undefined, + anglePerSlice___6606: undefined, + i___6612: undefined, arg0: undefined, } } @@ -5233,7 +5233,7 @@ function particles_cacheCos__P86130_mk(s) { -function particles_cacheSin__P86129(s) { +function particles_cacheSin__P2786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5243,25 +5243,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___89973 = undefined; - s.anglePerSlice___89975 = undefined; - s.i___89981 = undefined; + s.sin___6630 = undefined; + s.anglePerSlice___6632 = undefined; + s.i___6638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___89973 = (r0); + s.sin___6630 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___89975 = (r0); - s.i___89981 = (0); + s.anglePerSlice___6632 = (r0); + s.i___6638 = (0); case 1: - r0 = (s.i___89981 < s.arg0); + r0 = (s.i___6638 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___89973; - r0 = (s.i___89981 * s.anglePerSlice___89975); + s.tmp_1 = r0 = s.sin___6630; + r0 = (s.i___6638 * s.anglePerSlice___6632); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -5270,20 +5270,20 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___89981 + 1); - s.i___89981 = (r0); + r0 = (s.i___6638 + 1); + s.i___6638 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___89973; + r0 = s.sin___6630; return leave(s, r0) default: oops() } } } -particles_cacheSin__P86129.info = {"start":594,"length":263,"line":22,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"cacheSin","argumentNames":["slices"]} +particles_cacheSin__P2786.info = {"start":594,"length":263,"line":22,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"cacheSin","argumentNames":["slices"]} -function particles_cacheSin__P86129_mk(s) { +function particles_cacheSin__P2786_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P86129, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P2786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5291,9 +5291,9 @@ function particles_cacheSin__P86129_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___89973: undefined, - anglePerSlice___89975: undefined, - i___89981: undefined, + sin___6630: undefined, + anglePerSlice___6632: undefined, + i___6638: undefined, arg0: undefined, } } @@ -5301,7 +5301,7 @@ function particles_cacheSin__P86129_mk(s) { -function particles_SprayFactory_setDirection__P86140(s) { +function particles_SprayFactory_setDirection__P2797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5318,9 +5318,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C86135_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2792_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P87988_mk(s); + s.tmp_4 = particles_toRadians__P4645_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -5330,19 +5330,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___87982); + r0 = (s.tmp_3 / globals.angleSlice___4639); 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__P87988_mk(s); + s.tmp_4 = particles_toRadians__P4645_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1088; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___87982); + r0 = (s.tmp_3 / globals.angleSlice___4639); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -5351,12 +5351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P86140.info = {"start":3424,"length":228,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"setDirection","argumentNames":["this","centerDegrees","arcDegrees"]} +particles_SprayFactory_setDirection__P2797.info = {"start":3424,"length":228,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"setDirection","argumentNames":["this","centerDegrees","arcDegrees"]} -function particles_SprayFactory_setDirection__P86140_mk(s) { +function particles_SprayFactory_setDirection__P2797_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P86140, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P2797, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5374,7 +5374,7 @@ function particles_SprayFactory_setDirection__P86140_mk(s) { -function particles_toRadians__P87988(s) { +function particles_toRadians__P4645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5392,7 +5392,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P83471_mk(s); + s.tmp_3 = Math_abs__P128_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1069; s.pc = 3; return s.tmp_3; case 3: @@ -5411,12 +5411,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P87988.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__P4645.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__P87988_mk(s) { +function particles_toRadians__P4645_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P87988, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P4645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5429,7 +5429,7 @@ function particles_toRadians__P87988_mk(s) { -function Math_abs__P83471(s) { +function Math_abs__P128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5458,12 +5458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P83471.info = {"start":16095,"length":77,"line":538,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P128.info = {"start":16095,"length":77,"line":538,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P83471_mk(s) { +function Math_abs__P128_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P83471, depth: s.depth + 1, + parent: s, fn: Math_abs__P128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5474,7 +5474,7 @@ function Math_abs__P83471_mk(s) { -function particles_ParticleFactory_constructor__P86132(s) { +function particles_ParticleFactory_constructor__P2789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5489,17 +5489,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C86131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C2788_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P86132.info = {"start":1617,"length":78,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this"]} +particles_ParticleFactory_constructor__P2789.info = {"start":1617,"length":78,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this"]} -function particles_ParticleFactory_constructor__P86132_mk(s) { +function particles_ParticleFactory_constructor__P2789_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P86132, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P2789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5508,7 +5508,7 @@ function particles_ParticleFactory_constructor__P86132_mk(s) { -function particles_ParticleSource_setFactory__P86114(s) { +function particles_ParticleSource_setFactory__P2771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5524,7 +5524,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -5534,12 +5534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P86114.info = {"start":8124,"length":114,"line":272,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} +particles_ParticleSource_setFactory__P2771.info = {"start":8124,"length":114,"line":272,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} -function particles_ParticleSource_setFactory__P86114_mk(s) { +function particles_ParticleSource_setFactory__P2771_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P86114, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P2771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5549,7 +5549,7 @@ function particles_ParticleSource_setFactory__P86114_mk(s) { -function particles_ParticleSource_setRate__P86112(s) { +function particles_ParticleSource_setRate__P2769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5565,7 +5565,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -5577,12 +5577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P86112.info = {"start":7802,"length":139,"line":259,"column":8,"endLine":262,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} +particles_ParticleSource_setRate__P2769.info = {"start":7802,"length":139,"line":259,"column":8,"endLine":262,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} -function particles_ParticleSource_setRate__P86112_mk(s) { +function particles_ParticleSource_setRate__P2769_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P86112, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P2769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5595,7 +5595,7 @@ function particles_ParticleSource_setRate__P86112_mk(s) { -function particles_ParticleSource_setAnchor__P86111(s) { +function particles_ParticleSource_setAnchor__P2768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5611,18 +5611,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P86111.info = {"start":7594,"length":79,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +particles_ParticleSource_setAnchor__P2768.info = {"start":7594,"length":79,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -function particles_ParticleSource_setAnchor__P86111_mk(s) { +function particles_ParticleSource_setAnchor__P2768_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P86111, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P2768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5632,7 +5632,7 @@ function particles_ParticleSource_setAnchor__P86111_mk(s) { -function particles_ParticleSource_clear__P86110(s) { +function particles_ParticleSource_clear__P2767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5647,18 +5647,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P86110.info = {"start":7424,"length":54,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} +particles_ParticleSource_clear__P2767.info = {"start":7424,"length":54,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} -function particles_ParticleSource_clear__P86110_mk(s) { +function particles_ParticleSource_clear__P2767_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P86110, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P2767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5667,7 +5667,7 @@ function particles_ParticleSource_clear__P86110_mk(s) { -function particles_ParticleSource_destroy__P86109(s) { +function particles_ParticleSource_destroy__P2766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5682,8 +5682,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P86108_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P2765_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1026; s.pc = 1; return s.tmp_0; @@ -5695,7 +5695,7 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P86103_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P2760_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1027; s.pc = 2; return s.tmp_0; case 2: @@ -5704,12 +5704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P86109.info = {"start":7094,"length":240,"line":233,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} +particles_ParticleSource_destroy__P2766.info = {"start":7094,"length":240,"line":233,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} -function particles_ParticleSource_destroy__P86109_mk(s) { +function particles_ParticleSource_destroy__P2766_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P86109, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P2766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5721,7 +5721,7 @@ function particles_ParticleSource_destroy__P86109_mk(s) { -function particles_ParticleSource_enabled__P86108(s) { +function particles_ParticleSource_enabled__P2765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5737,9 +5737,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P86107_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P2764_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1025; s.pc = 5; return s.tmp_3; case 5: @@ -5770,12 +5770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P86108.info = {"start":6816,"length":214,"line":223,"column":8,"endLine":228,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} +particles_ParticleSource_enabled__P2765.info = {"start":6816,"length":214,"line":223,"column":8,"endLine":228,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} -function particles_ParticleSource_enabled__P86108_mk(s) { +function particles_ParticleSource_enabled__P2765_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P86108, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P2765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5792,7 +5792,7 @@ function particles_ParticleSource_enabled__P86108_mk(s) { -function particles_ParticleSource_enabled__P86107(s) { +function particles_ParticleSource_enabled__P2764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5807,7 +5807,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -5822,13 +5822,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P86107.info = {"start":6622,"length":76,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} -particles_ParticleSource_enabled__P86107.isGetter = true; +particles_ParticleSource_enabled__P2764.info = {"start":6622,"length":76,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} +particles_ParticleSource_enabled__P2764.isGetter = true; -function particles_ParticleSource_enabled__P86107_mk(s) { +function particles_ParticleSource_enabled__P2764_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P86107, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P2764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5842,7 +5842,7 @@ function particles_ParticleSource_enabled__P86107_mk(s) { -function particles_ParticleSource_setAcceleration__P86104(s) { +function particles_ParticleSource_setAcceleration__P2761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5859,7 +5859,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -5876,12 +5876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P86104.info = {"start":6026,"length":113,"line":194,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} +particles_ParticleSource_setAcceleration__P2761.info = {"start":6026,"length":113,"line":194,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} -function particles_ParticleSource_setAcceleration__P86104_mk(s) { +function particles_ParticleSource_setAcceleration__P2761_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P86104, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P2761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5895,7 +5895,7 @@ function particles_ParticleSource_setAcceleration__P86104_mk(s) { -function sprites_BaseSprite_constructor__P85227(s) { +function sprites_BaseSprite_constructor__P1884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5911,15 +5911,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P85230_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P1887_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 126; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P85860_mk(s); - s.tmp_1 = game_currentScene__P85948_mk(s); + s.tmp_0 = scene_Scene_addSprite__P2517_mk(s); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 127; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -5932,12 +5932,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P85227.info = {"start":344,"length":170,"line":15,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"inline","argumentNames":["this","z"]} +sprites_BaseSprite_constructor__P1884.info = {"start":344,"length":170,"line":15,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"inline","argumentNames":["this","z"]} -function sprites_BaseSprite_constructor__P85227_mk(s) { +function sprites_BaseSprite_constructor__P1884_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P85227, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P1884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5949,7 +5949,7 @@ function sprites_BaseSprite_constructor__P85227_mk(s) { -function scene_Scene_addSprite__P85860(s) { +function scene_Scene_addSprite__P2517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5965,7 +5965,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C85835_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2492_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -5992,12 +5992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P85860.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P2517.info = {"start":6859,"length":128,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P85860_mk(s) { +function scene_Scene_addSprite__P2517_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P85860, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P2517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6011,7 +6011,7 @@ function scene_Scene_addSprite__P85860_mk(s) { -function sprites_BaseSprite_z__P85230(s) { +function sprites_BaseSprite_z__P1887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6027,7 +6027,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -6035,7 +6035,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_z"] = (s.arg1); - s.tmp_1 = game_currentScene__P85948_mk(s); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 129; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -6051,12 +6051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P85230.info = {"start":656,"length":174,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"z","argumentNames":["this","v"]} +sprites_BaseSprite_z__P1887.info = {"start":656,"length":174,"line":30,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"z","argumentNames":["this","v"]} -function sprites_BaseSprite_z__P85230_mk(s) { +function sprites_BaseSprite_z__P1887_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P85230, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P1887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6070,7 +6070,7 @@ function sprites_BaseSprite_z__P85230_mk(s) { -function sprites_BaseSprite_z__P85229(s) { +function sprites_BaseSprite_z__P1886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6085,18 +6085,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P85229.info = {"start":591,"length":55,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"z","argumentNames":["this"]} -sprites_BaseSprite_z__P85229.isGetter = true; +sprites_BaseSprite_z__P1886.info = {"start":591,"length":55,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"z","argumentNames":["this"]} +sprites_BaseSprite_z__P1886.isGetter = true; -function sprites_BaseSprite_z__P85229_mk(s) { +function sprites_BaseSprite_z__P1886_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P85229, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P1886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6105,7 +6105,7 @@ function sprites_BaseSprite_z__P85229_mk(s) { -function helpers_arrayShift__P83445(s) { +function helpers_arrayShift__P102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6123,12 +6123,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P83445.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P102.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -function helpers_arrayShift__P83445_mk(s) { +function helpers_arrayShift__P102_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P83445, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6137,7 +6137,7 @@ function helpers_arrayShift__P83445_mk(s) { -function particles_SprayFactory_setSpeed__P86139(s) { +function particles_SprayFactory_setSpeed__P2796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6153,7 +6153,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C86135_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C2792_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6164,12 +6164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P86139.info = {"start":3322,"length":92,"line":119,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"setSpeed","argumentNames":["this","pixelsPerSecond"]} +particles_SprayFactory_setSpeed__P2796.info = {"start":3322,"length":92,"line":119,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"setSpeed","argumentNames":["this","pixelsPerSecond"]} -function particles_SprayFactory_setSpeed__P86139_mk(s) { +function particles_SprayFactory_setSpeed__P2796_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P86139, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P2796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6182,7 +6182,7 @@ function particles_SprayFactory_setSpeed__P86139_mk(s) { -function particles_ConfettiFactory_constructor__P86163(s) { +function particles_ConfettiFactory_constructor__P2820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6192,8 +6192,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___91138 = undefined; - s.i___91154 = undefined; + s.confetti___7795 = undefined; + s.i___7811 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6201,52 +6201,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C86162_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C2819_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex91141); + r0 = pxsim.image.ofBuffer(_hex7798); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex91143); + r0 = pxsim.image.ofBuffer(_hex7800); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex91145); + r0 = pxsim.image.ofBuffer(_hex7802); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex91147); + r0 = pxsim.image.ofBuffer(_hex7804); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex91149); + r0 = pxsim.image.ofBuffer(_hex7806); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___91138 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P86158_mk(s); + s.confetti___7795 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P2815_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___91138, 0); + r0 = pxsim_Array__getAt(s.confetti___7795, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1111; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___91154 = (1); + s.i___7811 = (1); case 1: - s.tmp_1 = r0 = s.i___91154; - r0 = pxsim_Array__length(s.confetti___91138); + s.tmp_1 = r0 = s.i___7811; + r0 = pxsim_Array__length(s.confetti___7795); 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 = particles_ShapeFactory_addShape__P86159_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P2816_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___91138, s.i___91154); + r0 = pxsim_Array__getAt(s.confetti___7795, s.i___7811); s.tmp_3.arg1 = r0; s.callLocIdx = 1112; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___91154 + 1); - s.i___91154 = (r0); + r0 = (s.i___7811 + 1); + s.i___7811 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -6255,12 +6255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P86163.info = {"start":7755,"length":706,"line":247,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange"]} +particles_ConfettiFactory_constructor__P2820.info = {"start":7755,"length":706,"line":247,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange"]} -function particles_ConfettiFactory_constructor__P86163_mk(s) { +function particles_ConfettiFactory_constructor__P2820_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P86163, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P2820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6268,23 +6268,23 @@ function particles_ConfettiFactory_constructor__P86163_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___91138: undefined, - i___91154: undefined, + confetti___7795: undefined, + i___7811: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex91141 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex91143 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex91145 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex91147 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex91149 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex7798 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex7800 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex7802 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex7804 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex7806 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P86159(s) { +function particles_ShapeFactory_addShape__P2816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6300,7 +6300,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C86157_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C2814_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -6312,12 +6312,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P86159.info = {"start":7079,"length":83,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"addShape","argumentNames":["this","shape"]} +particles_ShapeFactory_addShape__P2816.info = {"start":7079,"length":83,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"addShape","argumentNames":["this","shape"]} -function particles_ShapeFactory_addShape__P86159_mk(s) { +function particles_ShapeFactory_addShape__P2816_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P86159, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P2816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6328,7 +6328,7 @@ function particles_ShapeFactory_addShape__P86159_mk(s) { -function particles_ShapeFactory_constructor__P86158(s) { +function particles_ShapeFactory_constructor__P2815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6346,8 +6346,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C86157_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P86146_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2814_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P2803_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -6384,12 +6384,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P86158.info = {"start":6668,"length":285,"line":212,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","source"]} +particles_ShapeFactory_constructor__P2815.info = {"start":6668,"length":285,"line":212,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","source"]} -function particles_ShapeFactory_constructor__P86158_mk(s) { +function particles_ShapeFactory_constructor__P2815_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P86158, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P2815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6406,7 +6406,7 @@ function particles_ShapeFactory_constructor__P86158_mk(s) { -function particles_AreaFactory_constructor__P86146(s) { +function particles_AreaFactory_constructor__P2803(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6425,8 +6425,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C86141_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P86136_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C2798_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P2793_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -6456,9 +6456,9 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C86003_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2660_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P86005_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P2662_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1090; s.pc = 6; return s.tmp_1; @@ -6469,12 +6469,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P86146.info = {"start":3950,"length":374,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","minLifespan","maxLifespan"]} +particles_AreaFactory_constructor__P2803.info = {"start":3950,"length":374,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","xRange","yRange","minLifespan","maxLifespan"]} -function particles_AreaFactory_constructor__P86146_mk(s) { +function particles_AreaFactory_constructor__P2803_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P86146, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P2803, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6489,7 +6489,7 @@ function particles_AreaFactory_constructor__P86146_mk(s) { -function effects_ScreenEffect_constructor__P86211(s) { +function effects_ScreenEffect_constructor__P2868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6508,8 +6508,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C86210_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P86207_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C2867_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P2864_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -6522,12 +6522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P86211.info = {"start":2911,"length":332,"line":81,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this","anchorDefault","sceneDefault","defaultLifespan","sourceFactory"]} +effects_ScreenEffect_constructor__P2868.info = {"start":2911,"length":332,"line":81,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this","anchorDefault","sceneDefault","defaultLifespan","sourceFactory"]} -function effects_ScreenEffect_constructor__P86211_mk(s) { +function effects_ScreenEffect_constructor__P2868_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P86211, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P2868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6541,7 +6541,7 @@ function effects_ScreenEffect_constructor__P86211_mk(s) { -function effects_ParticleEffect_constructor__P86207(s) { +function effects_ParticleEffect_constructor__P2864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6559,7 +6559,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C86206_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C2863_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -6567,12 +6567,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P86207.info = {"start":384,"length":364,"line":13,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this","defaultParticlesPerSecond","defaultLifespan","sourceFactory"]} +effects_ParticleEffect_constructor__P2864.info = {"start":384,"length":364,"line":13,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this","defaultParticlesPerSecond","defaultLifespan","sourceFactory"]} -function effects_ParticleEffect_constructor__P86207_mk(s) { +function effects_ParticleEffect_constructor__P2864_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P86207, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P2864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6584,7 +6584,7 @@ function effects_ParticleEffect_constructor__P86207_mk(s) { -function scene_Scene_init__P85857(s) { +function scene_Scene_init__P2514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6599,7 +6599,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C85835_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2492_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6607,7 +6607,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P85071_mk(s); + s.tmp_1 = power_poke__P1728_mk(s); s.callLocIdx = 777; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -6616,10 +6616,10 @@ 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__P91273); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7930); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -6627,18 +6627,18 @@ switch (step) { s.callLocIdx = 780; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P85264; + s.tmp_0.arg2 = controller__moveSprites__P1921; s.callLocIdx = 781; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P91296); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7953); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -6646,10 +6646,10 @@ switch (step) { s.callLocIdx = 783; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P91309); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7966); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -6657,10 +6657,10 @@ switch (step) { s.callLocIdx = 787; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P91330); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7987); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -6668,10 +6668,10 @@ switch (step) { s.callLocIdx = 789; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P91338); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7995); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -6679,19 +6679,19 @@ switch (step) { s.callLocIdx = 793; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P83744_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P401_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P85129; + s.tmp_0.arg2 = control___screen_update__P1786; s.callLocIdx = 794; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P91367); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P8024); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___85855; + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___2512; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 796; s.pc = 12; return s.tmp_1; case 12: @@ -6701,12 +6701,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P85857.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P2514.info = {"start":4168,"length":2477,"line":122,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P85857_mk(s) { +function scene_Scene_init__P2514_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P85857, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P2514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6717,7 +6717,7 @@ function scene_Scene_init__P85857_mk(s) { -function scene_Scene_init_inline__P91273(s) { +function scene_Scene_init_inline__P7930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6736,7 +6736,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_millis"] = (s.tmp_1); - s.tmp_0 = controller___update__P85292_mk(s); + s.tmp_0 = controller___update__P1949_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -6750,12 +6750,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P91273.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7930.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P91273_mk(s) { +function scene_Scene_init_inline__P7930_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P91273, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6767,7 +6767,7 @@ function scene_Scene_init_inline__P91273_mk(s) { -function scene_Scene_init_inline__P91296(s) { +function scene_Scene_init_inline__P7953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6777,7 +6777,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C85577_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C2234_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -6786,7 +6786,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C85577_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2234_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move; s.pc = 1; return s.tmp_0; case 1: @@ -6795,12 +6795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P91296.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7953.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P91296_mk(s) { +function scene_Scene_init_inline__P7953_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P91296, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6811,7 +6811,7 @@ function scene_Scene_init_inline__P91296_mk(s) { -function scene_Scene_init_inline__P91309(s) { +function scene_Scene_init_inline__P7966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6821,39 +6821,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___91310 = undefined; - s.s___91318 = undefined; - s.unnamed474___U2 = undefined; - s.unnamed475___U3 = undefined; + s.dt___7967 = undefined; + s.s___7975 = undefined; + s.unnamed74___U2 = undefined; + s.unnamed75___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___91310 = (r0); - s.tmp_0 = scene_Camera_update__P85792_mk(s); + s.dt___7967 = (r0); + s.tmp_0 = scene_Camera_update__P2449_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 785; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___91318 = (undefined); + s.s___7975 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed474___U2 = (r0); - s.unnamed475___U3 = (0); + s.unnamed74___U2 = (r0); + s.unnamed75___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed475___U3; - r0 = pxsim_Array__length(s.unnamed474___U2); + s.tmp_0 = r0 = s.unnamed75___U3; + r0 = pxsim_Array__length(s.unnamed74___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed474___U2, s.unnamed475___U3); - s.s___91318 = (r0); + r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); + s.s___7975 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___91318; + s.tmp_2.arg0 = s.s___7975; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___91310; + s.tmp_2.arg2 = s.dt___7967; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 786; s.pc = 4; return s.tmp_2; @@ -6865,36 +6865,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed475___U3 + 1); - s.unnamed475___U3 = (r0); + r0 = (s.unnamed75___U3 + 1); + s.unnamed75___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed474___U2 = (undefined); + s.unnamed74___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P91309.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7966.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P91309_mk(s) { +function scene_Scene_init_inline__P7966_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P91309, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___91310: undefined, - s___91318: undefined, - unnamed474___U2: undefined, - unnamed475___U3: undefined, + dt___7967: undefined, + s___7975: undefined, + unnamed74___U2: undefined, + unnamed75___U3: undefined, } } -function scene_Scene_init_inline__P91330(s) { +function scene_Scene_init_inline__P7987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6904,7 +6904,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P85862_mk(s); + s.tmp_0 = scene_Scene_render__P2519_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 788; s.pc = 1; return s.tmp_0; case 1: @@ -6913,12 +6913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P91330.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7987.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P91330_mk(s) { +function scene_Scene_init_inline__P7987_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P91330, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -6927,7 +6927,7 @@ function scene_Scene_init_inline__P91330_mk(s) { -function scene_Scene_init_inline__P91338(s) { +function scene_Scene_init_inline__P7995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6937,26 +6937,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___85945; + s.tmp_0 = r0 = globals.stats___2602; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___83739; + r0 = globals.control_EventContext_onStats___396; case 2: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = globals.control_EventContext_onStats___83739; - if ((globals.control_EventContext_lastStats___83738) && (globals.control_EventContext_lastStats___83738).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___396; + if ((globals.control_EventContext_lastStats___395) && (globals.control_EventContext_lastStats___395).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___83738); + pxsim_String__stringConv(globals.control_EventContext_lastStats___395); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___83738) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___395) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -6992,23 +6992,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___85944); + r0 = pxsim_numops_toBoolDecr(globals.debug___2601); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C85577_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C2234_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C85577_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2234_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 5: case 6: - s.tmp_0 = game_consoleOverlay_draw__P86071_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P2728_mk(s); s.callLocIdx = 791; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P85072_mk(s); + s.tmp_0 = power_checkDeepSleep__P1729_mk(s); s.callLocIdx = 792; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -7016,12 +7016,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P91338.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7995.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P91338_mk(s) { +function scene_Scene_init_inline__P7995_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P91338, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7038,7 +7038,7 @@ function scene_Scene_init_inline__P91338_mk(s) { -function scene_Scene_init_inline__P91367(s) { +function scene_Scene_init_inline__P8024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7063,12 +7063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P91367.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P8024.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P91367_mk(s) { +function scene_Scene_init_inline__P8024_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P91367, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P8024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7078,7 +7078,7 @@ function scene_Scene_init_inline__P91367_mk(s) { -function game_consoleOverlay_draw__P86071(s) { +function game_consoleOverlay_draw__P2728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7088,16 +7088,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___91416 = undefined; - s.top___91421 = undefined; - s.i___91427 = undefined; - s.t___91440 = undefined; - s.tOff___91447 = undefined; - s.tab___91449 = undefined; - s.unnamed478___U6 = undefined; - s.unnamed479___U7 = undefined; - s.padding___91451 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___87917); + s.height___8073 = undefined; + s.top___8078 = undefined; + s.i___8084 = undefined; + s.t___8097 = undefined; + s.tOff___8104 = undefined; + s.tab___8106 = undefined; + s.unnamed78___U6 = undefined; + s.unnamed79___U7 = undefined; + s.padding___8108 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4574); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7106,7 +7106,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___87871); + r0 = pxsim_numops_toBoolDecr(globals.instance___4528); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -7122,7 +7122,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___87925; + s.tmp_7.arg0 = globals.consoleFont___4582; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -7135,10 +7135,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___91416 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___85945); + s.height___8073 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2602); if (!r0) { step = 5; continue; } - r0 = s.height___91416; + r0 = s.height___8073; { step = 6; continue; } case 5: r0 = 0; @@ -7146,17 +7146,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___91421 = (r0); - s.i___91427 = (0); + s.top___8078 = (r0); + s.i___8084 = (0); case 7: - s.tmp_1 = r0 = s.i___91427; - r0 = pxsim_Array__length(globals.consoleStrings___87917); + s.tmp_1 = r0 = s.i___8084; + r0 = pxsim_Array__length(globals.consoleStrings___4574); 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___87917, s.i___91427); + r0 = pxsim_Array__getAt(globals.consoleStrings___4574, s.i___8084); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -7164,43 +7164,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P83465_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___87917, s.i___91427); + s.tmp_6 = helpers_stringSplit__P122_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___4574, s.i___8084); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 995; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___91440 = (r0); - s.tOff___91447 = (0); - s.tab___91449 = (undefined); - s.unnamed478___U6 = (s.t___91440); - s.unnamed479___U7 = (0); + s.t___8097 = (r0); + s.tOff___8104 = (0); + s.tab___8106 = (undefined); + s.unnamed78___U6 = (s.t___8097); + s.unnamed79___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed479___U7; - r0 = pxsim_Array__length(s.unnamed478___U6); + s.tmp_0 = r0 = s.unnamed79___U7; + r0 = pxsim_Array__length(s.unnamed78___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed478___U6, s.unnamed479___U7); - s.tab___91449 = (r0); - s.tmp_2 = r0 = globals.tabSize___87919; - s.tmp_5 = r0 = s.tOff___91447; - r0 = pxsim_String_.length(s.tab___91449); + r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); + s.tab___8106 = (r0); + s.tmp_2 = r0 = globals.tabSize___4576; + s.tmp_5 = r0 = s.tOff___8104; + r0 = pxsim_String_.length(s.tab___8106); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___87919); + r0 = (s.tmp_4 % globals.tabSize___4576); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___91451 = (r0); - s.tmp_0 = helpers_imagePrint__P85126_mk(s); - s.tmp_0.arg0 = globals.screen___85168; - s.tmp_0.arg1 = s.tab___91449; - s.tmp_2 = r0 = s.tOff___91447; + s.padding___8108 = (r0); + s.tmp_0 = helpers_imagePrint__P1783_mk(s); + s.tmp_0.arg0 = globals.screen___1825; + s.tmp_0.arg1 = s.tab___8106; + s.tmp_2 = r0 = s.tOff___8104; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___87925; + s.tmp_4.arg0 = globals.consoleFont___4582; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -7216,50 +7216,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___91421; - r0 = (s.i___91427 * s.height___91416); + s.tmp_5 = r0 = s.top___8078; + r0 = (s.i___8084 * s.height___8073); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___87916; - s.tmp_0.arg5 = globals.consoleFont___87925; + s.tmp_0.arg4 = globals.consoleColor___4573; + s.tmp_0.arg5 = globals.consoleFont___4582; s.tmp_0.arg6 = undefined; s.callLocIdx = 997; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___91447; - r0 = pxsim_String_.length(s.tab___91449); + s.tmp_0 = r0 = s.tOff___8104; + r0 = pxsim_String_.length(s.tab___8106); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___91451); + r0 = (s.tmp_2 + s.padding___8108); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___91447 = (r0); - r0 = (s.unnamed479___U7 + 1); - s.unnamed479___U7 = (r0); + s.tOff___8104 = (r0); + r0 = (s.unnamed79___U7 + 1); + s.unnamed79___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed478___U6 = (undefined); + s.unnamed78___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P85126_mk(s); - s.tmp_0.arg0 = globals.screen___85168; - r0 = pxsim_Array__getAt(globals.consoleStrings___87917, s.i___91427); + s.tmp_0 = helpers_imagePrint__P1783_mk(s); + s.tmp_0.arg0 = globals.screen___1825; + r0 = pxsim_Array__getAt(globals.consoleStrings___4574, s.i___8084); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___91421; - r0 = (s.i___91427 * s.height___91416); + s.tmp_1 = r0 = s.top___8078; + r0 = (s.i___8084 * s.height___8073); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___87916; - s.tmp_0.arg5 = globals.consoleFont___87925; + s.tmp_0.arg4 = globals.consoleColor___4573; + s.tmp_0.arg5 = globals.consoleFont___4582; s.tmp_0.arg6 = undefined; s.callLocIdx = 998; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___91427 + 1); - s.i___91427 = (r0); + r0 = (s.i___8084 + 1); + s.i___8084 = (r0); { step = 7; continue; } case 12: case 13: @@ -7267,12 +7267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P86071.info = {"start":1364,"length":859,"line":44,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"draw","argumentNames":[]} +game_consoleOverlay_draw__P2728.info = {"start":1364,"length":859,"line":44,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"draw","argumentNames":[]} -function game_consoleOverlay_draw__P86071_mk(s) { +function game_consoleOverlay_draw__P2728_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P86071, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P2728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7282,22 +7282,22 @@ function game_consoleOverlay_draw__P86071_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___91416: undefined, - top___91421: undefined, - i___91427: undefined, - t___91440: undefined, - tOff___91447: undefined, - tab___91449: undefined, - unnamed478___U6: undefined, - unnamed479___U7: undefined, - padding___91451: undefined, + height___8073: undefined, + top___8078: undefined, + i___8084: undefined, + t___8097: undefined, + tOff___8104: undefined, + tab___8106: undefined, + unnamed78___U6: undefined, + unnamed79___U7: undefined, + padding___8108: undefined, } } -function scene_systemMenu_isVisible__P86052(s) { +function scene_systemMenu_isVisible__P2709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7307,7 +7307,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___87871); + r0 = pxsim_numops_toBoolDecr(globals.instance___4528); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -7317,12 +7317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P86052.info = {"start":13170,"length":62,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P2709.info = {"start":13170,"length":62,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} -function scene_systemMenu_isVisible__P86052_mk(s) { +function scene_systemMenu_isVisible__P2709_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P86052, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P2709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7333,7 +7333,7 @@ function scene_systemMenu_isVisible__P86052_mk(s) { -function helpers_imagePrint__P85126(s) { +function helpers_imagePrint__P1783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7343,31 +7343,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___91523 = undefined; - s.cp___91525 = undefined; - s.mult___91526 = undefined; - s.dataW___91531 = undefined; - s.dataH___91537 = undefined; - s.byteHeight___91543 = undefined; - s.charSize___91549 = undefined; - s.dataSize___91553 = undefined; - s.fontdata___91557 = undefined; - s.lastchar___91560 = undefined; - s.imgBuf___91567 = undefined; - s.xOffset___91591 = undefined; - s.yOffset___91592 = undefined; - s.ch___91607 = undefined; - s.l___91626 = undefined; - s.r___91627 = undefined; - s.off___91629 = undefined; - s.guess___91630 = undefined; - s.m___91649 = undefined; - s.v___91658 = undefined; - s.i___91714 = undefined; - s.j___91719 = undefined; - s.mask___91720 = undefined; - s.c___91721 = undefined; - s.n___91738 = undefined; + s.x0___8180 = undefined; + s.cp___8182 = undefined; + s.mult___8183 = undefined; + s.dataW___8188 = undefined; + s.dataH___8194 = undefined; + s.byteHeight___8200 = undefined; + s.charSize___8206 = undefined; + s.dataSize___8210 = undefined; + s.fontdata___8214 = undefined; + s.lastchar___8217 = undefined; + s.imgBuf___8224 = undefined; + s.xOffset___8248 = undefined; + s.yOffset___8249 = undefined; + s.ch___8264 = undefined; + s.l___8283 = undefined; + s.r___8284 = undefined; + s.off___8286 = undefined; + s.guess___8287 = undefined; + s.m___8306 = undefined; + s.v___8315 = undefined; + s.i___8371 = undefined; + s.j___8376 = undefined; + s.mask___8377 = undefined; + s.c___8378 = undefined; + s.n___8395 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7388,7 +7388,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P85113_mk(s); + s.tmp_2 = image_getFontForText__P1770_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 96; s.pc = 39; return s.tmp_2; case 39: @@ -7405,8 +7405,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___91523 = (s.arg2); - s.cp___91525 = (0); + s.x0___8180 = (s.arg2); + s.cp___8182 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7440,7 +7440,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___91526 = (s.tmp_3); + s.mult___8183 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7454,8 +7454,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___91526); - s.dataW___91531 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8183); + s.dataW___8188 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7469,16 +7469,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___91526); - s.dataH___91537 = (r0); - r0 = (s.dataH___91537 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8183); + s.dataH___8194 = (r0); + r0 = (s.dataH___8194 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___91543 = (r0); - r0 = (s.byteHeight___91543 * s.dataW___91531); - s.charSize___91549 = (r0); - r0 = (2 + s.charSize___91549); - s.dataSize___91553 = (r0); + s.byteHeight___8200 = (r0); + r0 = (s.byteHeight___8200 * s.dataW___8188); + s.charSize___8206 = (r0); + r0 = (2 + s.charSize___8206); + s.dataSize___8210 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -7491,44 +7491,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___91557 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___91557); + s.fontdata___8214 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___8214); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___91553); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___8210); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___91560 = (r0); - r0 = (s.mult___91526 == 1); + s.lastchar___8217 = (r0); + r0 = (s.mult___8183 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___91549); + r0 = (8 + s.charSize___8206); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___91567 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___91567, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___91567, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___91567, 2, s.dataW___91531); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___91567, 4, s.dataH___91537); + s.imgBuf___8224 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8224, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8224, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8224, 2, s.dataW___8188); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8224, 4, s.dataH___8194); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___91525; + s.tmp_1 = r0 = s.cp___8182; 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___91591 = (0); - s.yOffset___91592 = (0); + s.xOffset___8248 = (0); + s.yOffset___8249 = (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___91525; + s.tmp_1 = r0 = s.cp___8182; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -7538,7 +7538,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___91525); + r0 = pxsim_Array__getAt(s.arg6, s.cp___8182); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -7550,9 +7550,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___91591 = (r0); + s.xOffset___8248 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___91525); + r0 = pxsim_Array__getAt(s.arg6, s.cp___8182); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -7564,15 +7564,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___91592 = (r0); + s.yOffset___8249 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___91525; + s.tmp_0 = r0 = s.cp___8182; r0 = (s.tmp_0 + 1); - s.cp___91525 = (r0); + s.cp___8182 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___91607 = (r0); - r0 = (s.ch___91607 == 10); + s.ch___8264 = (r0); + r0 = (s.ch___8264 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -7594,89 +7594,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___91523); + s.arg2 = (s.x0___8180); case 14: case 15: - r0 = (s.ch___91607 < 32); + r0 = (s.ch___8264 < 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___91626 = (0); - s.r___91627 = (s.lastchar___91560); - s.off___91629 = (0); - r0 = (s.ch___91607 - 32); + s.l___8283 = (0); + s.r___8284 = (s.lastchar___8217); + s.off___8286 = (0); + r0 = (s.ch___8264 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___91553); - s.guess___91630 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___91557, 4, s.guess___91630); + r0 = (s.tmp_0 * s.dataSize___8210); + s.guess___8287 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___8214, 4, s.guess___8287); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___91607); + r0 = (s.tmp_1 == s.ch___8264); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___91629 = (s.guess___91630); + s.off___8286 = (s.guess___8287); { step = 25; continue; } case 18: case 19: - r0 = (s.l___91626 <= s.r___91627); + r0 = (s.l___8283 <= s.r___8284); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___91626; - r0 = (s.r___91627 - s.l___91626); + s.tmp_1 = r0 = s.l___8283; + r0 = (s.r___8284 - s.l___8283); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___91649 = (r0); - s.tmp_0 = r0 = s.fontdata___91557; - r0 = (s.m___91649 * s.dataSize___91553); + s.m___8306 = (r0); + s.tmp_0 = r0 = s.fontdata___8214; + r0 = (s.m___8306 * s.dataSize___8210); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___91658 = (r0); - r0 = (s.v___91658 == s.ch___91607); + s.v___8315 = (r0); + r0 = (s.v___8315 == s.ch___8264); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___91649 * s.dataSize___91553); - s.off___91629 = (r0); + r0 = (s.m___8306 * s.dataSize___8210); + s.off___8286 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___91658 < s.ch___91607); + r0 = (s.v___8315 < s.ch___8264); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___91649 + 1); - s.l___91626 = (r0); + r0 = (s.m___8306 + 1); + s.l___8283 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___91649 - 1); - s.r___91627 = (r0); + r0 = (s.m___8306 - 1); + s.r___8284 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___91526 == 1); + r0 = (s.mult___8183 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___91567; - s.tmp_3 = r0 = s.fontdata___91557; - r0 = (s.off___91629 + 2); + s.tmp_1 = r0 = s.imgBuf___8224; + s.tmp_3 = r0 = s.fontdata___8214; + r0 = (s.off___8286 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___91549); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___8206); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P85093_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P1750_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___91567; - r0 = (s.arg2 + s.xOffset___91591); + s.tmp_0.arg1 = s.imgBuf___8224; + r0 = (s.arg2 + s.xOffset___8248); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___91592); + r0 = (s.arg3 + s.yOffset___8249); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 105; s.pc = 48; return s.tmp_0; @@ -7700,88 +7700,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___91629 + 2); - s.off___91629 = (r0); - s.i___91714 = (0); + r0 = (s.off___8286 + 2); + s.off___8286 = (r0); + s.i___8371 = (0); case 27: - r0 = (s.i___91714 < s.dataW___91531); + r0 = (s.i___8371 < s.dataW___8188); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___91719 = (0); - s.mask___91720 = (1); - s.tmp_0 = r0 = s.off___91629; + s.j___8376 = (0); + s.mask___8377 = (1); + s.tmp_0 = r0 = s.off___8286; r0 = (s.tmp_0 + 1); - s.off___91629 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___91557, s.tmp_0); - s.c___91721 = (r0); + s.off___8286 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___8214, s.tmp_0); + s.c___8378 = (r0); case 28: - r0 = (s.j___91719 < s.dataH___91537); + r0 = (s.j___8376 < s.dataH___8194); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___91720 == 256); + r0 = (s.mask___8377 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___91629; + s.tmp_2 = r0 = s.off___8286; r0 = (s.tmp_2 + 1); - s.off___91629 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___91557, s.tmp_2); - s.c___91721 = (r0); - s.mask___91720 = (1); + s.off___8286 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___8214, s.tmp_2); + s.c___8378 = (r0); + s.mask___8377 = (1); case 29: case 30: - s.n___91738 = (0); + s.n___8395 = (0); case 31: - r0 = (s.c___91721 & s.mask___91720); + r0 = (s.c___8378 & s.mask___8377); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___91738 + 1); - s.n___91738 = (r0); - r0 = (s.mask___91720 << 1); - s.mask___91720 = (r0); + r0 = (s.n___8395 + 1); + s.n___8395 = (r0); + r0 = (s.mask___8377 << 1); + s.mask___8377 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___91738); + r0 = pxsim_numops_toBoolDecr(s.n___8395); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P85094_mk(s); + s.tmp_0 = helpers_imageFillRect__P1751_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___91591 * s.mult___91526); + r0 = (s.xOffset___8248 * s.mult___8183); 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___91719 + s.yOffset___91592); + r0 = (s.j___8376 + s.yOffset___8249); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___91526); + r0 = (s.tmp_5 * s.mult___8183); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___91526; - r0 = (s.mult___91526 * s.n___91738); + s.tmp_0.arg3 = s.mult___8183; + r0 = (s.mult___8183 * s.n___8395); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 107; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___91719 + s.n___91738); - s.j___91719 = (r0); + r0 = (s.j___8376 + s.n___8395); + s.j___8376 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___91720 << 1); - s.mask___91720 = (r0); - r0 = (s.j___91719 + 1); - s.j___91719 = (r0); + r0 = (s.mask___8377 << 1); + s.mask___8377 = (r0); + r0 = (s.j___8376 + 1); + s.j___8376 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___91526); + r0 = (s.arg2 + s.mult___8183); s.arg2 = (r0); - r0 = (s.i___91714 + 1); - s.i___91714 = (r0); + r0 = (s.i___8371 + 1); + s.i___8371 = (r0); { step = 27; continue; } case 36: case 37: @@ -7791,12 +7791,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P85126.info = {"start":15326,"length":3300,"line":213,"column":4,"endLine":306,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"imagePrint","argumentNames":["img","text","x","y","color","font","offsets"]} +helpers_imagePrint__P1783.info = {"start":15326,"length":3300,"line":213,"column":4,"endLine":306,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"imagePrint","argumentNames":["img","text","x","y","color","font","offsets"]} -function helpers_imagePrint__P85126_mk(s) { +function helpers_imagePrint__P1783_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P85126, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P1783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7804,31 +7804,31 @@ function helpers_imagePrint__P85126_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___91523: undefined, - cp___91525: undefined, - mult___91526: undefined, - dataW___91531: undefined, - dataH___91537: undefined, - byteHeight___91543: undefined, - charSize___91549: undefined, - dataSize___91553: undefined, - fontdata___91557: undefined, - lastchar___91560: undefined, - imgBuf___91567: undefined, - xOffset___91591: undefined, - yOffset___91592: undefined, - ch___91607: undefined, - l___91626: undefined, - r___91627: undefined, - off___91629: undefined, - guess___91630: undefined, - m___91649: undefined, - v___91658: undefined, - i___91714: undefined, - j___91719: undefined, - mask___91720: undefined, - c___91721: undefined, - n___91738: undefined, + x0___8180: undefined, + cp___8182: undefined, + mult___8183: undefined, + dataW___8188: undefined, + dataH___8194: undefined, + byteHeight___8200: undefined, + charSize___8206: undefined, + dataSize___8210: undefined, + fontdata___8214: undefined, + lastchar___8217: undefined, + imgBuf___8224: undefined, + xOffset___8248: undefined, + yOffset___8249: undefined, + ch___8264: undefined, + l___8283: undefined, + r___8284: undefined, + off___8286: undefined, + guess___8287: undefined, + m___8306: undefined, + v___8315: undefined, + i___8371: undefined, + j___8376: undefined, + mask___8377: undefined, + c___8378: undefined, + n___8395: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7842,7 +7842,7 @@ function helpers_imagePrint__P85126_mk(s) { -function image_getFontForText__P85113(s) { +function image_getFontForText__P1770(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7852,52 +7852,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___91848 = undefined; + s.i___8505 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___91848 = (0); + s.i___8505 = (0); case 1: - s.tmp_1 = r0 = s.i___91848; + s.tmp_1 = r0 = s.i___8505; 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___91848); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___8505); s.tmp_4 = r0; r0 = (s.tmp_4 > 8192); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = globals.font12___85112; + r0 = globals.font12___1769; { step = 5; continue; } case 2: case 3: - r0 = (s.i___91848 + 1); - s.i___91848 = (r0); + r0 = (s.i___8505 + 1); + s.i___8505 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___85111; + r0 = globals.font8___1768; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P85113.info = {"start":11713,"length":259,"line":136,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"getFontForText","argumentNames":["text"]} +image_getFontForText__P1770.info = {"start":11713,"length":259,"line":136,"column":4,"endLine":143,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"getFontForText","argumentNames":["text"]} -function image_getFontForText__P85113_mk(s) { +function image_getFontForText__P1770_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P85113, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P1770, 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, - i___91848: undefined, + i___8505: undefined, arg0: undefined, } } @@ -7905,7 +7905,7 @@ function image_getFontForText__P85113_mk(s) { -function helpers_imageFillRect__P85094(s) { +function helpers_imageFillRect__P1751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7925,14 +7925,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P87350_mk(s); + s.tmp_2 = helpers_pack__P4007_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 78; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P87350_mk(s); + s.tmp_4 = helpers_pack__P4007_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 79; s.pc = 2; return s.tmp_4; @@ -7944,12 +7944,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P85094.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P1751.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P85094_mk(s) { +function helpers_imageFillRect__P1751_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P85094, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P1751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7968,7 +7968,7 @@ function helpers_imageFillRect__P85094_mk(s) { -function helpers_pack__P87350(s) { +function helpers_pack__P4007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7983,7 +7983,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P83470_mk(s); + s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -7994,7 +7994,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P83470_mk(s); + s.tmp_5 = Math_clamp__P127_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -8009,12 +8009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P87350.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P4007.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P87350_mk(s) { +function helpers_pack__P4007_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P87350, depth: s.depth + 1, + parent: s, fn: helpers_pack__P4007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8030,7 +8030,7 @@ function helpers_pack__P87350_mk(s) { -function Math_clamp__P83470(s) { +function Math_clamp__P127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8046,9 +8046,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P83474_mk(s); + s.tmp_0 = Math_min__P131_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P83473_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 14; s.pc = 2; return s.tmp_1; @@ -8061,12 +8061,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P83470.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P127.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P83470_mk(s) { +function Math_clamp__P127_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P83470, depth: s.depth + 1, + parent: s, fn: Math_clamp__P127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8079,7 +8079,7 @@ function Math_clamp__P83470_mk(s) { -function Math_min__P83474(s) { +function Math_min__P131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8107,12 +8107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P83474.info = {"start":16779,"length":105,"line":565,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P131.info = {"start":16779,"length":105,"line":565,"column":4,"endLine":568,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P83474_mk(s) { +function Math_min__P131_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P83474, depth: s.depth + 1, + parent: s, fn: Math_min__P131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8123,7 +8123,7 @@ function Math_min__P83474_mk(s) { -function helpers_imageDrawIcon__P85093(s) { +function helpers_imageDrawIcon__P1750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8143,7 +8143,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P87350_mk(s); + s.tmp_3 = helpers_pack__P4007_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 77; s.pc = 1; return s.tmp_3; @@ -8155,12 +8155,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P85093.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P1750.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P85093_mk(s) { +function helpers_imageDrawIcon__P1750_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P85093, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P1750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8177,7 +8177,7 @@ function helpers_imageDrawIcon__P85093_mk(s) { -function helpers_stringSplit__P83465(s) { +function helpers_stringSplit__P122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8187,15 +8187,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___91871 = undefined; - s.lim___91873 = undefined; - s.s___91889 = undefined; - s.p___91892 = undefined; - s.R___91893 = undefined; - s.z___91907 = undefined; - s.T___91920 = undefined; - s.q___91921 = undefined; - s.e___91927 = undefined; + s.A___8528 = undefined; + s.lim___8530 = undefined; + s.s___8546 = undefined; + s.p___8549 = undefined; + s.R___8550 = undefined; + s.z___8564 = undefined; + s.T___8577 = undefined; + s.q___8578 = undefined; + s.e___8584 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8203,36 +8203,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___91871 = (r0); - s.lim___91873 = (0); + s.A___8528 = (r0); + s.lim___8530 = (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___91873 = (r0); + s.lim___8530 = (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___91873 = (0); + s.lim___8530 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___91873 = (r0); + s.lim___8530 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___91889 = (r0); - s.p___91892 = (0); - s.R___91893 = (s.arg1); - r0 = (s.lim___91873 == 0); + s.s___8546 = (r0); + s.p___8549 = (0); + s.R___8550 = (s.arg1); + r0 = (s.lim___8530 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___91871; + r0 = s.A___8528; { step = 21; continue; } case 5: case 6: @@ -8240,123 +8240,123 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array_.setAt(s.A___91871, 0, s.arg0); - r0 = s.A___91871; + r0 = pxsim_Array_.setAt(s.A___8528, 0, s.arg0); + r0 = s.A___8528; { step = 21; continue; } case 7: case 8: - r0 = (s.s___91889 == 0); + r0 = (s.s___8546 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P87195_mk(s); + s.tmp_1 = helpers_splitMatch__P3852_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___91893; + s.tmp_1.arg2 = s.R___8550; s.callLocIdx = 10; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___91907 = (r0); - r0 = (s.z___91907 > -1); + s.z___8564 = (r0); + r0 = (s.z___8564 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___91871; + r0 = s.A___8528; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___91871, 0, s.arg0); - r0 = s.A___91871; + r0 = pxsim_Array_.setAt(s.A___8528, 0, s.arg0); + r0 = s.A___8528; { step = 21; continue; } case 11: case 12: - s.q___91921 = (s.p___91892); + s.q___8578 = (s.p___8549); case 13: - r0 = (s.q___91921 != s.s___91889); + r0 = (s.q___8578 != s.s___8546); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P87195_mk(s); + s.tmp_1 = helpers_splitMatch__P3852_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___91921; - s.tmp_1.arg2 = s.R___91893; + s.tmp_1.arg1 = s.q___8578; + s.tmp_1.arg2 = s.R___8550; s.callLocIdx = 11; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___91927 = (r0); - r0 = (s.e___91927 < 0); + s.e___8584 = (r0); + r0 = (s.e___8584 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___91921 + 1); - s.q___91921 = (r0); + r0 = (s.q___8578 + 1); + s.q___8578 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___91927 == s.p___91892); + r0 = (s.e___8584 == s.p___8549); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___91921 + 1); - s.q___91921 = (r0); + r0 = (s.q___8578 + 1); + s.q___8578 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P83462_mk(s); + s.tmp_0 = helpers_stringSlice__P119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___91892; - s.tmp_0.arg2 = s.q___91921; + s.tmp_0.arg1 = s.p___8549; + s.tmp_0.arg2 = s.q___8578; s.callLocIdx = 12; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___91920 = (r0); - r0 = pxsim_Array__push(s.A___91871, s.T___91920); - r0 = pxsim_Array__length(s.A___91871); + s.T___8577 = (r0); + r0 = pxsim_Array__push(s.A___8528, s.T___8577); + r0 = pxsim_Array__length(s.A___8528); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___91873); + r0 = (s.tmp_1 == s.lim___8530); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___91871; + r0 = s.A___8528; { step = 21; continue; } case 16: case 17: - s.p___91892 = (s.e___91927); - s.q___91921 = (s.p___91892); + s.p___8549 = (s.e___8584); + s.q___8578 = (s.p___8549); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P83462_mk(s); + s.tmp_0 = helpers_stringSlice__P119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___91892; - s.tmp_0.arg2 = s.q___91921; + s.tmp_0.arg1 = s.p___8549; + s.tmp_0.arg2 = s.q___8578; s.callLocIdx = 13; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___91920 = (r0); - r0 = pxsim_Array__push(s.A___91871, s.T___91920); - r0 = s.A___91871; + s.T___8577 = (r0); + r0 = pxsim_Array__push(s.A___8528, s.T___8577); + r0 = s.A___8528; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P83465.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P122.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P83465_mk(s) { +function helpers_stringSplit__P122_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P83465, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___91871: undefined, - lim___91873: undefined, - s___91889: undefined, - p___91892: undefined, - R___91893: undefined, - z___91907: undefined, - T___91920: undefined, - q___91921: undefined, - e___91927: undefined, + A___8528: undefined, + lim___8530: undefined, + s___8546: undefined, + p___8549: undefined, + R___8550: undefined, + z___8564: undefined, + T___8577: undefined, + q___8578: undefined, + e___8584: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8366,7 +8366,7 @@ function helpers_stringSplit__P83465_mk(s) { -function helpers_splitMatch__P87195(s) { +function helpers_splitMatch__P3852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8376,9 +8376,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___92007 = undefined; - s.s___92010 = undefined; - s.i___92020 = undefined; + s.r___8664 = undefined; + s.s___8667 = undefined; + s.i___8677 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8386,12 +8386,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___92007 = (r0); + s.r___8664 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___92010 = (r0); - r0 = (s.arg1 + s.r___92007); + s.s___8667 = (r0); + r0 = (s.arg1 + s.r___8664); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___92010); + r0 = (s.tmp_1 > s.s___8667); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8399,18 +8399,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___92020 = (0); + s.i___8677 = (0); case 3: - r0 = (s.i___92020 < s.r___92007); + r0 = (s.i___8677 < s.r___8664); 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___92020); + r0 = (s.arg1 + s.i___8677); 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___92020); + r0 = pxsim_String_.charAt(s.arg2, s.i___8677); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -8420,21 +8420,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___92020 + 1); - s.i___92020 = (r0); + r0 = (s.i___8677 + 1); + s.i___8677 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___92007); + r0 = (s.arg1 + s.r___8664); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P87195.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__P3852.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__P87195_mk(s) { +function helpers_splitMatch__P3852_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P87195, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P3852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8442,9 +8442,9 @@ function helpers_splitMatch__P87195_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___92007: undefined, - s___92010: undefined, - i___92020: undefined, + r___8664: undefined, + s___8667: undefined, + i___8677: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8454,7 +8454,7 @@ function helpers_splitMatch__P87195_mk(s) { -function helpers_stringSlice__P83462(s) { +function helpers_stringSlice__P119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8464,7 +8464,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___91972 = undefined; + s.len___8629 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8472,13 +8472,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___91972 = (r0); + s.len___8629 = (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__P83473_mk(s); - r0 = (s.len___91972 + s.arg1); + s.tmp_1 = Math_max__P130_mk(s); + r0 = (s.len___8629 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 9; return s.tmp_1; @@ -8491,7 +8491,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___91972); + s.arg2 = (s.len___8629); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -8506,7 +8506,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___91972 + s.arg2); + r0 = (s.len___8629 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -8518,17 +8518,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P83462.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P119.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P83462_mk(s) { +function helpers_stringSlice__P119_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P83462, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___91972: undefined, + len___8629: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8538,7 +8538,7 @@ function helpers_stringSlice__P83462_mk(s) { -function scene_Scene_render__P85862(s) { +function scene_Scene_render__P2519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8548,15 +8548,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___92104 = undefined; - s.unnamed476___U1 = undefined; - s.unnamed477___U2 = undefined; + s.s___8761 = undefined; + s.unnamed76___U1 = undefined; + s.unnamed77___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C85835_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2492_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -8587,7 +8587,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P85862_mk(s); + s.tmp_3 = scene_Scene_render__P2519_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 798; s.pc = 12; return s.tmp_3; @@ -8595,7 +8595,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P85696_mk(s); + s.tmp_0 = scene_Background_draw__P2353_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 799; s.pc = 13; return s.tmp_0; @@ -8608,10 +8608,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P83448_mk(s); + 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__P92081; + s.tmp_2.arg1 = scene_Scene_render_inline__P8738; s.callLocIdx = 804; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -8623,20 +8623,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___92104 = (undefined); + s.s___8761 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed476___U1 = (r0); - s.unnamed477___U2 = (0); + s.unnamed76___U1 = (r0); + s.unnamed77___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed477___U2; - r0 = pxsim_Array__length(s.unnamed476___U1); + s.tmp_0 = r0 = s.unnamed77___U2; + r0 = pxsim_Array__length(s.unnamed76___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed476___U1, s.unnamed477___U2); - s.s___92104 = (r0); + r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); + s.s___8761 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___92104; + s.tmp_2.arg0 = s.s___8761; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -8650,11 +8650,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed477___U2 + 1); - s.unnamed477___U2 = (r0); + r0 = (s.unnamed77___U2 + 1); + s.unnamed77___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed476___U1 = (undefined); + s.unnamed76___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -8666,21 +8666,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P85862.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P2519.info = {"start":7844,"length":917,"line":221,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P85862_mk(s) { +function scene_Scene_render__P2519_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P85862, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P2519, 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, - s___92104: undefined, - unnamed476___U1: undefined, - unnamed477___U2: undefined, + s___8761: undefined, + unnamed76___U1: undefined, + unnamed77___U2: undefined, arg0: undefined, } } @@ -8688,7 +8688,7 @@ function scene_Scene_render__P85862_mk(s) { -function scene_Scene_render_inline__P92081(s) { +function scene_Scene_render_inline__P8738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8770,12 +8770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P92081.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P8738.info = {"start":8422,"length":52,"line":235,"column":37,"endLine":235,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P92081_mk(s) { +function scene_Scene_render_inline__P8738_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P92081, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P8738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8795,7 +8795,7 @@ function scene_Scene_render_inline__P92081_mk(s) { -function scene_Background_draw__P85696(s) { +function scene_Background_draw__P2353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8810,27 +8810,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C85687_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2344_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___85168, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___1825, s.tmp_0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___85168, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1825, s.tmp_1, 0, 0); case 1: case 2: r0 = s.arg0.fields["_layers"]; 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__P92136); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P8793); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P83452_mk(s); + 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; @@ -8843,12 +8843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P85696.info = {"start":1166,"length":545,"line":48,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"draw","argumentNames":["this"]} +scene_Background_draw__P2353.info = {"start":1166,"length":545,"line":48,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"draw","argumentNames":["this"]} -function scene_Background_draw__P85696_mk(s) { +function scene_Background_draw__P2353_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P85696, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P2353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8860,7 +8860,7 @@ function scene_Background_draw__P85696_mk(s) { -function scene_Background_draw_inline__P92136(s) { +function scene_Background_draw_inline__P8793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8870,8 +8870,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___92138 = undefined; - s.oy___92149 = undefined; + s.ox___8795 = undefined; + s.oy___8806 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8886,7 +8886,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___92138 = (r0); + s.ox___8795 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -8897,11 +8897,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___92149 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P85705_mk(s); + s.oy___8806 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P2362_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___92138; - s.tmp_0.arg2 = s.oy___92149; + s.tmp_0.arg1 = s.ox___8795; + s.tmp_0.arg2 = s.oy___8806; s.callLocIdx = 674; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -8909,19 +8909,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P92136.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__P8793.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__P92136_mk(s) { +function scene_Background_draw_inline__P8793_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P92136, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P8793, 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___92138: undefined, - oy___92149: undefined, + ox___8795: undefined, + oy___8806: undefined, arg0: undefined, } } @@ -8929,7 +8929,7 @@ function scene_Background_draw_inline__P92136_mk(s) { -function scene_BackgroundLayer_draw__P85705(s) { +function scene_BackgroundLayer_draw__P2362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8939,19 +8939,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___92167 = undefined; - s.h___92170 = undefined; - s.pw___92173 = undefined; - s.ph___92177 = undefined; - s.rx___92186 = undefined; - s.ry___92189 = undefined; - s.y___92258 = undefined; - s.py___92259 = undefined; - s.dh___92268 = undefined; - s.x___92276 = undefined; - s.rxl___92277 = undefined; - s.px___92283 = undefined; - s.dw___92287 = undefined; + s.w___8824 = undefined; + s.h___8827 = undefined; + s.pw___8830 = undefined; + s.ph___8834 = undefined; + s.rx___8843 = undefined; + s.ry___8846 = undefined; + s.y___8915 = undefined; + s.py___8916 = undefined; + s.dh___8925 = undefined; + s.x___8933 = undefined; + s.rxl___8934 = undefined; + s.px___8940 = undefined; + s.dw___8944 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8959,20 +8959,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C85697_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___85168); - s.w___92167 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___85168); - s.h___92170 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2354_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___1825); + s.w___8824 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___1825); + s.h___8827 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___92173 = (r0); + s.pw___8830 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___92177 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___92173); + s.ph___8834 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___8830); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -8981,7 +8981,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___92177); + r0 = pxsim_numops_toBoolDecr(s.ph___8834); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -8993,9 +8993,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___92186 = (r0); + s.rx___8843 = (r0); r0 = (0 - s.arg2); - s.ry___92189 = (r0); + s.ry___8846 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -9005,20 +9005,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___92186; - r0 = (s.w___92167 + s.pw___92173); + s.tmp_1 = r0 = s.rx___8843; + r0 = (s.w___8824 + s.pw___8830); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___92186 = (r0); + s.rx___8843 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___92186; - r0 = (s.w___92167 + s.pw___92173); + s.tmp_0 = r0 = s.rx___8843; + r0 = (s.w___8824 + s.pw___8830); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___92186 = (r0); + s.rx___8843 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -9029,120 +9029,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___92189; - r0 = (s.h___92170 + s.ph___92177); + s.tmp_1 = r0 = s.ry___8846; + r0 = (s.h___8827 + s.ph___8834); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___92189 = (r0); + s.ry___8846 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___92189; - r0 = (s.h___92170 + s.ph___92177); + s.tmp_0 = r0 = s.ry___8846; + r0 = (s.h___8827 + s.ph___8834); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___92189 = (r0); + s.ry___8846 = (r0); case 10: - r0 = (s.rx___92186 % s.w___92167); - s.rx___92186 = (r0); - r0 = (s.rx___92186 < 0); + r0 = (s.rx___8843 % s.w___8824); + s.rx___8843 = (r0); + r0 = (s.rx___8843 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___92186 + s.w___92167); - s.rx___92186 = (r0); + r0 = (s.rx___8843 + s.w___8824); + s.rx___8843 = (r0); case 11: case 12: - r0 = (s.ry___92189 % s.h___92170); - s.ry___92189 = (r0); - r0 = (s.ry___92189 < 0); + r0 = (s.ry___8846 % s.h___8827); + s.ry___8846 = (r0); + r0 = (s.ry___8846 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___92189 + s.h___92170); - s.ry___92189 = (r0); + r0 = (s.ry___8846 + s.h___8827); + s.ry___8846 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___92186); - s.rx___92186 = (r0); - r0 = pxsim.Math_.floor(s.ry___92189); - s.ry___92189 = (r0); - s.y___92258 = (0); - s.py___92259 = (0); + r0 = pxsim.Math_.floor(s.rx___8843); + s.rx___8843 = (r0); + r0 = pxsim.Math_.floor(s.ry___8846); + s.ry___8846 = (r0); + s.y___8915 = (0); + s.py___8916 = (0); case 15: - r0 = (s.y___92258 < s.h___92170); + r0 = (s.y___8915 < s.h___8827); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___92258 % s.ph___92177); - s.py___92259 = (r0); - s.tmp_0 = Math_min__P83474_mk(s); - r0 = (s.ph___92177 - s.py___92259); + r0 = (s.y___8915 % s.ph___8834); + s.py___8916 = (r0); + s.tmp_0 = Math_min__P131_mk(s); + r0 = (s.ph___8834 - s.py___8916); s.tmp_0.arg0 = r0; - r0 = (s.h___92170 - s.ry___92189); + r0 = (s.h___8827 - s.ry___8846); s.tmp_0.arg1 = r0; s.callLocIdx = 677; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___92268 = (r0); - s.x___92276 = (0); - s.rxl___92277 = (s.rx___92186); + s.dh___8925 = (r0); + s.x___8933 = (0); + s.rxl___8934 = (s.rx___8843); case 16: - r0 = (s.x___92276 < s.w___92167); + r0 = (s.x___8933 < s.w___8824); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___92276 % s.pw___92173); - s.px___92283 = (r0); - s.tmp_0 = Math_min__P83474_mk(s); - r0 = (s.pw___92173 - s.px___92283); + r0 = (s.x___8933 % s.pw___8830); + s.px___8940 = (r0); + s.tmp_0 = Math_min__P131_mk(s); + r0 = (s.pw___8830 - s.px___8940); s.tmp_0.arg0 = r0; - r0 = (s.w___92167 - s.rxl___92277); + r0 = (s.w___8824 - s.rxl___8934); s.tmp_0.arg1 = r0; s.callLocIdx = 678; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___92287 = (r0); + s.dw___8944 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___85168, s.tmp_0, s.rxl___92277, s.ry___92189); - r0 = (s.rxl___92277 + s.dw___92287); + r0 = pxsim_ImageMethods.drawImage(globals.screen___1825, s.tmp_0, s.rxl___8934, s.ry___8846); + r0 = (s.rxl___8934 + s.dw___8944); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___92167); - s.rxl___92277 = (r0); + r0 = (s.tmp_0 % s.w___8824); + s.rxl___8934 = (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___92287; + r0 = s.dw___8944; { step = 18; continue; } case 17: - r0 = s.w___92167; + r0 = s.w___8824; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___92276 + s.tmp_1); - s.x___92276 = (r0); + r0 = (s.x___8933 + s.tmp_1); + s.x___8933 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___92189 + s.dh___92268); + r0 = (s.ry___8846 + s.dh___8925); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___92170); - s.ry___92189 = (r0); + r0 = (s.tmp_0 % s.h___8827); + s.ry___8846 = (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___92268; + r0 = s.dh___8925; { step = 21; continue; } case 20: - r0 = s.h___92170; + r0 = s.h___8827; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___92258 + s.tmp_1); - s.y___92258 = (r0); + r0 = (s.y___8915 + s.tmp_1); + s.y___8915 = (r0); { step = 15; continue; } case 22: case 23: @@ -9150,30 +9150,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P85705.info = {"start":3063,"length":1537,"line":99,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"draw","argumentNames":["this","offsetX","offsetY"]} +scene_BackgroundLayer_draw__P2362.info = {"start":3063,"length":1537,"line":99,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"draw","argumentNames":["this","offsetX","offsetY"]} -function scene_BackgroundLayer_draw__P85705_mk(s) { +function scene_BackgroundLayer_draw__P2362_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P85705, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P2362, 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, - w___92167: undefined, - h___92170: undefined, - pw___92173: undefined, - ph___92177: undefined, - rx___92186: undefined, - ry___92189: undefined, - y___92258: undefined, - py___92259: undefined, - dh___92268: undefined, - x___92276: undefined, - rxl___92277: undefined, - px___92283: undefined, - dw___92287: undefined, + w___8824: undefined, + h___8827: undefined, + pw___8830: undefined, + ph___8834: undefined, + rx___8843: undefined, + ry___8846: undefined, + y___8915: undefined, + py___8916: undefined, + dh___8925: undefined, + x___8933: undefined, + rxl___8934: undefined, + px___8940: undefined, + dw___8944: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9183,7 +9183,7 @@ function scene_BackgroundLayer_draw__P85705_mk(s) { -function scene_Camera_update__P85792(s) { +function scene_Camera_update__P2449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9193,32 +9193,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___92368 = undefined; - s.percentComplete___92382 = undefined; - s.damp___92389 = undefined; - s.f___92398 = undefined; - s.x___92404 = undefined; - s.y___92411 = undefined; + s.elapsed___9025 = undefined; + s.percentComplete___9039 = undefined; + s.damp___9046 = undefined; + s.f___9055 = undefined; + s.x___9061 = undefined; + s.y___9068 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = scene_Camera_offsetX__P85782_mk(s); + s.tmp_1 = scene_Camera_offsetX__P2439_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P85440_mk(s); + s.tmp_3 = Sprite_x__P2097_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 759; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -9227,16 +9227,16 @@ switch (step) { s.callLocIdx = 760; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P85784_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2441_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P85442_mk(s); + s.tmp_2 = Sprite_y__P2099_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 761; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -9247,7 +9247,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P85782_mk(s); + s.tmp_0 = scene_Camera_offsetX__P2439_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -9257,7 +9257,7 @@ switch (step) { s.callLocIdx = 764; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P85784_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2441_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -9286,10 +9286,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___92368 = (r0); + s.elapsed___9025 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___92368 >= s.tmp_1); + r0 = (s.elapsed___9025 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -9298,49 +9298,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___92368 / s.tmp_0); - s.percentComplete___92382 = (r0); - s.damp___92389 = (1); - r0 = (s.percentComplete___92382 >= 0.75); + r0 = (s.elapsed___9025 / s.tmp_0); + s.percentComplete___9039 = (r0); + s.damp___9046 = (1); + r0 = (s.percentComplete___9039 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P83473_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___92382); + r0 = (1 - s.percentComplete___9039); s.tmp_1.arg1 = r0; s.callLocIdx = 769; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___92389 = (r0); + s.damp___9046 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___92389); - s.f___92398 = (r0); + r0 = (s.tmp_0 * s.damp___9046); + s.f___9055 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___92398); + r0 = (s.tmp_1 * s.f___9055); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___92404 = (r0); + s.x___9061 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___92398); + r0 = (s.tmp_1 * s.f___9055); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___92411 = (r0); + s.y___9068 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___92404); + r0 = (s.tmp_2 + s.x___9061); 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___92411); + r0 = (s.tmp_2 + s.y___9068); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -9350,12 +9350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P85792.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P2449.info = {"start":2297,"length":1397,"line":77,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P85792_mk(s) { +function scene_Camera_update__P2449_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P85792, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P2449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9363,12 +9363,12 @@ function scene_Camera_update__P85792_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___92368: undefined, - percentComplete___92382: undefined, - damp___92389: undefined, - f___92398: undefined, - x___92404: undefined, - y___92411: undefined, + elapsed___9025: undefined, + percentComplete___9039: undefined, + damp___9046: undefined, + f___9055: undefined, + x___9061: undefined, + y___9068: undefined, arg0: undefined, } } @@ -9376,7 +9376,7 @@ function scene_Camera_update__P85792_mk(s) { -function scene_Camera_offsetY__P85784(s) { +function scene_Camera_offsetY__P2441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9386,27 +9386,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___92446 = undefined; + s.scene___9103 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 756; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___92446 = (r0); - r0 = s.scene___92446.fields["tileMap"]; + s.scene___9103 = (r0); + r0 = s.scene___9103.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___92446.fields["tileMap"]; + r0 = s.scene___9103.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -9423,8 +9423,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetY__P85745_mk(s); - r0 = s.scene___92446.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P2402_mk(s); + r0 = s.scene___9103.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 758; s.pc = 6; return s.tmp_9; @@ -9440,12 +9440,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P85784.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P2441.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P85784_mk(s) { +function scene_Camera_offsetY__P2441_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P85784, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9457,7 +9457,7 @@ function scene_Camera_offsetY__P85784_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___92446: undefined, + scene___9103: undefined, arg0: undefined, arg1: undefined, } } @@ -9466,7 +9466,7 @@ function scene_Camera_offsetY__P85784_mk(s) { -function tiles_TileMap_enabled__P85750(s) { +function tiles_TileMap_enabled__P2407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9481,7 +9481,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -9494,13 +9494,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P85750.info = {"start":7163,"length":66,"line":262,"column":8,"endLine":264,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P85750.isGetter = true; +tiles_TileMap_enabled__P2407.info = {"start":7163,"length":66,"line":262,"column":8,"endLine":264,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P2407.isGetter = true; -function tiles_TileMap_enabled__P85750_mk(s) { +function tiles_TileMap_enabled__P2407_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P85750, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P2407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9513,7 +9513,7 @@ function tiles_TileMap_enabled__P85750_mk(s) { -function tiles_TileMap_offsetY__P85745(s) { +function tiles_TileMap_offsetY__P2402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9529,17 +9529,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P83470_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P83473_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P85747_mk(s); + s.tmp_1 = Math_max__P130_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P2404_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 695; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -9555,12 +9555,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P85745.info = {"start":6616,"length":123,"line":240,"column":8,"endLine":242,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P2402.info = {"start":6616,"length":123,"line":240,"column":8,"endLine":242,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P85745_mk(s) { +function tiles_TileMap_offsetY__P2402_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P85745, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P2402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9575,7 +9575,7 @@ function tiles_TileMap_offsetY__P85745_mk(s) { -function tiles_TileMap_areaHeight__P85747(s) { +function tiles_TileMap_areaHeight__P2404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9590,7 +9590,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9612,12 +9612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P85747.info = {"start":6850,"length":93,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P2404.info = {"start":6850,"length":93,"line":248,"column":8,"endLine":250,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P85747_mk(s) { +function tiles_TileMap_areaHeight__P2404_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P85747, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P2404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9631,7 +9631,7 @@ function tiles_TileMap_areaHeight__P85747_mk(s) { -function tiles_TileMap_scale__P85742(s) { +function tiles_TileMap_scale__P2399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9646,18 +9646,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P85742.info = {"start":6181,"length":55,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P85742.isGetter = true; +tiles_TileMap_scale__P2399.info = {"start":6181,"length":55,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P2399.isGetter = true; -function tiles_TileMap_scale__P85742_mk(s) { +function tiles_TileMap_scale__P2399_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P85742, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9666,7 +9666,7 @@ function tiles_TileMap_scale__P85742_mk(s) { -function tiles_TileMapData_height__P85729(s) { +function tiles_TileMapData_height__P2386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9681,18 +9681,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P85729.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P85729.isGetter = true; +tiles_TileMapData_height__P2386.info = {"start":3734,"length":65,"line":139,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P2386.isGetter = true; -function tiles_TileMapData_height__P85729_mk(s) { +function tiles_TileMapData_height__P2386_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P85729, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P2386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9701,7 +9701,7 @@ function tiles_TileMapData_height__P85729_mk(s) { -function scene_Camera_offsetY__P85783(s) { +function scene_Camera_offsetY__P2440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9716,18 +9716,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P85783.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P85783.isGetter = true; +scene_Camera_offsetY__P2440.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P2440.isGetter = true; -function scene_Camera_offsetY__P85783_mk(s) { +function scene_Camera_offsetY__P2440_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P85783, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9736,7 +9736,7 @@ function scene_Camera_offsetY__P85783_mk(s) { -function scene_Camera_offsetX__P85782(s) { +function scene_Camera_offsetX__P2439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9746,27 +9746,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___92513 = undefined; + s.scene___9170 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 753; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___92513 = (r0); - r0 = s.scene___92513.fields["tileMap"]; + s.scene___9170 = (r0); + r0 = s.scene___9170.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___92513.fields["tileMap"]; + r0 = s.scene___9170.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -9783,8 +9783,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetX__P85744_mk(s); - r0 = s.scene___92513.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P2401_mk(s); + r0 = s.scene___9170.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.callLocIdx = 755; s.pc = 6; return s.tmp_9; @@ -9800,12 +9800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P85782.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P2439.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P85782_mk(s) { +function scene_Camera_offsetX__P2439_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P85782, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9817,7 +9817,7 @@ function scene_Camera_offsetX__P85782_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___92513: undefined, + scene___9170: undefined, arg0: undefined, arg1: undefined, } } @@ -9826,7 +9826,7 @@ function scene_Camera_offsetX__P85782_mk(s) { -function tiles_TileMap_offsetX__P85744(s) { +function tiles_TileMap_offsetX__P2401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9842,17 +9842,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P83470_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P83473_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P85746_mk(s); + s.tmp_1 = Math_max__P130_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P2403_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 692; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -9868,12 +9868,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P85744.info = {"start":6485,"length":121,"line":236,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P2401.info = {"start":6485,"length":121,"line":236,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P85744_mk(s) { +function tiles_TileMap_offsetX__P2401_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P85744, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P2401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9888,7 +9888,7 @@ function tiles_TileMap_offsetX__P85744_mk(s) { -function tiles_TileMap_areaWidth__P85746(s) { +function tiles_TileMap_areaWidth__P2403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9903,7 +9903,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9925,12 +9925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P85746.info = {"start":6749,"length":91,"line":244,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P2403.info = {"start":6749,"length":91,"line":244,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P85746_mk(s) { +function tiles_TileMap_areaWidth__P2403_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P85746, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P2403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9944,7 +9944,7 @@ function tiles_TileMap_areaWidth__P85746_mk(s) { -function tiles_TileMapData_width__P85728(s) { +function tiles_TileMapData_width__P2385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9959,18 +9959,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P85728.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P85728.isGetter = true; +tiles_TileMapData_width__P2385.info = {"start":3661,"length":63,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P2385.isGetter = true; -function tiles_TileMapData_width__P85728_mk(s) { +function tiles_TileMapData_width__P2385_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P85728, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P2385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9979,7 +9979,7 @@ function tiles_TileMapData_width__P85728_mk(s) { -function scene_Camera_offsetX__P85781(s) { +function scene_Camera_offsetX__P2438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9994,18 +9994,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P85781.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P85781.isGetter = true; +scene_Camera_offsetX__P2438.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P2438.isGetter = true; -function scene_Camera_offsetX__P85781_mk(s) { +function scene_Camera_offsetX__P2438_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P85781, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10014,7 +10014,7 @@ function scene_Camera_offsetX__P85781_mk(s) { -function Sprite_y__P85442(s) { +function Sprite_y__P2099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10029,7 +10029,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -10044,13 +10044,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P85442.info = {"start":2132,"length":85,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P85442.isGetter = true; +Sprite_y__P2099.info = {"start":2132,"length":85,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P2099.isGetter = true; -function Sprite_y__P85442_mk(s) { +function Sprite_y__P2099_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P85442, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10064,7 +10064,7 @@ function Sprite_y__P85442_mk(s) { -function Fx_toFloat__P83514(s) { +function Fx_toFloat__P171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10082,12 +10082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P83514.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P171.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P83514_mk(s) { +function Fx_toFloat__P171_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P83514, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10096,7 +10096,7 @@ function Fx_toFloat__P83514_mk(s) { -function Sprite_x__P85440(s) { +function Sprite_x__P2097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10111,7 +10111,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -10126,13 +10126,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P85440.info = {"start":1784,"length":84,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P85440.isGetter = true; +Sprite_x__P2097.info = {"start":1784,"length":84,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P2097.isGetter = true; -function Sprite_x__P85440_mk(s) { +function Sprite_x__P2097_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P85440, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10146,7 +10146,7 @@ function Sprite_x__P85440_mk(s) { -function PhysicsEngine_move__P85583(s) { +function PhysicsEngine_move__P2240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10162,17 +10162,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C85577_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2234_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P85583.info = {"start":351,"length":20,"line":18,"column":4,"endLine":18,"endColumn":24,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +PhysicsEngine_move__P2240.info = {"start":351,"length":20,"line":18,"column":4,"endLine":18,"endColumn":24,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function PhysicsEngine_move__P85583_mk(s) { +function PhysicsEngine_move__P2240_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P85583, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P2240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10182,7 +10182,7 @@ function PhysicsEngine_move__P85583_mk(s) { -function PhysicsEngine_draw__P85582(s) { +function PhysicsEngine_draw__P2239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10197,17 +10197,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C85577_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2234_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P85582.info = {"start":279,"length":10,"line":15,"column":4,"endLine":15,"endColumn":14,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +PhysicsEngine_draw__P2239.info = {"start":279,"length":10,"line":15,"column":4,"endLine":15,"endColumn":14,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function PhysicsEngine_draw__P85582_mk(s) { +function PhysicsEngine_draw__P2239_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P85582, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P2239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10216,7 +10216,7 @@ function PhysicsEngine_draw__P85582_mk(s) { -function controller___update__P85292(s) { +function controller___update__P1949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10226,7 +10226,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___92917 = undefined; + s.dtms___9574 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -10234,12 +10234,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___92917 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P92924); + s.dtms___9574 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P9581); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___92917); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); - s.tmp_2 = controller_players__P85260_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___9574); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = controller_players__P1917_mk(s); s.callLocIdx = 179; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -10252,17 +10252,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P85292.info = {"start":11751,"length":137,"line":361,"column":4,"endLine":364,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P1949.info = {"start":11751,"length":137,"line":361,"column":4,"endLine":364,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P85292_mk(s) { +function controller___update__P1949_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P85292, depth: s.depth + 1, + parent: s, fn: controller___update__P1949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___92917: undefined, + dtms___9574: undefined, arg0: undefined, } } @@ -10270,7 +10270,7 @@ function controller___update__P85292_mk(s) { -function controller___update_inline__P92924(s) { +function controller___update_inline__P9581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10284,7 +10284,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P85290_mk(s); + s.tmp_0 = controller_Controller___update__P1947_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 180; s.pc = 1; return s.tmp_0; @@ -10294,12 +10294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P92924.info = {"start":11853,"length":27,"line":363,"column":26,"endLine":363,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P9581.info = {"start":11853,"length":27,"line":363,"column":26,"endLine":363,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P92924_mk(s) { +function controller___update_inline__P9581_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P92924, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P9581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10309,7 +10309,7 @@ function controller___update_inline__P92924_mk(s) { -function controller_Controller___update__P85290(s) { +function controller_Controller___update__P1947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10325,7 +10325,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -10336,10 +10336,10 @@ 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__P92937); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P9594); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -10350,12 +10350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P85290.info = {"start":11229,"length":124,"line":343,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P1947.info = {"start":11229,"length":124,"line":343,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P85290_mk(s) { +function controller_Controller___update__P1947_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P85290, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P1947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10369,7 +10369,7 @@ function controller_Controller___update__P85290_mk(s) { -function controller_Controller___update_inline__P92937(s) { +function controller_Controller___update_inline__P9594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10383,7 +10383,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P85322_mk(s); + s.tmp_0 = controller_Button___update__P1979_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -10394,12 +10394,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P92937.info = {"start":11316,"length":25,"line":345,"column":33,"endLine":345,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P9594.info = {"start":11316,"length":25,"line":345,"column":33,"endLine":345,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function controller_Controller___update_inline__P92937_mk(s) { +function controller_Controller___update_inline__P9594_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P92937, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P9594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10409,7 +10409,7 @@ function controller_Controller___update_inline__P92937_mk(s) { -function controller_Button___update__P85322(s) { +function controller_Button___update__P1979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10419,16 +10419,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___92953 = undefined; - s.interval___92962 = undefined; - s.count___92975 = undefined; + s.delay___9610 = undefined; + s.interval___9619 = undefined; + s.count___9632 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -10452,31 +10452,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___87442; + r0 = globals.defaultRepeatDelay___4099; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___92953 = (s.tmp_2); + s.delay___9610 = (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___87444; + r0 = globals.defaultRepeatInterval___4101; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___92962 = (s.tmp_2); + s.interval___9619 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___92953); + r0 = (s.tmp_1 < s.delay___9610); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -10485,26 +10485,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___92953); + r0 = (s.tmp_5 - s.delay___9610); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___92962); + r0 = (s.tmp_4 - s.interval___9619); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___92962); + r0 = (s.tmp_3 / s.interval___9619); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___92975 = (r0); + s.count___9632 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___92975 != s.tmp_1); + r0 = (s.count___9632 != 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__P87433_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P4090_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 192; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___92975); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___9632); case 9: case 10: case 11: @@ -10512,12 +10512,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P85322.info = {"start":4995,"length":704,"line":156,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P1979.info = {"start":4995,"length":704,"line":156,"column":8,"endLine":173,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P85322_mk(s) { +function controller_Button___update__P1979_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P85322, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P1979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10525,9 +10525,9 @@ function controller_Button___update__P85322_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___92953: undefined, - interval___92962: undefined, - count___92975: undefined, + delay___9610: undefined, + interval___9619: undefined, + count___9632: undefined, arg0: undefined, arg1: undefined, } } @@ -10536,7 +10536,7 @@ function controller_Button___update__P85322_mk(s) { -function controller_Button_raiseButtonRepeat__P87433(s) { +function controller_Button_raiseButtonRepeat__P4090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10551,8 +10551,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___87440); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4097); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -10567,12 +10567,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P87433.info = {"start":2765,"length":211,"line":91,"column":8,"endLine":96,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P4090.info = {"start":2765,"length":211,"line":91,"column":8,"endLine":96,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P87433_mk(s) { +function controller_Button_raiseButtonRepeat__P4090_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P87433, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P4090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10582,7 +10582,7 @@ function controller_Button_raiseButtonRepeat__P87433_mk(s) { -function controller_players__P85260(s) { +function controller_players__P1917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10592,25 +10592,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P85259_mk(s); + s.tmp_0 = controller__player1__P1916_mk(s); s.callLocIdx = 138; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P83453_mk(s); - s.tmp_0.arg0 = globals._players___87426; - s.tmp_0.arg1 = controller_players_inline__P92794; + s.tmp_0 = helpers_arrayFilter__P110_mk(s); + s.tmp_0.arg0 = globals._players___4083; + s.tmp_0.arg1 = controller_players_inline__P9451; s.callLocIdx = 139; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P85260.info = {"start":748,"length":144,"line":29,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P1917.info = {"start":748,"length":144,"line":29,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P85260_mk(s) { +function controller_players__P1917_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P85260, depth: s.depth + 1, + parent: s, fn: controller_players__P1917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10619,7 +10619,7 @@ function controller_players__P85260_mk(s) { -function controller_players_inline__P92794(s) { +function controller_players_inline__P9451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10643,12 +10643,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P92794.info = {"start":870,"length":14,"line":31,"column":31,"endLine":31,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller_players_inline__P9451.info = {"start":870,"length":14,"line":31,"column":31,"endLine":31,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller_players_inline__P92794_mk(s) { +function controller_players_inline__P9451_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P92794, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P9451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10660,7 +10660,7 @@ function controller_players_inline__P92794_mk(s) { -function controller__player1__P85259(s) { +function controller__player1__P1916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10670,7 +10670,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___87426); + r0 = pxsim_numops_toBoolDecr(globals._players___4083); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10679,7 +10679,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___87426, 0); + r0 = pxsim_Array__getAt(globals._players___4083, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -10689,18 +10689,18 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C85265_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C1922_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___85246); - r0 = pxsim_Array__push(s.tmp_6, globals.up___85247); - r0 = pxsim_Array__push(s.tmp_6, globals.right___85248); - r0 = pxsim_Array__push(s.tmp_6, globals.down___85249); - r0 = pxsim_Array__push(s.tmp_6, globals.A___85244); - r0 = pxsim_Array__push(s.tmp_6, globals.B___85245); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___85250); - s.tmp_7 = controller_Controller_constructor__P85269_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___1903); + r0 = pxsim_Array__push(s.tmp_6, globals.up___1904); + r0 = pxsim_Array__push(s.tmp_6, globals.right___1905); + r0 = pxsim_Array__push(s.tmp_6, globals.down___1906); + r0 = pxsim_Array__push(s.tmp_6, globals.A___1901); + r0 = pxsim_Array__push(s.tmp_6, globals.B___1902); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___1907); + s.tmp_7 = controller_Controller_constructor__P1926_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -10709,16 +10709,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___87426, 0); + r0 = pxsim_Array__getAt(globals._players___4083, 0); return leave(s, r0) default: oops() } } } -controller__player1__P85259.info = {"start":484,"length":258,"line":23,"column":4,"endLine":27,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P1916.info = {"start":484,"length":258,"line":23,"column":4,"endLine":27,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P85259_mk(s) { +function controller__player1__P1916_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P85259, depth: s.depth + 1, + parent: s, fn: controller__player1__P1916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10734,7 +10734,7 @@ function controller__player1__P85259_mk(s) { -function controller_Controller_constructor__P85269(s) { +function controller_Controller_constructor__P1926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10744,9 +10744,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___92859 = undefined; - s.i___92867 = undefined; - s.i___92885 = undefined; + s.leftId___9516 = undefined; + s.i___9524 = undefined; + s.i___9542 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10754,7 +10754,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -10778,18 +10778,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___92859 = (r0); - s.i___92867 = (0); + s.leftId___9516 = (r0); + s.i___9524 = (0); case 2: - r0 = (s.i___92867 < 7); + r0 = (s.i___9524 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C85310_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C1967_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P85316_mk(s); + s.tmp_2 = controller_Button_constructor__P1973_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___92859 + s.i___92867); + r0 = (s.leftId___9516 + s.i___9524); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 143; s.pc = 7; return s.tmp_2; @@ -10798,14 +10798,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___92867 + 1); - s.i___92867 = (r0); + r0 = (s.i___9524 + 1); + s.i___9524 = (r0); { step = 2; continue; } case 3: case 4: - s.i___92885 = (0); + s.i___9542 = (0); case 5: - s.tmp_1 = r0 = s.i___92885; + s.tmp_1 = r0 = s.i___9542; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -10816,14 +10816,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___92885); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___9542); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___92885 + 1); - s.i___92885 = (r0); + r0 = (s.i___9542 + 1); + s.i___9542 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P87427_mk(s); + s.tmp_0 = controller_addController__P4084_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 144; s.pc = 8; return s.tmp_0; case 8: @@ -10832,12 +10832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P85269.info = {"start":1555,"length":696,"line":58,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P1926.info = {"start":1555,"length":696,"line":58,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P85269_mk(s) { +function controller_Controller_constructor__P1926_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P85269, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P1926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10845,9 +10845,9 @@ function controller_Controller_constructor__P85269_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___92859: undefined, - i___92867: undefined, - i___92885: undefined, + leftId___9516: undefined, + i___9524: undefined, + i___9542: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10857,7 +10857,7 @@ function controller_Controller_constructor__P85269_mk(s) { -function controller_addController__P87427(s) { +function controller_addController__P4084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10871,17 +10871,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___87426); + r0 = pxsim_numops_toBoolDecr(globals._players___4083); 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___87426 = (r0); + globals._players___4083 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___87426; + s.tmp_0 = r0 = globals._players___4083; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -10891,12 +10891,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P87427.info = {"start":321,"length":157,"line":16,"column":4,"endLine":21,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P4084.info = {"start":321,"length":157,"line":16,"column":4,"endLine":21,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P87427_mk(s) { +function controller_addController__P4084_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P87427, depth: s.depth + 1, + parent: s, fn: controller_addController__P4084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10908,7 +10908,7 @@ function controller_addController__P87427_mk(s) { -function helpers_arrayFilter__P83453(s) { +function helpers_arrayFilter__P110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10918,31 +10918,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___92713 = undefined; - s.len___92715 = undefined; - s.i___92718 = undefined; - s.v___92723 = undefined; + s.res___9370 = undefined; + s.len___9372 = undefined; + s.i___9375 = undefined; + s.v___9380 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___92713 = (r0); + s.res___9370 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___92715 = (r0); - s.i___92718 = (0); + s.len___9372 = (r0); + s.i___9375 = (0); case 1: - r0 = (s.i___92718 < s.len___92715); + r0 = (s.i___9375 < s.len___9372); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___92718); - s.v___92723 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___9375); + s.v___9380 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___92723; - s.tmp_1.arg1 = s.i___92718; + s.tmp_1.arg0 = s.v___9380; + s.tmp_1.arg1 = s.i___9375; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -10950,30 +10950,30 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___92713, s.v___92723); + r0 = pxsim_Array__push(s.res___9370, s.v___9380); case 2: case 3: - r0 = (s.i___92718 + 1); - s.i___92718 = (r0); + r0 = (s.i___9375 + 1); + s.i___9375 = (r0); { step = 1; continue; } case 4: - r0 = s.res___92713; + r0 = s.res___9370; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P83453.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P110.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -function helpers_arrayFilter__P83453_mk(s) { +function helpers_arrayFilter__P110_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P83453, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___92713: undefined, - len___92715: undefined, - i___92718: undefined, - v___92723: undefined, + res___9370: undefined, + len___9372: undefined, + i___9375: undefined, + v___9380: undefined, arg0: undefined, arg1: undefined, } } @@ -10982,7 +10982,7 @@ function helpers_arrayFilter__P83453_mk(s) { -function controller__moveSprites__P85264(s) { +function controller__moveSprites__P1921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10992,13 +10992,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P83452_mk(s); - s.tmp_1 = controller_players__P85260_mk(s); + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = controller_players__P1917_mk(s); s.callLocIdx = 140; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P92563; + s.tmp_0.arg1 = controller__moveSprites_inline__P9220; s.callLocIdx = 142; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -11006,12 +11006,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P85264.info = {"start":1108,"length":180,"line":43,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P1921.info = {"start":1108,"length":180,"line":43,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P85264_mk(s) { +function controller__moveSprites__P1921_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P85264, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P1921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11021,7 +11021,7 @@ function controller__moveSprites__P85264_mk(s) { -function controller__moveSprites_inline__P92563(s) { +function controller__moveSprites_inline__P9220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11035,7 +11035,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P85289_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P1946_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 141; s.pc = 1; return s.tmp_0; case 1: @@ -11044,12 +11044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P92563.info = {"start":1254,"length":26,"line":46,"column":26,"endLine":46,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller__moveSprites_inline__P9220.info = {"start":1254,"length":26,"line":46,"column":26,"endLine":46,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller__moveSprites_inline__P92563_mk(s) { +function controller__moveSprites_inline__P9220_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P92563, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P9220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11059,7 +11059,7 @@ function controller__moveSprites_inline__P92563_mk(s) { -function controller_Controller___preUpdate__P85289(s) { +function controller_Controller___preUpdate__P1946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11069,20 +11069,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___92570 = undefined; - s.svx___92571 = undefined; - s.svy___92572 = undefined; - s.svxInCricle___92607 = undefined; - s.svyInCircle___92609 = undefined; - s.sq___92611 = undefined; - s.scale___92626 = undefined; + s.deadSprites___9227 = undefined; + s.svx___9228 = undefined; + s.svy___9229 = undefined; + s.svxInCricle___9264 = undefined; + s.svyInCircle___9266 = undefined; + s.sq___9268 = undefined; + s.scale___9283 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P85270_mk(s); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P1927_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 152; s.pc = 18; return s.tmp_3; case 18: @@ -11098,21 +11098,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___92570 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___92570, false); + s.deadSprites___9227 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___9227, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___92571 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___92571, 0); + s.svx___9228 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___9228, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___92572 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___92572, 0); + s.svy___9229 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___9229, 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___92571; - s.tmp_5 = controller_Button_pressureLevel__P85320_mk(s); - s.tmp_6 = controller_Controller_right__P85275_mk(s); + s.tmp_1 = r0 = s.svx___9228; + s.tmp_5 = controller_Button_pressureLevel__P1977_mk(s); + s.tmp_6 = controller_Controller_right__P1932_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 153; s.pc = 20; return s.tmp_6; case 20: @@ -11122,8 +11122,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P85320_mk(s); - s.tmp_9 = controller_Controller_left__P85274_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P1977_mk(s); + s.tmp_9 = controller_Controller_left__P1931_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 22; return s.tmp_9; case 22: @@ -11138,9 +11138,9 @@ 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___92572; - s.tmp_4 = controller_Button_pressureLevel__P85320_mk(s); - s.tmp_5 = controller_Controller_down__P85277_mk(s); + s.tmp_0 = r0 = s.svy___9229; + s.tmp_4 = controller_Button_pressureLevel__P1977_mk(s); + s.tmp_5 = controller_Controller_down__P1934_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 157; s.pc = 24; return s.tmp_5; case 24: @@ -11150,8 +11150,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P85320_mk(s); - s.tmp_8 = controller_Controller_up__P85276_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P1977_mk(s); + s.tmp_8 = controller_Controller_up__P1933_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 159; s.pc = 26; return s.tmp_8; case 26: @@ -11168,14 +11168,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C85310_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P85275_mk(s); + s.tmp_1 = controller_Button__C1967_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P1932_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 161; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 27; return s.tmp_1; case 27: @@ -11190,14 +11190,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C85310_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P85274_mk(s); + s.tmp_5 = controller_Button__C1967_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P1931_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 162; s.pc = 30; return s.tmp_6; case 30: r0 = s.retval; s.tmp_5.arg0 = r0; - if (!checkSubtype(s.tmp_5.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_5.arg0); s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed; s.pc = 29; return s.tmp_5; case 29: @@ -11212,18 +11212,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___92571; + s.tmp_8 = r0 = s.svx___9228; r0 = (s.tmp_3 - s.tmp_7); s.tmp_9 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_8, s.tmp_9); - s.tmp_1 = controller_Button__C85310_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P85277_mk(s); + s.tmp_1 = controller_Button__C1967_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P1934_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 163; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 31; return s.tmp_1; case 31: @@ -11238,14 +11238,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C85310_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P85276_mk(s); + s.tmp_5 = controller_Button__C1967_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P1933_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 164; s.pc = 34; return s.tmp_6; case 34: r0 = s.retval; s.tmp_5.arg0 = r0; - if (!checkSubtype(s.tmp_5.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_5.arg0); s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed; s.pc = 33; return s.tmp_5; case 33: @@ -11260,57 +11260,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___92572; + s.tmp_8 = r0 = s.svy___9229; 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___92607 = (r0); - s.tmp_0 = r0 = s.svxInCricle___92607; - r0 = pxsim_pxtrt_ldlocRef(s.svx___92571); + s.svxInCricle___9264 = (r0); + s.tmp_0 = r0 = s.svxInCricle___9264; + r0 = pxsim_pxtrt_ldlocRef(s.svx___9228); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___92609 = (r0); - s.tmp_0 = r0 = s.svyInCircle___92609; - r0 = pxsim_pxtrt_ldlocRef(s.svy___92572); + s.svyInCircle___9266 = (r0); + s.tmp_0 = r0 = s.svyInCircle___9266; + r0 = pxsim_pxtrt_ldlocRef(s.svy___9229); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___92571); + r0 = pxsim_pxtrt_ldlocRef(s.svx___9228); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___92571); + r0 = pxsim_pxtrt_ldlocRef(s.svx___9228); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___92572); + r0 = pxsim_pxtrt_ldlocRef(s.svy___9229); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___92572); + r0 = pxsim_pxtrt_ldlocRef(s.svy___9229); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___92611 = (r0); - r0 = (s.sq___92611 > 65536); + s.sq___9268 = (r0); + r0 = (s.sq___9268 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___92611); + r0 = (65536 / s.sq___9268); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___92626 = (r0); - s.tmp_0 = r0 = s.svxInCricle___92607; - s.tmp_3 = r0 = s.scale___92626; - r0 = pxsim_pxtrt_ldlocRef(s.svx___92571); + s.scale___9283 = (r0); + s.tmp_0 = r0 = s.svxInCricle___9264; + s.tmp_3 = r0 = s.scale___9283; + r0 = pxsim_pxtrt_ldlocRef(s.svx___9228); 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___92609; - s.tmp_3 = r0 = s.scale___92626; - r0 = pxsim_pxtrt_ldlocRef(s.svy___92572); + s.tmp_0 = r0 = s.svyInCircle___9266; + s.tmp_3 = r0 = s.scale___9283; + r0 = pxsim_pxtrt_ldlocRef(s.svy___9229); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -11319,15 +11319,15 @@ 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__P92644); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___92570); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___92571); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___92572); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___92607); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___92609); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P85270_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P9301); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___9227); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___9228); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___9229); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___9264); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___9266); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P1927_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 165; s.pc = 36; return s.tmp_2; case 36: @@ -11337,20 +11337,20 @@ switch (step) { s.callLocIdx = 173; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___92570); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___9227); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P85271_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P1928_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P83453_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P85270_mk(s); + s.tmp_2 = helpers_arrayFilter__P110_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P1927_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 174; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P92701; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P9358; s.callLocIdx = 175; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -11365,12 +11365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P85289.info = {"start":8684,"length":2535,"line":277,"column":8,"endLine":341,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P1946.info = {"start":8684,"length":2535,"line":277,"column":8,"endLine":341,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P85289_mk(s) { +function controller_Controller___preUpdate__P1946_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P85289, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P1946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11382,13 +11382,13 @@ function controller_Controller___preUpdate__P85289_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___92570: undefined, - svx___92571: undefined, - svy___92572: undefined, - svxInCricle___92607: undefined, - svyInCircle___92609: undefined, - sq___92611: undefined, - scale___92626: undefined, + deadSprites___9227: undefined, + svx___9228: undefined, + svy___9229: undefined, + svxInCricle___9264: undefined, + svyInCircle___9266: undefined, + sq___9268: undefined, + scale___9283: undefined, arg0: undefined, } } @@ -11396,7 +11396,7 @@ function controller_Controller___preUpdate__P85289_mk(s) { -function controller_Controller___preUpdate_inline__P92644(s) { +function controller_Controller___preUpdate_inline__P9301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11406,9 +11406,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___92647 = undefined; - s.vx___92648 = undefined; - s.vy___92649 = undefined; + s.s___9304 = undefined; + s.vx___9305 = undefined; + s.vy___9306 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11426,7 +11426,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___92647 = (r0); + s.s___9304 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -11439,7 +11439,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___92648 = (r0); + s.vx___9305 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -11452,8 +11452,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___92649 = (r0); - r0 = s.s___92647.fields["flags"]; + s.vy___9306 = (r0); + r0 = s.s___9304.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -11467,14 +11467,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___92648); + r0 = pxsim_numops_toBoolDecr(s.vx___9305); if (!r0) { step = 3; continue; } - r0 = (s.s___92647).fields["_vx"] = (0); + r0 = (s.s___9304).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___92649); + r0 = pxsim_numops_toBoolDecr(s.vy___9306); if (!r0) { step = 5; continue; } - r0 = (s.s___92647).fields["_vy"] = (0); + r0 = (s.s___9304).fields["_vy"] = (0); case 5: case 6: case 7: @@ -11492,48 +11492,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___92648; + s.tmp_2 = r0 = s.vx___9305; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___92649; + r0 = s.vy___9306; 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___92647; + s.tmp_4 = r0 = s.s___9304; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___92648); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___9305); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___92647; + s.tmp_0 = r0 = s.s___9304; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___92649); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9306); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___92648); + r0 = pxsim_numops_toBoolDecr(s.vx___9305); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___92647; + s.tmp_0 = r0 = s.s___9304; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___92648); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___9305); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___92649); + r0 = pxsim_numops_toBoolDecr(s.vy___9306); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___92647; + s.tmp_0 = r0 = s.s___9304; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___92649); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9306); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -11550,12 +11550,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P92644.info = {"start":9867,"length":1171,"line":308,"column":44,"endLine":336,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P9301.info = {"start":9867,"length":1171,"line":308,"column":44,"endLine":336,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function controller_Controller___preUpdate_inline__P92644_mk(s) { +function controller_Controller___preUpdate_inline__P9301_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P92644, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P9301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11564,9 +11564,9 @@ function controller_Controller___preUpdate_inline__P92644_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___92647: undefined, - vx___92648: undefined, - vy___92649: undefined, + s___9304: undefined, + vx___9305: undefined, + vy___9306: undefined, arg0: undefined, } } @@ -11574,7 +11574,7 @@ function controller_Controller___preUpdate_inline__P92644_mk(s) { -function controller_Controller___preUpdate_inline__P92701(s) { +function controller_Controller___preUpdate_inline__P9358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11599,12 +11599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P92701.info = {"start":11165,"length":42,"line":340,"column":28,"endLine":340,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P9358.info = {"start":11165,"length":42,"line":340,"column":28,"endLine":340,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function controller_Controller___preUpdate_inline__P92701_mk(s) { +function controller_Controller___preUpdate_inline__P9358_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P92701, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P9358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11616,7 +11616,7 @@ function controller_Controller___preUpdate_inline__P92701_mk(s) { -function controller_Button_pressureLevel__P85320(s) { +function controller_Button_pressureLevel__P1977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11631,16 +11631,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); r0 = pxsim.control.deviceDalVersion(); s.tmp_1 = r0; r0 = (s.tmp_1 == "sim"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = controller_Button__C85310_v0_1_mk(s); + s.tmp_3 = controller_Button__C1967_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 6; return s.tmp_3; case 6: @@ -11669,12 +11669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P85320.info = {"start":4157,"length":311,"line":131,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P1977.info = {"start":4157,"length":311,"line":131,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P85320_mk(s) { +function controller_Button_pressureLevel__P1977_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P85320, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P1977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11689,7 +11689,7 @@ function controller_Button_pressureLevel__P85320_mk(s) { -function controller_Button_isPressed__P85319(s) { +function controller_Button_isPressed__P1976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11704,17 +11704,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P85319.info = {"start":4007,"length":57,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P1976.info = {"start":4007,"length":57,"line":124,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P85319_mk(s) { +function controller_Button_isPressed__P1976_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P85319, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P1976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11723,7 +11723,7 @@ function controller_Button_isPressed__P85319_mk(s) { -function controller_Controller_down__P85277(s) { +function controller_Controller_down__P1934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11738,7 +11738,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -11747,13 +11747,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P85277.info = {"start":3234,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P85277.isGetter = true; +controller_Controller_down__P1934.info = {"start":3234,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P1934.isGetter = true; -function controller_Controller_down__P85277_mk(s) { +function controller_Controller_down__P1934_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P85277, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P1934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11764,7 +11764,7 @@ function controller_Controller_down__P85277_mk(s) { -function controller_Controller_button__P87428(s) { +function controller_Controller_button__P4085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11780,7 +11780,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -11789,12 +11789,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P87428.info = {"start":5274,"length":105,"line":184,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P4085.info = {"start":5274,"length":105,"line":184,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P87428_mk(s) { +function controller_Controller_button__P4085_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P87428, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P4085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11806,7 +11806,7 @@ function controller_Controller_button__P87428_mk(s) { -function controller_Controller_up__P85276(s) { +function controller_Controller_up__P1933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11821,7 +11821,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -11830,13 +11830,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P85276.info = {"start":3082,"length":73,"line":113,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P85276.isGetter = true; +controller_Controller_up__P1933.info = {"start":3082,"length":73,"line":113,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P1933.isGetter = true; -function controller_Controller_up__P85276_mk(s) { +function controller_Controller_up__P1933_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P85276, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P1933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11847,7 +11847,7 @@ function controller_Controller_up__P85276_mk(s) { -function controller_Controller_right__P85275(s) { +function controller_Controller_right__P1932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11862,7 +11862,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -11871,13 +11871,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P85275.info = {"start":2926,"length":79,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P85275.isGetter = true; +controller_Controller_right__P1932.info = {"start":2926,"length":79,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P1932.isGetter = true; -function controller_Controller_right__P85275_mk(s) { +function controller_Controller_right__P1932_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P85275, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P1932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11888,7 +11888,7 @@ function controller_Controller_right__P85275_mk(s) { -function controller_Controller_left__P85274(s) { +function controller_Controller_left__P1931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11903,7 +11903,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -11912,13 +11912,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P85274.info = {"start":2769,"length":77,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P85274.isGetter = true; +controller_Controller_left__P1931.info = {"start":2769,"length":77,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P1931.isGetter = true; -function controller_Controller_left__P85274_mk(s) { +function controller_Controller_left__P1931_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P85274, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P1931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11929,7 +11929,7 @@ function controller_Controller_left__P85274_mk(s) { -function controller_Controller__controlledSprites__P85271(s) { +function controller_Controller__controlledSprites__P1928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11945,8 +11945,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P85948_mk(s); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 146; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -11959,12 +11959,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P85271.info = {"start":2403,"length":134,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P1928.info = {"start":2403,"length":134,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P85271_mk(s) { +function controller_Controller__controlledSprites__P1928_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P85271, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P1928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11977,7 +11977,7 @@ function controller_Controller__controlledSprites__P85271_mk(s) { -function controller_Controller__controlledSprites__P85270(s) { +function controller_Controller__controlledSprites__P1927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11992,8 +11992,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P85948_mk(s); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 145; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -12005,13 +12005,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P85270.info = {"start":2261,"length":132,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P85270.isGetter = true; +controller_Controller__controlledSprites__P1927.info = {"start":2261,"length":132,"line":77,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P1927.isGetter = true; -function controller_Controller__controlledSprites__P85270_mk(s) { +function controller_Controller__controlledSprites__P1927_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P85270, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P1927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12023,7 +12023,7 @@ function controller_Controller__controlledSprites__P85270_mk(s) { -function Fx_imul__P83504(s) { +function Fx_imul__P161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12042,12 +12042,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P83504.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} +Fx_imul__P161.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} -function Fx_imul__P83504_mk(s) { +function Fx_imul__P161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P83504, depth: s.depth + 1, + parent: s, fn: Fx_imul__P161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12057,7 +12057,7 @@ function Fx_imul__P83504_mk(s) { -function power_checkDeepSleep__P85072(s) { +function power_checkDeepSleep__P1729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12067,13 +12067,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___91371 = undefined; - s.to___91374 = undefined; - s.tmp_0 = power_init__P87341_mk(s); + s.p___8028 = undefined; + s.to___8031 = undefined; + s.tmp_0 = power_init__P3998_mk(s); s.callLocIdx = 74; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___87339; + s.tmp_0 = r0 = globals._poked___3996; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -12083,8 +12083,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___91371 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___87340; + s.p___8028 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___3997; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -12094,8 +12094,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___91374 = (s.tmp_1); - r0 = (s.to___91374 > 0); + s.to___8031 = (s.tmp_1); + r0 = (s.to___8031 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -12104,9 +12104,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___91371); + r0 = (s.tmp_2 - s.p___8028); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___91374); + r0 = (s.tmp_1 > s.to___8031); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -12132,12 +12132,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P85072.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P1729.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} -function power_checkDeepSleep__P85072_mk(s) { +function power_checkDeepSleep__P1729_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P85072, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P1729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12146,15 +12146,15 @@ function power_checkDeepSleep__P85072_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___91371: undefined, - to___91374: undefined, + p___8028: undefined, + to___8031: undefined, } } -function power_init__P87341(s) { +function power_init__P3998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12164,7 +12164,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___87340 !== undefined); + r0 = (globals._timeout___3997 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -12174,21 +12174,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___87340 = (r0); - r0 = (globals._timeout___87340 > 0); + globals._timeout___3997 = (r0); + r0 = (globals._timeout___3997 > 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___87340 < 300000); + r0 = (globals._timeout___3997 < 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___87340 = (300000); + globals._timeout___3997 = (300000); case 5: case 6: case 7: @@ -12196,12 +12196,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P87341.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P3998.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__P87341_mk(s) { +function power_init__P3998_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P87341, depth: s.depth + 1, + parent: s, fn: power_init__P3998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12211,7 +12211,7 @@ function power_init__P87341_mk(s) { -function power_poke__P85071(s) { +function power_poke__P1728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12221,22 +12221,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P87341_mk(s); + s.tmp_0 = power_init__P3998_mk(s); s.callLocIdx = 73; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___87339 = (r0); + globals._poked___3996 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P85071.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P1728.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} -function power_poke__P85071_mk(s) { +function power_poke__P1728_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P85071, depth: s.depth + 1, + parent: s, fn: power_poke__P1728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12245,7 +12245,7 @@ function power_poke__P85071_mk(s) { -function control_EventContext_deltaTime__P83741(s) { +function control_EventContext_deltaTime__P398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12260,20 +12260,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); r0 = s.arg0.fields["deltaTimeMillis"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 1000); return leaveAccessor(s, r0) default: oops() } } } -control_EventContext_deltaTime__P83741.info = {"start":2097,"length":75,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P83741.isGetter = true; +control_EventContext_deltaTime__P398.info = {"start":2097,"length":75,"line":70,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P398.isGetter = true; -function control_EventContext_deltaTime__P83741_mk(s) { +function control_EventContext_deltaTime__P398_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P83741, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12283,7 +12283,7 @@ function control_EventContext_deltaTime__P83741_mk(s) { -function scene_Scene_constructor__P85856(s) { +function scene_Scene_constructor__P2513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12300,13 +12300,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C85835_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2492_VT)) failedCast(r0); r0 = (s.arg0).fields["previousScene"] = (s.arg2); r0 = (s.arg0).fields["eventContext"] = (s.arg1); r0 = (s.arg0).fields["flags"] = (0); - r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C85593_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C2250_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P85594_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P2251_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -12315,17 +12315,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C85776_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2433_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P85780_mk(s); + s.tmp_1 = scene_Camera_constructor__P2437_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 775; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["camera"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C85687_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C2344_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P85691_mk(s); + s.tmp_1 = scene_Background_constructor__P2348_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -12382,12 +12382,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P85856.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P2513.info = {"start":3365,"length":793,"line":102,"column":8,"endLine":120,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P85856_mk(s) { +function scene_Scene_constructor__P2513_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P85856, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P2513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12400,7 +12400,7 @@ function scene_Scene_constructor__P85856_mk(s) { -function scene_Camera_constructor__P85780(s) { +function scene_Camera_constructor__P2437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12415,7 +12415,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -12424,12 +12424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P85780.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P2437.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P85780_mk(s) { +function scene_Camera_constructor__P2437_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P85780, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P2437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12438,7 +12438,7 @@ function scene_Camera_constructor__P85780_mk(s) { -function scene_Background_constructor__P85691(s) { +function scene_Background_constructor__P2348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12454,7 +12454,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C85687_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2344_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -12465,12 +12465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P85691.info = {"start":367,"length":132,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["this","camera"]} +scene_Background_constructor__P2348.info = {"start":367,"length":132,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["this","camera"]} -function scene_Background_constructor__P85691_mk(s) { +function scene_Background_constructor__P2348_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P85691, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P2348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12482,7 +12482,7 @@ function scene_Background_constructor__P85691_mk(s) { -function ArcadePhysicsEngine_constructor__P85594(s) { +function ArcadePhysicsEngine_constructor__P2251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12500,33 +12500,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = undefined; s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["sprites"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C85512_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C2169_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P85513_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P2170_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 437; 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__P85596_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P2253_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 438; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P85600_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2257_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 439; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P85598_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P2255_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 440; s.pc = 4; return s.tmp_0; @@ -12536,12 +12536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P85594.info = {"start":1601,"length":277,"line":58,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P2251.info = {"start":1601,"length":277,"line":58,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -function ArcadePhysicsEngine_constructor__P85594_mk(s) { +function ArcadePhysicsEngine_constructor__P2251_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P85594, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P2251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12555,7 +12555,7 @@ function ArcadePhysicsEngine_constructor__P85594_mk(s) { -function ArcadePhysicsEngine_maxStep__P85600(s) { +function ArcadePhysicsEngine_maxStep__P2257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12571,7 +12571,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12582,12 +12582,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P85600.info = {"start":2329,"length":67,"line":88,"column":4,"endLine":90,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P2257.info = {"start":2329,"length":67,"line":88,"column":4,"endLine":90,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxStep__P85600_mk(s) { +function ArcadePhysicsEngine_maxStep__P2257_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P85600, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12600,7 +12600,7 @@ function ArcadePhysicsEngine_maxStep__P85600_mk(s) { -function ArcadePhysicsEngine_maxStep__P85599(s) { +function ArcadePhysicsEngine_maxStep__P2256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12615,7 +12615,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12624,13 +12624,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P85599.info = {"start":2249,"length":74,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P85599.isGetter = true; +ArcadePhysicsEngine_maxStep__P2256.info = {"start":2249,"length":74,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P2256.isGetter = true; -function ArcadePhysicsEngine_maxStep__P85599_mk(s) { +function ArcadePhysicsEngine_maxStep__P2256_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P85599, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12641,7 +12641,7 @@ function ArcadePhysicsEngine_maxStep__P85599_mk(s) { -function Fx_toInt__P83513(s) { +function Fx_toInt__P170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12661,12 +12661,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P83513.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P170.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P83513_mk(s) { +function Fx_toInt__P170_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P83513, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12676,7 +12676,7 @@ function Fx_toInt__P83513_mk(s) { -function ArcadePhysicsEngine_minStep__P85598(s) { +function ArcadePhysicsEngine_minStep__P2255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12692,7 +12692,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12703,12 +12703,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P85598.info = {"start":2176,"length":67,"line":80,"column":4,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P2255.info = {"start":2176,"length":67,"line":80,"column":4,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_minStep__P85598_mk(s) { +function ArcadePhysicsEngine_minStep__P2255_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P85598, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12721,7 +12721,7 @@ function ArcadePhysicsEngine_minStep__P85598_mk(s) { -function ArcadePhysicsEngine_minStep__P85597(s) { +function ArcadePhysicsEngine_minStep__P2254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12736,7 +12736,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12745,13 +12745,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P85597.info = {"start":2096,"length":74,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P85597.isGetter = true; +ArcadePhysicsEngine_minStep__P2254.info = {"start":2096,"length":74,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P2254.isGetter = true; -function ArcadePhysicsEngine_minStep__P85597_mk(s) { +function ArcadePhysicsEngine_minStep__P2254_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P85597, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12762,7 +12762,7 @@ function ArcadePhysicsEngine_minStep__P85597_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P85596(s) { +function ArcadePhysicsEngine_maxSpeed__P2253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12778,7 +12778,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12795,12 +12795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P85596.info = {"start":1963,"length":127,"line":71,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P2253.info = {"start":1963,"length":127,"line":71,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxSpeed__P85596_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2253_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P85596, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12813,7 +12813,7 @@ function ArcadePhysicsEngine_maxSpeed__P85596_mk(s) { -function Fx_neg__P83498(s) { +function Fx_neg__P155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12831,12 +12831,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P83498.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} +Fx_neg__P155.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} -function Fx_neg__P83498_mk(s) { +function Fx_neg__P155_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P83498, depth: s.depth + 1, + parent: s, fn: Fx_neg__P155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12845,7 +12845,7 @@ function Fx_neg__P83498_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P85595(s) { +function ArcadePhysicsEngine_maxSpeed__P2252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12860,7 +12860,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12869,13 +12869,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P85595.info = {"start":1884,"length":73,"line":67,"column":4,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P85595.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P2252.info = {"start":1884,"length":73,"line":67,"column":4,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P2252.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P85595_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2252_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P85595, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12886,7 +12886,7 @@ function ArcadePhysicsEngine_maxSpeed__P85595_mk(s) { -function PhysicsEngine_constructor__P85578(s) { +function PhysicsEngine_constructor__P2235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12901,17 +12901,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C85577_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2234_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P85578.info = {"start":26,"length":21,"line":1,"column":4,"endLine":2,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this"]} +PhysicsEngine_constructor__P2235.info = {"start":26,"length":21,"line":1,"column":4,"endLine":2,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this"]} -function PhysicsEngine_constructor__P85578_mk(s) { +function PhysicsEngine_constructor__P2235_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P85578, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P2235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12920,7 +12920,7 @@ function PhysicsEngine_constructor__P85578_mk(s) { -function sprites_SpriteMap_constructor__P85513(s) { +function sprites_SpriteMap_constructor__P2170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12935,7 +12935,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -12944,12 +12944,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P85513.info = {"start":237,"length":56,"line":8,"column":8,"endLine":10,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteMap_constructor__P2170.info = {"start":237,"length":56,"line":8,"column":8,"endLine":10,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["this"]} -function sprites_SpriteMap_constructor__P85513_mk(s) { +function sprites_SpriteMap_constructor__P2170_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P85513, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P2170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12960,7 +12960,7 @@ function sprites_SpriteMap_constructor__P85513_mk(s) { -function music_Melody_constructor__P84956(s) { +function music_Melody_constructor__P1613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12976,18 +12976,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C84953_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P84956.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P1613.info = {"start":6328,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P84956_mk(s) { +function music_Melody_constructor__P1613_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P84956, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P1613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12997,7 +12997,7 @@ function music_Melody_constructor__P84956_mk(s) { -function control_pushEventContext__P83750(s) { +function control_pushEventContext__P407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13007,63 +13007,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___93016 = undefined; - s.n___93022 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___87272); + s.ctx___9673 = undefined; + s.n___9679 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3929); 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___87272 = (r0); + globals.eventContexts___3929 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P83749_mk(s); + s.tmp_0 = control_eventContext__P406_mk(s); s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___93016 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___93016); + s.ctx___9673 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___9673); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P83743_mk(s); - s.tmp_0.arg0 = s.ctx___93016; + s.tmp_0 = control_EventContext_unregister__P400_mk(s); + s.tmp_0.arg0 = s.ctx___9673; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C83736_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C393_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P83740_mk(s); + s.tmp_1 = control_EventContext_constructor__P397_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 56; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___93022 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___87272, s.n___93022); - r0 = s.n___93022; + s.n___9679 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___3929, s.n___9679); + r0 = s.n___9679; return leave(s, r0) default: oops() } } } -control_pushEventContext__P83750.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P407.info = {"start":7123,"length":340,"line":216,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P83750_mk(s) { +function control_pushEventContext__P407_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P83750, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___93016: undefined, - n___93022: undefined, + ctx___9673: undefined, + n___9679: undefined, } } -function control_EventContext_unregister__P83743(s) { +function control_EventContext_unregister__P400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13073,37 +13073,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___93051 = undefined; - s.unnamed452___U1 = undefined; - s.unnamed453___U2 = undefined; + s.h___9708 = undefined; + s.unnamed52___U1 = undefined; + s.unnamed53___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); - s.h___93051 = (undefined); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + s.h___9708 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed452___U1 = (r0); - s.unnamed453___U2 = (0); + s.unnamed52___U1 = (r0); + s.unnamed53___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed453___U2; - r0 = pxsim_Array__length(s.unnamed452___U1); + s.tmp_0 = r0 = s.unnamed53___U2; + r0 = pxsim_Array__length(s.unnamed52___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed452___U1, s.unnamed453___U2); - s.h___93051 = (r0); - s.tmp_2 = control_EventHandler_unregister__P87266_mk(s); - s.tmp_2.arg0 = s.h___93051; + r0 = pxsim_Array__getAt(s.unnamed52___U1, s.unnamed53___U2); + s.h___9708 = (r0); + s.tmp_2 = control_EventHandler_unregister__P3923_mk(s); + s.tmp_2.arg0 = s.h___9708; s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed453___U2 + 1); - s.unnamed453___U2 = (r0); + r0 = (s.unnamed53___U2 + 1); + s.unnamed53___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed452___U1 = (undefined); + s.unnamed52___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -13114,19 +13114,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P83743.info = {"start":4534,"length":131,"line":137,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P400.info = {"start":4534,"length":131,"line":137,"column":8,"endLine":141,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P83743_mk(s) { +function control_EventContext_unregister__P400_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P83743, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___93051: undefined, - unnamed452___U1: undefined, - unnamed453___U2: undefined, + h___9708: undefined, + unnamed52___U1: undefined, + unnamed53___U2: undefined, arg0: undefined, } } @@ -13134,7 +13134,7 @@ function control_EventContext_unregister__P83743_mk(s) { -function control_EventHandler_unregister__P87266(s) { +function control_EventHandler_unregister__P3923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13149,24 +13149,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C87264_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C3921_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__P87268, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P3925, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P87266.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__P3923.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__P87266_mk(s) { +function control_EventHandler_unregister__P3923_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P87266, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P3923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13178,7 +13178,7 @@ function control_EventHandler_unregister__P87266_mk(s) { -function control_doNothing__P87268(s) { +function control_doNothing__P3925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13192,12 +13192,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P87268.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P3925.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__P87268_mk(s) { +function control_doNothing__P3925_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P87268, depth: s.depth + 1, + parent: s, fn: control_doNothing__P3925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13205,7 +13205,7 @@ function control_doNothing__P87268_mk(s) { -function control_EventContext_constructor__P83740(s) { +function control_EventContext_constructor__P397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13220,7 +13220,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13230,26 +13230,26 @@ switch (step) { r0 = (s.arg0).fields["deltaTimeMillis"] = (0); r0 = (s.arg0).fields["frameWorker"] = (0); r0 = (s.arg0).fields["idleCallbacks"] = (undefined); - r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___83738); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___395); 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_String_.mkEmpty(); - globals.control_EventContext_lastStats___83738 = (r0); + globals.control_EventContext_lastStats___395 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P83740.info = {"start":1740,"length":347,"line":58,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P397.info = {"start":1740,"length":347,"line":58,"column":8,"endLine":68,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P83740_mk(s) { +function control_EventContext_constructor__P397_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P83740, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13260,7 +13260,7 @@ function control_EventContext_constructor__P83740_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P85324(s) { +function controller_pauseUntilAnyButtonIsPressed__P1981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13280,12 +13280,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P85324.info = {"start":6288,"length":96,"line":190,"column":4,"endLine":192,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P1981.info = {"start":6288,"length":96,"line":190,"column":4,"endLine":192,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P85324_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P1981_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P85324, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P1981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13293,7 +13293,7 @@ function controller_pauseUntilAnyButtonIsPressed__P85324_mk(s) { -function game_setWaitAnyButton__P85949(s) { +function game_setWaitAnyButton__P2606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13307,17 +13307,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___87623 = (s.arg0); + globals.__waitAnyButton___4280 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P85949.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P2606.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P85949_mk(s) { +function game_setWaitAnyButton__P2606_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P85949, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P2606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13326,7 +13326,7 @@ function game_setWaitAnyButton__P85949_mk(s) { -function Math_FastRandom_constructor__P86005(s) { +function Math_FastRandom_constructor__P2662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13342,7 +13342,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C86003_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2660_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13357,12 +13357,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P86005.info = {"start":1425,"length":175,"line":44,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} +Math_FastRandom_constructor__P2662.info = {"start":1425,"length":175,"line":44,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} -function Math_FastRandom_constructor__P86005_mk(s) { +function Math_FastRandom_constructor__P2662_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P86005, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P2662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13373,7 +13373,7 @@ function Math_FastRandom_constructor__P86005_mk(s) { -function game_consoleOverlay_listener__P87952(s) { +function game_consoleOverlay_listener__P4609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13388,7 +13388,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___87917); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4574); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13408,9 +13408,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P83452_mk(s); - s.tmp_5 = helpers_arrayFilter__P83453_mk(s); - s.tmp_6 = helpers_stringSplit__P83465_mk(s); + s.tmp_4 = helpers_arrayForEach__P109_mk(s); + s.tmp_5 = helpers_arrayFilter__P110_mk(s); + s.tmp_6 = helpers_stringSplit__P122_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -13418,27 +13418,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P93250; + s.tmp_5.arg1 = forEach_inline__P9907; s.callLocIdx = 989; 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__P93255; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P9912; s.callLocIdx = 991; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___87917); + r0 = pxsim_Array__length(globals.consoleStrings___4574); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___87930); + r0 = (s.tmp_1 > globals.consoleLines___4587); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P83443_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___87917; + s.tmp_2 = helpers_arraySplice__P100_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___4574; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___87917); + r0 = pxsim_Array__length(globals.consoleStrings___4574); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___87930); + r0 = (s.tmp_3 - globals.consoleLines___4587); s.tmp_2.arg2 = r0; s.callLocIdx = 992; s.pc = 11; return s.tmp_2; case 11: @@ -13450,12 +13450,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P87952.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__P4609.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__P87952_mk(s) { +function game_consoleOverlay_listener__P4609_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P87952, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P4609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13472,7 +13472,7 @@ function game_consoleOverlay_listener__P87952_mk(s) { -function forEach_inline__P93250(s) { +function forEach_inline__P9907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13496,12 +13496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P93250.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__P9907.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__P93250_mk(s) { +function forEach_inline__P9907_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P93250, depth: s.depth + 1, + parent: s, fn: forEach_inline__P9907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13513,7 +13513,7 @@ function forEach_inline__P93250_mk(s) { -function game_consoleOverlay_listener_inline__P93255(s) { +function game_consoleOverlay_listener_inline__P9912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13523,45 +13523,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___93257 = undefined; + s.j___9914 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___93257 = (0); + s.j___9914 = (0); case 1: - s.tmp_1 = r0 = s.j___93257; + s.tmp_1 = r0 = s.j___9914; 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___87917; - s.tmp_5 = helpers_stringSlice__P83462_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___4574; + s.tmp_5 = helpers_stringSlice__P119_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___93257; - r0 = (s.j___93257 + globals.consoleColumns___87940); + s.tmp_5.arg1 = s.j___9914; + r0 = (s.j___9914 + globals.consoleColumns___4597); s.tmp_5.arg2 = r0; s.callLocIdx = 990; 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___93257 + globals.consoleColumns___87940); - s.j___93257 = (r0); + r0 = (s.j___9914 + globals.consoleColumns___4597); + s.j___9914 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P93255.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__P9912.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__P93255_mk(s) { +function game_consoleOverlay_listener_inline__P9912_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P93255, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P9912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13569,7 +13569,7 @@ function game_consoleOverlay_listener_inline__P93255_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___93257: undefined, + j___9914: undefined, arg0: undefined, } } @@ -13577,7 +13577,7 @@ function game_consoleOverlay_listener_inline__P93255_mk(s) { -function console_addListener__P83724(s) { +function console_addListener__P381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13600,7 +13600,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___87250, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___3907, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -13611,18 +13611,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___87250, s.arg0); + r0 = pxsim_Array__push(globals.listeners___3907, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P83724.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} +console_addListener__P381.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} -function console_addListener__P83724_mk(s) { +function console_addListener__P381_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P83724, depth: s.depth + 1, + parent: s, fn: console_addListener__P381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13635,7 +13635,7 @@ function console_addListener__P83724_mk(s) { -function listeners_inline__P87249(s) { +function listeners_inline__P3906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13655,12 +13655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P87249.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__P3906.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__P87249_mk(s) { +function listeners_inline__P3906_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P87249, depth: s.depth + 1, + parent: s, fn: listeners_inline__P3906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13670,7 +13670,7 @@ function listeners_inline__P87249_mk(s) { -function scene_systemMenu_register__P86050(s) { +function scene_systemMenu_register__P2707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13680,15 +13680,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___87871); + r0 = pxsim_numops_toBoolDecr(globals.instance___4528); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P85317_mk(s); - s.tmp_0.arg0 = globals.menu___85250; + s.tmp_0 = controller_Button_onEvent__P1974_mk(s); + s.tmp_0.arg0 = globals.menu___1907; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P86051; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P2708; s.callLocIdx = 975; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -13697,12 +13697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P86050.info = {"start":12793,"length":193,"line":382,"column":4,"endLine":386,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} +scene_systemMenu_register__P2707.info = {"start":12793,"length":193,"line":382,"column":4,"endLine":386,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} -function scene_systemMenu_register__P86050_mk(s) { +function scene_systemMenu_register__P2707_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P86050, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P2707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13711,7 +13711,7 @@ function scene_systemMenu_register__P86050_mk(s) { -function scene_systemMenu_showSystemMenu__P86051(s) { +function scene_systemMenu_showSystemMenu__P2708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13721,27 +13721,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___87871); + r0 = pxsim_numops_toBoolDecr(globals.instance___4528); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P85952_mk(s); + s.tmp_0 = game_pushScene__P2609_mk(s); s.callLocIdx = 976; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C86039_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C2696_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P86040_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P2697_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P86047; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P2704; s.tmp_1.arg2 = undefined; s.callLocIdx = 977; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___87871 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P86041_mk(s); - s.tmp_0.arg0 = globals.instance___87871; + globals.instance___4528 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P2698_mk(s); + s.tmp_0.arg0 = globals.instance___4528; s.callLocIdx = 978; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -13750,12 +13750,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P86051.info = {"start":12992,"length":172,"line":388,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} +scene_systemMenu_showSystemMenu__P2708.info = {"start":12992,"length":172,"line":388,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} -function scene_systemMenu_showSystemMenu__P86051_mk(s) { +function scene_systemMenu_showSystemMenu__P2708_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P86051, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P2708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13765,7 +13765,7 @@ function scene_systemMenu_showSystemMenu__P86051_mk(s) { -function scene_systemMenu_buildOptionList__P86047(s) { +function scene_systemMenu_buildOptionList__P2704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13775,136 +13775,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___94909 = undefined; + s.options___11566 = undefined; r0 = pxsim_Array__mk(); - s.options___94909 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + s.options___11566 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___86061; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P94917; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P87877; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___2718; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11574; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P4534; s.callLocIdx = 958; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___86058; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P94931; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P87876; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___2715; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11588; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P4533; s.callLocIdx = 960; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); r0 = 0; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___86059; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P94946; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P87879; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___2716; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P11603; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P4536; s.callLocIdx = 963; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_Array__push(s.options___11566, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___86064; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P94961; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P87878; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___2721; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11618; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P4535; s.callLocIdx = 965; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___86065; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P94976; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P87881; + s.tmp_1.arg1 = globals.STATS_ICON___2722; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11633; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P4538; s.callLocIdx = 966; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___86063; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P94985; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P87882; + s.tmp_1.arg1 = globals.CONSOLE_ICON___2720; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11642; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P4539; s.callLocIdx = 968; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___86062; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P94994; - s.tmp_1.arg3 = scene_systemMenu_sleep__P87883; + s.tmp_1.arg1 = globals.SLEEP_ICON___2719; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11651; + s.tmp_1.arg3 = scene_systemMenu_sleep__P4540; s.callLocIdx = 969; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___87872); + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___4529); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P83456_mk(s); - s.tmp_0.arg0 = s.options___94909; - s.tmp_0.arg1 = globals.customMenuOptions___87872; + s.tmp_0 = helpers_arrayConcat__P113_mk(s); + s.tmp_0.arg0 = s.options___11566; + s.tmp_0.arg1 = globals.customMenuOptions___4529; s.callLocIdx = 970; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___94909 = (r0); + s.options___11566 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C86031_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2688_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P86032_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2689_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___86060; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P95007; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P86046; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___2717; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11664; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P2703; s.callLocIdx = 971; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___94909, s.tmp_0); - r0 = s.options___94909; + r0 = pxsim_Array__push(s.options___11566, s.tmp_0); + r0 = s.options___11566; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P86047.info = {"start":10499,"length":1149,"line":334,"column":4,"endLine":354,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} +scene_systemMenu_buildOptionList__P2704.info = {"start":10499,"length":1149,"line":334,"column":4,"endLine":354,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} -function scene_systemMenu_buildOptionList__P86047_mk(s) { +function scene_systemMenu_buildOptionList__P2704_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P86047, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P2704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___94909: undefined, + options___11566: undefined, } } -function scene_systemMenu_buildOptionList_inline__P94917(s) { +function scene_systemMenu_buildOptionList_inline__P11574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13914,7 +13914,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P84948_mk(s); + s.tmp_3 = music_volume__P1605_mk(s); s.callLocIdx = 957; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -13934,12 +13934,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94917.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__P11574.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__P94917_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11574_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94917, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13951,7 +13951,7 @@ function scene_systemMenu_buildOptionList_inline__P94917_mk(s) { -function scene_systemMenu_buildOptionList_inline__P94931(s) { +function scene_systemMenu_buildOptionList_inline__P11588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13961,7 +13961,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P84948_mk(s); + s.tmp_3 = music_volume__P1605_mk(s); s.callLocIdx = 959; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -13981,12 +13981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94931.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__P11588.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__P94931_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11588_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94931, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11588, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13998,7 +13998,7 @@ function scene_systemMenu_buildOptionList_inline__P94931_mk(s) { -function scene_systemMenu_buildOptionList_inline__P94946(s) { +function scene_systemMenu_buildOptionList_inline__P11603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14008,7 +14008,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___85090; + r0 = globals.brightness___1747; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -14025,12 +14025,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94946.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__P11603.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__P94946_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11603_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94946, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14041,7 +14041,7 @@ function scene_systemMenu_buildOptionList_inline__P94946_mk(s) { -function scene_systemMenu_buildOptionList_inline__P94961(s) { +function scene_systemMenu_buildOptionList_inline__P11618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14051,7 +14051,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___85090; + r0 = globals.brightness___1747; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -14068,12 +14068,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94961.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__P11618.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__P94961_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11618_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94961, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14084,7 +14084,7 @@ function scene_systemMenu_buildOptionList_inline__P94961_mk(s) { -function scene_systemMenu_buildOptionList_inline__P94976(s) { +function scene_systemMenu_buildOptionList_inline__P11633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14094,7 +14094,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___85945); + r0 = pxsim_numops_toBoolDecr(globals.stats___2602); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -14107,12 +14107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94976.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__P11633.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__P94976_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11633_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94976, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11633, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14121,7 +14121,7 @@ function scene_systemMenu_buildOptionList_inline__P94976_mk(s) { -function scene_systemMenu_buildOptionList_inline__P94985(s) { +function scene_systemMenu_buildOptionList_inline__P11642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14131,7 +14131,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___87917); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4574); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -14152,12 +14152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94985.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__P11642.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__P94985_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11642_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94985, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14170,7 +14170,7 @@ function scene_systemMenu_buildOptionList_inline__P94985_mk(s) { -function scene_systemMenu_buildOptionList_inline__P94994(s) { +function scene_systemMenu_buildOptionList_inline__P11651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14184,12 +14184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P94994.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__P11651.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__P94994_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11651_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P94994, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14197,7 +14197,7 @@ function scene_systemMenu_buildOptionList_inline__P94994_mk(s) { -function scene_systemMenu_buildOptionList_inline__P95007(s) { +function scene_systemMenu_buildOptionList_inline__P11664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14211,12 +14211,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P95007.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__P11664.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__P95007_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11664_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P95007, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14224,7 +14224,7 @@ function scene_systemMenu_buildOptionList_inline__P95007_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P87884(s) { +function scene_systemMenu_setScreenBrightnessSupported__P4541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14238,12 +14238,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P87884.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__P4541.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__P87884_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P4541_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P87884, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P4541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14251,7 +14251,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P87884_mk(s) { -function scene_systemMenu_sleep__P87883(s) { +function scene_systemMenu_sleep__P4540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14266,12 +14266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P87883.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__P4540.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__P87883_mk(s) { +function scene_systemMenu_sleep__P4540_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P87883, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P4540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14279,7 +14279,7 @@ function scene_systemMenu_sleep__P87883_mk(s) { -function scene_systemMenu_toggleConsole__P87882(s) { +function scene_systemMenu_toggleConsole__P4539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14289,7 +14289,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___87917); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4574); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -14299,7 +14299,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P86070_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P2727_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 951; s.pc = 3; return s.tmp_4; @@ -14307,13 +14307,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P86070_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P2727_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 952; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P83721_mk(s); + s.tmp_0 = console_log__P378_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 953; s.pc = 5; return s.tmp_0; case 5: @@ -14323,12 +14323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P87882.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__P4539.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__P87882_mk(s) { +function scene_systemMenu_toggleConsole__P4539_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P87882, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P4539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14341,7 +14341,7 @@ function scene_systemMenu_toggleConsole__P87882_mk(s) { -function game_consoleOverlay_setVisible__P86070(s) { +function game_consoleOverlay_setVisible__P2727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14357,7 +14357,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___87917); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4574); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -14378,26 +14378,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___87917 = (s.tmp_6); + globals.consoleStrings___4574 = (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___87916 = (s.arg1); + globals.consoleColor___4573 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P86070.info = {"start":562,"length":219,"line":19,"column":4,"endLine":24,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"setVisible","argumentNames":["value","col"]} +game_consoleOverlay_setVisible__P2727.info = {"start":562,"length":219,"line":19,"column":4,"endLine":24,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"setVisible","argumentNames":["value","col"]} -function game_consoleOverlay_setVisible__P86070_mk(s) { +function game_consoleOverlay_setVisible__P2727_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P86070, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P2727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14414,7 +14414,7 @@ function game_consoleOverlay_setVisible__P86070_mk(s) { -function console_log__P83721(s) { +function console_log__P378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14428,7 +14428,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P83717_mk(s); + s.tmp_0 = console_add__P374_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 33; s.pc = 1; return s.tmp_0; @@ -14438,12 +14438,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P83721.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} +console_log__P378.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} -function console_log__P83721_mk(s) { +function console_log__P378_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P83721, depth: s.depth + 1, + parent: s, fn: console_log__P378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14453,7 +14453,7 @@ function console_log__P83721_mk(s) { -function console_add__P83717(s) { +function console_add__P374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14463,58 +14463,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___95046 = undefined; - s.i___95055 = undefined; + s.text___11703 = undefined; + s.i___11712 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___83716); + r0 = (s.arg0 < globals.minPriority___373); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 5; continue; } case 1: case 2: - s.tmp_1 = console_inspect__P83723_mk(s); + s.tmp_1 = console_inspect__P380_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 31; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___95046 = (r0); - if ((s.text___95046) && (s.text___95046).vtable) { + s.text___11703 = (r0); + if ((s.text___11703) && (s.text___11703).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___95046); + pxsim_String__stringConv(s.text___11703); checkResumeConsumed(); return; - } else { s.retval = (s.text___95046) + ""; } + } else { s.retval = (s.text___11703) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___95046 = (r0); - s.i___95055 = (0); + s.text___11703 = (r0); + s.i___11712 = (0); case 3: - s.tmp_1 = r0 = s.i___95055; - r0 = pxsim_Array__length(globals.listeners___87250); + s.tmp_1 = r0 = s.i___11712; + r0 = pxsim_Array__length(globals.listeners___3907); 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___87250, s.i___95055); + r0 = pxsim_Array__getAt(globals.listeners___3907, s.i___11712); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___95046; + s.tmp_3.arg1 = s.text___11703; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 32; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___95055 + 1); - s.i___95055 = (r0); + r0 = (s.i___11712 + 1); + s.i___11712 = (r0); { step = 3; continue; } case 4: case 5: @@ -14522,19 +14522,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P83717.info = {"start":632,"length":317,"line":28,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"add","argumentNames":["priority","message"]} +console_add__P374.info = {"start":632,"length":317,"line":28,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"add","argumentNames":["priority","message"]} -function console_add__P83717_mk(s) { +function console_add__P374_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P83717, depth: s.depth + 1, + parent: s, fn: console_add__P374, 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, - text___95046: undefined, - i___95055: undefined, + text___11703: undefined, + i___11712: undefined, arg0: undefined, arg1: undefined, } } @@ -14543,7 +14543,7 @@ function console_add__P83717_mk(s) { -function console_inspect__P83723(s) { +function console_inspect__P380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14553,10 +14553,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___95086 = undefined; - s.asString___95104 = undefined; - s.keys___95116 = undefined; - s.snipped___95120 = undefined; + s.asArr___11743 = undefined; + s.asString___11761 = undefined; + s.keys___11773 = undefined; + s.snipped___11777 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14597,15 +14597,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___95086 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___95086); + s.asArr___11743 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___11743); 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__P83446_mk(s); - s.tmp_2.arg0 = s.asArr___95086; + s.tmp_2 = helpers_arrayJoin__P103_mk(s); + s.tmp_2.arg0 = s.asArr___11743; s.tmp_2.arg1 = ","; s.callLocIdx = 34; s.pc = 19; return s.tmp_2; case 19: @@ -14615,9 +14615,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P83446_mk(s); - s.tmp_8 = helpers_arraySlice__P83458_mk(s); - s.tmp_8.arg0 = s.asArr___95086; + s.tmp_7 = helpers_arrayJoin__P103_mk(s); + s.tmp_8 = helpers_arraySlice__P115_mk(s); + s.tmp_8.arg0 = s.asArr___11743; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 35; s.pc = 21; return s.tmp_8; @@ -14657,46 +14657,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___95104 = (r0); - r0 = (s.asString___95104 != "[object Object]"); + s.asString___11761 = (r0); + r0 = (s.asString___11761 != "[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___95104 != "[Object]"); + r0 = (s.asString___11761 != "[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___95104; + r0 = s.asString___11761; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___95116 = (r0); - r0 = pxsim_Array__length(s.keys___95116); + s.keys___11773 = (r0); + r0 = pxsim_Array__length(s.keys___11773); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___95120 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___95120); + s.snipped___11777 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___11777); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P83458_mk(s); - s.tmp_0.arg0 = s.keys___95116; + s.tmp_0 = helpers_arraySlice__P115_mk(s); + s.tmp_0.arg0 = s.keys___11773; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___95116 = (r0); + s.keys___11773 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P95137); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P11794); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___95120); + r0 = pxsim_numops_toBoolDecr(s.snipped___11777); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -14705,8 +14705,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P83455_mk(s); - s.tmp_7.arg0 = s.keys___95116; + s.tmp_7 = helpers_arrayReduce__P112_mk(s); + s.tmp_7.arg0 = s.keys___11773; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -14755,12 +14755,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P83723.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} +console_inspect__P380.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} -function console_inspect__P83723_mk(s) { +function console_inspect__P380_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P83723, depth: s.depth + 1, + parent: s, fn: console_inspect__P380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14773,10 +14773,10 @@ function console_inspect__P83723_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___95086: undefined, - asString___95104: undefined, - keys___95116: undefined, - snipped___95120: undefined, + asArr___11743: undefined, + asString___11761: undefined, + keys___11773: undefined, + snipped___11777: undefined, arg0: undefined, arg1: undefined, } } @@ -14785,7 +14785,7 @@ function console_inspect__P83723_mk(s) { -function console_inspect_inline__P95137(s) { +function console_inspect_inline__P11794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14848,12 +14848,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P95137.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__P11794.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__P95137_mk(s) { +function console_inspect_inline__P11794_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P95137, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P11794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14871,7 +14871,7 @@ function console_inspect_inline__P95137_mk(s) { -function helpers_arrayReduce__P83455(s) { +function helpers_arrayReduce__P112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14881,8 +14881,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___95164 = undefined; - s.i___95167 = undefined; + s.len___11821 = undefined; + s.i___11824 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14890,43 +14890,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___95164 = (r0); - s.i___95167 = (0); + s.len___11821 = (r0); + s.i___11824 = (0); case 1: - r0 = (s.i___95167 < s.len___95164); + r0 = (s.i___11824 < s.len___11821); 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___95167); + r0 = pxsim_Array__getAt(s.arg0, s.i___11824); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___95167; + s.tmp_1.arg2 = s.i___11824; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___95167 + 1); - s.i___95167 = (r0); + r0 = (s.i___11824 + 1); + s.i___11824 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P83455.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P112.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -function helpers_arrayReduce__P83455_mk(s) { +function helpers_arrayReduce__P112_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P83455, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___95164: undefined, - i___95167: undefined, + len___11821: undefined, + i___11824: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14936,7 +14936,7 @@ function helpers_arrayReduce__P83455_mk(s) { -function helpers_arrayJoin__P83446(s) { +function helpers_arrayJoin__P103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14946,9 +14946,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___95192 = undefined; - s.len___95193 = undefined; - s.i___95196 = undefined; + s.r___11849 = undefined; + s.len___11850 = undefined; + s.i___11853 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14971,16 +14971,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___95192 = (r0); + s.r___11849 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___95193 = (r0); - s.i___95196 = (0); + s.len___11850 = (r0); + s.i___11853 = (0); case 5: - r0 = (s.i___95196 < s.len___95193); + r0 = (s.i___11853 < s.len___11850); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___95196 > 0); + r0 = (s.i___11853 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -14993,12 +14993,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___95192) && (s.r___95192).vtable) { + if ((s.r___11849) && (s.r___11849).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___95192); + pxsim_String__stringConv(s.r___11849); checkResumeConsumed(); return; - } else { s.retval = (s.r___95192) + ""; } + } else { s.retval = (s.r___11849) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -15012,10 +15012,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___95192 = (r0); + s.r___11849 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___95196); + r0 = pxsim_Array__getAt(s.arg0, s.i___11853); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -15024,7 +15024,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___95196); + r0 = pxsim_Array__getAt(s.arg0, s.i___11853); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -15035,16 +15035,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___95196); + r0 = pxsim_Array__getAt(s.arg0, s.i___11853); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___95192) && (s.r___95192).vtable) { + if ((s.r___11849) && (s.r___11849).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___95192); + pxsim_String__stringConv(s.r___11849); checkResumeConsumed(); return; - } else { s.retval = (s.r___95192) + ""; } + } else { s.retval = (s.r___11849) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -15058,21 +15058,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___95192 = (r0); - r0 = (s.i___95196 + 1); - s.i___95196 = (r0); + s.r___11849 = (r0); + r0 = (s.i___11853 + 1); + s.i___11853 = (r0); { step = 5; continue; } case 14: - r0 = s.r___95192; + r0 = s.r___11849; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P83446.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P103.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -function helpers_arrayJoin__P83446_mk(s) { +function helpers_arrayJoin__P103_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P83446, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15081,9 +15081,9 @@ function helpers_arrayJoin__P83446_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___95192: undefined, - len___95193: undefined, - i___95196: undefined, + r___11849: undefined, + len___11850: undefined, + i___11853: undefined, arg0: undefined, arg1: undefined, } } @@ -15092,7 +15092,7 @@ function helpers_arrayJoin__P83446_mk(s) { -function scene_systemMenu_toggleStats__P87881(s) { +function scene_systemMenu_toggleStats__P4538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15102,11 +15102,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___85945); + r0 = pxsim_numops_toBoolDecr(globals.stats___2602); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___85945 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___85945); + globals.stats___2602 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2602); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -15115,14 +15115,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___83739; + r0 = globals.control_EventContext_onStats___396; case 2: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } s.tmp_3 = lambda_2_mk(s); - s.tmp_3.argL = globals.control_EventContext_onStats___83739; + s.tmp_3.argL = globals.control_EventContext_onStats___396; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -15135,12 +15135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P87881.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__P4538.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__P87881_mk(s) { +function scene_systemMenu_toggleStats__P4538_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P87881, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P4538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15152,7 +15152,7 @@ function scene_systemMenu_toggleStats__P87881_mk(s) { -function scene_systemMenu_brightnessDown__P87879(s) { +function scene_systemMenu_brightnessDown__P4536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15162,8 +15162,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P87880_mk(s); - r0 = globals.brightness___85090; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P4537_mk(s); + r0 = globals.brightness___1747; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -15174,12 +15174,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P87879.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__P4536.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__P87879_mk(s) { +function scene_systemMenu_brightnessDown__P4536_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P87879, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P4536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15189,7 +15189,7 @@ function scene_systemMenu_brightnessDown__P87879_mk(s) { -function scene_systemMenu_setScreenBrightness__P87880(s) { +function scene_systemMenu_setScreenBrightness__P4537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15203,15 +15203,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P85101_mk(s); - s.tmp_0.arg0 = globals.screen___85168; + s.tmp_0 = helpers_setScreenBrightness__P1758_mk(s); + s.tmp_0.arg0 = globals.screen___1825; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 946; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P85196_mk(s); + s.tmp_0 = settings_writeNumber__P1853_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___85090; + r0 = globals.brightness___1747; s.tmp_0.arg1 = r0; s.callLocIdx = 948; s.pc = 2; return s.tmp_0; case 2: @@ -15220,12 +15220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P87880.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__P4537.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__P87880_mk(s) { +function scene_systemMenu_setScreenBrightness__P4537_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P87880, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P4537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15235,7 +15235,7 @@ function scene_systemMenu_setScreenBrightness__P87880_mk(s) { -function settings_writeNumber__P85196(s) { +function settings_writeNumber__P1853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15253,9 +15253,9 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P85194_mk(s); + s.tmp_1 = settings_writeBuffer__P1851_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P83525_mk(s); + s.tmp_2 = msgpack_packNumberArray__P182_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 121; s.pc = 2; return s.tmp_2; case 2: @@ -15268,12 +15268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P85196.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} +settings_writeNumber__P1853.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} -function settings_writeNumber__P85196_mk(s) { +function settings_writeNumber__P1853_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P85196, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P1853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15286,7 +15286,7 @@ function settings_writeNumber__P85196_mk(s) { -function settings_writeBuffer__P85194(s) { +function settings_writeBuffer__P1851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15313,12 +15313,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P85194.info = {"start":1538,"length":290,"line":63,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeBuffer","argumentNames":["key","value"]} +settings_writeBuffer__P1851.info = {"start":1538,"length":290,"line":63,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeBuffer","argumentNames":["key","value"]} -function settings_writeBuffer__P85194_mk(s) { +function settings_writeBuffer__P1851_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P85194, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P1851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15329,7 +15329,7 @@ function settings_writeBuffer__P85194_mk(s) { -function msgpack_packNumberArray__P83525(s) { +function msgpack_packNumberArray__P182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15339,100 +15339,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___95282 = undefined; - s.n___95284 = undefined; - s.unnamed444___U2 = undefined; - s.unnamed445___U3 = undefined; - s.buf___95294 = undefined; - s.n___95300 = undefined; - s.unnamed446___U6 = undefined; - s.unnamed447___U7 = undefined; + s.off___11939 = undefined; + s.n___11941 = undefined; + s.unnamed44___U2 = undefined; + s.unnamed45___U3 = undefined; + s.buf___11951 = undefined; + s.n___11957 = undefined; + s.unnamed46___U6 = undefined; + s.unnamed47___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___95282 = (0); - s.n___95284 = (undefined); - s.unnamed444___U2 = (s.arg0); - s.unnamed445___U3 = (0); + s.off___11939 = (0); + s.n___11941 = (undefined); + s.unnamed44___U2 = (s.arg0); + s.unnamed45___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed445___U3; - r0 = pxsim_Array__length(s.unnamed444___U2); + s.tmp_0 = r0 = s.unnamed45___U3; + r0 = pxsim_Array__length(s.unnamed44___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed444___U2, s.unnamed445___U3); - s.n___95284 = (r0); - s.tmp_2 = r0 = s.off___95282; - s.tmp_4 = msgpack_packNumberCore__P87209_mk(s); + r0 = pxsim_Array__getAt(s.unnamed44___U2, s.unnamed45___U3); + s.n___11941 = (r0); + s.tmp_2 = r0 = s.off___11939; + s.tmp_4 = msgpack_packNumberCore__P3866_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___95282; - s.tmp_4.arg2 = s.n___95284; + s.tmp_4.arg1 = s.off___11939; + s.tmp_4.arg2 = s.n___11941; s.callLocIdx = 21; 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___95282 = (r0); - r0 = (s.unnamed445___U3 + 1); - s.unnamed445___U3 = (r0); + s.off___11939 = (r0); + r0 = (s.unnamed45___U3 + 1); + s.unnamed45___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed444___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___95282); - s.buf___95294 = (r0); - s.off___95282 = (0); - s.n___95300 = (undefined); - s.unnamed446___U6 = (s.arg0); - s.unnamed447___U7 = (0); + s.unnamed44___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___11939); + s.buf___11951 = (r0); + s.off___11939 = (0); + s.n___11957 = (undefined); + s.unnamed46___U6 = (s.arg0); + s.unnamed47___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed447___U7; - r0 = pxsim_Array__length(s.unnamed446___U6); + s.tmp_0 = r0 = s.unnamed47___U7; + r0 = pxsim_Array__length(s.unnamed46___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed446___U6, s.unnamed447___U7); - s.n___95300 = (r0); - s.tmp_2 = r0 = s.off___95282; - s.tmp_4 = msgpack_packNumberCore__P87209_mk(s); - s.tmp_4.arg0 = s.buf___95294; - s.tmp_4.arg1 = s.off___95282; - s.tmp_4.arg2 = s.n___95300; + r0 = pxsim_Array__getAt(s.unnamed46___U6, s.unnamed47___U7); + s.n___11957 = (r0); + s.tmp_2 = r0 = s.off___11939; + s.tmp_4 = msgpack_packNumberCore__P3866_mk(s); + s.tmp_4.arg0 = s.buf___11951; + s.tmp_4.arg1 = s.off___11939; + s.tmp_4.arg2 = s.n___11957; s.callLocIdx = 22; 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___95282 = (r0); - r0 = (s.unnamed447___U7 + 1); - s.unnamed447___U7 = (r0); + s.off___11939 = (r0); + r0 = (s.unnamed47___U7 + 1); + s.unnamed47___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed446___U6 = (undefined); - r0 = s.buf___95294; + s.unnamed46___U6 = (undefined); + r0 = s.buf___11951; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P83525.info = {"start":3427,"length":330,"line":117,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} +msgpack_packNumberArray__P182.info = {"start":3427,"length":330,"line":117,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} -function msgpack_packNumberArray__P83525_mk(s) { +function msgpack_packNumberArray__P182_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P83525, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P182, 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, - off___95282: undefined, - n___95284: undefined, - unnamed444___U2: undefined, - unnamed445___U3: undefined, - buf___95294: undefined, - n___95300: undefined, - unnamed446___U6: undefined, - unnamed447___U7: undefined, + off___11939: undefined, + n___11941: undefined, + unnamed44___U2: undefined, + unnamed45___U3: undefined, + buf___11951: undefined, + n___11957: undefined, + unnamed46___U6: undefined, + unnamed47___U7: undefined, arg0: undefined, } } @@ -15440,7 +15440,7 @@ function msgpack_packNumberArray__P83525_mk(s) { -function msgpack_packNumberCore__P87209(s) { +function msgpack_packNumberCore__P3866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15450,15 +15450,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___95314 = undefined; - s.fmt___95357 = undefined; + s.tag___11971 = undefined; + s.fmt___12014 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___95314 = (203); + s.tag___11971 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -15508,17 +15508,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___95314 = (204); + s.tag___11971 = (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___95314 = (205); + s.tag___11971 = (205); { step = 10; continue; } case 9: - s.tag___95314 = (206); + s.tag___11971 = (206); case 10: case 11: { step = 17; continue; } @@ -15527,41 +15527,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___95314 = (208); + s.tag___11971 = (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___95314 = (209); + s.tag___11971 = (209); { step = 15; continue; } case 14: - s.tag___95314 = (210); + s.tag___11971 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P87208_mk(s); - s.tmp_0.arg0 = s.tag___95314; + s.tmp_0 = msgpack_tagFormat__P3865_mk(s); + s.tmp_0.arg0 = s.tag___11971; s.callLocIdx = 17; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___95357 = (r0); + s.fmt___12014 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___95314); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___11971); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___95357; + s.tmp_1 = r0 = s.fmt___12014; 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__P83516_mk(s); - s.tmp_1.arg0 = s.fmt___95357; + s.tmp_1 = pins_sizeOf__P173_mk(s); + s.tmp_1.arg0 = s.fmt___12014; s.callLocIdx = 18; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -15571,12 +15571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P87209.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__P3866.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__P87209_mk(s) { +function msgpack_packNumberCore__P3866_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P87209, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P3866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15586,8 +15586,8 @@ function msgpack_packNumberCore__P87209_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___95314: undefined, - fmt___95357: undefined, + tag___11971: undefined, + fmt___12014: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15597,7 +15597,7 @@ function msgpack_packNumberCore__P87209_mk(s) { -function msgpack_tagFormat__P87208(s) { +function msgpack_tagFormat__P3865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15657,12 +15657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P87208.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__P3865.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__P87208_mk(s) { +function msgpack_tagFormat__P3865_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P87208, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P3865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15672,7 +15672,7 @@ function msgpack_tagFormat__P87208_mk(s) { -function pins_sizeOf__P83516(s) { +function pins_sizeOf__P173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15686,7 +15686,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P83556_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P213_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: @@ -15694,12 +15694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P83516.info = {"start":42,"length":101,"line":2,"column":4,"endLine":4,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} +pins_sizeOf__P173.info = {"start":42,"length":101,"line":2,"column":4,"endLine":4,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} -function pins_sizeOf__P83516_mk(s) { +function pins_sizeOf__P173_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P83516, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15709,7 +15709,7 @@ function pins_sizeOf__P83516_mk(s) { -function Buffer_sizeOfNumberFormat__P83556(s) { +function Buffer_sizeOfNumberFormat__P213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15788,12 +15788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P83556.info = {"start":14912,"length":856,"line":508,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P213.info = {"start":14912,"length":856,"line":508,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P83556_mk(s) { +function Buffer_sizeOfNumberFormat__P213_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P83556, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15803,7 +15803,7 @@ function Buffer_sizeOfNumberFormat__P83556_mk(s) { -function helpers_setScreenBrightness__P85101(s) { +function helpers_setScreenBrightness__P1758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15818,7 +15818,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P83470_mk(s); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -15827,18 +15827,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___85090 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___85090); + globals.brightness___1747 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1747); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P85101.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P1758.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P85101_mk(s) { +function helpers_setScreenBrightness__P1758_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P85101, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P1758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15849,7 +15849,7 @@ function helpers_setScreenBrightness__P85101_mk(s) { -function scene_systemMenu_brightnessUp__P87878(s) { +function scene_systemMenu_brightnessUp__P4535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15859,8 +15859,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P87880_mk(s); - r0 = globals.brightness___85090; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P4537_mk(s); + r0 = globals.brightness___1747; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -15871,12 +15871,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P87878.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__P4535.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__P87878_mk(s) { +function scene_systemMenu_brightnessUp__P4535_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P87878, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P4535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15886,7 +15886,7 @@ function scene_systemMenu_brightnessUp__P87878_mk(s) { -function scene_systemMenu_volumeDown__P87877(s) { +function scene_systemMenu_volumeDown__P4534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15896,29 +15896,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___95630 = undefined; - s.remainder___95633 = undefined; - s.newVolume___95636 = undefined; - s.tmp_0 = music_volume__P84948_mk(s); + s.v___12287 = undefined; + s.remainder___12290 = undefined; + s.newVolume___12293 = undefined; + s.tmp_0 = music_volume__P1605_mk(s); s.callLocIdx = 940; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___95630 = (r0); - r0 = (s.v___95630 % 32); - s.remainder___95633 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___95633); + s.v___12287 = (r0); + r0 = (s.v___12287 % 32); + s.remainder___12290 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___12290); if (!r0) { step = 1; continue; } - r0 = s.remainder___95633; + r0 = s.remainder___12290; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___95630 - s.tmp_0); - s.newVolume___95636 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P87875_mk(s); - s.tmp_0.arg0 = s.newVolume___95636; + r0 = (s.v___12287 - s.tmp_0); + s.newVolume___12293 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P4532_mk(s); + s.tmp_0.arg0 = s.newVolume___12293; s.callLocIdx = 941; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -15926,24 +15926,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P87877.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__P4534.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__P87877_mk(s) { +function scene_systemMenu_volumeDown__P4534_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P87877, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P4534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___95630: undefined, - remainder___95633: undefined, - newVolume___95636: undefined, + v___12287: undefined, + remainder___12290: undefined, + newVolume___12293: undefined, } } -function scene_systemMenu_setVolume__P87875(s) { +function scene_systemMenu_setVolume__P4532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15957,18 +15957,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P84947_mk(s); + s.tmp_0 = music_setVolume__P1604_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 935; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P84949_mk(s); + s.tmp_0 = music_playTone__P1606_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 936; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P85196_mk(s); + s.tmp_0 = settings_writeNumber__P1853_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 937; s.pc = 3; return s.tmp_0; @@ -15978,12 +15978,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P87875.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__P4532.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__P87875_mk(s) { +function scene_systemMenu_setVolume__P4532_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P87875, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P4532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15993,7 +15993,7 @@ function scene_systemMenu_setVolume__P87875_mk(s) { -function music_playTone__P84949(s) { +function music_playTone__P1606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16003,7 +16003,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___95471 = undefined; + s.id___12128 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16028,7 +16028,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P87308_mk(s); + s.tmp_2 = music_playNoteCore__P3965_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -16036,7 +16036,7 @@ switch (step) { s.callLocIdx = 65; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P83754_mk(s); + s.tmp_0 = pause__P411_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 66; s.pc = 6; return s.tmp_0; @@ -16044,13 +16044,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___87310 + 1); + r0 = (globals.playToneID___3967 + 1); s.tmp_0 = r0; - globals.playToneID___87310 = (r0); - s.id___95471 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P95477); + globals.playToneID___3967 = (r0); + s.id___12128 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P12134); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___95471); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___12128); 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); @@ -16059,17 +16059,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P84949.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P1606.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P84949_mk(s) { +function music_playTone__P1606_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P84949, depth: s.depth + 1, + parent: s, fn: music_playTone__P1606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___95471: undefined, + id___12128: undefined, arg0: undefined, arg1: undefined, } } @@ -16078,7 +16078,7 @@ function music_playTone__P84949_mk(s) { -function music_playTone_inline__P95477(s) { +function music_playTone_inline__P12134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16088,14 +16088,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___95478 = undefined; - s.now___95488 = undefined; - s.d___95491 = undefined; - s.t___95495 = undefined; + s.pos___12135 = undefined; + s.now___12145 = undefined; + s.d___12148 = undefined; + s.t___12152 = undefined; r0 = pxsim.control.millis(); - s.pos___95478 = (r0); + s.pos___12135 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___87310); + r0 = (s.caps[0] == globals.playToneID___3967); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -16111,30 +16111,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___95488 = (r0); - r0 = (s.pos___95478 - s.now___95488); - s.d___95491 = (r0); - s.tmp_0 = Math_min__P83474_mk(s); + s.now___12145 = (r0); + r0 = (s.pos___12135 - s.now___12145); + s.d___12148 = (r0); + s.tmp_0 = Math_min__P131_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 67; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___95495 = (r0); + s.t___12152 = (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___95495); + r0 = (s.tmp_2 - s.t___12152); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___95478 + s.t___95495); - s.pos___95478 = (r0); - s.tmp_0 = music_playNoteCore__P87308_mk(s); - r0 = (s.d___95491 - 1); + r0 = (s.pos___12135 + s.t___12152); + s.pos___12135 = (r0); + s.tmp_0 = music_playNoteCore__P3965_mk(s); + r0 = (s.d___12148 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___95495; + s.tmp_0.arg2 = s.t___12152; s.callLocIdx = 68; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -16144,16 +16144,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P83754_mk(s); - r0 = (s.d___95491 + s.t___95495); + s.tmp_2 = pause__P411_mk(s); + r0 = (s.d___12148 + s.t___12152); s.tmp_2.arg0 = r0; s.callLocIdx = 69; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P83754_mk(s); - r0 = (s.d___95491 + s.t___95495); + s.tmp_0 = pause__P411_mk(s); + r0 = (s.d___12148 + s.t___12152); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -16167,27 +16167,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P95477.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_playTone_inline__P12134.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_playTone_inline__P95477_mk(s) { +function music_playTone_inline__P12134_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P95477, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P12134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___95478: undefined, - now___95488: undefined, - d___95491: undefined, - t___95495: undefined, + pos___12135: undefined, + now___12145: undefined, + d___12148: undefined, + t___12152: undefined, } } -function music_playNoteCore__P87308(s) { +function music_playNoteCore__P3965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16197,7 +16197,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___95525 = undefined; + s.buf___12182 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16205,16 +16205,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___95525 = (r0); - s.tmp_0 = music_addNote__P87315_mk(s); - s.tmp_0.arg0 = s.buf___95525; + s.buf___12182 = (r0); + s.tmp_0 = music_addNote__P3972_mk(s); + s.tmp_0.arg0 = s.buf___12182; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 255; s.tmp_0.arg4 = 255; s.tmp_0.arg5 = 3; s.tmp_0.arg6 = s.arg1; - s.tmp_1 = music_volume__P84948_mk(s); + s.tmp_1 = music_volume__P1605_mk(s); s.callLocIdx = 63; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -16223,21 +16223,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___95525); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___12182); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P87308.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__P3965.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__P87308_mk(s) { +function music_playNoteCore__P3965_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P87308, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P3965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___95525: undefined, + buf___12182: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16247,7 +16247,7 @@ function music_playNoteCore__P87308_mk(s) { -function music_addNote__P87315(s) { +function music_addNote__P3972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16315,12 +16315,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P87315.info = {"start":10086,"length":904,"line":315,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P3972.info = {"start":10086,"length":904,"line":315,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P87315_mk(s) { +function music_addNote__P3972_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P87315, depth: s.depth + 1, + parent: s, fn: music_addNote__P3972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16341,7 +16341,7 @@ function music_addNote__P87315_mk(s) { -function music_setVolume__P84947(s) { +function music_setVolume__P1604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16355,7 +16355,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P83470_mk(s); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -16363,8 +16363,8 @@ switch (step) { s.callLocIdx = 60; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___87303 = (r0); - r0 = (globals.globalVolume___87303 > 0); + globals.globalVolume___3960 = (r0); + r0 = (globals.globalVolume___3960 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -16380,12 +16380,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P84947.info = {"start":1533,"length":153,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"setVolume","argumentNames":["volume"]} +music_setVolume__P1604.info = {"start":1533,"length":153,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"setVolume","argumentNames":["volume"]} -function music_setVolume__P84947_mk(s) { +function music_setVolume__P1604_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P84947, depth: s.depth + 1, + parent: s, fn: music_setVolume__P1604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16396,7 +16396,7 @@ function music_setVolume__P84947_mk(s) { -function music_enableAmp__P87306(s) { +function music_enableAmp__P3963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16414,12 +16414,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P87306.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__P3963.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__P87306_mk(s) { +function music_enableAmp__P3963_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P87306, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P3963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16428,7 +16428,7 @@ function music_enableAmp__P87306_mk(s) { -function scene_systemMenu_volumeUp__P87876(s) { +function scene_systemMenu_volumeUp__P4533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16438,22 +16438,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___95439 = undefined; - s.remainder___95442 = undefined; - s.newVolume___95445 = undefined; - s.tmp_0 = music_volume__P84948_mk(s); + s.v___12096 = undefined; + s.remainder___12099 = undefined; + s.newVolume___12102 = undefined; + s.tmp_0 = music_volume__P1605_mk(s); s.callLocIdx = 938; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___95439 = (r0); - r0 = (s.v___95439 % 32); - s.remainder___95442 = (r0); - r0 = (s.v___95439 + 32); + s.v___12096 = (r0); + r0 = (s.v___12096 % 32); + s.remainder___12099 = (r0); + r0 = (s.v___12096 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___95442); - s.newVolume___95445 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P87875_mk(s); - s.tmp_0.arg0 = s.newVolume___95445; + r0 = (s.tmp_0 - s.remainder___12099); + s.newVolume___12102 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P4532_mk(s); + s.tmp_0.arg0 = s.newVolume___12102; s.callLocIdx = 939; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -16461,24 +16461,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P87876.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__P4533.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__P87876_mk(s) { +function scene_systemMenu_volumeUp__P4533_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P87876, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P4533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___95439: undefined, - remainder___95442: undefined, - newVolume___95445: undefined, + v___12096: undefined, + remainder___12099: undefined, + newVolume___12102: undefined, } } -function game_consoleOverlay_isVisible__P86068(s) { +function game_consoleOverlay_isVisible__P2725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16488,7 +16488,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___87917); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4574); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -16498,12 +16498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P86068.info = {"start":422,"length":68,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"isVisible","argumentNames":[]} +game_consoleOverlay_isVisible__P2725.info = {"start":422,"length":68,"line":11,"column":4,"endLine":13,"endColumn":5,"fileName":"pxt_modules/game/console.ts","functionName":"isVisible","argumentNames":[]} -function game_consoleOverlay_isVisible__P86068_mk(s) { +function game_consoleOverlay_isVisible__P2725_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P86068, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P2725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16514,7 +16514,7 @@ function game_consoleOverlay_isVisible__P86068_mk(s) { -function scene_systemMenu_closeMenu__P86046(s) { +function scene_systemMenu_closeMenu__P2703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16524,20 +16524,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___87871); + r0 = pxsim_numops_toBoolDecr(globals.instance___4528); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P86045_mk(s); - s.tmp_0.arg0 = globals.instance___87871; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P2702_mk(s); + s.tmp_0.arg0 = globals.instance___4528; s.callLocIdx = 954; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___87871 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P85325_mk(s); + globals.instance___4528 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P1982_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 955; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P85953_mk(s); + s.tmp_0 = game_popScene__P2610_mk(s); s.callLocIdx = 956; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -16547,12 +16547,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P86046.info = {"start":10129,"length":216,"line":320,"column":4,"endLine":327,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} +scene_systemMenu_closeMenu__P2703.info = {"start":10129,"length":216,"line":320,"column":4,"endLine":327,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} -function scene_systemMenu_closeMenu__P86046_mk(s) { +function scene_systemMenu_closeMenu__P2703_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P86046, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P2703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16561,7 +16561,7 @@ function scene_systemMenu_closeMenu__P86046_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P86045(s) { +function scene_systemMenu_PauseMenu_dispose__P2702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16576,15 +16576,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); + 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__P93930; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P10587; s.callLocIdx = 931; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -16595,12 +16595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P86045.info = {"start":7732,"length":165,"line":243,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} +scene_systemMenu_PauseMenu_dispose__P2702.info = {"start":7732,"length":165,"line":243,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_dispose__P86045_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P2702_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P86045, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P2702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16611,7 +16611,7 @@ function scene_systemMenu_PauseMenu_dispose__P86045_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P93930(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P10587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16625,7 +16625,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P86038_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P2695_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 930; s.pc = 1; return s.tmp_0; case 1: @@ -16634,12 +16634,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P93930.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__P10587.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__P93930_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P10587_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P93930, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P10587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16649,7 +16649,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P93930_mk(s) { -function scene_systemMenu_MenuOption_dispose__P86038(s) { +function scene_systemMenu_MenuOption_dispose__P2695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16664,12 +16664,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = s.arg0.fields["card"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_destroy__P85505_mk(s); + s.tmp_1 = Sprite_destroy__P2162_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -16677,7 +16677,7 @@ switch (step) { s.callLocIdx = 850; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P85505_mk(s); + s.tmp_0 = Sprite_destroy__P2162_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -16693,12 +16693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P86038.info = {"start":1812,"length":216,"line":77,"column":8,"endLine":84,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} +scene_systemMenu_MenuOption_dispose__P2695.info = {"start":1812,"length":216,"line":77,"column":8,"endLine":84,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"dispose","argumentNames":["this"]} -function scene_systemMenu_MenuOption_dispose__P86038_mk(s) { +function scene_systemMenu_MenuOption_dispose__P2695_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P86038, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P2695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16709,7 +16709,7 @@ function scene_systemMenu_MenuOption_dispose__P86038_mk(s) { -function Sprite_destroy__P85505(s) { +function Sprite_destroy__P2162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16726,7 +16726,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -16744,7 +16744,7 @@ switch (step) { r0 = (s.tmp_2).fields["flags"] = (s.tmp_3); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_0 = effects_ParticleEffect_destroy__P86209_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P2866_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -16754,7 +16754,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P85506_mk(s); + s.tmp_0 = Sprite__destroyCore__P2163_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 372; s.pc = 7; return s.tmp_0; case 7: @@ -16765,12 +16765,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P85505.info = {"start":25184,"length":293,"line":802,"column":4,"endLine":811,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P2162.info = {"start":25184,"length":293,"line":802,"column":4,"endLine":811,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P85505_mk(s) { +function Sprite_destroy__P2162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P85505, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P2162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16786,7 +16786,7 @@ function Sprite_destroy__P85505_mk(s) { -function effects_ParticleEffect_destroy__P86209(s) { +function effects_ParticleEffect_destroy__P2866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16804,15 +16804,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C86206_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P85497_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C2863_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P2154_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1115; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P86208_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P2865_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -16844,8 +16844,8 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P86235_mk(s); - s.tmp_0.arg0 = globals.dissolve___86238; + s.tmp_0 = effects_ImageEffect_applyTo__P2892_mk(s); + s.tmp_0.arg0 = globals.dissolve___2895; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1117; s.pc = 5; return s.tmp_0; case 5: @@ -16854,12 +16854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P86209.info = {"start":1736,"length":368,"line":41,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"destroy","argumentNames":["this","anchor","duration","particlesPerSecond"]} +effects_ParticleEffect_destroy__P2866.info = {"start":1736,"length":368,"line":41,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"destroy","argumentNames":["this","anchor","duration","particlesPerSecond"]} -function effects_ParticleEffect_destroy__P86209_mk(s) { +function effects_ParticleEffect_destroy__P2866_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P86209, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P2866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16877,7 +16877,7 @@ function effects_ParticleEffect_destroy__P86209_mk(s) { -function dissolve_inline__P94074(s) { +function dissolve_inline__P10731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16887,11 +16887,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___94077 = undefined; - s.x___94088 = undefined; - s.y___94094 = undefined; - s.w___94100 = undefined; - s.h___94104 = undefined; + s.i___10734 = undefined; + s.x___10745 = undefined; + s.y___10751 = undefined; + s.w___10757 = undefined; + s.h___10761 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16904,13 +16904,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___94077 = (r0); + s.i___10734 = (r0); case 1: - r0 = (s.i___94077 > 0); + r0 = (s.i___10734 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P86007_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -16918,8 +16918,8 @@ switch (step) { s.callLocIdx = 38; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___94088 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P86007_mk(s); + s.x___10745 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -16927,56 +16927,56 @@ switch (step) { s.callLocIdx = 39; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___94094 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P86007_mk(s); + s.y___10751 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 40; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___94100 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P86007_mk(s); + s.w___10757 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 41; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___94104 = (r0); - s.tmp_0 = helpers_imageDrawRect__P85097_mk(s); + s.h___10761 = (r0); + s.tmp_0 = helpers_imageDrawRect__P1754_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___94088; - s.tmp_0.arg2 = s.y___94094; - s.tmp_0.arg3 = s.w___94100; - s.tmp_0.arg4 = s.h___94104; + s.tmp_0.arg1 = s.x___10745; + s.tmp_0.arg2 = s.y___10751; + s.tmp_0.arg3 = s.w___10757; + s.tmp_0.arg4 = s.h___10761; s.tmp_0.arg5 = 0; s.callLocIdx = 42; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___94077 - 1); - s.i___94077 = (r0); + r0 = (s.i___10734 - 1); + s.i___10734 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P94074.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__P10731.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__P94074_mk(s) { +function dissolve_inline__P10731_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P94074, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P10731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___94077: undefined, - x___94088: undefined, - y___94094: undefined, - w___94100: undefined, - h___94104: undefined, + i___10734: undefined, + x___10745: undefined, + y___10751: undefined, + w___10757: undefined, + h___10761: undefined, arg0: undefined, arg1: undefined, } } @@ -16985,7 +16985,7 @@ function dissolve_inline__P94074_mk(s) { -function helpers_imageDrawRect__P85097(s) { +function helpers_imageDrawRect__P1754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17024,7 +17024,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P85096_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1753_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17035,7 +17035,7 @@ switch (step) { s.callLocIdx = 82; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P85096_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1753_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17046,7 +17046,7 @@ switch (step) { s.callLocIdx = 83; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P85096_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1753_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17059,7 +17059,7 @@ switch (step) { s.callLocIdx = 84; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P85096_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1753_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17077,12 +17077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P85097.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P1754.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P85097_mk(s) { +function helpers_imageDrawRect__P1754_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P85097, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P1754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17098,7 +17098,7 @@ function helpers_imageDrawRect__P85097_mk(s) { -function helpers_imageDrawLine__P85096(s) { +function helpers_imageDrawLine__P1753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17118,14 +17118,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P87350_mk(s); + s.tmp_2 = helpers_pack__P4007_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__P87350_mk(s); + s.tmp_4 = helpers_pack__P4007_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 81; s.pc = 2; return s.tmp_4; @@ -17137,12 +17137,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P85096.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P1753.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P85096_mk(s) { +function helpers_imageDrawLine__P1753_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P85096, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P1753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17161,7 +17161,7 @@ function helpers_imageDrawLine__P85096_mk(s) { -function effects_ImageEffect_applyTo__P86235(s) { +function effects_ImageEffect_applyTo__P2892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17171,14 +17171,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___94200 = undefined; + s.clonedImage___10857 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C86233_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2890_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17204,16 +17204,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___94200 = (r0); - s.tmp_0 = effects_ImageEffect_change__P86236_mk(s); + s.clonedImage___10857 = (r0); + s.tmp_0 = effects_ImageEffect_change__P2893_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___94200; + s.tmp_0.arg1 = s.clonedImage___10857; s.callLocIdx = 1128; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P85471_mk(s); + s.tmp_0 = Sprite_setImage__P2128_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___94200; + s.tmp_0.arg1 = s.clonedImage___10857; s.callLocIdx = 1129; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -17222,12 +17222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P86235.info = {"start":823,"length":218,"line":21,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"applyTo","argumentNames":["this","sprite"]} +effects_ImageEffect_applyTo__P2892.info = {"start":823,"length":218,"line":21,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"applyTo","argumentNames":["this","sprite"]} -function effects_ImageEffect_applyTo__P86235_mk(s) { +function effects_ImageEffect_applyTo__P2892_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P86235, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P2892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17235,7 +17235,7 @@ function effects_ImageEffect_applyTo__P86235_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___94200: undefined, + clonedImage___10857: undefined, arg0: undefined, arg1: undefined, } } @@ -17244,7 +17244,7 @@ function effects_ImageEffect_applyTo__P86235_mk(s) { -function effects_ImageEffect_change__P86236(s) { +function effects_ImageEffect_change__P2893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17260,7 +17260,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C86233_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C2890_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -17281,12 +17281,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P86236.info = {"start":1151,"length":81,"line":32,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"change","argumentNames":["this","input"]} +effects_ImageEffect_change__P2893.info = {"start":1151,"length":81,"line":32,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"change","argumentNames":["this","input"]} -function effects_ImageEffect_change__P86236_mk(s) { +function effects_ImageEffect_change__P2893_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P86236, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P2893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17297,7 +17297,7 @@ function effects_ImageEffect_change__P86236_mk(s) { -function Sprite_setImage__P85471(s) { +function Sprite_setImage__P2128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17313,7 +17313,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17324,7 +17324,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P85472_mk(s); + s.tmp_0 = Sprite_setHitbox__P2129_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 251; s.pc = 4; return s.tmp_0; case 4: @@ -17334,12 +17334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P85471.info = {"start":7092,"length":133,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P2128.info = {"start":7092,"length":133,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P85471_mk(s) { +function Sprite_setImage__P2128_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P85471, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P2128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17351,7 +17351,7 @@ function Sprite_setImage__P85471_mk(s) { -function Sprite_setHitbox__P85472(s) { +function Sprite_setHitbox__P2129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17361,29 +17361,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___94219 = undefined; - s.oMinX___94233 = undefined; - s.oMinY___94237 = undefined; - s.oMaxX___94241 = undefined; - s.oMaxY___94248 = undefined; - s.nMinX___94255 = undefined; - s.nMinY___94258 = undefined; - s.nMaxX___94261 = undefined; - s.nMaxY___94267 = undefined; - s.xDiff___94273 = undefined; - s.yDiff___94284 = undefined; + s.newHitBox___10876 = undefined; + s.oMinX___10890 = undefined; + s.oMinY___10894 = undefined; + s.oMaxX___10898 = undefined; + s.oMaxY___10905 = undefined; + s.nMinX___10912 = undefined; + s.nMinY___10915 = undefined; + s.nMaxX___10918 = undefined; + s.nMaxY___10924 = undefined; + s.xDiff___10930 = undefined; + s.yDiff___10941 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P85341_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P1998_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 252; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.newHitBox___94219 = (r0); + s.newHitBox___10876 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -17395,7 +17395,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_3 = game_Hitbox_isValid__P85340_mk(s); + s.tmp_3 = game_Hitbox_isValid__P1997_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 253; s.pc = 11; return s.tmp_3; @@ -17406,95 +17406,95 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___94219); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___10876); { step = 9; continue; } case 3: case 4: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___94233 = (r0); + s.oMinX___10890 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___94237 = (r0); + s.oMinY___10894 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___94233 + s.tmp_0); - s.oMaxX___94241 = (r0); + r0 = (s.oMinX___10890 + s.tmp_0); + s.oMaxX___10898 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___94237 + s.tmp_0); - s.oMaxY___94248 = (r0); - r0 = s.newHitBox___94219.fields["ox"]; - s.nMinX___94255 = (r0); - r0 = s.newHitBox___94219.fields["oy"]; - s.nMinY___94258 = (r0); - r0 = s.newHitBox___94219.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___94255 + s.tmp_0); - s.nMaxX___94261 = (r0); - r0 = s.newHitBox___94219.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___94258 + s.tmp_0); - s.nMaxY___94267 = (r0); - s.tmp_1 = Fx_abs__P83508_mk(s); - r0 = (s.oMinX___94233 - s.nMinX___94255); + r0 = (s.oMinY___10894 + s.tmp_0); + s.oMaxY___10905 = (r0); + r0 = s.newHitBox___10876.fields["ox"]; + s.nMinX___10912 = (r0); + r0 = s.newHitBox___10876.fields["oy"]; + s.nMinY___10915 = (r0); + r0 = s.newHitBox___10876.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___10912 + s.tmp_0); + s.nMaxX___10918 = (r0); + r0 = s.newHitBox___10876.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___10915 + s.tmp_0); + s.nMaxY___10924 = (r0); + s.tmp_1 = Fx_abs__P165_mk(s); + r0 = (s.oMinX___10890 - s.nMinX___10912); s.tmp_1.arg0 = r0; s.callLocIdx = 259; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P83508_mk(s); - r0 = (s.oMaxX___94241 - s.nMaxX___94261); + s.tmp_3 = Fx_abs__P165_mk(s); + r0 = (s.oMaxX___10898 - s.nMaxX___10918); s.tmp_3.arg0 = r0; s.callLocIdx = 261; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___94273 = (r0); - s.tmp_1 = Fx_abs__P83508_mk(s); - r0 = (s.oMinY___94237 - s.nMinY___94258); + s.xDiff___10930 = (r0); + s.tmp_1 = Fx_abs__P165_mk(s); + r0 = (s.oMinY___10894 - s.nMinY___10915); s.tmp_1.arg0 = r0; s.callLocIdx = 264; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P83508_mk(s); - r0 = (s.oMaxY___94248 - s.nMaxY___94267); + s.tmp_3 = Fx_abs__P165_mk(s); + r0 = (s.oMaxY___10905 - s.nMaxY___10924); s.tmp_3.arg0 = r0; s.callLocIdx = 266; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___94284 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___94219); - r0 = (s.xDiff___94273 <= 512); + s.yDiff___10941 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___10876); + r0 = (s.xDiff___10930 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["ox"] = (s.oMinX___94233); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___10890); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___94241 - s.oMinX___94233); + r0 = (s.oMaxX___10898 - s.oMinX___10890); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 5: case 6: - r0 = (s.yDiff___94284 <= 512); + r0 = (s.yDiff___10941 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["oy"] = (s.oMinY___94237); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___10894); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___94248 - s.oMinY___94237); + r0 = (s.oMaxY___10905 - s.oMinY___10894); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 7: @@ -17504,29 +17504,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P85472.info = {"start":7231,"length":1324,"line":264,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P2129.info = {"start":7231,"length":1324,"line":264,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P85472_mk(s) { +function Sprite_setHitbox__P2129_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P85472, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P2129, 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, - newHitBox___94219: undefined, - oMinX___94233: undefined, - oMinY___94237: undefined, - oMaxX___94241: undefined, - oMaxY___94248: undefined, - nMinX___94255: undefined, - nMinY___94258: undefined, - nMaxX___94261: undefined, - nMaxY___94267: undefined, - xDiff___94273: undefined, - yDiff___94284: undefined, + newHitBox___10876: undefined, + oMinX___10890: undefined, + oMinY___10894: undefined, + oMaxX___10898: undefined, + oMaxY___10905: undefined, + nMinX___10912: undefined, + nMinY___10915: undefined, + nMaxX___10918: undefined, + nMaxY___10924: undefined, + xDiff___10930: undefined, + yDiff___10941: undefined, arg0: undefined, } } @@ -17534,7 +17534,7 @@ function Sprite_setHitbox__P85472_mk(s) { -function game_calculateHitBox__P85341(s) { +function game_calculateHitBox__P1998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17544,15 +17544,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___94357 = undefined; - s.minX___94360 = undefined; - s.minY___94363 = undefined; - s.maxX___94366 = undefined; - s.maxY___94367 = undefined; - s.c___94368 = undefined; - s.r___94374 = undefined; - s.width___94405 = undefined; - s.height___94411 = undefined; + s.i___11014 = undefined; + s.minX___11017 = undefined; + s.minY___11020 = undefined; + s.maxX___11023 = undefined; + s.maxY___11024 = undefined; + s.c___11025 = undefined; + s.r___11031 = undefined; + s.width___11062 = undefined; + s.height___11068 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17564,7 +17564,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P85340_mk(s); + s.tmp_1 = game_Hitbox_isValid__P1997_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 209; s.pc = 12; return s.tmp_1; @@ -17580,90 +17580,90 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___94357 = (r0); - r0 = pxsim_ImageMethods.width(s.i___94357); - s.minX___94360 = (r0); - r0 = pxsim_ImageMethods.height(s.i___94357); - s.minY___94363 = (r0); - s.maxX___94366 = (0); - s.maxY___94367 = (0); - s.c___94368 = (0); + s.i___11014 = (r0); + r0 = pxsim_ImageMethods.width(s.i___11014); + s.minX___11017 = (r0); + r0 = pxsim_ImageMethods.height(s.i___11014); + s.minY___11020 = (r0); + s.maxX___11023 = (0); + s.maxY___11024 = (0); + s.c___11025 = (0); case 5: - s.tmp_1 = r0 = s.c___94368; - r0 = pxsim_ImageMethods.width(s.i___94357); + s.tmp_1 = r0 = s.c___11025; + r0 = pxsim_ImageMethods.width(s.i___11014); 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___94374 = (0); + s.r___11031 = (0); case 6: - s.tmp_1 = r0 = s.r___94374; - r0 = pxsim_ImageMethods.height(s.i___94357); + s.tmp_1 = r0 = s.r___11031; + r0 = pxsim_ImageMethods.height(s.i___11014); 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___94357, s.c___94368, s.r___94374); + r0 = pxsim_ImageMethods.getPixel(s.i___11014, s.c___11025, s.r___11031); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Math_min__P83474_mk(s); - s.tmp_4.arg0 = s.minX___94360; - s.tmp_4.arg1 = s.c___94368; + s.tmp_4 = Math_min__P131_mk(s); + s.tmp_4.arg0 = s.minX___11017; + s.tmp_4.arg1 = s.c___11025; s.callLocIdx = 211; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___94360 = (r0); - s.tmp_0 = Math_min__P83474_mk(s); - s.tmp_0.arg0 = s.minY___94363; - s.tmp_0.arg1 = s.r___94374; + s.minX___11017 = (r0); + s.tmp_0 = Math_min__P131_mk(s); + s.tmp_0.arg0 = s.minY___11020; + s.tmp_0.arg1 = s.r___11031; s.callLocIdx = 212; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___94363 = (r0); - s.tmp_0 = Math_max__P83473_mk(s); - s.tmp_0.arg0 = s.maxX___94366; - s.tmp_0.arg1 = s.c___94368; + s.minY___11020 = (r0); + s.tmp_0 = Math_max__P130_mk(s); + s.tmp_0.arg0 = s.maxX___11023; + s.tmp_0.arg1 = s.c___11025; s.callLocIdx = 213; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___94366 = (r0); - s.tmp_0 = Math_max__P83473_mk(s); - s.tmp_0.arg0 = s.maxY___94367; - s.tmp_0.arg1 = s.r___94374; + s.maxX___11023 = (r0); + s.tmp_0 = Math_max__P130_mk(s); + s.tmp_0.arg0 = s.maxY___11024; + s.tmp_0.arg1 = s.r___11031; s.callLocIdx = 214; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___94367 = (r0); + s.maxY___11024 = (r0); case 7: case 8: - r0 = (s.r___94374 + 1); - s.r___94374 = (r0); + r0 = (s.r___11031 + 1); + s.r___11031 = (r0); { step = 6; continue; } case 9: - r0 = (s.c___94368 + 1); - s.c___94368 = (r0); + r0 = (s.c___11025 + 1); + s.c___11025 = (r0); { step = 5; continue; } case 10: - r0 = (s.maxX___94366 - s.minX___94360); + r0 = (s.maxX___11023 - s.minX___11017); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___94405 = (r0); - r0 = (s.maxY___94367 - s.minY___94363); + s.width___11062 = (r0); + r0 = (s.maxY___11024 - s.minY___11020); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___94411 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C85327_VT); + s.height___11068 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C1984_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P85335_mk(s); + s.tmp_1 = game_Hitbox_constructor__P1992_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___94405; - s.tmp_1.arg3 = s.height___94411; - s.tmp_1.arg4 = s.minX___94360; - s.tmp_1.arg5 = s.minY___94363; + s.tmp_1.arg2 = s.width___11062; + s.tmp_1.arg3 = s.height___11068; + s.tmp_1.arg4 = s.minX___11017; + s.tmp_1.arg5 = s.minY___11020; s.callLocIdx = 215; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; @@ -17672,27 +17672,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P85341.info = {"start":1147,"length":761,"line":48,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P1998.info = {"start":1147,"length":761,"line":48,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P85341_mk(s) { +function game_calculateHitBox__P1998_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P85341, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P1998, 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, - i___94357: undefined, - minX___94360: undefined, - minY___94363: undefined, - maxX___94366: undefined, - maxY___94367: undefined, - c___94368: undefined, - r___94374: undefined, - width___94405: undefined, - height___94411: undefined, + i___11014: undefined, + minX___11017: undefined, + minY___11020: undefined, + maxX___11023: undefined, + maxY___11024: undefined, + c___11025: undefined, + r___11031: undefined, + width___11062: undefined, + height___11068: undefined, arg0: undefined, } } @@ -17700,7 +17700,7 @@ function game_calculateHitBox__P85341_mk(s) { -function game_Hitbox_constructor__P85335(s) { +function game_Hitbox_constructor__P1992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17720,7 +17720,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C85327_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1984_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg1.fields["_image"]; s.tmp_1 = r0; @@ -17760,12 +17760,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P85335.info = {"start":192,"length":351,"line":10,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P1992.info = {"start":192,"length":351,"line":10,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P85335_mk(s) { +function game_Hitbox_constructor__P1992_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P85335, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P1992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17782,7 +17782,7 @@ function game_Hitbox_constructor__P85335_mk(s) { -function game_Hitbox_isValid__P85340(s) { +function game_Hitbox_isValid__P1997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17797,7 +17797,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C85327_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1984_VT)) failedCast(r0); r0 = s.arg0.fields["img"]; s.tmp_1 = r0; r0 = s.arg0.fields["parent"]; @@ -17827,12 +17827,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P85340.info = {"start":1017,"length":117,"line":42,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} +game_Hitbox_isValid__P1997.info = {"start":1017,"length":117,"line":42,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} -function game_Hitbox_isValid__P85340_mk(s) { +function game_Hitbox_isValid__P1997_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P85340, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P1997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17850,7 +17850,7 @@ function game_Hitbox_isValid__P85340_mk(s) { -function Fx_abs__P83508(s) { +function Fx_abs__P165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17880,12 +17880,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P83508.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} +Fx_abs__P165.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} -function Fx_abs__P83508_mk(s) { +function Fx_abs__P165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P83508, depth: s.depth + 1, + parent: s, fn: Fx_abs__P165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17895,7 +17895,7 @@ function Fx_abs__P83508_mk(s) { -function Fx_sub__P83502(s) { +function Fx_sub__P159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17914,12 +17914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P83502.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} +Fx_sub__P159.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} -function Fx_sub__P83502_mk(s) { +function Fx_sub__P159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P83502, depth: s.depth + 1, + parent: s, fn: Fx_sub__P159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17929,7 +17929,7 @@ function Fx_sub__P83502_mk(s) { -function Sprite_image__P85470(s) { +function Sprite_image__P2127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17944,18 +17944,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P85470.info = {"start":6816,"length":54,"line":248,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P85470.isGetter = true; +Sprite_image__P2127.info = {"start":6816,"length":54,"line":248,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P2127.isGetter = true; -function Sprite_image__P85470_mk(s) { +function Sprite_image__P2127_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P85470, depth: s.depth + 1, + parent: s, fn: Sprite_image__P2127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17964,7 +17964,7 @@ function Sprite_image__P85470_mk(s) { -function effects_ParticleEffect_start__P86208(s) { +function effects_ParticleEffect_start__P2865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17974,7 +17974,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___94476 = undefined; + s.src___11133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17984,7 +17984,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C86206_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C2863_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18020,9 +18020,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___94476 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P86106_mk(s); - s.tmp_0.arg0 = s.src___94476; + s.src___11133 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P2763_mk(s); + s.tmp_0.arg0 = s.src___11133; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -18047,7 +18047,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___94476).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___11133).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -18055,19 +18055,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P86208.info = {"start":967,"length":452,"line":26,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"start","argumentNames":["this","anchor","duration","particlesPerSecond","relativeToCamera"]} +effects_ParticleEffect_start__P2865.info = {"start":967,"length":452,"line":26,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"start","argumentNames":["this","anchor","duration","particlesPerSecond","relativeToCamera"]} -function effects_ParticleEffect_start__P86208_mk(s) { +function effects_ParticleEffect_start__P2865_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P86208, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P2865, 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, - src___94476: undefined, + src___11133: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18079,7 +18079,7 @@ function effects_ParticleEffect_start__P86208_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P86106(s) { +function particles_ParticleSource_setRelativeToCamera__P2763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18095,7 +18095,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18121,12 +18121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P86106.info = {"start":6439,"length":173,"line":211,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} +particles_ParticleSource_setRelativeToCamera__P2763.info = {"start":6439,"length":173,"line":211,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} -function particles_ParticleSource_setRelativeToCamera__P86106_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P2763_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P86106, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P2763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18141,7 +18141,7 @@ function particles_ParticleSource_setRelativeToCamera__P86106_mk(s) { -function Sprite_setFlag__P85497(s) { +function Sprite_setFlag__P2154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18158,7 +18158,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18184,12 +18184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P85497.info = {"start":20884,"length":130,"line":679,"column":4,"endLine":682,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P2154.info = {"start":20884,"length":130,"line":679,"column":4,"endLine":682,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P85497_mk(s) { +function Sprite_setFlag__P2154_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P85497, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P2154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18205,7 +18205,7 @@ function Sprite_setFlag__P85497_mk(s) { -function Sprite__destroyCore__P85506(s) { +function Sprite__destroyCore__P2163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18215,25 +18215,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___93980 = undefined; + s.scene___10637 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 373; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___93980 = (r0); - r0 = s.scene___93980.fields["allSprites"]; + s.scene___10637 = (r0); + r0 = s.scene___10637.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -18245,7 +18245,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___93980.fields["spritesByKind"]; + r0 = s.scene___10637.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -18255,8 +18255,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P85536_mk(s); - r0 = s.scene___93980.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P2193_mk(s); + r0 = s.scene___10637.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -18268,11 +18268,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C85577_v1_2_mk(s); - r0 = s.scene___93980.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2234_v1_2_mk(s); + r0 = s.scene___10637.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C85577_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2234_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite; s.pc = 9; return s.tmp_0; case 9: @@ -18296,15 +18296,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P94009); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P10666); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P94016); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P10673); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P83452_mk(s); - s.tmp_3 = helpers_arrayFilter__P83453_mk(s); - r0 = s.scene___93980.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + r0 = s.scene___10637.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 380; s.pc = 12; return s.tmp_3; @@ -18319,12 +18319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P85506.info = {"start":25483,"length":522,"line":813,"column":4,"endLine":825,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P2163.info = {"start":25483,"length":522,"line":813,"column":4,"endLine":825,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P85506_mk(s) { +function Sprite__destroyCore__P2163_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P85506, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P2163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18334,7 +18334,7 @@ function Sprite__destroyCore__P85506_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___93980: undefined, + scene___10637: undefined, arg0: undefined, } } @@ -18342,7 +18342,7 @@ function Sprite__destroyCore__P85506_mk(s) { -function forEach_inline__P94009(s) { +function forEach_inline__P10666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18364,12 +18364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P94009.info = {"start":25928,"length":26,"line":823,"column":20,"endLine":823,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P10666.info = {"start":25928,"length":26,"line":823,"column":20,"endLine":823,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P94009_mk(s) { +function forEach_inline__P10666_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P94009, depth: s.depth + 1, + parent: s, fn: forEach_inline__P10666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18380,7 +18380,7 @@ function forEach_inline__P94009_mk(s) { -function Sprite__destroyCore_inline__P94016(s) { +function Sprite__destroyCore_inline__P10673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18412,12 +18412,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P94016.info = {"start":25977,"length":20,"line":824,"column":21,"endLine":824,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P10673.info = {"start":25977,"length":20,"line":824,"column":21,"endLine":824,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P94016_mk(s) { +function Sprite__destroyCore_inline__P10673_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P94016, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P10673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18427,7 +18427,7 @@ function Sprite__destroyCore_inline__P94016_mk(s) { -function PhysicsEngine_removeSprite__P85580(s) { +function PhysicsEngine_removeSprite__P2237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18443,17 +18443,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C85577_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2234_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P85580.info = {"start":159,"length":32,"line":10,"column":4,"endLine":10,"endColumn":36,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +PhysicsEngine_removeSprite__P2237.info = {"start":159,"length":32,"line":10,"column":4,"endLine":10,"endColumn":36,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function PhysicsEngine_removeSprite__P85580_mk(s) { +function PhysicsEngine_removeSprite__P2237_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P85580, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P2237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18463,7 +18463,7 @@ function PhysicsEngine_removeSprite__P85580_mk(s) { -function sprites_SpriteSet_remove__P85536(s) { +function sprites_SpriteSet_remove__P2193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18473,26 +18473,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___94025 = undefined; + s.i___10682 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C85529_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2186_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___94025 = (r0); - r0 = (s.i___94025 > -1); + s.i___10682 = (r0); + r0 = (s.i___10682 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P83443_mk(s); + s.tmp_1 = helpers_arraySplice__P100_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___94025; + s.tmp_1.arg1 = s.i___10682; s.tmp_1.arg2 = 1; s.callLocIdx = 428; s.pc = 4; return s.tmp_1; case 4: @@ -18506,16 +18506,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P85536.info = {"start":1827,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} +sprites_SpriteSet_remove__P2193.info = {"start":1827,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} -function sprites_SpriteSet_remove__P85536_mk(s) { +function sprites_SpriteSet_remove__P2193_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P85536, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P2193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___94025: undefined, + i___10682: undefined, arg0: undefined, arg1: undefined, } } @@ -18524,7 +18524,7 @@ function sprites_SpriteSet_remove__P85536_mk(s) { -function Sprite_kind__P85485(s) { +function Sprite_kind__P2142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18539,17 +18539,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P85485.info = {"start":10899,"length":41,"line":393,"column":4,"endLine":395,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P2142.info = {"start":10899,"length":41,"line":393,"column":4,"endLine":395,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P85485_mk(s) { +function Sprite_kind__P2142_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P85485, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P2142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18558,7 +18558,7 @@ function Sprite_kind__P85485_mk(s) { -function game_popScene__P85953(s) { +function game_popScene__P2610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18568,57 +18568,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___93859 = undefined; - s.tmp_0 = game_currentScene__P85948_mk(s); + s.oldScene___10516 = undefined; + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 817; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___93859 = (r0); - s.tmp_0 = r0 = globals._sceneStack___87620; + s.oldScene___10516 = (r0); + s.tmp_0 = r0 = globals._sceneStack___4277; 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___87620); + r0 = pxsim_Array__length(globals._sceneStack___4277); 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___87620); - globals._scene___87619 = (r0); - s.tmp_0 = control_popEventContext__P83751_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___4277); + globals._scene___4276 = (r0); + s.tmp_0 = control_popEventContext__P408_mk(s); s.callLocIdx = 818; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___87619); + r0 = pxsim_numops_toBoolDecr(globals._scene___4276); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P83751_mk(s); + s.tmp_0 = control_popEventContext__P408_mk(s); s.callLocIdx = 819; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___87619 = (undefined); + globals._scene___4276 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___87619); + r0 = pxsim_numops_toBoolDecr(globals._scene___4276); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P86127_mk(s); + s.tmp_0 = particles_enableAll__P2784_mk(s); s.callLocIdx = 820; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___87622); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4279); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P93880); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P10537); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___93859); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___87622; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___10516); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___4279; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 822; s.pc = 15; return s.tmp_1; case 15: @@ -18629,23 +18629,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P85953.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P2610.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P85953_mk(s) { +function game_popScene__P2610_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P85953, depth: s.depth + 1, + parent: s, fn: game_popScene__P2610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___93859: undefined, + oldScene___10516: undefined, } } -function game_popScene_inline__P93880(s) { +function game_popScene_inline__P10537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18670,12 +18670,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene_inline__P93880.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P10537.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P93880_mk(s) { +function game_popScene_inline__P10537_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P93880, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P10537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18685,7 +18685,7 @@ function game_popScene_inline__P93880_mk(s) { -function particles_enableAll__P86127(s) { +function particles_enableAll__P2784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18695,21 +18695,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___93884 = undefined; - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.sources___10541 = undefined; + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1059; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___93884 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___93884); + s.sources___10541 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___10541); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P83452_mk(s); - s.tmp_0.arg0 = s.sources___93884; - s.tmp_0.arg1 = particles_enableAll_inline__P93890; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_0.arg0 = s.sources___10541; + s.tmp_0.arg1 = particles_enableAll_inline__P10547; s.callLocIdx = 1061; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P87964_mk(s); + s.tmp_0 = particles_pruneParticles__P4621_mk(s); s.callLocIdx = 1062; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -18719,22 +18719,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P86127.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P2784.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} -function particles_enableAll__P86127_mk(s) { +function particles_enableAll__P2784_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P86127, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P2784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___93884: undefined, + sources___10541: undefined, } } -function particles_enableAll_inline__P93890(s) { +function particles_enableAll_inline__P10547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18748,7 +18748,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P86108_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P2765_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1060; s.pc = 1; return s.tmp_0; @@ -18758,12 +18758,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P93890.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__P10547.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__P93890_mk(s) { +function particles_enableAll_inline__P10547_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P93890, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P10547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18773,7 +18773,7 @@ function particles_enableAll_inline__P93890_mk(s) { -function control_popEventContext__P83751(s) { +function control_popEventContext__P408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18783,9 +18783,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___93897 = undefined; - s.context___93905 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___87272); + s.ctx___10554 = undefined; + s.context___10562 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___3929); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -18794,9 +18794,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___87272); - s.ctx___93897 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___93897); + r0 = pxsim_Array_.pop(globals.eventContexts___3929); + s.ctx___10554 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___10554); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -18805,53 +18805,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P83743_mk(s); - s.tmp_2.arg0 = s.ctx___93897; + s.tmp_2 = control_EventContext_unregister__P400_mk(s); + s.tmp_2.arg0 = s.ctx___10554; s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___87272; - r0 = pxsim_Array__length(globals.eventContexts___87272); + s.tmp_0 = r0 = globals.eventContexts___3929; + r0 = pxsim_Array__length(globals.eventContexts___3929); 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___93905 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___93905); + s.context___10562 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___10562); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P83742_mk(s); - s.tmp_0.arg0 = s.context___93905; + s.tmp_0 = control_EventContext_register__P399_mk(s); + s.tmp_0.arg0 = s.context___10562; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___87272 = (undefined); + globals.eventContexts___3929 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P83751.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P408.info = {"start":7568,"length":413,"line":232,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P83751_mk(s) { +function control_popEventContext__P408_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P83751, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___93897: undefined, - context___93905: undefined, + ctx___10554: undefined, + context___10562: undefined, } } -function control_EventContext_register__P83742(s) { +function control_EventContext_register__P399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18861,38 +18861,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___93918 = undefined; - s.unnamed450___U1 = undefined; - s.unnamed451___U2 = undefined; + s.h___10575 = undefined; + s.unnamed50___U1 = undefined; + s.unnamed51___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C83736_VT)) failedCast(r0); - s.h___93918 = (undefined); + if (!checkSubtype(r0, control_EventContext__C393_VT)) failedCast(r0); + s.h___10575 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed450___U1 = (r0); - s.unnamed451___U2 = (0); + s.unnamed50___U1 = (r0); + s.unnamed51___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed451___U2; - r0 = pxsim_Array__length(s.unnamed450___U1); + s.tmp_0 = r0 = s.unnamed51___U2; + r0 = pxsim_Array__length(s.unnamed50___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed450___U1, s.unnamed451___U2); - s.h___93918 = (r0); - s.tmp_2 = control_EventHandler_register__P87265_mk(s); - s.tmp_2.arg0 = s.h___93918; + r0 = pxsim_Array__getAt(s.unnamed50___U1, s.unnamed51___U2); + s.h___10575 = (r0); + s.tmp_2 = control_EventHandler_register__P3922_mk(s); + s.tmp_2.arg0 = s.h___10575; s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed451___U2 + 1); - s.unnamed451___U2 = (r0); + r0 = (s.unnamed51___U2 + 1); + s.unnamed51___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed450___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P87270_mk(s); + s.unnamed50___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P3927_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 49; s.pc = 4; return s.tmp_0; case 4: @@ -18901,19 +18901,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P83742.info = {"start":4386,"length":138,"line":131,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P399.info = {"start":4386,"length":138,"line":131,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P83742_mk(s) { +function control_EventContext_register__P399_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P83742, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___93918: undefined, - unnamed450___U1: undefined, - unnamed451___U2: undefined, + h___10575: undefined, + unnamed50___U1: undefined, + unnamed51___U2: undefined, arg0: undefined, } } @@ -18921,7 +18921,7 @@ function control_EventContext_register__P83742_mk(s) { -function controller__setUserEventsEnabled__P85325(s) { +function controller__setUserEventsEnabled__P1982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18935,17 +18935,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___87440 = (s.arg0); + globals._userEventsEnabled___4097 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P85325.info = {"start":6390,"length":101,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P1982.info = {"start":6390,"length":101,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P85325_mk(s) { +function controller__setUserEventsEnabled__P1982_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P85325, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P1982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18954,7 +18954,7 @@ function controller__setUserEventsEnabled__P85325_mk(s) { -function scene_systemMenu_MenuOption_constructor__P86032(s) { +function scene_systemMenu_MenuOption_constructor__P2689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18972,7 +18972,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -18980,12 +18980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P86032.info = {"start":786,"length":108,"line":38,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["this","iconImage","getText","action"]} +scene_systemMenu_MenuOption_constructor__P2689.info = {"start":786,"length":108,"line":38,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["this","iconImage","getText","action"]} -function scene_systemMenu_MenuOption_constructor__P86032_mk(s) { +function scene_systemMenu_MenuOption_constructor__P2689_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P86032, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P2689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18997,7 +18997,7 @@ function scene_systemMenu_MenuOption_constructor__P86032_mk(s) { -function helpers_screenBrightness__P85102(s) { +function helpers_screenBrightness__P1759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19011,16 +19011,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___85090; + r0 = globals.brightness___1747; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P85102.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P1759.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P85102_mk(s) { +function helpers_screenBrightness__P1759_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P85102, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P1759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19029,7 +19029,7 @@ function helpers_screenBrightness__P85102_mk(s) { -function music_volume__P84948(s) { +function music_volume__P1605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19039,20 +19039,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P87307_mk(s); + s.tmp_0 = music_initVolume__P3964_mk(s); s.callLocIdx = 62; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___87303; + r0 = globals.globalVolume___3960; return leave(s, r0) default: oops() } } } -music_volume__P84948.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P1605.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} -function music_volume__P84948_mk(s) { +function music_volume__P1605_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P84948, depth: s.depth + 1, + parent: s, fn: music_volume__P1605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19061,7 +19061,7 @@ function music_volume__P84948_mk(s) { -function music_initVolume__P87307(s) { +function music_initVolume__P3964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19071,12 +19071,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___87303 === null); + r0 = (globals.globalVolume___3960 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___87303 = (0); - s.tmp_0 = music_setVolume__P84947_mk(s); + globals.globalVolume___3960 = (0); + s.tmp_0 = music_setVolume__P1604_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 59; s.pc = 3; return s.tmp_0; @@ -19088,12 +19088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P87307.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P3964.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__P87307_mk(s) { +function music_initVolume__P3964_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P87307, depth: s.depth + 1, + parent: s, fn: music_initVolume__P3964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19102,7 +19102,7 @@ function music_initVolume__P87307_mk(s) { -function helpers_arrayConcat__P83456(s) { +function helpers_arrayConcat__P113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19112,74 +19112,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___95012 = undefined; - s.value___95015 = undefined; - s.unnamed440___U2 = undefined; - s.unnamed441___U3 = undefined; - s.value___95022 = undefined; - s.unnamed442___U5 = undefined; - s.unnamed443___U6 = undefined; + s.out___11669 = undefined; + s.value___11672 = undefined; + s.unnamed40___U2 = undefined; + s.unnamed41___U3 = undefined; + s.value___11679 = undefined; + s.unnamed42___U5 = undefined; + s.unnamed43___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___95012 = (r0); - s.value___95015 = (undefined); - s.unnamed440___U2 = (s.arg0); - s.unnamed441___U3 = (0); + s.out___11669 = (r0); + s.value___11672 = (undefined); + s.unnamed40___U2 = (s.arg0); + s.unnamed41___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed441___U3; - r0 = pxsim_Array__length(s.unnamed440___U2); + s.tmp_0 = r0 = s.unnamed41___U3; + r0 = pxsim_Array__length(s.unnamed40___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed440___U2, s.unnamed441___U3); - s.value___95015 = (r0); - r0 = pxsim_Array__push(s.out___95012, s.value___95015); - r0 = (s.unnamed441___U3 + 1); - s.unnamed441___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed40___U2, s.unnamed41___U3); + s.value___11672 = (r0); + r0 = pxsim_Array__push(s.out___11669, s.value___11672); + r0 = (s.unnamed41___U3 + 1); + s.unnamed41___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed440___U2 = (undefined); - s.value___95022 = (undefined); - s.unnamed442___U5 = (s.arg1); - s.unnamed443___U6 = (0); + s.unnamed40___U2 = (undefined); + s.value___11679 = (undefined); + s.unnamed42___U5 = (s.arg1); + s.unnamed43___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed443___U6; - r0 = pxsim_Array__length(s.unnamed442___U5); + s.tmp_0 = r0 = s.unnamed43___U6; + r0 = pxsim_Array__length(s.unnamed42___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed442___U5, s.unnamed443___U6); - s.value___95022 = (r0); - r0 = pxsim_Array__push(s.out___95012, s.value___95022); - r0 = (s.unnamed443___U6 + 1); - s.unnamed443___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed42___U5, s.unnamed43___U6); + s.value___11679 = (r0); + r0 = pxsim_Array__push(s.out___11669, s.value___11679); + r0 = (s.unnamed43___U6 + 1); + s.unnamed43___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed442___U5 = (undefined); - r0 = s.out___95012; + s.unnamed42___U5 = (undefined); + r0 = s.out___11669; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P83456.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P113.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -function helpers_arrayConcat__P83456_mk(s) { +function helpers_arrayConcat__P113_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P83456, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___95012: undefined, - value___95015: undefined, - unnamed440___U2: undefined, - unnamed441___U3: undefined, - value___95022: undefined, - unnamed442___U5: undefined, - unnamed443___U6: undefined, + out___11669: undefined, + value___11672: undefined, + unnamed40___U2: undefined, + unnamed41___U3: undefined, + value___11679: undefined, + unnamed42___U5: undefined, + unnamed43___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -19188,7 +19188,7 @@ function helpers_arrayConcat__P83456_mk(s) { -function scene_systemMenu_PauseMenu_show__P86041(s) { +function scene_systemMenu_PauseMenu_show__P2698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19198,14 +19198,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___93335 = undefined; - s.i___93336 = undefined; + s.current___9992 = undefined; + s.i___9993 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -19223,9 +19223,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___93336 = (0); + s.i___9993 = (0); case 1: - s.tmp_1 = r0 = s.i___93336; + s.tmp_1 = r0 = s.i___9993; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19236,22 +19236,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___93336); - s.current___93335 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P86033_mk(s); - s.tmp_0.arg0 = s.current___93335; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___9993); + s.current___9992 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P2690_mk(s); + s.tmp_0.arg0 = s.current___9992; s.callLocIdx = 864; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P86036_mk(s); - s.tmp_0.arg0 = s.current___93335; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P2693_mk(s); + s.tmp_0.arg0 = s.current___9992; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 865; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P86034_mk(s); - s.tmp_0.arg0 = s.current___93335; + s.tmp_0 = scene_systemMenu_MenuOption_position__P2691_mk(s); + s.tmp_0.arg0 = s.current___9992; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -19266,7 +19266,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___93336; + s.tmp_5 = r0 = s.i___9993; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -19331,7 +19331,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___93336; + s.tmp_17 = r0 = s.i___9993; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -19385,98 +19385,98 @@ switch (step) { s.callLocIdx = 874; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___93336 + 1); - s.i___93336 = (r0); + r0 = (s.i___9993 + 1); + s.i___9993 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P85325_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P1982_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 875; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93399); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10056); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P85317_mk(s); - s.tmp_1.arg0 = globals.A___85244; + s.tmp_1 = controller_Button_onEvent__P1974_mk(s); + s.tmp_1.arg0 = globals.A___1901; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 877; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93419); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10076); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P85317_mk(s); - s.tmp_1.arg0 = globals.A___85244; + s.tmp_1 = controller_Button_onEvent__P1974_mk(s); + s.tmp_1.arg0 = globals.A___1901; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 879; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P85317_mk(s); - s.tmp_0.arg0 = globals.B___85245; + s.tmp_0 = controller_Button_onEvent__P1974_mk(s); + s.tmp_0.arg0 = globals.B___1902; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P93448; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P10105; s.callLocIdx = 881; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P85317_mk(s); - s.tmp_0.arg0 = globals.menu___85250; + s.tmp_0 = controller_Button_onEvent__P1974_mk(s); + s.tmp_0.arg0 = globals.menu___1907; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P93453; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P10110; s.callLocIdx = 883; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93458); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10115); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P85317_mk(s); - s.tmp_1.arg0 = globals.up___85247; + s.tmp_1 = controller_Button_onEvent__P1974_mk(s); + s.tmp_1.arg0 = globals.up___1904; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 887; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93470); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10127); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P85317_mk(s); - s.tmp_1.arg0 = globals.left___85246; + s.tmp_1 = controller_Button_onEvent__P1974_mk(s); + s.tmp_1.arg0 = globals.left___1903; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 890; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93479); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10136); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P85317_mk(s); - s.tmp_1.arg0 = globals.down___85249; + s.tmp_1 = controller_Button_onEvent__P1974_mk(s); + s.tmp_1.arg0 = globals.down___1906; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 894; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93495); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10152); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P85317_mk(s); - s.tmp_1.arg0 = globals.right___85248; + s.tmp_1 = controller_Button_onEvent__P1974_mk(s); + s.tmp_1.arg0 = globals.right___1905; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 897; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P93507); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10164); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P85961_mk(s); + s.tmp_1 = game_onShade__P2618_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 900; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P86043_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2700_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 901; s.pc = 25; return s.tmp_0; @@ -19486,12 +19486,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P86041.info = {"start":3296,"length":2241,"line":123,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} +scene_systemMenu_PauseMenu_show__P2698.info = {"start":3296,"length":2241,"line":123,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_show__P86041_mk(s) { +function scene_systemMenu_PauseMenu_show__P2698_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P86041, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P2698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19518,8 +19518,8 @@ function scene_systemMenu_PauseMenu_show__P86041_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___93335: undefined, - i___93336: undefined, + current___9992: undefined, + i___9993: undefined, arg0: undefined, } } @@ -19527,7 +19527,7 @@ function scene_systemMenu_PauseMenu_show__P86041_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93399(s) { +function scene_systemMenu_PauseMenu_show_inline__P10056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19565,7 +19565,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P86037_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P2694_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -19581,12 +19581,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93399.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__P10056.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__P93399_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10056_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93399, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19605,7 +19605,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93399_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93419(s) { +function scene_systemMenu_PauseMenu_show_inline__P10076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19643,7 +19643,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P86037_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P2694_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -19667,12 +19667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93419.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__P10076.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__P93419_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10076_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93419, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19691,7 +19691,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93419_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93448(s) { +function scene_systemMenu_PauseMenu_show_inline__P10105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19701,7 +19701,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P86046_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P2703_mk(s); s.callLocIdx = 880; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -19709,12 +19709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93448.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__P10105.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__P93448_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10105_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93448, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19723,7 +19723,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93448_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93453(s) { +function scene_systemMenu_PauseMenu_show_inline__P10110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19733,7 +19733,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P86046_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P2703_mk(s); s.callLocIdx = 882; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -19741,12 +19741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93453.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__P10110.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__P93453_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10110_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93453, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19755,7 +19755,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93453_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93458(s) { +function scene_systemMenu_PauseMenu_show_inline__P10115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19765,9 +19765,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P86043_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2700_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P83473_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -19798,12 +19798,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93458.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__P10115.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__P93458_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10115_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93458, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19816,7 +19816,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93458_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93470(s) { +function scene_systemMenu_PauseMenu_show_inline__P10127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19826,9 +19826,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P86043_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2700_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P83473_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -19845,12 +19845,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93470.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__P10127.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__P93470_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10127_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93470, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19861,7 +19861,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93470_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93479(s) { +function scene_systemMenu_PauseMenu_show_inline__P10136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19871,9 +19871,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P86043_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2700_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P83474_mk(s); + s.tmp_1 = Math_min__P131_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19909,12 +19909,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93479.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__P10136.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__P93479_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10136_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93479, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19929,7 +19929,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93479_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93495(s) { +function scene_systemMenu_PauseMenu_show_inline__P10152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19939,9 +19939,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P86043_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2700_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P83474_mk(s); + s.tmp_1 = Math_min__P131_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19963,12 +19963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93495.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__P10152.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__P93495_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10152_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93495, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19981,7 +19981,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93495_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P93507(s) { +function scene_systemMenu_PauseMenu_show_inline__P10164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19991,12 +19991,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P86042_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P2699_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 898; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P86044_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P2701_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 899; s.pc = 2; return s.tmp_0; case 2: @@ -20005,12 +20005,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P93507.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__P10164.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__P93507_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10164_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P93507, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20019,7 +20019,7 @@ function scene_systemMenu_PauseMenu_show_inline__P93507_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P86044(s) { +function scene_systemMenu_PauseMenu_drawText__P2701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20034,7 +20034,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20046,11 +20046,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P85094_mk(s); - s.tmp_3.arg0 = globals.screen___85168; + s.tmp_3 = helpers_imageFillRect__P1751_mk(s); + s.tmp_3.arg0 = globals.screen___1825; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20072,8 +20072,8 @@ switch (step) { s.callLocIdx = 913; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P85125_mk(s); - s.tmp_0.arg0 = globals.screen___85168; + s.tmp_0 = helpers_imagePrintCenter__P1782_mk(s); + s.tmp_0.arg0 = globals.screen___1825; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20107,8 +20107,8 @@ switch (step) { s.callLocIdx = 916; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P85094_mk(s); - s.tmp_0.arg0 = globals.screen___85168; + s.tmp_0 = helpers_imageFillRect__P1751_mk(s); + s.tmp_0.arg0 = globals.screen___1825; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20126,9 +20126,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20152,8 +20152,8 @@ switch (step) { s.callLocIdx = 919; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P85094_mk(s); - s.tmp_0.arg0 = globals.screen___85168; + s.tmp_0 = helpers_imageFillRect__P1751_mk(s); + s.tmp_0.arg0 = globals.screen___1825; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20182,7 +20182,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20234,8 +20234,8 @@ switch (step) { s.callLocIdx = 925; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P85125_mk(s); - s.tmp_0.arg0 = globals.screen___85168; + s.tmp_0 = helpers_imagePrintCenter__P1782_mk(s); + s.tmp_0.arg0 = globals.screen___1825; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -20294,12 +20294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P86044.info = {"start":6927,"length":795,"line":224,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"drawText","argumentNames":["this"]} +scene_systemMenu_PauseMenu_drawText__P2701.info = {"start":6927,"length":795,"line":224,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"drawText","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_drawText__P86044_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P2701_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P86044, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P2701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20318,7 +20318,7 @@ function scene_systemMenu_PauseMenu_drawText__P86044_mk(s) { -function helpers_imagePrintCenter__P85125(s) { +function helpers_imagePrintCenter__P1782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20328,8 +20328,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___93594 = undefined; - s.x___93600 = undefined; + s.w___10251 = undefined; + s.x___10257 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20344,7 +20344,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P85113_mk(s); + s.tmp_2 = image_getFontForText__P1770_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 93; s.pc = 3; return s.tmp_2; case 3: @@ -20368,17 +20368,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___93594 = (r0); + s.w___10251 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___93594); + r0 = (s.tmp_1 - s.w___10251); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___93600 = (r0); - s.tmp_0 = helpers_imagePrint__P85126_mk(s); + s.x___10257 = (r0); + s.tmp_0 = helpers_imagePrint__P1783_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___93600; + s.tmp_0.arg2 = s.x___10257; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -20390,18 +20390,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P85125.info = {"start":15025,"length":295,"line":206,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"imagePrintCenter","argumentNames":["img","text","y","color","font"]} +helpers_imagePrintCenter__P1782.info = {"start":15025,"length":295,"line":206,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"imagePrintCenter","argumentNames":["img","text","y","color","font"]} -function helpers_imagePrintCenter__P85125_mk(s) { +function helpers_imagePrintCenter__P1782_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P85125, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P1782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___93594: undefined, - x___93600: undefined, + w___10251: undefined, + x___10257: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20413,7 +20413,7 @@ function helpers_imagePrintCenter__P85125_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P86043(s) { +function scene_systemMenu_PauseMenu_setSelection__P2700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20429,7 +20429,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20449,7 +20449,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_6 = scene_systemMenu_MenuOption_setState__P86037_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P2694_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20471,9 +20471,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C85310_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___85244; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C1967_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___1901; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.isPressed; s.pc = 11; return s.tmp_4; case 11: @@ -20488,7 +20488,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P86037_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P2694_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20501,7 +20501,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P87874_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P4531_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 911; s.pc = 13; return s.tmp_0; case 13: @@ -20511,12 +20511,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P86043.info = {"start":6436,"length":481,"line":208,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setSelection","argumentNames":["this","selection"]} +scene_systemMenu_PauseMenu_setSelection__P2700.info = {"start":6436,"length":481,"line":208,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setSelection","argumentNames":["this","selection"]} -function scene_systemMenu_PauseMenu_setSelection__P86043_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P2700_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P86043, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P2700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20535,7 +20535,7 @@ function scene_systemMenu_PauseMenu_setSelection__P86043_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P87874(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P4531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20545,13 +20545,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___93811 = undefined; + s.row___10468 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -20569,17 +20569,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___93811 = (r0); + s.row___10468 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___93811 === s.tmp_1); + r0 = (s.row___10468 === 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___93811 - 1); + r0 = (s.row___10468 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -20594,7 +20594,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___93811 > s.tmp_6); + r0 = (s.row___10468 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -20654,12 +20654,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P87874.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__P4531.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__P87874_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P4531_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P87874, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P4531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20671,7 +20671,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P87874_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___93811: undefined, + row___10468: undefined, arg0: undefined, } } @@ -20679,7 +20679,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P87874_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P86042(s) { +function scene_systemMenu_PauseMenu_onUpdate__P2699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20689,22 +20689,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___93616 = undefined; - s.i___93620 = undefined; - s.dt___93649 = undefined; + s.t___10273 = undefined; + s.i___10277 = undefined; + s.dt___10306 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___93616 = (r0); - s.i___93620 = (0); + s.t___10273 = (r0); + s.i___10277 = (0); case 1: - s.tmp_1 = r0 = s.i___93620; + s.tmp_1 = r0 = s.i___10277; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20713,13 +20713,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P86035_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P2692_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___93620); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___10277); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___93616; - s.tmp_11 = r0 = s.i___93620; + s.tmp_8 = r0 = s.t___10273; + s.tmp_11 = r0 = s.i___10277; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -20747,11 +20747,11 @@ switch (step) { s.callLocIdx = 903; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___93620 + 1); - s.i___93620 = (r0); + r0 = (s.i___10277 + 1); + s.i___10277 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P85948_mk(s); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 904; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -20760,7 +20760,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___93649 = (r0); + s.dt___10306 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -20772,7 +20772,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___93649 * 100); + r0 = (s.dt___10306 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -20790,7 +20790,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___93649 * 100); + r0 = (s.dt___10306 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -20800,7 +20800,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P83471_mk(s); + s.tmp_2 = Math_abs__P128_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -20820,8 +20820,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P85784_mk(s); - s.tmp_1 = game_currentScene__P85948_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2441_mk(s); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 907; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -20837,12 +20837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P86042.info = {"start":5547,"length":879,"line":183,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"onUpdate","argumentNames":["this"]} +scene_systemMenu_PauseMenu_onUpdate__P2699.info = {"start":5547,"length":879,"line":183,"column":8,"endLine":206,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"onUpdate","argumentNames":["this"]} -function scene_systemMenu_PauseMenu_onUpdate__P86042_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P2699_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P86042, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P2699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20858,9 +20858,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P86042_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___93616: undefined, - i___93620: undefined, - dt___93649: undefined, + t___10273: undefined, + i___10277: undefined, + dt___10306: undefined, arg0: undefined, } } @@ -20868,7 +20868,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P86042_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P86035(s) { +function scene_systemMenu_MenuOption_setOffset__P2692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20884,8 +20884,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P85482_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2139_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -20895,10 +20895,10 @@ switch (step) { s.callLocIdx = 845; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P85443_mk(s); + s.tmp_0 = Sprite_y__P2100_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P85442_mk(s); + s.tmp_1 = Sprite_y__P2099_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 846; s.pc = 3; return s.tmp_1; @@ -20912,12 +20912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P86035.info = {"start":1411,"length":123,"line":61,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setOffset","argumentNames":["this","offset"]} +scene_systemMenu_MenuOption_setOffset__P2692.info = {"start":1411,"length":123,"line":61,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setOffset","argumentNames":["this","offset"]} -function scene_systemMenu_MenuOption_setOffset__P86035_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P2692_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P86035, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P2692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20929,7 +20929,7 @@ function scene_systemMenu_MenuOption_setOffset__P86035_mk(s) { -function Sprite_top__P85482(s) { +function Sprite_top__P2139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20939,22 +20939,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___93725 = undefined; + s.physics___10382 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 279; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___93725 = (r0); - s.tmp_0 = PhysicsEngine__C85577_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___93725; + s.physics___10382 = (r0); + s.tmp_0 = PhysicsEngine__C2234_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___10382; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -20965,7 +20965,7 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C85577_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2234_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite; s.pc = 2; return s.tmp_0; case 2: @@ -20974,18 +20974,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P85482.info = {"start":10028,"length":256,"line":361,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P2139.info = {"start":10028,"length":256,"line":361,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P85482_mk(s) { +function Sprite_top__P2139_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P85482, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2139, 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, - physics___93725: undefined, + physics___10382: undefined, arg0: undefined, arg1: undefined, } } @@ -20994,7 +20994,7 @@ function Sprite_top__P85482_mk(s) { -function PhysicsEngine_moveSprite__P85581(s) { +function PhysicsEngine_moveSprite__P2238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21012,17 +21012,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C85577_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2234_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P85581.info = {"start":230,"length":43,"line":13,"column":4,"endLine":13,"endColumn":47,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +PhysicsEngine_moveSprite__P2238.info = {"start":230,"length":43,"line":13,"column":4,"endLine":13,"endColumn":47,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function PhysicsEngine_moveSprite__P85581_mk(s) { +function PhysicsEngine_moveSprite__P2238_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P85581, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P2238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21034,7 +21034,7 @@ function PhysicsEngine_moveSprite__P85581_mk(s) { -function Sprite_top__P85481(s) { +function Sprite_top__P2138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21049,20 +21049,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_top__P85481.info = {"start":9885,"length":53,"line":356,"column":4,"endLine":358,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P85481.isGetter = true; +Sprite_top__P2138.info = {"start":9885,"length":53,"line":356,"column":4,"endLine":358,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P2138.isGetter = true; -function Sprite_top__P85481_mk(s) { +function Sprite_top__P2138_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P85481, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2138, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21072,7 +21072,7 @@ function Sprite_top__P85481_mk(s) { -function Sprite_y__P85443(s) { +function Sprite_y__P2100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21088,8 +21088,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P85482_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2139_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -21107,12 +21107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P85443.info = {"start":2305,"length":72,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P2100.info = {"start":2305,"length":72,"line":92,"column":4,"endLine":94,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P85443_mk(s) { +function Sprite_y__P2100_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P85443, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21127,7 +21127,7 @@ function Sprite_y__P85443_mk(s) { -function scene_systemMenu_MenuOption_setState__P86037(s) { +function scene_systemMenu_MenuOption_setState__P2694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21143,7 +21143,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -21154,7 +21154,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P87873_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4530_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 849; s.pc = 4; return s.tmp_0; case 4: @@ -21164,12 +21164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P86037.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} +scene_systemMenu_MenuOption_setState__P2694.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} -function scene_systemMenu_MenuOption_setState__P86037_mk(s) { +function scene_systemMenu_MenuOption_setState__P2694_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P86037, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P2694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21181,7 +21181,7 @@ function scene_systemMenu_MenuOption_setState__P86037_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P87873(s) { +function scene_systemMenu_MenuOption_updateCard__P4530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21196,7 +21196,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -21219,7 +21219,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P85471_mk(s); + s.tmp_4 = Sprite_setImage__P2128_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -21241,7 +21241,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P85471_mk(s); + s.tmp_0 = Sprite_setImage__P2128_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -21263,7 +21263,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P85471_mk(s); + s.tmp_0 = Sprite_setImage__P2128_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -21284,10 +21284,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P85441_mk(s); + s.tmp_0 = Sprite_x__P2098_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P85440_mk(s); + s.tmp_1 = Sprite_x__P2097_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 858; s.pc = 15; return s.tmp_1; @@ -21297,10 +21297,10 @@ switch (step) { s.callLocIdx = 859; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P85443_mk(s); + s.tmp_0 = Sprite_y__P2100_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P85442_mk(s); + s.tmp_1 = Sprite_y__P2099_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 860; s.pc = 17; return s.tmp_1; @@ -21315,12 +21315,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P87873.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__P4530.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__P87873_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P4530_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P87873, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P4530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21335,7 +21335,7 @@ function scene_systemMenu_MenuOption_updateCard__P87873_mk(s) { -function Sprite_x__P85441(s) { +function Sprite_x__P2098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21351,8 +21351,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P85478_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2135_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -21370,12 +21370,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P85441.info = {"start":1956,"length":72,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P2098.info = {"start":1956,"length":72,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P85441_mk(s) { +function Sprite_x__P2098_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P85441, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21390,7 +21390,7 @@ function Sprite_x__P85441_mk(s) { -function Sprite_left__P85478(s) { +function Sprite_left__P2135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21400,22 +21400,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___94596 = undefined; + s.physics___11253 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 271; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___94596 = (r0); - s.tmp_0 = PhysicsEngine__C85577_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___94596; + s.physics___11253 = (r0); + s.tmp_0 = PhysicsEngine__C2234_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___11253; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21426,7 +21426,7 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C85577_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2234_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite; s.pc = 2; return s.tmp_0; case 2: @@ -21435,18 +21435,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P85478.info = {"start":9224,"length":257,"line":331,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P2135.info = {"start":9224,"length":257,"line":331,"column":4,"endLine":341,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P85478_mk(s) { +function Sprite_left__P2135_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P85478, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2135, 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, - physics___94596: undefined, + physics___11253: undefined, arg0: undefined, arg1: undefined, } } @@ -21455,7 +21455,7 @@ function Sprite_left__P85478_mk(s) { -function Sprite_left__P85477(s) { +function Sprite_left__P2134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21470,20 +21470,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_left__P85477.info = {"start":9080,"length":53,"line":326,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P85477.isGetter = true; +Sprite_left__P2134.info = {"start":9080,"length":53,"line":326,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P2134.isGetter = true; -function Sprite_left__P85477_mk(s) { +function Sprite_left__P2134_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P85477, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21493,7 +21493,7 @@ function Sprite_left__P85477_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P86036(s) { +function scene_systemMenu_MenuOption_setTheme__P2693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21509,9 +21509,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P87873_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4530_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 848; s.pc = 1; return s.tmp_0; case 1: @@ -21520,12 +21520,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P86036.info = {"start":1544,"length":101,"line":66,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setTheme","argumentNames":["this","theme"]} +scene_systemMenu_MenuOption_setTheme__P2693.info = {"start":1544,"length":101,"line":66,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setTheme","argumentNames":["this","theme"]} -function scene_systemMenu_MenuOption_setTheme__P86036_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P2693_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P86036, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P2693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21536,7 +21536,7 @@ function scene_systemMenu_MenuOption_setTheme__P86036_mk(s) { -function scene_systemMenu_MenuOption_position__P86034(s) { +function scene_systemMenu_MenuOption_position__P2691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21553,26 +21553,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P85478_mk(s); + s.tmp_0 = Sprite_left__P2135_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 839; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P85482_mk(s); + s.tmp_0 = Sprite_top__P2139_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 840; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P85441_mk(s); + s.tmp_0 = Sprite_x__P2098_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P85440_mk(s); + s.tmp_1 = Sprite_x__P2097_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 841; s.pc = 4; return s.tmp_1; @@ -21582,10 +21582,10 @@ switch (step) { s.callLocIdx = 842; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P85443_mk(s); + s.tmp_0 = Sprite_y__P2100_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P85442_mk(s); + s.tmp_1 = Sprite_y__P2099_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 843; s.pc = 6; return s.tmp_1; @@ -21599,12 +21599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P86034.info = {"start":1178,"length":223,"line":51,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"position","argumentNames":["this","left","top"]} +scene_systemMenu_MenuOption_position__P2691.info = {"start":1178,"length":223,"line":51,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"position","argumentNames":["this","left","top"]} -function scene_systemMenu_MenuOption_position__P86034_mk(s) { +function scene_systemMenu_MenuOption_position__P2691_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P86034, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P2691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21617,7 +21617,7 @@ function scene_systemMenu_MenuOption_position__P86034_mk(s) { -function scene_systemMenu_MenuOption_show__P86033(s) { +function scene_systemMenu_MenuOption_show__P2690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21632,7 +21632,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C86031_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2688_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -21652,12 +21652,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___86055; + r0 = globals.CARD_NORMAL___2712; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P85382_mk(s); + s.tmp_5 = sprites_create__P2039_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 835; s.pc = 4; return s.tmp_5; @@ -21680,7 +21680,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P85382_mk(s); + s.tmp_2 = sprites_create__P2039_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -21708,12 +21708,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P86033.info = {"start":904,"length":264,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} +scene_systemMenu_MenuOption_show__P2690.info = {"start":904,"length":264,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"show","argumentNames":["this"]} -function scene_systemMenu_MenuOption_show__P86033_mk(s) { +function scene_systemMenu_MenuOption_show__P2690_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P86033, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P2690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21728,7 +21728,7 @@ function scene_systemMenu_MenuOption_show__P86033_mk(s) { -function sprites_create__P85382(s) { +function sprites_create__P2039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21738,51 +21738,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___94676 = undefined; - s.sprite___94679 = undefined; + s.scene___11333 = undefined; + s.sprite___11336 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P85948_mk(s); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 216; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___94676 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C85431_VT); + s.scene___11333 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2088_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P85468_mk(s); + s.tmp_1 = Sprite_constructor__P2125_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 217; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___94679 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P85486_mk(s); - s.tmp_0.arg0 = s.sprite___94679; + s.sprite___11336 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P2143_mk(s); + s.tmp_0.arg0 = s.sprite___11336; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 218; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C85577_v0_2_mk(s); - r0 = s.scene___94676.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2234_v0_2_mk(s); + r0 = s.scene___11333.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___94679; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C85577_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___11336; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2234_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__P94694); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P11351); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P94700); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P11357); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___94679); - s.tmp_2 = helpers_arrayForEach__P83452_mk(s); - s.tmp_3 = helpers_arrayFilter__P83453_mk(s); - r0 = s.scene___94676.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___11336); + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + r0 = s.scene___11333.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 219; s.pc = 6; return s.tmp_3; @@ -21793,23 +21793,23 @@ switch (step) { s.callLocIdx = 221; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___94679; + r0 = s.sprite___11336; return leave(s, r0) default: oops() } } } -sprites_create__P85382.info = {"start":890,"length":400,"line":35,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"create","argumentNames":["img","kind"]} +sprites_create__P2039.info = {"start":890,"length":400,"line":35,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"create","argumentNames":["img","kind"]} -function sprites_create__P85382_mk(s) { +function sprites_create__P2039_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P85382, depth: s.depth + 1, + parent: s, fn: sprites_create__P2039, 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___94676: undefined, - sprite___94679: undefined, + scene___11333: undefined, + sprite___11336: undefined, arg0: undefined, arg1: undefined, } } @@ -21818,7 +21818,7 @@ function sprites_create__P85382_mk(s) { -function forEach_inline__P94694(s) { +function forEach_inline__P11351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21838,12 +21838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P94694.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__P11351.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__P94694_mk(s) { +function forEach_inline__P11351_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P94694, depth: s.depth + 1, + parent: s, fn: forEach_inline__P11351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21853,7 +21853,7 @@ function forEach_inline__P94694_mk(s) { -function sprites_create_inline__P94700(s) { +function sprites_create_inline__P11357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21885,12 +21885,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P94700.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__P11357.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__P94700_mk(s) { +function sprites_create_inline__P11357_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P94700, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P11357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21900,7 +21900,7 @@ function sprites_create_inline__P94700_mk(s) { -function PhysicsEngine_addSprite__P85579(s) { +function PhysicsEngine_addSprite__P2236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21916,17 +21916,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C85577_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2234_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P85579.info = {"start":124,"length":29,"line":8,"column":4,"endLine":8,"endColumn":33,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +PhysicsEngine_addSprite__P2236.info = {"start":124,"length":29,"line":8,"column":4,"endLine":8,"endColumn":33,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function PhysicsEngine_addSprite__P85579_mk(s) { +function PhysicsEngine_addSprite__P2236_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P85579, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P2236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21936,7 +21936,7 @@ function PhysicsEngine_addSprite__P85579_mk(s) { -function Sprite_setKind__P85486(s) { +function Sprite_setKind__P2143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21946,15 +21946,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___94718 = undefined; - s.overlapMap___94747 = undefined; + s.spritesByKind___11375 = undefined; + s.overlapMap___11404 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -21973,12 +21973,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P85948_mk(s); + s.tmp_3 = game_currentScene__P2605_mk(s); s.callLocIdx = 286; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___94718 = (r0); + s.spritesByKind___11375 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -21990,16 +21990,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___94718, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11375, s.tmp_2); case 6: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = sprites_SpriteSet_remove__P85536_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P2193_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___94718, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11375, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 287; s.pc = 17; return s.tmp_4; @@ -22011,7 +22011,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___94718, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11375, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -22019,18 +22019,18 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C85529_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2186_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P85531_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P2188_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 288; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___94718, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___11375, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P85534_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___94718, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P2191_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11375, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 289; s.pc = 19; return s.tmp_0; @@ -22038,13 +22038,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P85948_mk(s); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 290; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___94747 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___94747, s.arg1); + s.overlapMap___11404 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___11404, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22052,7 +22052,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___94747; + s.tmp_3 = r0 = s.overlapMap___11404; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -22060,7 +22060,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___94747, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___11404, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -22069,12 +22069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P85486.info = {"start":11167,"length":663,"line":404,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P2143.info = {"start":11167,"length":663,"line":404,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P85486_mk(s) { +function Sprite_setKind__P2143_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P85486, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P2143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22082,8 +22082,8 @@ function Sprite_setKind__P85486_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___94718: undefined, - overlapMap___94747: undefined, + spritesByKind___11375: undefined, + overlapMap___11404: undefined, arg0: undefined, arg1: undefined, } } @@ -22092,7 +22092,7 @@ function Sprite_setKind__P85486_mk(s) { -function sprites_SpriteSet_add__P85534(s) { +function sprites_SpriteSet_add__P2191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22108,7 +22108,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C85529_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2186_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -22139,12 +22139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P85534.info = {"start":1041,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} +sprites_SpriteSet_add__P2191.info = {"start":1041,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} -function sprites_SpriteSet_add__P85534_mk(s) { +function sprites_SpriteSet_add__P2191_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P85534, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P2191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22160,7 +22160,7 @@ function sprites_SpriteSet_add__P85534_mk(s) { -function sprites_SpriteSet_contains__P85537(s) { +function sprites_SpriteSet_contains__P2194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22176,7 +22176,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C85529_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2186_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -22185,12 +22185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P85537.info = {"start":2172,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} +sprites_SpriteSet_contains__P2194.info = {"start":2172,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} -function sprites_SpriteSet_contains__P85537_mk(s) { +function sprites_SpriteSet_contains__P2194_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P85537, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P2194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22202,7 +22202,7 @@ function sprites_SpriteSet_contains__P85537_mk(s) { -function sprites_SpriteSet_constructor__P85531(s) { +function sprites_SpriteSet_constructor__P2188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22217,7 +22217,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C85529_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2186_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -22226,12 +22226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P85531.info = {"start":485,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteSet_constructor__P2188.info = {"start":485,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} -function sprites_SpriteSet_constructor__P85531_mk(s) { +function sprites_SpriteSet_constructor__P2188_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P85531, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P2188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22242,7 +22242,7 @@ function sprites_SpriteSet_constructor__P85531_mk(s) { -function Sprite_constructor__P85468(s) { +function Sprite_constructor__P2125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22258,15 +22258,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P85227_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P1884_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 240; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -22280,7 +22280,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -22299,50 +22299,50 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P85445_mk(s); + s.tmp_0 = Sprite_vx__P2102_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 243; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P85447_mk(s); + s.tmp_0 = Sprite_vy__P2104_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 244; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P85449_mk(s); + s.tmp_0 = Sprite_ax__P2106_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 245; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P85451_mk(s); + s.tmp_0 = Sprite_ay__P2108_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 246; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P85453_mk(s); + s.tmp_0 = Sprite_fx__P2110_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 247; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P85455_mk(s); + s.tmp_0 = Sprite_fy__P2112_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 248; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P85471_mk(s); + s.tmp_0 = Sprite_setImage__P2128_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 249; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P85486_mk(s); + s.tmp_0 = Sprite_setKind__P2143_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 250; s.pc = 9; return s.tmp_0; @@ -22362,12 +22362,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P85468.info = {"start":5445,"length":618,"line":208,"column":4,"endLine":228,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P2125.info = {"start":5445,"length":618,"line":208,"column":4,"endLine":228,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P85468_mk(s) { +function Sprite_constructor__P2125_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P85468, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P2125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22384,7 +22384,7 @@ function Sprite_constructor__P85468_mk(s) { -function Sprite_fy__P85455(s) { +function Sprite_fy__P2112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22400,9 +22400,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P83473_mk(s); + s.tmp_3 = Math_max__P130_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 238; s.pc = 1; return s.tmp_3; @@ -22418,12 +22418,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P85455.info = {"start":4340,"length":64,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P2112.info = {"start":4340,"length":64,"line":157,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P85455_mk(s) { +function Sprite_fy__P2112_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P85455, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22438,7 +22438,7 @@ function Sprite_fy__P85455_mk(s) { -function Sprite_fy__P85454(s) { +function Sprite_fy__P2111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22453,20 +22453,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_fy"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_fy__P85454.info = {"start":4178,"length":60,"line":152,"column":4,"endLine":154,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P85454.isGetter = true; +Sprite_fy__P2111.info = {"start":4178,"length":60,"line":152,"column":4,"endLine":154,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P2111.isGetter = true; -function Sprite_fy__P85454_mk(s) { +function Sprite_fy__P2111_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P85454, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22476,7 +22476,7 @@ function Sprite_fy__P85454_mk(s) { -function Sprite_fx__P85453(s) { +function Sprite_fx__P2110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22492,9 +22492,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P83473_mk(s); + s.tmp_3 = Math_max__P130_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 235; s.pc = 1; return s.tmp_3; @@ -22510,12 +22510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P85453.info = {"start":3997,"length":64,"line":147,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P2110.info = {"start":3997,"length":64,"line":147,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P85453_mk(s) { +function Sprite_fx__P2110_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P85453, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22530,7 +22530,7 @@ function Sprite_fx__P85453_mk(s) { -function Sprite_fx__P85452(s) { +function Sprite_fx__P2109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22545,20 +22545,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_fx"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_fx__P85452.info = {"start":3835,"length":60,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P85452.isGetter = true; +Sprite_fx__P2109.info = {"start":3835,"length":60,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P2109.isGetter = true; -function Sprite_fx__P85452_mk(s) { +function Sprite_fx__P2109_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P85452, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22568,7 +22568,7 @@ function Sprite_fx__P85452_mk(s) { -function Sprite_ay__P85451(s) { +function Sprite_ay__P2108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22584,7 +22584,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22595,12 +22595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P85451.info = {"start":3666,"length":51,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P2108.info = {"start":3666,"length":51,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P85451_mk(s) { +function Sprite_ay__P2108_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P85451, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22613,7 +22613,7 @@ function Sprite_ay__P85451_mk(s) { -function Sprite_ay__P85450(s) { +function Sprite_ay__P2107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22628,20 +22628,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_ay"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_ay__P85450.info = {"start":3500,"length":60,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P85450.isGetter = true; +Sprite_ay__P2107.info = {"start":3500,"length":60,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P2107.isGetter = true; -function Sprite_ay__P85450_mk(s) { +function Sprite_ay__P2107_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P85450, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22651,7 +22651,7 @@ function Sprite_ay__P85450_mk(s) { -function Sprite_ax__P85449(s) { +function Sprite_ax__P2106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22667,7 +22667,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22678,12 +22678,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P85449.info = {"start":3327,"length":51,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P2106.info = {"start":3327,"length":51,"line":125,"column":4,"endLine":127,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P85449_mk(s) { +function Sprite_ax__P2106_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P85449, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22696,7 +22696,7 @@ function Sprite_ax__P85449_mk(s) { -function Sprite_ax__P85448(s) { +function Sprite_ax__P2105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22711,20 +22711,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_ax"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_ax__P85448.info = {"start":3161,"length":60,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P85448.isGetter = true; +Sprite_ax__P2105.info = {"start":3161,"length":60,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P2105.isGetter = true; -function Sprite_ax__P85448_mk(s) { +function Sprite_ax__P2105_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P85448, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22734,7 +22734,7 @@ function Sprite_ax__P85448_mk(s) { -function Sprite_vy__P85447(s) { +function Sprite_vy__P2104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22750,7 +22750,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22761,12 +22761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P85447.info = {"start":2988,"length":51,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P2104.info = {"start":2988,"length":51,"line":114,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P85447_mk(s) { +function Sprite_vy__P2104_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P85447, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22779,7 +22779,7 @@ function Sprite_vy__P85447_mk(s) { -function Sprite_vy__P85446(s) { +function Sprite_vy__P2103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22794,20 +22794,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_vy"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_vy__P85446.info = {"start":2826,"length":60,"line":109,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P85446.isGetter = true; +Sprite_vy__P2103.info = {"start":2826,"length":60,"line":109,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P2103.isGetter = true; -function Sprite_vy__P85446_mk(s) { +function Sprite_vy__P2103_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P85446, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22817,7 +22817,7 @@ function Sprite_vy__P85446_mk(s) { -function Sprite_vx__P85445(s) { +function Sprite_vx__P2102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22833,7 +22833,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22844,12 +22844,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P85445.info = {"start":2657,"length":51,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P2102.info = {"start":2657,"length":51,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P85445_mk(s) { +function Sprite_vx__P2102_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P85445, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22862,7 +22862,7 @@ function Sprite_vx__P85445_mk(s) { -function Sprite_vx__P85444(s) { +function Sprite_vx__P2101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22877,20 +22877,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_vx"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_vx__P85444.info = {"start":2495,"length":60,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P85444.isGetter = true; +Sprite_vx__P2101.info = {"start":2495,"length":60,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P2101.isGetter = true; -function Sprite_vx__P85444_mk(s) { +function Sprite_vx__P2101_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P85444, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22900,7 +22900,7 @@ function Sprite_vx__P85444_mk(s) { -function game_onShade__P85961(s) { +function game_onShade__P2618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22914,7 +22914,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P87627_mk(s); + s.tmp_0 = game_init__P4284_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 823; s.pc = 4; return s.tmp_0; case 4: @@ -22928,7 +22928,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P85799_mk(s); + s.tmp_2 = scene_createRenderable__P2456_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -22940,12 +22940,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P85961.info = {"start":8745,"length":145,"line":286,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P2618.info = {"start":8745,"length":145,"line":286,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P85961_mk(s) { +function game_onShade__P2618_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P85961, depth: s.depth + 1, + parent: s, fn: game_onShade__P2618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22957,7 +22957,7 @@ function game_onShade__P85961_mk(s) { -function scene_createRenderable__P85799(s) { +function scene_createRenderable__P2456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22967,14 +22967,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___93763 = undefined; + s.renderable___10420 = 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(scene_Renderable__C85794_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C2451_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -22982,11 +22982,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P93769; + r0 = renderable_inline__P10426; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P85795_mk(s); + s.tmp_3 = scene_Renderable_constructor__P2452_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -22994,23 +22994,23 @@ switch (step) { s.callLocIdx = 773; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___93763 = (s.tmp_0); - r0 = s.renderable___93763; + s.renderable___10420 = (s.tmp_0); + r0 = s.renderable___10420; return leave(s, r0) default: oops() } } } -scene_createRenderable__P85799.info = {"start":608,"length":339,"line":24,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/renderable.ts","functionName":"createRenderable","argumentNames":["z","handler","shouldBeVisible"]} +scene_createRenderable__P2456.info = {"start":608,"length":339,"line":24,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/renderable.ts","functionName":"createRenderable","argumentNames":["z","handler","shouldBeVisible"]} -function scene_createRenderable__P85799_mk(s) { +function scene_createRenderable__P2456_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P85799, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P2456, 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, - renderable___93763: undefined, + renderable___10420: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23020,7 +23020,7 @@ function scene_createRenderable__P85799_mk(s) { -function renderable_inline__P93769(s) { +function renderable_inline__P10426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23034,12 +23034,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P93769.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P10426.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__P93769_mk(s) { +function renderable_inline__P10426_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P93769, depth: s.depth + 1, + parent: s, fn: renderable_inline__P10426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23047,7 +23047,7 @@ function renderable_inline__P93769_mk(s) { -function scene_Renderable_constructor__P85795(s) { +function scene_Renderable_constructor__P2452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23065,10 +23065,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C85794_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2451_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P85227_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P1884_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 770; s.pc = 1; return s.tmp_0; @@ -23078,12 +23078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P85795.info = {"start":83,"length":212,"line":2,"column":8,"endLine":8,"endColumn":9,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":["this","handler","shouldBeVisible","z"]} +scene_Renderable_constructor__P2452.info = {"start":83,"length":212,"line":2,"column":8,"endLine":8,"endColumn":9,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":["this","handler","shouldBeVisible","z"]} -function scene_Renderable_constructor__P85795_mk(s) { +function scene_Renderable_constructor__P2452_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P85795, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P2452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23096,7 +23096,7 @@ function scene_Renderable_constructor__P85795_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P86040(s) { +function scene_systemMenu_PauseMenu_constructor__P2697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23113,7 +23113,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C86039_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2696_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23121,8 +23121,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P86048_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___86055); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P2705_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___2712); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -23141,12 +23141,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P86040.info = {"start":3029,"length":257,"line":116,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["this","generator","theme"]} +scene_systemMenu_PauseMenu_constructor__P2697.info = {"start":3029,"length":257,"line":116,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["this","generator","theme"]} -function scene_systemMenu_PauseMenu_constructor__P86040_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P2697_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P86040, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P2697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23160,7 +23160,7 @@ function scene_systemMenu_PauseMenu_constructor__P86040_mk(s) { -function scene_systemMenu_buildMenuTheme__P86048(s) { +function scene_systemMenu_buildMenuTheme__P2705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23170,7 +23170,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___95675 = undefined; + s.cardsPerRow___12332 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23178,19 +23178,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_0 = r0; r0 = (s.arg0 + s.arg1); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.cardsPerRow___95675 = (r0); + s.cardsPerRow___12332 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.font8___85111; + r0 = globals.font8___1768; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -23201,7 +23201,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P85114_mk(s); + s.tmp_1 = image_doubledFont__P1771_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 972; s.pc = 5; return s.tmp_1; case 5: @@ -23214,12 +23214,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___95675); - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___12332); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_3 = r0; - r0 = (s.cardsPerRow___95675 * s.arg0); + r0 = (s.cardsPerRow___12332 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___95675 - 1); + r0 = (s.cardsPerRow___12332 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -23250,7 +23250,7 @@ switch (step) { r0 = (s.tmp_9 + s.arg1); s.tmp_8 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsTop", s.tmp_8); - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -23271,19 +23271,19 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "infoTop", s.tmp_12); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "headerText", "PAUSED"); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___86056); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___86057); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___86055); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___2713); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___2714); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___2712); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P86048.info = {"start":11654,"length":906,"line":356,"column":4,"endLine":375,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} +scene_systemMenu_buildMenuTheme__P2705.info = {"start":11654,"length":906,"line":356,"column":4,"endLine":375,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} -function scene_systemMenu_buildMenuTheme__P86048_mk(s) { +function scene_systemMenu_buildMenuTheme__P2705_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P86048, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P2705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23302,7 +23302,7 @@ function scene_systemMenu_buildMenuTheme__P86048_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___95675: undefined, + cardsPerRow___12332: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23313,7 +23313,7 @@ function scene_systemMenu_buildMenuTheme__P86048_mk(s) { -function image_doubledFont__P85114(s) { +function image_doubledFont__P1771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23327,7 +23327,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P85115_mk(s); + s.tmp_0 = image_scaledFont__P1772_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 87; s.pc = 1; return s.tmp_0; @@ -23336,12 +23336,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P85114.info = {"start":12008,"length":82,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"doubledFont","argumentNames":["f"]} +image_doubledFont__P1771.info = {"start":12008,"length":82,"line":146,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"doubledFont","argumentNames":["f"]} -function image_doubledFont__P85114_mk(s) { +function image_doubledFont__P1771_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P85114, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P1771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23351,7 +23351,7 @@ function image_doubledFont__P85114_mk(s) { -function image_scaledFont__P85115(s) { +function image_scaledFont__P1772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23466,12 +23466,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P85115.info = {"start":12096,"length":331,"line":150,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"scaledFont","argumentNames":["f","size"]} +image_scaledFont__P1772.info = {"start":12096,"length":331,"line":150,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/text.ts","functionName":"scaledFont","argumentNames":["f","size"]} -function image_scaledFont__P85115_mk(s) { +function image_scaledFont__P1772_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P85115, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P1772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23497,7 +23497,7 @@ function image_scaledFont__P85115_mk(s) { -function game_pushScene__P85952(s) { +function game_pushScene__P2609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23507,43 +23507,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___95754 = undefined; - s.tmp_0 = game_currentScene__P85948_mk(s); + s.oldScene___12411 = undefined; + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 811; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___95754 = (r0); - s.tmp_0 = particles_clearAll__P86125_mk(s); + s.oldScene___12411 = (r0); + s.tmp_0 = particles_clearAll__P2782_mk(s); s.callLocIdx = 812; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P86126_mk(s); + s.tmp_0 = particles_disableAll__P2783_mk(s); s.callLocIdx = 813; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___87620); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___4277); 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___87620 = (r0); + globals._sceneStack___4277 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___87620, globals._scene___87619); - s.tmp_0 = game_init__P87627_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___4277, globals._scene___4276); + s.tmp_0 = game_init__P4284_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 814; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___87621); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4278); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P95771); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P12428); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___95754); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___87621; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___12411); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___4278; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 816; s.pc = 9; return s.tmp_1; case 9: @@ -23554,23 +23554,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P85952.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P2609.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P85952_mk(s) { +function game_pushScene__P2609_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P85952, depth: s.depth + 1, + parent: s, fn: game_pushScene__P2609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___95754: undefined, + oldScene___12411: undefined, } } -function game_pushScene_inline__P95771(s) { +function game_pushScene_inline__P12428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23595,12 +23595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene_inline__P95771.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P12428.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P95771_mk(s) { +function game_pushScene_inline__P12428_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P95771, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P12428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23610,7 +23610,7 @@ function game_pushScene_inline__P95771_mk(s) { -function particles_disableAll__P86126(s) { +function particles_disableAll__P2783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23620,21 +23620,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___95775 = undefined; - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.sources___12432 = undefined; + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1055; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___95775 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___95775); + s.sources___12432 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___12432); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P83452_mk(s); - s.tmp_0.arg0 = s.sources___95775; - s.tmp_0.arg1 = particles_disableAll_inline__P95781; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_0.arg0 = s.sources___12432; + s.tmp_0.arg1 = particles_disableAll_inline__P12438; s.callLocIdx = 1057; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P87964_mk(s); + s.tmp_0 = particles_pruneParticles__P4621_mk(s); s.callLocIdx = 1058; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -23644,22 +23644,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P86126.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P2783.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} -function particles_disableAll__P86126_mk(s) { +function particles_disableAll__P2783_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P86126, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P2783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___95775: undefined, + sources___12432: undefined, } } -function particles_disableAll_inline__P95781(s) { +function particles_disableAll_inline__P12438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23673,7 +23673,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P86108_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P2765_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; @@ -23683,12 +23683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P95781.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__P12438.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__P95781_mk(s) { +function particles_disableAll_inline__P12438_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P95781, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P12438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23698,7 +23698,7 @@ function particles_disableAll_inline__P95781_mk(s) { -function particles_clearAll__P86125(s) { +function particles_clearAll__P2782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23708,21 +23708,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___95786 = undefined; - s.tmp_0 = particles_particleSources__P87968_mk(s); + s.sources___12443 = undefined; + s.tmp_0 = particles_particleSources__P4625_mk(s); s.callLocIdx = 1051; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___95786 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___95786); + s.sources___12443 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___12443); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P83452_mk(s); - s.tmp_0.arg0 = s.sources___95786; - s.tmp_0.arg1 = particles_clearAll_inline__P95792; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_0.arg0 = s.sources___12443; + s.tmp_0.arg1 = particles_clearAll_inline__P12449; s.callLocIdx = 1053; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P87964_mk(s); + s.tmp_0 = particles_pruneParticles__P4621_mk(s); s.callLocIdx = 1054; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -23732,22 +23732,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P86125.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P2782.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} -function particles_clearAll__P86125_mk(s) { +function particles_clearAll__P2782_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P86125, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P2782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___95786: undefined, + sources___12443: undefined, } } -function particles_clearAll_inline__P95792(s) { +function particles_clearAll_inline__P12449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23761,7 +23761,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P86110_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P2767_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1052; s.pc = 1; return s.tmp_0; case 1: @@ -23770,12 +23770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P95792.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__P12449.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__P95792_mk(s) { +function particles_clearAll_inline__P12449_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P95792, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P12449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23785,7 +23785,7 @@ function particles_clearAll_inline__P95792_mk(s) { -function controller_Button_onEvent__P85317(s) { +function controller_Button_onEvent__P1974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23802,8 +23802,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P83732_mk(s); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P389_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -23816,12 +23816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P85317.info = {"start":3246,"length":124,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P1974.info = {"start":3246,"length":124,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P85317_mk(s) { +function controller_Button_onEvent__P1974_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P85317, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P1974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23833,7 +23833,7 @@ function controller_Button_onEvent__P85317_mk(s) { -function scene_systemMenu_initScreen__P87886(s) { +function scene_systemMenu_initScreen__P4543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23843,20 +23843,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___95806 = undefined; - s.tmp_0 = settings_readNumber__P85200_mk(s); + s.brightness___12463 = undefined; + s.tmp_0 = settings_readNumber__P1857_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 981; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___95806 = (r0); - r0 = (s.brightness___95806 !== undefined); + s.brightness___12463 = (r0); + r0 = (s.brightness___12463 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P85101_mk(s); - s.tmp_1.arg0 = globals.screen___85168; - s.tmp_1.arg1 = s.brightness___95806; + s.tmp_1 = helpers_setScreenBrightness__P1758_mk(s); + s.tmp_1.arg0 = globals.screen___1825; + s.tmp_1.arg1 = s.brightness___12463; s.callLocIdx = 982; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23866,23 +23866,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P87886.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__P4543.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__P87886_mk(s) { +function scene_systemMenu_initScreen__P4543_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P87886, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P4543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___95806: undefined, + brightness___12463: undefined, } } -function settings_readNumber__P85200(s) { +function settings_readNumber__P1857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23892,15 +23892,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___95817 = undefined; - s.nums___95824 = undefined; + s.buf___12474 = undefined; + s.nums___12481 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___95817 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___95817); + s.buf___12474 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___12474); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23910,20 +23910,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P83524_mk(s); - s.tmp_2.arg0 = s.buf___95817; + s.tmp_2 = msgpack_unpackNumberArray__P181_mk(s); + s.tmp_2.arg0 = s.buf___12474; s.tmp_2.arg1 = 0; s.callLocIdx = 125; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___95824 = (r0); - s.tmp_0 = r0 = s.nums___95824; + s.nums___12481 = (r0); + s.tmp_0 = r0 = s.nums___12481; 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___95824); + r0 = pxsim_Array__length(s.nums___12481); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -23931,7 +23931,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___95824, 0); + r0 = pxsim_Array__getAt(s.nums___12481, 0); { step = 7; continue; } case 4: case 5: @@ -23943,18 +23943,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P85200.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} +settings_readNumber__P1857.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} -function settings_readNumber__P85200_mk(s) { +function settings_readNumber__P1857_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P85200, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P1857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___95817: undefined, - nums___95824: undefined, + buf___12474: undefined, + nums___12481: undefined, arg0: undefined, } } @@ -23962,7 +23962,7 @@ function settings_readNumber__P85200_mk(s) { -function settings_readBuffer__P85198(s) { +function settings_readBuffer__P1855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23980,12 +23980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P85198.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} +settings_readBuffer__P1855.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} -function settings_readBuffer__P85198_mk(s) { +function settings_readBuffer__P1855_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P85198, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P1855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23994,7 +23994,7 @@ function settings_readBuffer__P85198_mk(s) { -function msgpack_unpackNumberArray__P83524(s) { +function msgpack_unpackNumberArray__P181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24004,16 +24004,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___95837 = undefined; - s.fmt___95844 = undefined; - s.v___95853 = undefined; + s.res___12494 = undefined; + s.fmt___12501 = undefined; + s.v___12510 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___95837 = (r0); + s.res___12494 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -24025,14 +24025,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P87208_mk(s); + s.tmp_4 = msgpack_tagFormat__P3865_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 19; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___95844 = (r0); - r0 = (s.fmt___95844 === null); + s.fmt___12501 = (r0); + r0 = (s.fmt___12501 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -24040,21 +24040,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___95853 = (r0); - r0 = (-31 <= s.v___95853); + s.v___12510 = (r0); + r0 = (-31 <= s.v___12510); 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___95853 <= 127); + r0 = (s.v___12510 <= 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___95837, s.v___95853); + r0 = pxsim_Array__push(s.res___12494, s.v___12510); { step = 5; continue; } case 4: r0 = null; @@ -24062,13 +24062,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___95837; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___95844, s.arg1); + s.tmp_0 = r0 = s.res___12494; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___12501, 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__P83516_mk(s); - s.tmp_2.arg0 = s.fmt___95844; + s.tmp_2 = pins_sizeOf__P173_mk(s); + s.tmp_2.arg0 = s.fmt___12501; s.callLocIdx = 20; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -24089,26 +24089,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___95837; + r0 = s.res___12494; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P83524.info = {"start":2650,"length":669,"line":91,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} +msgpack_unpackNumberArray__P181.info = {"start":2650,"length":669,"line":91,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} -function msgpack_unpackNumberArray__P83524_mk(s) { +function msgpack_unpackNumberArray__P181_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P83524, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P181, 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, - res___95837: undefined, - fmt___95844: undefined, - v___95853: undefined, + res___12494: undefined, + fmt___12501: undefined, + v___12510: undefined, arg0: undefined, arg1: undefined, } } @@ -24117,7 +24117,7 @@ function msgpack_unpackNumberArray__P83524_mk(s) { -function scene_systemMenu_initVolume__P87885(s) { +function scene_systemMenu_initVolume__P4542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24127,19 +24127,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___95898 = undefined; - s.tmp_0 = settings_readNumber__P85200_mk(s); + s.vol___12555 = undefined; + s.tmp_0 = settings_readNumber__P1857_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 979; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___95898 = (r0); - r0 = (s.vol___95898 !== undefined); + s.vol___12555 = (r0); + r0 = (s.vol___12555 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P84947_mk(s); - s.tmp_1.arg0 = s.vol___95898; + s.tmp_1 = music_setVolume__P1604_mk(s); + s.tmp_1.arg0 = s.vol___12555; s.callLocIdx = 980; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -24149,23 +24149,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P87885.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__P4542.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__P87885_mk(s) { +function scene_systemMenu_initVolume__P4542_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P87885, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P4542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___95898: undefined, + vol___12555: undefined, } } -function game_currentScene__P85948(s) { +function game_currentScene__P2605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24175,21 +24175,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P87627_mk(s); + s.tmp_0 = game_init__P4284_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 806; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___87619; + r0 = globals._scene___4276; return leave(s, r0) default: oops() } } } -game_currentScene__P85948.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P2605.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P85948_mk(s) { +function game_currentScene__P2605_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P85948, depth: s.depth + 1, + parent: s, fn: game_currentScene__P2605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24198,7 +24198,7 @@ function game_currentScene__P85948_mk(s) { -function game_addScenePopHandler__P85964(s) { +function game_addScenePopHandler__P2621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24212,35 +24212,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___87622); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4279); 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___87622 = (r0); + globals._scenePopHandlers___4279 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___87622, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___4279, 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___87622, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___4279, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P85964.info = {"start":10273,"length":237,"line":325,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P2621.info = {"start":10273,"length":237,"line":325,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P85964_mk(s) { +function game_addScenePopHandler__P2621_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P85964, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P2621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24251,7 +24251,7 @@ function game_addScenePopHandler__P85964_mk(s) { -function game_addScenePushHandler__P85962(s) { +function game_addScenePushHandler__P2619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24265,35 +24265,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___87621); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4278); 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___87621 = (r0); + globals._scenePushHandlers___4278 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___87621, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___4278, 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___87621, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___4278, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P85962.info = {"start":9272,"length":242,"line":301,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P2619.info = {"start":9272,"length":242,"line":301,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P85962_mk(s) { +function game_addScenePushHandler__P2619_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P85962, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P2619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24304,7 +24304,7 @@ function game_addScenePushHandler__P85962_mk(s) { -function Fx8__P83492(s) { +function Fx8__P149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24324,12 +24324,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P83492.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P149.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -function Fx8__P83492_mk(s) { +function Fx8__P149_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P83492, depth: s.depth + 1, + parent: s, fn: Fx8__P149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24339,7 +24339,7 @@ function Fx8__P83492_mk(s) { -function SpriteKind_create__P85545(s) { +function SpriteKind_create__P2202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24349,26 +24349,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___87457 === undefined); + r0 = (globals.nextKind___4114 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___87457 = (1000); + globals.nextKind___4114 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___87457; + s.tmp_0 = r0 = globals.nextKind___4114; r0 = (s.tmp_0 + 1); - globals.nextKind___87457 = (r0); + globals.nextKind___4114 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P85545.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P2202.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P85545_mk(s) { +function SpriteKind_create__P2202_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P85545, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P2202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24377,7 +24377,7 @@ function SpriteKind_create__P85545_mk(s) { -function controller_Button_constructor__P85316(s) { +function controller_Button_constructor__P1973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24394,7 +24394,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -24404,13 +24404,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__P95974); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P12631); 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__P95981); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P12638); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -24429,12 +24429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P85316.info = {"start":1467,"length":863,"line":59,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P1973.info = {"start":1467,"length":863,"line":59,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P85316_mk(s) { +function controller_Button_constructor__P1973_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P85316, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P1973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24448,7 +24448,7 @@ function controller_Button_constructor__P85316_mk(s) { -function controller_Button_inline__P95974(s) { +function controller_Button_inline__P12631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24458,7 +24458,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P85321_mk(s); + s.tmp_0 = controller_Button_setPressed__P1978_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 184; s.pc = 1; return s.tmp_0; @@ -24468,12 +24468,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P95974.info = {"start":2089,"length":28,"line":69,"column":66,"endLine":69,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P12631.info = {"start":2089,"length":28,"line":69,"column":66,"endLine":69,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P95974_mk(s) { +function controller_Button_inline__P12631_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P95974, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P12631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24482,7 +24482,7 @@ function controller_Button_inline__P95974_mk(s) { -function controller_Button_inline__P95981(s) { +function controller_Button_inline__P12638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24492,7 +24492,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P85321_mk(s); + s.tmp_0 = controller_Button_setPressed__P1978_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 185; s.pc = 1; return s.tmp_0; @@ -24502,12 +24502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P95981.info = {"start":2191,"length":27,"line":70,"column":68,"endLine":70,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P12638.info = {"start":2191,"length":27,"line":70,"column":68,"endLine":70,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P95981_mk(s) { +function controller_Button_inline__P12638_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P95981, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P12638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24516,7 +24516,7 @@ function controller_Button_inline__P95981_mk(s) { -function controller_setupButton__P87446(s) { +function controller_setupButton__P4103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24535,12 +24535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P87446.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__P4103.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__P87446_mk(s) { +function controller_setupButton__P4103_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P87446, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P4103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24550,7 +24550,7 @@ function controller_setupButton__P87446_mk(s) { -function controller_Button_setPressed__P85321(s) { +function controller_Button_setPressed__P1978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24566,14 +24566,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_1 = r0; r0 = (s.tmp_1 != s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = power_poke__P85071_mk(s); + s.tmp_2 = power_poke__P1728_mk(s); s.callLocIdx = 188; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -24581,7 +24581,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P85285_mk(s); + s.tmp_1 = controller_Controller_connected__P1942_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -24596,7 +24596,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__P87432_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P4089_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 190; s.pc = 9; return s.tmp_0; case 9: @@ -24604,7 +24604,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P87431_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P4088_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 191; s.pc = 10; return s.tmp_0; case 10: @@ -24616,12 +24616,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P85321.info = {"start":4478,"length":507,"line":140,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P1978.info = {"start":4478,"length":507,"line":140,"column":8,"endLine":154,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P85321_mk(s) { +function controller_Button_setPressed__P1978_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P85321, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P1978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24634,7 +24634,7 @@ function controller_Button_setPressed__P85321_mk(s) { -function controller_Button_raiseButtonDown__P87432(s) { +function controller_Button_raiseButtonDown__P4089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24649,8 +24649,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___87440); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4097); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -24665,12 +24665,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P87432.info = {"start":2550,"length":205,"line":84,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P4089.info = {"start":2550,"length":205,"line":84,"column":8,"endLine":89,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P87432_mk(s) { +function controller_Button_raiseButtonDown__P4089_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P87432, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P4089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24680,7 +24680,7 @@ function controller_Button_raiseButtonDown__P87432_mk(s) { -function controller_Button_raiseButtonUp__P87431(s) { +function controller_Button_raiseButtonUp__P4088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24695,8 +24695,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___87440); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4097); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -24711,12 +24711,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P87431.info = {"start":2340,"length":200,"line":77,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P4088.info = {"start":2340,"length":200,"line":77,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P87431_mk(s) { +function controller_Button_raiseButtonUp__P4088_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P87431, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P4088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24726,7 +24726,7 @@ function controller_Button_raiseButtonUp__P87431_mk(s) { -function controller_Controller_connected__P85285(s) { +function controller_Controller_connected__P1942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24742,7 +24742,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -24770,12 +24770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P85285.info = {"start":6340,"length":261,"line":216,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P1942.info = {"start":6340,"length":261,"line":216,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P85285_mk(s) { +function controller_Controller_connected__P1942_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P85285, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P1942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24788,7 +24788,7 @@ function controller_Controller_connected__P85285_mk(s) { -function controller_Controller_id__P85272(s) { +function controller_Controller_id__P1929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24803,18 +24803,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P85272.info = {"start":2547,"length":49,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P85272.isGetter = true; +controller_Controller_id__P1929.info = {"start":2547,"length":49,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P1929.isGetter = true; -function controller_Controller_id__P85272_mk(s) { +function controller_Controller_id__P1929_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P85272, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P1929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24823,7 +24823,7 @@ function controller_Controller_id__P85272_mk(s) { -function controller_Controller_connected__P85284(s) { +function controller_Controller_connected__P1941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24838,18 +24838,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C85265_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C1922_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P85284.info = {"start":6267,"length":63,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P85284.isGetter = true; +controller_Controller_connected__P1941.info = {"start":6267,"length":63,"line":212,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P1941.isGetter = true; -function controller_Controller_connected__P85284_mk(s) { +function controller_Controller_connected__P1941_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P85284, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P1941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24858,7 +24858,7 @@ function controller_Controller_connected__P85284_mk(s) { -function settings_initScopes__P87400(s) { +function settings_initScopes__P4057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24868,17 +24868,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___96059 = undefined; - s.tmp_1 = settings_runNumber__P85192_mk(s); + s.rn___12716 = undefined; + s.tmp_1 = settings_runNumber__P1849_mk(s); s.callLocIdx = 116; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___96059 = (r0); - s.tmp_0 = settings_writeNumber__P85196_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___87388; - s.tmp_0.arg1 = s.rn___96059; + s.rn___12716 = (r0); + s.tmp_0 = settings_writeNumber__P1853_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___4045; + s.tmp_0.arg1 = s.rn___12716; s.callLocIdx = 117; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -24887,8 +24887,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___96059); - s.tmp_0 = settings_setScope__P87399_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___12716); + s.tmp_0 = settings_setScope__P4056_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 118; s.pc = 3; return s.tmp_0; @@ -24898,23 +24898,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P87400.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P4057.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__P87400_mk(s) { +function settings_initScopes__P4057_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P87400, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P4057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___96059: undefined, + rn___12716: undefined, } } -function settings_setScope__P87399(s) { +function settings_setScope__P4056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24924,7 +24924,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___96088 = undefined; + s.currScope___12745 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -24949,19 +24949,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P85199_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___87389; + s.tmp_0 = settings_readString__P1856_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___4046; s.callLocIdx = 114; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___96088 = (r0); - r0 = (s.currScope___96088 != s.arg0); + s.currScope___12745 = (r0); + r0 = (s.currScope___12745 != 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__P85195_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___87389; + s.tmp_0 = settings_writeString__P1852_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___4046; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 115; s.pc = 8; return s.tmp_0; case 8: @@ -24972,18 +24972,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P87399.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__P4056.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__P87399_mk(s) { +function settings_setScope__P4056_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P87399, depth: s.depth + 1, + parent: s, fn: settings_setScope__P4056, 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___96088: undefined, + currScope___12745: undefined, arg0: undefined, } } @@ -24991,7 +24991,7 @@ function settings_setScope__P87399_mk(s) { -function settings_readString__P85199(s) { +function settings_readString__P1856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25001,14 +25001,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___96109 = undefined; + s.buf___12766 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___96109 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___96109); + s.buf___12766 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___12766); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25018,7 +25018,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___96109); + r0 = pxsim.BufferMethods.toString(s.buf___12766); { step = 3; continue; } case 2: r0 = undefined; @@ -25026,16 +25026,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P85199.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} +settings_readString__P1856.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} -function settings_readString__P85199_mk(s) { +function settings_readString__P1856_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P85199, depth: s.depth + 1, + parent: s, fn: settings_readString__P1856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___96109: undefined, + buf___12766: undefined, arg0: undefined, } } @@ -25043,7 +25043,7 @@ function settings_readString__P85199_mk(s) { -function settings_writeString__P85195(s) { +function settings_writeString__P1852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25058,7 +25058,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P85194_mk(s); + s.tmp_0 = settings_writeBuffer__P1851_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -25069,12 +25069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P85195.info = {"start":1895,"length":125,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeString","argumentNames":["key","value"]} +settings_writeString__P1852.info = {"start":1895,"length":125,"line":75,"column":4,"endLine":77,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeString","argumentNames":["key","value"]} -function settings_writeString__P85195_mk(s) { +function settings_writeString__P1852_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P85195, depth: s.depth + 1, + parent: s, fn: settings_writeString__P1852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25085,7 +25085,7 @@ function settings_writeString__P85195_mk(s) { -function settings_runNumber__P85192(s) { +function settings_runNumber__P1849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25095,8 +25095,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P85200_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___87388; + s.tmp_1 = settings_readNumber__P1857_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___4045; s.callLocIdx = 113; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -25114,12 +25114,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P85192.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P1849.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} -function settings_runNumber__P85192_mk(s) { +function settings_runNumber__P1849_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P85192, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P1849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25130,7 +25130,7 @@ function settings_runNumber__P85192_mk(s) { -function control___screen_setupUpdate__P85130(s) { +function control___screen_setupUpdate__P1787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25144,8 +25144,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___87357 = (true); - globals.__update___87355 = (s.arg0); + globals.__updated___4014 = (true); + globals.__update___4012 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -25156,12 +25156,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P85130.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"setupUpdate","argumentNames":["update"]} +control___screen_setupUpdate__P1787.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"setupUpdate","argumentNames":["update"]} -function control___screen_setupUpdate__P85130_mk(s) { +function control___screen_setupUpdate__P1787_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P85130, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P1787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25171,7 +25171,7 @@ function control___screen_setupUpdate__P85130_mk(s) { -function control___screen_update__P85129(s) { +function control___screen_update__P1786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25181,27 +25181,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___87355); + r0 = pxsim_numops_toBoolDecr(globals.__update___4012); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___87355; + s.tmp_0.argL = globals.__update___4012; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 108; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___87357 = (true); + globals.__updated___4014 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P85129.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"update","argumentNames":[]} +control___screen_update__P1786.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"update","argumentNames":[]} -function control___screen_update__P85129_mk(s) { +function control___screen_update__P1786_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P85129, depth: s.depth + 1, + parent: s, fn: control___screen_update__P1786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -25210,7 +25210,7 @@ function control___screen_update__P85129_mk(s) { -function pause__P83754(s) { +function pause__P411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25234,12 +25234,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P83754.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P411.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} -function pause__P83754_mk(s) { +function pause__P411_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P83754, depth: s.depth + 1, + parent: s, fn: pause__P411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25248,7 +25248,7 @@ function pause__P83754_mk(s) { -function sprites_SpriteSet_toString__P85540(s) { +function sprites_SpriteSet_toString__P2197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25263,7 +25263,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C85529_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2186_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -25285,12 +25285,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P85540.info = {"start":2586,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteSet_toString__P2197.info = {"start":2586,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} -function sprites_SpriteSet_toString__P85540_mk(s) { +function sprites_SpriteSet_toString__P2197_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P85540, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P2197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25304,7 +25304,7 @@ function sprites_SpriteSet_toString__P85540_mk(s) { -function sprites_SpriteSet_length__P85532(s) { +function sprites_SpriteSet_length__P2189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25319,20 +25319,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C85529_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2186_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -sprites_SpriteSet_length__P85532.info = {"start":625,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} -sprites_SpriteSet_length__P85532.isGetter = true; +sprites_SpriteSet_length__P2189.info = {"start":625,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} +sprites_SpriteSet_length__P2189.isGetter = true; -function sprites_SpriteSet_length__P85532_mk(s) { +function sprites_SpriteSet_length__P2189_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P85532, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P2189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25342,7 +25342,7 @@ function sprites_SpriteSet_length__P85532_mk(s) { -function music_Melody_toString__P84962(s) { +function music_Melody_toString__P1619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25357,17 +25357,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C84953_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1610_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P84962.info = {"start":10021,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P1619.info = {"start":10021,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P84962_mk(s) { +function music_Melody_toString__P1619_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P84962, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P1619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25376,7 +25376,7 @@ function music_Melody_toString__P84962_mk(s) { -function sprites_SpriteMap_toString__P85520(s) { +function sprites_SpriteMap_toString__P2177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25391,7 +25391,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -25411,10 +25411,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P83453_mk(s); + s.tmp_10 = helpers_arrayFilter__P110_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P96160; + s.tmp_10.arg1 = length_inline__P12817; s.callLocIdx = 426; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -25436,12 +25436,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P85520.info = {"start":4109,"length":123,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteMap_toString__P2177.info = {"start":4109,"length":123,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"toString","argumentNames":["this"]} -function sprites_SpriteMap_toString__P85520_mk(s) { +function sprites_SpriteMap_toString__P2177_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P85520, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P2177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25461,7 +25461,7 @@ function sprites_SpriteMap_toString__P85520_mk(s) { -function length_inline__P96160(s) { +function length_inline__P12817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25485,12 +25485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P96160.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__P12817.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__P96160_mk(s) { +function length_inline__P12817_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P96160, depth: s.depth + 1, + parent: s, fn: length_inline__P12817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25502,7 +25502,7 @@ function length_inline__P96160_mk(s) { -function ArcadePhysicsEngine_moveSprite__P85607(s) { +function ArcadePhysicsEngine_moveSprite__P2264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25512,9 +25512,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___96192 = undefined; - s.maxDist___96200 = undefined; - s.ms___96220 = undefined; + s.tm___12849 = undefined; + s.maxDist___12857 = undefined; + s.ms___12877 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25523,7 +25523,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -25542,19 +25542,19 @@ switch (step) { r0 = (s.tmp_2 + s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 632; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___96192 = (r0); - s.tmp_0 = r0 = s.tm___96192; + s.tm___12849 = (r0); + s.tmp_0 = r0 = s.tm___12849; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___96192.fields["_map"]; + r0 = s.tm___12849.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -25573,8 +25573,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___96200 = (r0); - s.tmp_2 = Math_abs__P83471_mk(s); + s.maxDist___12857 = (r0); + s.tmp_2 = Math_abs__P128_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -25583,14 +25583,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___96200); + r0 = (s.tmp_1 <= s.maxDist___12857); 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: - s.tmp_5 = Math_abs__P83471_mk(s); + s.tmp_5 = Math_abs__P128_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -25599,15 +25599,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___96200); + r0 = (s.tmp_4 <= s.maxDist___12857); case 4: // jmp value (already in r0) s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C85591_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2248_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P85592_mk(s); + s.tmp_9 = MovingSprite_constructor__P2249_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -25621,18 +25621,18 @@ switch (step) { s.callLocIdx = 639; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___96220 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P87493_mk(s); + s.ms___12877 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4150_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___96220; - s.tmp_0.arg2 = s.tm___96192; + s.tmp_0.arg1 = s.ms___12877; + s.tmp_0.arg2 = s.tm___12849; s.callLocIdx = 640; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P85761_mk(s); - s.tmp_1.arg0 = s.tm___96192; + s.tmp_1 = tiles_TileMap_isOnWall__P2418_mk(s); + s.tmp_1.arg0 = s.tm___12849; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 641; s.pc = 18; return s.tmp_1; case 18: @@ -25643,10 +25643,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P87495_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4152_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___96192; + s.tmp_4.arg2 = s.tm___12849; s.callLocIdx = 642; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -25681,12 +25681,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P85607.info = {"start":22603,"length":1208,"line":623,"column":4,"endLine":654,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P2264.info = {"start":22603,"length":1208,"line":623,"column":4,"endLine":654,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P85607_mk(s) { +function ArcadePhysicsEngine_moveSprite__P2264_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P85607, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P2264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25698,9 +25698,9 @@ function ArcadePhysicsEngine_moveSprite__P85607_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___96192: undefined, - maxDist___96200: undefined, - ms___96220: undefined, + tm___12849: undefined, + maxDist___12857: undefined, + ms___12877: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25711,7 +25711,7 @@ function ArcadePhysicsEngine_moveSprite__P85607_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P87495(s) { +function ArcadePhysicsEngine_canResolveClipping__P4152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25721,19 +25721,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___96265 = undefined; - s.sz___96268 = undefined; - s.maxMove___96273 = undefined; - s.origY___96275 = undefined; - s.origX___96278 = undefined; - s.l___96281 = undefined; - s.r___96286 = undefined; - s.t___96291 = undefined; - s.b___96296 = undefined; - s.offset___96301 = undefined; - s.offset___96326 = undefined; - s.offset___96357 = undefined; - s.offset___96382 = undefined; + s.hbox___12922 = undefined; + s.sz___12925 = undefined; + s.maxMove___12930 = undefined; + s.origY___12932 = undefined; + s.origX___12935 = undefined; + s.l___12938 = undefined; + s.r___12943 = undefined; + s.t___12948 = undefined; + s.b___12953 = undefined; + s.offset___12958 = undefined; + s.offset___12983 = undefined; + s.offset___13014 = undefined; + s.offset___13039 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25741,7 +25741,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -25752,7 +25752,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P85472_mk(s); + s.tmp_4 = Sprite_setHitbox__P2129_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 644; s.pc = 20; return s.tmp_4; case 20: @@ -25760,23 +25760,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___96265 = (r0); + s.hbox___12922 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___96268 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P85599_mk(s); + s.sz___12925 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2256_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 646; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___96273 = (r0); + s.maxMove___12930 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___96275 = (r0); + s.origY___12932 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___96278 = (r0); - s.tmp_1 = game_Hitbox_left__P85336_mk(s); - s.tmp_1.arg0 = s.hbox___96265; + s.origX___12935 = (r0); + s.tmp_1 = game_Hitbox_left__P1993_mk(s); + s.tmp_1.arg0 = s.hbox___12922; s.callLocIdx = 647; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -25784,9 +25784,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___96281 = (r0); - s.tmp_1 = game_Hitbox_right__P85338_mk(s); - s.tmp_1.arg0 = s.hbox___96265; + s.l___12938 = (r0); + s.tmp_1 = game_Hitbox_right__P1995_mk(s); + s.tmp_1.arg0 = s.hbox___12922; s.callLocIdx = 649; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -25794,9 +25794,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___96286 = (r0); - s.tmp_1 = game_Hitbox_top__P85337_mk(s); - s.tmp_1.arg0 = s.hbox___96265; + s.r___12943 = (r0); + s.tmp_1 = game_Hitbox_top__P1994_mk(s); + s.tmp_1.arg0 = s.hbox___12922; s.callLocIdx = 651; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -25804,9 +25804,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___96291 = (r0); - s.tmp_1 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_1.arg0 = s.hbox___96265; + s.t___12948 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_1.arg0 = s.hbox___12922; s.callLocIdx = 653; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -25814,26 +25814,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___96296 = (r0); - r0 = (s.b___96296 + 1); + s.b___12953 = (r0); + r0 = (s.b___12953 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___96268); - s.offset___96301 = (r0); - r0 = (s.offset___96301 <= s.maxMove___96273); + r0 = (s.tmp_0 % s.sz___12925); + s.offset___12958 = (r0); + r0 = (s.offset___12958 <= s.maxMove___12930); 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___96301 * 256); + r0 = (s.offset___12958 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1).fields["_y"] = (s.tmp_2); - s.tmp_3 = tiles_TileMap_isOnWall__P85761_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2418_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 657; s.pc = 26; return s.tmp_3; @@ -25850,35 +25850,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___96275); + r0 = (s.arg1).fields["_y"] = (s.origY___12932); case 4: case 5: case 6: - r0 = (s.t___96291 / s.sz___96268); + r0 = (s.t___12948 / s.sz___12925); 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___96268); + r0 = (s.tmp_1 * s.sz___12925); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___96291); - s.offset___96326 = (r0); - r0 = (s.offset___96326 <= s.maxMove___96273); + r0 = (s.tmp_0 - s.t___12948); + s.offset___12983 = (r0); + r0 = (s.offset___12983 <= s.maxMove___12930); 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___96326 * 256); + r0 = (s.offset___12983 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1).fields["_y"] = (s.tmp_2); - s.tmp_3 = tiles_TileMap_isOnWall__P85761_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2418_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 660; s.pc = 27; return s.tmp_3; @@ -25895,29 +25895,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___96275); + r0 = (s.arg1).fields["_y"] = (s.origY___12932); case 8: case 9: case 10: - r0 = (s.r___96286 + 1); + r0 = (s.r___12943 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___96268); - s.offset___96357 = (r0); - r0 = (s.offset___96357 <= s.maxMove___96273); + r0 = (s.tmp_0 % s.sz___12925); + s.offset___13014 = (r0); + r0 = (s.offset___13014 <= s.maxMove___12930); 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___96357 * 256); + r0 = (s.offset___13014 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1).fields["_x"] = (s.tmp_2); - s.tmp_3 = tiles_TileMap_isOnWall__P85761_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2418_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 663; s.pc = 28; return s.tmp_3; @@ -25934,35 +25934,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___96278); + r0 = (s.arg1).fields["_x"] = (s.origX___12935); case 12: case 13: case 14: - r0 = (s.l___96281 / s.sz___96268); + r0 = (s.l___12938 / s.sz___12925); 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___96268); + r0 = (s.tmp_1 * s.sz___12925); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___96281); - s.offset___96382 = (r0); - r0 = (s.offset___96382 <= s.maxMove___96273); + r0 = (s.tmp_0 - s.l___12938); + s.offset___13039 = (r0); + r0 = (s.offset___13039 <= s.maxMove___12930); 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___96382 * 256); + r0 = (s.offset___13039 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1).fields["_x"] = (s.tmp_2); - s.tmp_3 = tiles_TileMap_isOnWall__P85761_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2418_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 666; s.pc = 29; return s.tmp_3; @@ -25979,7 +25979,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___96278); + r0 = (s.arg1).fields["_x"] = (s.origX___12935); case 16: case 17: case 18: @@ -25988,12 +25988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P87495.info = {"start":23907,"length":2135,"line":657,"column":4,"endLine":728,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P4152.info = {"start":23907,"length":2135,"line":657,"column":4,"endLine":728,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P87495_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P4152_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P87495, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26001,19 +26001,19 @@ function ArcadePhysicsEngine_canResolveClipping__P87495_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___96265: undefined, - sz___96268: undefined, - maxMove___96273: undefined, - origY___96275: undefined, - origX___96278: undefined, - l___96281: undefined, - r___96286: undefined, - t___96291: undefined, - b___96296: undefined, - offset___96301: undefined, - offset___96326: undefined, - offset___96357: undefined, - offset___96382: undefined, + hbox___12922: undefined, + sz___12925: undefined, + maxMove___12930: undefined, + origY___12932: undefined, + origX___12935: undefined, + l___12938: undefined, + r___12943: undefined, + t___12948: undefined, + b___12953: undefined, + offset___12958: undefined, + offset___12983: undefined, + offset___13014: undefined, + offset___13039: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26023,7 +26023,7 @@ function ArcadePhysicsEngine_canResolveClipping__P87495_mk(s) { -function Sprite_isStatic__P85473(s) { +function Sprite_isStatic__P2130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26038,19 +26038,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_0); return leave(s, r0) default: oops() } } } -Sprite_isStatic__P85473.info = {"start":8561,"length":57,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P2130.info = {"start":8561,"length":57,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P85473_mk(s) { +function Sprite_isStatic__P2130_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P85473, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P2130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26060,7 +26060,7 @@ function Sprite_isStatic__P85473_mk(s) { -function game_Hitbox_bottom__P85339(s) { +function game_Hitbox_bottom__P1996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26075,10 +26075,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C85327_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1984_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P85337_mk(s); + s.tmp_3 = game_Hitbox_top__P1994_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 204; s.pc = 1; return s.tmp_3; case 1: @@ -26090,13 +26090,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P85339.info = {"start":868,"length":139,"line":35,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P85339.isGetter = true; +game_Hitbox_bottom__P1996.info = {"start":868,"length":139,"line":35,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P1996.isGetter = true; -function game_Hitbox_bottom__P85339_mk(s) { +function game_Hitbox_bottom__P1996_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P85339, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P1996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26109,7 +26109,7 @@ function game_Hitbox_bottom__P85339_mk(s) { -function game_Hitbox_right__P85338(s) { +function game_Hitbox_right__P1995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26124,10 +26124,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C85327_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1984_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P85336_mk(s); + s.tmp_3 = game_Hitbox_left__P1993_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 201; s.pc = 1; return s.tmp_3; case 1: @@ -26139,13 +26139,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P85338.info = {"start":720,"length":138,"line":28,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P85338.isGetter = true; +game_Hitbox_right__P1995.info = {"start":720,"length":138,"line":28,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P1995.isGetter = true; -function game_Hitbox_right__P85338_mk(s) { +function game_Hitbox_right__P1995_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P85338, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P1995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26158,7 +26158,7 @@ function game_Hitbox_right__P85338_mk(s) { -function game_Hitbox_top__P85337(s) { +function game_Hitbox_top__P1994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26173,7 +26173,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C85327_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1984_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -26183,13 +26183,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P85337.info = {"start":637,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P85337.isGetter = true; +game_Hitbox_top__P1994.info = {"start":637,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P1994.isGetter = true; -function game_Hitbox_top__P85337_mk(s) { +function game_Hitbox_top__P1994_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P85337, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P1994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26200,7 +26200,7 @@ function game_Hitbox_top__P85337_mk(s) { -function game_Hitbox_left__P85336(s) { +function game_Hitbox_left__P1993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26215,7 +26215,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C85327_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C1984_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -26225,13 +26225,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P85336.info = {"start":553,"length":74,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P85336.isGetter = true; +game_Hitbox_left__P1993.info = {"start":553,"length":74,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P1993.isGetter = true; -function game_Hitbox_left__P85336_mk(s) { +function game_Hitbox_left__P1993_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P85336, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P1993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26242,7 +26242,7 @@ function game_Hitbox_left__P85336_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P87493(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26252,37 +26252,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___96550 = undefined; - s.hbox___96575 = undefined; - s.tileScale___96578 = undefined; - s.tileSize___96581 = undefined; - s.xDiff___96585 = undefined; - s.yDiff___96592 = undefined; - s.right___96608 = undefined; - s.x0___96612 = undefined; - s.collidedTiles___96627 = undefined; - s.y___96629 = undefined; - s.y0___96643 = undefined; - s.obstacle___96659 = undefined; - s.collisionDirection___96686 = undefined; - s.tile___96712 = undefined; - s.unnamed468___U14 = undefined; - s.unnamed469___U15 = undefined; - s.down___96796 = undefined; - s.y0___96800 = undefined; - s.collidedTiles___96815 = undefined; - s.x___96817 = undefined; - s.x0___96827 = undefined; - s.obstacle___96841 = undefined; - s.collisionDirection___96868 = undefined; - s.tile___96894 = undefined; - s.unnamed470___U24 = undefined; - s.unnamed471___U25 = undefined; - s.overlappedTiles___96981 = undefined; - s.x___96983 = undefined; - s.x0___96993 = undefined; - s.y___97003 = undefined; - s.y0___97013 = undefined; + s.s___13207 = undefined; + s.hbox___13232 = undefined; + s.tileScale___13235 = undefined; + s.tileSize___13238 = undefined; + s.xDiff___13242 = undefined; + s.yDiff___13249 = undefined; + s.right___13265 = undefined; + s.x0___13269 = undefined; + s.collidedTiles___13284 = undefined; + s.y___13286 = undefined; + s.y0___13300 = undefined; + s.obstacle___13316 = undefined; + s.collisionDirection___13343 = undefined; + s.tile___13369 = undefined; + s.unnamed68___U14 = undefined; + s.unnamed69___U15 = undefined; + s.down___13453 = undefined; + s.y0___13457 = undefined; + s.collidedTiles___13472 = undefined; + s.x___13474 = undefined; + s.x0___13484 = undefined; + s.obstacle___13498 = undefined; + s.collisionDirection___13525 = undefined; + s.tile___13551 = undefined; + s.unnamed70___U24 = undefined; + s.unnamed71___U25 = undefined; + s.overlappedTiles___13638 = undefined; + s.x___13640 = undefined; + s.x0___13650 = undefined; + s.y___13660 = undefined; + s.y0___13670 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26290,18 +26290,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___96550 = (r0); - r0 = s.s___96550.fields["flags"]; + s.s___13207 = (r0); + r0 = s.s___13207.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 256); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_5 = tiles_TileMap_isOnWall__P85761_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P2418_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___96550; + s.tmp_5.arg1 = s.s___13207; s.callLocIdx = 527; s.pc = 93; return s.tmp_5; case 93: r0 = s.retval; @@ -26312,7 +26312,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___96550; + s.tmp_6 = r0 = s.s___13207; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -26322,7 +26322,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___96550.fields["_image"]; + r0 = s.s___13207.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -26332,32 +26332,32 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P85472_mk(s); - s.tmp_4.arg0 = s.s___96550; + s.tmp_4 = Sprite_setHitbox__P2129_mk(s); + s.tmp_4.arg0 = s.s___13207; s.callLocIdx = 529; s.pc = 94; return s.tmp_4; case 94: r0 = s.retval; case 5: case 6: - r0 = s.s___96550.fields["_hitbox"]; - s.hbox___96575 = (r0); + r0 = s.s___13207.fields["_hitbox"]; + s.hbox___13232 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___96578 = (r0); - r0 = (1 << s.tileScale___96578); - s.tileSize___96581 = (r0); - r0 = s.s___96550.fields["_x"]; + s.tileScale___13235 = (r0); + r0 = (1 << s.tileScale___13235); + s.tileSize___13238 = (r0); + r0 = s.s___13207.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___96550.fields["_lastX"]; + r0 = s.s___13207.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___96585 = (r0); - r0 = s.s___96550.fields["_y"]; + s.xDiff___13242 = (r0); + r0 = s.s___13207.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___96550.fields["_lastY"]; + r0 = s.s___13207.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___96592 = (r0); - r0 = s.s___96550.fields["flags"]; + s.yDiff___13249 = (r0); + r0 = s.s___13207.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -26367,16 +26367,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = (s.xDiff___96585 !== 0); + r0 = (s.xDiff___13242 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 41; continue; } - r0 = (s.xDiff___96585 > 0); - s.right___96608 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___96608); + r0 = (s.xDiff___13242 > 0); + s.right___13265 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___13265); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P85338_mk(s); - s.tmp_1.arg0 = s.hbox___96575; + s.tmp_1 = game_Hitbox_right__P1995_mk(s); + s.tmp_1.arg0 = s.hbox___13232; s.callLocIdx = 533; s.pc = 95; return s.tmp_1; case 95: r0 = s.retval; @@ -26384,8 +26384,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P85336_mk(s); - s.tmp_3.arg0 = s.hbox___96575; + s.tmp_3 = game_Hitbox_left__P1993_mk(s); + s.tmp_3.arg0 = s.hbox___13232; s.callLocIdx = 535; s.pc = 96; return s.tmp_3; case 96: r0 = s.retval; @@ -26396,30 +26396,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___96578 + 8); + r0 = (s.tileScale___13235 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___96612 = (r0); + s.x0___13269 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___96627 = (r0); - s.tmp_1 = game_Hitbox_top__P85337_mk(s); - s.tmp_1.arg0 = s.hbox___96575; + s.collidedTiles___13284 = (r0); + s.tmp_1 = game_Hitbox_top__P1994_mk(s); + s.tmp_1.arg0 = s.hbox___13232; s.callLocIdx = 539; s.pc = 97; return s.tmp_1; case 97: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___96592); - s.y___96629 = (r0); + r0 = (s.tmp_0 - s.yDiff___13249); + s.y___13286 = (r0); case 9: - s.tmp_1 = r0 = s.y___96629; - s.tmp_3 = r0 = s.tileSize___96581; - s.tmp_6 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_6.arg0 = s.hbox___96575; + s.tmp_1 = r0 = s.y___13286; + s.tmp_3 = r0 = s.tileSize___13238; + s.tmp_6 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_6.arg0 = s.hbox___13232; s.callLocIdx = 541; s.pc = 98; return s.tmp_6; case 98: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___96592); + r0 = (s.tmp_5 - s.yDiff___13249); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -26429,15 +26429,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P83509_mk(s); - s.tmp_10.arg0 = s.y___96629; - s.tmp_12 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_12.arg0 = s.hbox___96575; + s.tmp_10 = Fx_min__P166_mk(s); + s.tmp_10.arg0 = s.y___13286; + s.tmp_12 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_12.arg0 = s.hbox___13232; s.callLocIdx = 544; s.pc = 100; return s.tmp_12; case 100: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___96592); + r0 = (s.tmp_11 - s.yDiff___13249); s.tmp_10.arg1 = r0; s.callLocIdx = 546; s.pc = 99; return s.tmp_10; case 99: @@ -26445,33 +26445,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___96578 + 8); + r0 = (s.tileScale___13235 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___96643 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P85759_mk(s); + s.y0___13300 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P2416_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___96612; - s.tmp_1.arg2 = s.y0___96643; + s.tmp_1.arg1 = s.x0___13269; + s.tmp_1.arg2 = s.y0___13300; s.callLocIdx = 549; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P85760_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P2417_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___96612; - s.tmp_2.arg2 = s.y0___96643; + s.tmp_2.arg1 = s.x0___13269; + s.tmp_2.arg2 = s.y0___13300; s.callLocIdx = 550; s.pc = 102; return s.tmp_2; case 102: r0 = s.retval; - s.obstacle___96659 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P96667); + s.obstacle___13316 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P13324); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___96659); - s.tmp_4 = helpers_arraySome__P83450_mk(s); - s.tmp_4.arg0 = s.collidedTiles___96627; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___13316); + s.tmp_4 = helpers_arraySome__P107_mk(s); + s.tmp_4.arg0 = s.collidedTiles___13284; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 551; s.pc = 103; return s.tmp_4; case 103: @@ -26483,22 +26483,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___96627, s.obstacle___96659); + r0 = pxsim_Array__push(s.collidedTiles___13284, s.obstacle___13316); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___96581 << 8); + r0 = (s.tileSize___13238 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___96629); - s.y___96629 = (r0); + r0 = (s.tmp_0 + s.y___13286); + s.y___13286 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___96627); + r0 = pxsim_Array__length(s.collidedTiles___13284); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___96608); + r0 = pxsim_numops_toBoolDecr(s.right___13265); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -26507,23 +26507,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___96686 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___96608); + s.collisionDirection___13343 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___13265); if (!r0) { step = 17; continue; } - r0 = (s.x0___96612 << s.tileScale___96578); + r0 = (s.x0___13269 << s.tileScale___13235); 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___96575.fields["width"]; + r0 = s.hbox___13232.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___96612 + 1); + r0 = (s.x0___13269 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___96578); + r0 = (s.tmp_5 << s.tileScale___13235); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -26531,24 +26531,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___96550; - r0 = s.hbox___96575.fields["ox"]; + s.tmp_8 = r0 = s.s___13207; + r0 = s.hbox___13232.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___96712 = (undefined); - s.unnamed468___U14 = (s.collidedTiles___96627); - s.unnamed469___U15 = (0); + s.tile___13369 = (undefined); + s.unnamed68___U14 = (s.collidedTiles___13284); + s.unnamed69___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed469___U15; - r0 = pxsim_Array__length(s.unnamed468___U14); + s.tmp_0 = r0 = s.unnamed69___U15; + r0 = pxsim_Array__length(s.unnamed68___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed468___U14, s.unnamed469___U15); - s.tile___96712 = (r0); - r0 = s.s___96550.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed68___U14, s.unnamed69___U15); + s.tile___13369 = (r0); + r0 = s.s___13207.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -26558,29 +26558,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P85503_mk(s); - s.tmp_6.arg0 = s.s___96550; - s.tmp_6.arg1 = s.collisionDirection___96686; - s.tmp_6.arg2 = s.tile___96712; + s.tmp_6 = Sprite_registerObstacle__P2160_mk(s); + s.tmp_6.arg0 = s.s___13207; + s.tmp_6.arg1 = s.collisionDirection___13343; + s.tmp_6.arg2 = s.tile___13369; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 557; s.pc = 104; return s.tmp_6; case 104: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed469___U15 + 1); - s.unnamed469___U15 = (r0); + r0 = (s.unnamed69___U15 + 1); + s.unnamed69___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed468___U14 = (undefined); - r0 = s.s___96550.fields["flags"]; + s.unnamed68___U14 = (undefined); + r0 = s.s___13207.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__P85505_mk(s); - s.tmp_2.arg0 = s.s___96550; + s.tmp_2 = Sprite_destroy__P2162_mk(s); + s.tmp_2.arg0 = s.s___13207; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 558; s.pc = 105; return s.tmp_2; @@ -26588,7 +26588,7 @@ switch (step) { r0 = s.retval; { step = 38; continue; } case 23: - r0 = s.s___96550.fields["_vx"]; + r0 = s.s___13207.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -26596,13 +26596,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } - r0 = s.s___96550.fields["flags"]; + r0 = s.s___13207.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 32; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___96608); + r0 = pxsim_numops_toBoolDecr(s.right___13265); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -26611,8 +26611,8 @@ switch (step) { r0 = s.tmp_5; { step = 25; continue; } case 24: - s.tmp_8 = Sprite_vx__P85444_mk(s); - s.tmp_8.arg0 = s.s___96550; + s.tmp_8 = Sprite_vx__P2101_mk(s); + s.tmp_8.arg0 = s.s___13207; s.callLocIdx = 559; s.pc = 106; return s.tmp_8; case 106: r0 = s.retval; @@ -26626,14 +26626,14 @@ switch (step) { r0 = s.tmp_9; { step = 29; continue; } case 26: - s.tmp_10 = r0 = s.right___96608; + s.tmp_10 = r0 = s.right___13265; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 27; continue; } r0 = s.tmp_10; { step = 28; continue; } case 27: - s.tmp_12 = Sprite_vx__P85444_mk(s); - s.tmp_12.arg0 = s.s___96550; + s.tmp_12 = Sprite_vx__P2101_mk(s); + s.tmp_12.arg0 = s.s___13207; s.callLocIdx = 560; s.pc = 107; return s.tmp_12; case 107: r0 = s.retval; @@ -26648,8 +26648,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 30; continue; } - s.tmp_15 = r0 = s.s___96550; - r0 = s.s___96550.fields["_vx"]; + s.tmp_15 = r0 = s.s___13207; + r0 = s.s___13207.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -26671,12 +26671,12 @@ switch (step) { { step = 33; continue; } case 32: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___96550).fields["_vx"] = (0); + r0 = (s.s___13207).fields["_vx"] = (0); case 33: { step = 37; continue; } case 34: - s.tmp_2 = Math_sign__P83472_mk(s); - r0 = s.s___96550.fields["_vx"]; + s.tmp_2 = Math_sign__P129_mk(s); + r0 = s.s___13207.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -26686,7 +26686,7 @@ switch (step) { case 108: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P83472_mk(s); + s.tmp_6 = Math_sign__P129_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -26710,16 +26710,16 @@ switch (step) { case 40: case 41: case 42: - r0 = (s.yDiff___96592 !== 0); + r0 = (s.yDiff___13249 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - r0 = (s.yDiff___96592 > 0); - s.down___96796 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___96796); + r0 = (s.yDiff___13249 > 0); + s.down___13453 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___13453); if (!r0) { step = 43; continue; } - s.tmp_1 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_1.arg0 = s.hbox___96575; + s.tmp_1 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_1.arg0 = s.hbox___13232; s.callLocIdx = 568; s.pc = 110; return s.tmp_1; case 110: r0 = s.retval; @@ -26727,8 +26727,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 44; continue; } case 43: - s.tmp_3 = game_Hitbox_top__P85337_mk(s); - s.tmp_3.arg0 = s.hbox___96575; + s.tmp_3 = game_Hitbox_top__P1994_mk(s); + s.tmp_3.arg0 = s.hbox___13232; s.callLocIdx = 570; s.pc = 111; return s.tmp_3; case 111: r0 = s.retval; @@ -26739,23 +26739,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___96578 + 8); + r0 = (s.tileScale___13235 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___96800 = (r0); + s.y0___13457 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___96815 = (r0); - s.tmp_0 = game_Hitbox_left__P85336_mk(s); - s.tmp_0.arg0 = s.hbox___96575; + s.collidedTiles___13472 = (r0); + s.tmp_0 = game_Hitbox_left__P1993_mk(s); + s.tmp_0.arg0 = s.hbox___13232; s.callLocIdx = 574; s.pc = 112; return s.tmp_0; case 112: r0 = s.retval; - s.x___96817 = (r0); + s.x___13474 = (r0); case 45: - s.tmp_1 = r0 = s.x___96817; - s.tmp_3 = r0 = s.tileSize___96581; - s.tmp_5 = game_Hitbox_right__P85338_mk(s); - s.tmp_5.arg0 = s.hbox___96575; + s.tmp_1 = r0 = s.x___13474; + s.tmp_3 = r0 = s.tileSize___13238; + s.tmp_5 = game_Hitbox_right__P1995_mk(s); + s.tmp_5.arg0 = s.hbox___13232; s.callLocIdx = 575; s.pc = 113; return s.tmp_5; case 113: r0 = s.retval; @@ -26768,10 +26768,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_9 = Fx_min__P83509_mk(s); - s.tmp_9.arg0 = s.x___96817; - s.tmp_10 = game_Hitbox_right__P85338_mk(s); - s.tmp_10.arg0 = s.hbox___96575; + s.tmp_9 = Fx_min__P166_mk(s); + s.tmp_9.arg0 = s.x___13474; + s.tmp_10 = game_Hitbox_right__P1995_mk(s); + s.tmp_10.arg0 = s.hbox___13232; s.callLocIdx = 577; s.pc = 115; return s.tmp_10; case 115: r0 = s.retval; @@ -26782,33 +26782,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___96578 + 8); + r0 = (s.tileScale___13235 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___96827 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P85759_mk(s); + s.x0___13484 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P2416_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___96827; - s.tmp_1.arg2 = s.y0___96800; + s.tmp_1.arg1 = s.x0___13484; + s.tmp_1.arg2 = s.y0___13457; s.callLocIdx = 581; s.pc = 116; return s.tmp_1; case 116: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P85760_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P2417_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___96827; - s.tmp_2.arg2 = s.y0___96800; + s.tmp_2.arg1 = s.x0___13484; + s.tmp_2.arg2 = s.y0___13457; s.callLocIdx = 582; s.pc = 117; return s.tmp_2; case 117: r0 = s.retval; - s.obstacle___96841 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P96849); + s.obstacle___13498 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P13506); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___96841); - s.tmp_4 = helpers_arraySome__P83450_mk(s); - s.tmp_4.arg0 = s.collidedTiles___96815; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___13498); + s.tmp_4 = helpers_arraySome__P107_mk(s); + s.tmp_4.arg0 = s.collidedTiles___13472; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 583; s.pc = 118; return s.tmp_4; case 118: @@ -26820,22 +26820,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__push(s.collidedTiles___96815, s.obstacle___96841); + r0 = pxsim_Array__push(s.collidedTiles___13472, s.obstacle___13498); case 46: case 47: case 48: case 49: - r0 = (s.tileSize___96581 << 8); + r0 = (s.tileSize___13238 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___96817); - s.x___96817 = (r0); + r0 = (s.tmp_0 + s.x___13474); + s.x___13474 = (r0); { step = 45; continue; } case 50: - r0 = pxsim_Array__length(s.collidedTiles___96815); + r0 = pxsim_Array__length(s.collidedTiles___13472); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 75; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___96796); + r0 = pxsim_numops_toBoolDecr(s.down___13453); if (!r0) { step = 51; continue; } r0 = 3; { step = 52; continue; } @@ -26844,23 +26844,23 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___96868 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___96796); + s.collisionDirection___13525 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___13453); if (!r0) { step = 53; continue; } - r0 = (s.y0___96800 << s.tileScale___96578); + r0 = (s.y0___13457 << s.tileScale___13235); 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___96575.fields["height"]; + r0 = s.hbox___13232.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 54; continue; } case 53: - r0 = (s.y0___96800 + 1); + r0 = (s.y0___13457 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___96578); + r0 = (s.tmp_5 << s.tileScale___13235); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -26868,24 +26868,24 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___96550; - r0 = s.hbox___96575.fields["oy"]; + s.tmp_8 = r0 = s.s___13207; + r0 = s.hbox___13232.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___96894 = (undefined); - s.unnamed470___U24 = (s.collidedTiles___96815); - s.unnamed471___U25 = (0); + s.tile___13551 = (undefined); + s.unnamed70___U24 = (s.collidedTiles___13472); + s.unnamed71___U25 = (0); case 55: - s.tmp_0 = r0 = s.unnamed471___U25; - r0 = pxsim_Array__length(s.unnamed470___U24); + s.tmp_0 = r0 = s.unnamed71___U25; + r0 = pxsim_Array__length(s.unnamed70___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 58; continue; } - r0 = pxsim_Array__getAt(s.unnamed470___U24, s.unnamed471___U25); - s.tile___96894 = (r0); - r0 = s.s___96550.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed70___U24, s.unnamed71___U25); + s.tile___13551 = (r0); + r0 = s.s___13207.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -26895,29 +26895,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 56; continue; } - s.tmp_6 = Sprite_registerObstacle__P85503_mk(s); - s.tmp_6.arg0 = s.s___96550; - s.tmp_6.arg1 = s.collisionDirection___96868; - s.tmp_6.arg2 = s.tile___96894; + s.tmp_6 = Sprite_registerObstacle__P2160_mk(s); + s.tmp_6.arg0 = s.s___13207; + s.tmp_6.arg1 = s.collisionDirection___13525; + s.tmp_6.arg2 = s.tile___13551; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 589; s.pc = 119; return s.tmp_6; case 119: r0 = s.retval; case 56: case 57: - r0 = (s.unnamed471___U25 + 1); - s.unnamed471___U25 = (r0); + r0 = (s.unnamed71___U25 + 1); + s.unnamed71___U25 = (r0); { step = 55; continue; } case 58: - s.unnamed470___U24 = (undefined); - r0 = s.s___96550.fields["flags"]; + s.unnamed70___U24 = (undefined); + r0 = s.s___13207.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 = 59; continue; } - s.tmp_2 = Sprite_destroy__P85505_mk(s); - s.tmp_2.arg0 = s.s___96550; + s.tmp_2 = Sprite_destroy__P2162_mk(s); + s.tmp_2.arg0 = s.s___13207; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 590; s.pc = 120; return s.tmp_2; @@ -26925,7 +26925,7 @@ switch (step) { r0 = s.retval; { step = 74; continue; } case 59: - r0 = s.s___96550.fields["_vy"]; + r0 = s.s___13207.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -26933,13 +26933,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 70; continue; } - r0 = s.s___96550.fields["flags"]; + r0 = s.s___13207.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 68; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___96796); + r0 = pxsim_numops_toBoolDecr(s.down___13453); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -26948,8 +26948,8 @@ switch (step) { r0 = s.tmp_5; { step = 61; continue; } case 60: - s.tmp_8 = Sprite_vy__P85446_mk(s); - s.tmp_8.arg0 = s.s___96550; + s.tmp_8 = Sprite_vy__P2103_mk(s); + s.tmp_8.arg0 = s.s___13207; s.callLocIdx = 591; s.pc = 121; return s.tmp_8; case 121: r0 = s.retval; @@ -26963,14 +26963,14 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 62: - s.tmp_10 = r0 = s.down___96796; + s.tmp_10 = r0 = s.down___13453; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 63; continue; } r0 = s.tmp_10; { step = 64; continue; } case 63: - s.tmp_12 = Sprite_vy__P85446_mk(s); - s.tmp_12.arg0 = s.s___96550; + s.tmp_12 = Sprite_vy__P2103_mk(s); + s.tmp_12.arg0 = s.s___13207; s.callLocIdx = 592; s.pc = 122; return s.tmp_12; case 122: r0 = s.retval; @@ -26985,8 +26985,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 66; continue; } - s.tmp_15 = r0 = s.s___96550; - r0 = s.s___96550.fields["_vy"]; + s.tmp_15 = r0 = s.s___13207; + r0 = s.s___13207.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -27008,12 +27008,12 @@ switch (step) { { step = 69; continue; } case 68: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___96550).fields["_vy"] = (0); + r0 = (s.s___13207).fields["_vy"] = (0); case 69: { step = 73; continue; } case 70: - s.tmp_2 = Math_sign__P83472_mk(s); - r0 = s.s___96550.fields["_vy"]; + s.tmp_2 = Math_sign__P129_mk(s); + r0 = s.s___13207.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -27023,7 +27023,7 @@ switch (step) { case 123: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P83472_mk(s); + s.tmp_6 = Math_sign__P129_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -27049,7 +27049,7 @@ switch (step) { case 78: case 79: case 80: - r0 = s.s___96550.fields["flags"]; + r0 = s.s___13207.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -27060,18 +27060,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___96981 = (r0); - s.tmp_0 = game_Hitbox_left__P85336_mk(s); - s.tmp_0.arg0 = s.hbox___96575; + s.overlappedTiles___13638 = (r0); + s.tmp_0 = game_Hitbox_left__P1993_mk(s); + s.tmp_0.arg0 = s.hbox___13232; s.callLocIdx = 600; s.pc = 125; return s.tmp_0; case 125: r0 = s.retval; - s.x___96983 = (r0); + s.x___13640 = (r0); case 81: - s.tmp_1 = r0 = s.x___96983; - s.tmp_3 = r0 = s.tileSize___96581; - s.tmp_5 = game_Hitbox_right__P85338_mk(s); - s.tmp_5.arg0 = s.hbox___96575; + s.tmp_1 = r0 = s.x___13640; + s.tmp_3 = r0 = s.tileSize___13238; + s.tmp_5 = game_Hitbox_right__P1995_mk(s); + s.tmp_5.arg0 = s.hbox___13232; s.callLocIdx = 601; s.pc = 126; return s.tmp_5; case 126: r0 = s.retval; @@ -27084,10 +27084,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 88; continue; } - s.tmp_9 = Fx_min__P83509_mk(s); - s.tmp_9.arg0 = s.x___96983; - s.tmp_10 = game_Hitbox_right__P85338_mk(s); - s.tmp_10.arg0 = s.hbox___96575; + s.tmp_9 = Fx_min__P166_mk(s); + s.tmp_9.arg0 = s.x___13640; + s.tmp_10 = game_Hitbox_right__P1995_mk(s); + s.tmp_10.arg0 = s.hbox___13232; s.callLocIdx = 603; s.pc = 128; return s.tmp_10; case 128: r0 = s.retval; @@ -27098,21 +27098,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___96578 + 8); + r0 = (s.tileScale___13235 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___96993 = (r0); - s.tmp_0 = game_Hitbox_top__P85337_mk(s); - s.tmp_0.arg0 = s.hbox___96575; + s.x0___13650 = (r0); + s.tmp_0 = game_Hitbox_top__P1994_mk(s); + s.tmp_0.arg0 = s.hbox___13232; s.callLocIdx = 607; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.y___97003 = (r0); + s.y___13660 = (r0); case 82: - s.tmp_1 = r0 = s.y___97003; - s.tmp_3 = r0 = s.tileSize___96581; - s.tmp_5 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_5.arg0 = s.hbox___96575; + s.tmp_1 = r0 = s.y___13660; + s.tmp_3 = r0 = s.tileSize___13238; + s.tmp_5 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_5.arg0 = s.hbox___13232; s.callLocIdx = 608; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -27125,10 +27125,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 87; continue; } - s.tmp_9 = Fx_min__P83509_mk(s); - s.tmp_9.arg0 = s.y___97003; - s.tmp_10 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_10.arg0 = s.hbox___96575; + s.tmp_9 = Fx_min__P166_mk(s); + s.tmp_9.arg0 = s.y___13660; + s.tmp_10 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_10.arg0 = s.hbox___13232; s.callLocIdx = 610; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -27139,14 +27139,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___96578 + 8); + r0 = (s.tileScale___13235 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___97013 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P85759_mk(s); + s.y0___13670 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P2416_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___96993; - s.tmp_3.arg2 = s.y0___97013; + s.tmp_3.arg1 = s.x0___13650; + s.tmp_3.arg2 = s.y0___13670; s.callLocIdx = 614; s.pc = 133; return s.tmp_3; case 133: r0 = s.retval; @@ -27160,7 +27160,7 @@ switch (step) { r0 = s.tmp_0; { step = 84; continue; } case 83: - r0 = s.s___96550.fields["flags"]; + r0 = s.s___13207.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -27176,11 +27176,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 85; continue; } - s.tmp_10 = r0 = s.overlappedTiles___96981; - s.tmp_12 = tiles_TileMap_getTile__P85752_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___13638; + s.tmp_12 = tiles_TileMap_getTile__P2409_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___96993; - s.tmp_12.arg2 = s.y0___97013; + s.tmp_12.arg1 = s.x0___13650; + s.tmp_12.arg2 = s.y0___13670; s.callLocIdx = 615; s.pc = 134; return s.tmp_12; case 134: r0 = s.retval; @@ -27188,26 +27188,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 85: case 86: - r0 = (s.tileSize___96581 << 8); + r0 = (s.tileSize___13238 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___97003); - s.y___97003 = (r0); + r0 = (s.tmp_0 + s.y___13660); + s.y___13660 = (r0); { step = 82; continue; } case 87: - r0 = (s.tileSize___96581 << 8); + r0 = (s.tileSize___13238 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___96983); - s.x___96983 = (r0); + r0 = (s.tmp_0 + s.x___13640); + s.x___13640 = (r0); { step = 81; continue; } case 88: - r0 = pxsim_Array__length(s.overlappedTiles___96981); + r0 = pxsim_Array__length(s.overlappedTiles___13638); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 89; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P87494_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4151_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___96550; - s.tmp_1.arg2 = s.overlappedTiles___96981; + s.tmp_1.arg1 = s.s___13207; + s.tmp_1.arg2 = s.overlappedTiles___13638; s.callLocIdx = 618; s.pc = 135; return s.tmp_1; case 135: r0 = s.retval; @@ -27219,12 +27219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P87493.info = {"start":11722,"length":9572,"line":348,"column":4,"endLine":587,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P4150.info = {"start":11722,"length":9572,"line":348,"column":4,"endLine":587,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P87493_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4150_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P87493, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27244,37 +27244,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P87493_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___96550: undefined, - hbox___96575: undefined, - tileScale___96578: undefined, - tileSize___96581: undefined, - xDiff___96585: undefined, - yDiff___96592: undefined, - right___96608: undefined, - x0___96612: undefined, - collidedTiles___96627: undefined, - y___96629: undefined, - y0___96643: undefined, - obstacle___96659: undefined, - collisionDirection___96686: undefined, - tile___96712: undefined, - unnamed468___U14: undefined, - unnamed469___U15: undefined, - down___96796: undefined, - y0___96800: undefined, - collidedTiles___96815: undefined, - x___96817: undefined, - x0___96827: undefined, - obstacle___96841: undefined, - collisionDirection___96868: undefined, - tile___96894: undefined, - unnamed470___U24: undefined, - unnamed471___U25: undefined, - overlappedTiles___96981: undefined, - x___96983: undefined, - x0___96993: undefined, - y___97003: undefined, - y0___97013: undefined, + s___13207: undefined, + hbox___13232: undefined, + tileScale___13235: undefined, + tileSize___13238: undefined, + xDiff___13242: undefined, + yDiff___13249: undefined, + right___13265: undefined, + x0___13269: undefined, + collidedTiles___13284: undefined, + y___13286: undefined, + y0___13300: undefined, + obstacle___13316: undefined, + collisionDirection___13343: undefined, + tile___13369: undefined, + unnamed68___U14: undefined, + unnamed69___U15: undefined, + down___13453: undefined, + y0___13457: undefined, + collidedTiles___13472: undefined, + x___13474: undefined, + x0___13484: undefined, + obstacle___13498: undefined, + collisionDirection___13525: undefined, + tile___13551: undefined, + unnamed70___U24: undefined, + unnamed71___U25: undefined, + overlappedTiles___13638: undefined, + x___13640: undefined, + x0___13650: undefined, + y___13660: undefined, + y0___13670: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27284,7 +27284,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P87493_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P96667(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P13324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27306,12 +27306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P96667.info = {"start":13940,"length":39,"line":410,"column":48,"endLine":410,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P13324.info = {"start":13940,"length":39,"line":410,"column":48,"endLine":410,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P96667_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P13324_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P96667, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P13324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27322,7 +27322,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P96667_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P96849(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P13506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27344,12 +27344,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P96849.info = {"start":17420,"length":39,"line":491,"column":48,"endLine":491,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P13506.info = {"start":17420,"length":39,"line":491,"column":48,"endLine":491,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P96849_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P13506_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P96849, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P13506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27360,7 +27360,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P96849_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P87494(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27370,11 +27370,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___97060 = undefined; - s.tile___97063 = undefined; - s.unnamed472___U2 = undefined; - s.unnamed473___U3 = undefined; - s.tileOverlapHandlers___97084 = undefined; + s.alreadyHandled___13717 = undefined; + s.tile___13720 = undefined; + s.unnamed72___U2 = undefined; + s.unnamed73___U3 = undefined; + s.tileOverlapHandlers___13741 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27382,25 +27382,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___97060 = (r0); - s.tile___97063 = (undefined); - s.unnamed472___U2 = (s.arg2); - s.unnamed473___U3 = (0); + s.alreadyHandled___13717 = (r0); + s.tile___13720 = (undefined); + s.unnamed72___U2 = (s.arg2); + s.unnamed73___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed473___U3; - r0 = pxsim_Array__length(s.unnamed472___U2); + s.tmp_0 = r0 = s.unnamed73___U3; + r0 = pxsim_Array__length(s.unnamed72___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed472___U2, s.unnamed473___U3); - s.tile___97063 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P97067); + r0 = pxsim_Array__getAt(s.unnamed72___U2, s.unnamed73___U3); + s.tile___13720 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P13724); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___97063); - s.tmp_4 = helpers_arraySome__P83450_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___97060; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___13720); + s.tmp_4 = helpers_arraySome__P107_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___13717; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 623; s.pc = 8; return s.tmp_4; case 8: @@ -27411,26 +27411,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___97060, s.tile___97063); - s.tmp_0 = game_currentScene__P85948_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___13717, s.tile___13720); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 624; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___97084 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___97084); + s.tileOverlapHandlers___13741 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___13741); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P97092); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P13749); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___97063); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P97108); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___13720); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P13765); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___97063); - s.tmp_2 = helpers_arrayForEach__P83452_mk(s); - s.tmp_3 = helpers_arrayFilter__P83453_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___97084; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___13720); + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___13741; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 627; s.pc = 11; return s.tmp_3; case 11: @@ -27443,32 +27443,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed473___U3 + 1); - s.unnamed473___U3 = (r0); + r0 = (s.unnamed73___U3 + 1); + s.unnamed73___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed472___U2 = (undefined); + s.unnamed72___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P87494.info = {"start":21571,"length":701,"line":595,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P4151.info = {"start":21571,"length":701,"line":595,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P87494_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4151_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P87494, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4151, 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___97060: undefined, - tile___97063: undefined, - unnamed472___U2: undefined, - unnamed473___U3: undefined, - tileOverlapHandlers___97084: undefined, + alreadyHandled___13717: undefined, + tile___13720: undefined, + unnamed72___U2: undefined, + unnamed73___U3: undefined, + tileOverlapHandlers___13741: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27478,7 +27478,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P87494_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P97067(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P13724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27515,12 +27515,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P97067.info = {"start":21786,"length":45,"line":599,"column":36,"endLine":599,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P13724.info = {"start":21786,"length":45,"line":599,"column":36,"endLine":599,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P97067_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P13724_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P97067, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P13724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27535,7 +27535,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P97067_mk(s) { -function forEach_inline__P97092(s) { +function forEach_inline__P13749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27562,7 +27562,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P85768_mk(s); + s.tmp_5 = tiles_getTileImage__P2425_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 626; s.pc = 3; return s.tmp_5; case 3: @@ -27576,12 +27576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P97092.info = {"start":22100,"length":81,"line":607,"column":28,"endLine":607,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P13749.info = {"start":22100,"length":81,"line":607,"column":28,"endLine":607,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P97092_mk(s) { +function forEach_inline__P13749_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P97092, depth: s.depth + 1, + parent: s, fn: forEach_inline__P13749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27597,7 +27597,7 @@ function forEach_inline__P97092_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P97108(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P13765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27630,12 +27630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P97108.info = {"start":22212,"length":28,"line":608,"column":29,"endLine":608,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P13765.info = {"start":22212,"length":28,"line":608,"column":29,"endLine":608,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P97108_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P13765_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P97108, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P13765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27645,7 +27645,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P97108_mk(s) { -function tiles_getTileImage__P85768(s) { +function tiles_getTileImage__P2425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27655,16 +27655,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___97116 = undefined; + s.scene___13773 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P85948_mk(s); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 750; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___97116 = (r0); + s.scene___13773 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -27674,7 +27674,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___97116.fields["tileMap"]; + r0 = s.scene___13773.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -27684,14 +27684,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex97126); + r0 = pxsim.image.ofBuffer(_hex13783); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P85762_mk(s); - r0 = s.scene___97116.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P2419_mk(s); + r0 = s.scene___13773.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P85717_mk(s); + s.tmp_6 = tiles_Location_tileSet__P2374_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 751; s.pc = 8; return s.tmp_6; case 8: @@ -27704,12 +27704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P85768.info = {"start":16692,"length":207,"line":526,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P2425.info = {"start":16692,"length":207,"line":526,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P85768_mk(s) { +function tiles_getTileImage__P2425_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P85768, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P2425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27718,16 +27718,16 @@ function tiles_getTileImage__P85768_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___97116: undefined, + scene___13773: undefined, arg0: undefined, } } -const _hex97126 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex13783 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P85762(s) { +function tiles_TileMap_getTileImage__P2419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27743,8 +27743,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P85735_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2392_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -27754,12 +27754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P85762.info = {"start":13755,"length":96,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P2419.info = {"start":13755,"length":96,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P85762_mk(s) { +function tiles_TileMap_getTileImage__P2419_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P85762, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P2419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27770,7 +27770,7 @@ function tiles_TileMap_getTileImage__P85762_mk(s) { -function tiles_TileMapData_getTileImage__P85735(s) { +function tiles_TileMapData_getTileImage__P2392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27780,25 +27780,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___97179 = undefined; - s.cachedImage___97183 = undefined; - s.originalImage___97190 = undefined; + s.size___13836 = undefined; + s.cachedImage___13840 = undefined; + s.originalImage___13847 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___97179 = (r0); + s.size___13836 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___97183 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___97183); + s.cachedImage___13840 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___13840); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27807,58 +27807,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___97190 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___97190); + s.originalImage___13847 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___13847); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___97190); + r0 = pxsim_ImageMethods.width(s.originalImage___13847); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___97179); + r0 = (s.tmp_1 <= s.size___13836); 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___97190); + r0 = pxsim_ImageMethods.height(s.originalImage___13847); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___97179); + r0 = (s.tmp_2 <= s.size___13836); 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___97183 = (s.originalImage___97190); + s.cachedImage___13840 = (s.originalImage___13847); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___97179, s.size___97179); - s.cachedImage___97183 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___97183, s.originalImage___97190, 0, 0); + r0 = pxsim.image.create(s.size___13836, s.size___13836); + s.cachedImage___13840 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___13840, s.originalImage___13847, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___97183); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___13840); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___97183; + r0 = s.cachedImage___13840; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P85735.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P2392.info = {"start":4599,"length":717,"line":172,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P85735_mk(s) { +function tiles_TileMapData_getTileImage__P2392_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P85735, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P2392, 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, - size___97179: undefined, - cachedImage___97183: undefined, - originalImage___97190: undefined, + size___13836: undefined, + cachedImage___13840: undefined, + originalImage___13847: undefined, arg0: undefined, arg1: undefined, } } @@ -27867,7 +27867,7 @@ function tiles_TileMapData_getTileImage__P85735_mk(s) { -function tiles_TileMapData_scale__P85730(s) { +function tiles_TileMapData_scale__P2387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27882,18 +27882,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P85730.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P85730.isGetter = true; +tiles_TileMapData_scale__P2387.info = {"start":3809,"length":66,"line":143,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P2387.isGetter = true; -function tiles_TileMapData_scale__P85730_mk(s) { +function tiles_TileMapData_scale__P2387_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P85730, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27902,7 +27902,7 @@ function tiles_TileMapData_scale__P85730_mk(s) { -function tiles_Location_tileSet__P85717(s) { +function tiles_Location_tileSet__P2374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27917,8 +27917,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C85711_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P85753_mk(s); + if (!checkSubtype(r0, tiles_Location__C2368_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P2410_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -27931,13 +27931,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P85717.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P85717.isGetter = true; +tiles_Location_tileSet__P2374.info = {"start":981,"length":101,"line":43,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P2374.isGetter = true; -function tiles_Location_tileSet__P85717_mk(s) { +function tiles_Location_tileSet__P2374_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P85717, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P2374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27947,7 +27947,7 @@ function tiles_Location_tileSet__P85717_mk(s) { -function tiles_TileMap_getTileIndex__P85753(s) { +function tiles_TileMap_getTileIndex__P2410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27964,8 +27964,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P85732_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P2389_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -27976,12 +27976,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P85753.info = {"start":7436,"length":105,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P2410.info = {"start":7436,"length":105,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P85753_mk(s) { +function tiles_TileMap_getTileIndex__P2410_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P85753, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P2410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27993,7 +27993,7 @@ function tiles_TileMap_getTileIndex__P85753_mk(s) { -function tiles_TileMapData_getTile__P85732(s) { +function tiles_TileMapData_getTile__P2389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28010,8 +28010,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P85738_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2395_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -28044,12 +28044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P85732.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P2389.info = {"start":3997,"length":200,"line":152,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P85732_mk(s) { +function tiles_TileMapData_getTile__P2389_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P85732, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P2389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28069,7 +28069,7 @@ function tiles_TileMapData_getTile__P85732_mk(s) { -function tiles_TileMapData_isOutsideMap__P85738(s) { +function tiles_TileMapData_isOutsideMap__P2395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28086,7 +28086,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28126,12 +28126,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P85738.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P2395.info = {"start":5580,"length":132,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P85738_mk(s) { +function tiles_TileMapData_isOutsideMap__P2395_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P85738, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P2395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28150,7 +28150,7 @@ function tiles_TileMapData_isOutsideMap__P85738_mk(s) { -function tiles_Location_row__P85713(s) { +function tiles_Location_row__P2370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28165,18 +28165,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C85711_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2368_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P85713.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P85713.isGetter = true; +tiles_Location_row__P2370.info = {"start":467,"length":51,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P2370.isGetter = true; -function tiles_Location_row__P85713_mk(s) { +function tiles_Location_row__P2370_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P85713, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P2370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28185,7 +28185,7 @@ function tiles_Location_row__P85713_mk(s) { -function tiles_Location_col__P85712(s) { +function tiles_Location_col__P2369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28200,18 +28200,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C85711_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2368_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P85712.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} -tiles_Location_col__P85712.isGetter = true; +tiles_Location_col__P2369.info = {"start":406,"length":51,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} +tiles_Location_col__P2369.isGetter = true; -function tiles_Location_col__P85712_mk(s) { +function tiles_Location_col__P2369_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P85712, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P2369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28220,7 +28220,7 @@ function tiles_Location_col__P85712_mk(s) { -function tiles_TileMap_getObstacle__P85760(s) { +function tiles_TileMap_getObstacle__P2417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28230,8 +28230,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___97356 = undefined; - s.tile___97368 = undefined; + s.index___14013 = undefined; + s.tile___14025 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28239,8 +28239,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P85738_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2395_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -28254,7 +28254,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P85732_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P2389_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -28265,20 +28265,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___97356 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P85735_mk(s); + s.index___14013 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P2392_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___97356; + s.tmp_0.arg1 = s.index___14013; s.callLocIdx = 730; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___97368 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C85564_VT); + s.tile___14025 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2221_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P85570_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P2227_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___97368; + s.tmp_1.arg1 = s.tile___14025; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -28291,7 +28291,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___97356; + s.tmp_1.arg5 = s.index___14013; s.callLocIdx = 734; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -28299,12 +28299,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P85760.info = {"start":12698,"length":410,"line":412,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P2417.info = {"start":12698,"length":410,"line":412,"column":8,"endLine":422,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P85760_mk(s) { +function tiles_TileMap_getObstacle__P2417_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P85760, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P2417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28312,8 +28312,8 @@ function tiles_TileMap_getObstacle__P85760_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___97356: undefined, - tile___97368: undefined, + index___14013: undefined, + tile___14025: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28323,7 +28323,7 @@ function tiles_TileMap_getObstacle__P85760_mk(s) { -function tiles_TileMap_layer__P85748(s) { +function tiles_TileMap_layer__P2405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28338,18 +28338,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P85748.info = {"start":6953,"length":63,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P85748.isGetter = true; +tiles_TileMap_layer__P2405.info = {"start":6953,"length":63,"line":252,"column":8,"endLine":254,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P2405.isGetter = true; -function tiles_TileMap_layer__P85748_mk(s) { +function tiles_TileMap_layer__P2405_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P85748, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P2405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28358,7 +28358,7 @@ function tiles_TileMap_layer__P85748_mk(s) { -function sprites_StaticObstacle_constructor__P85570(s) { +function sprites_StaticObstacle_constructor__P2227(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28378,7 +28378,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C85564_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2221_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -28388,12 +28388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P85570.info = {"start":563,"length":261,"line":28,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"inline","argumentNames":["this","image","top","left","layer","tileIndex"]} +sprites_StaticObstacle_constructor__P2227.info = {"start":563,"length":261,"line":28,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"inline","argumentNames":["this","image","top","left","layer","tileIndex"]} -function sprites_StaticObstacle_constructor__P85570_mk(s) { +function sprites_StaticObstacle_constructor__P2227_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P85570, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P2227, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28407,7 +28407,7 @@ function sprites_StaticObstacle_constructor__P85570_mk(s) { -function tiles_TileMap_isObstacle__P85759(s) { +function tiles_TileMap_isObstacle__P2416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28424,7 +28424,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -28445,7 +28445,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P85738_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P2395_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -28471,12 +28471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P85759.info = {"start":12477,"length":211,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P2416.info = {"start":12477,"length":211,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P85759_mk(s) { +function tiles_TileMap_isObstacle__P2416_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P85759, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P2416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28499,7 +28499,7 @@ function tiles_TileMap_isObstacle__P85759_mk(s) { -function tiles_TileMapData_isWall__P85737(s) { +function tiles_TileMapData_isWall__P2394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28516,7 +28516,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -28525,12 +28525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P85737.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P2394.info = {"start":5463,"length":107,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P85737_mk(s) { +function tiles_TileMapData_isWall__P2394_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P85737, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P2394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28543,7 +28543,7 @@ function tiles_TileMapData_isWall__P85737_mk(s) { -function tiles_TileMap_getTile__P85752(s) { +function tiles_TileMap_getTile__P2409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28560,10 +28560,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C85711_VT); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2368_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P85714_mk(s); + s.tmp_1 = tiles_Location_constructor__P2371_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -28575,12 +28575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P85752.info = {"start":7315,"length":111,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P2409.info = {"start":7315,"length":111,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P85752_mk(s) { +function tiles_TileMap_getTile__P2409_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P85752, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P2409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28593,7 +28593,7 @@ function tiles_TileMap_getTile__P85752_mk(s) { -function tiles_Location_constructor__P85714(s) { +function tiles_Location_constructor__P2371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28611,7 +28611,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C85711_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2368_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -28619,12 +28619,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P85714.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P2371.info = {"start":528,"length":153,"line":27,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P85714_mk(s) { +function tiles_Location_constructor__P2371_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P85714, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P2371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28636,7 +28636,7 @@ function tiles_Location_constructor__P85714_mk(s) { -function Sprite_registerObstacle__P85503(s) { +function Sprite_registerObstacle__P2160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28646,10 +28646,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___97269 = undefined; - s.wallCollisionHandlers___97276 = undefined; - s.wallHandlersToRun___97301 = undefined; - s.asTileLocation___97314 = undefined; + s.collisionHandlers___13926 = undefined; + s.wallCollisionHandlers___13933 = undefined; + s.wallHandlersToRun___13958 = undefined; + s.asTileLocation___13971 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28658,11 +28658,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_obstacles"]; s.tmp_0 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.arg2); - s.tmp_1 = game_currentScene__P85948_mk(s); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 354; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -28682,24 +28682,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___97269 = (r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.collisionHandlers___13926 = (r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 356; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___97276 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___97269); + s.wallCollisionHandlers___13933 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___13926); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P97284); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P13941); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P97290); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P13947); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P83452_mk(s); - s.tmp_3 = helpers_arrayFilter__P83453_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___97269; + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___13926; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 358; s.pc = 13; return s.tmp_3; case 13: @@ -28711,7 +28711,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___97276); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___13933); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28719,7 +28719,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P85948_mk(s); + s.tmp_1 = game_currentScene__P2605_mk(s); s.callLocIdx = 361; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -28728,21 +28728,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P97303); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P13960); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P83453_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___97276; + s.tmp_1 = helpers_arrayFilter__P110_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___13933; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 363; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___97301 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___97301); + s.wallHandlersToRun___13958 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___13958); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P85752_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P2409_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -28781,13 +28781,13 @@ switch (step) { s.callLocIdx = 368; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___97314 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P97330); + s.asTileLocation___13971 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P13987); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___97314); - s.tmp_1 = helpers_arrayForEach__P83452_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___97301; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___13971); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___13958; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 370; s.pc = 19; return s.tmp_1; case 19: @@ -28800,12 +28800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P85503.info = {"start":23704,"length":965,"line":761,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P2160.info = {"start":23704,"length":965,"line":761,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P85503_mk(s) { +function Sprite_registerObstacle__P2160_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P85503, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P2160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28815,10 +28815,10 @@ function Sprite_registerObstacle__P85503_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___97269: undefined, - wallCollisionHandlers___97276: undefined, - wallHandlersToRun___97301: undefined, - asTileLocation___97314: undefined, + collisionHandlers___13926: undefined, + wallCollisionHandlers___13933: undefined, + wallHandlersToRun___13958: undefined, + asTileLocation___13971: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28829,7 +28829,7 @@ function Sprite_registerObstacle__P85503_mk(s) { -function forEach_inline__P97284(s) { +function forEach_inline__P13941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28851,12 +28851,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P97284.info = {"start":24102,"length":26,"line":768,"column":24,"endLine":768,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P13941.info = {"start":24102,"length":26,"line":768,"column":24,"endLine":768,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P97284_mk(s) { +function forEach_inline__P13941_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P97284, depth: s.depth + 1, + parent: s, fn: forEach_inline__P13941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28867,7 +28867,7 @@ function forEach_inline__P97284_mk(s) { -function Sprite_registerObstacle_inline__P97290(s) { +function Sprite_registerObstacle_inline__P13947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28899,12 +28899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P97290.info = {"start":24155,"length":20,"line":769,"column":25,"endLine":769,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P13947.info = {"start":24155,"length":20,"line":769,"column":25,"endLine":769,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P97290_mk(s) { +function Sprite_registerObstacle_inline__P13947_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P97290, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P13947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28914,7 +28914,7 @@ function Sprite_registerObstacle_inline__P97290_mk(s) { -function wallHandlersToRun_inline__P97303(s) { +function wallHandlersToRun_inline__P13960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28936,12 +28936,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P97303.info = {"start":24361,"length":32,"line":774,"column":24,"endLine":774,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P13960.info = {"start":24361,"length":32,"line":774,"column":24,"endLine":774,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P97303_mk(s) { +function wallHandlersToRun_inline__P13960_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P97303, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P13960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28952,7 +28952,7 @@ function wallHandlersToRun_inline__P97303_mk(s) { -function Sprite_registerObstacle_inline__P97330(s) { +function Sprite_registerObstacle_inline__P13987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28985,12 +28985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P97330.info = {"start":24601,"length":36,"line":778,"column":29,"endLine":778,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P13987.info = {"start":24601,"length":36,"line":778,"column":29,"endLine":778,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P97330_mk(s) { +function Sprite_registerObstacle_inline__P13987_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P97330, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P13987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29000,7 +29000,7 @@ function Sprite_registerObstacle_inline__P97330_mk(s) { -function Fx_min__P83509(s) { +function Fx_min__P166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29031,12 +29031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P83509.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} +Fx_min__P166.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} -function Fx_min__P83509_mk(s) { +function Fx_min__P166_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P83509, depth: s.depth + 1, + parent: s, fn: Fx_min__P166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29047,7 +29047,7 @@ function Fx_min__P83509_mk(s) { -function Fx_iadd__P83501(s) { +function Fx_iadd__P158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29068,12 +29068,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P83501.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} +Fx_iadd__P158.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} -function Fx_iadd__P83501_mk(s) { +function Fx_iadd__P158_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P83501, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29084,7 +29084,7 @@ function Fx_iadd__P83501_mk(s) { -function Fx_toIntShifted__P83499(s) { +function Fx_toIntShifted__P156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29106,12 +29106,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P83499.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} +Fx_toIntShifted__P156.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} -function Fx_toIntShifted__P83499_mk(s) { +function Fx_toIntShifted__P156_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P83499, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29123,7 +29123,7 @@ function Fx_toIntShifted__P83499_mk(s) { -function Math_sign__P83472(s) { +function Math_sign__P129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29158,12 +29158,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P83472.info = {"start":16330,"length":125,"line":546,"column":4,"endLine":550,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P129.info = {"start":16330,"length":125,"line":546,"column":4,"endLine":550,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P83472_mk(s) { +function Math_sign__P129_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P83472, depth: s.depth + 1, + parent: s, fn: Math_sign__P129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29174,7 +29174,7 @@ function Math_sign__P83472_mk(s) { -function helpers_arraySome__P83450(s) { +function helpers_arraySome__P107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29184,26 +29184,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___97338 = undefined; - s.i___97341 = undefined; + s.len___13995 = undefined; + s.i___13998 = 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___97338 = (r0); - s.i___97341 = (0); + s.len___13995 = (r0); + s.i___13998 = (0); case 1: - r0 = (s.i___97341 < s.len___97338); + r0 = (s.i___13998 < s.len___13995); 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___97341); + r0 = pxsim_Array__getAt(s.arg0, s.i___13998); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___97341; + s.tmp_2.arg1 = s.i___13998; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -29215,8 +29215,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___97341 + 1); - s.i___97341 = (r0); + r0 = (s.i___13998 + 1); + s.i___13998 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -29224,18 +29224,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P83450.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P107.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -function helpers_arraySome__P83450_mk(s) { +function helpers_arraySome__P107_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P83450, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___97338: undefined, - i___97341: undefined, + len___13995: undefined, + i___13998: undefined, arg0: undefined, arg1: undefined, } } @@ -29244,7 +29244,7 @@ function helpers_arraySome__P83450_mk(s) { -function tiles_TileMap_isOnWall__P85761(s) { +function tiles_TileMap_isOnWall__P2418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29254,24 +29254,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___96448 = undefined; - s.left___96451 = undefined; - s.right___96457 = undefined; - s.top___96463 = undefined; - s.bottom___96469 = undefined; - s.col___96475 = undefined; - s.row___96481 = undefined; + s.hbox___13105 = undefined; + s.left___13108 = undefined; + s.right___13114 = undefined; + s.top___13120 = undefined; + s.bottom___13126 = undefined; + s.col___13132 = undefined; + s.row___13138 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___96448 = (r0); - s.tmp_1 = game_Hitbox_left__P85336_mk(s); - s.tmp_1.arg0 = s.hbox___96448; + s.hbox___13105 = (r0); + s.tmp_1 = game_Hitbox_left__P1993_mk(s); + s.tmp_1.arg0 = s.hbox___13105; s.callLocIdx = 735; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -29281,9 +29281,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___96451 = (r0); - s.tmp_1 = game_Hitbox_right__P85338_mk(s); - s.tmp_1.arg0 = s.hbox___96448; + s.left___13108 = (r0); + s.tmp_1 = game_Hitbox_right__P1995_mk(s); + s.tmp_1.arg0 = s.hbox___13105; s.callLocIdx = 738; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -29293,9 +29293,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___96457 = (r0); - s.tmp_1 = game_Hitbox_top__P85337_mk(s); - s.tmp_1.arg0 = s.hbox___96448; + s.right___13114 = (r0); + s.tmp_1 = game_Hitbox_top__P1994_mk(s); + s.tmp_1.arg0 = s.hbox___13105; s.callLocIdx = 741; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -29305,9 +29305,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___96463 = (r0); - s.tmp_1 = game_Hitbox_bottom__P85339_mk(s); - s.tmp_1.arg0 = s.hbox___96448; + s.top___13120 = (r0); + s.tmp_1 = game_Hitbox_bottom__P1996_mk(s); + s.tmp_1.arg0 = s.hbox___13105; s.callLocIdx = 744; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -29317,23 +29317,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___96469 = (r0); - s.col___96475 = (s.left___96451); + s.bottom___13126 = (r0); + s.col___13132 = (s.left___13108); case 1: - r0 = (s.col___96475 <= s.right___96457); + r0 = (s.col___13132 <= s.right___13114); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___96481 = (s.top___96463); + s.row___13138 = (s.top___13120); case 2: - r0 = (s.row___96481 <= s.bottom___96469); + r0 = (s.row___13138 <= s.bottom___13126); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P85759_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P2416_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___96475; - s.tmp_2.arg2 = s.row___96481; + s.tmp_2.arg1 = s.col___13132; + s.tmp_2.arg2 = s.row___13138; s.callLocIdx = 747; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -29344,12 +29344,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___96481 + 1); - s.row___96481 = (r0); + r0 = (s.row___13138 + 1); + s.row___13138 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___96475 + 1); - s.col___96475 = (r0); + r0 = (s.col___13132 + 1); + s.col___13132 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -29357,24 +29357,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P85761.info = {"start":13118,"length":627,"line":424,"column":8,"endLine":441,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P2418.info = {"start":13118,"length":627,"line":424,"column":8,"endLine":441,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P85761_mk(s) { +function tiles_TileMap_isOnWall__P2418_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P85761, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P2418, 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, - hbox___96448: undefined, - left___96451: undefined, - right___96457: undefined, - top___96463: undefined, - bottom___96469: undefined, - col___96475: undefined, - row___96481: undefined, + hbox___13105: undefined, + left___13108: undefined, + right___13114: undefined, + top___13120: undefined, + bottom___13126: undefined, + col___13132: undefined, + row___13138: undefined, arg0: undefined, arg1: undefined, } } @@ -29383,7 +29383,7 @@ function tiles_TileMap_isOnWall__P85761_mk(s) { -function MovingSprite_constructor__P85592(s) { +function MovingSprite_constructor__P2249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29405,7 +29405,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C85591_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C2248_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -29417,12 +29417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P85592.info = {"start":949,"length":313,"line":33,"column":4,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P2249.info = {"start":949,"length":313,"line":33,"column":4,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -function MovingSprite_constructor__P85592_mk(s) { +function MovingSprite_constructor__P2249_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P85592, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P2249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29438,7 +29438,7 @@ function MovingSprite_constructor__P85592_mk(s) { -function ArcadePhysicsEngine_move__P85605(s) { +function ArcadePhysicsEngine_move__P2262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29448,75 +29448,75 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___97428 = undefined; - s.dt2___97434 = undefined; - s.scene___97438 = undefined; - s.tileMap___97441 = undefined; - s.movingSprites___97444 = undefined; - s.MAX_STEP_COUNT___97475 = undefined; - s.overlapHandlers___97487 = undefined; - s.selected___97494 = undefined; - s.buffers___97495 = undefined; - s.count___97499 = undefined; - s.currMovers___97509 = undefined; - s.remainingMovers___97516 = undefined; - s.ms___97521 = undefined; - s.unnamed462___U13 = undefined; - s.unnamed463___U14 = undefined; - s.s___97523 = undefined; - s.stepX___97616 = undefined; - s.stepY___97630 = undefined; + s.dtMs___14085 = undefined; + s.dt2___14091 = undefined; + s.scene___14095 = undefined; + s.tileMap___14098 = undefined; + s.movingSprites___14101 = undefined; + s.MAX_STEP_COUNT___14132 = undefined; + s.overlapHandlers___14144 = undefined; + s.selected___14151 = undefined; + s.buffers___14152 = undefined; + s.count___14156 = undefined; + s.currMovers___14166 = undefined; + s.remainingMovers___14173 = undefined; + s.ms___14178 = undefined; + s.unnamed62___U13 = undefined; + s.unnamed63___U14 = undefined; + s.s___14180 = undefined; + s.stepX___14273 = undefined; + s.stepY___14287 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); - s.tmp_0 = Math_min__P83474_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); + s.tmp_0 = Math_min__P131_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 451; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtMs___97428 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___97428, 2); - s.dt2___97434 = (r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.dtMs___14085 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___14085, 2); + s.dt2___14091 = (r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 452; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___97438 = (r0); - r0 = s.scene___97438.fields["tileMap"]; - s.tileMap___97441 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P97446); + s.scene___14095 = (r0); + r0 = s.scene___14095.fields["tileMap"]; + s.tileMap___14098 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P14103); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___97428); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___97434); - s.tmp_1 = helpers_arrayMap__P83449_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___14085); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___14091); + 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 = 454; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___97444 = (r0); - s.tmp_0 = helpers_arrayForEach__P83452_mk(s); + s.movingSprites___14101 = (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__P97458; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P14115; s.callLocIdx = 458; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P85518_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P2175_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 459; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P85517_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2174_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -29532,41 +29532,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___97428); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___14085); 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___97475 = (r0); - s.tmp_0 = helpers_arraySlice__P83458_mk(s); - r0 = s.scene___97438.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___14132 = (r0); + s.tmp_0 = helpers_arraySlice__P115_mk(s); + r0 = s.scene___14095.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 465; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___97487 = (r0); - s.selected___97494 = (0); + s.overlapHandlers___14144 = (r0); + s.selected___14151 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___97444); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___14101); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___97495 = (s.tmp_0); - s.count___97499 = (0); + s.buffers___14152 = (s.tmp_0); + s.count___14156 = (0); case 1: - r0 = (s.count___97499 < s.MAX_STEP_COUNT___97475); + r0 = (s.count___14156 < s.MAX_STEP_COUNT___14132); 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___97495, s.selected___97494); + r0 = pxsim_Array__getAt(s.buffers___14152, s.selected___14151); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -29576,43 +29576,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__getAt(s.buffers___97495, s.selected___97494); - s.currMovers___97509 = (r0); - r0 = (s.selected___97494 ^ 1); - s.selected___97494 = (r0); - r0 = pxsim_Array__getAt(s.buffers___97495, s.selected___97494); - s.remainingMovers___97516 = (r0); - s.ms___97521 = (undefined); - s.unnamed462___U13 = (s.currMovers___97509); - s.unnamed463___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___14152, s.selected___14151); + s.currMovers___14166 = (r0); + r0 = (s.selected___14151 ^ 1); + s.selected___14151 = (r0); + r0 = pxsim_Array__getAt(s.buffers___14152, s.selected___14151); + s.remainingMovers___14173 = (r0); + s.ms___14178 = (undefined); + s.unnamed62___U13 = (s.currMovers___14166); + s.unnamed63___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed463___U14; - r0 = pxsim_Array__length(s.unnamed462___U13); + s.tmp_0 = r0 = s.unnamed63___U14; + r0 = pxsim_Array__length(s.unnamed62___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed462___U13, s.unnamed463___U14); - s.ms___97521 = (r0); - r0 = s.ms___97521.fields["sprite"]; - s.s___97523 = (r0); - r0 = s.ms___97521.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed62___U13, s.unnamed63___U14); + s.ms___14178 = (r0); + r0 = s.ms___14178.fields["sprite"]; + s.s___14180 = (r0); + r0 = s.ms___14178.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___97523.fields["_vx"]; + r0 = s.s___14180.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___97523.fields["_vx"]; + r0 = s.s___14180.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___97521).fields["dx"] = (0); + r0 = (s.ms___14178).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___97523.fields["_vx"]; + r0 = s.s___14180.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29621,7 +29621,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___97521.fields["cachedVx"]; + r0 = s.ms___14178.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -29632,7 +29632,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___97523.fields["_vx"]; + r0 = s.s___14180.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -29641,7 +29641,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___97521.fields["cachedVx"]; + r0 = s.ms___14178.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -29653,14 +29653,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___97521; - r0 = s.ms___97521.fields["dx"]; + s.tmp_9 = r0 = s.ms___14178; + r0 = s.ms___14178.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___97521; - r0 = s.ms___97521.fields["xStep"]; + s.tmp_0 = r0 = s.ms___14178; + r0 = s.ms___14178.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -29668,29 +29668,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___97523.fields["_vx"]; + r0 = s.s___14180.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___97521).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___14178).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___97521.fields["cachedVy"]; + r0 = s.ms___14178.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___97523.fields["_vy"]; + r0 = s.s___14180.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___97523.fields["_vy"]; + r0 = s.s___14180.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___97521).fields["dy"] = (0); + r0 = (s.ms___14178).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___97523.fields["_vy"]; + r0 = s.s___14180.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29699,7 +29699,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___97521.fields["cachedVy"]; + r0 = s.ms___14178.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -29710,7 +29710,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___97523.fields["_vy"]; + r0 = s.s___14180.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -29719,7 +29719,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___97521.fields["cachedVy"]; + r0 = s.ms___14178.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -29731,14 +29731,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___97521; - r0 = s.ms___97521.fields["dy"]; + s.tmp_9 = r0 = s.ms___14178; + r0 = s.ms___14178.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___97521; - r0 = s.ms___97521.fields["yStep"]; + s.tmp_0 = r0 = s.ms___14178; + r0 = s.ms___14178.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -29746,20 +29746,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___97523.fields["_vy"]; + r0 = s.s___14180.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___97521).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___14178).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P83508_mk(s); - r0 = s.ms___97521.fields["xStep"]; + s.tmp_2 = Fx_abs__P165_mk(s); + r0 = s.ms___14178.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 470; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P83508_mk(s); - r0 = s.ms___97521.fields["dx"]; + s.tmp_4 = Fx_abs__P165_mk(s); + r0 = s.ms___14178.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 471; s.pc = 55; return s.tmp_4; case 55: @@ -29769,23 +29769,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___97521.fields["dx"]; + r0 = s.ms___14178.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___97521.fields["xStep"]; + r0 = s.ms___14178.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___97616 = (s.tmp_5); - s.tmp_2 = Fx_abs__P83508_mk(s); - r0 = s.ms___97521.fields["yStep"]; + s.stepX___14273 = (s.tmp_5); + s.tmp_2 = Fx_abs__P165_mk(s); + r0 = s.ms___14178.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 472; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P83508_mk(s); - r0 = s.ms___97521.fields["dy"]; + s.tmp_4 = Fx_abs__P165_mk(s); + r0 = s.ms___14178.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 473; s.pc = 57; return s.tmp_4; case 57: @@ -29795,45 +29795,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___97521.fields["dy"]; + r0 = s.ms___14178.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___97521.fields["yStep"]; + r0 = s.ms___14178.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___97630 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___97521; - r0 = s.ms___97521.fields["dx"]; + s.stepY___14287 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___14178; + r0 = s.ms___14178.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___97616); + r0 = (s.tmp_2 - s.stepX___14273); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___97521; - r0 = s.ms___97521.fields["dy"]; + s.tmp_0 = r0 = s.ms___14178; + r0 = s.ms___14178.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___97630); + r0 = (s.tmp_2 - s.stepY___14287); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___97523.fields["_x"]; + r0 = s.s___14180.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___97523).fields["_lastX"] = (s.tmp_0); - r0 = s.s___97523.fields["_y"]; + r0 = (s.s___14180).fields["_lastX"] = (s.tmp_0); + r0 = s.s___14180.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___97523).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___97523; - r0 = s.s___97523.fields["_x"]; + r0 = (s.s___14180).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___14180; + r0 = s.s___14180.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___97616); + r0 = (s.tmp_2 + s.stepX___14273); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___97523; - r0 = s.s___97523.fields["_y"]; + s.tmp_0 = r0 = s.s___14180; + r0 = s.s___14180.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___97630); + r0 = (s.tmp_2 + s.stepY___14287); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___97523.fields["flags"]; + r0 = s.s___14180.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -29843,22 +29843,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 33; continue; } - s.tmp_4 = sprites_SpriteMap_insertAABB__P85519_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P2176_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___97523; + s.tmp_4.arg1 = s.s___14180; s.callLocIdx = 478; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___97441; + s.tmp_0 = r0 = s.tileMap___14098; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___97441.fields["_map"]; + r0 = s.tileMap___14098.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -29872,79 +29872,79 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P87493_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4150_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___97521; - s.tmp_6.arg2 = s.tileMap___97441; + s.tmp_6.arg1 = s.ms___14178; + s.tmp_6.arg2 = s.tileMap___14098; s.callLocIdx = 480; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; case 37: case 38: - s.tmp_2 = Fx_abs__P83508_mk(s); - r0 = s.ms___97521.fields["dx"]; + s.tmp_2 = Fx_abs__P165_mk(s); + r0 = s.ms___14178.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 481; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___85587); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2244); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 39; continue; } r0 = s.tmp_0; { step = 40; continue; } case 39: - s.tmp_4 = Fx_abs__P83508_mk(s); - r0 = s.ms___97521.fields["dy"]; + s.tmp_4 = Fx_abs__P165_mk(s); + r0 = s.ms___14178.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 482; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___85587); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2244); case 40: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 41; continue; } - r0 = pxsim_Array__push(s.remainingMovers___97516, s.ms___97521); + r0 = pxsim_Array__push(s.remainingMovers___14173, s.ms___14178); case 41: case 42: - r0 = (s.unnamed463___U14 + 1); - s.unnamed463___U14 = (r0); + r0 = (s.unnamed63___U14 + 1); + s.unnamed63___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed462___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P87492_mk(s); + s.unnamed62___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4149_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___97509; - s.tmp_0.arg2 = s.overlapHandlers___97487; + s.tmp_0.arg1 = s.currMovers___14166; + s.tmp_0.arg2 = s.overlapHandlers___14144; s.callLocIdx = 483; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___97509); + r0 = pxsim_Array__length(s.currMovers___14166); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___97509); + r0 = pxsim_Array_.pop(s.currMovers___14166); { step = 44; continue; } case 45: - r0 = (s.count___97499 + 1); - s.count___97499 = (r0); + r0 = (s.count___14156 + 1); + s.count___14156 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P85605.info = {"start":2822,"length":3809,"line":112,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P2262.info = {"start":2822,"length":3809,"line":112,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P85605_mk(s) { +function ArcadePhysicsEngine_move__P2262_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P85605, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P2262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29958,24 +29958,24 @@ function ArcadePhysicsEngine_move__P85605_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___97428: undefined, - dt2___97434: undefined, - scene___97438: undefined, - tileMap___97441: undefined, - movingSprites___97444: undefined, - MAX_STEP_COUNT___97475: undefined, - overlapHandlers___97487: undefined, - selected___97494: undefined, - buffers___97495: undefined, - count___97499: undefined, - currMovers___97509: undefined, - remainingMovers___97516: undefined, - ms___97521: undefined, - unnamed462___U13: undefined, - unnamed463___U14: undefined, - s___97523: undefined, - stepX___97616: undefined, - stepY___97630: undefined, + dtMs___14085: undefined, + dt2___14091: undefined, + scene___14095: undefined, + tileMap___14098: undefined, + movingSprites___14101: undefined, + MAX_STEP_COUNT___14132: undefined, + overlapHandlers___14144: undefined, + selected___14151: undefined, + buffers___14152: undefined, + count___14156: undefined, + currMovers___14166: undefined, + remainingMovers___14173: undefined, + ms___14178: undefined, + unnamed62___U13: undefined, + unnamed63___U14: undefined, + s___14180: undefined, + stepX___14273: undefined, + stepY___14287: undefined, arg0: undefined, arg1: undefined, } } @@ -29984,7 +29984,7 @@ function ArcadePhysicsEngine_move__P85605_mk(s) { -function movingSprites_inline__P97446(s) { +function movingSprites_inline__P14103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29998,7 +29998,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P87491_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4148_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -30009,12 +30009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P97446.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__P14103.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__P97446_mk(s) { +function movingSprites_inline__P14103_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P97446, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P14103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30024,7 +30024,7 @@ function movingSprites_inline__P97446_mk(s) { -function ArcadePhysicsEngine_move_inline__P97458(s) { +function ArcadePhysicsEngine_move_inline__P14115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30038,7 +30038,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P85444_mk(s); + s.tmp_1 = Sprite_vx__P2101_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 455; s.pc = 5; return s.tmp_1; case 5: @@ -30049,7 +30049,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P85446_mk(s); + s.tmp_2 = Sprite_vy__P2103_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 456; s.pc = 6; return s.tmp_2; case 6: @@ -30059,7 +30059,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P85502_mk(s); + s.tmp_4 = Sprite_clearObstacles__P2159_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 457; s.pc = 7; return s.tmp_4; case 7: @@ -30070,12 +30070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P97458.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__P14115.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__P97458_mk(s) { +function ArcadePhysicsEngine_move_inline__P14115_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P97458, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P14115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30089,7 +30089,7 @@ function ArcadePhysicsEngine_move_inline__P97458_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P87492(s) { +function ArcadePhysicsEngine_spriteCollisions__P4149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30099,18 +30099,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___97731 = undefined; - s.unnamed464___U1 = undefined; - s.unnamed465___U2 = undefined; - s.sprite___97733 = undefined; - s.overSprites___97740 = undefined; - s.overlapper___97748 = undefined; - s.unnamed466___U6 = undefined; - s.unnamed467___U7 = undefined; - s.thisKind___97754 = undefined; - s.otherKind___97758 = undefined; - s.higher___97771 = undefined; - s.lower___97780 = undefined; + s.ms___14388 = undefined; + s.unnamed64___U1 = undefined; + s.unnamed65___U2 = undefined; + s.sprite___14390 = undefined; + s.overSprites___14397 = undefined; + s.overlapper___14405 = undefined; + s.unnamed66___U6 = undefined; + s.unnamed67___U7 = undefined; + s.thisKind___14411 = undefined; + s.otherKind___14415 = undefined; + s.higher___14428 = undefined; + s.lower___14437 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30118,7 +30118,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -30130,20 +30130,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___97731 = (undefined); - s.unnamed464___U1 = (s.arg1); - s.unnamed465___U2 = (0); + s.ms___14388 = (undefined); + s.unnamed64___U1 = (s.arg1); + s.unnamed65___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed465___U2; - r0 = pxsim_Array__length(s.unnamed464___U1); + s.tmp_0 = r0 = s.unnamed65___U2; + r0 = pxsim_Array__length(s.unnamed64___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed464___U1, s.unnamed465___U2); - s.ms___97731 = (r0); - r0 = s.ms___97731.fields["sprite"]; - s.sprite___97733 = (r0); - r0 = s.sprite___97733.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); + s.ms___14388 = (r0); + r0 = s.ms___14388.fields["sprite"]; + s.sprite___14390 = (r0); + r0 = s.sprite___14390.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -30152,27 +30152,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P85515_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P2172_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___97731.fields["sprite"]; + r0 = s.ms___14388.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 521; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___97740 = (r0); - s.overlapper___97748 = (undefined); - s.unnamed466___U6 = (s.overSprites___97740); - s.unnamed467___U7 = (0); + s.overSprites___14397 = (r0); + s.overlapper___14405 = (undefined); + s.unnamed66___U6 = (s.overSprites___14397); + s.unnamed67___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed467___U7; - r0 = pxsim_Array__length(s.unnamed466___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 = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed466___U6, s.unnamed467___U7); - s.overlapper___97748 = (r0); - r0 = s.overlapper___97748.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); + s.overlapper___14405 = (r0); + r0 = s.overlapper___14405.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -30181,13 +30181,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___97733.fields["_kind"]; - s.thisKind___97754 = (r0); - r0 = s.overlapper___97748.fields["_kind"]; - s.otherKind___97758 = (r0); - r0 = s.sprite___97733.fields["_kindsOverlappedWith"]; + r0 = s.sprite___14390.fields["_kind"]; + s.thisKind___14411 = (r0); + r0 = s.overlapper___14405.fields["_kind"]; + s.otherKind___14415 = (r0); + r0 = s.sprite___14390.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___97758, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___14415, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -30196,37 +30196,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___97733.fields["id"]; + r0 = s.sprite___14390.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___97748.fields["id"]; + r0 = s.overlapper___14405.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___97733; + r0 = s.sprite___14390; { step = 12; continue; } case 11: - r0 = s.overlapper___97748; + r0 = s.overlapper___14405; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___97771 = (s.tmp_6); - r0 = (s.higher___97771 === s.sprite___97733); + s.higher___14428 = (s.tmp_6); + r0 = (s.higher___14428 === s.sprite___14390); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___97748; + r0 = s.overlapper___14405; { step = 14; continue; } case 13: - r0 = s.sprite___97733; + r0 = s.sprite___14390; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___97780 = (s.tmp_1); - r0 = s.higher___97771.fields["_overlappers"]; + s.lower___14437 = (s.tmp_1); + r0 = s.higher___14428.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___97780.fields["id"]; + r0 = s.lower___14437.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -30234,19 +30234,19 @@ 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__P97800); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P14457); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___97754); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___97758); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P97824); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___14411); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___14415); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P14481); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___97771); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___97780); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___97733); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___97748); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___97754); - s.tmp_6 = helpers_arrayForEach__P83452_mk(s); - s.tmp_7 = helpers_arrayFilter__P83453_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___14428); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___14437); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___14390); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___14405); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___14411); + 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 = 524; s.pc = 24; return s.tmp_7; @@ -30260,28 +30260,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed467___U7 + 1); - s.unnamed467___U7 = (r0); + r0 = (s.unnamed67___U7 + 1); + s.unnamed67___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed466___U6 = (undefined); + s.unnamed66___U6 = (undefined); case 19: - r0 = (s.unnamed465___U2 + 1); - s.unnamed465___U2 = (r0); + r0 = (s.unnamed65___U2 + 1); + s.unnamed65___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed464___U1 = (undefined); + s.unnamed64___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P87492.info = {"start":9448,"length":2268,"line":302,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P4149.info = {"start":9448,"length":2268,"line":302,"column":4,"endLine":346,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P87492_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P4149_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P87492, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30291,18 +30291,18 @@ function ArcadePhysicsEngine_spriteCollisions__P87492_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___97731: undefined, - unnamed464___U1: undefined, - unnamed465___U2: undefined, - sprite___97733: undefined, - overSprites___97740: undefined, - overlapper___97748: undefined, - unnamed466___U6: undefined, - unnamed467___U7: undefined, - thisKind___97754: undefined, - otherKind___97758: undefined, - higher___97771: undefined, - lower___97780: undefined, + ms___14388: undefined, + unnamed64___U1: undefined, + unnamed65___U2: undefined, + sprite___14390: undefined, + overSprites___14397: undefined, + overlapper___14405: undefined, + unnamed66___U6: undefined, + unnamed67___U7: undefined, + thisKind___14411: undefined, + otherKind___14415: undefined, + higher___14428: undefined, + lower___14437: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30312,7 +30312,7 @@ function ArcadePhysicsEngine_spriteCollisions__P87492_mk(s) { -function forEach_inline__P97800(s) { +function forEach_inline__P14457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30369,12 +30369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P97800.info = {"start":10817,"length":137,"line":328,"column":32,"endLine":329,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P14457.info = {"start":10817,"length":137,"line":328,"column":32,"endLine":329,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P97800_mk(s) { +function forEach_inline__P14457_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P97800, depth: s.depth + 1, + parent: s, fn: forEach_inline__P14457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30392,7 +30392,7 @@ function forEach_inline__P97800_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P97824(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P14481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30411,7 +30411,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__P97834); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P14491); 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]); @@ -30424,12 +30424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P97824.info = {"start":11014,"length":652,"line":331,"column":33,"endLine":342,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P14481.info = {"start":11014,"length":652,"line":331,"column":33,"endLine":342,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P97824_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P14481_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P97824, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P14481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30440,7 +30440,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P97824_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P97834(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P14491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30516,12 +30516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P97834.info = {"start":11135,"length":503,"line":333,"column":50,"endLine":341,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P14491.info = {"start":11135,"length":503,"line":333,"column":50,"endLine":341,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P97834_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P14491_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P97834, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P14491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30542,7 +30542,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P97834_mk(s) { -function sprites_SpriteMap_overlaps__P85515(s) { +function sprites_SpriteMap_overlaps__P2172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30552,47 +30552,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___97868 = undefined; - s.o___97872 = undefined; + s.n___14525 = undefined; + s.o___14529 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P85514_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P2171_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 399; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___97868 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P97874); + s.n___14525 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P14531); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P83453_mk(s); - s.tmp_1.arg0 = s.n___97868; + s.tmp_1 = helpers_arrayFilter__P110_mk(s); + s.tmp_1.arg0 = s.n___14525; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 401; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___97872 = (r0); - r0 = s.o___97872; + s.o___14529 = (r0); + r0 = s.o___14529; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P85515.info = {"start":923,"length":189,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"overlaps","argumentNames":["this","sprite"]} +sprites_SpriteMap_overlaps__P2172.info = {"start":923,"length":189,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"overlaps","argumentNames":["this","sprite"]} -function sprites_SpriteMap_overlaps__P85515_mk(s) { +function sprites_SpriteMap_overlaps__P2172_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P85515, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P2172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___97868: undefined, - o___97872: undefined, + n___14525: undefined, + o___14529: undefined, arg0: undefined, arg1: undefined, } } @@ -30601,7 +30601,7 @@ function sprites_SpriteMap_overlaps__P85515_mk(s) { -function o_inline__P97874(s) { +function o_inline__P14531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30615,7 +30615,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P85498_mk(s); + s.tmp_0 = Sprite_overlapsWith__P2155_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 400; s.pc = 1; return s.tmp_0; @@ -30624,12 +30624,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P97874.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__P14531.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__P97874_mk(s) { +function o_inline__P14531_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P97874, depth: s.depth + 1, + parent: s, fn: o_inline__P14531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30639,7 +30639,7 @@ function o_inline__P97874_mk(s) { -function sprites_SpriteMap_neighbors__P85514(s) { +function sprites_SpriteMap_neighbors__P2171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30649,112 +30649,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___97912 = undefined; - s.layer___97914 = undefined; + s.n___14569 = undefined; + s.layer___14571 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___97912 = (r0); + s.n___14569 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___97914 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P87456_mk(s); + s.layer___14571 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4113_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P85477_mk(s); + s.tmp_1 = Sprite_left__P2134_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 387; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P85481_mk(s); + s.tmp_2 = Sprite_top__P2138_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 388; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___97914; - s.tmp_0.arg4 = s.n___97912; + s.tmp_0.arg3 = s.layer___14571; + s.tmp_0.arg4 = s.n___14569; s.callLocIdx = 389; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P87456_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4113_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P85477_mk(s); + s.tmp_1 = Sprite_left__P2134_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 390; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P85483_mk(s); + s.tmp_2 = Sprite_bottom__P2140_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 391; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___97914; - s.tmp_0.arg4 = s.n___97912; + s.tmp_0.arg3 = s.layer___14571; + s.tmp_0.arg4 = s.n___14569; s.callLocIdx = 392; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P87456_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4113_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P85479_mk(s); + s.tmp_1 = Sprite_right__P2136_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 393; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P85481_mk(s); + s.tmp_2 = Sprite_top__P2138_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 394; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___97914; - s.tmp_0.arg4 = s.n___97912; + s.tmp_0.arg3 = s.layer___14571; + s.tmp_0.arg4 = s.n___14569; s.callLocIdx = 395; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P87456_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4113_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P85479_mk(s); + s.tmp_1 = Sprite_right__P2136_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 396; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P85483_mk(s); + s.tmp_2 = Sprite_bottom__P2140_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 397; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___97914; - s.tmp_0.arg4 = s.n___97912; + s.tmp_0.arg3 = s.layer___14571; + s.tmp_0.arg4 = s.n___14569; s.callLocIdx = 398; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___97912, s.arg1); - r0 = s.n___97912; + r0 = pxsim_Array_.removeElement(s.n___14569, s.arg1); + r0 = s.n___14569; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P85514.info = {"start":376,"length":442,"line":15,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"neighbors","argumentNames":["this","sprite"]} +sprites_SpriteMap_neighbors__P2171.info = {"start":376,"length":442,"line":15,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"neighbors","argumentNames":["this","sprite"]} -function sprites_SpriteMap_neighbors__P85514_mk(s) { +function sprites_SpriteMap_neighbors__P2171_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P85514, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P2171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___97912: undefined, - layer___97914: undefined, + n___14569: undefined, + layer___14571: undefined, arg0: undefined, arg1: undefined, } } @@ -30763,7 +30763,7 @@ function sprites_SpriteMap_neighbors__P85514_mk(s) { -function sprites_SpriteMap_mergeAtKey__P87456(s) { +function sprites_SpriteMap_mergeAtKey__P4113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30773,11 +30773,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___97967 = undefined; - s.bucket___97972 = undefined; - s.sprite___97979 = undefined; - s.unnamed460___U3 = undefined; - s.unnamed461___U4 = undefined; + s.k___14624 = undefined; + s.bucket___14629 = undefined; + s.sprite___14636 = undefined; + s.unnamed60___U3 = undefined; + s.unnamed61___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30787,33 +30787,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P87454_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P4111_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 425; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___97967 = (r0); + s.k___14624 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___97967); - s.bucket___97972 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___97972); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___14624); + s.bucket___14629 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___14629); if (!r0) { step = 7; continue; } - s.sprite___97979 = (undefined); - s.unnamed460___U3 = (s.bucket___97972); - s.unnamed461___U4 = (0); + s.sprite___14636 = (undefined); + s.unnamed60___U3 = (s.bucket___14629); + s.unnamed61___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed461___U4; - r0 = pxsim_Array__length(s.unnamed460___U3); + s.tmp_0 = r0 = s.unnamed61___U4; + r0 = pxsim_Array__length(s.unnamed60___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed460___U3, s.unnamed461___U4); - s.sprite___97979 = (r0); - r0 = s.sprite___97979.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed60___U3, s.unnamed61___U4); + s.sprite___14636 = (r0); + r0 = s.sprite___14636.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -30822,7 +30822,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___97979, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___14636, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -30830,26 +30830,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___97979); + r0 = pxsim_Array__push(s.arg4, s.sprite___14636); case 4: case 5: - r0 = (s.unnamed461___U4 + 1); - s.unnamed461___U4 = (r0); + r0 = (s.unnamed61___U4 + 1); + s.unnamed61___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed460___U3 = (undefined); + s.unnamed60___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P87456.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__P4113.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__P87456_mk(s) { +function sprites_SpriteMap_mergeAtKey__P4113_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P87456, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P4113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30857,11 +30857,11 @@ function sprites_SpriteMap_mergeAtKey__P87456_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___97967: undefined, - bucket___97972: undefined, - sprite___97979: undefined, - unnamed460___U3: undefined, - unnamed461___U4: undefined, + k___14624: undefined, + bucket___14629: undefined, + sprite___14636: undefined, + unnamed60___U3: undefined, + unnamed61___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30873,7 +30873,7 @@ function sprites_SpriteMap_mergeAtKey__P87456_mk(s) { -function sprites_SpriteMap_key__P87454(s) { +function sprites_SpriteMap_key__P4111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30883,8 +30883,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___98000 = undefined; - s.yi___98012 = undefined; + s.xi___14657 = undefined; + s.yi___14669 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30892,8 +30892,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P83470_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -30904,8 +30904,8 @@ switch (step) { s.callLocIdx = 413; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___98000 = (r0); - s.tmp_0 = Math_clamp__P83470_mk(s); + s.xi___14657 = (r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -30916,28 +30916,28 @@ switch (step) { s.callLocIdx = 414; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___98012 = (r0); - s.tmp_0 = r0 = s.xi___98000; + s.yi___14669 = (r0); + s.tmp_0 = r0 = s.xi___14657; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___98012 * s.tmp_2); + r0 = (s.yi___14669 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P87454.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__P4111.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__P87454_mk(s) { +function sprites_SpriteMap_key__P4111_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P87454, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P4111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___98000: undefined, - yi___98012: undefined, + xi___14657: undefined, + yi___14669: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30947,7 +30947,7 @@ function sprites_SpriteMap_key__P87454_mk(s) { -function Sprite_bottom__P85483(s) { +function Sprite_bottom__P2140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30962,8 +30962,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P85481_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P2138_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 282; s.pc = 1; return s.tmp_1; case 1: @@ -30977,13 +30977,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P85483.info = {"start":10378,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P85483.isGetter = true; +Sprite_bottom__P2140.info = {"start":10378,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P2140.isGetter = true; -function Sprite_bottom__P85483_mk(s) { +function Sprite_bottom__P2140_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P85483, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30996,7 +30996,7 @@ function Sprite_bottom__P85483_mk(s) { -function Sprite_height__P85476(s) { +function Sprite_height__P2133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31011,20 +31011,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Sprite_height__P85476.info = {"start":8934,"length":54,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P85476.isGetter = true; +Sprite_height__P2133.info = {"start":8934,"length":54,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P2133.isGetter = true; -function Sprite_height__P85476_mk(s) { +function Sprite_height__P2133_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P85476, depth: s.depth + 1, + parent: s, fn: Sprite_height__P2133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31034,7 +31034,7 @@ function Sprite_height__P85476_mk(s) { -function Sprite_right__P85479(s) { +function Sprite_right__P2136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31049,8 +31049,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P85477_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P2134_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 274; s.pc = 1; return s.tmp_1; case 1: @@ -31064,13 +31064,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P85479.info = {"start":9574,"length":57,"line":345,"column":4,"endLine":347,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P85479.isGetter = true; +Sprite_right__P2136.info = {"start":9574,"length":57,"line":345,"column":4,"endLine":347,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P2136.isGetter = true; -function Sprite_right__P85479_mk(s) { +function Sprite_right__P2136_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P85479, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31083,7 +31083,7 @@ function Sprite_right__P85479_mk(s) { -function Sprite_overlapsWith__P85498(s) { +function Sprite_overlapsWith__P2155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31099,7 +31099,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -31132,13 +31132,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P85477_mk(s); + s.tmp_9 = Sprite_left__P2134_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 350; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P85477_mk(s); + s.tmp_11 = Sprite_left__P2134_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 351; s.pc = 9; return s.tmp_11; case 9: @@ -31146,13 +31146,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P85481_mk(s); + s.tmp_14 = Sprite_top__P2138_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 352; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P85481_mk(s); + s.tmp_16 = Sprite_top__P2138_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 353; s.pc = 11; return s.tmp_16; case 11: @@ -31165,12 +31165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P85498.info = {"start":21302,"length":380,"line":692,"column":4,"endLine":700,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P2155.info = {"start":21302,"length":380,"line":692,"column":4,"endLine":700,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P85498_mk(s) { +function Sprite_overlapsWith__P2155_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P85498, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P2155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31197,7 +31197,7 @@ function Sprite_overlapsWith__P85498_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P87491(s) { +function ArcadePhysicsEngine_createMovingSprite__P4148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31207,16 +31207,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___98220 = undefined; - s.ovy___98225 = undefined; - s.fx___98252 = undefined; - s.c___98259 = undefined; - s.fy___98302 = undefined; - s.c___98309 = undefined; - s.dx___98348 = undefined; - s.dy___98361 = undefined; - s.xStep___98374 = undefined; - s.yStep___98376 = undefined; + s.ovx___14877 = undefined; + s.ovy___14882 = undefined; + s.fx___14909 = undefined; + s.c___14916 = undefined; + s.fy___14959 = undefined; + s.c___14966 = undefined; + s.dx___15005 = undefined; + s.dy___15018 = undefined; + s.xStep___15031 = undefined; + s.yStep___15033 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31225,23 +31225,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P87496_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4153_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 484; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___98220 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P87496_mk(s); + s.ovx___14877 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4153_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 485; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___98225 = (r0); + s.ovy___14882 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -31275,21 +31275,21 @@ 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___98252 = (r0); + s.fx___14909 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___98252); - s.c___98259 = (r0); - r0 = (s.c___98259 < 0); + r0 = (s.tmp_0 - s.fx___14909); + s.c___14916 = (r0); + r0 = (s.c___14916 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P83509_mk(s); + s.tmp_3 = Fx_min__P166_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___98252); + r0 = (s.tmp_4 + s.fx___14909); s.tmp_3.arg1 = r0; s.callLocIdx = 493; s.pc = 27; return s.tmp_3; case 27: @@ -31298,16 +31298,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___98259 > 0); + r0 = (s.c___14916 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P83510_mk(s); + s.tmp_3 = Fx_max__P167_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___98252); + r0 = (s.tmp_4 - s.fx___14909); s.tmp_3.arg1 = r0; s.callLocIdx = 495; s.pc = 28; return s.tmp_3; case 28: @@ -31349,21 +31349,21 @@ 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___98302 = (r0); + s.fy___14959 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___98302); - s.c___98309 = (r0); - r0 = (s.c___98309 < 0); + r0 = (s.tmp_0 - s.fy___14959); + s.c___14966 = (r0); + r0 = (s.c___14966 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P83509_mk(s); + s.tmp_3 = Fx_min__P166_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___98302); + r0 = (s.tmp_4 + s.fy___14959); s.tmp_3.arg1 = r0; s.callLocIdx = 503; s.pc = 29; return s.tmp_3; case 29: @@ -31372,16 +31372,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___98309 > 0); + r0 = (s.c___14966 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P83510_mk(s); + s.tmp_3 = Fx_max__P167_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___98302); + r0 = (s.tmp_4 - s.fy___14959); s.tmp_3.arg1 = r0; s.callLocIdx = 505; s.pc = 30; return s.tmp_3; case 30: @@ -31397,7 +31397,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P87496_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4153_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -31407,7 +31407,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P87496_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4153_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -31418,7 +31418,7 @@ switch (step) { r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___98220); + r0 = (s.tmp_4 + s.ovx___14877); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -31429,10 +31429,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___98348 = (r0); + s.dx___15005 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___98225); + r0 = (s.tmp_4 + s.ovy___14882); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -31443,12 +31443,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___98361 = (r0); - s.xStep___98374 = (s.dx___98348); - s.yStep___98376 = (s.dy___98361); + s.dy___15018 = (r0); + s.xStep___15031 = (s.dx___15005); + s.yStep___15033 = (s.dy___15018); case 17: - s.tmp_2 = Fx_abs__P83508_mk(s); - s.tmp_2.arg0 = s.xStep___98374; + s.tmp_2 = Fx_abs__P165_mk(s); + s.tmp_2.arg0 = s.xStep___15031; s.callLocIdx = 514; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -31462,8 +31462,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P83508_mk(s); - s.tmp_5.arg0 = s.yStep___98376; + s.tmp_5 = Fx_abs__P165_mk(s); + s.tmp_5.arg0 = s.yStep___15033; s.callLocIdx = 515; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -31476,8 +31476,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P83508_mk(s); - s.tmp_10.arg0 = s.xStep___98374; + s.tmp_10 = Fx_abs__P165_mk(s); + s.tmp_10.arg0 = s.xStep___15031; s.callLocIdx = 516; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -31488,12 +31488,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___98374, 2); - s.xStep___98374 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___15031, 2); + s.xStep___15031 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P83508_mk(s); - s.tmp_2.arg0 = s.yStep___98376; + s.tmp_2 = Fx_abs__P165_mk(s); + s.tmp_2.arg0 = s.yStep___15033; s.callLocIdx = 518; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -31504,25 +31504,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___98376, 2); - s.yStep___98376 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___15033, 2); + s.yStep___15033 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C85591_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2248_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P85592_mk(s); + s.tmp_1 = MovingSprite_constructor__P2249_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; s.tmp_1.arg2 = r0; r0 = s.arg1.fields["_vy"]; s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.dx___98348; - s.tmp_1.arg5 = s.dy___98361; - s.tmp_1.arg6 = s.xStep___98374; - s.tmp_1.arg7 = s.yStep___98376; + s.tmp_1.arg4 = s.dx___15005; + s.tmp_1.arg5 = s.dy___15018; + s.tmp_1.arg6 = s.xStep___15031; + s.tmp_1.arg7 = s.yStep___15033; s.callLocIdx = 520; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -31530,12 +31530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P87491.info = {"start":6637,"length":2805,"line":210,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P4148.info = {"start":6637,"length":2805,"line":210,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P87491_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P4148_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P87491, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31549,16 +31549,16 @@ function ArcadePhysicsEngine_createMovingSprite__P87491_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___98220: undefined, - ovy___98225: undefined, - fx___98252: undefined, - c___98259: undefined, - fy___98302: undefined, - c___98309: undefined, - dx___98348: undefined, - dy___98361: undefined, - xStep___98374: undefined, - yStep___98376: undefined, + ovx___14877: undefined, + ovy___14882: undefined, + fx___14909: undefined, + c___14916: undefined, + fy___14959: undefined, + c___14966: undefined, + dx___15005: undefined, + dy___15018: undefined, + xStep___15031: undefined, + yStep___15033: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31569,7 +31569,7 @@ function ArcadePhysicsEngine_createMovingSprite__P87491_mk(s) { -function ArcadePhysicsEngine_constrain__P87496(s) { +function ArcadePhysicsEngine_constrain__P4153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31585,9 +31585,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P83510_mk(s); - s.tmp_1 = Fx_min__P83509_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P167_mk(s); + s.tmp_1 = Fx_min__P166_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -31603,12 +31603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P87496.info = {"start":26048,"length":193,"line":730,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P4153.info = {"start":26048,"length":193,"line":730,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P87496_mk(s) { +function ArcadePhysicsEngine_constrain__P4153_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P87496, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P4153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31620,7 +31620,7 @@ function ArcadePhysicsEngine_constrain__P87496_mk(s) { -function Fx_max__P83510(s) { +function Fx_max__P167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31651,12 +31651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P83510.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} +Fx_max__P167.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} -function Fx_max__P83510_mk(s) { +function Fx_max__P167_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P83510, depth: s.depth + 1, + parent: s, fn: Fx_max__P167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31667,7 +31667,7 @@ function Fx_max__P83510_mk(s) { -function Fx_compare__P83507(s) { +function Fx_compare__P164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31686,12 +31686,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P83507.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} +Fx_compare__P164.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} -function Fx_compare__P83507_mk(s) { +function Fx_compare__P164_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P83507, depth: s.depth + 1, + parent: s, fn: Fx_compare__P164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31701,7 +31701,7 @@ function Fx_compare__P83507_mk(s) { -function sprites_SpriteMap_insertAABB__P85519(s) { +function sprites_SpriteMap_insertAABB__P2176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31711,31 +31711,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___98032 = undefined; - s.top___98035 = undefined; - s.xn___98038 = undefined; - s.yn___98049 = undefined; - s.x___98060 = undefined; - s.y___98065 = undefined; + s.left___14689 = undefined; + s.top___14692 = undefined; + s.xn___14695 = undefined; + s.yn___14706 = undefined; + s.x___14717 = undefined; + s.y___14722 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P85477_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2134_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 416; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___98032 = (r0); - s.tmp_0 = Sprite_top__P85481_mk(s); + s.left___14689 = (r0); + s.tmp_0 = Sprite_top__P2138_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 417; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___98035 = (r0); + s.top___14692 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -31749,7 +31749,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___98038 = (r0); + s.xn___14695 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -31763,30 +31763,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___98049 = (r0); - s.x___98060 = (0); + s.yn___14706 = (r0); + s.x___14717 = (0); case 1: - r0 = (s.x___98060 <= s.xn___98038); + r0 = (s.x___14717 <= s.xn___14695); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___98065 = (0); + s.y___14722 = (0); case 2: - r0 = (s.y___98065 <= s.yn___98049); + r0 = (s.y___14722 <= s.yn___14706); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P87455_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P4112_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___98032; - s.tmp_4 = Math_min__P83474_mk(s); + s.tmp_2 = r0 = s.left___14689; + s.tmp_4 = Math_min__P131_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___98060 * s.tmp_6); + r0 = (s.x___14717 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 421; s.pc = 8; return s.tmp_4; case 8: @@ -31794,15 +31794,15 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___98035; - s.tmp_9 = Math_min__P83474_mk(s); + s.tmp_7 = r0 = s.top___14692; + s.tmp_9 = Math_min__P131_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___98065 * s.tmp_11); + r0 = (s.y___14722 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 423; s.pc = 9; return s.tmp_9; case 9: @@ -31814,24 +31814,24 @@ switch (step) { s.callLocIdx = 424; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___98065 + 1); - s.y___98065 = (r0); + r0 = (s.y___14722 + 1); + s.y___14722 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___98060 + 1); - s.x___98060 = (r0); + r0 = (s.x___14717 + 1); + s.x___14717 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P85519.info = {"start":3184,"length":521,"line":91,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"insertAABB","argumentNames":["this","sprite"]} +sprites_SpriteMap_insertAABB__P2176.info = {"start":3184,"length":521,"line":91,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"insertAABB","argumentNames":["this","sprite"]} -function sprites_SpriteMap_insertAABB__P85519_mk(s) { +function sprites_SpriteMap_insertAABB__P2176_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P85519, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P2176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31845,12 +31845,12 @@ function sprites_SpriteMap_insertAABB__P85519_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___98032: undefined, - top___98035: undefined, - xn___98038: undefined, - yn___98049: undefined, - x___98060: undefined, - y___98065: undefined, + left___14689: undefined, + top___14692: undefined, + xn___14695: undefined, + yn___14706: undefined, + x___14717: undefined, + y___14722: undefined, arg0: undefined, arg1: undefined, } } @@ -31859,7 +31859,7 @@ function sprites_SpriteMap_insertAABB__P85519_mk(s) { -function sprites_SpriteMap_insertAtKey__P87455(s) { +function sprites_SpriteMap_insertAtKey__P4112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31869,8 +31869,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___98100 = undefined; - s.bucket___98105 = undefined; + s.k___14757 = undefined; + s.bucket___14762 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31879,20 +31879,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P87454_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P4111_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 415; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___98100 = (r0); + s.k___14757 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___98100); - s.bucket___98105 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___98105); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___14757); + s.bucket___14762 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___14762); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31900,40 +31900,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___98100; + s.tmp_3 = r0 = s.k___14757; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___98105 = (s.tmp_4); + s.bucket___14762 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___98105, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___14762, 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___98105, s.arg3); + r0 = pxsim_Array__push(s.bucket___14762, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P87455.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__P4112.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__P87455_mk(s) { +function sprites_SpriteMap_insertAtKey__P4112_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P87455, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P4112, 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___98100: undefined, - bucket___98105: undefined, + k___14757: undefined, + bucket___14762: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31944,7 +31944,7 @@ function sprites_SpriteMap_insertAtKey__P87455_mk(s) { -function sprites_SpriteMap_clear__P85518(s) { +function sprites_SpriteMap_clear__P2175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31959,7 +31959,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -31968,12 +31968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P85518.info = {"start":2532,"length":50,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"clear","argumentNames":["this"]} +sprites_SpriteMap_clear__P2175.info = {"start":2532,"length":50,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"clear","argumentNames":["this"]} -function sprites_SpriteMap_clear__P85518_mk(s) { +function sprites_SpriteMap_clear__P2175_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P85518, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P2175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31984,7 +31984,7 @@ function sprites_SpriteMap_clear__P85518_mk(s) { -function sprites_SpriteMap_resizeBuckets__P85517(s) { +function sprites_SpriteMap_resizeBuckets__P2174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31994,107 +31994,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___98143 = undefined; - s.maxHeight___98144 = undefined; - s.sprite___98146 = undefined; - s.unnamed458___U3 = undefined; - s.unnamed459___U4 = undefined; - s.tMap___98162 = undefined; - s.areaWidth___98166 = undefined; - s.areaHeight___98173 = undefined; + s.maxWidth___14800 = undefined; + s.maxHeight___14801 = undefined; + s.sprite___14803 = undefined; + s.unnamed58___U3 = undefined; + s.unnamed59___U4 = undefined; + s.tMap___14819 = undefined; + s.areaWidth___14823 = undefined; + s.areaHeight___14830 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.maxWidth___98143 = (0); - s.maxHeight___98144 = (0); - s.sprite___98146 = (undefined); - s.unnamed458___U3 = (s.arg1); - s.unnamed459___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.maxWidth___14800 = (0); + s.maxHeight___14801 = (0); + s.sprite___14803 = (undefined); + s.unnamed58___U3 = (s.arg1); + s.unnamed59___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed459___U4; - r0 = pxsim_Array__length(s.unnamed458___U3); + s.tmp_0 = r0 = s.unnamed59___U4; + r0 = pxsim_Array__length(s.unnamed58___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed458___U3, s.unnamed459___U4); - s.sprite___98146 = (r0); - r0 = s.sprite___98146.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed58___U3, s.unnamed59___U4); + s.sprite___14803 = (r0); + r0 = s.sprite___14803.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___98143); + r0 = (s.tmp_3 > s.maxWidth___14800); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___98146.fields["_image"]; + r0 = s.sprite___14803.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___98143 = (r0); + s.maxWidth___14800 = (r0); case 2: case 3: - r0 = s.sprite___98146.fields["_image"]; + r0 = s.sprite___14803.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___98144); + r0 = (s.tmp_1 > s.maxHeight___14801); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___98146.fields["_image"]; + r0 = s.sprite___14803.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___98144 = (r0); + s.maxHeight___14801 = (r0); case 4: case 5: - r0 = (s.unnamed459___U4 + 1); - s.unnamed459___U4 = (r0); + r0 = (s.unnamed59___U4 + 1); + s.unnamed59___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed458___U3 = (undefined); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.unnamed58___U3 = (undefined); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 408; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___98162 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___98162); + s.tMap___14819 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___14819); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P85746_mk(s); - s.tmp_0.arg0 = s.tMap___98162; + s.tmp_0 = tiles_TileMap_areaWidth__P2403_mk(s); + s.tmp_0.arg0 = s.tMap___14819; s.callLocIdx = 409; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___98166 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___98162); + s.areaWidth___14823 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___14819); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P85747_mk(s); - s.tmp_0.arg0 = s.tMap___98162; + s.tmp_0 = tiles_TileMap_areaHeight__P2404_mk(s); + s.tmp_0.arg0 = s.tMap___14819; s.callLocIdx = 410; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___98173 = (s.tmp_1); + s.areaHeight___14830 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P83470_mk(s); + s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___98166 >> 2); + r0 = (s.areaWidth___14823 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___98143 * 2); + r0 = (s.maxWidth___14800 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 411; s.pc = 14; return s.tmp_2; case 14: @@ -32102,11 +32102,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P83470_mk(s); + s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___98173 >> 2); + r0 = (s.areaHeight___14830 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___98144 * 2); + r0 = (s.maxHeight___14801 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 412; s.pc = 15; return s.tmp_2; case 15: @@ -32116,25 +32116,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___98173, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___14830, 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___98166, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___14823, s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["columnCount"] = (s.tmp_1); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_resizeBuckets__P85517.info = {"start":1696,"length":826,"line":52,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"resizeBuckets","argumentNames":["this","sprites"]} +sprites_SpriteMap_resizeBuckets__P2174.info = {"start":1696,"length":826,"line":52,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"resizeBuckets","argumentNames":["this","sprites"]} -function sprites_SpriteMap_resizeBuckets__P85517_mk(s) { +function sprites_SpriteMap_resizeBuckets__P2174_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P85517, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P2174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32142,14 +32142,14 @@ function sprites_SpriteMap_resizeBuckets__P85517_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___98143: undefined, - maxHeight___98144: undefined, - sprite___98146: undefined, - unnamed458___U3: undefined, - unnamed459___U4: undefined, - tMap___98162: undefined, - areaWidth___98166: undefined, - areaHeight___98173: undefined, + maxWidth___14800: undefined, + maxHeight___14801: undefined, + sprite___14803: undefined, + unnamed58___U3: undefined, + unnamed59___U4: undefined, + tMap___14819: undefined, + areaWidth___14823: undefined, + areaHeight___14830: undefined, arg0: undefined, arg1: undefined, } } @@ -32158,7 +32158,7 @@ function sprites_SpriteMap_resizeBuckets__P85517_mk(s) { -function Sprite_clearObstacles__P85502(s) { +function Sprite_clearObstacles__P2159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32173,7 +32173,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -32182,12 +32182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P85502.info = {"start":23644,"length":54,"line":757,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P2159.info = {"start":23644,"length":54,"line":757,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P85502_mk(s) { +function Sprite_clearObstacles__P2159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P85502, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P2159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32198,7 +32198,7 @@ function Sprite_clearObstacles__P85502_mk(s) { -function Fx_idiv__P83506(s) { +function Fx_idiv__P163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32217,12 +32217,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P83506.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} +Fx_idiv__P163.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} -function Fx_idiv__P83506_mk(s) { +function Fx_idiv__P163_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P83506, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32232,7 +32232,7 @@ function Fx_idiv__P83506_mk(s) { -function Fx_div__P83505(s) { +function Fx_div__P162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32253,12 +32253,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P83505.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} +Fx_div__P162.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} -function Fx_div__P83505_mk(s) { +function Fx_div__P162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P83505, depth: s.depth + 1, + parent: s, fn: Fx_div__P162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32269,7 +32269,7 @@ function Fx_div__P83505_mk(s) { -function helpers_arrayMap__P83449(s) { +function helpers_arrayMap__P106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32279,58 +32279,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___98445 = undefined; - s.len___98447 = undefined; - s.i___98450 = undefined; + s.res___15102 = undefined; + s.len___15104 = undefined; + s.i___15107 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___98445 = (r0); + s.res___15102 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___98447 = (r0); - s.i___98450 = (0); + s.len___15104 = (r0); + s.i___15107 = (0); case 1: - r0 = (s.i___98450 < s.len___98447); + r0 = (s.i___15107 < s.len___15104); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___98445; + s.tmp_1 = r0 = s.res___15102; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___98450); + r0 = pxsim_Array__getAt(s.arg0, s.i___15107); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___98450; + s.tmp_3.arg1 = s.i___15107; 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___98450 + 1); - s.i___98450 = (r0); + r0 = (s.i___15107 + 1); + s.i___15107 = (r0); { step = 1; continue; } case 2: - r0 = s.res___98445; + r0 = s.res___15102; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P83449.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P106.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -function helpers_arrayMap__P83449_mk(s) { +function helpers_arrayMap__P106_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P83449, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P106, 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, - res___98445: undefined, - len___98447: undefined, - i___98450: undefined, + res___15102: undefined, + len___15104: undefined, + i___15107: undefined, arg0: undefined, arg1: undefined, } } @@ -32339,7 +32339,7 @@ function helpers_arrayMap__P83449_mk(s) { -function ArcadePhysicsEngine_draw__P85604(s) { +function ArcadePhysicsEngine_draw__P2261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32354,8 +32354,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P85516_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P2173_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 450; s.pc = 1; return s.tmp_0; @@ -32365,12 +32365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P85604.info = {"start":2777,"length":39,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P2261.info = {"start":2777,"length":39,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function ArcadePhysicsEngine_draw__P85604_mk(s) { +function ArcadePhysicsEngine_draw__P2261_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P85604, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P2261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32380,7 +32380,7 @@ function ArcadePhysicsEngine_draw__P85604_mk(s) { -function sprites_SpriteMap_draw__P85516(s) { +function sprites_SpriteMap_draw__P2173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32390,70 +32390,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___98471 = undefined; - s.y___98477 = undefined; - s.left___98483 = undefined; - s.top___98488 = undefined; - s.k___98493 = undefined; - s.b___98498 = undefined; + s.x___15128 = undefined; + s.y___15134 = undefined; + s.left___15140 = undefined; + s.top___15145 = undefined; + s.k___15150 = undefined; + s.b___15155 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C85512_VT)) failedCast(r0); - s.x___98471 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2169_VT)) failedCast(r0); + s.x___15128 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___98471 < s.tmp_1); + r0 = (s.x___15128 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___98477 = (0); + s.y___15134 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___98477 < s.tmp_1); + r0 = (s.y___15134 < 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___98471 * s.tmp_2); - s.left___98483 = (r0); + r0 = (s.x___15128 * s.tmp_2); + s.left___15140 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___98477 * s.tmp_0); - s.top___98488 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P87454_mk(s); + r0 = (s.y___15134 * s.tmp_0); + s.top___15145 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P4111_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___98483; - s.tmp_0.arg2 = s.top___98488; + s.tmp_0.arg1 = s.left___15140; + s.tmp_0.arg2 = s.top___15145; s.callLocIdx = 402; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___98493 = (r0); + s.k___15150 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___98493); - s.b___98498 = (r0); - s.tmp_0 = r0 = s.b___98498; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___15150); + s.b___15155 = (r0); + s.tmp_0 = r0 = s.b___15155; 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___98498); + r0 = pxsim_Array__length(s.b___15155); case 4: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_imageDrawRect__P85097_mk(s); - s.tmp_2.arg0 = globals.screen___85168; - s.tmp_2.arg1 = s.left___98483; - s.tmp_2.arg2 = s.top___98488; + s.tmp_2 = helpers_imageDrawRect__P1754_mk(s); + s.tmp_2.arg0 = globals.screen___1825; + s.tmp_2.arg1 = s.left___15140; + s.tmp_2.arg2 = s.top___15145; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -32464,34 +32464,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___98477 + 1); - s.y___98477 = (r0); + r0 = (s.y___15134 + 1); + s.y___15134 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___98471 + 1); - s.x___98471 = (r0); + r0 = (s.x___15128 + 1); + s.x___15128 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P85516.info = {"start":1122,"length":496,"line":36,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"draw","argumentNames":["this"]} +sprites_SpriteMap_draw__P2173.info = {"start":1122,"length":496,"line":36,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/spritemap.ts","functionName":"draw","argumentNames":["this"]} -function sprites_SpriteMap_draw__P85516_mk(s) { +function sprites_SpriteMap_draw__P2173_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P85516, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P2173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___98471: undefined, - y___98477: undefined, - left___98483: undefined, - top___98488: undefined, - k___98493: undefined, - b___98498: undefined, + x___15128: undefined, + y___15134: undefined, + left___15140: undefined, + top___15145: undefined, + k___15150: undefined, + b___15155: undefined, arg0: undefined, } } @@ -32499,7 +32499,7 @@ function sprites_SpriteMap_draw__P85516_mk(s) { -function ArcadePhysicsEngine_removeSprite__P85603(s) { +function ArcadePhysicsEngine_removeSprite__P2260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32515,7 +32515,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -32523,12 +32523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P85603.info = {"start":2691,"length":80,"line":104,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P2260.info = {"start":2691,"length":80,"line":104,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_removeSprite__P85603_mk(s) { +function ArcadePhysicsEngine_removeSprite__P2260_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P85603, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P2260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32539,7 +32539,7 @@ function ArcadePhysicsEngine_removeSprite__P85603_mk(s) { -function ArcadePhysicsEngine_addSprite__P85602(s) { +function ArcadePhysicsEngine_addSprite__P2259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32549,31 +32549,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___98535 = undefined; + s.tm___15192 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C85593_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2250_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 448; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___98535 = (r0); - s.tmp_0 = r0 = s.tm___98535; + s.tm___15192 = (r0); + s.tmp_0 = r0 = s.tm___15192; 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__P85761_mk(s); - s.tmp_1.arg0 = s.tm___98535; + s.tmp_1 = tiles_TileMap_isOnWall__P2418_mk(s); + s.tmp_1.arg0 = s.tm___15192; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 449; s.pc = 6; return s.tmp_1; case 6: @@ -32595,12 +32595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P85602.info = {"start":2465,"length":220,"line":96,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P2259.info = {"start":2465,"length":220,"line":96,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_addSprite__P85602_mk(s) { +function ArcadePhysicsEngine_addSprite__P2259_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P85602, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P2259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32608,7 +32608,7 @@ function ArcadePhysicsEngine_addSprite__P85602_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___98535: undefined, + tm___15192: undefined, arg0: undefined, arg1: undefined, } } @@ -32617,7 +32617,7 @@ function ArcadePhysicsEngine_addSprite__P85602_mk(s) { -function tiles_TileMapData_constructor__P85727(s) { +function tiles_TileMapData_constructor__P2384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32636,11 +32636,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = (s.arg0).fields["data"] = (s.arg1); r0 = (s.arg0).fields["layers"] = (s.arg2); r0 = (s.arg0).fields["tileset"] = (s.arg3); - s.tmp_0 = tiles_TileMapData_scale__P85731_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P2388_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 682; s.pc = 1; return s.tmp_0; @@ -32658,12 +32658,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P85727.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P2384.info = {"start":3293,"length":358,"line":125,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P85727_mk(s) { +function tiles_TileMapData_constructor__P2384_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P85727, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P2384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32678,7 +32678,7 @@ function tiles_TileMapData_constructor__P85727_mk(s) { -function tiles_TileMapData_scale__P85731(s) { +function tiles_TileMapData_scale__P2388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32694,7 +32694,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C85726_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2383_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -32704,12 +32704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P85731.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P2388.info = {"start":3885,"length":102,"line":147,"column":8,"endLine":150,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P85731_mk(s) { +function tiles_TileMapData_scale__P2388_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P85731, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32721,7 +32721,7 @@ function tiles_TileMapData_scale__P85731_mk(s) { -function tiles_TileMap_constructor__P85741(s) { +function tiles_TileMap_constructor__P2398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32737,19 +32737,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P85743_mk(s); + s.tmp_0 = tiles_TileMap_scale__P2400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 688; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P98596); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P15253); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = r0 = s.arg0; - s.tmp_3 = scene_createRenderable__P85799_mk(s); + s.tmp_3 = scene_createRenderable__P2456_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -32762,12 +32762,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P85741.info = {"start":5903,"length":268,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P2398.info = {"start":5903,"length":268,"line":211,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P85741_mk(s) { +function tiles_TileMap_constructor__P2398_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P85741, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P2398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32781,7 +32781,7 @@ function tiles_TileMap_constructor__P85741_mk(s) { -function tiles_TileMap_inline__P98596(s) { +function tiles_TileMap_inline__P15253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32796,7 +32796,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P87564_mk(s); + s.tmp_0 = tiles_TileMap_draw__P4221_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -32807,12 +32807,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P98596.info = {"start":6121,"length":25,"line":217,"column":16,"endLine":217,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +tiles_TileMap_inline__P15253.info = {"start":6121,"length":25,"line":217,"column":16,"endLine":217,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function tiles_TileMap_inline__P98596_mk(s) { +function tiles_TileMap_inline__P15253_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P98596, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P15253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32823,7 +32823,7 @@ function tiles_TileMap_inline__P98596_mk(s) { -function tiles_TileMap_draw__P87564(s) { +function tiles_TileMap_draw__P4221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32833,21 +32833,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___98607 = undefined; - s.offsetX___98613 = undefined; - s.offsetY___98618 = undefined; - s.x0___98623 = undefined; - s.xn___98630 = undefined; - s.y0___98647 = undefined; - s.yn___98654 = undefined; - s.x___98671 = undefined; - s.y___98677 = undefined; - s.index___98683 = undefined; - s.tile___98690 = undefined; - s.x___98726 = undefined; - s.xLine___98732 = undefined; - s.y___98758 = undefined; - s.yLine___98764 = undefined; + s.bitmask___15264 = undefined; + s.offsetX___15270 = undefined; + s.offsetY___15275 = undefined; + s.x0___15280 = undefined; + s.xn___15287 = undefined; + s.y0___15304 = undefined; + s.yn___15311 = undefined; + s.x___15328 = undefined; + s.y___15334 = undefined; + s.index___15340 = undefined; + s.tile___15347 = undefined; + s.x___15383 = undefined; + s.xLine___15389 = undefined; + s.y___15415 = undefined; + s.yLine___15421 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32855,7 +32855,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -32880,16 +32880,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___98607 = (r0); + s.bitmask___15264 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___98607); - s.offsetX___98613 = (r0); + r0 = (s.tmp_0 & s.bitmask___15264); + s.offsetX___15270 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___98607); - s.offsetY___98618 = (r0); - s.tmp_0 = Math_max__P83473_mk(s); + r0 = (s.tmp_0 & s.bitmask___15264); + s.offsetY___15275 = (r0); + s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -32900,8 +32900,8 @@ switch (step) { s.callLocIdx = 708; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___98623 = (r0); - s.tmp_0 = Math_min__P83474_mk(s); + s.x0___15280 = (r0); + s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -32921,8 +32921,8 @@ switch (step) { s.callLocIdx = 711; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___98630 = (r0); - s.tmp_0 = Math_max__P83473_mk(s); + s.xn___15287 = (r0); + s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -32933,8 +32933,8 @@ switch (step) { s.callLocIdx = 713; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___98647 = (r0); - s.tmp_0 = Math_min__P83474_mk(s); + s.y0___15304 = (r0); + s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -32954,92 +32954,92 @@ switch (step) { s.callLocIdx = 716; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___98654 = (r0); - s.x___98671 = (s.x0___98623); + s.yn___15311 = (r0); + s.x___15328 = (s.x0___15280); case 3: - r0 = (s.x___98671 <= s.xn___98630); + r0 = (s.x___15328 <= s.xn___15287); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___98677 = (s.y0___98647); + s.y___15334 = (s.y0___15304); case 4: - r0 = (s.y___98677 <= s.yn___98654); + r0 = (s.y___15334 <= s.yn___15311); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P85732_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P2389_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___98671; - s.tmp_1.arg2 = s.y___98677; + s.tmp_1.arg1 = s.x___15328; + s.tmp_1.arg2 = s.y___15334; s.callLocIdx = 717; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___98683 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P85735_mk(s); + s.index___15340 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2392_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___98683; + s.tmp_0.arg1 = s.index___15340; s.callLocIdx = 718; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___98690 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___98690); + s.tile___15347 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___15347); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___98690; - r0 = (s.x___98671 - s.x0___98623); + s.tmp_1 = r0 = s.tile___15347; + r0 = (s.x___15328 - s.x0___15280); 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___98613); + r0 = (s.tmp_3 - s.offsetX___15270); s.tmp_2 = r0; - r0 = (s.y___98677 - s.y0___98647); + r0 = (s.y___15334 - s.y0___15304); 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___98618); + r0 = (s.tmp_7 - s.offsetY___15275); 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___98677 + 1); - s.y___98677 = (r0); + r0 = (s.y___15334 + 1); + s.y___15334 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___98671 + 1); - s.x___98671 = (r0); + r0 = (s.x___15328 + 1); + s.x___15328 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___85944); + r0 = pxsim_numops_toBoolDecr(globals.debug___2601); if (!r0) { step = 21; continue; } - s.x___98726 = (s.x0___98623); + s.x___15383 = (s.x0___15280); case 9: - r0 = (s.x___98726 <= s.xn___98630); + r0 = (s.x___15383 <= s.xn___15287); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___98726 - s.x0___98623); + r0 = (s.x___15383 - s.x0___15280); 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___98613); - s.xLine___98732 = (r0); - r0 = (s.xLine___98732 >= 0); + r0 = (s.tmp_1 - s.offsetX___15270); + s.xLine___15389 = (r0); + r0 = (s.xLine___15389 >= 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___98732; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + s.tmp_1 = r0 = s.xLine___15389; + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -33047,11 +33047,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P85096_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1753_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___98732; + s.tmp_4.arg1 = s.xLine___15389; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___98732; + s.tmp_4.arg3 = s.xLine___15389; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -33060,33 +33060,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___98726 + 1); - s.x___98726 = (r0); + r0 = (s.x___15383 + 1); + s.x___15383 = (r0); { step = 9; continue; } case 14: - s.y___98758 = (s.y0___98647); + s.y___15415 = (s.y0___15304); case 15: - r0 = (s.y___98758 <= s.yn___98654); + r0 = (s.y___15415 <= s.yn___15311); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___98758 - s.y0___98647); + r0 = (s.y___15415 - s.y0___15304); 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___98618); - s.yLine___98764 = (r0); - r0 = (s.yLine___98764 >= 0); + r0 = (s.tmp_1 - s.offsetY___15275); + s.yLine___15421 = (r0); + r0 = (s.yLine___15421 >= 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___98764; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + s.tmp_1 = r0 = s.yLine___15421; + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -33094,21 +33094,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P85096_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1753_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___98764; + s.tmp_4.arg2 = s.yLine___15421; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___98764; + s.tmp_4.arg4 = s.yLine___15421; s.tmp_4.arg5 = 1; s.callLocIdx = 724; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___98758 + 1); - s.y___98758 = (r0); + r0 = (s.y___15415 + 1); + s.y___15415 = (r0); { step = 15; continue; } case 20: case 21: @@ -33118,12 +33118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P87564.info = {"start":10243,"length":2224,"line":348,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P4221.info = {"start":10243,"length":2224,"line":348,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P87564_mk(s) { +function tiles_TileMap_draw__P4221_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P87564, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P4221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33135,21 +33135,21 @@ function tiles_TileMap_draw__P87564_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___98607: undefined, - offsetX___98613: undefined, - offsetY___98618: undefined, - x0___98623: undefined, - xn___98630: undefined, - y0___98647: undefined, - yn___98654: undefined, - x___98671: undefined, - y___98677: undefined, - index___98683: undefined, - tile___98690: undefined, - x___98726: undefined, - xLine___98732: undefined, - y___98758: undefined, - yLine___98764: undefined, + bitmask___15264: undefined, + offsetX___15270: undefined, + offsetY___15275: undefined, + x0___15280: undefined, + xn___15287: undefined, + y0___15304: undefined, + yn___15311: undefined, + x___15328: undefined, + y___15334: undefined, + index___15340: undefined, + tile___15347: undefined, + x___15383: undefined, + xLine___15389: undefined, + y___15415: undefined, + yLine___15421: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33159,7 +33159,7 @@ function tiles_TileMap_draw__P87564_mk(s) { -function tiles_TileMap_scale__P85743(s) { +function tiles_TileMap_scale__P2400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33175,13 +33175,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tiles_TileMapData_scale__P85731_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P2388_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -33194,12 +33194,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P85743.info = {"start":6246,"length":144,"line":225,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P2400.info = {"start":6246,"length":144,"line":225,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P85743_mk(s) { +function tiles_TileMap_scale__P2400_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P85743, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33211,7 +33211,7 @@ function tiles_TileMap_scale__P85743_mk(s) { -function tiles_TileMap_data__P87562(s) { +function tiles_TileMap_data__P4219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33226,18 +33226,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C85739_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2396_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P87562.info = {"start":6400,"length":75,"line":232,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P87562.isGetter = true; +tiles_TileMap_data__P4219.info = {"start":6400,"length":75,"line":232,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P4219.isGetter = true; -function tiles_TileMap_data__P87562_mk(s) { +function tiles_TileMap_data__P4219_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P87562, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P4219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33246,7 +33246,7 @@ function tiles_TileMap_data__P87562_mk(s) { -function Sprite_toString__P85508(s) { +function Sprite_toString__P2165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33261,7 +33261,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -33279,7 +33279,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P85440_mk(s); + s.tmp_14 = Sprite_x__P2097_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 383; s.pc = 2; return s.tmp_14; case 2: @@ -33298,7 +33298,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P85442_mk(s); + s.tmp_17 = Sprite_y__P2099_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 384; s.pc = 4; return s.tmp_17; case 4: @@ -33317,7 +33317,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P85444_mk(s); + s.tmp_20 = Sprite_vx__P2101_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 6; return s.tmp_20; case 6: @@ -33336,7 +33336,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P85446_mk(s); + s.tmp_23 = Sprite_vy__P2103_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 8; return s.tmp_23; case 8: @@ -33357,12 +33357,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P85508.info = {"start":29970,"length":93,"line":924,"column":4,"endLine":926,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P2165.info = {"start":29970,"length":93,"line":924,"column":4,"endLine":926,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P85508_mk(s) { +function Sprite_toString__P2165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P85508, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P2165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33395,7 +33395,7 @@ function Sprite_toString__P85508_mk(s) { -function Sprite___update__P85494(s) { +function Sprite___update__P2151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33405,8 +33405,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___98863 = undefined; - s.tm___98868 = undefined; + s.bounce___15520 = undefined; + s.tm___15525 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33414,7 +33414,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -33436,7 +33436,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = Sprite__destroyCore__P85506_mk(s); + s.tmp_0 = Sprite__destroyCore__P2163_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 322; s.pc = 33; return s.tmp_0; case 33: @@ -33454,7 +33454,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P85492_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P2149_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 323; s.pc = 34; return s.tmp_2; @@ -33465,7 +33465,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P85505_mk(s); + s.tmp_4 = Sprite_destroy__P2162_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -33477,13 +33477,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___98863 = (r0); - s.tmp_0 = game_currentScene__P85948_mk(s); + s.bounce___15520 = (r0); + s.tmp_0 = game_currentScene__P2605_mk(s); s.callLocIdx = 325; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___98868 = (r0); + s.tm___15525 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -33493,13 +33493,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___98863; + s.tmp_2 = r0 = s.bounce___15520; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 10; continue; } r0 = s.tmp_2; { step = 11; continue; } case 10: - r0 = pxsim_numops_toBoolDecr(s.tm___98868); + r0 = pxsim_numops_toBoolDecr(s.tm___15525); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -33511,7 +33511,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P85477_mk(s); + s.tmp_8 = Sprite_left__P2134_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 326; s.pc = 37; return s.tmp_8; case 37: @@ -33523,18 +33523,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P85478_mk(s); + s.tmp_10 = Sprite_left__P2135_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 329; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___98863); + r0 = pxsim_numops_toBoolDecr(s.bounce___15520); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P85445_mk(s); + s.tmp_0 = Sprite_vx__P2102_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P85444_mk(s); + s.tmp_2 = Sprite_vx__P2101_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 330; s.pc = 40; return s.tmp_2; case 40: @@ -33549,7 +33549,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P85479_mk(s); + s.tmp_2 = Sprite_right__P2136_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 332; s.pc = 41; return s.tmp_2; case 41: @@ -33557,7 +33557,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -33565,22 +33565,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P85480_mk(s); + s.tmp_6 = Sprite_right__P2137_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 335; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___98863); + r0 = pxsim_numops_toBoolDecr(s.bounce___15520); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P85445_mk(s); + s.tmp_0 = Sprite_vx__P2102_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P85444_mk(s); + s.tmp_2 = Sprite_vx__P2101_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 336; s.pc = 44; return s.tmp_2; case 44: @@ -33596,7 +33596,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P85481_mk(s); + s.tmp_2 = Sprite_top__P2138_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 338; s.pc = 45; return s.tmp_2; case 45: @@ -33608,18 +33608,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P85482_mk(s); + s.tmp_4 = Sprite_top__P2139_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 341; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___98863); + r0 = pxsim_numops_toBoolDecr(s.bounce___15520); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P85447_mk(s); + s.tmp_0 = Sprite_vy__P2104_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P85446_mk(s); + s.tmp_2 = Sprite_vy__P2103_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 342; s.pc = 48; return s.tmp_2; case 48: @@ -33634,7 +33634,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P85483_mk(s); + s.tmp_2 = Sprite_bottom__P2140_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 344; s.pc = 49; return s.tmp_2; case 49: @@ -33642,7 +33642,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -33650,22 +33650,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P85484_mk(s); + s.tmp_6 = Sprite_bottom__P2141_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 347; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___98863); + r0 = pxsim_numops_toBoolDecr(s.bounce___15520); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P85447_mk(s); + s.tmp_0 = Sprite_vy__P2104_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P85446_mk(s); + s.tmp_2 = Sprite_vy__P2103_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 348; s.pc = 52; return s.tmp_2; case 52: @@ -33687,13 +33687,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C85367_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C2024_v1_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg1; s.tmp_1.arg3 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update; s.pc = 53; return s.tmp_1; case 53: @@ -33704,12 +33704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P85494.info = {"start":18461,"length":1363,"line":609,"column":4,"endLine":645,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P2151.info = {"start":18461,"length":1363,"line":609,"column":4,"endLine":645,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P85494_mk(s) { +function Sprite___update__P2151_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P85494, depth: s.depth + 1, + parent: s, fn: Sprite___update__P2151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33722,8 +33722,8 @@ function Sprite___update__P85494_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___98863: undefined, - tm___98868: undefined, + bounce___15520: undefined, + tm___15525: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33733,7 +33733,7 @@ function Sprite___update__P85494_mk(s) { -function Sprite_isOutOfScreen__P85492(s) { +function Sprite_isOutOfScreen__P2149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33743,15 +33743,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___98963 = undefined; - s.oy___98971 = undefined; + s.ox___15620 = undefined; + s.oy___15628 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -33765,7 +33765,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___98963 = (s.tmp_2); + s.ox___15620 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -33779,14 +33779,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___98971 = (s.tmp_2); - s.tmp_3 = Sprite_right__P85479_mk(s); + s.oy___15628 = (s.tmp_2); + s.tmp_3 = Sprite_right__P2136_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 291; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___98963); + r0 = (s.tmp_2 - s.ox___15620); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -33795,13 +33795,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P85483_mk(s); + s.tmp_6 = Sprite_bottom__P2140_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 292; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___98971); + r0 = (s.tmp_5 - s.oy___15628); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -33812,15 +33812,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P85477_mk(s); + s.tmp_10 = Sprite_left__P2134_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 293; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___98963); + r0 = (s.tmp_9 - s.ox___15620); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -33831,15 +33831,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P85481_mk(s); + s.tmp_15 = Sprite_top__P2138_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 294; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___98971); + r0 = (s.tmp_14 - s.oy___15628); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -33849,12 +33849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P85492.info = {"start":16156,"length":358,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P2149.info = {"start":16156,"length":358,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P85492_mk(s) { +function Sprite_isOutOfScreen__P2149_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P85492, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P2149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33874,8 +33874,8 @@ function Sprite_isOutOfScreen__P85492_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___98963: undefined, - oy___98971: undefined, + ox___15620: undefined, + oy___15628: undefined, arg0: undefined, arg1: undefined, } } @@ -33884,7 +33884,7 @@ function Sprite_isOutOfScreen__P85492_mk(s) { -function Sprite_bottom__P85484(s) { +function Sprite_bottom__P2141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33900,8 +33900,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P85482_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2139_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -33917,12 +33917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P85484.info = {"start":10530,"length":73,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P2141.info = {"start":10530,"length":73,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P85484_mk(s) { +function Sprite_bottom__P2141_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P85484, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33936,7 +33936,7 @@ function Sprite_bottom__P85484_mk(s) { -function Sprite_right__P85480(s) { +function Sprite_right__P2137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33952,8 +33952,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P85478_mk(s); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2135_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -33969,12 +33969,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P85480.info = {"start":9723,"length":71,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P2137.info = {"start":9723,"length":71,"line":350,"column":4,"endLine":352,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P85480_mk(s) { +function Sprite_right__P2137_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P85480, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33988,7 +33988,7 @@ function Sprite_right__P85480_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P85370(s) { +function sprites_BaseSpriteSayRenderer_update__P2027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34006,17 +34006,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P85370.info = {"start":250,"length":68,"line":9,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"update","argumentNames":["this","dt","camera","owner"]} +sprites_BaseSpriteSayRenderer_update__P2027.info = {"start":250,"length":68,"line":9,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"update","argumentNames":["this","dt","camera","owner"]} -function sprites_BaseSpriteSayRenderer_update__P85370_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P2027_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P85370, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P2027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34028,7 +34028,7 @@ function sprites_BaseSpriteSayRenderer_update__P85370_mk(s) { -function Sprite_width__P85475(s) { +function Sprite_width__P2132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34043,20 +34043,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Sprite_width__P85475.info = {"start":8789,"length":52,"line":315,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P85475.isGetter = true; +Sprite_width__P2132.info = {"start":8789,"length":52,"line":315,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P2132.isGetter = true; -function Sprite_width__P85475_mk(s) { +function Sprite_width__P2132_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P85475, depth: s.depth + 1, + parent: s, fn: Sprite_width__P2132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34066,7 +34066,7 @@ function Sprite_width__P85475_mk(s) { -function Sprite_data__P85457(s) { +function Sprite_data__P2114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34082,18 +34082,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P85457.info = {"start":4575,"length":56,"line":171,"column":4,"endLine":173,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P2114.info = {"start":4575,"length":56,"line":171,"column":4,"endLine":173,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P85457_mk(s) { +function Sprite_data__P2114_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P85457, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34103,7 +34103,7 @@ function Sprite_data__P85457_mk(s) { -function Sprite_data__P85456(s) { +function Sprite_data__P2113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34118,7 +34118,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -34137,13 +34137,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P85456.info = {"start":4477,"length":92,"line":166,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P85456.isGetter = true; +Sprite_data__P2113.info = {"start":4477,"length":92,"line":166,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P2113.isGetter = true; -function Sprite_data__P85456_mk(s) { +function Sprite_data__P2113_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P85456, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34157,7 +34157,7 @@ function Sprite_data__P85456_mk(s) { -function scene_BackgroundLayer_constructor__P85704(s) { +function scene_BackgroundLayer_constructor__P2361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34175,9 +34175,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C85697_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2354_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P83473_mk(s); + s.tmp_2 = Math_max__P130_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 676; s.pc = 7; return s.tmp_2; @@ -34223,12 +34223,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P85704.info = {"start":1936,"length":1117,"line":72,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["this","distance","alignment","img"]} +scene_BackgroundLayer_constructor__P2361.info = {"start":1936,"length":1117,"line":72,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["this","distance","alignment","img"]} -function scene_BackgroundLayer_constructor__P85704_mk(s) { +function scene_BackgroundLayer_constructor__P2361_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P85704, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P2361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34243,7 +34243,7 @@ function scene_BackgroundLayer_constructor__P85704_mk(s) { -function scene_Camera_y__P85786(s) { +function scene_Camera_y__P2443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34258,10 +34258,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___85168); + r0 = pxsim_ImageMethods.height(globals.screen___1825); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -34269,13 +34269,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P85786.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P85786.isGetter = true; +scene_Camera_y__P2443.info = {"start":1398,"length":79,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P2443.isGetter = true; -function scene_Camera_y__P85786_mk(s) { +function scene_Camera_y__P2443_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P85786, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P2443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34287,7 +34287,7 @@ function scene_Camera_y__P85786_mk(s) { -function scene_Camera_x__P85785(s) { +function scene_Camera_x__P2442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34302,10 +34302,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___85168); + r0 = pxsim_ImageMethods.width(globals.screen___1825); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -34313,13 +34313,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P85785.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P85785.isGetter = true; +scene_Camera_x__P2442.info = {"start":1311,"length":78,"line":46,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P2442.isGetter = true; -function scene_Camera_x__P85785_mk(s) { +function scene_Camera_x__P2442_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P85785, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P2442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34331,7 +34331,7 @@ function scene_Camera_x__P85785_mk(s) { -function particles_ParticleSource___draw__P86101(s) { +function particles_ParticleSource___draw__P2758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34341,18 +34341,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___99086 = undefined; - s.left___99089 = undefined; - s.top___99099 = undefined; + s.current___15743 = undefined; + s.left___15746 = undefined; + s.top___15756 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___99086 = (r0); + s.current___15743 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -34370,7 +34370,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___99089 = (s.tmp_4); + s.left___15746 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -34388,49 +34388,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___99099 = (s.tmp_4); + s.top___15756 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___99086); + r0 = pxsim_numops_toBoolDecr(s.current___15743); if (!r0) { step = 8; continue; } - r0 = s.current___99086.fields["lifespan"]; + r0 = s.current___15743.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__P87960_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P4617_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___99086; - s.tmp_2.arg2 = s.left___99089; - s.tmp_2.arg3 = s.top___99099; + s.tmp_2.arg1 = s.current___15743; + s.tmp_2.arg2 = s.left___15746; + s.tmp_2.arg3 = s.top___15756; s.callLocIdx = 1015; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___99086.fields["next"]; - s.current___99086 = (r0); + r0 = s.current___15743.fields["next"]; + s.current___15743 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P86101.info = {"start":3216,"length":468,"line":112,"column":8,"endLine":122,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} +particles_ParticleSource___draw__P2758.info = {"start":3216,"length":468,"line":112,"column":8,"endLine":122,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} -function particles_ParticleSource___draw__P86101_mk(s) { +function particles_ParticleSource___draw__P2758_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P86101, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P2758, 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, - current___99086: undefined, - left___99089: undefined, - top___99099: undefined, + current___15743: undefined, + left___15746: undefined, + top___15756: undefined, arg0: undefined, arg1: undefined, } } @@ -34439,7 +34439,7 @@ function particles_ParticleSource___draw__P86101_mk(s) { -function particles_ParticleSource_drawParticle__P87960(s) { +function particles_ParticleSource_drawParticle__P4617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34457,8 +34457,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C86095_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C86131_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C2752_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C2788_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -34470,7 +34470,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - s.arg3); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C86131_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C2788_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawParticle; s.pc = 1; return s.tmp_0; case 1: @@ -34479,12 +34479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P87960.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__P4617.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__P87960_mk(s) { +function particles_ParticleSource_drawParticle__P4617_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P87960, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P4617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34499,7 +34499,7 @@ function particles_ParticleSource_drawParticle__P87960_mk(s) { -function particles_ParticleFactory_drawParticle__P86134(s) { +function particles_ParticleFactory_drawParticle__P2791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34517,8 +34517,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C86131_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___85168; + if (!checkSubtype(r0, particles_ParticleFactory__C2788_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1825; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -34532,12 +34532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P86134.info = {"start":2265,"length":118,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} +particles_ParticleFactory_drawParticle__P2791.info = {"start":2265,"length":118,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} -function particles_ParticleFactory_drawParticle__P86134_mk(s) { +function particles_ParticleFactory_drawParticle__P2791_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P86134, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P2791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34554,7 +34554,7 @@ function particles_ParticleFactory_drawParticle__P86134_mk(s) { -function sprites_BaseSprite___update__P85233(s) { +function sprites_BaseSprite___update__P1890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34571,17 +34571,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P85233.info = {"start":1027,"length":46,"line":45,"column":8,"endLine":45,"endColumn":54,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +sprites_BaseSprite___update__P1890.info = {"start":1027,"length":46,"line":45,"column":8,"endLine":45,"endColumn":54,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function sprites_BaseSprite___update__P85233_mk(s) { +function sprites_BaseSprite___update__P1890_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P85233, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P1890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34592,7 +34592,7 @@ function sprites_BaseSprite___update__P85233_mk(s) { -function sprites_BaseSprite___draw__P85231(s) { +function sprites_BaseSprite___draw__P1888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34608,10 +34608,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C85225_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C1882_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C85225_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C1882_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.__visible; s.pc = 3; return s.tmp_1; case 3: @@ -34619,10 +34619,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C85225_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C1882_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C85225_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C1882_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.__drawCore; s.pc = 4; return s.tmp_2; case 4: @@ -34633,12 +34633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P85231.info = {"start":840,"length":131,"line":37,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__draw","argumentNames":["this","camera"]} +sprites_BaseSprite___draw__P1888.info = {"start":840,"length":131,"line":37,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__draw","argumentNames":["this","camera"]} -function sprites_BaseSprite___draw__P85231_mk(s) { +function sprites_BaseSprite___draw__P1888_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P85231, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P1888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34651,7 +34651,7 @@ function sprites_BaseSprite___draw__P85231_mk(s) { -function sprites_BaseSprite___drawCore__P85232(s) { +function sprites_BaseSprite___drawCore__P1889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34667,17 +34667,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P85232.info = {"start":981,"length":36,"line":43,"column":8,"endLine":43,"endColumn":44,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +sprites_BaseSprite___drawCore__P1889.info = {"start":981,"length":36,"line":43,"column":8,"endLine":43,"endColumn":44,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function sprites_BaseSprite___drawCore__P85232_mk(s) { +function sprites_BaseSprite___drawCore__P1889_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P85232, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P1889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34687,7 +34687,7 @@ function sprites_BaseSprite___drawCore__P85232_mk(s) { -function sprites_BaseSprite___visible__P85228(s) { +function sprites_BaseSprite___visible__P1885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34702,17 +34702,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C85225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C1882_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P85228.info = {"start":524,"length":57,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__visible","argumentNames":["this"]} +sprites_BaseSprite___visible__P1885.info = {"start":524,"length":57,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"__visible","argumentNames":["this"]} -function sprites_BaseSprite___visible__P85228_mk(s) { +function sprites_BaseSprite___visible__P1885_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P85228, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P1885, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34721,7 +34721,7 @@ function sprites_BaseSprite___visible__P85228_mk(s) { -function particles_ShapeFactory_createParticle__P86161(s) { +function particles_ShapeFactory_createParticle__P2818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34731,23 +34731,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___99161 = undefined; + s.p___15818 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C86157_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P86147_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2814_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P2804_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1109; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___99161 = (r0); - s.tmp_0 = r0 = s.p___99161; - s.tmp_2 = Math_FastRandom_randomRange__P86007_mk(s); + s.p___15818 = (r0); + s.tmp_0 = r0 = s.p___15818; + s.tmp_2 = Math_FastRandom_randomRange__P2664_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -34757,21 +34757,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___99161; + r0 = s.p___15818; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P86161.info = {"start":7505,"length":178,"line":239,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_ShapeFactory_createParticle__P2818.info = {"start":7505,"length":178,"line":239,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_ShapeFactory_createParticle__P86161_mk(s) { +function particles_ShapeFactory_createParticle__P2818_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P86161, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P2818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___99161: undefined, + p___15818: undefined, arg0: undefined, arg1: undefined, } } @@ -34780,7 +34780,7 @@ function particles_ShapeFactory_createParticle__P86161_mk(s) { -function particles_AreaFactory_createParticle__P86147(s) { +function particles_AreaFactory_createParticle__P2804(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34790,23 +34790,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___99173 = undefined; + s.p___15830 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C86141_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P86137_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C2798_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P2794_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1091; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___99173 = (r0); - s.tmp_0 = r0 = s.p___99173; - s.tmp_2 = Math_FastRandom_randomRange__P86007_mk(s); + s.p___15830 = (r0); + s.tmp_0 = r0 = s.p___15830; + s.tmp_2 = Math_FastRandom_randomRange__P2664_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -34818,8 +34818,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___99173; - s.tmp_4 = Math_FastRandom_randomRange__P86007_mk(s); + s.tmp_0 = r0 = s.p___15830; + s.tmp_4 = Math_FastRandom_randomRange__P2664_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -34835,7 +34835,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___99173.fields["_x"]; + r0 = s.p___15830.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -34877,8 +34877,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___99173; - s.tmp_9 = Math_FastRandom_randomRange__P86007_mk(s); + s.tmp_5 = r0 = s.p___15830; + s.tmp_9 = Math_FastRandom_randomRange__P2664_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -34890,23 +34890,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___99173.fields["_y"]; + r0 = s.p___15830.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___99173; + r0 = s.p___15830; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P86147.info = {"start":4334,"length":426,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_AreaFactory_createParticle__P2804.info = {"start":4334,"length":426,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_AreaFactory_createParticle__P86147_mk(s) { +function particles_AreaFactory_createParticle__P2804_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P86147, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P2804, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34920,7 +34920,7 @@ function particles_AreaFactory_createParticle__P86147_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___99173: undefined, + p___15830: undefined, arg0: undefined, arg1: undefined, } } @@ -34929,7 +34929,7 @@ function particles_AreaFactory_createParticle__P86147_mk(s) { -function particles_SprayFactory_createParticle__P86137(s) { +function particles_SprayFactory_createParticle__P2794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34939,26 +34939,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___99221 = undefined; - s.angle___99225 = undefined; + s.p___15878 = undefined; + s.angle___15882 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C86135_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P86133_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C2792_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P2790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1080; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___99221 = (r0); + s.p___15878 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P86007_mk(s); - s.tmp_3.arg0 = globals.galois___87974; + s.tmp_3 = Math_FastRandom_randomRange__P2664_mk(s); + s.tmp_3.arg0 = globals.galois___4631; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -34969,9 +34969,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___99225 = (r0); - s.tmp_0 = r0 = s.p___99221; - r0 = pxsim_Array__getAt(globals.cachedSin___87969, s.angle___99225); + s.angle___15882 = (r0); + s.tmp_0 = r0 = s.p___15878; + r0 = pxsim_Array__getAt(globals.cachedSin___4626, s.angle___15882); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -34980,8 +34980,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___99221; - r0 = pxsim_Array__getAt(globals.cachedCos___87970, s.angle___99225); + s.tmp_0 = r0 = s.p___15878; + r0 = pxsim_Array__getAt(globals.cachedCos___4627, s.angle___15882); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -34990,24 +34990,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___99221; + r0 = s.p___15878; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P86137.info = {"start":2851,"length":333,"line":105,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_SprayFactory_createParticle__P2794.info = {"start":2851,"length":333,"line":105,"column":8,"endLine":113,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_SprayFactory_createParticle__P86137_mk(s) { +function particles_SprayFactory_createParticle__P2794_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P86137, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P2794, 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, - p___99221: undefined, - angle___99225: undefined, + p___15878: undefined, + angle___15882: undefined, arg0: undefined, arg1: undefined, } } @@ -35016,7 +35016,7 @@ function particles_SprayFactory_createParticle__P86137_mk(s) { -function scene_Scene_data__P85858(s) { +function scene_Scene_data__P2515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35031,18 +35031,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C85835_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2492_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P85858.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P85858.isGetter = true; +scene_Scene_data__P2515.info = {"start":6655,"length":53,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P2515.isGetter = true; -function scene_Scene_data__P85858_mk(s) { +function scene_Scene_data__P2515_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P85858, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P2515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35051,7 +35051,7 @@ function scene_Scene_data__P85858_mk(s) { -function controller_AnyButton_isPressed__P87434(s) { +function controller_AnyButton_isPressed__P4091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35061,36 +35061,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___99259 = undefined; - s.b___99263 = undefined; - s.unnamed456___U2 = undefined; - s.unnamed457___U3 = undefined; + s.ctrl___15916 = undefined; + s.b___15920 = undefined; + s.unnamed56___U2 = undefined; + s.unnamed57___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C87429_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P85259_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C4086_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P1916_mk(s); s.callLocIdx = 182; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___99259 = (r0); - s.b___99263 = (undefined); - r0 = s.ctrl___99259.fields["buttons"]; - s.unnamed456___U2 = (r0); - s.unnamed457___U3 = (0); + s.ctrl___15916 = (r0); + s.b___15920 = (undefined); + r0 = s.ctrl___15916.fields["buttons"]; + s.unnamed56___U2 = (r0); + s.unnamed57___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed457___U3; - r0 = pxsim_Array__length(s.unnamed456___U2); + s.tmp_0 = r0 = s.unnamed57___U3; + r0 = pxsim_Array__length(s.unnamed56___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed456___U2, s.unnamed457___U3); - s.b___99263 = (r0); - s.tmp_3 = controller_Button__C85310_v0_1_mk(s); - s.tmp_3.arg0 = s.b___99263; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C85310_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed56___U2, s.unnamed57___U3); + s.b___15920 = (r0); + s.tmp_3 = controller_Button__C1967_v0_1_mk(s); + s.tmp_3.arg0 = s.b___15920; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C1967_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 7; return s.tmp_3; case 7: @@ -35102,31 +35102,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed457___U3 + 1); - s.unnamed457___U3 = (r0); + r0 = (s.unnamed57___U3 + 1); + s.unnamed57___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed456___U2 = (undefined); + s.unnamed56___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P87434.info = {"start":13715,"length":202,"line":416,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P4091.info = {"start":13715,"length":202,"line":416,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P87434_mk(s) { +function controller_AnyButton_isPressed__P4091_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P87434, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P4091, 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___99259: undefined, - b___99263: undefined, - unnamed456___U2: undefined, - unnamed457___U3: undefined, + ctrl___15916: undefined, + b___15920: undefined, + unnamed56___U2: undefined, + unnamed57___U3: undefined, arg0: undefined, } } @@ -35134,7 +35134,7 @@ function controller_AnyButton_isPressed__P87434_mk(s) { -function controller_Button_toString__P85315(s) { +function controller_Button_toString__P1972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35149,7 +35149,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C85310_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C1967_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -35189,12 +35189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P85315.info = {"start":1357,"length":100,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P1972.info = {"start":1357,"length":100,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P85315_mk(s) { +function controller_Button_toString__P1972_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P85315, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P1972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35210,7 +35210,7 @@ function controller_Button_toString__P85315_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P85368(s) { +function sprites_BaseSpriteSayRenderer_constructor__P2025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35228,7 +35228,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -35236,12 +35236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P85368.info = {"start":69,"length":92,"line":2,"column":8,"endLine":3,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"inline","argumentNames":["this","text","fgColor","bgColor"]} +sprites_BaseSpriteSayRenderer_constructor__P2025.info = {"start":69,"length":92,"line":2,"column":8,"endLine":3,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"inline","argumentNames":["this","text","fgColor","bgColor"]} -function sprites_BaseSpriteSayRenderer_constructor__P85368_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P2025_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P85368, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P2025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35253,7 +35253,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P85368_mk(s) { -function sprites_StaticObstacle_width__P85574(s) { +function sprites_StaticObstacle_width__P2231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35268,20 +35268,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C85564_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2221_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_width__P85574.info = {"start":1088,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} -sprites_StaticObstacle_width__P85574.isGetter = true; +sprites_StaticObstacle_width__P2231.info = {"start":1088,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} +sprites_StaticObstacle_width__P2231.isGetter = true; -function sprites_StaticObstacle_width__P85574_mk(s) { +function sprites_StaticObstacle_width__P2231_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P85574, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P2231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35291,7 +35291,7 @@ function sprites_StaticObstacle_width__P85574_mk(s) { -function sprites_StaticObstacle_height__P85573(s) { +function sprites_StaticObstacle_height__P2230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35306,20 +35306,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C85564_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2221_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_height__P85573.info = {"start":1008,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} -sprites_StaticObstacle_height__P85573.isGetter = true; +sprites_StaticObstacle_height__P2230.info = {"start":1008,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} +sprites_StaticObstacle_height__P2230.isGetter = true; -function sprites_StaticObstacle_height__P85573_mk(s) { +function sprites_StaticObstacle_height__P2230_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P85573, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P2230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35329,7 +35329,7 @@ function sprites_StaticObstacle_height__P85573_mk(s) { -function sprites_StaticObstacle_y__P85572(s) { +function sprites_StaticObstacle_y__P2229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35344,7 +35344,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C85564_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2221_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -35357,13 +35357,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P85572.info = {"start":921,"length":77,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} -sprites_StaticObstacle_y__P85572.isGetter = true; +sprites_StaticObstacle_y__P2229.info = {"start":921,"length":77,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} +sprites_StaticObstacle_y__P2229.isGetter = true; -function sprites_StaticObstacle_y__P85572_mk(s) { +function sprites_StaticObstacle_y__P2229_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P85572, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P2229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35376,7 +35376,7 @@ function sprites_StaticObstacle_y__P85572_mk(s) { -function sprites_StaticObstacle_x__P85571(s) { +function sprites_StaticObstacle_x__P2228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35391,7 +35391,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C85564_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2221_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -35404,13 +35404,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P85571.info = {"start":834,"length":77,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} -sprites_StaticObstacle_x__P85571.isGetter = true; +sprites_StaticObstacle_x__P2228.info = {"start":834,"length":77,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} +sprites_StaticObstacle_x__P2228.isGetter = true; -function sprites_StaticObstacle_x__P85571_mk(s) { +function sprites_StaticObstacle_x__P2228_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P85571, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P2228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35423,7 +35423,7 @@ function sprites_StaticObstacle_x__P85571_mk(s) { -function tiles_Location_y__P85716(s) { +function tiles_Location_y__P2373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35433,22 +35433,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___99307 = undefined; + s.scale___15964 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C85711_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2368_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___99307 = (r0); + s.scale___15964 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___99307); + r0 = (s.tmp_1 << s.scale___15964); s.tmp_0 = r0; - r0 = (s.scale___99307 - 1); + r0 = (s.scale___15964 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -35456,19 +35456,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P85716.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P85716.isGetter = true; +tiles_Location_y__P2373.info = {"start":836,"length":135,"line":38,"column":8,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P2373.isGetter = true; -function tiles_Location_y__P85716_mk(s) { +function tiles_Location_y__P2373_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P85716, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P2373, 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, - scale___99307: undefined, + scale___15964: undefined, arg0: undefined, } } @@ -35476,7 +35476,7 @@ function tiles_Location_y__P85716_mk(s) { -function tiles_Location_x__P85715(s) { +function tiles_Location_x__P2372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35486,22 +35486,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___99324 = undefined; + s.scale___15981 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C85711_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2368_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___99324 = (r0); + s.scale___15981 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___99324); + r0 = (s.tmp_1 << s.scale___15981); s.tmp_0 = r0; - r0 = (s.scale___99324 - 1); + r0 = (s.scale___15981 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -35509,19 +35509,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P85715.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P85715.isGetter = true; +tiles_Location_x__P2372.info = {"start":691,"length":135,"line":33,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P2372.isGetter = true; -function tiles_Location_x__P85715_mk(s) { +function tiles_Location_x__P2372_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P85715, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P2372, 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, - scale___99324: undefined, + scale___15981: undefined, arg0: undefined, } } @@ -35529,7 +35529,7 @@ function tiles_Location_x__P85715_mk(s) { -function scene_Renderable___drawCore__P85797(s) { +function scene_Renderable___drawCore__P2454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35545,10 +35545,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C85794_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2451_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___85168; + s.tmp_0.arg1 = globals.screen___1825; 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); @@ -35565,12 +35565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P85797.info = {"start":390,"length":86,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/renderable.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +scene_Renderable___drawCore__P2454.info = {"start":390,"length":86,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/renderable.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function scene_Renderable___drawCore__P85797_mk(s) { +function scene_Renderable___drawCore__P2454_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P85797, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P2454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35581,7 +35581,7 @@ function scene_Renderable___drawCore__P85797_mk(s) { -function scene_Renderable___visible__P85796(s) { +function scene_Renderable___visible__P2453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35596,7 +35596,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C85794_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2451_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -35613,12 +35613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P85796.info = {"start":305,"length":75,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/game/renderable.ts","functionName":"__visible","argumentNames":["this"]} +scene_Renderable___visible__P2453.info = {"start":305,"length":75,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"pxt_modules/game/renderable.ts","functionName":"__visible","argumentNames":["this"]} -function scene_Renderable___visible__P85796_mk(s) { +function scene_Renderable___visible__P2453_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P85796, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P2453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35628,7 +35628,7 @@ function scene_Renderable___visible__P85796_mk(s) { -function Sprite___drawCore__P85493(s) { +function Sprite___drawCore__P2150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35638,20 +35638,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___99382 = undefined; - s.oy___99390 = undefined; - s.l___99398 = undefined; - s.t___99404 = undefined; - s.font___99422 = undefined; - s.tx___99426 = undefined; - s.ty___99428 = undefined; + s.ox___16039 = undefined; + s.oy___16047 = undefined; + s.l___16055 = undefined; + s.t___16061 = undefined; + s.font___16079 = undefined; + s.tx___16083 = undefined; + s.ty___16085 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -35670,23 +35670,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C85367_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C2024_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___85168; + s.tmp_6.arg1 = globals.screen___1825; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw; s.pc = 26; return s.tmp_6; case 26: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C85367_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C2024_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy; s.pc = 27; return s.tmp_0; case 27: @@ -35696,13 +35696,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C85367_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C2024_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___85168; + s.tmp_0.arg1 = globals.screen___1825; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 28; return s.tmp_0; case 28: @@ -35710,7 +35710,7 @@ switch (step) { case 4: case 5: case 6: - s.tmp_1 = Sprite_isOutOfScreen__P85492_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P2149_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 295; s.pc = 29; return s.tmp_1; @@ -35735,7 +35735,7 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___99382 = (s.tmp_4); + s.ox___16039 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -35749,39 +35749,39 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___99390 = (s.tmp_2); - s.tmp_2 = Sprite_left__P85477_mk(s); + s.oy___16047 = (s.tmp_2); + s.tmp_2 = Sprite_left__P2134_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 296; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___99382); + r0 = (s.tmp_1 - s.ox___16039); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___99398 = (r0); - s.tmp_2 = Sprite_top__P85481_mk(s); + s.l___16055 = (r0); + s.tmp_2 = Sprite_top__P2138_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 297; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___99390); + r0 = (s.tmp_1 - s.oy___16047); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___99404 = (r0); + s.t___16061 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___85168, s.tmp_0, s.l___99398, s.t___99404); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1825, s.tmp_0, s.l___16055, s.t___16061); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 64); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.font___99422 = (globals.font5___85116); - s.tx___99426 = (s.l___99398); - s.tmp_1 = r0 = s.t___99404; + s.font___16079 = (globals.font5___1773); + s.tx___16083 = (s.l___16055); + s.tmp_1 = r0 = s.t___16061; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -35789,12 +35789,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___99428 = (r0); - s.tmp_0 = helpers_imagePrint__P85126_mk(s); - s.tmp_0.arg0 = globals.screen___85168; + s.ty___16085 = (r0); + s.tmp_0 = helpers_imagePrint__P1783_mk(s); + s.tmp_0.arg0 = globals.screen___1825; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P85440_mk(s); + s.tmp_7 = Sprite_x__P2097_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 299; s.pc = 33; return s.tmp_7; case 33: @@ -35815,7 +35815,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P85442_mk(s); + s.tmp_11 = Sprite_y__P2099_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 300; s.pc = 35; return s.tmp_11; case 35: @@ -35834,17 +35834,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___99426; - s.tmp_0.arg3 = s.ty___99428; + s.tmp_0.arg2 = s.tx___16083; + s.tmp_0.arg3 = s.ty___16085; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___99422; + s.tmp_0.arg5 = s.font___16079; s.tmp_0.arg6 = undefined; s.callLocIdx = 301; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = r0 = s.tx___99426; + s.tmp_0 = r0 = s.tx___16083; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___99422; + s.tmp_2.arg0 = s.font___16079; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -35857,8 +35857,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___99426 = (r0); - s.tmp_1 = Sprite_vx__P85444_mk(s); + s.tx___16083 = (r0); + s.tmp_1 = Sprite_vx__P2101_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 303; s.pc = 38; return s.tmp_1; case 38: @@ -35869,7 +35869,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_2 = Sprite_vy__P85446_mk(s); + s.tmp_2 = Sprite_vy__P2103_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 304; s.pc = 39; return s.tmp_2; case 39: @@ -35879,9 +35879,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 15; continue; } - s.tmp_4 = r0 = s.ty___99428; + s.tmp_4 = r0 = s.ty___16085; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___99422; + s.tmp_7.arg0 = s.font___16079; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -35896,10 +35896,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___99428 = (r0); - s.tmp_0 = helpers_imagePrint__P85126_mk(s); - s.tmp_0.arg0 = globals.screen___85168; - s.tmp_6 = Sprite_vx__P85444_mk(s); + s.ty___16085 = (r0); + s.tmp_0 = helpers_imagePrint__P1783_mk(s); + s.tmp_0.arg0 = globals.screen___1825; + s.tmp_6 = Sprite_vx__P2101_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 306; s.pc = 42; return s.tmp_6; case 42: @@ -35920,7 +35920,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P85446_mk(s); + s.tmp_10 = Sprite_vy__P2103_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 307; s.pc = 44; return s.tmp_10; case 44: @@ -35939,17 +35939,17 @@ 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___99426; - s.tmp_0.arg3 = s.ty___99428; + s.tmp_0.arg2 = s.tx___16083; + s.tmp_0.arg3 = s.ty___16085; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___99422; + s.tmp_0.arg5 = s.font___16079; s.tmp_0.arg6 = undefined; s.callLocIdx = 308; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; case 15: case 16: - s.tmp_1 = Sprite_ax__P85448_mk(s); + s.tmp_1 = Sprite_ax__P2105_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 309; s.pc = 46; return s.tmp_1; case 46: @@ -35960,7 +35960,7 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_2 = Sprite_ay__P85450_mk(s); + s.tmp_2 = Sprite_ay__P2107_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 310; s.pc = 47; return s.tmp_2; case 47: @@ -35970,9 +35970,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 19; continue; } - s.tmp_4 = r0 = s.ty___99428; + s.tmp_4 = r0 = s.ty___16085; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___99422; + s.tmp_7.arg0 = s.font___16079; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -35987,10 +35987,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___99428 = (r0); - s.tmp_0 = helpers_imagePrint__P85126_mk(s); - s.tmp_0.arg0 = globals.screen___85168; - s.tmp_6 = Sprite_ax__P85448_mk(s); + s.ty___16085 = (r0); + s.tmp_0 = helpers_imagePrint__P1783_mk(s); + s.tmp_0.arg0 = globals.screen___1825; + s.tmp_6 = Sprite_ax__P2105_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 312; s.pc = 50; return s.tmp_6; case 50: @@ -36011,7 +36011,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P85450_mk(s); + s.tmp_10 = Sprite_ay__P2107_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 313; s.pc = 52; return s.tmp_10; case 52: @@ -36030,10 +36030,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___99426; - s.tmp_0.arg3 = s.ty___99428; + s.tmp_0.arg2 = s.tx___16083; + s.tmp_0.arg3 = s.ty___16085; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___99422; + s.tmp_0.arg5 = s.font___16079; s.tmp_0.arg6 = undefined; s.callLocIdx = 314; s.pc = 49; return s.tmp_0; case 49: @@ -36042,11 +36042,11 @@ switch (step) { case 20: case 21: case 22: - r0 = pxsim_numops_toBoolDecr(globals.debug___85944); + r0 = pxsim_numops_toBoolDecr(globals.debug___2601); if (!r0) { step = 23; continue; } - s.tmp_0 = helpers_imageDrawRect__P85097_mk(s); - s.tmp_0.arg0 = globals.screen___85168; - s.tmp_3 = game_Hitbox_left__P85336_mk(s); + s.tmp_0 = helpers_imageDrawRect__P1754_mk(s); + s.tmp_0.arg0 = globals.screen___1825; + s.tmp_3 = game_Hitbox_left__P1993_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 315; s.pc = 55; return s.tmp_3; @@ -36057,9 +36057,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___99382); + r0 = (s.tmp_1 - s.ox___16039); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P85337_mk(s); + s.tmp_7 = game_Hitbox_top__P1994_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 317; s.pc = 56; return s.tmp_7; @@ -36070,7 +36070,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___99390); + r0 = (s.tmp_5 - s.oy___16047); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -36097,12 +36097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P85493.info = {"start":16520,"length":1935,"line":553,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P2150.info = {"start":16520,"length":1935,"line":553,"column":4,"endLine":607,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P85493_mk(s) { +function Sprite___drawCore__P2150_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P85493, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P2150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36117,13 +36117,13 @@ function Sprite___drawCore__P85493_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___99382: undefined, - oy___99390: undefined, - l___99398: undefined, - t___99404: undefined, - font___99422: undefined, - tx___99426: undefined, - ty___99428: undefined, + ox___16039: undefined, + oy___16047: undefined, + l___16055: undefined, + t___16061: undefined, + font___16079: undefined, + tx___16083: undefined, + ty___16085: undefined, arg0: undefined, arg1: undefined, } } @@ -36132,7 +36132,7 @@ function Sprite___drawCore__P85493_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P85371(s) { +function sprites_BaseSpriteSayRenderer_destroy__P2028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36147,17 +36147,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P85371.info = {"start":328,"length":22,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"destroy","argumentNames":["this"]} +sprites_BaseSpriteSayRenderer_destroy__P2028.info = {"start":328,"length":22,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"destroy","argumentNames":["this"]} -function sprites_BaseSpriteSayRenderer_destroy__P85371_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P2028_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P85371, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P2028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36166,7 +36166,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P85371_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P85369(s) { +function sprites_BaseSpriteSayRenderer_draw__P2026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36184,17 +36184,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C85367_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2024_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P85369.info = {"start":171,"length":69,"line":5,"column":8,"endLine":7,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"draw","argumentNames":["this","screen","camera","owner"]} +sprites_BaseSpriteSayRenderer_draw__P2026.info = {"start":171,"length":69,"line":5,"column":8,"endLine":7,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"draw","argumentNames":["this","screen","camera","owner"]} -function sprites_BaseSpriteSayRenderer_draw__P85369_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P2026_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P85369, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P2026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36206,7 +36206,7 @@ function sprites_BaseSpriteSayRenderer_draw__P85369_mk(s) { -function Sprite___visible__P85474(s) { +function Sprite___visible__P2131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36221,7 +36221,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C85431_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2088_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -36232,12 +36232,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P85474.info = {"start":8624,"length":72,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P2131.info = {"start":8624,"length":72,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P85474_mk(s) { +function Sprite___visible__P2131_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P85474, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P2131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36249,7 +36249,7 @@ function Sprite___visible__P85474_mk(s) { -function scene_Camera_top__P85789(s) { +function scene_Camera_top__P2446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36264,18 +36264,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P85789.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P85789.isGetter = true; +scene_Camera_top__P2446.info = {"start":1638,"length":58,"line":58,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P2446.isGetter = true; -function scene_Camera_top__P85789_mk(s) { +function scene_Camera_top__P2446_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P85789, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P2446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36284,7 +36284,7 @@ function scene_Camera_top__P85789_mk(s) { -function scene_Camera_left__P85787(s) { +function scene_Camera_left__P2444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36299,18 +36299,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C85776_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2433_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P85787.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P85787.isGetter = true; +scene_Camera_left__P2444.info = {"start":1486,"length":59,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P2444.isGetter = true; -function scene_Camera_left__P85787_mk(s) { +function scene_Camera_left__P2444_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P85787, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P2444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36319,7 +36319,7 @@ function scene_Camera_left__P85787_mk(s) { -function particles_ShapeFactory_drawParticle__P86160(s) { +function particles_ShapeFactory_drawParticle__P2817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36329,7 +36329,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___99558 = undefined; + s.pImage___16215 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36338,8 +36338,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C86157_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P86008_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C2814_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P2665_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -36349,12 +36349,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___99558 = (r0); + s.pImage___16215 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___99558, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___85168; - s.tmp_1 = r0 = s.pImage___99558; + r0 = pxsim_ImageMethods.replace(s.pImage___16215, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___1825; + s.tmp_1 = r0 = s.pImage___16215; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -36376,12 +36376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P86160.info = {"start":7172,"length":323,"line":229,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_ShapeFactory_drawParticle__P2817.info = {"start":7172,"length":323,"line":229,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_ShapeFactory_drawParticle__P86160_mk(s) { +function particles_ShapeFactory_drawParticle__P2817_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P86160, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P2817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36393,7 +36393,7 @@ function particles_ShapeFactory_drawParticle__P86160_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___99558: undefined, + pImage___16215: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36404,7 +36404,7 @@ function particles_ShapeFactory_drawParticle__P86160_mk(s) { -function Math_FastRandom_pickRandom__P86008(s) { +function Math_FastRandom_pickRandom__P2665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36420,7 +36420,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C86003_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C2660_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -36443,7 +36443,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P86007_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P2664_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -36459,12 +36459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P86008.info = {"start":2358,"length":192,"line":70,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} +Math_FastRandom_pickRandom__P2665.info = {"start":2358,"length":192,"line":70,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} -function Math_FastRandom_pickRandom__P86008_mk(s) { +function Math_FastRandom_pickRandom__P2665_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P86008, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P2665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36482,7 +36482,7 @@ function Math_FastRandom_pickRandom__P86008_mk(s) { -function particles_AreaFactory_drawParticle__P86148(s) { +function particles_AreaFactory_drawParticle__P2805(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36492,7 +36492,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___99604 = undefined; + s.col___16261 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36501,7 +36501,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C86141_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C2798_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -36528,8 +36528,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___99604 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___85168; + s.col___16261 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___1825; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36538,17 +36538,17 @@ 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___99604); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___16261); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P86148.info = {"start":4770,"length":222,"line":158,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_AreaFactory_drawParticle__P2805.info = {"start":4770,"length":222,"line":158,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_AreaFactory_drawParticle__P86148_mk(s) { +function particles_AreaFactory_drawParticle__P2805_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P86148, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P2805, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36556,7 +36556,7 @@ function particles_AreaFactory_drawParticle__P86148_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___99604: undefined, + col___16261: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36567,7 +36567,7 @@ function particles_AreaFactory_drawParticle__P86148_mk(s) { -function particles_SprayFactory_drawParticle__P86138(s) { +function particles_SprayFactory_drawParticle__P2795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36585,8 +36585,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C86135_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___85168; + if (!checkSubtype(r0, particles_SprayFactory__C2792_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___1825; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36600,12 +36600,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P86138.info = {"start":3194,"length":118,"line":115,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} +particles_SprayFactory_drawParticle__P2795.info = {"start":3194,"length":118,"line":115,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","particle","x","y"]} -function particles_SprayFactory_drawParticle__P86138_mk(s) { +function particles_SprayFactory_drawParticle__P2795_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P86138, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P2795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36651,7 +36651,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C86131_v0_2_mk(s) { +function particles_ParticleFactory__C2788_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36666,7 +36666,7 @@ function particles_ParticleFactory__C86131_v0_2_mk(s) { } } -function particles_ParticleSource__C86095_v4_3_mk(s) { +function particles_ParticleSource__C2752_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36767,7 +36767,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C85577_v4_2_mk(s) { +function PhysicsEngine__C2234_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36813,7 +36813,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C85577_v3_1_mk(s) { +function PhysicsEngine__C2234_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36954,7 +36954,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C85310_v0_1_mk(s) { +function controller_Button__C1967_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37059,7 +37059,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C85577_v1_2_mk(s) { +function PhysicsEngine__C2234_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37257,7 +37257,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C85577_v2_4_mk(s) { +function PhysicsEngine__C2234_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37331,7 +37331,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C85577_v0_2_mk(s) { +function PhysicsEngine__C2234_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37404,7 +37404,7 @@ function if_top_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C85367_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C2024_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37421,7 +37421,7 @@ function sprites_BaseSpriteSayRenderer__C85367_v1_4_mk(s) { } } -function particles_ParticleFactory__C86131_v1_4_mk(s) { +function particles_ParticleFactory__C2788_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37438,7 +37438,7 @@ function particles_ParticleFactory__C86131_v1_4_mk(s) { } } -function sprites_BaseSprite__C85225_v0_1_mk(s) { +function sprites_BaseSprite__C1882_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37452,7 +37452,7 @@ function sprites_BaseSprite__C85225_v0_1_mk(s) { } } -function sprites_BaseSprite__C85225_v2_2_mk(s) { +function sprites_BaseSprite__C1882_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37495,7 +37495,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C85367_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C2024_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37512,7 +37512,7 @@ function sprites_BaseSpriteSayRenderer__C85367_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C85367_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C2024_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37567,14 +37567,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C85310_VT = mkVTable({ +const controller_Button__C1967_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P85319, + "isPressed": controller_Button_isPressed__P1976, }, iface: { "_owner": null, @@ -37591,26 +37591,26 @@ const controller_Button__C85310_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P85315, - "raiseButtonUp": controller_Button_raiseButtonUp__P87431, - "raiseButtonDown": controller_Button_raiseButtonDown__P87432, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P87433, - "onEvent": controller_Button_onEvent__P85317, - "isPressed": controller_Button_isPressed__P85319, - "pressureLevel": controller_Button_pressureLevel__P85320, - "setPressed": controller_Button_setPressed__P85321, - "__update": controller_Button___update__P85322, + "toString": controller_Button_toString__P1972, + "raiseButtonUp": controller_Button_raiseButtonUp__P4088, + "raiseButtonDown": controller_Button_raiseButtonDown__P4089, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4090, + "onEvent": controller_Button_onEvent__P1974, + "isPressed": controller_Button_isPressed__P1976, + "pressureLevel": controller_Button_pressureLevel__P1977, + "setPressed": controller_Button_setPressed__P1978, + "__update": controller_Button___update__P1979, }, - toStringMethod: controller_Button_toString__P85315, + toStringMethod: controller_Button_toString__P1972, }); -const controller_AnyButton__C87429_VT = mkVTable({ +const controller_AnyButton__C4086_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P87434, + "isPressed": controller_AnyButton_isPressed__P4091, }, iface: { "_owner": null, @@ -37627,18 +37627,18 @@ const controller_AnyButton__C87429_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P87434, - "toString": controller_Button_toString__P85315, - "raiseButtonUp": controller_Button_raiseButtonUp__P87431, - "raiseButtonDown": controller_Button_raiseButtonDown__P87432, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P87433, - "onEvent": controller_Button_onEvent__P85317, - "pressureLevel": controller_Button_pressureLevel__P85320, - "setPressed": controller_Button_setPressed__P85321, - "__update": controller_Button___update__P85322, + "isPressed": controller_AnyButton_isPressed__P4091, + "toString": controller_Button_toString__P1972, + "raiseButtonUp": controller_Button_raiseButtonUp__P4088, + "raiseButtonDown": controller_Button_raiseButtonDown__P4089, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4090, + "onEvent": controller_Button_onEvent__P1974, + "pressureLevel": controller_Button_pressureLevel__P1977, + "setPressed": controller_Button_setPressed__P1978, + "__update": controller_Button___update__P1979, }, }); -const Math_FastRandom__C86003_VT = mkVTable({ +const Math_FastRandom__C2660_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -37651,12 +37651,12 @@ const Math_FastRandom__C86003_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P86006, - "randomRange": Math_FastRandom_randomRange__P86007, - "pickRandom": Math_FastRandom_pickRandom__P86008, + "next": Math_FastRandom_next__P2663, + "randomRange": Math_FastRandom_randomRange__P2664, + "pickRandom": Math_FastRandom_pickRandom__P2665, }, }); -const scene_Scene__C85835_VT = mkVTable({ +const scene_Scene__C2492_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 19, @@ -37711,14 +37711,14 @@ const scene_Scene__C85835_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P85857, - "data": scene_Scene_data__P85858, - "millis": scene_Scene_millis__P85859, - "addSprite": scene_Scene_addSprite__P85860, - "render": scene_Scene_render__P85862, + "init": scene_Scene_init__P2514, + "data": scene_Scene_data__P2515, + "millis": scene_Scene_millis__P2516, + "addSprite": scene_Scene_addSprite__P2517, + "render": scene_Scene_render__P2519, }, }); -const effects_ImageEffect__C86233_VT = mkVTable({ +const effects_ImageEffect__C2890_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 20, @@ -37735,11 +37735,11 @@ const effects_ImageEffect__C86233_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P86235, - "change": effects_ImageEffect_change__P86236, + "applyTo": effects_ImageEffect_applyTo__P2892, + "change": effects_ImageEffect_change__P2893, }, }); -const effects_ParticleEffect__C86206_VT = mkVTable({ +const effects_ParticleEffect__C2863_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 21, @@ -37754,11 +37754,11 @@ const effects_ParticleEffect__C86206_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P86208, - "destroy": effects_ParticleEffect_destroy__P86209, + "start": effects_ParticleEffect_start__P2865, + "destroy": effects_ParticleEffect_destroy__P2866, }, }); -const effects_ScreenEffect__C86210_VT = mkVTable({ +const effects_ScreenEffect__C2867_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 22, @@ -37777,34 +37777,34 @@ const effects_ScreenEffect__C86210_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P86208, - "destroy": effects_ParticleEffect_destroy__P86209, + "start": effects_ParticleEffect_start__P2865, + "destroy": effects_ParticleEffect_destroy__P2866, }, }); -const particles_ParticleFactory__C86131_VT = mkVTable({ +const particles_ParticleFactory__C2788_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 23, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P86133, - "drawParticle": particles_ParticleFactory_drawParticle__P86134, + "createParticle": particles_ParticleFactory_createParticle__P2790, + "drawParticle": particles_ParticleFactory_drawParticle__P2791, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P86133, - "drawParticle": particles_ParticleFactory_drawParticle__P86134, + "createParticle": particles_ParticleFactory_createParticle__P2790, + "drawParticle": particles_ParticleFactory_drawParticle__P2791, }, }); -const particles_SprayFactory__C86135_VT = mkVTable({ +const particles_SprayFactory__C2792_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 24, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P86137, - "drawParticle": particles_SprayFactory_drawParticle__P86138, + "createParticle": particles_SprayFactory_createParticle__P2794, + "drawParticle": particles_SprayFactory_drawParticle__P2795, }, iface: { "speed": null, @@ -37813,21 +37813,21 @@ const particles_SprayFactory__C86135_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P86137, - "drawParticle": particles_SprayFactory_drawParticle__P86138, - "setSpeed": particles_SprayFactory_setSpeed__P86139, - "setDirection": particles_SprayFactory_setDirection__P86140, + "createParticle": particles_SprayFactory_createParticle__P2794, + "drawParticle": particles_SprayFactory_drawParticle__P2795, + "setSpeed": particles_SprayFactory_setSpeed__P2796, + "setDirection": particles_SprayFactory_setDirection__P2797, }, }); -const particles_AreaFactory__C86141_VT = mkVTable({ +const particles_AreaFactory__C2798_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 25, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P86147, - "drawParticle": particles_AreaFactory_drawParticle__P86148, + "createParticle": particles_AreaFactory_createParticle__P2804, + "drawParticle": particles_AreaFactory_drawParticle__P2805, }, iface: { "speed": null, @@ -37846,21 +37846,21 @@ const particles_AreaFactory__C86141_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P86147, - "drawParticle": particles_AreaFactory_drawParticle__P86148, - "setSpeed": particles_SprayFactory_setSpeed__P86139, - "setDirection": particles_SprayFactory_setDirection__P86140, + "createParticle": particles_AreaFactory_createParticle__P2804, + "drawParticle": particles_AreaFactory_drawParticle__P2805, + "setSpeed": particles_SprayFactory_setSpeed__P2796, + "setDirection": particles_SprayFactory_setDirection__P2797, }, }); -const particles_ShapeFactory__C86157_VT = mkVTable({ +const particles_ShapeFactory__C2814_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 26, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P86161, - "drawParticle": particles_ShapeFactory_drawParticle__P86160, + "createParticle": particles_ShapeFactory_createParticle__P2818, + "drawParticle": particles_ShapeFactory_drawParticle__P2817, }, iface: { "speed": null, @@ -37885,22 +37885,22 @@ const particles_ShapeFactory__C86157_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P86159, - "drawParticle": particles_ShapeFactory_drawParticle__P86160, - "createParticle": particles_ShapeFactory_createParticle__P86161, - "setSpeed": particles_SprayFactory_setSpeed__P86139, - "setDirection": particles_SprayFactory_setDirection__P86140, + "addShape": particles_ShapeFactory_addShape__P2816, + "drawParticle": particles_ShapeFactory_drawParticle__P2817, + "createParticle": particles_ShapeFactory_createParticle__P2818, + "setSpeed": particles_SprayFactory_setSpeed__P2796, + "setDirection": particles_SprayFactory_setDirection__P2797, }, }); -const particles_ConfettiFactory__C86162_VT = mkVTable({ +const particles_ConfettiFactory__C2819_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 27, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P86161, - "drawParticle": particles_ShapeFactory_drawParticle__P86160, + "createParticle": particles_ShapeFactory_createParticle__P2818, + "drawParticle": particles_ShapeFactory_drawParticle__P2817, }, iface: { "speed": null, @@ -37925,50 +37925,50 @@ const particles_ConfettiFactory__C86162_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P86159, - "drawParticle": particles_ShapeFactory_drawParticle__P86160, - "createParticle": particles_ShapeFactory_createParticle__P86161, - "setSpeed": particles_SprayFactory_setSpeed__P86139, - "setDirection": particles_SprayFactory_setDirection__P86140, + "addShape": particles_ShapeFactory_addShape__P2816, + "drawParticle": particles_ShapeFactory_drawParticle__P2817, + "createParticle": particles_ShapeFactory_createParticle__P2818, + "setSpeed": particles_SprayFactory_setSpeed__P2796, + "setDirection": particles_SprayFactory_setDirection__P2797, }, }); -const sprites_BaseSprite__C85225_VT = mkVTable({ +const sprites_BaseSprite__C1882_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 28, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P85228, - "__draw": sprites_BaseSprite___draw__P85231, - "__drawCore": sprites_BaseSprite___drawCore__P85232, - "__update": sprites_BaseSprite___update__P85233, + "__visible": sprites_BaseSprite___visible__P1885, + "__draw": sprites_BaseSprite___draw__P1888, + "__drawCore": sprites_BaseSprite___drawCore__P1889, + "__update": sprites_BaseSprite___update__P1890, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P85228, - "z": sprites_BaseSprite_z__P85229, - "set/z": sprites_BaseSprite_z__P85230, - "__draw": sprites_BaseSprite___draw__P85231, - "__drawCore": sprites_BaseSprite___drawCore__P85232, - "__update": sprites_BaseSprite___update__P85233, + "__visible": sprites_BaseSprite___visible__P1885, + "z": sprites_BaseSprite_z__P1886, + "set/z": sprites_BaseSprite_z__P1887, + "__draw": sprites_BaseSprite___draw__P1888, + "__drawCore": sprites_BaseSprite___drawCore__P1889, + "__update": sprites_BaseSprite___update__P1890, }, }); -const particles_ParticleSource__C86095_VT = mkVTable({ +const particles_ParticleSource__C2752_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 29, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P85228, - "__draw": particles_ParticleSource___draw__P86101, - "__drawCore": sprites_BaseSprite___drawCore__P85232, - "__update": sprites_BaseSprite___update__P85233, - "updateParticle": particles_ParticleSource_updateParticle__P87959, + "__visible": sprites_BaseSprite___visible__P1885, + "__draw": particles_ParticleSource___draw__P2758, + "__drawCore": sprites_BaseSprite___drawCore__P1889, + "__update": sprites_BaseSprite___update__P1890, + "updateParticle": particles_ParticleSource_updateParticle__P4616, }, iface: { "_z": null, @@ -37997,28 +37997,28 @@ const particles_ParticleSource__C86095_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P86101, - "_update": particles_ParticleSource__update__P86102, - "_prune": particles_ParticleSource__prune__P86103, - "setAcceleration": particles_ParticleSource_setAcceleration__P86104, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P86106, - "enabled": particles_ParticleSource_enabled__P86107, - "set/enabled": particles_ParticleSource_enabled__P86108, - "destroy": particles_ParticleSource_destroy__P86109, - "clear": particles_ParticleSource_clear__P86110, - "setAnchor": particles_ParticleSource_setAnchor__P86111, - "setRate": particles_ParticleSource_setRate__P86112, - "setFactory": particles_ParticleSource_setFactory__P86114, - "updateParticle": particles_ParticleSource_updateParticle__P87959, - "drawParticle": particles_ParticleSource_drawParticle__P87960, - "__visible": sprites_BaseSprite___visible__P85228, - "z": sprites_BaseSprite_z__P85229, - "set/z": sprites_BaseSprite_z__P85230, - "__drawCore": sprites_BaseSprite___drawCore__P85232, - "__update": sprites_BaseSprite___update__P85233, + "__draw": particles_ParticleSource___draw__P2758, + "_update": particles_ParticleSource__update__P2759, + "_prune": particles_ParticleSource__prune__P2760, + "setAcceleration": particles_ParticleSource_setAcceleration__P2761, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P2763, + "enabled": particles_ParticleSource_enabled__P2764, + "set/enabled": particles_ParticleSource_enabled__P2765, + "destroy": particles_ParticleSource_destroy__P2766, + "clear": particles_ParticleSource_clear__P2767, + "setAnchor": particles_ParticleSource_setAnchor__P2768, + "setRate": particles_ParticleSource_setRate__P2769, + "setFactory": particles_ParticleSource_setFactory__P2771, + "updateParticle": particles_ParticleSource_updateParticle__P4616, + "drawParticle": particles_ParticleSource_drawParticle__P4617, + "__visible": sprites_BaseSprite___visible__P1885, + "z": sprites_BaseSprite_z__P1886, + "set/z": sprites_BaseSprite_z__P1887, + "__drawCore": sprites_BaseSprite___drawCore__P1889, + "__update": sprites_BaseSprite___update__P1890, }, }); -const particles_Particle__C86076_VT = mkVTable({ +const particles_Particle__C2733_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 32, @@ -38045,7 +38045,7 @@ const particles_Particle__C86076_VT = mkVTable({ "set/color": null, }, }); -const control_EventContext__C83736_VT = mkVTable({ +const control_EventContext__C393_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 33, @@ -38072,16 +38072,16 @@ const control_EventContext__C83736_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P83741, - "runCallbacks": control_EventContext_runCallbacks__P87269, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P87270, - "register": control_EventContext_register__P83742, - "unregister": control_EventContext_unregister__P83743, - "registerFrameHandler": control_EventContext_registerFrameHandler__P83744, - "registerHandler": control_EventContext_registerHandler__P83746, + "deltaTime": control_EventContext_deltaTime__P398, + "runCallbacks": control_EventContext_runCallbacks__P3926, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P3927, + "register": control_EventContext_register__P399, + "unregister": control_EventContext_unregister__P400, + "registerFrameHandler": control_EventContext_registerFrameHandler__P401, + "registerHandler": control_EventContext_registerHandler__P403, }, }); -const control_FrameCallback__C83733_VT = mkVTable({ +const control_FrameCallback__C390_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 34, @@ -38096,7 +38096,7 @@ const control_FrameCallback__C83733_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C87243_VT = mkVTable({ +const control_PollEvent__C3900_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 35, @@ -38119,7 +38119,7 @@ const control_PollEvent__C87243_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C87264_VT = mkVTable({ +const control_EventHandler__C3921_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 36, @@ -38136,32 +38136,32 @@ const control_EventHandler__C87264_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P87265, - "unregister": control_EventHandler_unregister__P87266, + "register": control_EventHandler_register__P3922, + "unregister": control_EventHandler_unregister__P3923, }, }); -const PhysicsEngine__C85577_VT = mkVTable({ +const PhysicsEngine__C2234_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 37, lastSubtypeNo: 38, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P85579, - "removeSprite": PhysicsEngine_removeSprite__P85580, - "moveSprite": PhysicsEngine_moveSprite__P85581, - "draw": PhysicsEngine_draw__P85582, - "move": PhysicsEngine_move__P85583, + "addSprite": PhysicsEngine_addSprite__P2236, + "removeSprite": PhysicsEngine_removeSprite__P2237, + "moveSprite": PhysicsEngine_moveSprite__P2238, + "draw": PhysicsEngine_draw__P2239, + "move": PhysicsEngine_move__P2240, }, iface: { - "addSprite": PhysicsEngine_addSprite__P85579, - "removeSprite": PhysicsEngine_removeSprite__P85580, - "moveSprite": PhysicsEngine_moveSprite__P85581, - "draw": PhysicsEngine_draw__P85582, - "move": PhysicsEngine_move__P85583, + "addSprite": PhysicsEngine_addSprite__P2236, + "removeSprite": PhysicsEngine_removeSprite__P2237, + "moveSprite": PhysicsEngine_moveSprite__P2238, + "draw": PhysicsEngine_draw__P2239, + "move": PhysicsEngine_move__P2240, }, }); -const scene_Camera__C85776_VT = mkVTable({ +const scene_Camera__C2433_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 39, @@ -38186,18 +38186,18 @@ const scene_Camera__C85776_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P85781, - "set/offsetX": scene_Camera_offsetX__P85782, - "offsetY": scene_Camera_offsetY__P85783, - "set/offsetY": scene_Camera_offsetY__P85784, - "x": scene_Camera_x__P85785, - "y": scene_Camera_y__P85786, - "left": scene_Camera_left__P85787, - "top": scene_Camera_top__P85789, - "update": scene_Camera_update__P85792, + "offsetX": scene_Camera_offsetX__P2438, + "set/offsetX": scene_Camera_offsetX__P2439, + "offsetY": scene_Camera_offsetY__P2440, + "set/offsetY": scene_Camera_offsetY__P2441, + "x": scene_Camera_x__P2442, + "y": scene_Camera_y__P2443, + "left": scene_Camera_left__P2444, + "top": scene_Camera_top__P2446, + "update": scene_Camera_update__P2449, }, }); -const scene_Background__C85687_VT = mkVTable({ +const scene_Background__C2344_VT = mkVTable({ name: "Background", numFields: 4, classNo: 40, @@ -38214,10 +38214,10 @@ const scene_Background__C85687_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P85696, + "draw": scene_Background_draw__P2353, }, }); -const scene_BackgroundLayer__C85697_VT = mkVTable({ +const scene_BackgroundLayer__C2354_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 41, @@ -38238,20 +38238,20 @@ const scene_BackgroundLayer__C85697_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P85705, + "draw": scene_BackgroundLayer_draw__P2362, }, }); -const Sprite__C85431_VT = mkVTable({ +const Sprite__C2088_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P85474, - "__draw": sprites_BaseSprite___draw__P85231, - "__drawCore": Sprite___drawCore__P85493, - "__update": Sprite___update__P85494, + "__visible": Sprite___visible__P2131, + "__draw": sprites_BaseSprite___draw__P1888, + "__drawCore": Sprite___drawCore__P2150, + "__update": Sprite___update__P2151, }, iface: { "_z": null, @@ -38306,58 +38306,58 @@ const Sprite__C85431_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P85440, - "set/x": Sprite_x__P85441, - "y": Sprite_y__P85442, - "set/y": Sprite_y__P85443, - "vx": Sprite_vx__P85444, - "set/vx": Sprite_vx__P85445, - "vy": Sprite_vy__P85446, - "set/vy": Sprite_vy__P85447, - "ax": Sprite_ax__P85448, - "set/ax": Sprite_ax__P85449, - "ay": Sprite_ay__P85450, - "set/ay": Sprite_ay__P85451, - "fx": Sprite_fx__P85452, - "set/fx": Sprite_fx__P85453, - "fy": Sprite_fy__P85454, - "set/fy": Sprite_fy__P85455, - "data": Sprite_data__P85456, - "set/data": Sprite_data__P85457, - "image": Sprite_image__P85470, - "setImage": Sprite_setImage__P85471, - "setHitbox": Sprite_setHitbox__P85472, - "isStatic": Sprite_isStatic__P85473, - "__visible": Sprite___visible__P85474, - "width": Sprite_width__P85475, - "height": Sprite_height__P85476, - "left": Sprite_left__P85477, - "set/left": Sprite_left__P85478, - "right": Sprite_right__P85479, - "set/right": Sprite_right__P85480, - "top": Sprite_top__P85481, - "set/top": Sprite_top__P85482, - "bottom": Sprite_bottom__P85483, - "set/bottom": Sprite_bottom__P85484, - "kind": Sprite_kind__P85485, - "setKind": Sprite_setKind__P85486, - "isOutOfScreen": Sprite_isOutOfScreen__P85492, - "__drawCore": Sprite___drawCore__P85493, - "__update": Sprite___update__P85494, - "setFlag": Sprite_setFlag__P85497, - "overlapsWith": Sprite_overlapsWith__P85498, - "clearObstacles": Sprite_clearObstacles__P85502, - "registerObstacle": Sprite_registerObstacle__P85503, - "destroy": Sprite_destroy__P85505, - "_destroyCore": Sprite__destroyCore__P85506, - "toString": Sprite_toString__P85508, - "z": sprites_BaseSprite_z__P85229, - "set/z": sprites_BaseSprite_z__P85230, - "__draw": sprites_BaseSprite___draw__P85231, + "x": Sprite_x__P2097, + "set/x": Sprite_x__P2098, + "y": Sprite_y__P2099, + "set/y": Sprite_y__P2100, + "vx": Sprite_vx__P2101, + "set/vx": Sprite_vx__P2102, + "vy": Sprite_vy__P2103, + "set/vy": Sprite_vy__P2104, + "ax": Sprite_ax__P2105, + "set/ax": Sprite_ax__P2106, + "ay": Sprite_ay__P2107, + "set/ay": Sprite_ay__P2108, + "fx": Sprite_fx__P2109, + "set/fx": Sprite_fx__P2110, + "fy": Sprite_fy__P2111, + "set/fy": Sprite_fy__P2112, + "data": Sprite_data__P2113, + "set/data": Sprite_data__P2114, + "image": Sprite_image__P2127, + "setImage": Sprite_setImage__P2128, + "setHitbox": Sprite_setHitbox__P2129, + "isStatic": Sprite_isStatic__P2130, + "__visible": Sprite___visible__P2131, + "width": Sprite_width__P2132, + "height": Sprite_height__P2133, + "left": Sprite_left__P2134, + "set/left": Sprite_left__P2135, + "right": Sprite_right__P2136, + "set/right": Sprite_right__P2137, + "top": Sprite_top__P2138, + "set/top": Sprite_top__P2139, + "bottom": Sprite_bottom__P2140, + "set/bottom": Sprite_bottom__P2141, + "kind": Sprite_kind__P2142, + "setKind": Sprite_setKind__P2143, + "isOutOfScreen": Sprite_isOutOfScreen__P2149, + "__drawCore": Sprite___drawCore__P2150, + "__update": Sprite___update__P2151, + "setFlag": Sprite_setFlag__P2154, + "overlapsWith": Sprite_overlapsWith__P2155, + "clearObstacles": Sprite_clearObstacles__P2159, + "registerObstacle": Sprite_registerObstacle__P2160, + "destroy": Sprite_destroy__P2162, + "_destroyCore": Sprite__destroyCore__P2163, + "toString": Sprite_toString__P2165, + "z": sprites_BaseSprite_z__P1886, + "set/z": sprites_BaseSprite_z__P1887, + "__draw": sprites_BaseSprite___draw__P1888, }, - toStringMethod: Sprite_toString__P85508, + toStringMethod: Sprite_toString__P2165, }); -const tiles_TileMap__C85739_VT = mkVTable({ +const tiles_TileMap__C2396_VT = mkVTable({ name: "TileMap", numFields: 4, classNo: 42, @@ -38374,25 +38374,25 @@ const tiles_TileMap__C85739_VT = mkVTable({ "set/_map": null, "renderable": null, "set/renderable": null, - "scale": tiles_TileMap_scale__P85742, - "set/scale": tiles_TileMap_scale__P85743, - "data": tiles_TileMap_data__P87562, - "offsetX": tiles_TileMap_offsetX__P85744, - "offsetY": tiles_TileMap_offsetY__P85745, - "areaWidth": tiles_TileMap_areaWidth__P85746, - "areaHeight": tiles_TileMap_areaHeight__P85747, - "layer": tiles_TileMap_layer__P85748, - "enabled": tiles_TileMap_enabled__P85750, - "getTile": tiles_TileMap_getTile__P85752, - "getTileIndex": tiles_TileMap_getTileIndex__P85753, - "draw": tiles_TileMap_draw__P87564, - "isObstacle": tiles_TileMap_isObstacle__P85759, - "getObstacle": tiles_TileMap_getObstacle__P85760, - "isOnWall": tiles_TileMap_isOnWall__P85761, - "getTileImage": tiles_TileMap_getTileImage__P85762, + "scale": tiles_TileMap_scale__P2399, + "set/scale": tiles_TileMap_scale__P2400, + "data": tiles_TileMap_data__P4219, + "offsetX": tiles_TileMap_offsetX__P2401, + "offsetY": tiles_TileMap_offsetY__P2402, + "areaWidth": tiles_TileMap_areaWidth__P2403, + "areaHeight": tiles_TileMap_areaHeight__P2404, + "layer": tiles_TileMap_layer__P2405, + "enabled": tiles_TileMap_enabled__P2407, + "getTile": tiles_TileMap_getTile__P2409, + "getTileIndex": tiles_TileMap_getTileIndex__P2410, + "draw": tiles_TileMap_draw__P4221, + "isObstacle": tiles_TileMap_isObstacle__P2416, + "getObstacle": tiles_TileMap_getObstacle__P2417, + "isOnWall": tiles_TileMap_isOnWall__P2418, + "getTileImage": tiles_TileMap_getTileImage__P2419, }, }); -const tiles_TileMapData__C85726_VT = mkVTable({ +const tiles_TileMapData__C2383_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 43, @@ -38415,17 +38415,17 @@ const tiles_TileMapData__C85726_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P85728, - "height": tiles_TileMapData_height__P85729, - "scale": tiles_TileMapData_scale__P85730, - "set/scale": tiles_TileMapData_scale__P85731, - "getTile": tiles_TileMapData_getTile__P85732, - "getTileImage": tiles_TileMapData_getTileImage__P85735, - "isWall": tiles_TileMapData_isWall__P85737, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P85738, + "width": tiles_TileMapData_width__P2385, + "height": tiles_TileMapData_height__P2386, + "scale": tiles_TileMapData_scale__P2387, + "set/scale": tiles_TileMapData_scale__P2388, + "getTile": tiles_TileMapData_getTile__P2389, + "getTileImage": tiles_TileMapData_getTileImage__P2392, + "isWall": tiles_TileMapData_isWall__P2394, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P2395, }, }); -const controller_Controller__C85265_VT = mkVTable({ +const controller_Controller__C1922_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 44, @@ -38444,32 +38444,32 @@ const controller_Controller__C85265_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P85270, - "set/_controlledSprites": controller_Controller__controlledSprites__P85271, - "id": controller_Controller_id__P85272, - "left": controller_Controller_left__P85274, - "right": controller_Controller_right__P85275, - "up": controller_Controller_up__P85276, - "down": controller_Controller_down__P85277, - "button": controller_Controller_button__P87428, - "connected": controller_Controller_connected__P85284, - "set/connected": controller_Controller_connected__P85285, - "__preUpdate": controller_Controller___preUpdate__P85289, - "__update": controller_Controller___update__P85290, + "_controlledSprites": controller_Controller__controlledSprites__P1927, + "set/_controlledSprites": controller_Controller__controlledSprites__P1928, + "id": controller_Controller_id__P1929, + "left": controller_Controller_left__P1931, + "right": controller_Controller_right__P1932, + "up": controller_Controller_up__P1933, + "down": controller_Controller_down__P1934, + "button": controller_Controller_button__P4085, + "connected": controller_Controller_connected__P1941, + "set/connected": controller_Controller_connected__P1942, + "__preUpdate": controller_Controller___preUpdate__P1946, + "__update": controller_Controller___update__P1947, }, }); -const ArcadePhysicsEngine__C85593_VT = mkVTable({ +const ArcadePhysicsEngine__C2250_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 38, lastSubtypeNo: 38, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P85602, - "removeSprite": ArcadePhysicsEngine_removeSprite__P85603, - "moveSprite": ArcadePhysicsEngine_moveSprite__P85607, - "draw": ArcadePhysicsEngine_draw__P85604, - "move": ArcadePhysicsEngine_move__P85605, + "addSprite": ArcadePhysicsEngine_addSprite__P2259, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2260, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2264, + "draw": ArcadePhysicsEngine_draw__P2261, + "move": ArcadePhysicsEngine_move__P2262, }, iface: { "sprites": null, @@ -38484,26 +38484,26 @@ const ArcadePhysicsEngine__C85593_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P85595, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P85596, - "minStep": ArcadePhysicsEngine_minStep__P85597, - "set/minStep": ArcadePhysicsEngine_minStep__P85598, - "maxStep": ArcadePhysicsEngine_maxStep__P85599, - "set/maxStep": ArcadePhysicsEngine_maxStep__P85600, - "addSprite": ArcadePhysicsEngine_addSprite__P85602, - "removeSprite": ArcadePhysicsEngine_removeSprite__P85603, - "draw": ArcadePhysicsEngine_draw__P85604, - "move": ArcadePhysicsEngine_move__P85605, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P87491, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P87492, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P87493, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P87494, - "moveSprite": ArcadePhysicsEngine_moveSprite__P85607, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P87495, - "constrain": ArcadePhysicsEngine_constrain__P87496, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2252, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2253, + "minStep": ArcadePhysicsEngine_minStep__P2254, + "set/minStep": ArcadePhysicsEngine_minStep__P2255, + "maxStep": ArcadePhysicsEngine_maxStep__P2256, + "set/maxStep": ArcadePhysicsEngine_maxStep__P2257, + "addSprite": ArcadePhysicsEngine_addSprite__P2259, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2260, + "draw": ArcadePhysicsEngine_draw__P2261, + "move": ArcadePhysicsEngine_move__P2262, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4148, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4149, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4150, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4151, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2264, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4152, + "constrain": ArcadePhysicsEngine_constrain__P4153, }, }); -const sprites_SpriteMap__C85512_VT = mkVTable({ +const sprites_SpriteMap__C2169_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 45, @@ -38522,20 +38522,20 @@ const sprites_SpriteMap__C85512_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P85514, - "overlaps": sprites_SpriteMap_overlaps__P85515, - "draw": sprites_SpriteMap_draw__P85516, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P85517, - "clear": sprites_SpriteMap_clear__P85518, - "key": sprites_SpriteMap_key__P87454, - "insertAtKey": sprites_SpriteMap_insertAtKey__P87455, - "insertAABB": sprites_SpriteMap_insertAABB__P85519, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P87456, - "toString": sprites_SpriteMap_toString__P85520, + "neighbors": sprites_SpriteMap_neighbors__P2171, + "overlaps": sprites_SpriteMap_overlaps__P2172, + "draw": sprites_SpriteMap_draw__P2173, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2174, + "clear": sprites_SpriteMap_clear__P2175, + "key": sprites_SpriteMap_key__P4111, + "insertAtKey": sprites_SpriteMap_insertAtKey__P4112, + "insertAABB": sprites_SpriteMap_insertAABB__P2176, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4113, + "toString": sprites_SpriteMap_toString__P2177, }, - toStringMethod: sprites_SpriteMap_toString__P85520, + toStringMethod: sprites_SpriteMap_toString__P2177, }); -const music_Melody__C84953_VT = mkVTable({ +const music_Melody__C1610_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 46, @@ -38548,11 +38548,11 @@ const music_Melody__C84953_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P84962, + "toString": music_Melody_toString__P1619, }, - toStringMethod: music_Melody_toString__P84962, + toStringMethod: music_Melody_toString__P1619, }); -const scene_systemMenu_PauseMenu__C86039_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C2696_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 47, @@ -38575,15 +38575,15 @@ const scene_systemMenu_PauseMenu__C86039_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P86041, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P86042, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P86043, - "drawText": scene_systemMenu_PauseMenu_drawText__P86044, - "dispose": scene_systemMenu_PauseMenu_dispose__P86045, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P87874, + "show": scene_systemMenu_PauseMenu_show__P2698, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P2699, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P2700, + "drawText": scene_systemMenu_PauseMenu_drawText__P2701, + "dispose": scene_systemMenu_PauseMenu_dispose__P2702, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P4531, }, }); -const scene_systemMenu_MenuOption__C86031_VT = mkVTable({ +const scene_systemMenu_MenuOption__C2688_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 48, @@ -38608,16 +38608,16 @@ const scene_systemMenu_MenuOption__C86031_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P86033, - "position": scene_systemMenu_MenuOption_position__P86034, - "setOffset": scene_systemMenu_MenuOption_setOffset__P86035, - "setTheme": scene_systemMenu_MenuOption_setTheme__P86036, - "setState": scene_systemMenu_MenuOption_setState__P86037, - "dispose": scene_systemMenu_MenuOption_dispose__P86038, - "updateCard": scene_systemMenu_MenuOption_updateCard__P87873, + "show": scene_systemMenu_MenuOption_show__P2690, + "position": scene_systemMenu_MenuOption_position__P2691, + "setOffset": scene_systemMenu_MenuOption_setOffset__P2692, + "setTheme": scene_systemMenu_MenuOption_setTheme__P2693, + "setState": scene_systemMenu_MenuOption_setState__P2694, + "dispose": scene_systemMenu_MenuOption_dispose__P2695, + "updateCard": scene_systemMenu_MenuOption_updateCard__P4530, }, }); -const game_Hitbox__C85327_VT = mkVTable({ +const game_Hitbox__C1984_VT = mkVTable({ name: "Hitbox", numFields: 7, classNo: 49, @@ -38640,14 +38640,14 @@ const game_Hitbox__C85327_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P85336, - "top": game_Hitbox_top__P85337, - "right": game_Hitbox_right__P85338, - "bottom": game_Hitbox_bottom__P85339, - "isValid": game_Hitbox_isValid__P85340, + "left": game_Hitbox_left__P1993, + "top": game_Hitbox_top__P1994, + "right": game_Hitbox_right__P1995, + "bottom": game_Hitbox_bottom__P1996, + "isValid": game_Hitbox_isValid__P1997, }, }); -const sprites_SpriteSet__C85529_VT = mkVTable({ +const sprites_SpriteSet__C2186_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 50, @@ -38658,25 +38658,25 @@ const sprites_SpriteSet__C85529_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P85532, - "add": sprites_SpriteSet_add__P85534, - "remove": sprites_SpriteSet_remove__P85536, - "contains": sprites_SpriteSet_contains__P85537, - "toString": sprites_SpriteSet_toString__P85540, + "length": sprites_SpriteSet_length__P2189, + "add": sprites_SpriteSet_add__P2191, + "remove": sprites_SpriteSet_remove__P2193, + "contains": sprites_SpriteSet_contains__P2194, + "toString": sprites_SpriteSet_toString__P2197, }, - toStringMethod: sprites_SpriteSet_toString__P85540, + toStringMethod: sprites_SpriteSet_toString__P2197, }); -const scene_Renderable__C85794_VT = mkVTable({ +const scene_Renderable__C2451_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P85796, - "__draw": sprites_BaseSprite___draw__P85231, - "__drawCore": scene_Renderable___drawCore__P85797, - "__update": sprites_BaseSprite___update__P85233, + "__visible": scene_Renderable___visible__P2453, + "__draw": sprites_BaseSprite___draw__P1888, + "__drawCore": scene_Renderable___drawCore__P2454, + "__update": sprites_BaseSprite___update__P1890, }, iface: { "_z": null, @@ -38687,15 +38687,15 @@ const scene_Renderable__C85794_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P85796, - "__drawCore": scene_Renderable___drawCore__P85797, - "z": sprites_BaseSprite_z__P85229, - "set/z": sprites_BaseSprite_z__P85230, - "__draw": sprites_BaseSprite___draw__P85231, - "__update": sprites_BaseSprite___update__P85233, + "__visible": scene_Renderable___visible__P2453, + "__drawCore": scene_Renderable___drawCore__P2454, + "z": sprites_BaseSprite_z__P1886, + "set/z": sprites_BaseSprite_z__P1887, + "__draw": sprites_BaseSprite___draw__P1888, + "__update": sprites_BaseSprite___update__P1890, }, }); -const MovingSprite__C85591_VT = mkVTable({ +const MovingSprite__C2248_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 51, @@ -38720,7 +38720,7 @@ const MovingSprite__C85591_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C85711_VT = mkVTable({ +const tiles_Location__C2368_VT = mkVTable({ name: "Location", numFields: 3, classNo: 52, @@ -38735,14 +38735,14 @@ const tiles_Location__C85711_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P85712, - "row": tiles_Location_row__P85713, - "x": tiles_Location_x__P85715, - "y": tiles_Location_y__P85716, - "tileSet": tiles_Location_tileSet__P85717, + "col": tiles_Location_col__P2369, + "row": tiles_Location_row__P2370, + "x": tiles_Location_x__P2372, + "y": tiles_Location_y__P2373, + "tileSet": tiles_Location_tileSet__P2374, }, }); -const sprites_StaticObstacle__C85564_VT = mkVTable({ +const sprites_StaticObstacle__C2221_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 53, @@ -38761,22 +38761,22 @@ const sprites_StaticObstacle__C85564_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P85571, - "y": sprites_StaticObstacle_y__P85572, - "height": sprites_StaticObstacle_height__P85573, - "width": sprites_StaticObstacle_width__P85574, + "x": sprites_StaticObstacle_x__P2228, + "y": sprites_StaticObstacle_y__P2229, + "height": sprites_StaticObstacle_height__P2230, + "width": sprites_StaticObstacle_width__P2231, }, }); -const sprites_BaseSpriteSayRenderer__C85367_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C2024_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 54, lastSubtypeNo: 54, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P85369, - "update": sprites_BaseSpriteSayRenderer_update__P85370, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P85371, + "draw": sprites_BaseSpriteSayRenderer_draw__P2026, + "update": sprites_BaseSpriteSayRenderer_update__P2027, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P2028, }, iface: { "text": null, @@ -38785,13 +38785,13 @@ const sprites_BaseSpriteSayRenderer__C85367_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P85369, - "update": sprites_BaseSpriteSayRenderer_update__P85370, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P85371, + "draw": sprites_BaseSpriteSayRenderer_draw__P2026, + "update": sprites_BaseSpriteSayRenderer_update__P2027, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P2028, }, }); const breakpoints = setupDebugger(1, []) -return _main___P99952 +return _main___P16609 }) diff --git a/assets/version.txt b/assets/version.txt index 927734f..a618622 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.17 \ No newline at end of file +0.0.18 \ No newline at end of file diff --git a/pxt.json b/pxt.json index ff2c8fe..a3cf15c 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "skillmap-game-of-life", - "version": "0.0.17", + "version": "0.0.18", "description": "", "dependencies": { "device": "*"