diff --git a/assets/js/binary.js b/assets/js/binary.js index 9dc8b3b..8e58174 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.10.36/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.0","target":"arcade","targetVersion":"1.10.36"} -// total=1629893 new=7.49% cached=87.31% other=5.21% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.10.36/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"1.0.0","target":"arcade","targetVersion":"1.10.36","repo":"naaaaaaaaa1212/go_slow_maze"} +// total=1637303 new=7.47% cached=87.31% other=5.21% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -495,7 +495,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P22301(s) { +function _main___P43703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -505,239 +505,239 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___4129 = (undefined); - globals._pollEventQueue___4138 = (undefined); - globals.minPriority___375 = (1); + globals._intervals___26444 = (undefined); + globals._pollEventQueue___26453 = (undefined); + globals.minPriority___22686 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P4141); - globals.listeners___4142 = (s.tmp_0); - globals.freqs___4191 = (_hex4190); - globals.globalVolume___4195 = (null); - globals.playToneID___4202 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1612_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P26456); + globals.listeners___26457 = (s.tmp_0); + globals.freqs___26506 = (_hex26505); + globals.globalVolume___26510 = (null); + globals.playToneID___26517 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C23923_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1615_mk(s); + s.tmp_1 = music_Melody_constructor__P23926_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___1629 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1612_VT); + globals.wawawawaa___23940 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C23923_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1615_mk(s); + s.tmp_1 = music_Melody_constructor__P23926_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___1632 = (s.tmp_0); - globals.brightness___1784 = (100); + globals.powerUp___23943 = (s.tmp_0); + globals.brightness___24095 = (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", _hex8800); - globals.font8___1806 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex31777); + globals.font8___24117 = (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", _hex8802); - globals.font12___1807 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex31779); + globals.font12___24118 = (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", _hex10253); - globals.font5___1811 = (s.tmp_0); - globals.__updated___4257 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P4260); - r0 = pxsim_pxtcore.setPalette(_hex4271); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex37831); + globals.font5___24122 = (s.tmp_0); + globals.__updated___26572 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P26575); + r0 = pxsim_pxtcore.setPalette(_hex26586); r0 = pxsim.image.create(160, 120); - globals.screen___1863 = (r0); - s.tmp_0 = control___screen_setupUpdate__P1825_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P4278; + globals.screen___24174 = (r0); + s.tmp_0 = control___screen_setupUpdate__P24136_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P26593; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___398 = (_screen_internal_inline__P4283); - globals.RUN_KEY___4288 = ("#run"); - globals.SCOPE_KEY___4289 = ("#scope"); - s.tmp_0 = settings_initScopes__P4300_mk(s); + globals.control_EventContext_onStats___22709 = (_screen_internal_inline__P26598); + globals.RUN_KEY___26603 = ("#run"); + globals.SCOPE_KEY___26604 = ("#scope"); + s.tmp_0 = settings_initScopes__P26615_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1941 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + globals.A___24252 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1942 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + globals.B___24253 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1943 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + globals.left___24254 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1944 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + globals.up___24255 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1945 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + globals.right___24256 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1946 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + globals.down___24257 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1947 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4329_VT); + globals.menu___24258 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C26644_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2019_mk(s); + s.tmp_1 = controller_Button_constructor__P24330_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___1994 = (s.tmp_0); - globals._userEventsEnabled___4343 = (true); - globals.defaultRepeatDelay___4345 = (500); - globals.defaultRepeatInterval___4347 = (30); - s.tmp_0 = SpriteKind_create__P2301_mk(s); + globals.anyButton___24305 = (s.tmp_0); + globals._userEventsEnabled___26658 = (true); + globals.defaultRepeatDelay___26660 = (500); + globals.defaultRepeatInterval___26662 = (30); + s.tmp_0 = SpriteKind_create__P24612_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___2302 = (r0); - s.tmp_0 = SpriteKind_create__P2301_mk(s); + globals.Player___24613 = (r0); + s.tmp_0 = SpriteKind_create__P24612_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___2304 = (r0); - s.tmp_0 = SpriteKind_create__P2301_mk(s); + globals.Food___24615 = (r0); + s.tmp_0 = SpriteKind_create__P24612_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___2305 = (r0); + globals.Enemy___24616 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___2343 = (r0); - globals.infoState___4412 = (undefined); - s.tmp_0 = game_addScenePushHandler__P2747_mk(s); - s.tmp_0.arg0 = info_inline__P4416; + globals.MIN_MOVE_GAP___24654 = (r0); + globals.infoState___26727 = (undefined); + s.tmp_0 = game_addScenePushHandler__P25058_mk(s); + s.tmp_0.arg0 = info_inline__P26731; s.callLocIdx = 18; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P2749_mk(s); - s.tmp_0.arg0 = info_inline__P4431; + s.tmp_0 = game_addScenePopHandler__P25060_mk(s); + s.tmp_0.arg0 = info_inline__P26746; s.callLocIdx = 22; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C2407_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C24718_VT); s.tmp_0 = r0; - s.tmp_1 = info_PlayerInfo_constructor__P2419_mk(s); + s.tmp_1 = info_PlayerInfo_constructor__P24730_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.callLocIdx = 23; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - globals.player1___2439 = (s.tmp_0); + globals.player1___24750 = (s.tmp_0); r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___2640 = (r0); - globals.debug___2729 = (false); - globals.stats___2730 = (false); - globals.winEffect___2731 = (undefined); - globals.loseEffect___2732 = (undefined); - globals.loseSound___4528 = (undefined); - globals.winSound___4530 = (undefined); - globals.__isOver___4538 = (false); - s.tmp_0 = scene_systemMenu_initVolume__P4797_mk(s); + globals.scene_Scene_initializers___24951 = (r0); + globals.debug___25040 = (false); + globals.stats___25041 = (false); + globals.winEffect___25042 = (undefined); + globals.loseEffect___25043 = (undefined); + globals.loseSound___26843 = (undefined); + globals.winSound___26845 = (undefined); + globals.__isOver___26853 = (false); + s.tmp_0 = scene_systemMenu_initVolume__P27112_mk(s); s.callLocIdx = 24; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P4798_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P27113_mk(s); s.callLocIdx = 25; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___2640, scene_systemMenu_register__P2835); - r0 = pxsim.image.ofBuffer(_hex4805); - globals.CARD_NORMAL___2840 = (r0); - r0 = pxsim.image.ofBuffer(_hex4807); - globals.CARD_SELECTED___2841 = (r0); - r0 = pxsim.image.ofBuffer(_hex4809); - globals.CARD_ACTIVE___2842 = (r0); - r0 = pxsim.image.ofBuffer(_hex4811); - globals.VOLUME_UP_ICON___2843 = (r0); - r0 = pxsim.image.ofBuffer(_hex4813); - globals.BRIGHTNESS_DOWN_ICON___2844 = (r0); - r0 = pxsim.image.ofBuffer(_hex4815); - globals.CLOSE_MENU_ICON___2845 = (r0); - r0 = pxsim.image.ofBuffer(_hex4817); - globals.VOLUME_DOWN_ICON___2846 = (r0); - r0 = pxsim.image.ofBuffer(_hex4819); - globals.SLEEP_ICON___2847 = (r0); - r0 = pxsim.image.ofBuffer(_hex4821); - globals.CONSOLE_ICON___2848 = (r0); - r0 = pxsim.image.ofBuffer(_hex4823); - globals.BRIGHTNESS_UP_ICON___2849 = (r0); - r0 = pxsim.image.ofBuffer(_hex4825); - globals.STATS_ICON___2850 = (r0); - globals.consoleColor___4828 = (1); - globals.tabSize___4831 = (8); - globals.consoleFont___4837 = (globals.font5___1811); - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___24951, scene_systemMenu_register__P25146); + r0 = pxsim.image.ofBuffer(_hex27120); + globals.CARD_NORMAL___25151 = (r0); + r0 = pxsim.image.ofBuffer(_hex27122); + globals.CARD_SELECTED___25152 = (r0); + r0 = pxsim.image.ofBuffer(_hex27124); + globals.CARD_ACTIVE___25153 = (r0); + r0 = pxsim.image.ofBuffer(_hex27126); + globals.VOLUME_UP_ICON___25154 = (r0); + r0 = pxsim.image.ofBuffer(_hex27128); + globals.BRIGHTNESS_DOWN_ICON___25155 = (r0); + r0 = pxsim.image.ofBuffer(_hex27130); + globals.CLOSE_MENU_ICON___25156 = (r0); + r0 = pxsim.image.ofBuffer(_hex27132); + globals.VOLUME_DOWN_ICON___25157 = (r0); + r0 = pxsim.image.ofBuffer(_hex27134); + globals.SLEEP_ICON___25158 = (r0); + r0 = pxsim.image.ofBuffer(_hex27136); + globals.CONSOLE_ICON___25159 = (r0); + r0 = pxsim.image.ofBuffer(_hex27138); + globals.BRIGHTNESS_UP_ICON___25160 = (r0); + r0 = pxsim.image.ofBuffer(_hex27140); + globals.STATS_ICON___25161 = (r0); + globals.consoleColor___27143 = (1); + globals.tabSize___27146 = (8); + globals.consoleFont___27152 = (globals.font5___24122); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___4837; + s.tmp_5.arg0 = globals.consoleFont___27152; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -756,13 +756,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___4842 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1863); + globals.consoleLines___27157 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___24174); 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___4837; + s.tmp_4.arg0 = globals.consoleFont___27152; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -777,22 +777,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___4852 = (r0); - s.tmp_0 = console_addListener__P383_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P4864; + globals.consoleColumns___27167 = (r0); + s.tmp_0 = console_addListener__P22694_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P27179; s.callLocIdx = 28; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P7170; + s.tmp_0.argL = MAX_SOURCES_inline__P32565; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 30; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - globals.MAX_SOURCES___4866 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C2920_VT); + globals.MAX_SOURCES___27181 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C25231_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P2921_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P25232_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -800,114 +800,114 @@ switch (step) { s.callLocIdx = 31; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - globals.defaultFactory___2900 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2788_VT); + globals.defaultFactory___25211 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C25099_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2790_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P25101_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 32; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.galois___4886 = (s.tmp_0); - globals.angleSlice___4894 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C2995_VT); + globals.galois___27201 = (s.tmp_0); + globals.angleSlice___27209 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C25306_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P2996_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P25307_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__P6702; + s.tmp_1.arg4 = confetti_inline__P32193; s.callLocIdx = 38; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.confetti___3003 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3018_VT); + globals.confetti___25314 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C25329_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P3019_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P25330_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P11019; + s.tmp_1.arg2 = dissolve_inline__P38453; s.callLocIdx = 44; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.dissolve___3023 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3018_VT); + globals.dissolve___25334 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C25329_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P3019_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P25330_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P6594; + s.tmp_1.arg2 = melt_inline__P32085; s.callLocIdx = 47; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.melt___3024 = (s.tmp_0); - r0 = pxsim.image.ofBuffer(_hex5890); - globals.collectibleInsignia___3733 = (r0); - r0 = pxsim.image.ofBuffer(_hex5892); - globals.collectibleRedCrystal___3734 = (r0); - r0 = pxsim.image.ofBuffer(_hex5896); - globals.darkGroundNorthWest0___3736 = (r0); - r0 = pxsim.image.ofBuffer(_hex5898); - globals.darkGroundNorth___3737 = (r0); - r0 = pxsim.image.ofBuffer(_hex5900); - globals.darkGroundNorthEast0___3738 = (r0); - r0 = pxsim.image.ofBuffer(_hex5904); - globals.darkGroundWest___3740 = (r0); - r0 = pxsim.image.ofBuffer(_hex5906); - globals.darkGroundCenter___3741 = (r0); - r0 = pxsim.image.ofBuffer(_hex5908); - globals.darkGroundEast___3742 = (r0); - r0 = pxsim.image.ofBuffer(_hex5912); - globals.darkGroundSouthWest0___3744 = (r0); - r0 = pxsim.image.ofBuffer(_hex5914); - globals.darkGroundSouth___3745 = (r0); - r0 = pxsim.image.ofBuffer(_hex5916); - globals.darkGroundSouthEast0___3746 = (r0); - r0 = pxsim.image.ofBuffer(_hex5942); - globals.doorLockedNorth___3759 = (r0); - s.tmp_0 = game_setWaitAnyButton__P2734_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P2029; + globals.melt___25335 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex28205); + globals.collectibleInsignia___26044 = (r0); + r0 = pxsim.image.ofBuffer(_hex28207); + globals.collectibleRedCrystal___26045 = (r0); + r0 = pxsim.image.ofBuffer(_hex28211); + globals.darkGroundNorthWest0___26047 = (r0); + r0 = pxsim.image.ofBuffer(_hex28213); + globals.darkGroundNorth___26048 = (r0); + r0 = pxsim.image.ofBuffer(_hex28215); + globals.darkGroundNorthEast0___26049 = (r0); + r0 = pxsim.image.ofBuffer(_hex28219); + globals.darkGroundWest___26051 = (r0); + r0 = pxsim.image.ofBuffer(_hex28221); + globals.darkGroundCenter___26052 = (r0); + r0 = pxsim.image.ofBuffer(_hex28223); + globals.darkGroundEast___26053 = (r0); + r0 = pxsim.image.ofBuffer(_hex28227); + globals.darkGroundSouthWest0___26055 = (r0); + r0 = pxsim.image.ofBuffer(_hex28229); + globals.darkGroundSouth___26056 = (r0); + r0 = pxsim.image.ofBuffer(_hex28231); + globals.darkGroundSouthEast0___26057 = (r0); + r0 = pxsim.image.ofBuffer(_hex28257); + globals.doorLockedNorth___26070 = (r0); + s.tmp_0 = game_setWaitAnyButton__P25045_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P24340; s.callLocIdx = 48; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tmp_0 = game_eventContext__P2736_mk(s); + s.tmp_0 = game_eventContext__P25047_mk(s); s.callLocIdx = 49; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - r0 = pxsim.image.ofBuffer(_hex17801); - globals.transparency16___17802 = (r0); - r0 = pxsim.image.ofBuffer(_hex17806); - globals.tile1___17807 = (r0); - s.tmp_0 = helpers__registerFactory__P3059_mk(s); + r0 = pxsim.image.ofBuffer(_hex28870); + globals.transparency16___26390 = (r0); + r0 = pxsim.image.ofBuffer(_hex28874); + globals.tile1___26391 = (r0); + s.tmp_0 = helpers__registerFactory__P25370_mk(s); s.tmp_0.arg0 = "tilemap"; - s.tmp_0.arg1 = myTiles_inline__P17811; + s.tmp_0.arg1 = myTiles_inline__P28878; s.callLocIdx = 54; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = helpers__registerFactory__P3059_mk(s); + s.tmp_0 = helpers__registerFactory__P25370_mk(s); s.tmp_0.arg0 = "tile"; - s.tmp_0.arg1 = myTiles_inline__P17855; + s.tmp_0.arg1 = myTiles_inline__P28922; s.callLocIdx = 56; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P2282_mk(s); - s.tmp_0.arg0 = globals.Player___2302; - s.tmp_0.arg1 = globals.doorLockedNorth___3759; - s.tmp_0.arg2 = inline__P22253; + s.tmp_0 = scene_onOverlapTile__P24593_mk(s); + s.tmp_0.arg0 = globals.Player___24613; + s.tmp_0.arg1 = globals.doorLockedNorth___26070; + s.tmp_0.arg2 = inline__P28933; s.callLocIdx = 58; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P2282_mk(s); - s.tmp_0.arg0 = globals.Player___2302; - s.tmp_0.arg1 = globals.collectibleRedCrystal___3734; - s.tmp_0.arg2 = inline__P22261; + s.tmp_0 = scene_onOverlapTile__P24593_mk(s); + s.tmp_0.arg0 = globals.Player___24613; + s.tmp_0.arg1 = globals.collectibleRedCrystal___26045; + s.tmp_0.arg2 = inline__P28941; s.callLocIdx = 61; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = tiles_setCurrentTilemap__P2542_mk(s); - s.tmp_1 = helpers_getTilemapByName__P3062_mk(s); + s.tmp_0 = tiles_setCurrentTilemap__P24853_mk(s); + s.tmp_1 = helpers_getTilemapByName__P25373_mk(s); s.tmp_1.arg0 = "層級3"; s.callLocIdx = 62; s.pc = 37; return s.tmp_1; case 37: @@ -916,27 +916,27 @@ switch (step) { s.callLocIdx = 63; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = sprites_create__P2099_mk(s); - r0 = pxsim.image.ofBuffer(_hex22274); + s.tmp_0 = sprites_create__P24410_mk(s); + r0 = pxsim.image.ofBuffer(_hex28953); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Player___2302; + s.tmp_0.arg1 = globals.Player___24613; s.callLocIdx = 64; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - globals.mySprite___22271 = (r0); - s.tmp_0 = tiles_placeOnRandomTile__P2552_mk(s); - s.tmp_0.arg0 = globals.mySprite___22271; - s.tmp_0.arg1 = globals.collectibleInsignia___3733; + globals.mySprite___26388 = (r0); + s.tmp_0 = tiles_placeOnRandomTile__P24863_mk(s); + s.tmp_0.arg0 = globals.mySprite___26388; + s.tmp_0.arg1 = globals.collectibleInsignia___26044; s.callLocIdx = 65; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = scene_cameraFollowSprite__P2665_mk(s); - s.tmp_0.arg0 = globals.mySprite___22271; + s.tmp_0 = scene_cameraFollowSprite__P24976_mk(s); + s.tmp_0.arg0 = globals.mySprite___26388; s.callLocIdx = 66; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P1991_mk(s); - s.tmp_0.arg0 = globals.mySprite___22271; + s.tmp_0 = controller_moveSprite__P24302_mk(s); + s.tmp_0.arg0 = globals.mySprite___26388; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 40; s.callLocIdx = 67; s.pc = 41; return s.tmp_0; @@ -946,13 +946,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P22301.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P22301.continuations = [ ] +_main___P43703.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P43703.continuations = [ ] -function _main___P22301_mk(s) { +function _main___P43703_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P22301, depth: s.depth + 1, + parent: s, fn: _main___P43703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -962,42 +962,42 @@ function _main___P22301_mk(s) { tmp_5: undefined, } } -const _hex4190 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex8800 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex8802 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e0080004000400080008000400000000000000000000000000016570000fe070204fe07f607f607f6077e06e2070204fe070000645c0000000cfc031400f407f407f407f407f407f407fc0000001162100112099208fe0f9200920490043e02d00392045408100684760000f80f4c044a04f80700001c00ea080809080cf80300001a7d48075800f60f6000400b0407fc00840424053c03e0042008bc8c0008fc0d54015401fc050000800f8004ff049804980f1800") -const _hex10253 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex4271 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex4805 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex4807 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex4809 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex4811 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4813 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4815 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4817 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4819 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4821 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4823 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4825 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5890 = pxsim.BufferMethods.createBufferFromHex("870410001000000066666666666666669699669999669969966996c99c69966996669969cc996669669699669c996966669999669999996696c999966666996996cc9c969966c669966c669969c9cc699699666669999c696699999966999966669699c966996966966699cc96996669966996c99c69966996996699996699696666666666666666") -const _hex5892 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000444400000000003433244400000030333333220400003433333323420000343323223342004034332222222204404522224424220440452242444422044044224244442204004411424444420000441145442442000040545544420400000044444444000000000044440000000000000000000000") -const _hex5896 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccbcbbbbbbbbbbbbbbbcccccccccccccccbcccccccccccbcccbcccccccccccccccbcccccccbcccccccbcccbcccccccccccbccccccccccccccbbcccccccccccccccbcccccccccccccccbcccccccccccccccbcccbcccbcccccccbcccccccccccccccbcccccccccccbcccbcccccccccccccccbccccccccccccccc") -const _hex5898 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bcccccccccccccccbcccccbcccccccccbcbcccccccccbcccbcccccccccccccccbcccccccccccccccbcccccccbcccccccbcccbcccccccccccbccccccccccccccbbcccccccccccccccbcccccccccccccccbcccccccccccccccbcccbcccbcccccccbcccccccccccccccbcccccccccccbcccbcccccccccccccccbccccccccccccccc") -const _hex5900 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bcccccccccccccccbcccccbcccccccccbcbcccccccccbcccbcccccccccccccccbcccccccccccccccbcccccccbcccccccbcccbcccccccccccbccccccccccccccbbcccccccccccccccbcccccccccccccccbcccccccccccccccbcccbcccbcccccccbcccccccccccccccbcccccccccccccccbcbbbbbbbbbbbbbbcccccccccccccccc") -const _hex5904 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccbbbbbbbbbbbbbbbbccccccccccccccccccbcccccccccbcccccccccccccccccccccccccccbcccccccccccbccccccccccccccccccccccccccbccccccccccccccccbcccccccccccccccccccccccccccccccccccbcccbcccccccccccccccccccccccccccccccccccbcccbccccccccccccccccccccccccccccccc") -const _hex5906 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccccccccbccccccccccccbccccccccbcccccccccccccccccccccccccccccccccccccccccccbcccccccccccbccccccccccccccccccccccccccbccccccccccccccccbcccccccccccccccccccccccccccccccccccbcccbcccccccccccccccccccccccccccccccccccbcccbccccccccccccccccccccccccccccccc") -const _hex5908 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccccccccbccccccccccccbccccccccbcccccccccccccccccccccccccccccccccccccccccccbcccccccccccbccccccccccccccccccccccccccbccccccccccccccccbcccccccccccccccccccccccccccccccccccbcccbcccccccccccccccccccccccccccccccccccccccbbbbbbbbbbbbbbbbcccccccccccccccc") -const _hex5912 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccbbbbbbbbbbbbbbcbcccccccccccccccbcccbcccccccccccbcccccccccccccccbccccccccbccccccbccccbccccccccccbcccccccccccccccbcccccccccccccbcbbccccccccccccccbcccccccccccccccbccccbcccbccccccbcccccccccccccccbcccccccccccccccbbccccccccccccccbcccccccccccccccb") -const _hex5914 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccccbccccccbccccccccbcccbcccccccccccbcccccccccccccccbcccccccccccccccbccccccccbccccccbccccbccccccccccbcccccccccccccccbcccccccccccccbcbbccccccccccccccbcccccccccccccccbccccbcccbccccccbcccccccccccccccbcccccccccccccccbbccccccccccccbcbcccccccccccccccb") -const _hex5916 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccccbccccccbccccccccbcccbcccccccccccbcccccccccccccccbcccccccccccccccbccccccccbccccccbccccbccccccccccbcccccccccccccccbcccccccccccccbcbbccccccccccccccbcccccccccccccccbccccbcccbccccccbcccccccccccccccbcccccccccccccccbbbbbbbbbbbbbbbcbcccccccccccccccc") -const _hex5942 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccacbbddbcdddddbddcdbbddbcdddddbddcdbbddccccccccccccbbddbc4bbbb4bbcbbbddbcbbeebbbbcbbbddbcbb4545becbbbddbc5b5b44e4cbbbddbc5b5befe4cbbbddbcbb4545becbbbddbcbbeebbbbcbbbddbc4bbbb4bbcbbbddccccccccccccbbddbcdddddbddcdbbddbcdddddbddcdccccccccccccccac") -const _hex17801 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex17806 = pxsim.BufferMethods.createBufferFromHex("87041000100000002222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222") -const _hex22274 = pxsim.BufferMethods.createBufferFromHex("87040e001000000000000000000000000000000000000000000000000000000000aaaaaa00000a00a01111110a000a00a01111110a000aa0a0111111aaaaaa0aa0111111aaaaaa0aa01111110a000aa0a01111110a000a0000aaaaaa00000a00000000000000000000000000000000000000000000000000") +const _hex26505 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") +const _hex31777 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex31779 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e0080004000400080008000400000000000000000000000000016570000fe070204fe07f607f607f6077e06e2070204fe070000645c0000000cfc031400f407f407f407f407f407f407fc0000001162100112099208fe0f9200920490043e02d00392045408100684760000f80f4c044a04f80700001c00ea080809080cf80300001a7d48075800f60f6000400b0407fc00840424053c03e0042008bc8c0008fc0d54015401fc050000800f8004ff049804980f1800") +const _hex37831 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex26586 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex27120 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex27122 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex27124 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex27126 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27128 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27130 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27132 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27134 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27136 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27138 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex27140 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28205 = pxsim.BufferMethods.createBufferFromHex("870410001000000066666666666666669699669999669969966996c99c69966996669969cc996669669699669c996966669999669999996696c999966666996996cc9c969966c669966c669969c9cc699699666669999c696699999966999966669699c966996966966699cc96996669966996c99c69966996996699996699696666666666666666") +const _hex28207 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000444400000000003433244400000030333333220400003433333323420000343323223342004034332222222204404522224424220440452242444422044044224244442204004411424444420000441145442442000040545544420400000044444444000000000044440000000000000000000000") +const _hex28211 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccbcbbbbbbbbbbbbbbbcccccccccccccccbcccccccccccbcccbcccccccccccccccbcccccccbcccccccbcccbcccccccccccbccccccccccccccbbcccccccccccccccbcccccccccccccccbcccccccccccccccbcccbcccbcccccccbcccccccccccccccbcccccccccccbcccbcccccccccccccccbccccccccccccccc") +const _hex28213 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bcccccccccccccccbcccccbcccccccccbcbcccccccccbcccbcccccccccccccccbcccccccccccccccbcccccccbcccccccbcccbcccccccccccbccccccccccccccbbcccccccccccccccbcccccccccccccccbcccccccccccccccbcccbcccbcccccccbcccccccccccccccbcccccccccccbcccbcccccccccccccccbccccccccccccccc") +const _hex28215 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bcccccccccccccccbcccccbcccccccccbcbcccccccccbcccbcccccccccccccccbcccccccccccccccbcccccccbcccccccbcccbcccccccccccbccccccccccccccbbcccccccccccccccbcccccccccccccccbcccccccccccccccbcccbcccbcccccccbcccccccccccccccbcccccccccccccccbcbbbbbbbbbbbbbbcccccccccccccccc") +const _hex28219 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccbbbbbbbbbbbbbbbbccccccccccccccccccbcccccccccbcccccccccccccccccccccccccccbcccccccccccbccccccccccccccccccccccccccbccccccccccccccccbcccccccccccccccccccccccccccccccccccbcccbcccccccccccccccccccccccccccccccccccbcccbccccccccccccccccccccccccccccccc") +const _hex28221 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccccccccbccccccccccccbccccccccbcccccccccccccccccccccccccccccccccccccccccccbcccccccccccbccccccccccccccccccccccccccbccccccccccccccccbcccccccccccccccccccccccccccccccccccbcccbcccccccccccccccccccccccccccccccccccbcccbccccccccccccccccccccccccccccccc") +const _hex28223 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccccccccbccccccccccccbccccccccbcccccccccccccccccccccccccccccccccccccccccccbcccccccccccbccccccccccccccccccccccccccbccccccccccccccccbcccccccccccccccccccccccccccccccccccbcccbcccccccccccccccccccccccccccccccccccccccbbbbbbbbbbbbbbbbcccccccccccccccc") +const _hex28227 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccccbbbbbbbbbbbbbbcbcccccccccccccccbcccbcccccccccccbcccccccccccccccbccccccccbccccccbccccbccccccccccbcccccccccccccccbcccccccccccccbcbbccccccccccccccbcccccccccccccccbccccbcccbccccccbcccccccccccccccbcccccccccccccccbbccccccccccccccbcccccccccccccccb") +const _hex28229 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccccbccccccbccccccccbcccbcccccccccccbcccccccccccccccbcccccccccccccccbccccccccbccccccbccccbccccccccccbcccccccccccccccbcccccccccccccbcbbccccccccccccccbcccccccccccccccbccccbcccbccccccbcccccccccccccccbcccccccccccccccbbccccccccccccbcbcccccccccccccccb") +const _hex28231 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccccbccccccbccccccccbcccbcccccccccccbcccccccccccccccbcccccccccccccccbccccccccbccccccbccccbccccccccccbcccccccccccccccbcccccccccccccbcbbccccccccccccccbcccccccccccccccbccccbcccbccccccbcccccccccccccccbcccccccccccccccbbbbbbbbbbbbbbbcbcccccccccccccccc") +const _hex28257 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ccccccccccccccacbbddbcdddddbddcdbbddbcdddddbddcdbbddccccccccccccbbddbc4bbbb4bbcbbbddbcbbeebbbbcbbbddbcbb4545becbbbddbc5b5b44e4cbbbddbc5b5befe4cbbbddbcbb4545becbbbddbcbbeebbbbcbbbddbc4bbbb4bbcbbbddccccccccccccbbddbcdddddbddcdbbddbcdddddbddcdccccccccccccccac") +const _hex28870 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28874 = pxsim.BufferMethods.createBufferFromHex("87041000100000002222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222") +const _hex28953 = pxsim.BufferMethods.createBufferFromHex("87040e001000000000000000000000000000000000000000000000000000000000aaaaaa00000a00a01111110a000a00a01111110a000aa0a0111111aaaaaa0aa0111111aaaaaa0aa01111110a000aa0a01111110a000a0000aaaaaa00000a00000000000000000000000000000000000000000000000000") -function control___screen_inline__P4260(s) { +function control___screen_inline__P26575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1010,23 +1010,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___4257 = (false); - s.tmp_0 = pause__P413_mk(s); + globals.__updated___26572 = (false); + s.tmp_0 = pause__P22724_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___4257); + r0 = pxsim_numops_toBoolDecr(globals.__updated___26572); 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__P1824_mk(s); + s.tmp_2 = control___screen_update__P24135_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___4257 = (true); + globals.__updated___26572 = (true); case 2: case 3: { step = 1; continue; } @@ -1035,12 +1035,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P4260.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__P26575.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__P4260_mk(s) { +function control___screen_inline__P26575_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P4260, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P26575, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1051,7 +1051,7 @@ function control___screen_inline__P4260_mk(s) { -function _screen_internal_inline__P4278(s) { +function _screen_internal_inline__P26593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1061,17 +1061,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___1863); + r0 = pxsim_pxtcore.updateScreen(globals.screen___24174); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4278.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__P26593.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__P4278_mk(s) { +function _screen_internal_inline__P26593_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4278, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P26593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1079,7 +1079,7 @@ function _screen_internal_inline__P4278_mk(s) { -function _screen_internal_inline__P4283(s) { +function _screen_internal_inline__P26598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1098,12 +1098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4283.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__P26598.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__P4283_mk(s) { +function _screen_internal_inline__P26598_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4283, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P26598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1112,7 +1112,7 @@ function _screen_internal_inline__P4283_mk(s) { -function info_inline__P4416(s) { +function info_inline__P26731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1126,36 +1126,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___4412); + r0 = pxsim_numops_toBoolDecr(globals.infoState___26727); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4414); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___26729); 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___4414 = (r0); + globals.infoStateStack___26729 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4412); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___26727); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___4414, s.tmp_0); - globals.infoState___4412 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___26729, s.tmp_0); + globals.infoState___26727 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P4416.info = {"start":2248,"length":259,"line":83,"column":29,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P26731.info = {"start":2248,"length":259,"line":83,"column":29,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P4416_mk(s) { +function info_inline__P26731_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4416, depth: s.depth + 1, + parent: s, fn: info_inline__P26731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1166,7 +1166,7 @@ function info_inline__P4416_mk(s) { -function info_inline__P4431(s) { +function info_inline__P26746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1176,30 +1176,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___4432 = undefined; - s.nextState___4441 = undefined; - s.tmp_0 = game_currentScene__P2733_mk(s); + s.scene___26747 = undefined; + s.nextState___26756 = undefined; + s.tmp_0 = game_currentScene__P25044_mk(s); s.callLocIdx = 19; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___4432 = (r0); - globals.infoState___4412 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___4414; + s.scene___26747 = (r0); + globals.infoState___26727 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___26729; 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___4414); + r0 = pxsim_Array__length(globals.infoStateStack___26729); 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___4414); - s.nextState___4441 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___26729); + s.nextState___26756 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___4441; + s.tmp_2.arg0 = s.nextState___26756; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1211,12 +1211,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___4432); + r0 = (s.tmp_1 == s.scene___26747); 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___4441; + s.tmp_3.arg0 = s.nextState___26756; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1227,10 +1227,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___4412 = (r0); + globals.infoState___26727 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___4414, s.nextState___4441); + r0 = pxsim_Array__push(globals.infoStateStack___26729, s.nextState___26756); case 4: case 5: case 6: @@ -1238,26 +1238,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P4431.info = {"start":2539,"length":376,"line":94,"column":28,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P26746.info = {"start":2539,"length":376,"line":94,"column":28,"endLine":105,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P4431_mk(s) { +function info_inline__P26746_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4431, depth: s.depth + 1, + parent: s, fn: info_inline__P26746, 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___4432: undefined, - nextState___4441: undefined, + scene___26747: undefined, + nextState___26756: undefined, } } -function myTiles_inline__P17811(s) { +function myTiles_inline__P28878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1271,7 +1271,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P22434_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 50; s.pc = 9; return s.tmp_1; case 9: @@ -1295,10 +1295,10 @@ switch (step) { case 2: r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___17802); - s.tmp_3 = tiles_createTilemap__P2540_mk(s); - s.tmp_3.arg0 = _hex17818; - r0 = pxsim.image.ofBuffer(_hex17820); + r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___26390); + s.tmp_3 = tiles_createTilemap__P24851_mk(s); + s.tmp_3.arg0 = _hex28885; + r0 = pxsim.image.ofBuffer(_hex28887); s.tmp_3.arg1 = r0; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = 4; @@ -1310,10 +1310,10 @@ switch (step) { case 4: r0 = pxsim_Array__mk(); s.tmp_4 = r0; - r0 = pxsim_Array__push(s.tmp_4, globals.transparency16___17802); - s.tmp_5 = tiles_createTilemap__P2540_mk(s); - s.tmp_5.arg0 = _hex17826; - r0 = pxsim.image.ofBuffer(_hex17828); + r0 = pxsim_Array__push(s.tmp_4, globals.transparency16___26390); + s.tmp_5 = tiles_createTilemap__P24851_mk(s); + s.tmp_5.arg0 = _hex28893; + r0 = pxsim.image.ofBuffer(_hex28895); s.tmp_5.arg1 = r0; s.tmp_5.arg2 = s.tmp_4; s.tmp_5.arg3 = 4; @@ -1325,23 +1325,23 @@ switch (step) { case 6: r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.transparency16___17802); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundNorthWest0___3736); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundNorth___3737); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundNorthEast0___3738); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundEast___3742); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundSouthEast0___3746); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundSouthWest0___3744); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundSouth___3745); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundWest___3740); - r0 = pxsim_Array__push(s.tmp_6, globals.collectibleInsignia___3733); - r0 = pxsim_Array__push(s.tmp_6, globals.doorLockedNorth___3759); - r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundCenter___3741); - r0 = pxsim_Array__push(s.tmp_6, globals.collectibleRedCrystal___3734); - r0 = pxsim_Array__push(s.tmp_6, globals.tile1___17807); - s.tmp_7 = tiles_createTilemap__P2540_mk(s); - s.tmp_7.arg0 = _hex17834; - r0 = pxsim.image.ofBuffer(_hex17836); + r0 = pxsim_Array__push(s.tmp_6, globals.transparency16___26390); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundNorthWest0___26047); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundNorth___26048); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundNorthEast0___26049); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundEast___26053); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundSouthEast0___26057); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundSouthWest0___26055); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundSouth___26056); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundWest___26051); + r0 = pxsim_Array__push(s.tmp_6, globals.collectibleInsignia___26044); + r0 = pxsim_Array__push(s.tmp_6, globals.doorLockedNorth___26070); + r0 = pxsim_Array__push(s.tmp_6, globals.darkGroundCenter___26052); + r0 = pxsim_Array__push(s.tmp_6, globals.collectibleRedCrystal___26045); + r0 = pxsim_Array__push(s.tmp_6, globals.tile1___26391); + s.tmp_7 = tiles_createTilemap__P24851_mk(s); + s.tmp_7.arg0 = _hex28901; + r0 = pxsim.image.ofBuffer(_hex28903); s.tmp_7.arg1 = r0; s.tmp_7.arg2 = s.tmp_6; s.tmp_7.arg3 = 4; @@ -1355,12 +1355,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myTiles_inline__P17811.info = {"start":292,"length":41340,"line":7,"column":40,"endLine":102,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +myTiles_inline__P28878.info = {"start":292,"length":41340,"line":7,"column":40,"endLine":102,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function myTiles_inline__P17811_mk(s) { +function myTiles_inline__P28878_mk(s) { checkStack(s.depth); return { - parent: s, fn: myTiles_inline__P17811, depth: s.depth + 1, + parent: s, fn: myTiles_inline__P28878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1373,17 +1373,17 @@ function myTiles_inline__P17811_mk(s) { arg0: undefined, } } -const _hex17818 = pxsim.BufferMethods.createBufferFromHex("ff003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex17820 = pxsim.BufferMethods.createBufferFromHex("8704ff0032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex17826 = pxsim.BufferMethods.createBufferFromHex("1000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex17828 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex17834 = pxsim.BufferMethods.createBufferFromHex("10001000010202020202020202020202020202030a0d0d0c0d0d0d0c0d0d0d0c0d0d0d04080c0d0d0d0c0d0d0d0c0d0d0d0c0d04080b0b0b0b0b0b0b0b0b0b0b0b0b0d04080d0d0d0c0d0d0d0c0d0d0d0c0d0d04080d0c0d0d0d0c0d0d0d0c0d0d0d0c04080d0b0b0b0b0b0b0b0b0b0b0b0b0b04080d0d0c0d0d0d0c0d0d0d0c0d0d0d04080c0d0d0d0c0d0d0d0c0d0d0d0c0d04080b0b0b0b0b0b0b0b0b0b0b0b0b0d04080d0d0d0c0d0d0d0c0d0d0d0c0d0d04080d0c0d0d0d0c0d0d0d0c0d0d0d0c04080d0b0b0b0b0b0b0b0b0b0b0b0b0b04080d0c0d0d0d0c0d0d0d0c0d0d0d0c04080d0d0d0c0d0d0d0c0d0d0d0c0d0d0906070707070707070707070707070705") -const _hex17836 = pxsim.BufferMethods.createBufferFromHex("87041000100000000222222222222222022000002000002002200002200002200220000220000220022000022000022002200002200002200220000220000220022000022000022002200002200002200220000220000220022000022000022002200002200002200220000220000220022000022000022002000002000002202222222222222220") +const _hex28885 = pxsim.BufferMethods.createBufferFromHex("ff003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28887 = pxsim.BufferMethods.createBufferFromHex("8704ff0032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28893 = pxsim.BufferMethods.createBufferFromHex("1000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28895 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28901 = pxsim.BufferMethods.createBufferFromHex("10001000010202020202020202020202020202030a0d0d0c0d0d0d0c0d0d0d0c0d0d0d04080c0d0d0d0c0d0d0d0c0d0d0d0c0d04080b0b0b0b0b0b0b0b0b0b0b0b0b0d04080d0d0d0c0d0d0d0c0d0d0d0c0d0d04080d0c0d0d0d0c0d0d0d0c0d0d0d0c04080d0b0b0b0b0b0b0b0b0b0b0b0b0b04080d0d0c0d0d0d0c0d0d0d0c0d0d0d04080c0d0d0d0c0d0d0d0c0d0d0d0c0d04080b0b0b0b0b0b0b0b0b0b0b0b0b0d04080d0d0d0c0d0d0d0c0d0d0d0c0d0d04080d0c0d0d0d0c0d0d0d0c0d0d0d0c04080d0b0b0b0b0b0b0b0b0b0b0b0b0b04080d0c0d0d0d0c0d0d0d0c0d0d0d0c04080d0d0d0c0d0d0d0c0d0d0d0c0d0d0906070707070707070707070707070705") +const _hex28903 = pxsim.BufferMethods.createBufferFromHex("87041000100000000222222222222222022000002000002002200002200002200220000220000220022000022000022002200002200002200220000220000220022000022000022002200002200002200220000220000220022000022000022002200002200002200220000220000220022000022000022002000002000002202222222222222220") -function myTiles_inline__P17855(s) { +function myTiles_inline__P28922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1397,7 +1397,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P22434_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 55; s.pc = 6; return s.tmp_1; case 6: @@ -1412,11 +1412,11 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - r0 = globals.transparency16___17802; + r0 = globals.transparency16___26390; { step = 5; continue; } case 2: case 3: - r0 = globals.tile1___17807; + r0 = globals.tile1___26391; { step = 5; continue; } case 4: r0 = null; @@ -1424,12 +1424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myTiles_inline__P17855.info = {"start":41672,"length":225,"line":104,"column":37,"endLine":111,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +myTiles_inline__P28922.info = {"start":41672,"length":225,"line":104,"column":37,"endLine":111,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function myTiles_inline__P17855_mk(s) { +function myTiles_inline__P28922_mk(s) { checkStack(s.depth); return { - parent: s, fn: myTiles_inline__P17855, depth: s.depth + 1, + parent: s, fn: myTiles_inline__P28922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1440,7 +1440,7 @@ function myTiles_inline__P17855_mk(s) { -function inline__P22253(s) { +function inline__P28933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1455,7 +1455,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_over__P2743_mk(s); + s.tmp_0 = game_over__P25054_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 57; s.pc = 1; return s.tmp_0; @@ -1465,12 +1465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22253.info = {"start":72,"length":51,"line":0,"column":72,"endLine":2,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P28933.info = {"start":72,"length":51,"line":0,"column":72,"endLine":2,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P22253_mk(s) { +function inline__P28933_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22253, depth: s.depth + 1, + parent: s, fn: inline__P28933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1481,7 +1481,7 @@ function inline__P22253_mk(s) { -function inline__P22261(s) { +function inline__P28941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1496,13 +1496,13 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_splash__P2727_mk(s); + s.tmp_0 = game_splash__P25038_mk(s); s.tmp_0.arg0 = "You Died"; s.tmp_0.arg1 = "You tried to swim in the lava"; s.callLocIdx = 59; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_over__P2743_mk(s); + s.tmp_0 = game_over__P25054_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; s.callLocIdx = 60; s.pc = 2; return s.tmp_0; @@ -1512,12 +1512,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22261.info = {"start":203,"length":113,"line":3,"column":78,"endLine":6,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P28941.info = {"start":203,"length":113,"line":3,"column":78,"endLine":6,"endColumn":1,"fileName":"main.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P22261_mk(s) { +function inline__P28941_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22261, depth: s.depth + 1, + parent: s, fn: inline__P28941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1528,7 +1528,7 @@ function inline__P22261_mk(s) { -function controller_moveSprite__P1991(s) { +function controller_moveSprite__P24302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1544,28 +1544,28 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller_moveSprite__P1978_mk(s); - s.tmp_1 = controller__player1__P1956_mk(s); - s.callLocIdx = 22; s.pc = 2; return s.tmp_1; + s.tmp_0 = controller_Controller_moveSprite__P24289_mk(s); + s.tmp_1 = controller__player1__P24267_mk(s); + s.callLocIdx = 237; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; - s.callLocIdx = 23; s.pc = 1; return s.tmp_0; + s.callLocIdx = 238; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_moveSprite__P1991.info = {"start":12781,"length":133,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} +controller_moveSprite__P24302.info = {"start":12781,"length":133,"line":387,"column":4,"endLine":389,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} -function controller_moveSprite__P1991_mk(s) { +function controller_moveSprite__P24302_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_moveSprite__P1991, depth: s.depth + 1, + parent: s, fn: controller_moveSprite__P24302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1578,7 +1578,7 @@ function controller_moveSprite__P1991_mk(s) { -function controller_Controller_moveSprite__P1978(s) { +function controller_Controller_moveSprite__P24289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1588,7 +1588,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cp___18323 = undefined; + s.cp___29093 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1597,7 +1597,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -1607,9 +1607,9 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_5 = controller_Controller__controlledSprites__P1967_mk(s); + s.tmp_5 = controller_Controller__controlledSprites__P24278_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 14; s.pc = 16; return s.tmp_5; + s.callLocIdx = 198; s.pc = 16; return s.tmp_5; case 16: r0 = s.retval; s.tmp_4 = r0; @@ -1619,57 +1619,57 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_6 = controller_Controller__controlledSprites__P1968_mk(s); + s.tmp_6 = controller_Controller__controlledSprites__P24279_mk(s); s.tmp_6.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_6.arg1 = r0; - s.callLocIdx = 15; s.pc = 17; return s.tmp_6; + s.callLocIdx = 199; s.pc = 17; return s.tmp_6; case 17: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, cp_inline__P18326); + r0 = pxsim_pxtcore_mkAction(1, cp_inline__P29096); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P111_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P1967_mk(s); + s.tmp_1 = helpers_arrayFind__P22422_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P24278_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 16; s.pc = 19; return s.tmp_2; + s.callLocIdx = 200; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 17; s.pc = 18; return s.tmp_1; + s.callLocIdx = 201; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.cp___18323 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cp___18323); + s.cp___29093 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cp___29093); 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; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C1958_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C24269_VT); s.tmp_2 = r0; - s.tmp_3 = controller_ControlledSprite_constructor__P1960_mk(s); + s.tmp_3 = controller_ControlledSprite_constructor__P24271_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; s.tmp_3.arg3 = s.arg3; - s.callLocIdx = 18; s.pc = 20; return s.tmp_3; + s.callLocIdx = 202; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.cp___18323 = (s.tmp_2); - s.tmp_1 = controller_Controller__controlledSprites__P1967_mk(s); + s.cp___29093 = (s.tmp_2); + s.tmp_1 = controller_Controller__controlledSprites__P24278_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 19; s.pc = 21; return s.tmp_1; + s.callLocIdx = 203; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.cp___18323); + r0 = pxsim_Array__push(s.tmp_0, s.cp___29093); case 5: case 6: - r0 = s.cp___18323.fields["vx"]; + r0 = s.cp___29093.fields["vx"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } @@ -1682,16 +1682,16 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - s.tmp_2 = Sprite_vx__P2181_mk(s); - r0 = s.cp___18323.fields["s"]; + s.tmp_2 = Sprite_vx__P24492_mk(s); + r0 = s.cp___29093.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; - s.callLocIdx = 20; s.pc = 22; return s.tmp_2; + s.callLocIdx = 204; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; case 9: case 10: - r0 = s.cp___18323.fields["vy"]; + r0 = s.cp___29093.fields["vy"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } @@ -1704,28 +1704,28 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = Sprite_vy__P2183_mk(s); - r0 = s.cp___18323.fields["s"]; + s.tmp_2 = Sprite_vy__P24494_mk(s); + r0 = s.cp___29093.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; - s.callLocIdx = 21; s.pc = 23; return s.tmp_2; + s.callLocIdx = 205; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; case 13: case 14: - r0 = (s.cp___18323).fields["vx"] = (s.arg2); - r0 = (s.cp___18323).fields["vy"] = (s.arg3); + r0 = (s.cp___29093).fields["vx"] = (s.arg2); + r0 = (s.cp___29093).fields["vy"] = (s.arg3); case 15: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_moveSprite__P1978.info = {"start":4656,"length":608,"line":166,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} +controller_Controller_moveSprite__P24289.info = {"start":4656,"length":608,"line":166,"column":8,"endLine":182,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["this","sprite","vx","vy"]} -function controller_Controller_moveSprite__P1978_mk(s) { +function controller_Controller_moveSprite__P24289_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_moveSprite__P1978, depth: s.depth + 1, + parent: s, fn: controller_Controller_moveSprite__P24289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1734,7 +1734,7 @@ function controller_Controller_moveSprite__P1978_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - cp___18323: undefined, + cp___29093: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -1745,7 +1745,7 @@ function controller_Controller_moveSprite__P1978_mk(s) { -function cp_inline__P18326(s) { +function cp_inline__P29096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1768,12 +1768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -cp_inline__P18326.info = {"start":4876,"length":26,"line":169,"column":50,"endLine":169,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} +cp_inline__P29096.info = {"start":4876,"length":26,"line":169,"column":50,"endLine":169,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} -function cp_inline__P18326_mk(s) { +function cp_inline__P29096_mk(s) { checkStack(s.depth); return { - parent: s, fn: cp_inline__P18326, depth: s.depth + 1, + parent: s, fn: cp_inline__P29096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1784,7 +1784,7 @@ function cp_inline__P18326_mk(s) { -function Sprite_vy__P2183(s) { +function Sprite_vy__P24494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1800,7 +1800,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -1811,12 +1811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P2183.info = {"start":3757,"length":51,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P24494.info = {"start":3757,"length":51,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P2183_mk(s) { +function Sprite_vy__P24494_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2183, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P24494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1829,7 +1829,7 @@ function Sprite_vy__P2183_mk(s) { -function Sprite_vy__P2182(s) { +function Sprite_vy__P24493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1844,20 +1844,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2182.info = {"start":3595,"length":60,"line":143,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P2182.isGetter = true; +Sprite_vy__P24493.info = {"start":3595,"length":60,"line":143,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P24493.isGetter = true; -function Sprite_vy__P2182_mk(s) { +function Sprite_vy__P24493_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2182, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P24493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1867,7 +1867,7 @@ function Sprite_vy__P2182_mk(s) { -function Fx_toFloat__P173(s) { +function Fx_toFloat__P22484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1885,12 +1885,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P173.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P22484.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P173_mk(s) { +function Fx_toFloat__P22484_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P173, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P22484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1899,7 +1899,7 @@ function Fx_toFloat__P173_mk(s) { -function Sprite_vx__P2181(s) { +function Sprite_vx__P24492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1915,7 +1915,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -1926,12 +1926,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P2181.info = {"start":3426,"length":51,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P24492.info = {"start":3426,"length":51,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P2181_mk(s) { +function Sprite_vx__P24492_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2181, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P24492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1944,7 +1944,7 @@ function Sprite_vx__P2181_mk(s) { -function Sprite_vx__P2180(s) { +function Sprite_vx__P24491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1959,20 +1959,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2180.info = {"start":3264,"length":60,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P2180.isGetter = true; +Sprite_vx__P24491.info = {"start":3264,"length":60,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P24491.isGetter = true; -function Sprite_vx__P2180_mk(s) { +function Sprite_vx__P24491_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2180, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P24491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1982,7 +1982,7 @@ function Sprite_vx__P2180_mk(s) { -function controller_Controller__controlledSprites__P1968(s) { +function controller_Controller__controlledSprites__P24279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1998,9 +1998,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 145; s.pc = 1; return s.tmp_1; + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 193; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["controlledSprites"]; @@ -2012,12 +2012,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P1968.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__P24279.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__P1968_mk(s) { +function controller_Controller__controlledSprites__P24279_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P1968, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P24279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2030,7 +2030,7 @@ function controller_Controller__controlledSprites__P1968_mk(s) { -function controller_Controller__controlledSprites__P1967(s) { +function controller_Controller__controlledSprites__P24278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2045,9 +2045,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 144; s.pc = 1; return s.tmp_1; + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 192; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["controlledSprites"]; @@ -2058,13 +2058,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P1967.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__P1967.isGetter = true; +controller_Controller__controlledSprites__P24278.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__P24278.isGetter = true; -function controller_Controller__controlledSprites__P1967_mk(s) { +function controller_Controller__controlledSprites__P24278_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P1967, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P24278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2076,7 +2076,7 @@ function controller_Controller__controlledSprites__P1967_mk(s) { -function controller_ControlledSprite_constructor__P1960(s) { +function controller_ControlledSprite_constructor__P24271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2094,7 +2094,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ControlledSprite__C1958_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ControlledSprite__C24269_VT)) failedCast(r0); r0 = (s.arg0).fields["s"] = (s.arg1); r0 = (s.arg0).fields["vx"] = (s.arg2); r0 = (s.arg0).fields["vy"] = (s.arg3); @@ -2102,12 +2102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_ControlledSprite_constructor__P1960.info = {"start":979,"length":117,"line":36,"column":8,"endLine":40,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} +controller_ControlledSprite_constructor__P24271.info = {"start":979,"length":117,"line":36,"column":8,"endLine":40,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} -function controller_ControlledSprite_constructor__P1960_mk(s) { +function controller_ControlledSprite_constructor__P24271_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ControlledSprite_constructor__P1960, depth: s.depth + 1, + parent: s, fn: controller_ControlledSprite_constructor__P24271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2119,7 +2119,7 @@ function controller_ControlledSprite_constructor__P1960_mk(s) { -function helpers_arrayFind__P111(s) { +function helpers_arrayFind__P22422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2129,41 +2129,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___18373 = undefined; - s.i___18376 = undefined; - s.v___18381 = undefined; + s.len___29168 = undefined; + s.i___29171 = undefined; + s.v___29176 = 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___18373 = (r0); - s.i___18376 = (0); + s.len___29168 = (r0); + s.i___29171 = (0); case 1: - r0 = (s.i___18376 < s.len___18373); + r0 = (s.i___29171 < s.len___29168); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___18376); - s.v___18381 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___29171); + s.v___29176 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___18381; - s.tmp_1.arg1 = s.i___18376; + s.tmp_1.arg0 = s.v___29176; + s.tmp_1.arg1 = s.i___29171; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 0; s.pc = 6; return s.tmp_1; + s.callLocIdx = 8; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___18381; + r0 = s.v___29176; { step = 5; continue; } case 2: case 3: - r0 = (s.i___18376 + 1); - s.i___18376 = (r0); + r0 = (s.i___29171 + 1); + s.i___29171 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -2171,18 +2171,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P111.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P22422.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P111_mk(s) { +function helpers_arrayFind__P22422_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P111, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P22422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___18373: undefined, - i___18376: undefined, - v___18381: undefined, + len___29168: undefined, + i___29171: undefined, + v___29176: undefined, arg0: undefined, arg1: undefined, } } @@ -2191,7 +2191,7 @@ function helpers_arrayFind__P111_mk(s) { -function controller__player1__P1956(s) { +function controller__player1__P24267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2201,7 +2201,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___4326); + r0 = pxsim_numops_toBoolDecr(globals._players___26641); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2210,7 +2210,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___4326, 0); + r0 = pxsim_Array__getAt(globals._players___26641, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -2220,36 +2220,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C1962_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C24273_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___1943); - r0 = pxsim_Array__push(s.tmp_6, globals.up___1944); - r0 = pxsim_Array__push(s.tmp_6, globals.right___1945); - r0 = pxsim_Array__push(s.tmp_6, globals.down___1946); - r0 = pxsim_Array__push(s.tmp_6, globals.A___1941); - r0 = pxsim_Array__push(s.tmp_6, globals.B___1942); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___1947); - s.tmp_7 = controller_Controller_constructor__P1966_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___24254); + r0 = pxsim_Array__push(s.tmp_6, globals.up___24255); + r0 = pxsim_Array__push(s.tmp_6, globals.right___24256); + r0 = pxsim_Array__push(s.tmp_6, globals.down___24257); + r0 = pxsim_Array__push(s.tmp_6, globals.A___24252); + r0 = pxsim_Array__push(s.tmp_6, globals.B___24253); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___24258); + s.tmp_7 = controller_Controller_constructor__P24277_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; - s.callLocIdx = 136; s.pc = 5; return s.tmp_7; + s.callLocIdx = 184; s.pc = 5; return s.tmp_7; case 5: r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___4326, 0); + r0 = pxsim_Array__getAt(globals._players___26641, 0); return leave(s, r0) default: oops() } } } -controller__player1__P1956.info = {"start":484,"length":258,"line":23,"column":4,"endLine":27,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P24267.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__P1956_mk(s) { +function controller__player1__P24267_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P1956, depth: s.depth + 1, + parent: s, fn: controller__player1__P24267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2265,7 +2265,7 @@ function controller__player1__P1956_mk(s) { -function controller_Controller_constructor__P1966(s) { +function controller_Controller_constructor__P24277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2275,9 +2275,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___9799 = undefined; - s.i___9807 = undefined; - s.i___9825 = undefined; + s.leftId___29030 = undefined; + s.i___29038 = undefined; + s.i___29056 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2285,7 +2285,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -2309,34 +2309,34 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___9799 = (r0); - s.i___9807 = (0); + s.leftId___29030 = (r0); + s.i___29038 = (0); case 2: - r0 = (s.i___9807 < 7); + r0 = (s.i___29038 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2013_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C24324_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P2019_mk(s); + s.tmp_2 = controller_Button_constructor__P24330_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___9799 + s.i___9807); + r0 = (s.leftId___29030 + s.i___29038); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; - s.callLocIdx = 142; s.pc = 7; return s.tmp_2; + s.callLocIdx = 190; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___9807 + 1); - s.i___9807 = (r0); + r0 = (s.i___29038 + 1); + s.i___29038 = (r0); { step = 2; continue; } case 3: case 4: - s.i___9825 = (0); + s.i___29056 = (0); case 5: - s.tmp_1 = r0 = s.i___9825; + s.tmp_1 = r0 = s.i___29056; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -2347,28 +2347,28 @@ 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___9825); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___29056); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___9825 + 1); - s.i___9825 = (r0); + r0 = (s.i___29056 + 1); + s.i___29056 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P4327_mk(s); + s.tmp_0 = controller_addController__P26642_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 143; s.pc = 8; return s.tmp_0; + s.callLocIdx = 191; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P1966.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__P24277.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__P1966_mk(s) { +function controller_Controller_constructor__P24277_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P1966, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P24277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2376,9 +2376,9 @@ function controller_Controller_constructor__P1966_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___9799: undefined, - i___9807: undefined, - i___9825: undefined, + leftId___29030: undefined, + i___29038: undefined, + i___29056: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2388,7 +2388,7 @@ function controller_Controller_constructor__P1966_mk(s) { -function controller_addController__P4327(s) { +function controller_addController__P26642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2402,17 +2402,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___4326); + r0 = pxsim_numops_toBoolDecr(globals._players___26641); 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___4326 = (r0); + globals._players___26641 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___4326; + s.tmp_0 = r0 = globals._players___26641; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -2422,12 +2422,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P4327.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__P26642.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__P4327_mk(s) { +function controller_addController__P26642_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P4327, depth: s.depth + 1, + parent: s, fn: controller_addController__P26642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2439,7 +2439,7 @@ function controller_addController__P4327_mk(s) { -function scene_cameraFollowSprite__P2665(s) { +function scene_cameraFollowSprite__P24976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2449,32 +2449,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___18268 = undefined; + s.scene___29203 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 23; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1097; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___18268 = (r0); - r0 = s.scene___18268.fields["camera"]; + s.scene___29203 = (r0); + r0 = s.scene___29203.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_cameraFollowSprite__P2665.info = {"start":4010,"length":139,"line":143,"column":4,"endLine":146,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P24976.info = {"start":4010,"length":139,"line":143,"column":4,"endLine":146,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -function scene_cameraFollowSprite__P2665_mk(s) { +function scene_cameraFollowSprite__P24976_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P2665, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P24976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___18268: undefined, + scene___29203: undefined, arg0: undefined, } } @@ -2482,7 +2482,7 @@ function scene_cameraFollowSprite__P2665_mk(s) { -function tiles_placeOnRandomTile__P2552(s) { +function tiles_placeOnRandomTile__P24863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2492,7 +2492,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loc___18066 = undefined; + s.loc___29219 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2507,8 +2507,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = game_currentScene__P2733_mk(s); - s.callLocIdx = 32; s.pc = 8; return s.tmp_4; + s.tmp_4 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1031; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; r0 = r0.fields["tileMap"]; @@ -2524,18 +2524,18 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_6 = tiles_getRandomTileByType__P2554_mk(s); + s.tmp_6 = tiles_getRandomTileByType__P24865_mk(s); s.tmp_6.arg0 = s.arg1; - s.callLocIdx = 33; s.pc = 9; return s.tmp_6; + s.callLocIdx = 1032; s.pc = 9; return s.tmp_6; case 9: r0 = s.retval; - s.loc___18066 = (r0); - r0 = pxsim_numops_toBoolDecr(s.loc___18066); + s.loc___29219 = (r0); + r0 = pxsim_numops_toBoolDecr(s.loc___29219); if (!r0) { step = 5; continue; } - s.tmp_0 = tiles_Location_place__P2487_mk(s); - s.tmp_0.arg0 = s.loc___18066; + s.tmp_0 = tiles_Location_place__P24798_mk(s); + s.tmp_0.arg0 = s.loc___29219; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 34; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1033; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 5: @@ -2545,12 +2545,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_placeOnRandomTile__P2552.info = {"start":25356,"length":232,"line":763,"column":4,"endLine":768,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"placeOnRandomTile","argumentNames":["sprite","tile"]} +tiles_placeOnRandomTile__P24863.info = {"start":25356,"length":232,"line":763,"column":4,"endLine":768,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"placeOnRandomTile","argumentNames":["sprite","tile"]} -function tiles_placeOnRandomTile__P2552_mk(s) { +function tiles_placeOnRandomTile__P24863_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_placeOnRandomTile__P2552, depth: s.depth + 1, + parent: s, fn: tiles_placeOnRandomTile__P24863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2559,7 +2559,7 @@ function tiles_placeOnRandomTile__P2552_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - loc___18066: undefined, + loc___29219: undefined, arg0: undefined, arg1: undefined, } } @@ -2568,7 +2568,7 @@ function tiles_placeOnRandomTile__P2552_mk(s) { -function tiles_getRandomTileByType__P2554(s) { +function tiles_getRandomTileByType__P24865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2578,18 +2578,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___18075 = undefined; - s.index___18085 = undefined; - s.sample___18091 = undefined; + s.scene___29332 = undefined; + s.index___29342 = undefined; + s.sample___29348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 35; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1034; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___18075 = (r0); + s.scene___29332 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -2599,7 +2599,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___18075.fields["tileMap"]; + r0 = s.scene___29332.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -2613,34 +2613,34 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getImageType__P2530_mk(s); - r0 = s.scene___18075.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getImageType__P24841_mk(s); + r0 = s.scene___29332.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; - s.callLocIdx = 36; s.pc = 7; return s.tmp_5; + s.callLocIdx = 1035; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; - s.index___18085 = (r0); - s.tmp_0 = tiles_TileMap_sampleTilesByType__P2533_mk(s); - r0 = s.scene___18075.fields["tileMap"]; + s.index___29342 = (r0); + s.tmp_0 = tiles_TileMap_sampleTilesByType__P24844_mk(s); + r0 = s.scene___29332.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___18085; + s.tmp_0.arg1 = s.index___29342; s.tmp_0.arg2 = 1; - s.callLocIdx = 37; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1036; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.sample___18091 = (r0); - r0 = pxsim_Array__getAt(s.sample___18091, 0); + s.sample___29348 = (r0); + r0 = pxsim_Array__getAt(s.sample___29348, 0); case 5: return leave(s, r0) default: oops() } } } -tiles_getRandomTileByType__P2554.info = {"start":26360,"length":324,"line":791,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getRandomTileByType","argumentNames":["tile"]} +tiles_getRandomTileByType__P24865.info = {"start":26360,"length":324,"line":791,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getRandomTileByType","argumentNames":["tile"]} -function tiles_getRandomTileByType__P2554_mk(s) { +function tiles_getRandomTileByType__P24865_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getRandomTileByType__P2554, depth: s.depth + 1, + parent: s, fn: tiles_getRandomTileByType__P24865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2648,9 +2648,9 @@ function tiles_getRandomTileByType__P2554_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___18075: undefined, - index___18085: undefined, - sample___18091: undefined, + scene___29332: undefined, + index___29342: undefined, + sample___29348: undefined, arg0: undefined, } } @@ -2658,7 +2658,7 @@ function tiles_getRandomTileByType__P2554_mk(s) { -function tiles_TileMap_sampleTilesByType__P2533(s) { +function tiles_TileMap_sampleTilesByType__P24844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2668,12 +2668,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.count___18111 = undefined; - s.reservoir___18112 = undefined; - s.col___18114 = undefined; - s.row___18121 = undefined; - s.currTile___18128 = undefined; - s.potentialIndex___18147 = undefined; + s.count___29368 = undefined; + s.reservoir___29369 = undefined; + s.col___29371 = undefined; + s.row___29379 = undefined; + s.currTile___29386 = undefined; + s.potentialIndex___29405 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2681,11 +2681,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMap_isInvalidIndex__P4474_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMap_isInvalidIndex__P26789_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 25; s.pc = 18; return s.tmp_1; + s.callLocIdx = 974; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0 = r0; @@ -2725,12 +2725,12 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.count___18111 = (0); + s.count___29368 = (0); r0 = pxsim_Array__mk(); - s.reservoir___18112 = (r0); - s.col___18114 = (0); + s.reservoir___29369 = (r0); + s.col___29371 = (0); case 7: - s.tmp_1 = r0 = s.col___18114; + s.tmp_1 = r0 = s.col___29371; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_width"]; @@ -2739,9 +2739,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.row___18121 = (0); + s.row___29379 = (0); case 8: - s.tmp_1 = r0 = s.row___18121; + s.tmp_1 = r0 = s.row___29379; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_height"]; @@ -2750,79 +2750,79 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_4 = tiles_TileMapData_getTile__P2501_mk(s); + s.tmp_4 = tiles_TileMapData_getTile__P24812_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.col___18114; - s.tmp_4.arg2 = s.row___18121; - s.callLocIdx = 29; s.pc = 19; return s.tmp_4; + s.tmp_4.arg1 = s.col___29371; + s.tmp_4.arg2 = s.row___29379; + s.callLocIdx = 978; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; - s.currTile___18128 = (r0); - r0 = (s.currTile___18128 === s.arg1); + s.currTile___29386 = (r0); + r0 = (s.currTile___29386 === s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.count___18111 < s.arg2); + r0 = (s.count___29368 < s.arg2); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2471_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C24782_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_Location_constructor__P2472_mk(s); + s.tmp_3 = tiles_Location_constructor__P24783_mk(s); s.tmp_3.arg0 = s.tmp_2; - s.tmp_3.arg1 = s.col___18114; - s.tmp_3.arg2 = s.row___18121; + s.tmp_3.arg1 = s.col___29371; + s.tmp_3.arg2 = s.row___29379; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 30; s.pc = 20; return s.tmp_3; + s.callLocIdx = 979; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - r0 = pxsim_Array__push(s.reservoir___18112, s.tmp_2); + r0 = pxsim_Array__push(s.reservoir___29369, s.tmp_2); { step = 12; continue; } case 9: - r0 = pxsim.Math_.randomRange(0, s.count___18111); - s.potentialIndex___18147 = (r0); - r0 = (s.potentialIndex___18147 < s.arg2); + r0 = pxsim.Math_.randomRange(0, s.count___29368); + s.potentialIndex___29405 = (r0); + r0 = (s.potentialIndex___29405 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2471_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C24782_VT); s.tmp_1 = r0; - s.tmp_2 = tiles_Location_constructor__P2472_mk(s); + s.tmp_2 = tiles_Location_constructor__P24783_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = s.col___18114; - s.tmp_2.arg2 = s.row___18121; + s.tmp_2.arg1 = s.col___29371; + s.tmp_2.arg2 = s.row___29379; s.tmp_2.arg3 = s.arg0; - s.callLocIdx = 31; s.pc = 21; return s.tmp_2; + s.callLocIdx = 980; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; - r0 = pxsim_Array_.setAt(s.reservoir___18112, s.potentialIndex___18147, s.tmp_1); + r0 = pxsim_Array_.setAt(s.reservoir___29369, s.potentialIndex___29405, s.tmp_1); case 10: case 11: case 12: - r0 = (s.count___18111 + 1); - s.count___18111 = (r0); + r0 = (s.count___29368 + 1); + s.count___29368 = (r0); case 13: case 14: - r0 = (s.row___18121 + 1); - s.row___18121 = (r0); + r0 = (s.row___29379 + 1); + s.row___29379 = (r0); { step = 8; continue; } case 15: - r0 = (s.col___18114 + 1); - s.col___18114 = (r0); + r0 = (s.col___29371 + 1); + s.col___29371 = (r0); { step = 7; continue; } case 16: - r0 = s.reservoir___18112; + r0 = s.reservoir___29369; case 17: return leave(s, r0) default: oops() } } } -tiles_TileMap_sampleTilesByType__P2533.info = {"start":12771,"length":1101,"line":428,"column":8,"endLine":452,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"sampleTilesByType","argumentNames":["this","index","maxCount"]} +tiles_TileMap_sampleTilesByType__P24844.info = {"start":12771,"length":1101,"line":428,"column":8,"endLine":452,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"sampleTilesByType","argumentNames":["this","index","maxCount"]} -function tiles_TileMap_sampleTilesByType__P2533_mk(s) { +function tiles_TileMap_sampleTilesByType__P24844_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_sampleTilesByType__P2533, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_sampleTilesByType__P24844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2834,12 +2834,12 @@ function tiles_TileMap_sampleTilesByType__P2533_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - count___18111: undefined, - reservoir___18112: undefined, - col___18114: undefined, - row___18121: undefined, - currTile___18128: undefined, - potentialIndex___18147: undefined, + count___29368: undefined, + reservoir___29369: undefined, + col___29371: undefined, + row___29379: undefined, + currTile___29386: undefined, + potentialIndex___29405: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2849,7 +2849,7 @@ function tiles_TileMap_sampleTilesByType__P2533_mk(s) { -function tiles_TileMap_isInvalidIndex__P4474(s) { +function tiles_TileMap_isInvalidIndex__P26789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2865,7 +2865,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -2881,12 +2881,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isInvalidIndex__P4474.info = {"start":13882,"length":106,"line":454,"column":8,"endLine":456,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_TileMap_isInvalidIndex__P26789.info = {"start":13882,"length":106,"line":454,"column":8,"endLine":456,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_TileMap_isInvalidIndex__P4474_mk(s) { +function tiles_TileMap_isInvalidIndex__P26789_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isInvalidIndex__P4474, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isInvalidIndex__P26789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2898,7 +2898,7 @@ function tiles_TileMap_isInvalidIndex__P4474_mk(s) { -function tiles_TileMap_enabled__P2525(s) { +function tiles_TileMap_enabled__P24836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2913,7 +2913,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -2926,13 +2926,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P2525.info = {"start":10177,"length":66,"line":351,"column":8,"endLine":353,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P2525.isGetter = true; +tiles_TileMap_enabled__P24836.info = {"start":10177,"length":66,"line":351,"column":8,"endLine":353,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P24836.isGetter = true; -function tiles_TileMap_enabled__P2525_mk(s) { +function tiles_TileMap_enabled__P24836_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P2525, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P24836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2945,7 +2945,7 @@ function tiles_TileMap_enabled__P2525_mk(s) { -function tiles_TileMapData_getTile__P2501(s) { +function tiles_TileMapData_getTile__P24812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2962,12 +2962,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2507_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P24818_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 791; s.pc = 4; return s.tmp_1; + s.callLocIdx = 947; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -2996,12 +2996,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P2501.info = {"start":6752,"length":200,"line":231,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P24812.info = {"start":6752,"length":200,"line":231,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P2501_mk(s) { +function tiles_TileMapData_getTile__P24812_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P2501, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P24812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3021,7 +3021,7 @@ function tiles_TileMapData_getTile__P2501_mk(s) { -function tiles_TileMapData_isOutsideMap__P2507(s) { +function tiles_TileMapData_isOutsideMap__P24818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3038,7 +3038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -3078,12 +3078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P2507.info = {"start":8335,"length":132,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P24818.info = {"start":8335,"length":132,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P2507_mk(s) { +function tiles_TileMapData_isOutsideMap__P24818_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P2507, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P24818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3102,7 +3102,7 @@ function tiles_TileMapData_isOutsideMap__P2507_mk(s) { -function tiles_TileMapData_height__P2498(s) { +function tiles_TileMapData_height__P24809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3117,18 +3117,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P2498.info = {"start":6489,"length":65,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P2498.isGetter = true; +tiles_TileMapData_height__P24809.info = {"start":6489,"length":65,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P24809.isGetter = true; -function tiles_TileMapData_height__P2498_mk(s) { +function tiles_TileMapData_height__P24809_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P2498, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P24809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3137,7 +3137,7 @@ function tiles_TileMapData_height__P2498_mk(s) { -function tiles_TileMapData_width__P2497(s) { +function tiles_TileMapData_width__P24808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3152,18 +3152,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P2497.info = {"start":6416,"length":63,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P2497.isGetter = true; +tiles_TileMapData_width__P24808.info = {"start":6416,"length":63,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P24808.isGetter = true; -function tiles_TileMapData_width__P2497_mk(s) { +function tiles_TileMapData_width__P24808_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P2497, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P24808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3172,7 +3172,7 @@ function tiles_TileMapData_width__P2497_mk(s) { -function tiles_Location_constructor__P2472(s) { +function tiles_Location_constructor__P24783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3190,19 +3190,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P2472.info = {"start":360,"length":121,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P24783.info = {"start":360,"length":121,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P2472_mk(s) { +function tiles_Location_constructor__P24783_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P2472, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P24783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3214,7 +3214,7 @@ function tiles_Location_constructor__P2472_mk(s) { -function tiles_TileMap_getImageType__P2530(s) { +function tiles_TileMap_getImageType__P24841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3224,49 +3224,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileset___18180 = undefined; - s.i___18185 = undefined; - s.newIndex___18199 = undefined; + s.tileset___29499 = undefined; + s.i___29504 = undefined; + s.newIndex___29518 = 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__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["tileset"]; - s.tileset___18180 = (r0); - s.i___18185 = (0); + s.tileset___29499 = (r0); + s.i___29504 = (0); case 1: - s.tmp_1 = r0 = s.i___18185; - r0 = pxsim_Array__length(s.tileset___18180); + s.tmp_1 = r0 = s.i___29504; + r0 = pxsim_Array__length(s.tileset___29499); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.tileset___18180, s.i___18185); + r0 = pxsim_Array__getAt(s.tileset___29499, s.i___29504); s.tmp_4 = r0; r0 = pxsim_ImageMethods.equals(s.tmp_4, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = s.i___18185; + r0 = s.i___29504; { step = 7; continue; } case 2: case 3: - r0 = (s.i___18185 + 1); - s.i___18185 = (r0); + r0 = (s.i___29504 + 1); + s.i___29504 = (r0); { step = 1; continue; } case 4: - r0 = pxsim_Array__length(s.tileset___18180); - s.newIndex___18199 = (r0); - s.tmp_3 = tiles_TileMap_isInvalidIndex__P4474_mk(s); + r0 = pxsim_Array__length(s.tileset___29499); + s.newIndex___29518 = (r0); + s.tmp_3 = tiles_TileMap_isInvalidIndex__P26789_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.newIndex___18199; - s.callLocIdx = 24; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.newIndex___29518; + s.callLocIdx = 973; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; @@ -3276,8 +3276,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_Array__push(s.tileset___18180, s.arg1); - r0 = s.newIndex___18199; + r0 = pxsim_Array__push(s.tileset___29499, s.arg1); + r0 = s.newIndex___29518; { step = 7; continue; } case 5: case 6: @@ -3286,21 +3286,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getImageType__P2530.info = {"start":11525,"length":482,"line":393,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getImageType","argumentNames":["this","im"]} +tiles_TileMap_getImageType__P24841.info = {"start":11525,"length":482,"line":393,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getImageType","argumentNames":["this","im"]} -function tiles_TileMap_getImageType__P2530_mk(s) { +function tiles_TileMap_getImageType__P24841_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getImageType__P2530, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getImageType__P24841, 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, - tileset___18180: undefined, - i___18185: undefined, - newIndex___18199: undefined, + tileset___29499: undefined, + i___29504: undefined, + newIndex___29518: undefined, arg0: undefined, arg1: undefined, } } @@ -3309,7 +3309,7 @@ function tiles_TileMap_getImageType__P2530_mk(s) { -function tiles_TileMapData_getTileset__P2503(s) { +function tiles_TileMapData_getTileset__P24814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3324,17 +3324,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = s.arg0.fields["tileset"]; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileset__P2503.info = {"start":7287,"length":57,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileset","argumentNames":["this"]} +tiles_TileMapData_getTileset__P24814.info = {"start":7287,"length":57,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileset","argumentNames":["this"]} -function tiles_TileMapData_getTileset__P2503_mk(s) { +function tiles_TileMapData_getTileset__P24814_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileset__P2503, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileset__P24814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3343,7 +3343,7 @@ function tiles_TileMapData_getTileset__P2503_mk(s) { -function tiles_Location_place__P2487(s) { +function tiles_Location_place__P24798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3359,7 +3359,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -3369,21 +3369,21 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = Sprite_setPosition__P2231_mk(s); + s.tmp_2 = Sprite_setPosition__P24542_mk(s); s.tmp_2.arg0 = s.arg1; - s.tmp_3 = tiles_Location_x__P2476_mk(s); + s.tmp_3 = tiles_Location_x__P24787_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 28; s.pc = 5; return s.tmp_3; + s.callLocIdx = 943; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg1 = r0; - s.tmp_4 = tiles_Location_y__P2477_mk(s); + s.tmp_4 = tiles_Location_y__P24788_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 29; s.pc = 6; return s.tmp_4; + s.callLocIdx = 944; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_2.arg2 = r0; - s.callLocIdx = 30; s.pc = 4; return s.tmp_2; + s.callLocIdx = 945; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 3: @@ -3391,12 +3391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_place__P2487.info = {"start":3931,"length":126,"line":130,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"place","argumentNames":["this","mySprite"]} +tiles_Location_place__P24798.info = {"start":3931,"length":126,"line":130,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"place","argumentNames":["this","mySprite"]} -function tiles_Location_place__P2487_mk(s) { +function tiles_Location_place__P24798_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_place__P2487, depth: s.depth + 1, + parent: s, fn: tiles_Location_place__P24798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3411,7 +3411,7 @@ function tiles_Location_place__P2487_mk(s) { -function tiles_Location_y__P2477(s) { +function tiles_Location_y__P24788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3421,26 +3421,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___16694 = undefined; + s.scale___29236 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P2473_mk(s); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P24784_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 782; s.pc = 1; return s.tmp_1; + s.callLocIdx = 935; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___16694 = (r0); + s.scale___29236 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___16694); + r0 = (s.tmp_1 << s.scale___29236); s.tmp_0 = r0; - r0 = (s.scale___16694 - 1); + r0 = (s.scale___29236 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -3448,19 +3448,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P2477.info = {"start":1315,"length":135,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P2477.isGetter = true; +tiles_Location_y__P24788.info = {"start":1315,"length":135,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P24788.isGetter = true; -function tiles_Location_y__P2477_mk(s) { +function tiles_Location_y__P24788_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P2477, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P24788, 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___16694: undefined, + scale___29236: undefined, arg0: undefined, } } @@ -3468,7 +3468,7 @@ function tiles_Location_y__P2477_mk(s) { -function tiles_TileMap_scale__P2516(s) { +function tiles_TileMap_scale__P24827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3483,18 +3483,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P2516.info = {"start":9205,"length":55,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P2516.isGetter = true; +tiles_TileMap_scale__P24827.info = {"start":9205,"length":55,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P24827.isGetter = true; -function tiles_TileMap_scale__P2516_mk(s) { +function tiles_TileMap_scale__P24827_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2516, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P24827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3503,7 +3503,7 @@ function tiles_TileMap_scale__P2516_mk(s) { -function tiles_Location_tileMap__P2473(s) { +function tiles_Location_tileMap__P24784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3518,22 +3518,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 779; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 932; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["tileMap"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P2473.info = {"start":491,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileMap","argumentNames":["this"]} -tiles_Location_tileMap__P2473.isGetter = true; +tiles_Location_tileMap__P24784.info = {"start":491,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileMap","argumentNames":["this"]} +tiles_Location_tileMap__P24784.isGetter = true; -function tiles_Location_tileMap__P2473_mk(s) { +function tiles_Location_tileMap__P24784_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P2473, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P24784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3543,7 +3543,7 @@ function tiles_Location_tileMap__P2473_mk(s) { -function tiles_Location_x__P2476(s) { +function tiles_Location_x__P24787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3553,26 +3553,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___16710 = undefined; + s.scale___29261 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P2473_mk(s); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P24784_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 780; s.pc = 1; return s.tmp_1; + s.callLocIdx = 933; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___16710 = (r0); + s.scale___29261 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___16710); + r0 = (s.tmp_1 << s.scale___29261); s.tmp_0 = r0; - r0 = (s.scale___16710 - 1); + r0 = (s.scale___29261 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -3580,19 +3580,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P2476.info = {"start":1054,"length":135,"line":45,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P2476.isGetter = true; +tiles_Location_x__P24787.info = {"start":1054,"length":135,"line":45,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P24787.isGetter = true; -function tiles_Location_x__P2476_mk(s) { +function tiles_Location_x__P24787_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P2476, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P24787, 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___16710: undefined, + scale___29261: undefined, arg0: undefined, } } @@ -3600,7 +3600,7 @@ function tiles_Location_x__P2476_mk(s) { -function Sprite_setPosition__P2231(s) { +function Sprite_setPosition__P24542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3610,7 +3610,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___17961 = undefined; + s.physics___29280 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3618,20 +3618,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 14; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 414; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___17961 = (r0); - s.tmp_0 = PhysicsEngine__C2333_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___17961; + s.physics___29280 = (r0); + s.tmp_0 = PhysicsEngine__C24644_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___29280; s.tmp_0.arg1 = s.arg0; s.tmp_2 = r0 = s.arg1; - s.tmp_4 = Sprite_x__P2176_mk(s); + s.tmp_4 = Sprite_x__P24487_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 15; s.pc = 3; return s.tmp_4; + s.callLocIdx = 415; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; s.tmp_3 = r0; @@ -3642,9 +3642,9 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_0.arg2 = r0; s.tmp_7 = r0 = s.arg2; - s.tmp_9 = Sprite_y__P2178_mk(s); + s.tmp_9 = Sprite_y__P24489_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 17; s.pc = 4; return s.tmp_9; + s.callLocIdx = 417; s.pc = 4; return s.tmp_9; case 4: r0 = s.retval; s.tmp_8 = r0; @@ -3654,7 +3654,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_10 | 0); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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: @@ -3663,12 +3663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setPosition__P2231.info = {"start":13931,"length":220,"line":496,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} +Sprite_setPosition__P24542.info = {"start":13931,"length":220,"line":496,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} -function Sprite_setPosition__P2231_mk(s) { +function Sprite_setPosition__P24542_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setPosition__P2231, depth: s.depth + 1, + parent: s, fn: Sprite_setPosition__P24542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3681,7 +3681,7 @@ function Sprite_setPosition__P2231_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - physics___17961: undefined, + physics___29280: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3691,7 +3691,7 @@ function Sprite_setPosition__P2231_mk(s) { -function PhysicsEngine_moveSprite__P2337(s) { +function PhysicsEngine_moveSprite__P24648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3709,17 +3709,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C24644_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P2337.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__P24648.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__P2337_mk(s) { +function PhysicsEngine_moveSprite__P24648_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P2337, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P24648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3731,7 +3731,7 @@ function PhysicsEngine_moveSprite__P2337_mk(s) { -function Sprite_y__P2178(s) { +function Sprite_y__P24489(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3746,7 +3746,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -3761,13 +3761,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P2178.info = {"start":2893,"length":100,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P2178.isGetter = true; +Sprite_y__P24489.info = {"start":2893,"length":100,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P24489.isGetter = true; -function Sprite_y__P2178_mk(s) { +function Sprite_y__P24489_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2178, depth: s.depth + 1, + parent: s, fn: Sprite_y__P24489, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3781,7 +3781,7 @@ function Sprite_y__P2178_mk(s) { -function Fx_div__P162(s) { +function Fx_div__P22473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3802,12 +3802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_div__P22473.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__P162_mk(s) { +function Fx_div__P22473_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P162, depth: s.depth + 1, + parent: s, fn: Fx_div__P22473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3818,7 +3818,7 @@ function Fx_div__P162_mk(s) { -function Fx_add__P157(s) { +function Fx_add__P22468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3837,12 +3837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_add__P22468.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__P157_mk(s) { +function Fx_add__P22468_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P157, depth: s.depth + 1, + parent: s, fn: Fx_add__P22468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3852,7 +3852,7 @@ function Fx_add__P157_mk(s) { -function Sprite_x__P2176(s) { +function Sprite_x__P24487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3867,7 +3867,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -3882,13 +3882,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P2176.info = {"start":2537,"length":99,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P2176.isGetter = true; +Sprite_x__P24487.info = {"start":2537,"length":99,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P24487.isGetter = true; -function Sprite_x__P2176_mk(s) { +function Sprite_x__P24487_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2176, depth: s.depth + 1, + parent: s, fn: Sprite_x__P24487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3902,7 +3902,7 @@ function Sprite_x__P2176_mk(s) { -function sprites_create__P2099(s) { +function sprites_create__P24410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3912,78 +3912,78 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___11722 = undefined; - s.sprite___11725 = undefined; + s.scene___29538 = undefined; + s.sprite___29541 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 281; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 339; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___11722 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2163_VT); + s.scene___29538 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C24474_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P2210_mk(s); + s.tmp_1 = Sprite_constructor__P24521_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 282; s.pc = 2; return s.tmp_1; + s.callLocIdx = 340; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___11725 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P2230_mk(s); - s.tmp_0.arg0 = s.sprite___11725; + s.sprite___29541 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P24541_mk(s); + s.tmp_0.arg0 = s.sprite___29541; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 283; s.pc = 3; return s.tmp_0; + s.callLocIdx = 341; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C2333_v0_2_mk(s); - r0 = s.scene___11722.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C24644_v0_2_mk(s); + r0 = s.scene___29538.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___11725; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2333_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___29541; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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__P11740); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P29556); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P11746); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P29563); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___11725); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___11722.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___29541); + s.tmp_2 = helpers_arrayForEach__P22420_mk(s); + s.tmp_3 = helpers_arrayFilter__P22421_mk(s); + r0 = s.scene___29538.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 284; s.pc = 6; return s.tmp_3; + s.callLocIdx = 342; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 286; s.pc = 5; return s.tmp_2; + s.callLocIdx = 344; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___11725; + r0 = s.sprite___29541; return leave(s, r0) default: oops() } } } -sprites_create__P2099.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__P24410.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__P2099_mk(s) { +function sprites_create__P24410_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P2099, depth: s.depth + 1, + parent: s, fn: sprites_create__P24410, 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___11722: undefined, - sprite___11725: undefined, + scene___29538: undefined, + sprite___29541: undefined, arg0: undefined, arg1: undefined, } } @@ -3992,7 +3992,7 @@ function sprites_create__P2099_mk(s) { -function forEach_inline__P11740(s) { +function forEach_inline__P29556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4012,12 +4012,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P11740.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__P29556.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__P11740_mk(s) { +function forEach_inline__P29556_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P11740, depth: s.depth + 1, + parent: s, fn: forEach_inline__P29556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4027,7 +4027,7 @@ function forEach_inline__P11740_mk(s) { -function sprites_create_inline__P11746(s) { +function sprites_create_inline__P29563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4046,12 +4046,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 285; s.pc = 1; return s.tmp_0; + s.callLocIdx = 343; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 285; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 285; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 285; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 343; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 343; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 343; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -4059,12 +4059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P11746.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__P29563.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__P11746_mk(s) { +function sprites_create_inline__P29563_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P11746, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P29563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4074,7 +4074,7 @@ function sprites_create_inline__P11746_mk(s) { -function PhysicsEngine_addSprite__P2335(s) { +function PhysicsEngine_addSprite__P24646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4090,17 +4090,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C24644_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P2335.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__P24646.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__P2335_mk(s) { +function PhysicsEngine_addSprite__P24646_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P2335, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P24646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4110,7 +4110,7 @@ function PhysicsEngine_addSprite__P2335_mk(s) { -function Sprite_setKind__P2230(s) { +function Sprite_setKind__P24541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4120,15 +4120,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___11764 = undefined; - s.overlapMap___11793 = undefined; + s.spritesByKind___29625 = undefined; + s.overlapMap___29654 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -4147,12 +4147,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P2733_mk(s); - s.callLocIdx = 351; s.pc = 16; return s.tmp_3; + s.tmp_3 = game_currentScene__P25044_mk(s); + s.callLocIdx = 409; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___11764 = (r0); + s.spritesByKind___29625 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -4164,19 +4164,19 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11764, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29625, 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__P2292_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P24603_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11764, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29625, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; - s.callLocIdx = 352; s.pc = 17; return s.tmp_4; + s.callLocIdx = 410; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; case 7: @@ -4185,7 +4185,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___11764, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29625, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -4193,32 +4193,32 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2285_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C24596_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P2287_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P24598_mk(s); s.tmp_5.arg0 = s.tmp_4; - s.callLocIdx = 353; s.pc = 18; return s.tmp_5; + s.callLocIdx = 411; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___11764, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___29625, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P2290_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11764, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P24601_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29625, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 354; s.pc = 19; return s.tmp_0; + s.callLocIdx = 412; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 355; s.pc = 20; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 413; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___11793 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___11793, s.arg1); + s.overlapMap___29654 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___29654, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -4226,7 +4226,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___11793; + s.tmp_3 = r0 = s.overlapMap___29654; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -4234,7 +4234,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___11793, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___29654, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -4243,12 +4243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P2230.info = {"start":12841,"length":663,"line":464,"column":4,"endLine":484,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P24541.info = {"start":12841,"length":663,"line":464,"column":4,"endLine":484,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P2230_mk(s) { +function Sprite_setKind__P24541_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P2230, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P24541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4256,8 +4256,8 @@ function Sprite_setKind__P2230_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___11764: undefined, - overlapMap___11793: undefined, + spritesByKind___29625: undefined, + overlapMap___29654: undefined, arg0: undefined, arg1: undefined, } } @@ -4266,7 +4266,7 @@ function Sprite_setKind__P2230_mk(s) { -function sprites_SpriteSet_remove__P2292(s) { +function sprites_SpriteSet_remove__P24603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4276,28 +4276,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10970 = undefined; + s.i___29702 = 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__C2285_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C24596_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___10970 = (r0); - r0 = (s.i___10970 > -1); + s.i___29702 = (r0); + r0 = (s.i___29702 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P100_mk(s); + s.tmp_1 = helpers_arraySplice__P22411_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___10970; + s.tmp_1.arg1 = s.i___29702; s.tmp_1.arg2 = 1; - s.callLocIdx = 500; s.pc = 4; return s.tmp_1; + s.callLocIdx = 565; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = true; @@ -4309,16 +4309,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P2292.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__P24603.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__P2292_mk(s) { +function sprites_SpriteSet_remove__P24603_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P2292, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P24603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___10970: undefined, + i___29702: undefined, arg0: undefined, arg1: undefined, } } @@ -4327,7 +4327,7 @@ function sprites_SpriteSet_remove__P2292_mk(s) { -function helpers_arraySplice__P100(s) { +function helpers_arraySplice__P22411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4337,7 +4337,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___7756 = undefined; + s.i___29722 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4351,15 +4351,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___7756 = (0); + s.i___29722 = (0); case 3: - r0 = (s.i___7756 < s.arg2); + r0 = (s.i___29722 < 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___7756 + 1); - s.i___7756 = (r0); + r0 = (s.i___29722 + 1); + s.i___29722 = (r0); { step = 3; continue; } case 4: case 5: @@ -4367,15 +4367,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySplice__P22411.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__P100_mk(s) { +function helpers_arraySplice__P22411_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P22411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___7756: undefined, + i___29722: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4385,7 +4385,7 @@ function helpers_arraySplice__P100_mk(s) { -function sprites_SpriteSet_add__P2290(s) { +function sprites_SpriteSet_add__P24601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4401,7 +4401,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2285_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C24596_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -4432,12 +4432,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P2290.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__P24601.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__P2290_mk(s) { +function sprites_SpriteSet_add__P24601_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P2290, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P24601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4453,7 +4453,7 @@ function sprites_SpriteSet_add__P2290_mk(s) { -function sprites_SpriteSet_contains__P2293(s) { +function sprites_SpriteSet_contains__P24604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4469,7 +4469,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2285_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C24596_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -4478,12 +4478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P2293.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__P24604.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__P2293_mk(s) { +function sprites_SpriteSet_contains__P24604_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P2293, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P24604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4495,7 +4495,7 @@ function sprites_SpriteSet_contains__P2293_mk(s) { -function sprites_SpriteSet_constructor__P2287(s) { +function sprites_SpriteSet_constructor__P24598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4510,7 +4510,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2285_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C24596_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -4519,12 +4519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P2287.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__P24598.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__P2287_mk(s) { +function sprites_SpriteSet_constructor__P24598_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P2287, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P24598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4535,7 +4535,7 @@ function sprites_SpriteSet_constructor__P2287_mk(s) { -function Sprite_constructor__P2210(s) { +function Sprite_constructor__P24521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4551,15 +4551,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P1924_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P24235_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 313; s.pc = 1; return s.tmp_0; + s.callLocIdx = 371; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -4573,7 +4573,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___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -4592,55 +4592,55 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P2181_mk(s); + s.tmp_0 = Sprite_vx__P24492_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 316; s.pc = 2; return s.tmp_0; + s.callLocIdx = 374; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2183_mk(s); + s.tmp_0 = Sprite_vy__P24494_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 317; s.pc = 3; return s.tmp_0; + s.callLocIdx = 375; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P2185_mk(s); + s.tmp_0 = Sprite_ax__P24496_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 318; s.pc = 4; return s.tmp_0; + s.callLocIdx = 376; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P2187_mk(s); + s.tmp_0 = Sprite_ay__P24498_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 319; s.pc = 5; return s.tmp_0; + s.callLocIdx = 377; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P2189_mk(s); + s.tmp_0 = Sprite_fx__P24500_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 320; s.pc = 6; return s.tmp_0; + s.callLocIdx = 378; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P2191_mk(s); + s.tmp_0 = Sprite_fy__P24502_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 321; s.pc = 7; return s.tmp_0; + s.callLocIdx = 379; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["_sx"] = (256); r0 = (s.arg0).fields["_sy"] = (256); r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P2213_mk(s); + s.tmp_0 = Sprite_setImage__P24524_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 322; s.pc = 8; return s.tmp_0; + s.callLocIdx = 380; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P2230_mk(s); + s.tmp_0 = Sprite_setKind__P24541_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; - s.callLocIdx = 323; s.pc = 9; return s.tmp_0; + s.callLocIdx = 381; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = (s.arg0).fields["layer"] = (1); @@ -4657,12 +4657,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P2210.info = {"start":7406,"length":678,"line":278,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P24521.info = {"start":7406,"length":678,"line":278,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P2210_mk(s) { +function Sprite_constructor__P24521_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P2210, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P24521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4679,7 +4679,7 @@ function Sprite_constructor__P2210_mk(s) { -function Sprite_setImage__P2213(s) { +function Sprite_setImage__P24524(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4695,7 +4695,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -4717,9 +4717,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C2163_v5_1_mk(s); + s.tmp_0 = Sprite__C24474_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2163_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C24474_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize; s.pc = 6; return s.tmp_0; case 6: @@ -4729,12 +4729,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P2213.info = {"start":9299,"length":131,"line":332,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P24524.info = {"start":9299,"length":131,"line":332,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P2213_mk(s) { +function Sprite_setImage__P24524_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P2213, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P24524, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4748,7 +4748,7 @@ function Sprite_setImage__P2213_mk(s) { -function Sprite_recalcSize__P4355(s) { +function Sprite_recalcSize__P26670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4763,15 +4763,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sx__P2192_mk(s); + s.tmp_6 = Sprite_sx__P24503_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 328; s.pc = 1; return s.tmp_6; + s.callLocIdx = 386; s.pc = 1; return s.tmp_6; case 1: r0 = s.retval; s.tmp_5 = r0; @@ -4787,9 +4787,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P2194_mk(s); + s.tmp_6 = Sprite_sy__P24505_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 330; s.pc = 2; return s.tmp_6; + s.callLocIdx = 388; s.pc = 2; return s.tmp_6; case 2: r0 = s.retval; s.tmp_5 = r0; @@ -4800,21 +4800,21 @@ switch (step) { r0 = (s.tmp_7 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_height"] = (s.tmp_1); - s.tmp_0 = Sprite_resetHitbox__P2215_mk(s); + s.tmp_0 = Sprite_resetHitbox__P24526_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 332; s.pc = 3; return s.tmp_0; + s.callLocIdx = 390; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P4355.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} +Sprite_recalcSize__P26670.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} -function Sprite_recalcSize__P4355_mk(s) { +function Sprite_recalcSize__P26670_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P4355, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P26670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4831,7 +4831,7 @@ function Sprite_recalcSize__P4355_mk(s) { -function Sprite_resetHitbox__P2215(s) { +function Sprite_resetHitbox__P24526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4846,11 +4846,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C2163_v4_1_mk(s); + s.tmp_0 = Sprite__C24474_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2163_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C24474_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox; s.pc = 1; return s.tmp_0; case 1: @@ -4859,12 +4859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P2215.info = {"start":9580,"length":76,"line":342,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"resetHitbox","argumentNames":["this"]} +Sprite_resetHitbox__P24526.info = {"start":9580,"length":76,"line":342,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"resetHitbox","argumentNames":["this"]} -function Sprite_resetHitbox__P2215_mk(s) { +function Sprite_resetHitbox__P24526_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P2215, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P24526, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4874,7 +4874,7 @@ function Sprite_resetHitbox__P2215_mk(s) { -function Sprite_setHitbox__P2216(s) { +function Sprite_setHitbox__P24527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4889,23 +4889,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_Hitbox_updateIfInvalid__P2046_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P24357_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 326; s.pc = 3; return s.tmp_1; + s.callLocIdx = 384; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P2048_mk(s); + s.tmp_2 = game_calculateHitBox__P24359_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 327; s.pc = 4; return s.tmp_2; + s.callLocIdx = 385; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; @@ -4915,12 +4915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P2216.info = {"start":9662,"length":173,"line":347,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P24527.info = {"start":9662,"length":173,"line":347,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P2216_mk(s) { +function Sprite_setHitbox__P24527_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P2216, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P24527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4932,7 +4932,7 @@ function Sprite_setHitbox__P2216_mk(s) { -function game_calculateHitBox__P2048(s) { +function game_calculateHitBox__P24359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4942,17 +4942,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11210 = undefined; - s.minX___11213 = undefined; - s.minY___11217 = undefined; - s.maxX___11221 = undefined; - s.maxY___11223 = undefined; - s.c___11225 = undefined; - s.fxc___11226 = undefined; - s.r___11233 = undefined; - s.fxr___11234 = undefined; - s.width___11298 = undefined; - s.height___11306 = undefined; + s.i___29850 = undefined; + s.minX___29853 = undefined; + s.minY___29857 = undefined; + s.maxX___29861 = undefined; + s.maxY___29863 = undefined; + s.c___29865 = undefined; + s.fxc___29866 = undefined; + s.r___29873 = undefined; + s.fxr___29874 = undefined; + s.width___29938 = undefined; + s.height___29946 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -4964,10 +4964,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P2044_mk(s); + s.tmp_1 = game_Hitbox_isValid__P24355_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 260; s.pc = 12; return s.tmp_1; + s.callLocIdx = 318; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 2: @@ -4980,139 +4980,139 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___11210 = (r0); - r0 = pxsim_ImageMethods.width(s.i___11210); + s.i___29850 = (r0); + r0 = pxsim_ImageMethods.width(s.i___29850); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___11213 = (r0); - r0 = pxsim_ImageMethods.height(s.i___11210); + s.minX___29853 = (r0); + r0 = pxsim_ImageMethods.height(s.i___29850); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___11217 = (r0); - s.maxX___11221 = (0); - s.maxY___11223 = (0); - s.c___11225 = (0); - s.fxc___11226 = (0); + s.minY___29857 = (r0); + s.maxX___29861 = (0); + s.maxY___29863 = (0); + s.c___29865 = (0); + s.fxc___29866 = (0); case 5: - s.tmp_1 = r0 = s.c___11225; - r0 = pxsim_ImageMethods.width(s.i___11210); + s.tmp_1 = r0 = s.c___29865; + r0 = pxsim_ImageMethods.width(s.i___29850); 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___11233 = (0); - s.fxr___11234 = (0); + s.r___29873 = (0); + s.fxr___29874 = (0); case 6: - s.tmp_1 = r0 = s.r___11233; - r0 = pxsim_ImageMethods.height(s.i___11210); + s.tmp_1 = r0 = s.r___29873; + r0 = pxsim_ImageMethods.height(s.i___29850); 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___11210, s.c___11225, s.r___11233); + r0 = pxsim_ImageMethods.getPixel(s.i___29850, s.c___29865, s.r___29873); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Fx_min__P166_mk(s); - s.tmp_4.arg0 = s.minX___11213; - s.tmp_4.arg1 = s.fxc___11226; - s.callLocIdx = 264; s.pc = 13; return s.tmp_4; + s.tmp_4 = Fx_min__P22477_mk(s); + s.tmp_4.arg0 = s.minX___29853; + s.tmp_4.arg1 = s.fxc___29866; + s.callLocIdx = 322; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___11213 = (r0); - s.tmp_0 = Fx_min__P166_mk(s); - s.tmp_0.arg0 = s.minY___11217; - s.tmp_0.arg1 = s.fxr___11234; - s.callLocIdx = 265; s.pc = 14; return s.tmp_0; + s.minX___29853 = (r0); + s.tmp_0 = Fx_min__P22477_mk(s); + s.tmp_0.arg0 = s.minY___29857; + s.tmp_0.arg1 = s.fxr___29874; + s.callLocIdx = 323; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___11217 = (r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxX___11221; - s.tmp_0.arg1 = s.fxc___11226; - s.callLocIdx = 266; s.pc = 15; return s.tmp_0; + s.minY___29857 = (r0); + s.tmp_0 = Fx_max__P22478_mk(s); + s.tmp_0.arg0 = s.maxX___29861; + s.tmp_0.arg1 = s.fxc___29866; + s.callLocIdx = 324; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___11221 = (r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxY___11223; - s.tmp_0.arg1 = s.fxr___11234; - s.callLocIdx = 267; s.pc = 16; return s.tmp_0; + s.maxX___29861 = (r0); + s.tmp_0 = Fx_max__P22478_mk(s); + s.tmp_0.arg0 = s.maxY___29863; + s.tmp_0.arg1 = s.fxr___29874; + s.callLocIdx = 325; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___11223 = (r0); + s.maxY___29863 = (r0); case 7: case 8: - r0 = (s.r___11233 + 1); - s.r___11233 = (r0); - r0 = (s.fxr___11234 + 256); + r0 = (s.r___29873 + 1); + s.r___29873 = (r0); + r0 = (s.fxr___29874 + 256); s.tmp_0 = r0; - s.fxr___11234 = (r0); + s.fxr___29874 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___11225 + 1); - s.c___11225 = (r0); - r0 = (s.fxc___11226 + 256); + r0 = (s.c___29865 + 1); + s.c___29865 = (r0); + r0 = (s.fxc___29866 + 256); s.tmp_0 = r0; - s.fxc___11226 = (r0); + s.fxc___29866 = (r0); r0 = s.tmp_0; { step = 5; continue; } case 10: r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minX___11213, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___29853, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___11213 = (r0); + s.minX___29853 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___11217, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___29857, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___11217 = (r0); + s.minY___29857 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___11221, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___29861, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___11221 = (r0); + s.maxX___29861 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___11223, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___29863, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___11223 = (r0); - r0 = (s.maxX___11221 - s.minX___11213); + s.maxY___29863 = (r0); + r0 = (s.maxX___29861 - s.minX___29853); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___11298 = (r0); - r0 = (s.maxY___11223 - s.minY___11217); + s.width___29938 = (r0); + r0 = (s.maxY___29863 - s.minY___29857); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___11306 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C2032_VT); + s.height___29946 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C24343_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P2039_mk(s); + s.tmp_1 = game_Hitbox_constructor__P24350_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___11298; - s.tmp_1.arg3 = s.height___11306; - r0 = (s.minX___11213 & -256); + s.tmp_1.arg2 = s.width___29938; + s.tmp_1.arg3 = s.height___29946; + r0 = (s.minX___29853 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___11217 & -256); + r0 = (s.minY___29857 & -256); s.tmp_1.arg5 = r0; - s.callLocIdx = 280; s.pc = 17; return s.tmp_1; + s.callLocIdx = 338; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; r0 = s.tmp_0; @@ -5120,29 +5120,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P2048.info = {"start":3223,"length":1086,"line":103,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P24359.info = {"start":3223,"length":1086,"line":103,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P2048_mk(s) { +function game_calculateHitBox__P24359_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P2048, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P24359, 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___11210: undefined, - minX___11213: undefined, - minY___11217: undefined, - maxX___11221: undefined, - maxY___11223: undefined, - c___11225: undefined, - fxc___11226: undefined, - r___11233: undefined, - fxr___11234: undefined, - width___11298: undefined, - height___11306: undefined, + i___29850: undefined, + minX___29853: undefined, + minY___29857: undefined, + maxX___29861: undefined, + maxY___29863: undefined, + c___29865: undefined, + fxc___29866: undefined, + r___29873: undefined, + fxr___29874: undefined, + width___29938: undefined, + height___29946: undefined, arg0: undefined, } } @@ -5150,7 +5150,7 @@ function game_calculateHitBox__P2048_mk(s) { -function Sprite_image__P2212(s) { +function Sprite_image__P24523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5165,18 +5165,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P2212.info = {"start":9023,"length":54,"line":322,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P2212.isGetter = true; +Sprite_image__P24523.info = {"start":9023,"length":54,"line":322,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P24523.isGetter = true; -function Sprite_image__P2212_mk(s) { +function Sprite_image__P24523_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P2212, depth: s.depth + 1, + parent: s, fn: Sprite_image__P24523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5185,7 +5185,7 @@ function Sprite_image__P2212_mk(s) { -function game_Hitbox_isValid__P2044(s) { +function game_Hitbox_isValid__P24355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5200,13 +5200,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P2214_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P24525_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 213; s.pc = 1; return s.tmp_2; + s.callLocIdx = 271; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -5214,12 +5214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P2044.info = {"start":935,"length":89,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} +game_Hitbox_isValid__P24355.info = {"start":935,"length":89,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} -function game_Hitbox_isValid__P2044_mk(s) { +function game_Hitbox_isValid__P24355_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P2044, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P24355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5231,7 +5231,7 @@ function game_Hitbox_isValid__P2044_mk(s) { -function Sprite_calcDimensionalHash__P2214(s) { +function Sprite_calcDimensionalHash__P24525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5246,7 +5246,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -5269,12 +5269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P2214.info = {"start":9436,"length":138,"line":338,"column":4,"endLine":340,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"calcDimensionalHash","argumentNames":["this"]} +Sprite_calcDimensionalHash__P24525.info = {"start":9436,"length":138,"line":338,"column":4,"endLine":340,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"calcDimensionalHash","argumentNames":["this"]} -function Sprite_calcDimensionalHash__P2214_mk(s) { +function Sprite_calcDimensionalHash__P24525_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P2214, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P24525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5292,7 +5292,7 @@ function Sprite_calcDimensionalHash__P2214_mk(s) { -function Fx_toIntShifted__P156(s) { +function Fx_toIntShifted__P22467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5314,12 +5314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_toIntShifted__P22467.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__P156_mk(s) { +function Fx_toIntShifted__P22467_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P156, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P22467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5331,7 +5331,7 @@ function Fx_toIntShifted__P156_mk(s) { -function game_Hitbox_constructor__P2039(s) { +function game_Hitbox_constructor__P24350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5351,11 +5351,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P2214_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P24525_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 204; s.pc = 1; return s.tmp_2; + s.callLocIdx = 262; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -5369,12 +5369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P2039.info = {"start":173,"length":288,"line":9,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P24350.info = {"start":173,"length":288,"line":9,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P2039_mk(s) { +function game_Hitbox_constructor__P24350_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P2039, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P24350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5391,7 +5391,7 @@ function game_Hitbox_constructor__P2039_mk(s) { -function Fx_floor__P168(s) { +function Fx_floor__P22479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5409,12 +5409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_floor__P168.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} +Fx_floor__P22479.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} -function Fx_floor__P168_mk(s) { +function Fx_floor__P22479_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P168, depth: s.depth + 1, + parent: s, fn: Fx_floor__P22479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5423,7 +5423,7 @@ function Fx_floor__P168_mk(s) { -function Fx_max__P167(s) { +function Fx_max__P22478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5454,12 +5454,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_max__P22478.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__P167_mk(s) { +function Fx_max__P22478_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P167, depth: s.depth + 1, + parent: s, fn: Fx_max__P22478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5470,7 +5470,7 @@ function Fx_max__P167_mk(s) { -function Fx_min__P166(s) { +function Fx_min__P22477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5501,12 +5501,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_min__P22477.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__P166_mk(s) { +function Fx_min__P22477_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P166, depth: s.depth + 1, + parent: s, fn: Fx_min__P22477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5517,7 +5517,7 @@ function Fx_min__P166_mk(s) { -function Fx_mul__P160(s) { +function Fx_mul__P22471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5538,12 +5538,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_mul__P22471.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__P160_mk(s) { +function Fx_mul__P22471_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P160, depth: s.depth + 1, + parent: s, fn: Fx_mul__P22471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5554,7 +5554,7 @@ function Fx_mul__P160_mk(s) { -function Fx_sub__P159(s) { +function Fx_sub__P22470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5573,12 +5573,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_sub__P22470.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__P159_mk(s) { +function Fx_sub__P22470_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P159, depth: s.depth + 1, + parent: s, fn: Fx_sub__P22470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5588,7 +5588,7 @@ function Fx_sub__P159_mk(s) { -function game_Hitbox_updateIfInvalid__P2046(s) { +function game_Hitbox_updateIfInvalid__P24357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5598,26 +5598,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___11400 = undefined; - s.oMinX___11405 = undefined; - s.oMinY___11408 = undefined; - s.oMaxX___11411 = undefined; - s.oMaxY___11417 = undefined; - s.nMinX___11423 = undefined; - s.nMinY___11426 = undefined; - s.nMaxX___11429 = undefined; - s.nMaxY___11435 = undefined; - s.xDiff___11441 = undefined; - s.yDiff___11452 = undefined; + s.newHitBox___30056 = undefined; + s.oMinX___30061 = undefined; + s.oMinY___30064 = undefined; + s.oMaxX___30067 = undefined; + s.oMaxY___30073 = undefined; + s.nMinX___30079 = undefined; + s.nMinY___30082 = undefined; + s.nMaxX___30085 = undefined; + s.nMaxY___30091 = undefined; + s.xDiff___30097 = undefined; + s.yDiff___30108 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P2044_mk(s); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P24355_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 218; s.pc = 8; return s.tmp_1; + s.callLocIdx = 276; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -5626,90 +5626,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P2048_mk(s); + s.tmp_2 = game_calculateHitBox__P24359_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 219; s.pc = 9; return s.tmp_2; + s.callLocIdx = 277; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___11400 = (r0); + s.newHitBox___30056 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___11405 = (r0); + s.oMinX___30061 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___11408 = (r0); + s.oMinY___30064 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___11405 + s.tmp_0); - s.oMaxX___11411 = (r0); + r0 = (s.oMinX___30061 + s.tmp_0); + s.oMaxX___30067 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___11408 + s.tmp_0); - s.oMaxY___11417 = (r0); - r0 = s.newHitBox___11400.fields["ox"]; - s.nMinX___11423 = (r0); - r0 = s.newHitBox___11400.fields["oy"]; - s.nMinY___11426 = (r0); - r0 = s.newHitBox___11400.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___11423 + s.tmp_0); - s.nMaxX___11429 = (r0); - r0 = s.newHitBox___11400.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___11426 + s.tmp_0); - s.nMaxY___11435 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinX___11405 - s.nMinX___11423); + r0 = (s.oMinY___30064 + s.tmp_0); + s.oMaxY___30073 = (r0); + r0 = s.newHitBox___30056.fields["ox"]; + s.nMinX___30079 = (r0); + r0 = s.newHitBox___30056.fields["oy"]; + s.nMinY___30082 = (r0); + r0 = s.newHitBox___30056.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___30079 + s.tmp_0); + s.nMaxX___30085 = (r0); + r0 = s.newHitBox___30056.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___30082 + s.tmp_0); + s.nMaxY___30091 = (r0); + s.tmp_1 = Fx_abs__P22476_mk(s); + r0 = (s.oMinX___30061 - s.nMinX___30079); s.tmp_1.arg0 = r0; - s.callLocIdx = 225; s.pc = 10; return s.tmp_1; + s.callLocIdx = 283; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxX___11411 - s.nMaxX___11429); + s.tmp_3 = Fx_abs__P22476_mk(s); + r0 = (s.oMaxX___30067 - s.nMaxX___30085); s.tmp_3.arg0 = r0; - s.callLocIdx = 227; s.pc = 11; return s.tmp_3; + s.callLocIdx = 285; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___11441 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinY___11408 - s.nMinY___11426); + s.xDiff___30097 = (r0); + s.tmp_1 = Fx_abs__P22476_mk(s); + r0 = (s.oMinY___30064 - s.nMinY___30082); s.tmp_1.arg0 = r0; - s.callLocIdx = 230; s.pc = 12; return s.tmp_1; + s.callLocIdx = 288; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxY___11417 - s.nMaxY___11435); + s.tmp_3 = Fx_abs__P22476_mk(s); + r0 = (s.oMaxY___30073 - s.nMaxY___30091); s.tmp_3.arg0 = r0; - s.callLocIdx = 232; s.pc = 13; return s.tmp_3; + s.callLocIdx = 290; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___11452 = (r0); - r0 = (s.xDiff___11441 > 512); + s.yDiff___30108 = (r0); + r0 = (s.xDiff___30097 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___11423); - r0 = s.newHitBox___11400.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___30079); + r0 = s.newHitBox___30056.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___11452 > 512); + r0 = (s.yDiff___30108 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___11426); - r0 = s.newHitBox___11400.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___30082); + r0 = s.newHitBox___30056.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___11400.fields["hash"]; + r0 = s.newHitBox___30056.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -5717,28 +5717,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P2046.info = {"start":1188,"length":1317,"line":48,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"updateIfInvalid","argumentNames":["this"]} +game_Hitbox_updateIfInvalid__P24357.info = {"start":1188,"length":1317,"line":48,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"updateIfInvalid","argumentNames":["this"]} -function game_Hitbox_updateIfInvalid__P2046_mk(s) { +function game_Hitbox_updateIfInvalid__P24357_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P2046, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P24357, 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, - newHitBox___11400: undefined, - oMinX___11405: undefined, - oMinY___11408: undefined, - oMaxX___11411: undefined, - oMaxY___11417: undefined, - nMinX___11423: undefined, - nMinY___11426: undefined, - nMaxX___11429: undefined, - nMaxY___11435: undefined, - xDiff___11441: undefined, - yDiff___11452: undefined, + newHitBox___30056: undefined, + oMinX___30061: undefined, + oMinY___30064: undefined, + oMaxX___30067: undefined, + oMaxY___30073: undefined, + nMinX___30079: undefined, + nMinY___30082: undefined, + nMaxX___30085: undefined, + nMaxY___30091: undefined, + xDiff___30097: undefined, + yDiff___30108: undefined, arg0: undefined, } } @@ -5746,7 +5746,7 @@ function game_Hitbox_updateIfInvalid__P2046_mk(s) { -function Fx_abs__P165(s) { +function Fx_abs__P22476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5776,12 +5776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_abs__P22476.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__P165_mk(s) { +function Fx_abs__P22476_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P165, depth: s.depth + 1, + parent: s, fn: Fx_abs__P22476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5791,7 +5791,7 @@ function Fx_abs__P165_mk(s) { -function Sprite_sy__P2194(s) { +function Sprite_sy__P24505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5806,20 +5806,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_sy__P2194.info = {"start":5719,"length":61,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sy","argumentNames":["this"]} -Sprite_sy__P2194.isGetter = true; +Sprite_sy__P24505.info = {"start":5719,"length":61,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sy","argumentNames":["this"]} +Sprite_sy__P24505.isGetter = true; -function Sprite_sy__P2194_mk(s) { +function Sprite_sy__P24505_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P2194, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P24505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5829,7 +5829,7 @@ function Sprite_sy__P2194_mk(s) { -function Sprite_sx__P2192(s) { +function Sprite_sx__P24503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5844,20 +5844,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_sx__P2192.info = {"start":5287,"length":61,"line":196,"column":4,"endLine":198,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sx","argumentNames":["this"]} -Sprite_sx__P2192.isGetter = true; +Sprite_sx__P24503.info = {"start":5287,"length":61,"line":196,"column":4,"endLine":198,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sx","argumentNames":["this"]} +Sprite_sx__P24503.isGetter = true; -function Sprite_sx__P2192_mk(s) { +function Sprite_sx__P24503_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P2192, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P24503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5867,7 +5867,7 @@ function Sprite_sx__P2192_mk(s) { -function Sprite_fy__P2191(s) { +function Sprite_fy__P24502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5883,12 +5883,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P22441_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 309; s.pc = 1; return s.tmp_3; + s.callLocIdx = 367; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -5901,12 +5901,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P2191.info = {"start":5109,"length":64,"line":191,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P24502.info = {"start":5109,"length":64,"line":191,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P2191_mk(s) { +function Sprite_fy__P24502_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2191, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P24502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5921,7 +5921,7 @@ function Sprite_fy__P2191_mk(s) { -function Math_max__P130(s) { +function Math_max__P22441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5949,12 +5949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P130.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P22441.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P130_mk(s) { +function Math_max__P22441_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P130, depth: s.depth + 1, + parent: s, fn: Math_max__P22441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5965,7 +5965,7 @@ function Math_max__P130_mk(s) { -function Sprite_fy__P2190(s) { +function Sprite_fy__P24501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5980,20 +5980,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2190.info = {"start":4947,"length":60,"line":186,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P2190.isGetter = true; +Sprite_fy__P24501.info = {"start":4947,"length":60,"line":186,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P24501.isGetter = true; -function Sprite_fy__P2190_mk(s) { +function Sprite_fy__P24501_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2190, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P24501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6003,7 +6003,7 @@ function Sprite_fy__P2190_mk(s) { -function Sprite_fx__P2189(s) { +function Sprite_fx__P24500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6019,12 +6019,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P22441_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 306; s.pc = 1; return s.tmp_3; + s.callLocIdx = 364; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -6037,12 +6037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P2189.info = {"start":4766,"length":64,"line":181,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P24500.info = {"start":4766,"length":64,"line":181,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P2189_mk(s) { +function Sprite_fx__P24500_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2189, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P24500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6057,7 +6057,7 @@ function Sprite_fx__P2189_mk(s) { -function Sprite_fx__P2188(s) { +function Sprite_fx__P24499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6072,20 +6072,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2188.info = {"start":4604,"length":60,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P2188.isGetter = true; +Sprite_fx__P24499.info = {"start":4604,"length":60,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P24499.isGetter = true; -function Sprite_fx__P2188_mk(s) { +function Sprite_fx__P24499_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2188, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P24499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6095,7 +6095,7 @@ function Sprite_fx__P2188_mk(s) { -function Sprite_ay__P2187(s) { +function Sprite_ay__P24498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6111,7 +6111,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6122,12 +6122,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P2187.info = {"start":4435,"length":51,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P24498.info = {"start":4435,"length":51,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P2187_mk(s) { +function Sprite_ay__P24498_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2187, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P24498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6140,7 +6140,7 @@ function Sprite_ay__P2187_mk(s) { -function Sprite_ay__P2186(s) { +function Sprite_ay__P24497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6155,20 +6155,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2186.info = {"start":4269,"length":60,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P2186.isGetter = true; +Sprite_ay__P24497.info = {"start":4269,"length":60,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P24497.isGetter = true; -function Sprite_ay__P2186_mk(s) { +function Sprite_ay__P24497_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2186, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P24497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6178,7 +6178,7 @@ function Sprite_ay__P2186_mk(s) { -function Sprite_ax__P2185(s) { +function Sprite_ax__P24496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6194,7 +6194,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6205,12 +6205,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P2185.info = {"start":4096,"length":51,"line":159,"column":4,"endLine":161,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P24496.info = {"start":4096,"length":51,"line":159,"column":4,"endLine":161,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P2185_mk(s) { +function Sprite_ax__P24496_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2185, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P24496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6223,7 +6223,7 @@ function Sprite_ax__P2185_mk(s) { -function Sprite_ax__P2184(s) { +function Sprite_ax__P24495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6238,20 +6238,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2184.info = {"start":3930,"length":60,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P2184.isGetter = true; +Sprite_ax__P24495.info = {"start":3930,"length":60,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P24495.isGetter = true; -function Sprite_ax__P2184_mk(s) { +function Sprite_ax__P24495_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2184, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P24495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6261,7 +6261,7 @@ function Sprite_ax__P2184_mk(s) { -function sprites_BaseSprite_constructor__P1924(s) { +function sprites_BaseSprite_constructor__P24235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6277,33 +6277,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P1927_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P24238_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 125; s.pc = 1; return s.tmp_0; + s.callLocIdx = 173; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P2645_mk(s); - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 126; s.pc = 3; return s.tmp_1; + s.tmp_0 = scene_Scene_addSprite__P24956_mk(s); + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 174; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 127; s.pc = 2; return s.tmp_0; + s.callLocIdx = 175; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P1924.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__P24235.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__P1924_mk(s) { +function sprites_BaseSprite_constructor__P24235_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P1924, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P24235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6315,7 +6315,7 @@ function sprites_BaseSprite_constructor__P1924_mk(s) { -function scene_Scene_addSprite__P2645(s) { +function scene_Scene_addSprite__P24956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6331,7 +6331,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -6350,7 +6350,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["set/id"]; if (s.tmp_3.fn === null) { s.tmp_3.arg0.fields["id"] = s.tmp_3.arg1; } else if (s.tmp_3.fn === undefined) { failedCast(s.tmp_3.arg0) } - else { s.callLocIdx = 905; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1081; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -6358,12 +6358,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P2645.info = {"start":7021,"length":128,"line":196,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P24956.info = {"start":7021,"length":128,"line":196,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P2645_mk(s) { +function scene_Scene_addSprite__P24956_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P2645, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P24956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6377,7 +6377,7 @@ function scene_Scene_addSprite__P2645_mk(s) { -function sprites_BaseSprite_z__P1927(s) { +function sprites_BaseSprite_z__P24238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6393,7 +6393,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -6401,8 +6401,8 @@ 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__P2733_mk(s); - s.callLocIdx = 128; s.pc = 3; return s.tmp_1; + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 176; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -6417,12 +6417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P1927.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__P24238.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__P1927_mk(s) { +function sprites_BaseSprite_z__P24238_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P1927, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P24238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6436,7 +6436,7 @@ function sprites_BaseSprite_z__P1927_mk(s) { -function sprites_BaseSprite_z__P1926(s) { +function sprites_BaseSprite_z__P24237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6451,18 +6451,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P1926.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__P1926.isGetter = true; +sprites_BaseSprite_z__P24237.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__P24237.isGetter = true; -function sprites_BaseSprite_z__P1926_mk(s) { +function sprites_BaseSprite_z__P24237_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P1926, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P24237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6471,7 +6471,7 @@ function sprites_BaseSprite_z__P1926_mk(s) { -function helpers_arrayFilter__P110(s) { +function helpers_arrayFilter__P22421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6481,62 +6481,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___9653 = undefined; - s.len___9655 = undefined; - s.i___9658 = undefined; - s.v___9663 = undefined; + s.res___29572 = undefined; + s.len___29574 = undefined; + s.i___29577 = undefined; + s.v___29582 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___9653 = (r0); + s.res___29572 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___9655 = (r0); - s.i___9658 = (0); + s.len___29574 = (r0); + s.i___29577 = (0); case 1: - r0 = (s.i___9658 < s.len___9655); + r0 = (s.i___29577 < s.len___29574); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___9658); - s.v___9663 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___29577); + s.v___29582 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___9663; - s.tmp_1.arg1 = s.i___9658; + s.tmp_1.arg0 = s.v___29582; + s.tmp_1.arg1 = s.i___29577; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 6; s.pc = 5; return s.tmp_1; + s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___9653, s.v___9663); + r0 = pxsim_Array__push(s.res___29572, s.v___29582); case 2: case 3: - r0 = (s.i___9658 + 1); - s.i___9658 = (r0); + r0 = (s.i___29577 + 1); + s.i___29577 = (r0); { step = 1; continue; } case 4: - r0 = s.res___9653; + r0 = s.res___29572; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayFilter__P22421.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__P110_mk(s) { +function helpers_arrayFilter__P22421_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P110, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P22421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___9653: undefined, - len___9655: undefined, - i___9658: undefined, - v___9663: undefined, + res___29572: undefined, + len___29574: undefined, + i___29577: undefined, + v___29582: undefined, arg0: undefined, arg1: undefined, } } @@ -6545,7 +6545,7 @@ function helpers_arrayFilter__P110_mk(s) { -function helpers_arrayForEach__P109(s) { +function helpers_arrayForEach__P22420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6555,49 +6555,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___7290 = undefined; - s.i___7293 = undefined; + s.len___29598 = undefined; + s.i___29601 = 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___7290 = (r0); - s.i___7293 = (0); + s.len___29598 = (r0); + s.i___29601 = (0); case 1: - r0 = (s.i___7293 < s.len___7290); + r0 = (s.i___29601 < s.len___29598); 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___7293); + r0 = pxsim_Array__getAt(s.arg0, s.i___29601); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___7293; + s.tmp_1.arg1 = s.i___29601; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 5; s.pc = 3; return s.tmp_1; + s.callLocIdx = 6; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___7293 + 1); - s.i___7293 = (r0); + r0 = (s.i___29601 + 1); + s.i___29601 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayForEach__P22420.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__P109_mk(s) { +function helpers_arrayForEach__P22420_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P109, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P22420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___7290: undefined, - i___7293: undefined, + len___29598: undefined, + i___29601: undefined, arg0: undefined, arg1: undefined, } } @@ -6606,7 +6606,7 @@ function helpers_arrayForEach__P109_mk(s) { -function helpers_getTilemapByName__P3062(s) { +function helpers_getTilemapByName__P25373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6620,21 +6620,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P3060_mk(s); + s.tmp_0 = helpers__getFactoryInstance__P25371_mk(s); s.tmp_0.arg0 = "tilemap"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 60; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1539; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_getTilemapByName__P3062.info = {"start":2525,"length":107,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTilemapByName","argumentNames":["name"]} +helpers_getTilemapByName__P25373.info = {"start":2525,"length":107,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTilemapByName","argumentNames":["name"]} -function helpers_getTilemapByName__P3062_mk(s) { +function helpers_getTilemapByName__P25373_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTilemapByName__P3062, depth: s.depth + 1, + parent: s, fn: helpers_getTilemapByName__P25373, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6644,7 +6644,7 @@ function helpers_getTilemapByName__P3062_mk(s) { -function helpers__getFactoryInstance__P3060(s) { +function helpers__getFactoryInstance__P25371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6654,37 +6654,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___17432 = undefined; - s.unnamed102___U1 = undefined; - s.unnamed103___U2 = undefined; - s.data___17439 = undefined; + s.factory___30253 = undefined; + s.unnamed206___U1 = undefined; + s.unnamed207___U2 = undefined; + s.data___30260 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___4948); + r0 = pxsim_numops_toBoolDecr(globals.factories___27263); if (!r0) { step = 7; continue; } - s.factory___17432 = (undefined); - s.unnamed102___U1 = (globals.factories___4948); - s.unnamed103___U2 = (0); + s.factory___30253 = (undefined); + s.unnamed206___U1 = (globals.factories___27263); + s.unnamed207___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed103___U2; - r0 = pxsim_Array__length(s.unnamed102___U1); + s.tmp_0 = r0 = s.unnamed207___U2; + r0 = pxsim_Array__length(s.unnamed206___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed102___U1, s.unnamed103___U2); - s.factory___17432 = (r0); + r0 = pxsim_Array__getAt(s.unnamed206___U1, s.unnamed207___U2); + s.factory___30253 = (r0); s.tmp_4 = if_kind_1_mk(s); - s.tmp_4.arg0 = s.factory___17432; + s.tmp_4.arg0 = s.factory___30253; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "kind"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["kind"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["kind"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 58; s.pc = 10; return s.tmp_4; } + else { s.callLocIdx = 1537; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; @@ -6694,33 +6694,33 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } s.tmp_5 = if_factory_2_mk(s); - s.tmp_5.arg0 = s.factory___17432; + s.tmp_5.arg0 = s.factory___30253; s.tmp_5.arg1 = s.arg1; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "factory"), 2); - s.callLocIdx = 59; s.pc = 11; return s.tmp_5; + s.callLocIdx = 1538; s.pc = 11; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["factory"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["factory"], 2); s.callLocIdx = 59; s.pc = 11; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 59; s.pc = 11; return s.tmp_5;; } - else { s.callLocIdx = 59; s.pc = 11; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["factory"], 2); s.callLocIdx = 1538; s.pc = 11; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 1538; s.pc = 11; return s.tmp_5;; } + else { s.callLocIdx = 1538; s.pc = 11; return s.tmp_5; } } case 11: r0 = s.retval; - s.data___17439 = (r0); - r0 = pxsim_numops_toBoolDecr(s.data___17439); + s.data___30260 = (r0); + r0 = pxsim_numops_toBoolDecr(s.data___30260); if (!r0) { step = 2; continue; } - r0 = s.data___17439; + r0 = s.data___30260; { step = 9; continue; } case 2: case 3: case 4: case 5: - r0 = (s.unnamed103___U2 + 1); - s.unnamed103___U2 = (r0); + r0 = (s.unnamed207___U2 + 1); + s.unnamed207___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed102___U1 = (undefined); + s.unnamed206___U1 = (undefined); case 7: case 8: r0 = null; @@ -6728,12 +6728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers__getFactoryInstance__P3060.info = {"start":1983,"length":348,"line":60,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_getFactoryInstance","argumentNames":["kind","name"]} +helpers__getFactoryInstance__P25371.info = {"start":1983,"length":348,"line":60,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_getFactoryInstance","argumentNames":["kind","name"]} -function helpers__getFactoryInstance__P3060_mk(s) { +function helpers__getFactoryInstance__P25371_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__getFactoryInstance__P3060, depth: s.depth + 1, + parent: s, fn: helpers__getFactoryInstance__P25371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6741,10 +6741,10 @@ function helpers__getFactoryInstance__P3060_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___17432: undefined, - unnamed102___U1: undefined, - unnamed103___U2: undefined, - data___17439: undefined, + factory___30253: undefined, + unnamed206___U1: undefined, + unnamed207___U2: undefined, + data___30260: undefined, arg0: undefined, arg1: undefined, } } @@ -6753,7 +6753,7 @@ function helpers__getFactoryInstance__P3060_mk(s) { -function tilemap__P3049(s) { +function tilemap__P25360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6772,12 +6772,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tilemap__P3049.info = {"start":99,"length":78,"line":3,"column":0,"endLine":3,"endColumn":78,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tilemap","argumentNames":["lits","args"]} +tilemap__P25360.info = {"start":99,"length":78,"line":3,"column":0,"endLine":3,"endColumn":78,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tilemap","argumentNames":["lits","args"]} -function tilemap__P3049_mk(s) { +function tilemap__P25360_mk(s) { checkStack(s.depth); return { - parent: s, fn: tilemap__P3049, depth: s.depth + 1, + parent: s, fn: tilemap__P25360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6787,7 +6787,7 @@ function tilemap__P3049_mk(s) { -function tiles_setCurrentTilemap__P2542(s) { +function tiles_setCurrentTilemap__P24853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6801,21 +6801,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_setTileMapLevel__P2663_mk(s); + s.tmp_0 = scene_setTileMapLevel__P24974_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 30; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1027; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_setCurrentTilemap__P2542.info = {"start":19775,"length":103,"line":614,"column":4,"endLine":616,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setCurrentTilemap","argumentNames":["tilemap"]} +tiles_setCurrentTilemap__P24853.info = {"start":19775,"length":103,"line":614,"column":4,"endLine":616,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setCurrentTilemap","argumentNames":["tilemap"]} -function tiles_setCurrentTilemap__P2542_mk(s) { +function tiles_setCurrentTilemap__P24853_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setCurrentTilemap__P2542, depth: s.depth + 1, + parent: s, fn: tiles_setCurrentTilemap__P24853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6825,7 +6825,7 @@ function tiles_setCurrentTilemap__P2542_mk(s) { -function scene_setTileMapLevel__P2663(s) { +function scene_setTileMapLevel__P24974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6835,17 +6835,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17454 = undefined; + s.scene___30275 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 31; s.pc = 3; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1094; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.scene___17454 = (r0); - r0 = s.scene___17454.fields["tileMap"]; + s.scene___30275 = (r0); + r0 = s.scene___30275.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -6853,41 +6853,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C2513_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C24824_VT); s.tmp_3 = r0; - s.tmp_4 = tiles_TileMap_constructor__P2515_mk(s); + s.tmp_4 = tiles_TileMap_constructor__P24826_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 4; - s.callLocIdx = 32; s.pc = 4; return s.tmp_4; + s.callLocIdx = 1095; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; - r0 = (s.scene___17454).fields["tileMap"] = (s.tmp_3); + r0 = (s.scene___30275).fields["tileMap"] = (s.tmp_3); case 1: case 2: - s.tmp_0 = tiles_TileMap_setData__P2526_mk(s); - r0 = s.scene___17454.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_setData__P24837_mk(s); + r0 = s.scene___30275.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 33; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1096; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setTileMapLevel__P2663.info = {"start":3018,"length":219,"line":113,"column":4,"endLine":118,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} +scene_setTileMapLevel__P24974.info = {"start":3018,"length":219,"line":113,"column":4,"endLine":118,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} -function scene_setTileMapLevel__P2663_mk(s) { +function scene_setTileMapLevel__P24974_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMapLevel__P2663, depth: s.depth + 1, + parent: s, fn: scene_setTileMapLevel__P24974, 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, - scene___17454: undefined, + scene___30275: undefined, arg0: undefined, } } @@ -6895,7 +6895,7 @@ function scene_setTileMapLevel__P2663_mk(s) { -function tiles_TileMap_setData__P2526(s) { +function tiles_TileMap_setData__P24837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6905,22 +6905,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.previous___17471 = undefined; - s.eventHandler___17483 = undefined; - s.unnamed98___U2 = undefined; - s.unnamed99___U3 = undefined; - s.eventHandler___17512 = undefined; - s.unnamed100___U5 = undefined; - s.unnamed101___U6 = undefined; + s.previous___30292 = undefined; + s.eventHandler___30305 = undefined; + s.unnamed196___U2 = undefined; + s.unnamed197___U3 = undefined; + s.eventHandler___30334 = undefined; + s.unnamed198___U5 = undefined; + s.unnamed199___U6 = 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__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; - s.previous___17471 = (r0); + s.previous___30292 = (r0); r0 = s.arg0.fields["handlerState"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -6928,7 +6928,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.previous___17471 !== s.arg1); + r0 = (s.previous___30292 !== s.arg1); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -6937,51 +6937,51 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.previous___17471; + r0 = s.previous___30292; case 4: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 9; continue; } - s.eventHandler___17483 = (undefined); + s.eventHandler___30305 = (undefined); r0 = s.arg0.fields["handlerState"]; - s.unnamed98___U2 = (r0); - s.unnamed99___U3 = (0); + s.unnamed196___U2 = (r0); + s.unnamed197___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed99___U3; - r0 = pxsim_Array__length(s.unnamed98___U2); + s.tmp_0 = r0 = s.unnamed197___U3; + r0 = pxsim_Array__length(s.unnamed196___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed98___U2, s.unnamed99___U3); - s.eventHandler___17483 = (r0); - r0 = s.eventHandler___17483.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed196___U2, s.unnamed197___U3); + s.eventHandler___30305 = (r0); + r0 = s.eventHandler___30305.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } s.tmp_4 = if_callback_2_mk(s); - s.tmp_4.arg0 = s.eventHandler___17483; - s.tmp_4.arg1 = s.previous___17471; + s.tmp_4.arg0 = s.eventHandler___30305; + s.tmp_4.arg1 = s.previous___30292; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "callback"), 2); - s.callLocIdx = 26; s.pc = 23; return s.tmp_4; + s.callLocIdx = 966; s.pc = 23; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["callback"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["callback"], 2); s.callLocIdx = 26; s.pc = 23; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 26; s.pc = 23; return s.tmp_4;; } - else { s.callLocIdx = 26; s.pc = 23; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["callback"], 2); s.callLocIdx = 966; s.pc = 23; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 966; s.pc = 23; return s.tmp_4;; } + else { s.callLocIdx = 966; s.pc = 23; return s.tmp_4; } } case 23: r0 = s.retval; case 6: case 7: - r0 = (s.unnamed99___U3 + 1); - s.unnamed99___U3 = (r0); + r0 = (s.unnamed197___U3 + 1); + s.unnamed197___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed98___U2 = (undefined); + s.unnamed196___U2 = (undefined); case 9: case 10: r0 = (s.arg0).fields["_map"] = (s.arg1); @@ -7000,7 +7000,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = (s.previous___17471 !== s.arg1); + r0 = (s.previous___30292 !== s.arg1); case 14: // jmp value (already in r0) s.tmp_1 = r0; @@ -7015,70 +7015,70 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 21; continue; } - s.eventHandler___17512 = (undefined); + s.eventHandler___30334 = (undefined); r0 = s.arg0.fields["handlerState"]; - s.unnamed100___U5 = (r0); - s.unnamed101___U6 = (0); + s.unnamed198___U5 = (r0); + s.unnamed199___U6 = (0); case 17: - s.tmp_0 = r0 = s.unnamed101___U6; - r0 = pxsim_Array__length(s.unnamed100___U5); + s.tmp_0 = r0 = s.unnamed199___U6; + r0 = pxsim_Array__length(s.unnamed198___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed100___U5, s.unnamed101___U6); - s.eventHandler___17512 = (r0); - r0 = s.eventHandler___17512.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed198___U5, s.unnamed199___U6); + s.eventHandler___30334 = (r0); + r0 = s.eventHandler___30334.fields["event"]; 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; } s.tmp_4 = if_callback_2_mk(s); - s.tmp_4.arg0 = s.eventHandler___17512; + s.tmp_4.arg0 = s.eventHandler___30334; s.tmp_4.arg1 = s.arg1; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "callback"), 2); - s.callLocIdx = 28; s.pc = 24; return s.tmp_4; + s.callLocIdx = 968; s.pc = 24; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["callback"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["callback"], 2); s.callLocIdx = 28; s.pc = 24; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 28; s.pc = 24; return s.tmp_4;; } - else { s.callLocIdx = 28; s.pc = 24; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["callback"], 2); s.callLocIdx = 968; s.pc = 24; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 968; s.pc = 24; return s.tmp_4;; } + else { s.callLocIdx = 968; s.pc = 24; return s.tmp_4; } } case 24: r0 = s.retval; case 18: case 19: - r0 = (s.unnamed101___U6 + 1); - s.unnamed101___U6 = (r0); + r0 = (s.unnamed199___U6 + 1); + s.unnamed199___U6 = (r0); { step = 17; continue; } case 20: - s.unnamed100___U5 = (undefined); + s.unnamed198___U5 = (undefined); case 21: case 22: r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_setData__P2526.info = {"start":10253,"length":807,"line":355,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} +tiles_TileMap_setData__P24837.info = {"start":10253,"length":807,"line":355,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} -function tiles_TileMap_setData__P2526_mk(s) { +function tiles_TileMap_setData__P24837_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setData__P2526, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setData__P24837, 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, - previous___17471: undefined, - eventHandler___17483: undefined, - unnamed98___U2: undefined, - unnamed99___U3: undefined, - eventHandler___17512: undefined, - unnamed100___U5: undefined, - unnamed101___U6: undefined, + previous___30292: undefined, + eventHandler___30305: undefined, + unnamed196___U2: undefined, + unnamed197___U3: undefined, + eventHandler___30334: undefined, + unnamed198___U5: undefined, + unnamed199___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -7087,7 +7087,7 @@ function tiles_TileMap_setData__P2526_mk(s) { -function tiles_TileMapData_scale__P2499(s) { +function tiles_TileMapData_scale__P24810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7102,18 +7102,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2499.info = {"start":6564,"length":66,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P2499.isGetter = true; +tiles_TileMapData_scale__P24810.info = {"start":6564,"length":66,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P24810.isGetter = true; -function tiles_TileMapData_scale__P2499_mk(s) { +function tiles_TileMapData_scale__P24810_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2499, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P24810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7122,7 +7122,7 @@ function tiles_TileMapData_scale__P2499_mk(s) { -function tiles_TileMap_constructor__P2515(s) { +function tiles_TileMap_constructor__P24826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7138,23 +7138,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P2517_mk(s); + s.tmp_0 = tiles_TileMap_scale__P24828_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 796; s.pc = 1; return s.tmp_0; + s.callLocIdx = 952; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P16061); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P30360); 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__P2582_mk(s); + s.tmp_3 = scene_createRenderable__P24893_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; - s.callLocIdx = 798; s.pc = 2; return s.tmp_3; + s.callLocIdx = 954; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -7163,12 +7163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P2515.info = {"start":8927,"length":268,"line":300,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P24826.info = {"start":8927,"length":268,"line":300,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P2515_mk(s) { +function tiles_TileMap_constructor__P24826_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P2515, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P24826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7182,7 +7182,7 @@ function tiles_TileMap_constructor__P2515_mk(s) { -function tiles_TileMap_inline__P16061(s) { +function tiles_TileMap_inline__P30360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7197,23 +7197,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P4475_mk(s); + s.tmp_0 = tiles_TileMap_draw__P26790_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 797; s.pc = 1; return s.tmp_0; + s.callLocIdx = 953; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P16061.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +tiles_TileMap_inline__P30360.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function tiles_TileMap_inline__P16061_mk(s) { +function tiles_TileMap_inline__P30360_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P16061, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P30360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7224,7 +7224,7 @@ function tiles_TileMap_inline__P16061_mk(s) { -function tiles_TileMap_draw__P4475(s) { +function tiles_TileMap_draw__P26790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7234,21 +7234,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___16072 = undefined; - s.offsetX___16078 = undefined; - s.offsetY___16083 = undefined; - s.x0___16088 = undefined; - s.xn___16095 = undefined; - s.y0___16112 = undefined; - s.yn___16119 = undefined; - s.x___16136 = undefined; - s.y___16142 = undefined; - s.index___16148 = undefined; - s.tile___16155 = undefined; - s.x___16191 = undefined; - s.xLine___16197 = undefined; - s.y___16223 = undefined; - s.yLine___16229 = undefined; + s.bitmask___30371 = undefined; + s.offsetX___30377 = undefined; + s.offsetY___30382 = undefined; + s.x0___30387 = undefined; + s.xn___30394 = undefined; + s.y0___30411 = undefined; + s.yn___30418 = undefined; + s.x___30435 = undefined; + s.y___30441 = undefined; + s.index___30447 = undefined; + s.tile___30454 = undefined; + s.x___30490 = undefined; + s.xLine___30496 = undefined; + s.y___30522 = undefined; + s.yLine___30528 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7256,7 +7256,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -7281,16 +7281,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___16072 = (r0); + s.bitmask___30371 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___16072); - s.offsetX___16078 = (r0); + r0 = (s.tmp_0 & s.bitmask___30371); + s.offsetX___30377 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___16072); - s.offsetY___16083 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + r0 = (s.tmp_0 & s.bitmask___30371); + s.offsetY___30382 = (r0); + s.tmp_0 = Math_max__P22441_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -7298,11 +7298,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 816; s.pc = 24; return s.tmp_0; + s.callLocIdx = 984; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___16088 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.x0___30387 = (r0); + s.tmp_0 = Math_min__P22442_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -7319,11 +7319,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 819; s.pc = 25; return s.tmp_0; + s.callLocIdx = 987; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___16095 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + s.xn___30394 = (r0); + s.tmp_0 = Math_max__P22441_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -7331,11 +7331,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 821; s.pc = 26; return s.tmp_0; + s.callLocIdx = 989; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___16112 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.y0___30411 = (r0); + s.tmp_0 = Math_min__P22442_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -7352,95 +7352,95 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 824; s.pc = 27; return s.tmp_0; + s.callLocIdx = 992; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___16119 = (r0); - s.x___16136 = (s.x0___16088); + s.yn___30418 = (r0); + s.x___30435 = (s.x0___30387); case 3: - r0 = (s.x___16136 <= s.xn___16095); + r0 = (s.x___30435 <= s.xn___30394); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___16142 = (s.y0___16112); + s.y___30441 = (s.y0___30411); case 4: - r0 = (s.y___16142 <= s.yn___16119); + r0 = (s.y___30441 <= s.yn___30418); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P2501_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P24812_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___16136; - s.tmp_1.arg2 = s.y___16142; - s.callLocIdx = 825; s.pc = 28; return s.tmp_1; + s.tmp_1.arg1 = s.x___30435; + s.tmp_1.arg2 = s.y___30441; + s.callLocIdx = 993; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___16148 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2504_mk(s); + s.index___30447 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P24815_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___16148; - s.callLocIdx = 826; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = s.index___30447; + s.callLocIdx = 994; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___16155 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___16155); + s.tile___30454 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___30454); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___16155; - r0 = (s.x___16136 - s.x0___16088); + s.tmp_1 = r0 = s.tile___30454; + r0 = (s.x___30435 - s.x0___30387); 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___16078); + r0 = (s.tmp_3 - s.offsetX___30377); s.tmp_2 = r0; - r0 = (s.y___16142 - s.y0___16112); + r0 = (s.y___30441 - s.y0___30411); 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___16083); + r0 = (s.tmp_7 - s.offsetY___30382); 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___16142 + 1); - s.y___16142 = (r0); + r0 = (s.y___30441 + 1); + s.y___30441 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___16136 + 1); - s.x___16136 = (r0); + r0 = (s.x___30435 + 1); + s.x___30435 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___2729); + r0 = pxsim_numops_toBoolDecr(globals.debug___25040); if (!r0) { step = 21; continue; } - s.x___16191 = (s.x0___16088); + s.x___30490 = (s.x0___30387); case 9: - r0 = (s.x___16191 <= s.xn___16095); + r0 = (s.x___30490 <= s.xn___30394); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___16191 - s.x0___16088); + r0 = (s.x___30490 - s.x0___30387); 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___16078); - s.xLine___16197 = (r0); - r0 = (s.xLine___16197 >= 0); + r0 = (s.tmp_1 - s.offsetX___30377); + s.xLine___30496 = (r0); + r0 = (s.xLine___30496 >= 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___16197; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + s.tmp_1 = r0 = s.xLine___30496; + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -7448,46 +7448,46 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P1791_mk(s); + s.tmp_4 = helpers_imageDrawLine__P24102_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___16197; + s.tmp_4.arg1 = s.xLine___30496; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___16197; + s.tmp_4.arg3 = s.xLine___30496; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 830; s.pc = 30; return s.tmp_4; + s.callLocIdx = 998; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 12: case 13: - r0 = (s.x___16191 + 1); - s.x___16191 = (r0); + r0 = (s.x___30490 + 1); + s.x___30490 = (r0); { step = 9; continue; } case 14: - s.y___16223 = (s.y0___16112); + s.y___30522 = (s.y0___30411); case 15: - r0 = (s.y___16223 <= s.yn___16119); + r0 = (s.y___30522 <= s.yn___30418); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___16223 - s.y0___16112); + r0 = (s.y___30522 - s.y0___30411); 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___16083); - s.yLine___16229 = (r0); - r0 = (s.yLine___16229 >= 0); + r0 = (s.tmp_1 - s.offsetY___30382); + s.yLine___30528 = (r0); + r0 = (s.yLine___30528 >= 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___16229; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + s.tmp_1 = r0 = s.yLine___30528; + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -7495,21 +7495,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P1791_mk(s); + s.tmp_4 = helpers_imageDrawLine__P24102_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___16229; + s.tmp_4.arg2 = s.yLine___30528; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___16229; + s.tmp_4.arg4 = s.yLine___30528; s.tmp_4.arg5 = 1; - s.callLocIdx = 832; s.pc = 31; return s.tmp_4; + s.callLocIdx = 1000; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___16223 + 1); - s.y___16223 = (r0); + r0 = (s.y___30522 + 1); + s.y___30522 = (r0); { step = 15; continue; } case 20: case 21: @@ -7519,12 +7519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P4475.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P26790.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P4475_mk(s) { +function tiles_TileMap_draw__P26790_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P4475, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P26790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7536,21 +7536,21 @@ function tiles_TileMap_draw__P4475_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___16072: undefined, - offsetX___16078: undefined, - offsetY___16083: undefined, - x0___16088: undefined, - xn___16095: undefined, - y0___16112: undefined, - yn___16119: undefined, - x___16136: undefined, - y___16142: undefined, - index___16148: undefined, - tile___16155: undefined, - x___16191: undefined, - xLine___16197: undefined, - y___16223: undefined, - yLine___16229: undefined, + bitmask___30371: undefined, + offsetX___30377: undefined, + offsetY___30382: undefined, + x0___30387: undefined, + xn___30394: undefined, + y0___30411: undefined, + yn___30418: undefined, + x___30435: undefined, + y___30441: undefined, + index___30447: undefined, + tile___30454: undefined, + x___30490: undefined, + xLine___30496: undefined, + y___30522: undefined, + yLine___30528: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7560,7 +7560,7 @@ function tiles_TileMap_draw__P4475_mk(s) { -function tiles_TileMapData_getTileImage__P2504(s) { +function tiles_TileMapData_getTileImage__P24815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7570,25 +7570,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___14322 = undefined; - s.cachedImage___14326 = undefined; - s.originalImage___14333 = undefined; + s.size___30598 = undefined; + s.cachedImage___30602 = undefined; + s.originalImage___30609 = 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__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___14322 = (r0); + s.size___30598 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___14326 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___14326); + s.cachedImage___30602 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___30602); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7597,58 +7597,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___14333 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___14333); + s.originalImage___30609 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___30609); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___14333); + r0 = pxsim_ImageMethods.width(s.originalImage___30609); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___14322); + r0 = (s.tmp_1 <= s.size___30598); 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___14333); + r0 = pxsim_ImageMethods.height(s.originalImage___30609); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___14322); + r0 = (s.tmp_2 <= s.size___30598); 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___14326 = (s.originalImage___14333); + s.cachedImage___30602 = (s.originalImage___30609); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___14322, s.size___14322); - s.cachedImage___14326 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___14326, s.originalImage___14333, 0, 0); + r0 = pxsim.image.create(s.size___30598, s.size___30598); + s.cachedImage___30602 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___30602, s.originalImage___30609, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___14326); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___30602); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___14326; + r0 = s.cachedImage___30602; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P2504.info = {"start":7354,"length":717,"line":251,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P24815.info = {"start":7354,"length":717,"line":251,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P2504_mk(s) { +function tiles_TileMapData_getTileImage__P24815_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P2504, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P24815, 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___14322: undefined, - cachedImage___14326: undefined, - originalImage___14333: undefined, + size___30598: undefined, + cachedImage___30602: undefined, + originalImage___30609: undefined, arg0: undefined, arg1: undefined, } } @@ -7657,7 +7657,7 @@ function tiles_TileMapData_getTileImage__P2504_mk(s) { -function helpers_imageDrawLine__P1791(s) { +function helpers_imageDrawLine__P24102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7677,17 +7677,17 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4249_mk(s); + s.tmp_2 = helpers_pack__P26564_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; - s.callLocIdx = 79; s.pc = 1; return s.tmp_2; + s.callLocIdx = 125; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4249_mk(s); + s.tmp_4 = helpers_pack__P26564_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; - s.callLocIdx = 80; s.pc = 2; return s.tmp_4; + s.callLocIdx = 126; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -7696,12 +7696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P1791.info = {"start":5161,"length":159,"line":164,"column":4,"endLine":166,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P24102.info = {"start":5161,"length":159,"line":164,"column":4,"endLine":166,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P1791_mk(s) { +function helpers_imageDrawLine__P24102_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P1791, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P24102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7720,7 +7720,7 @@ function helpers_imageDrawLine__P1791_mk(s) { -function helpers_pack__P4249(s) { +function helpers_pack__P26564(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7735,23 +7735,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P22438_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); s.tmp_2.arg2 = r0; - s.callLocIdx = 74; s.pc = 1; return s.tmp_2; + s.callLocIdx = 120; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P127_mk(s); + s.tmp_5 = Math_clamp__P22438_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); s.tmp_5.arg2 = r0; - s.callLocIdx = 75; s.pc = 2; return s.tmp_5; + s.callLocIdx = 121; s.pc = 2; return s.tmp_5; case 2: r0 = s.retval; s.tmp_4 = r0; @@ -7761,12 +7761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P4249.info = {"start":3658,"length":145,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P26564.info = {"start":3658,"length":145,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P4249_mk(s) { +function helpers_pack__P26564_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P4249, depth: s.depth + 1, + parent: s, fn: helpers_pack__P26564, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7782,7 +7782,7 @@ function helpers_pack__P4249_mk(s) { -function Math_clamp__P127(s) { +function Math_clamp__P22438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7798,27 +7798,27 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P131_mk(s); + s.tmp_0 = Math_min__P22442_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P22441_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; - s.callLocIdx = 14; s.pc = 2; return s.tmp_1; + s.callLocIdx = 19; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 15; s.pc = 1; return s.tmp_0; + s.callLocIdx = 20; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -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"]} +Math_clamp__P22438.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__P127_mk(s) { +function Math_clamp__P22438_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P127, depth: s.depth + 1, + parent: s, fn: Math_clamp__P22438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7831,7 +7831,7 @@ function Math_clamp__P127_mk(s) { -function Math_min__P131(s) { +function Math_min__P22442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7859,12 +7859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P131.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P22442.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P131_mk(s) { +function Math_min__P22442_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P131, depth: s.depth + 1, + parent: s, fn: Math_min__P22442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7875,7 +7875,7 @@ function Math_min__P131_mk(s) { -function scene_createRenderable__P2582(s) { +function scene_createRenderable__P24893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7885,14 +7885,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___10708 = undefined; + s.renderable___30651 = 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__C2577_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C24888_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -7900,35 +7900,35 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P10714; + r0 = renderable_inline__P30657; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P2578_mk(s); + s.tmp_3 = scene_Renderable_constructor__P24889_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 881; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1057; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___10708 = (s.tmp_0); - r0 = s.renderable___10708; + s.renderable___30651 = (s.tmp_0); + r0 = s.renderable___30651; return leave(s, r0) default: oops() } } } -scene_createRenderable__P2582.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__P24893.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__P2582_mk(s) { +function scene_createRenderable__P24893_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P2582, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P24893, 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___10708: undefined, + renderable___30651: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7938,7 +7938,7 @@ function scene_createRenderable__P2582_mk(s) { -function renderable_inline__P10714(s) { +function renderable_inline__P30657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7952,12 +7952,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P10714.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P30657.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__P10714_mk(s) { +function renderable_inline__P30657_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P10714, depth: s.depth + 1, + parent: s, fn: renderable_inline__P30657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -7965,7 +7965,7 @@ function renderable_inline__P10714_mk(s) { -function scene_Renderable_constructor__P2578(s) { +function scene_Renderable_constructor__P24889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7983,25 +7983,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2577_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C24888_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P1924_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P24235_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 878; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1054; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P2578.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__P24889.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__P2578_mk(s) { +function scene_Renderable_constructor__P24889_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P2578, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P24889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8014,7 +8014,7 @@ function scene_Renderable_constructor__P2578_mk(s) { -function tiles_TileMap_scale__P2517(s) { +function tiles_TileMap_scale__P24828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8030,17 +8030,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_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__P2500_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P24811_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 799; s.pc = 3; return s.tmp_1; + s.callLocIdx = 955; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -8049,12 +8049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P2517.info = {"start":9270,"length":144,"line":314,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P24828.info = {"start":9270,"length":144,"line":314,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P2517_mk(s) { +function tiles_TileMap_scale__P24828_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2517, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P24828, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8066,7 +8066,7 @@ function tiles_TileMap_scale__P2517_mk(s) { -function tiles_TileMapData_scale__P2500(s) { +function tiles_TileMapData_scale__P24811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8082,7 +8082,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -8092,12 +8092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2500.info = {"start":6640,"length":102,"line":226,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P24811.info = {"start":6640,"length":102,"line":226,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P2500_mk(s) { +function tiles_TileMapData_scale__P24811_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2500, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P24811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8109,7 +8109,7 @@ function tiles_TileMapData_scale__P2500_mk(s) { -function game_splash__P2727(s) { +function game_splash__P25038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8119,28 +8119,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dialog___21836 = undefined; - s.s___21849 = undefined; - s.pressed___21856 = undefined; - s.done___21857 = undefined; + s.dialog___30703 = undefined; + s.s___30716 = undefined; + s.pressed___30723 = undefined; + s.done___30724 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P382_mk(s); + s.tmp_0 = console_inspect__P22693_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; - s.callLocIdx = 44; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1156; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.arg0 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = console_inspect__P382_mk(s); + s.tmp_0 = console_inspect__P22693_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 20; - s.callLocIdx = 45; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1157; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; { step = 2; continue; } @@ -8150,17 +8150,17 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; s.arg1 = (s.tmp_1); - s.tmp_0 = controller__setUserEventsEnabled__P2030_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P24341_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 46; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1158; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = game_pushScene__P2737_mk(s); - s.callLocIdx = 47; s.pc = 10; return s.tmp_0; + s.tmp_0 = game_pushScene__P25048_mk(s); + s.callLocIdx = 1159; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 48; s.pc = 11; return s.tmp_1; + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1160; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -8169,7 +8169,7 @@ switch (step) { r0 = (s.tmp_3 | 2); s.tmp_2 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C2706_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C25017_VT); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } @@ -8180,90 +8180,90 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_SplashDialog_constructor__P2713_mk(s); + s.tmp_2 = game_SplashDialog_constructor__P25024_mk(s); s.tmp_2.arg0 = s.tmp_0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = s.tmp_1; - s.callLocIdx = 49; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1161; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.dialog___21836 = (s.tmp_0); - s.tmp_0 = game_SplashDialog__C2706_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___21836; + s.dialog___30703 = (s.tmp_0); + s.tmp_0 = game_SplashDialog__C25017_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___30703; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C2706_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C25017_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setText; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 5; continue; } - s.tmp_0 = game_SplashDialog_setSubtext__P2715_mk(s); - s.tmp_0.arg0 = s.dialog___21836; + s.tmp_0 = game_SplashDialog_setSubtext__P25026_mk(s); + s.tmp_0.arg0 = s.dialog___30703; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 50; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1162; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 5: case 6: - s.tmp_0 = sprites_create__P2099_mk(s); - r0 = s.dialog___21836.fields["image"]; + s.tmp_0 = sprites_create__P24410_mk(s); + r0 = s.dialog___30703.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; - s.callLocIdx = 51; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1163; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.s___21849 = (r0); + s.s___30716 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pressed___21856 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___21856, true); + s.pressed___30723 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___30723, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___21857 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___21857, false); - r0 = pxsim_pxtcore_mkAction(3, game_splash_inline__P21859); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___21836); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___21856); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___21857); - s.tmp_1 = game_onUpdate__P2752_mk(s); + s.done___30724 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___30724, false); + r0 = pxsim_pxtcore_mkAction(3, game_splash_inline__P30726); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___30703); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___30723); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___30724); + s.tmp_1 = game_onUpdate__P25063_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 54; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1166; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, game_splash_inline__P21882); + r0 = pxsim_pxtcore_mkAction(1, game_splash_inline__P30749); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___21857); - s.tmp_1 = pauseUntil__P367_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___30724); + s.tmp_1 = pauseUntil__P22678_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 55; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1167; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P2030_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P24341_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 56; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1168; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_splash__P2727.info = {"start":19791,"length":1082,"line":630,"column":4,"endLine":661,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} +game_splash__P25038.info = {"start":19791,"length":1082,"line":630,"column":4,"endLine":661,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} -function game_splash__P2727_mk(s) { +function game_splash__P25038_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash__P2727, depth: s.depth + 1, + parent: s, fn: game_splash__P25038, 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, - dialog___21836: undefined, - s___21849: undefined, - pressed___21856: undefined, - done___21857: undefined, + dialog___30703: undefined, + s___30716: undefined, + pressed___30723: undefined, + done___30724: undefined, arg0: undefined, arg1: undefined, } } @@ -8272,7 +8272,7 @@ function game_splash__P2727_mk(s) { -function game_splash_inline__P21859(s) { +function game_splash_inline__P30726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8282,23 +8282,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___21862 = undefined; - s.tmp_0 = game_BaseDialog__C2678_v0_1_mk(s); + s.currentState___30729 = undefined; + s.tmp_0 = game_BaseDialog__C24989_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2678_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C24989_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = controller_Button__C2013_v0_1_mk(s); - s.tmp_0.arg0 = globals.A___1941; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C2013_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C24324_v0_1_mk(s); + s.tmp_0.arg0 = globals.A___24252; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C24324_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.isPressed; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.currentState___21862 = (r0); - s.tmp_0 = r0 = s.currentState___21862; + s.currentState___30729 = (r0); + s.tmp_0 = r0 = s.currentState___30729; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; @@ -8315,13 +8315,13 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[1], true); - s.tmp_0 = scene_setBackgroundImage__P2660_mk(s); + s.tmp_0 = scene_setBackgroundImage__P24971_mk(s); s.tmp_0.arg0 = null; - s.callLocIdx = 52; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1164; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = game_popScene__P2738_mk(s); - s.callLocIdx = 53; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_popScene__P25049_mk(s); + s.callLocIdx = 1165; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = pxsim_pxtrt_stlocRef(s.caps[2], true); @@ -8334,7 +8334,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.currentState___21862); + r0 = pxsim_numops_toBoolDecr(s.currentState___30729); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 5: @@ -8350,25 +8350,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash_inline__P21859.info = {"start":20375,"length":410,"line":645,"column":22,"endLine":657,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_splash_inline__P30726.info = {"start":20375,"length":410,"line":645,"column":22,"endLine":657,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_splash_inline__P21859_mk(s) { +function game_splash_inline__P30726_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash_inline__P21859, depth: s.depth + 1, + parent: s, fn: game_splash_inline__P30726, 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, - currentState___21862: undefined, + currentState___30729: undefined, } } -function game_splash_inline__P21882(s) { +function game_splash_inline__P30749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8382,12 +8382,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash_inline__P21882.info = {"start":20807,"length":10,"line":659,"column":19,"endLine":659,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_splash_inline__P30749.info = {"start":20807,"length":10,"line":659,"column":19,"endLine":659,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_splash_inline__P21882_mk(s) { +function game_splash_inline__P30749_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash_inline__P21882, depth: s.depth + 1, + parent: s, fn: game_splash_inline__P30749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -8395,7 +8395,7 @@ function game_splash_inline__P21882_mk(s) { -function game_onUpdate__P2752(s) { +function game_onUpdate__P25063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8418,15 +8418,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_3 = game_eventContext__P2736_mk(s); - s.callLocIdx = 933; s.pc = 5; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P22714_mk(s); + s.tmp_3 = game_eventContext__P25047_mk(s); + s.callLocIdx = 1209; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 934; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1210; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 3: @@ -8434,12 +8434,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P2752.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__P25063.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__P2752_mk(s) { +function game_onUpdate__P25063_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P2752, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P25063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8452,7 +8452,7 @@ function game_onUpdate__P2752_mk(s) { -function control_EventContext_registerFrameHandler__P403(s) { +function control_EventContext_registerFrameHandler__P22714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8462,8 +8462,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___7344 = undefined; - s.i___7353 = undefined; + s.fn___31684 = undefined; + s.i___31693 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8471,7 +8471,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8484,20 +8484,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__P4162_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P26477_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 50; s.pc = 8; return s.tmp_0; + s.callLocIdx = 62; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C392_VT); - s.fn___7344 = (r0); - r0 = (s.fn___7344).fields["order"] = (s.arg1); - r0 = (s.fn___7344).fields["handler"] = (s.arg2); - s.i___7353 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C22703_VT); + s.fn___31684 = (r0); + r0 = (s.fn___31684).fields["order"] = (s.arg1); + r0 = (s.fn___31684).fields["handler"] = (s.arg2); + s.i___31693 = (0); case 3: - s.tmp_1 = r0 = s.i___7353; + s.tmp_1 = r0 = s.i___31693; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -8508,7 +8508,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___7353); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___31693); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -8517,29 +8517,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___7353, s.fn___7344); - r0 = s.fn___7344; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___31693, s.fn___31684); + r0 = s.fn___31684; { step = 7; continue; } case 4: case 5: - r0 = (s.i___7353 + 1); - s.i___7353 = (r0); + r0 = (s.i___31693 + 1); + s.i___31693 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___7344); - r0 = s.fn___7344; + r0 = pxsim_Array__push(s.tmp_0, s.fn___31684); + r0 = s.fn___31684; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P403.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P22714.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P403_mk(s) { +function control_EventContext_registerFrameHandler__P22714_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P403, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P22714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8549,8 +8549,8 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___7344: undefined, - i___7353: undefined, + fn___31684: undefined, + i___31693: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8560,7 +8560,7 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { -function control_EventContext_registerFrameCallbacks__P4162(s) { +function control_EventContext_registerFrameCallbacks__P26477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8570,13 +8570,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___7387 = undefined; + s.worker___31210 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8589,28 +8589,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___7387 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P7393); + s.worker___31210 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P31216); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___7387); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___31210); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P4162.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P26477.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P4162_mk(s) { +function control_EventContext_registerFrameCallbacks__P26477_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P4162, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P26477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___7387: undefined, + worker___31210: undefined, arg0: undefined, } } @@ -8618,7 +8618,7 @@ function control_EventContext_registerFrameCallbacks__P4162_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P7393(s) { +function control_EventContext_registerFrameCallbacks_inline__P31216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8628,18 +8628,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___7423 = undefined; + s.delay___31246 = 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__P7399); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P31222); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P367_mk(s); + s.tmp_2 = pauseUntil__P22678_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; - s.callLocIdx = 44; s.pc = 5; return s.tmp_2; + s.callLocIdx = 56; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 1: @@ -8659,15 +8659,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P4161_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P26476_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 45; s.pc = 6; return s.tmp_2; + s.callLocIdx = 57; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___7423 = (r0); - s.tmp_0 = pause__P413_mk(s); - s.tmp_0.arg0 = s.delay___7423; - s.callLocIdx = 46; s.pc = 7; return s.tmp_0; + s.delay___31246 = (r0); + s.tmp_0 = pause__P22724_mk(s); + s.tmp_0.arg0 = s.delay___31246; + s.callLocIdx = 58; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; { step = 3; continue; } @@ -8677,24 +8677,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P7393.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P31216.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P7393_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P31216_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P7393, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P31216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___7423: undefined, + delay___31246: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P7399(s) { +function control_EventContext_registerFrameCallbacks_inline__P31222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8712,12 +8712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P7399.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P31222.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P7399_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P31222_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P7399, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P31222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8727,7 +8727,7 @@ function control_EventContext_registerFrameCallbacks_inline__P7399_mk(s) { -function control_EventContext_runCallbacks__P4161(s) { +function control_EventContext_runCallbacks__P26476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8737,68 +8737,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___7432 = undefined; - s.f___7445 = undefined; - s.unnamed54___U2 = undefined; - s.unnamed55___U3 = undefined; - s.now___7450 = undefined; - s.runtime___7453 = undefined; - s.realTimeInSample___7472 = undefined; - s.fps___7481 = undefined; - s.delay___7550 = undefined; + s.loopStart___31255 = undefined; + s.f___31268 = undefined; + s.unnamed164___U2 = undefined; + s.unnamed165___U3 = undefined; + s.now___31273 = undefined; + s.runtime___31276 = undefined; + s.realTimeInSample___31295 = undefined; + s.fps___31304 = undefined; + s.delay___31373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___7432 = (r0); + s.loopStart___31255 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___7432 - s.tmp_2); + r0 = (s.loopStart___31255 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___7432); - s.f___7445 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___31255); + s.f___31268 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed54___U2 = (r0); - s.unnamed55___U3 = (0); + s.unnamed164___U2 = (r0); + s.unnamed165___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed55___U3; - r0 = pxsim_Array__length(s.unnamed54___U2); + s.tmp_0 = r0 = s.unnamed165___U3; + r0 = pxsim_Array__length(s.unnamed164___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed54___U2, s.unnamed55___U3); - s.f___7445 = (r0); + r0 = pxsim_Array__getAt(s.unnamed164___U2, s.unnamed165___U3); + s.f___31268 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___7445; + s.tmp_2.arg0 = s.f___31268; 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 = 11; return s.tmp_2; + s.callLocIdx = 54; s.pc = 11; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["handler"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 42; s.pc = 11; return s.tmp_2;; } - else { s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 54; s.pc = 11; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 54; s.pc = 11; return s.tmp_2;; } + else { s.callLocIdx = 54; s.pc = 11; return s.tmp_2; } } case 11: r0 = s.retval; - r0 = (s.unnamed55___U3 + 1); - s.unnamed55___U3 = (r0); + r0 = (s.unnamed165___U3 + 1); + s.unnamed165___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed54___U2 = (undefined); + s.unnamed164___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___7450 = (r0); - r0 = (s.now___7450 - s.loopStart___7432); - s.runtime___7453 = (r0); + s.now___31273 = (r0); + r0 = (s.now___31273 - s.loopStart___31255); + s.runtime___31276 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___7453); + r0 = (s.tmp_2 + s.runtime___31276); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -8826,9 +8826,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___7450 - s.tmp_4); - s.realTimeInSample___7472 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___7450); + r0 = (s.now___31273 - s.tmp_4); + s.realTimeInSample___31295 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___31273); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -8836,8 +8836,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___7481 = (r0); - r0 = pxsim.Math_.round(s.fps___7481); + s.fps___31304 = (r0); + r0 = pxsim.Math_.round(s.fps___31304); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -8849,21 +8849,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___397 = (r0); - r0 = (s.fps___7481 < 99); + globals.control_EventContext_lastStats___22708 = (r0); + r0 = (s.fps___31304 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___397) && (globals.control_EventContext_lastStats___397).vtable) { + if ((globals.control_EventContext_lastStats___22708) && (globals.control_EventContext_lastStats___22708).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___397); + pxsim_String__stringConv(globals.control_EventContext_lastStats___22708); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___22708) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___7481 * 10); + r0 = (s.fps___31304 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -8890,7 +8890,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___397 = (r0); + globals.control_EventContext_lastStats___22708 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -8899,7 +8899,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___7481 * 100); + r0 = (s.fps___31304 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -8946,12 +8946,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___7472) && (s.realTimeInSample___7472).vtable) { + if ((s.realTimeInSample___31295) && (s.realTimeInSample___31295).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___7472); + pxsim_String__stringConv(s.realTimeInSample___31295); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___7472) + ""; } + } else { s.retval = (s.realTimeInSample___31295) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -8968,24 +8968,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P130_mk(s); + s.tmp_0 = Math_max__P22441_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___7453); + r0 = (20 - s.runtime___31276); s.tmp_0.arg1 = r0; - s.callLocIdx = 43; s.pc = 20; return s.tmp_0; + s.callLocIdx = 55; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___7550 = (r0); - r0 = s.delay___7550; + s.delay___31373 = (r0); + r0 = s.delay___31373; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P4161.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P26476.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P4161_mk(s) { +function control_EventContext_runCallbacks__P26476_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P4161, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P26476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9005,15 +9005,15 @@ function control_EventContext_runCallbacks__P4161_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___7432: undefined, - f___7445: undefined, - unnamed54___U2: undefined, - unnamed55___U3: undefined, - now___7450: undefined, - runtime___7453: undefined, - realTimeInSample___7472: undefined, - fps___7481: undefined, - delay___7550: undefined, + loopStart___31255: undefined, + f___31268: undefined, + unnamed164___U2: undefined, + unnamed165___U3: undefined, + now___31273: undefined, + runtime___31276: undefined, + realTimeInSample___31295: undefined, + fps___31304: undefined, + delay___31373: undefined, arg0: undefined, } } @@ -9021,7 +9021,7 @@ function control_EventContext_runCallbacks__P4161_mk(s) { -function game_popScene__P2738(s) { +function game_popScene__P25049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9031,59 +9031,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___10804 = undefined; - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 925; s.pc = 11; return s.tmp_0; + s.oldScene___30972 = undefined; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1182; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___10804 = (r0); - s.tmp_0 = r0 = globals._sceneStack___4532; + s.oldScene___30972 = (r0); + s.tmp_0 = r0 = globals._sceneStack___26847; 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___4532); + r0 = pxsim_Array__length(globals._sceneStack___26847); 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___4532); - globals._scene___4531 = (r0); - s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 926; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___26847); + globals._scene___26846 = (r0); + s.tmp_0 = control_popEventContext__P22721_mk(s); + s.callLocIdx = 1183; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___4531); + r0 = pxsim_numops_toBoolDecr(globals._scene___26846); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 927; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P22721_mk(s); + s.callLocIdx = 1184; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___4531 = (undefined); + globals._scene___26846 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___4531); + r0 = pxsim_numops_toBoolDecr(globals._scene___26846); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P2912_mk(s); - s.callLocIdx = 928; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P25223_mk(s); + s.callLocIdx = 1185; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4534); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___26849); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P10825); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P30993); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___10804); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___4534; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___30972); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___26849; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 930; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1187; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -9092,23 +9092,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P2738.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P25049.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__P2738_mk(s) { +function game_popScene__P25049_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P2738, depth: s.depth + 1, + parent: s, fn: game_popScene__P25049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___10804: undefined, + oldScene___30972: undefined, } } -function game_popScene_inline__P10825(s) { +function game_popScene_inline__P30993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9126,19 +9126,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 929; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1186; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_popScene_inline__P10825.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__P30993.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__P10825_mk(s) { +function game_popScene_inline__P30993_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P10825, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P30993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9148,7 +9148,7 @@ function game_popScene_inline__P10825_mk(s) { -function particles_enableAll__P2912(s) { +function particles_enableAll__P25223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9158,22 +9158,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___10829 = undefined; - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1167; s.pc = 3; return s.tmp_0; + s.sources___30997 = undefined; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1443; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___10829 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___10829); + s.sources___30997 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30997); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___10829; - s.tmp_0.arg1 = particles_enableAll_inline__P10835; - s.callLocIdx = 1169; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_0.arg0 = s.sources___30997; + s.tmp_0.arg1 = particles_enableAll_inline__P31003; + s.callLocIdx = 1445; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P4876_mk(s); - s.callLocIdx = 1170; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P27191_mk(s); + s.callLocIdx = 1446; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -9182,22 +9182,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P2912.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P25223.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__P2912_mk(s) { +function particles_enableAll__P25223_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P2912, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P25223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___10829: undefined, + sources___30997: undefined, } } -function particles_enableAll_inline__P10835(s) { +function particles_enableAll_inline__P31003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9211,22 +9211,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P2893_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P25204_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1168; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1444; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P10835.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__P31003.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__P10835_mk(s) { +function particles_enableAll_inline__P31003_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P10835, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P31003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9236,7 +9236,7 @@ function particles_enableAll_inline__P10835_mk(s) { -function particles_particleSources__P4880(s) { +function particles_particleSources__P27195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9246,33 +9246,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___7194 = undefined; - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 1171; s.pc = 1; return s.tmp_0; + s.sources___31171 = undefined; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1447; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___7194 = (r0); - r0 = s.sources___7194; + s.sources___31171 = (r0); + r0 = s.sources___31171; return leave(s, r0) default: oops() } } } -particles_particleSources__P4880.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P27195.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__P4880_mk(s) { +function particles_particleSources__P27195_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P4880, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P27195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___7194: undefined, + sources___31171: undefined, } } -function particles_pruneParticles__P4876(s) { +function particles_pruneParticles__P27191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9282,26 +9282,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___7214 = undefined; - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1154; s.pc = 3; return s.tmp_0; + s.sources___31008 = undefined; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1430; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___7214 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___7214); + s.sources___31008 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___31008); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_1 = helpers_arraySlice__P115_mk(s); - s.tmp_1.arg0 = s.sources___7214; + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_1 = helpers_arraySlice__P22426_mk(s); + s.tmp_1.arg0 = s.sources___31008; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___7214); + r0 = pxsim_Array__length(s.sources___31008); s.tmp_1.arg2 = r0; - s.callLocIdx = 1155; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1431; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P7223; - s.callLocIdx = 1157; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles_inline__P31017; + s.callLocIdx = 1433; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -9310,23 +9310,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P4876.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P27191.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__P4876_mk(s) { +function particles_pruneParticles__P27191_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P4876, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P27191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___7214: undefined, + sources___31008: undefined, } } -function particles_pruneParticles_inline__P7223(s) { +function particles_pruneParticles_inline__P31017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9340,21 +9340,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P2888_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P25199_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1156; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1432; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P7223.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__P31017.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__P7223_mk(s) { +function particles_pruneParticles_inline__P31017_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P7223, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P31017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9364,7 +9364,7 @@ function particles_pruneParticles_inline__P7223_mk(s) { -function particles_ParticleSource__prune__P2888(s) { +function particles_ParticleSource__prune__P25199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9374,15 +9374,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___6986 = undefined; - s.sources___6994 = undefined; - s.current___7008 = undefined; + s.scene___31047 = undefined; + s.sources___31055 = undefined; + s.current___31069 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -9425,36 +9425,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P2733_mk(s); - s.callLocIdx = 1129; s.pc = 21; return s.tmp_5; + s.tmp_5 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1405; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___6986 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___6986); + s.scene___31047 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___31047); if (!r0) { step = 7; continue; } - r0 = s.scene___6986.fields["allSprites"]; + r0 = s.scene___31047.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1130; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1406; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___6994 = (r0); - s.tmp_0 = r0 = s.sources___6994; + s.sources___31055 = (r0); + s.tmp_0 = r0 = s.sources___31055; 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___6994); + r0 = pxsim_Array__length(s.sources___31055); 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___6994, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___31055, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -9463,35 +9463,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___7008 = (r0); + s.current___31069 = (r0); case 15: - s.tmp_0 = r0 = s.current___7008; + s.tmp_0 = r0 = s.current___31069; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___7008.fields["next"]; + r0 = s.current___31069.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___7008.fields["next"]; + r0 = s.current___31069.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___7008.fields["next"]; + r0 = s.current___31069.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___7008).fields["next"] = (s.tmp_4); + r0 = (s.current___31069).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___7008.fields["next"]; - s.current___7008 = (r0); + r0 = s.current___31069.fields["next"]; + s.current___31069 = (r0); case 19: { step = 15; continue; } case 20: @@ -9499,12 +9499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P2888.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__P25199.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__P2888_mk(s) { +function particles_ParticleSource__prune__P25199_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P2888, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P25199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9512,9 +9512,9 @@ function particles_ParticleSource__prune__P2888_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___6986: undefined, - sources___6994: undefined, - current___7008: undefined, + scene___31047: undefined, + sources___31055: undefined, + current___31069: undefined, arg0: undefined, } } @@ -9522,7 +9522,7 @@ function particles_ParticleSource__prune__P2888_mk(s) { -function helpers_arraySlice__P115(s) { +function helpers_arraySlice__P22426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9532,9 +9532,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___7230 = undefined; - s.len___7232 = undefined; - s.i___7266 = undefined; + s.res___31092 = undefined; + s.len___31094 = undefined; + s.i___31128 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9542,9 +9542,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___7230 = (r0); + s.res___31092 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___7232 = (r0); + s.len___31094 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9556,22 +9556,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___7232 + s.arg1); + s.tmp_1 = Math_max__P22441_mk(s); + r0 = (s.len___31094 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 8; s.pc = 16; return s.tmp_1; + s.callLocIdx = 10; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.arg1 = (r0); case 2: case 3: case 4: - r0 = (s.arg1 > s.len___7232); + r0 = (s.arg1 > s.len___31094); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___7230; + r0 = s.res___31092; { step = 15; continue; } case 5: case 6: @@ -9579,57 +9579,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___7232); + s.arg2 = (s.len___31094); { 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___7232 + s.arg2); + r0 = (s.len___31094 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___7232); + r0 = (s.arg2 > s.len___31094); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___7232); + s.arg2 = (s.len___31094); case 11: case 12: - s.i___7266 = (s.arg1); + s.i___31128 = (s.arg1); case 13: - r0 = (s.i___7266 < s.arg2); + r0 = (s.i___31128 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___7230; - r0 = pxsim_Array__getAt(s.arg0, s.i___7266); + s.tmp_1 = r0 = s.res___31092; + r0 = pxsim_Array__getAt(s.arg0, s.i___31128); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___7266 + 1); - s.i___7266 = (r0); + r0 = (s.i___31128 + 1); + s.i___31128 = (r0); { step = 13; continue; } case 14: - r0 = s.res___7230; + r0 = s.res___31092; case 15: return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySlice__P22426.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__P115_mk(s) { +function helpers_arraySlice__P22426_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P115, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P22426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___7230: undefined, - len___7232: undefined, - i___7266: undefined, + res___31092: undefined, + len___31094: undefined, + i___31128: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9639,7 +9639,7 @@ function helpers_arraySlice__P115_mk(s) { -function particles_ParticleSource_enabled__P2893(s) { +function particles_ParticleSource_enabled__P25204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9655,11 +9655,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P2892_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P25203_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1133; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1409; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -9688,12 +9688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P2893.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__P25204.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__P2893_mk(s) { +function particles_ParticleSource_enabled__P25204_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P2893, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P25204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9710,7 +9710,7 @@ function particles_ParticleSource_enabled__P2893_mk(s) { -function particles_ParticleSource_enabled__P2892(s) { +function particles_ParticleSource_enabled__P25203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9725,7 +9725,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -9740,13 +9740,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P2892.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__P2892.isGetter = true; +particles_ParticleSource_enabled__P25203.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__P25203.isGetter = true; -function particles_ParticleSource_enabled__P2892_mk(s) { +function particles_ParticleSource_enabled__P25203_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P2892, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P25203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9760,7 +9760,7 @@ function particles_ParticleSource_enabled__P2892_mk(s) { -function control_popEventContext__P410(s) { +function control_popEventContext__P22721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9770,9 +9770,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___10842 = undefined; - s.context___10850 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4164); + s.ctx___31178 = undefined; + s.context___31186 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___26479); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9781,9 +9781,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___4164); - s.ctx___10842 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___10842); + r0 = pxsim_Array_.pop(globals.eventContexts___26479); + s.ctx___31178 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___31178); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9792,53 +9792,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P402_mk(s); - s.tmp_2.arg0 = s.ctx___10842; - s.callLocIdx = 56; s.pc = 8; return s.tmp_2; + s.tmp_2 = control_EventContext_unregister__P22713_mk(s); + s.tmp_2.arg0 = s.ctx___31178; + s.callLocIdx = 68; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___4164; - r0 = pxsim_Array__length(globals.eventContexts___4164); + s.tmp_0 = r0 = globals.eventContexts___26479; + r0 = pxsim_Array__length(globals.eventContexts___26479); 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___10850 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___10850); + s.context___31186 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___31186); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P401_mk(s); - s.tmp_0.arg0 = s.context___10850; - s.callLocIdx = 57; s.pc = 9; return s.tmp_0; + s.tmp_0 = control_EventContext_register__P22712_mk(s); + s.tmp_0.arg0 = s.context___31186; + s.callLocIdx = 69; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___4164 = (undefined); + globals.eventContexts___26479 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P410.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P22721.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P410_mk(s) { +function control_popEventContext__P22721_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P410, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P22721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___10842: undefined, - context___10850: undefined, + ctx___31178: undefined, + context___31186: undefined, } } -function control_EventContext_unregister__P402(s) { +function control_EventContext_unregister__P22713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9848,37 +9848,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___9991 = undefined; - s.unnamed58___U1 = undefined; - s.unnamed59___U2 = undefined; + s.h___31381 = undefined; + s.unnamed168___U1 = undefined; + s.unnamed169___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___9991 = (undefined); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); + s.h___31381 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed58___U1 = (r0); - s.unnamed59___U2 = (0); + s.unnamed168___U1 = (r0); + s.unnamed169___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed59___U2; - r0 = pxsim_Array__length(s.unnamed58___U1); + s.tmp_0 = r0 = s.unnamed169___U2; + r0 = pxsim_Array__length(s.unnamed168___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed58___U1, s.unnamed59___U2); - s.h___9991 = (r0); - s.tmp_2 = control_EventHandler_unregister__P4158_mk(s); - s.tmp_2.arg0 = s.h___9991; - s.callLocIdx = 49; s.pc = 3; return s.tmp_2; + r0 = pxsim_Array__getAt(s.unnamed168___U1, s.unnamed169___U2); + s.h___31381 = (r0); + s.tmp_2 = control_EventHandler_unregister__P26473_mk(s); + s.tmp_2.arg0 = s.h___31381; + s.callLocIdx = 61; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed59___U2 + 1); - s.unnamed59___U2 = (r0); + r0 = (s.unnamed169___U2 + 1); + s.unnamed169___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed58___U1 = (undefined); + s.unnamed168___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -9889,19 +9889,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P402.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P22713.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P402_mk(s) { +function control_EventContext_unregister__P22713_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P402, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P22713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___9991: undefined, - unnamed58___U1: undefined, - unnamed59___U2: undefined, + h___31381: undefined, + unnamed168___U1: undefined, + unnamed169___U2: undefined, arg0: undefined, } } @@ -9909,7 +9909,7 @@ function control_EventContext_unregister__P402_mk(s) { -function control_EventHandler_unregister__P4158(s) { +function control_EventHandler_unregister__P26473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9924,24 +9924,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4156_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C26471_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__P4160, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P26475, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P4158.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__P26473.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__P4158_mk(s) { +function control_EventHandler_unregister__P26473_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P4158, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P26473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9953,7 +9953,7 @@ function control_EventHandler_unregister__P4158_mk(s) { -function control_doNothing__P4160(s) { +function control_doNothing__P26475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9967,12 +9967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P4160.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P26475.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__P4160_mk(s) { +function control_doNothing__P26475_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P4160, depth: s.depth + 1, + parent: s, fn: control_doNothing__P26475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -9980,7 +9980,7 @@ function control_doNothing__P4160_mk(s) { -function control_EventContext_register__P401(s) { +function control_EventContext_register__P22712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9990,59 +9990,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___10863 = undefined; - s.unnamed56___U1 = undefined; - s.unnamed57___U2 = undefined; + s.h___31199 = undefined; + s.unnamed166___U1 = undefined; + s.unnamed167___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___10863 = (undefined); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); + s.h___31199 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed56___U1 = (r0); - s.unnamed57___U2 = (0); + s.unnamed166___U1 = (r0); + s.unnamed167___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed57___U2; - r0 = pxsim_Array__length(s.unnamed56___U1); + s.tmp_0 = r0 = s.unnamed167___U2; + r0 = pxsim_Array__length(s.unnamed166___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed56___U1, s.unnamed57___U2); - s.h___10863 = (r0); - s.tmp_2 = control_EventHandler_register__P4157_mk(s); - s.tmp_2.arg0 = s.h___10863; - s.callLocIdx = 47; s.pc = 3; return s.tmp_2; + r0 = pxsim_Array__getAt(s.unnamed166___U1, s.unnamed167___U2); + s.h___31199 = (r0); + s.tmp_2 = control_EventHandler_register__P26472_mk(s); + s.tmp_2.arg0 = s.h___31199; + s.callLocIdx = 59; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed57___U2 + 1); - s.unnamed57___U2 = (r0); + r0 = (s.unnamed167___U2 + 1); + s.unnamed167___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed56___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P4162_mk(s); + s.unnamed166___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P26477_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 48; s.pc = 4; return s.tmp_0; + s.callLocIdx = 60; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_register__P401.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P22712.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P401_mk(s) { +function control_EventContext_register__P22712_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P401, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P22712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___10863: undefined, - unnamed56___U1: undefined, - unnamed57___U2: undefined, + h___31199: undefined, + unnamed166___U1: undefined, + unnamed167___U2: undefined, arg0: undefined, } } @@ -10050,7 +10050,7 @@ function control_EventContext_register__P401_mk(s) { -function control_EventHandler_register__P4157(s) { +function control_EventHandler_register__P26472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10065,8 +10065,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4156_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P7682); + if (!checkSubtype(r0, control_EventHandler__C26471_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P30878); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -10080,12 +10080,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P4157.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__P26472.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__P4157_mk(s) { +function control_EventHandler_register__P26472_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P4157, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P26472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10098,7 +10098,7 @@ function control_EventHandler_register__P4157_mk(s) { -function control_EventHandler_register_inline__P7682(s) { +function control_EventHandler_register_inline__P30878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10116,12 +10116,12 @@ switch (step) { s.tmp_1.arg0 = s.caps[0]; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); - s.callLocIdx = 41; s.pc = 3; return s.tmp_1; + s.callLocIdx = 53; s.pc = 3; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["handler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 41; s.pc = 3; return s.tmp_1;; } - else { s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 53; s.pc = 3; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 53; s.pc = 3; return s.tmp_1;; } + else { s.callLocIdx = 53; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; @@ -10131,12 +10131,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P7682.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__P30878.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__P7682_mk(s) { +function control_EventHandler_register_inline__P30878_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P7682, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P30878, 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 control_EventHandler_register_inline__P7682_mk(s) { -function game_pushScene__P2737(s) { +function game_pushScene__P25048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10156,45 +10156,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___12806 = undefined; - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 919; s.pc = 5; return s.tmp_0; + s.oldScene___32028 = undefined; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1176; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___12806 = (r0); - s.tmp_0 = particles_clearAll__P2910_mk(s); - s.callLocIdx = 920; s.pc = 6; return s.tmp_0; + s.oldScene___32028 = (r0); + s.tmp_0 = particles_clearAll__P25221_mk(s); + s.callLocIdx = 1177; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P2911_mk(s); - s.callLocIdx = 921; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P25222_mk(s); + s.callLocIdx = 1178; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___4532); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___26847); 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___4532 = (r0); + globals._sceneStack___26847 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___4532, globals._scene___4531); - s.tmp_0 = game_init__P4539_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___26847, globals._scene___26846); + s.tmp_0 = game_init__P26854_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 922; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1179; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4533); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___26848); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P12823); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P32045); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___12806); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___4533; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___32028); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___26848; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 924; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1181; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -10203,23 +10203,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P2737.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P25048.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__P2737_mk(s) { +function game_pushScene__P25048_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P2737, depth: s.depth + 1, + parent: s, fn: game_pushScene__P25048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___12806: undefined, + oldScene___32028: undefined, } } -function game_pushScene_inline__P12823(s) { +function game_pushScene_inline__P32045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10237,19 +10237,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 923; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1180; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_pushScene_inline__P12823.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__P32045.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__P12823_mk(s) { +function game_pushScene_inline__P32045_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P12823, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P32045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10259,7 +10259,7 @@ function game_pushScene_inline__P12823_mk(s) { -function game_init__P4539(s) { +function game_init__P26854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10273,7 +10273,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___4531); + r0 = pxsim_numops_toBoolDecr(globals._scene___26846); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10288,73 +10288,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__C2619_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C24930_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P2641_mk(s); + s.tmp_4 = scene_Scene_constructor__P24952_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P409_mk(s); - s.callLocIdx = 916; s.pc = 14; return s.tmp_5; + s.tmp_5 = control_pushEventContext__P22720_mk(s); + s.callLocIdx = 1173; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___4531; - s.callLocIdx = 917; s.pc = 13; return s.tmp_4; + s.tmp_4.arg2 = globals._scene___26846; + s.callLocIdx = 1174; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___4531 = (s.tmp_3); + globals._scene___26846 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P2642_mk(s); - s.tmp_0.arg0 = globals._scene___4531; - s.callLocIdx = 918; s.pc = 15; return s.tmp_0; + s.tmp_0 = scene_Scene_init__P24953_mk(s); + s.tmp_0.arg0 = globals._scene___26846; + s.callLocIdx = 1175; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___2731); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___25042); 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___2731 = (globals.confetti___3003); + globals.winEffect___25042 = (globals.confetti___25314); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___2732); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___25043); 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___2732 = (globals.melt___3024); + globals.loseEffect___25043 = (globals.melt___25335); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___4530); + r0 = pxsim_numops_toBoolDecr(globals.winSound___26845); 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___4530 = (globals.powerUp___1632); + globals.winSound___26845 = (globals.powerUp___23943); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___4528); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___26843); 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___4528 = (globals.wawawawaa___1629); + globals.loseSound___26843 = (globals.wawawawaa___23940); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P4539.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__P26854.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__P4539_mk(s) { +function game_init__P26854_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P4539, depth: s.depth + 1, + parent: s, fn: game_init__P26854, 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 game_init__P4539_mk(s) { -function melt_inline__P6594(s) { +function melt_inline__P32085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10379,11 +10379,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___6597 = undefined; - s.j___6605 = undefined; - s.x___6610 = undefined; - s.y___6616 = undefined; - s.c___6622 = undefined; + s.rounds___32088 = undefined; + s.j___32096 = undefined; + s.x___32101 = undefined; + s.y___32107 = undefined; + s.c___32113 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10396,14 +10396,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___6597 = (r0); - s.j___6605 = (0); + s.rounds___32088 = (r0); + s.j___32096 = (0); case 1: - r0 = (s.j___6605 < s.rounds___6597); + r0 = (s.j___32096 < s.rounds___32088); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P2792_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -10413,8 +10413,8 @@ switch (step) { s.callLocIdx = 45; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___6610 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2792_mk(s); + s.x___32101 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -10424,42 +10424,42 @@ switch (step) { s.callLocIdx = 46; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___6616 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___6610, s.y___6616); - s.c___6622 = (r0); + s.y___32107 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___32101, s.y___32107); + s.c___32113 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___6610; - r0 = (s.y___6616 + 1); + s.tmp_1 = r0 = s.x___32101; + r0 = (s.y___32107 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___6622); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___32113); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___6610; - r0 = (s.y___6616 + 2); + s.tmp_1 = r0 = s.x___32101; + r0 = (s.y___32107 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___6622); - r0 = (s.j___6605 + 1); - s.j___6605 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___32113); + r0 = (s.j___32096 + 1); + s.j___32096 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P6594.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__P32085.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__P6594_mk(s) { +function melt_inline__P32085_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P6594, depth: s.depth + 1, + parent: s, fn: melt_inline__P32085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___6597: undefined, - j___6605: undefined, - x___6610: undefined, - y___6616: undefined, - c___6622: undefined, + rounds___32088: undefined, + j___32096: undefined, + x___32101: undefined, + y___32107: undefined, + c___32113: undefined, arg0: undefined, arg1: undefined, } } @@ -10468,7 +10468,7 @@ function melt_inline__P6594_mk(s) { -function Math_FastRandom_randomRange__P2792(s) { +function Math_FastRandom_randomRange__P25103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10485,14 +10485,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2788_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C25099_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__P2791_mk(s); + s.tmp_2 = Math_FastRandom_next__P25102_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 940; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1216; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -10511,12 +10511,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P2792.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__P25103.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__P2792_mk(s) { +function Math_FastRandom_randomRange__P25103_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P2792, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P25103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10533,7 +10533,7 @@ function Math_FastRandom_randomRange__P2792_mk(s) { -function Math_FastRandom_next__P2791(s) { +function Math_FastRandom_next__P25102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10548,7 +10548,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2788_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C25099_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -10569,12 +10569,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P2791.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__P25102.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__P2791_mk(s) { +function Math_FastRandom_next__P25102_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P2791, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P25102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10591,7 +10591,7 @@ function Math_FastRandom_next__P2791_mk(s) { -function effects_ImageEffect_constructor__P3019(s) { +function effects_ImageEffect_constructor__P25330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10608,14 +10608,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3018_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C25329_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C2788_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C25099_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2790_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P25101_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1233; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1517; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -10625,12 +10625,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P3019.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__P25330.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__P3019_mk(s) { +function effects_ImageEffect_constructor__P25330_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P3019, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P25330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10643,7 +10643,7 @@ function effects_ImageEffect_constructor__P3019_mk(s) { -function confetti_inline__P6702(s) { +function confetti_inline__P32193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10653,13 +10653,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___6705 = undefined; + s.factory___32196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C2947_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C25258_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -10694,27 +10694,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P2948_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P25259_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 35; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___6705 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P2924_mk(s); - s.tmp_0.arg0 = s.factory___6705; + s.factory___32196 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P25235_mk(s); + s.tmp_0.arg0 = s.factory___32196; s.tmp_0.arg1 = 30; s.callLocIdx = 36; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C2880_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C25191_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P2885_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P25196_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___6705; + s.tmp_1.arg3 = s.factory___32196; s.callLocIdx = 37; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -10722,12 +10722,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P6702.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__P32193.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__P6702_mk(s) { +function confetti_inline__P32193_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P6702, depth: s.depth + 1, + parent: s, fn: confetti_inline__P32193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10735,7 +10735,7 @@ function confetti_inline__P6702_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___6705: undefined, + factory___32196: undefined, arg0: undefined, arg1: undefined, } } @@ -10744,7 +10744,7 @@ function confetti_inline__P6702_mk(s) { -function particles_ParticleSource_constructor__P2885(s) { +function particles_ParticleSource_constructor__P25196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10754,8 +10754,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___6726 = undefined; - s.removedSource___6735 = undefined; + s.sources___32217 = undefined; + s.removedSource___32226 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10764,65 +10764,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P1924_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P24235_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1109; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1385; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P4874_mk(s); - s.callLocIdx = 1110; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P27189_mk(s); + s.callLocIdx = 1386; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1111; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1387; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___6726 = (r0); - r0 = pxsim_Array__length(s.sources___6726); + s.sources___32217 = (r0); + r0 = pxsim_Array__length(s.sources___32217); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___4866); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___27181); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P4877_mk(s); - s.tmp_2.arg0 = s.sources___6726; - s.callLocIdx = 1112; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P27192_mk(s); + s.tmp_2.arg0 = s.sources___32217; + s.callLocIdx = 1388; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___6726, 0); - s.removedSource___6735 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P2895_mk(s); - s.tmp_0.arg0 = s.removedSource___6735; - s.callLocIdx = 1114; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array_.removeAt(s.sources___32217, 0); + s.removedSource___32226 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P25206_mk(s); + s.tmp_0.arg0 = s.removedSource___32226; + s.callLocIdx = 1390; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P2894_mk(s); - s.tmp_0.arg0 = s.removedSource___6735; - s.callLocIdx = 1115; s.pc = 10; return s.tmp_0; + s.tmp_0 = particles_ParticleSource_destroy__P25205_mk(s); + s.tmp_0.arg0 = s.removedSource___32226; + s.callLocIdx = 1391; 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__P2897_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P25208_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1116; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1392; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P2889_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P25200_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1117; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1393; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P2896_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P25207_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1118; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1394; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -10834,39 +10834,39 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___2900; + r0 = globals.defaultFactory___25211; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P2899_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P25210_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1119; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1395; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___6726, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P2893_mk(s); + r0 = pxsim_Array__push(s.sources___32217, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P25204_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1120; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1396; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P2885.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__P25196.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__P2885_mk(s) { +function particles_ParticleSource_constructor__P25196_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P2885, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P25196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___6726: undefined, - removedSource___6735: undefined, + sources___32217: undefined, + removedSource___32226: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10877,7 +10877,7 @@ function particles_ParticleSource_constructor__P2885_mk(s) { -function particles_sortSources__P4877(s) { +function particles_sortSources__P27192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10891,22 +10891,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P105_mk(s); + s.tmp_0 = helpers_arraySort__P22416_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P7039; - s.callLocIdx = 1158; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = particles_sortSources_inline__P32434; + s.callLocIdx = 1434; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P4877.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__P27192.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__P4877_mk(s) { +function particles_sortSources__P27192_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P4877, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P27192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10916,7 +10916,7 @@ function particles_sortSources__P4877_mk(s) { -function particles_sortSources_inline__P7039(s) { +function particles_sortSources_inline__P32434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10954,12 +10954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P7039.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__P32434.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__P7039_mk(s) { +function particles_sortSources_inline__P32434_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P7039, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P32434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10975,7 +10975,7 @@ function particles_sortSources_inline__P7039_mk(s) { -function helpers_arraySort__P105(s) { +function helpers_arraySort__P22416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11007,24 +11007,24 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P7062); + s.arg1 = (helpers_arraySort_inline__P32457); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P4085_mk(s); + s.tmp_0 = helpers_sortHelper__P26400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2; s.pc = 5; return s.tmp_0; + s.callLocIdx = 3; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySort__P22416.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__P105_mk(s) { +function helpers_arraySort__P22416_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P105, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P22416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11038,7 +11038,7 @@ function helpers_arraySort__P105_mk(s) { -function helpers_arraySort_inline__P7062(s) { +function helpers_arraySort_inline__P32457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11048,26 +11048,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___7065 = undefined; - s.bIsUndef___7069 = undefined; - s.aIsNull___7080 = undefined; - s.bIsNull___7084 = undefined; + s.aIsUndef___32460 = undefined; + s.bIsUndef___32464 = undefined; + s.aIsNull___32475 = undefined; + s.bIsNull___32479 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___7065 = (r0); + s.aIsUndef___32460 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___7069 = (r0); - s.tmp_0 = r0 = s.aIsUndef___7065; + s.bIsUndef___32464 = (r0); + s.tmp_0 = r0 = s.aIsUndef___32460; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___7069; + r0 = s.bIsUndef___32464; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -11077,13 +11077,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___7065); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___32460); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___7069); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___32464); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -11092,16 +11092,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___7080 = (r0); + s.aIsNull___32475 = (r0); r0 = (s.arg1 === null); - s.bIsNull___7084 = (r0); - s.tmp_0 = r0 = s.aIsNull___7080; + s.bIsNull___32479 = (r0); + s.tmp_0 = r0 = s.aIsNull___32475; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___7084; + r0 = s.bIsNull___32479; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -11111,13 +11111,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___7080); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___32475); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___7084); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___32479); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -11156,12 +11156,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P7062.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__P32457.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__P7062_mk(s) { +function helpers_arraySort_inline__P32457_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P7062, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P32457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11171,10 +11171,10 @@ function helpers_arraySort_inline__P7062_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___7065: undefined, - bIsUndef___7069: undefined, - aIsNull___7080: undefined, - bIsNull___7084: undefined, + aIsUndef___32460: undefined, + bIsUndef___32464: undefined, + aIsNull___32475: undefined, + bIsNull___32479: undefined, arg0: undefined, arg1: undefined, } } @@ -11183,7 +11183,7 @@ function helpers_arraySort_inline__P7062_mk(s) { -function helpers_sortHelper__P4085(s) { +function helpers_sortHelper__P26400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11193,9 +11193,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___7119 = undefined; - s.i___7122 = undefined; - s.j___7128 = undefined; + s.len___32514 = undefined; + s.i___32517 = undefined; + s.j___32523 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11223,31 +11223,31 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___7119 = (r0); - s.i___7122 = (0); + s.len___32514 = (r0); + s.i___32517 = (0); case 5: - s.tmp_1 = r0 = s.i___7122; - r0 = (s.len___7119 - 1); + s.tmp_1 = r0 = s.i___32517; + r0 = (s.len___32514 - 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___7122 + 1); - s.j___7128 = (r0); + r0 = (s.i___32517 + 1); + s.j___32523 = (r0); case 6: - r0 = (s.j___7128 < s.len___7119); + r0 = (s.j___32523 < s.len___32514); 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___7122); + r0 = pxsim_Array__getAt(s.arg0, s.i___32517); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___7128); + r0 = pxsim_Array__getAt(s.arg0, s.j___32523); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 0; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; @@ -11255,21 +11255,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P4084_mk(s); + s.tmp_4 = helpers_swap__P26399_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___7122; - s.tmp_4.arg2 = s.j___7128; - s.callLocIdx = 1; s.pc = 13; return s.tmp_4; + s.tmp_4.arg1 = s.i___32517; + s.tmp_4.arg2 = s.j___32523; + s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___7128 + 1); - s.j___7128 = (r0); + r0 = (s.j___32523 + 1); + s.j___32523 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___7122 + 1); - s.i___7122 = (r0); + r0 = (s.i___32517 + 1); + s.i___32517 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -11277,21 +11277,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P4085.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__P26400.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__P4085_mk(s) { +function helpers_sortHelper__P26400_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P4085, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P26400, 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___7119: undefined, - i___7122: undefined, - j___7128: undefined, + len___32514: undefined, + i___32517: undefined, + j___32523: undefined, arg0: undefined, arg1: undefined, } } @@ -11300,7 +11300,7 @@ function helpers_sortHelper__P4085_mk(s) { -function helpers_swap__P4084(s) { +function helpers_swap__P26399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11310,7 +11310,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___7157 = undefined; + s.temp___32552 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11318,28 +11318,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___7157 = (r0); + s.temp___32552 = (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___7157); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___32552); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P4084.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__P26399.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__P4084_mk(s) { +function helpers_swap__P26399_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P4084, depth: s.depth + 1, + parent: s, fn: helpers_swap__P26399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___7157: undefined, + temp___32552: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11349,7 +11349,7 @@ function helpers_swap__P4084_mk(s) { -function particles_init__P4874(s) { +function particles_init__P27189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11359,34 +11359,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___7199 = undefined; - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 1148; s.pc = 4; return s.tmp_0; + s.scene___32589 = undefined; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1424; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___7199 = (r0); - r0 = s.scene___7199.fields["particleSources"]; + s.scene___32589 = (r0); + r0 = s.scene___32589.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___7199; + s.tmp_1 = r0 = s.scene___32589; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___4869 = (r0); - s.tmp_0 = game_onUpdate__P2752_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P4875; - s.callLocIdx = 1149; s.pc = 5; return s.tmp_0; + globals.lastUpdate___27184 = (r0); + s.tmp_0 = game_onUpdate__P25063_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P27190; + s.callLocIdx = 1425; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P2753_mk(s); + s.tmp_0 = game_onUpdateInterval__P25064_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P4876; - s.callLocIdx = 1150; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P27191; + s.callLocIdx = 1426; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -11394,24 +11394,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P4874.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P27189.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__P4874_mk(s) { +function particles_init__P27189_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P4874, depth: s.depth + 1, + parent: s, fn: particles_init__P27189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___7199: undefined, + scene___32589: undefined, } } -function particles_updateParticles__P4875(s) { +function particles_updateParticles__P27190(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11421,16 +11421,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___7793 = undefined; - s.time___7800 = undefined; - s.dt___7803 = undefined; - s.i___7809 = undefined; - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1151; s.pc = 6; return s.tmp_0; + s.sources___32632 = undefined; + s.time___32639 = undefined; + s.dt___32642 = undefined; + s.i___32648 = undefined; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1427; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___7793 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___7793); + s.sources___32632 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___32632); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11439,34 +11439,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P4877_mk(s); - s.tmp_2.arg0 = s.sources___7793; - s.callLocIdx = 1152; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P27192_mk(s); + s.tmp_2.arg0 = s.sources___32632; + s.callLocIdx = 1428; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___7800 = (r0); - r0 = (s.time___7800 - globals.lastUpdate___4869); - s.dt___7803 = (r0); - globals.lastUpdate___4869 = (s.time___7800); - s.i___7809 = (0); + s.time___32639 = (r0); + r0 = (s.time___32639 - globals.lastUpdate___27184); + s.dt___32642 = (r0); + globals.lastUpdate___27184 = (s.time___32639); + s.i___32648 = (0); case 3: - s.tmp_1 = r0 = s.i___7809; - r0 = pxsim_Array__length(s.sources___7793); + s.tmp_1 = r0 = s.i___32648; + r0 = pxsim_Array__length(s.sources___32632); 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__P2887_mk(s); - r0 = pxsim_Array__getAt(s.sources___7793, s.i___7809); + s.tmp_3 = particles_ParticleSource__update__P25198_mk(s); + r0 = pxsim_Array__getAt(s.sources___32632, s.i___32648); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___7803; - s.callLocIdx = 1153; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___32642; + s.callLocIdx = 1429; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___7809 + 1); - s.i___7809 = (r0); + r0 = (s.i___32648 + 1); + s.i___32648 = (r0); { step = 3; continue; } case 4: case 5: @@ -11474,28 +11474,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P4875.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P27190.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__P4875_mk(s) { +function particles_updateParticles__P27190_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P4875, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P27190, 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___7793: undefined, - time___7800: undefined, - dt___7803: undefined, - i___7809: undefined, + sources___32632: undefined, + time___32639: undefined, + dt___32642: undefined, + i___32648: undefined, } } -function particles_ParticleSource__update__P2887(s) { +function particles_ParticleSource__update__P25198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11505,16 +11505,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___7872 = undefined; - s.current___7891 = undefined; - s.fixedDt___7899 = undefined; + s.p___32711 = undefined; + s.current___32730 = undefined; + s.fixedDt___32738 = 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__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -11540,9 +11540,9 @@ 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__P2894_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P25205_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1124; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1400; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -11565,7 +11565,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["flags"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["flags"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1125; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1401; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -11588,7 +11588,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["flags"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["flags"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1126; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1402; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -11613,9 +11613,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P2892_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P25203_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1127; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1403; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -11631,18 +11631,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__C2916_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C25227_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__C2916_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C25227_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___7872 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___7872); + s.p___32711 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___32711); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11653,8 +11653,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___7872).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___7872); + r0 = (s.p___32711).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___32711); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -11669,7 +11669,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___7891 = (r0); + s.current___32730 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -11681,36 +11681,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___7899 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___7899); + s.fixedDt___32738 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___32738); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___7891.fields["lifespan"]; + r0 = s.current___32730.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___7891; + s.tmp_2 = r0 = s.current___32730; 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__C2880_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C25191_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___7891; - s.tmp_0.arg2 = s.fixedDt___7899; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C2880_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___32730; + s.tmp_0.arg2 = s.fixedDt___32738; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C25191_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___7891.fields["next"]; + r0 = s.current___32730.fields["next"]; s.tmp_0 = r0; - s.current___7891 = (r0); + s.current___32730 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -11719,15 +11719,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___7891; + s.tmp_0 = r0 = s.current___32730; 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___7891.fields["next"]; + r0 = s.current___32730.fields["next"]; s.tmp_0 = r0; - s.current___7891 = (r0); + s.current___32730 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -11738,12 +11738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P2887.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__P25198.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__P2887_mk(s) { +function particles_ParticleSource__update__P25198_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P2887, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P25198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11753,9 +11753,9 @@ function particles_ParticleSource__update__P2887_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___7872: undefined, - current___7891: undefined, - fixedDt___7899: undefined, + p___32711: undefined, + current___32730: undefined, + fixedDt___32738: undefined, arg0: undefined, arg1: undefined, } } @@ -11764,7 +11764,7 @@ function particles_ParticleSource__update__P2887_mk(s) { -function particles_ParticleSource_updateParticle__P4871(s) { +function particles_ParticleSource_updateParticle__P27186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11781,7 +11781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -11836,12 +11836,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P4871.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__P27186.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__P4871_mk(s) { +function particles_ParticleSource_updateParticle__P27186_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P4871, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P27186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11858,7 +11858,7 @@ function particles_ParticleSource_updateParticle__P4871_mk(s) { -function Fx_rightShift__P171(s) { +function Fx_rightShift__P22482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11877,12 +11877,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P171.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P22482.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P171_mk(s) { +function Fx_rightShift__P22482_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P171, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P22482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11892,7 +11892,7 @@ function Fx_rightShift__P171_mk(s) { -function particles_ParticleFactory_createParticle__P2918(s) { +function particles_ParticleFactory_createParticle__P25229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11902,17 +11902,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___7996 = undefined; + s.p___32821 = 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__C2916_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C2861_VT); - s.p___7996 = (r0); - s.tmp_0 = r0 = s.p___7996; + if (!checkSubtype(r0, particles_ParticleFactory__C25227_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C25172_VT); + s.p___32821 = (r0); + s.tmp_0 = r0 = s.p___32821; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -11921,7 +11921,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["x"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["x"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1178; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1454; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -11931,7 +11931,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___7996; + s.tmp_0 = r0 = s.p___32821; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -11940,7 +11940,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["y"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["y"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1180; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1456; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -11950,26 +11950,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___7996).fields["vx"] = (0); - r0 = (s.p___7996).fields["vy"] = (0); - r0 = (s.p___7996).fields["lifespan"] = (500); - r0 = s.p___7996; + r0 = (s.p___32821).fields["vx"] = (0); + r0 = (s.p___32821).fields["vy"] = (0); + r0 = (s.p___32821).fields["lifespan"] = (500); + r0 = s.p___32821; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P2918.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__P25229.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__P2918_mk(s) { +function particles_ParticleFactory_createParticle__P25229_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P2918, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P25229, 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___7996: undefined, + p___32821: undefined, arg0: undefined, arg1: undefined, } } @@ -11978,7 +11978,7 @@ function particles_ParticleFactory_createParticle__P2918_mk(s) { -function game_onUpdateInterval__P2753(s) { +function game_onUpdateInterval__P25064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11988,7 +11988,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___7312 = undefined; + s.timer___32611 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12013,22 +12013,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___7312 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___7312, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P7316); + s.timer___32611 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___32611, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P32615); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___7312); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___32611); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_2 = game_eventContext__P2736_mk(s); - s.callLocIdx = 935; s.pc = 7; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P22714_mk(s); + s.tmp_2 = game_eventContext__P25047_mk(s); + s.callLocIdx = 1211; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 939; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1215; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 5: @@ -12036,17 +12036,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P2753.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__P25064.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__P2753_mk(s) { +function game_onUpdateInterval__P25064_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P2753, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P25064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___7312: undefined, + timer___32611: undefined, arg0: undefined, arg1: undefined, } } @@ -12055,7 +12055,7 @@ function game_onUpdateInterval__P2753_mk(s) { -function game_onUpdateInterval_inline__P7316(s) { +function game_onUpdateInterval_inline__P32615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12065,28 +12065,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___7317 = undefined; - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 936; s.pc = 3; return s.tmp_1; + s.time___32616 = undefined; + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1212; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___7317 = (r0); + s.time___32616 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___7317); + r0 = (s.tmp_1 <= s.time___32616); 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___7317 + s.caps[1]); + r0 = (s.time___32616 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.caps[2]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 938; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1214; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -12095,25 +12095,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P7316.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__P32615.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__P7316_mk(s) { +function game_onUpdateInterval_inline__P32615_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P7316, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P32615, 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___7317: undefined, + time___32616: undefined, } } -function scene_Scene_millis__P2644(s) { +function scene_Scene_millis__P24955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12128,17 +12128,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P2644.info = {"start":6950,"length":61,"line":192,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P24955.info = {"start":6950,"length":61,"line":192,"column":8,"endLine":194,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P2644_mk(s) { +function scene_Scene_millis__P24955_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P2644, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P24955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12147,7 +12147,7 @@ function scene_Scene_millis__P2644_mk(s) { -function MAX_SOURCES_inline__P7170(s) { +function MAX_SOURCES_inline__P32565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12157,13 +12157,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___7171 = undefined; - s.tmp_0 = control_ramSize__P346_mk(s); + s.sz___32566 = undefined; + s.tmp_0 = control_ramSize__P22657_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___7171 = (r0); - r0 = (s.sz___7171 <= 102400); + s.sz___32566 = (r0); + r0 = (s.sz___32566 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -12171,7 +12171,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___7171 <= 204800); + r0 = (s.sz___32566 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -12188,23 +12188,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P7170.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__P32565.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__P7170_mk(s) { +function MAX_SOURCES_inline__P32565_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P7170, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P32565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___7171: undefined, + sz___32566: undefined, } } -function control_ramSize__P346(s) { +function control_ramSize__P22657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12229,12 +12229,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P346.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P22657.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__P346_mk(s) { +function control_ramSize__P22657_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P346, depth: s.depth + 1, + parent: s, fn: control_ramSize__P22657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12244,7 +12244,7 @@ function control_ramSize__P346_mk(s) { -function control__ramSize__P4127(s) { +function control__ramSize__P26442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12258,12 +12258,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P4127.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P26442.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__P4127_mk(s) { +function control__ramSize__P26442_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P4127, depth: s.depth + 1, + parent: s, fn: control__ramSize__P26442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -12271,7 +12271,7 @@ function control__ramSize__P4127_mk(s) { -function particles_SprayFactory_constructor__P2921(s) { +function particles_SprayFactory_constructor__P25232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12289,35 +12289,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2920_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C25231_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P4895_mk(s); - s.callLocIdx = 1185; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P27210_mk(s); + s.callLocIdx = 1461; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P2924_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P25235_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1186; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1462; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P2925_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P25236_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1187; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1463; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P2921.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__P25232.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__P2921_mk(s) { +function particles_SprayFactory_constructor__P25232_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P2921, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P25232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12330,7 +12330,7 @@ function particles_SprayFactory_constructor__P2921_mk(s) { -function particles_initTrig__P4895(s) { +function particles_initTrig__P27210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12340,36 +12340,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___4881); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___27196); 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__P2914_mk(s); + s.tmp_2 = particles_cacheSin__P25225_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1173; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1449; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___4881 = (r0); - s.tmp_0 = particles_cacheCos__P2915_mk(s); + globals.cachedSin___27196 = (r0); + s.tmp_0 = particles_cacheCos__P25226_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1174; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1450; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___4882 = (r0); + globals.cachedCos___27197 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P4895.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P27210.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__P4895_mk(s) { +function particles_initTrig__P27210_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P4895, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P27210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12380,7 +12380,7 @@ function particles_initTrig__P4895_mk(s) { -function particles_cacheCos__P2915(s) { +function particles_cacheCos__P25226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12390,25 +12390,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___6864 = undefined; - s.anglePerSlice___6866 = undefined; - s.i___6872 = undefined; + s.cos___32326 = undefined; + s.anglePerSlice___32328 = undefined; + s.i___32334 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___6864 = (r0); + s.cos___32326 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___6866 = (r0); - s.i___6872 = (0); + s.anglePerSlice___32328 = (r0); + s.i___32334 = (0); case 1: - r0 = (s.i___6872 < s.arg0); + r0 = (s.i___32334 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___6864; - r0 = (s.i___6872 * s.anglePerSlice___6866); + s.tmp_1 = r0 = s.cos___32326; + r0 = (s.i___32334 * s.anglePerSlice___32328); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -12417,20 +12417,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___6872 + 1); - s.i___6872 = (r0); + r0 = (s.i___32334 + 1); + s.i___32334 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___6864; + r0 = s.cos___32326; return leave(s, r0) default: oops() } } } -particles_cacheCos__P2915.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__P25226.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__P2915_mk(s) { +function particles_cacheCos__P25226_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P2915, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P25226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12438,9 +12438,9 @@ function particles_cacheCos__P2915_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___6864: undefined, - anglePerSlice___6866: undefined, - i___6872: undefined, + cos___32326: undefined, + anglePerSlice___32328: undefined, + i___32334: undefined, arg0: undefined, } } @@ -12448,7 +12448,7 @@ function particles_cacheCos__P2915_mk(s) { -function particles_cacheSin__P2914(s) { +function particles_cacheSin__P25225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12458,25 +12458,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___6890 = undefined; - s.anglePerSlice___6892 = undefined; - s.i___6898 = undefined; + s.sin___32352 = undefined; + s.anglePerSlice___32354 = undefined; + s.i___32360 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___6890 = (r0); + s.sin___32352 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___6892 = (r0); - s.i___6898 = (0); + s.anglePerSlice___32354 = (r0); + s.i___32360 = (0); case 1: - r0 = (s.i___6898 < s.arg0); + r0 = (s.i___32360 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___6890; - r0 = (s.i___6898 * s.anglePerSlice___6892); + s.tmp_1 = r0 = s.sin___32352; + r0 = (s.i___32360 * s.anglePerSlice___32354); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -12485,20 +12485,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___6898 + 1); - s.i___6898 = (r0); + r0 = (s.i___32360 + 1); + s.i___32360 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___6890; + r0 = s.sin___32352; return leave(s, r0) default: oops() } } } -particles_cacheSin__P2914.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__P25225.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__P2914_mk(s) { +function particles_cacheSin__P25225_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P2914, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P25225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12506,9 +12506,9 @@ function particles_cacheSin__P2914_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___6890: undefined, - anglePerSlice___6892: undefined, - i___6898: undefined, + sin___32352: undefined, + anglePerSlice___32354: undefined, + i___32360: undefined, arg0: undefined, } } @@ -12516,7 +12516,7 @@ function particles_cacheSin__P2914_mk(s) { -function particles_SprayFactory_setDirection__P2925(s) { +function particles_SprayFactory_setDirection__P25236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12533,31 +12533,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2920_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C25231_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P4900_mk(s); + s.tmp_4 = particles_toRadians__P27215_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1195; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1471; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___4894); + r0 = (s.tmp_3 / globals.angleSlice___27209); 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__P4900_mk(s); + s.tmp_4 = particles_toRadians__P27215_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1196; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1472; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___4894); + r0 = (s.tmp_3 / globals.angleSlice___27209); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -12566,12 +12566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P2925.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__P25236.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__P2925_mk(s) { +function particles_SprayFactory_setDirection__P25236_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P2925, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P25236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12589,7 +12589,7 @@ function particles_SprayFactory_setDirection__P2925_mk(s) { -function particles_toRadians__P4900(s) { +function particles_toRadians__P27215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12607,9 +12607,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P128_mk(s); + s.tmp_3 = Math_abs__P22439_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1177; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1453; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -12626,12 +12626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P4900.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__P27215.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__P4900_mk(s) { +function particles_toRadians__P27215_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P4900, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P27215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12644,7 +12644,7 @@ function particles_toRadians__P4900_mk(s) { -function Math_abs__P128(s) { +function Math_abs__P22439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12673,12 +12673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P128.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P22439.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P128_mk(s) { +function Math_abs__P22439_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P128, depth: s.depth + 1, + parent: s, fn: Math_abs__P22439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12689,7 +12689,7 @@ function Math_abs__P128_mk(s) { -function particles_ParticleFactory_constructor__P2917(s) { +function particles_ParticleFactory_constructor__P25228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12704,17 +12704,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C2916_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C25227_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P2917.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__P25228.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__P2917_mk(s) { +function particles_ParticleFactory_constructor__P25228_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P2917, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P25228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12723,7 +12723,7 @@ function particles_ParticleFactory_constructor__P2917_mk(s) { -function particles_ParticleSource_setFactory__P2899(s) { +function particles_ParticleSource_setFactory__P25210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12739,7 +12739,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -12749,12 +12749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P2899.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__P25210.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__P2899_mk(s) { +function particles_ParticleSource_setFactory__P25210_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P2899, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P25210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12764,7 +12764,7 @@ function particles_ParticleSource_setFactory__P2899_mk(s) { -function particles_ParticleSource_setRate__P2897(s) { +function particles_ParticleSource_setRate__P25208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12780,7 +12780,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -12792,12 +12792,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P2897.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__P25208.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__P2897_mk(s) { +function particles_ParticleSource_setRate__P25208_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P2897, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P25208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12810,7 +12810,7 @@ function particles_ParticleSource_setRate__P2897_mk(s) { -function particles_ParticleSource_setAnchor__P2896(s) { +function particles_ParticleSource_setAnchor__P25207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12826,18 +12826,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P2896.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__P25207.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__P2896_mk(s) { +function particles_ParticleSource_setAnchor__P25207_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P2896, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P25207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12847,7 +12847,7 @@ function particles_ParticleSource_setAnchor__P2896_mk(s) { -function particles_ParticleSource_clear__P2895(s) { +function particles_ParticleSource_clear__P25206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12862,18 +12862,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P2895.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__P25206.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__P2895_mk(s) { +function particles_ParticleSource_clear__P25206_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P2895, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P25206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12882,7 +12882,7 @@ function particles_ParticleSource_clear__P2895_mk(s) { -function particles_ParticleSource_destroy__P2894(s) { +function particles_ParticleSource_destroy__P25205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12897,11 +12897,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P2893_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P25204_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1134; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1410; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -12910,21 +12910,21 @@ 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__P2888_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P25199_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1135; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1411; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P2894.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__P25205.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__P2894_mk(s) { +function particles_ParticleSource_destroy__P25205_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P2894, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P25205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12936,7 +12936,7 @@ function particles_ParticleSource_destroy__P2894_mk(s) { -function particles_ParticleSource_setAcceleration__P2889(s) { +function particles_ParticleSource_setAcceleration__P25200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12953,7 +12953,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12970,12 +12970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P2889.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__P25200.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__P2889_mk(s) { +function particles_ParticleSource_setAcceleration__P25200_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P2889, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P25200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12989,7 +12989,7 @@ function particles_ParticleSource_setAcceleration__P2889_mk(s) { -function helpers_arrayShift__P102(s) { +function helpers_arrayShift__P22413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13007,12 +13007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayShift__P22413.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__P102_mk(s) { +function helpers_arrayShift__P22413_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P102, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P22413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13021,7 +13021,7 @@ function helpers_arrayShift__P102_mk(s) { -function particles_SprayFactory_setSpeed__P2924(s) { +function particles_SprayFactory_setSpeed__P25235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13037,7 +13037,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2920_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C25231_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -13048,12 +13048,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P2924.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__P25235.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__P2924_mk(s) { +function particles_SprayFactory_setSpeed__P25235_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P2924, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P25235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13066,7 +13066,7 @@ function particles_SprayFactory_setSpeed__P2924_mk(s) { -function particles_ConfettiFactory_constructor__P2948(s) { +function particles_ConfettiFactory_constructor__P25259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13076,8 +13076,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___8073 = undefined; - s.i___8089 = undefined; + s.confetti___32853 = undefined; + s.i___32869 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13085,52 +13085,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C2947_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C25258_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex8076); + r0 = pxsim.image.ofBuffer(_hex32856); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex8078); + r0 = pxsim.image.ofBuffer(_hex32858); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex8080); + r0 = pxsim.image.ofBuffer(_hex32860); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex8082); + r0 = pxsim.image.ofBuffer(_hex32862); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex8084); + r0 = pxsim.image.ofBuffer(_hex32864); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___8073 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P2943_mk(s); + s.confetti___32853 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P25254_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___8073, 0); + r0 = pxsim_Array__getAt(s.confetti___32853, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1219; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1495; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___8089 = (1); + s.i___32869 = (1); case 1: - s.tmp_1 = r0 = s.i___8089; - r0 = pxsim_Array__length(s.confetti___8073); + s.tmp_1 = r0 = s.i___32869; + r0 = pxsim_Array__length(s.confetti___32853); 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__P2944_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P25255_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___8073, s.i___8089); + r0 = pxsim_Array__getAt(s.confetti___32853, s.i___32869); s.tmp_3.arg1 = r0; - s.callLocIdx = 1220; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1496; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___8089 + 1); - s.i___8089 = (r0); + r0 = (s.i___32869 + 1); + s.i___32869 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -13139,12 +13139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P2948.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__P25259.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__P2948_mk(s) { +function particles_ConfettiFactory_constructor__P25259_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P2948, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P25259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13152,23 +13152,23 @@ function particles_ConfettiFactory_constructor__P2948_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___8073: undefined, - i___8089: undefined, + confetti___32853: undefined, + i___32869: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex8076 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex8078 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex8080 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex8082 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex8084 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex32856 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex32858 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex32860 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex32862 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex32864 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P2944(s) { +function particles_ShapeFactory_addShape__P25255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13184,7 +13184,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C2942_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C25253_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -13196,12 +13196,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P2944.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__P25255.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__P2944_mk(s) { +function particles_ShapeFactory_addShape__P25255_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P2944, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P25255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13212,7 +13212,7 @@ function particles_ShapeFactory_addShape__P2944_mk(s) { -function particles_ShapeFactory_constructor__P2943(s) { +function particles_ShapeFactory_constructor__P25254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13230,14 +13230,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C2942_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P2931_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C25253_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P25242_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1209; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1485; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -13268,12 +13268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P2943.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__P25254.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__P2943_mk(s) { +function particles_ShapeFactory_constructor__P25254_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P2943, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P25254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13290,7 +13290,7 @@ function particles_ShapeFactory_constructor__P2943_mk(s) { -function particles_AreaFactory_constructor__P2931(s) { +function particles_AreaFactory_constructor__P25242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13309,13 +13309,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C2926_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P2921_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C25237_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P25232_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1197; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1473; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -13340,12 +13340,12 @@ 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__C2788_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C25099_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P2790_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P25101_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1198; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1474; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -13353,12 +13353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P2931.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__P25242.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__P2931_mk(s) { +function particles_AreaFactory_constructor__P25242_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P2931, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P25242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13373,7 +13373,7 @@ function particles_AreaFactory_constructor__P2931_mk(s) { -function effects_ScreenEffect_constructor__P2996(s) { +function effects_ScreenEffect_constructor__P25307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13392,13 +13392,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C2995_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P2992_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C25306_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P25303_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1226; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1505; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -13406,12 +13406,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P2996.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__P25307.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__P2996_mk(s) { +function effects_ScreenEffect_constructor__P25307_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P2996, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P25307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13425,7 +13425,7 @@ function effects_ScreenEffect_constructor__P2996_mk(s) { -function effects_ParticleEffect_constructor__P2992(s) { +function effects_ParticleEffect_constructor__P25303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13443,7 +13443,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C2991_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C25302_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -13451,12 +13451,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P2992.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__P25303.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__P2992_mk(s) { +function effects_ParticleEffect_constructor__P25303_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P2992, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P25303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13468,7 +13468,7 @@ function effects_ParticleEffect_constructor__P2992_mk(s) { -function scene_Scene_init__P2642(s) { +function scene_Scene_init__P24953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13483,7 +13483,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13491,8 +13491,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P1764_mk(s); - s.callLocIdx = 885; s.pc = 4; return s.tmp_1; + s.tmp_1 = power_poke__P24075_mk(s); + s.callLocIdx = 1061; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -13500,84 +13500,84 @@ 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__P8208); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P32988); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 888; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1064; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P1961; - s.callLocIdx = 889; s.pc = 6; return s.tmp_0; + s.tmp_0.arg2 = controller__moveSprites__P24272; + s.callLocIdx = 1065; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P8231); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33011); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 891; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1067; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P8244); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33024); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 895; s.pc = 8; return s.tmp_1; + s.callLocIdx = 1071; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P8265); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33045); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 897; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1073; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P8273); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33053); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 901; s.pc = 10; return s.tmp_1; + s.callLocIdx = 1077; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P22714_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P1824; - s.callLocIdx = 902; s.pc = 11; return s.tmp_0; + s.tmp_0.arg2 = control___screen_update__P24135; + s.callLocIdx = 1078; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P8302); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33082); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___2640; + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___24951; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 904; s.pc = 12; return s.tmp_1; + s.callLocIdx = 1080; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 3: @@ -13585,12 +13585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P2642.info = {"start":4330,"length":2477,"line":125,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P24953.info = {"start":4330,"length":2477,"line":125,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P2642_mk(s) { +function scene_Scene_init__P24953_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P2642, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P24953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13601,7 +13601,7 @@ function scene_Scene_init__P2642_mk(s) { -function scene_Scene_init_inline__P8208(s) { +function scene_Scene_init_inline__P32988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13620,26 +13620,26 @@ 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__P1989_mk(s); + s.tmp_0 = controller___update__P24300_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg0 = r0; - s.callLocIdx = 887; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1063; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P8208.info = {"start":4620,"length":217,"line":132,"column":72,"endLine":136,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P32988.info = {"start":4620,"length":217,"line":132,"column":72,"endLine":136,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P8208_mk(s) { +function scene_Scene_init_inline__P32988_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P8208, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P32988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13651,7 +13651,7 @@ function scene_Scene_init_inline__P8208_mk(s) { -function scene_Scene_init_inline__P8231(s) { +function scene_Scene_init_inline__P33011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13661,7 +13661,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C2333_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C24644_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -13670,7 +13670,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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: @@ -13679,12 +13679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P8231.info = {"start":5132,"length":159,"line":141,"column":69,"endLine":144,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P33011.info = {"start":5132,"length":159,"line":141,"column":69,"endLine":144,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P8231_mk(s) { +function scene_Scene_init_inline__P33011_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P8231, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13695,7 +13695,7 @@ function scene_Scene_init_inline__P8231_mk(s) { -function scene_Scene_init_inline__P8244(s) { +function scene_Scene_init_inline__P33024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13705,80 +13705,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___8245 = undefined; - s.s___8253 = undefined; - s.unnamed86___U2 = undefined; - s.unnamed87___U3 = undefined; + s.dt___33025 = undefined; + s.s___33033 = undefined; + s.unnamed200___U2 = undefined; + s.unnamed201___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___8245 = (r0); - s.tmp_0 = scene_Camera_update__P2575_mk(s); + s.dt___33025 = (r0); + s.tmp_0 = scene_Camera_update__P24886_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 893; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1069; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___8253 = (undefined); + s.s___33033 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed86___U2 = (r0); - s.unnamed87___U3 = (0); + s.unnamed200___U2 = (r0); + s.unnamed201___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed87___U3; - r0 = pxsim_Array__length(s.unnamed86___U2); + s.tmp_0 = r0 = s.unnamed201___U3; + r0 = pxsim_Array__length(s.unnamed200___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed86___U2, s.unnamed87___U3); - s.s___8253 = (r0); + r0 = pxsim_Array__getAt(s.unnamed200___U2, s.unnamed201___U3); + s.s___33033 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___8253; + s.tmp_2.arg0 = s.s___33033; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___8245; + s.tmp_2.arg2 = s.dt___33025; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); - s.callLocIdx = 894; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1070; s.pc = 4; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__update"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 894; s.pc = 4; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 894; s.pc = 4; return s.tmp_2;; } - else { s.callLocIdx = 894; s.pc = 4; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 1070; s.pc = 4; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1070; s.pc = 4; return s.tmp_2;; } + else { s.callLocIdx = 1070; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; - r0 = (s.unnamed87___U3 + 1); - s.unnamed87___U3 = (r0); + r0 = (s.unnamed201___U3 + 1); + s.unnamed201___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed86___U2 = (undefined); + s.unnamed200___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P8244.info = {"start":5480,"length":214,"line":150,"column":79,"endLine":156,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P33024.info = {"start":5480,"length":214,"line":150,"column":79,"endLine":156,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P8244_mk(s) { +function scene_Scene_init_inline__P33024_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P8244, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___8245: undefined, - s___8253: undefined, - unnamed86___U2: undefined, - unnamed87___U3: undefined, + dt___33025: undefined, + s___33033: undefined, + unnamed200___U2: undefined, + unnamed201___U3: undefined, } } -function scene_Scene_init_inline__P8265(s) { +function scene_Scene_init_inline__P33045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13788,21 +13788,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P2647_mk(s); + s.tmp_0 = scene_Scene_render__P24958_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 896; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1072; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P8265.info = {"start":5835,"length":109,"line":161,"column":76,"endLine":164,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P33045.info = {"start":5835,"length":109,"line":161,"column":76,"endLine":164,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P8265_mk(s) { +function scene_Scene_init_inline__P33045_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P8265, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13811,7 +13811,7 @@ function scene_Scene_init_inline__P8265_mk(s) { -function scene_Scene_init_inline__P8273(s) { +function scene_Scene_init_inline__P33053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13821,26 +13821,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___2730; + s.tmp_0 = r0 = globals.stats___25041; 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___398; + r0 = globals.control_EventContext_onStats___22709; 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___398; - if ((globals.control_EventContext_lastStats___397) && (globals.control_EventContext_lastStats___397).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___22709; + if ((globals.control_EventContext_lastStats___22708) && (globals.control_EventContext_lastStats___22708).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___397); + pxsim_String__stringConv(globals.control_EventContext_lastStats___22708); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___22708) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -13871,41 +13871,41 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); s.tmp_2.arg0 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 898; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1074; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___2729); + r0 = pxsim_numops_toBoolDecr(globals.debug___25040); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C2333_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C24644_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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__P2856_mk(s); - s.callLocIdx = 899; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_consoleOverlay_draw__P25167_mk(s); + s.callLocIdx = 1075; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P1765_mk(s); - s.callLocIdx = 900; s.pc = 13; return s.tmp_0; + s.tmp_0 = power_checkDeepSleep__P24076_mk(s); + s.callLocIdx = 1076; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P8273.info = {"start":6061,"length":504,"line":166,"column":80,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P33053.info = {"start":6061,"length":504,"line":166,"column":80,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P8273_mk(s) { +function scene_Scene_init_inline__P33053_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P8273, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13922,7 +13922,7 @@ function scene_Scene_init_inline__P8273_mk(s) { -function scene_Scene_init_inline__P8302(s) { +function scene_Scene_init_inline__P33082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13940,19 +13940,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 903; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1079; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P8302.info = {"start":6783,"length":12,"line":182,"column":39,"endLine":182,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P33082.info = {"start":6783,"length":12,"line":182,"column":39,"endLine":182,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P8302_mk(s) { +function scene_Scene_init_inline__P33082_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P8302, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13962,7 +13962,7 @@ function scene_Scene_init_inline__P8302_mk(s) { -function game_consoleOverlay_draw__P2856(s) { +function game_consoleOverlay_draw__P25167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13972,16 +13972,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___8351 = undefined; - s.top___8356 = undefined; - s.i___8362 = undefined; - s.t___8375 = undefined; - s.tOff___8382 = undefined; - s.tab___8384 = undefined; - s.unnamed90___U6 = undefined; - s.unnamed91___U7 = undefined; - s.padding___8386 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4829); + s.height___33131 = undefined; + s.top___33136 = undefined; + s.i___33142 = undefined; + s.t___33155 = undefined; + s.tOff___33162 = undefined; + s.tab___33164 = undefined; + s.unnamed204___U6 = undefined; + s.unnamed205___U7 = undefined; + s.padding___33166 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27144); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13990,7 +13990,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___4783); + r0 = pxsim_numops_toBoolDecr(globals.instance___27098); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -14006,23 +14006,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___4837; + s.tmp_7.arg0 = globals.consoleFont___27152; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1102; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1378; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___8351 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2730); + s.height___33131 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___25041); if (!r0) { step = 5; continue; } - r0 = s.height___8351; + r0 = s.height___33131; { step = 6; continue; } case 5: r0 = 0; @@ -14030,17 +14030,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___8356 = (r0); - s.i___8362 = (0); + s.top___33136 = (r0); + s.i___33142 = (0); case 7: - s.tmp_1 = r0 = s.i___8362; - r0 = pxsim_Array__length(globals.consoleStrings___4829); + s.tmp_1 = r0 = s.i___33142; + r0 = pxsim_Array__length(globals.consoleStrings___27144); 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___4829, s.i___8362); + r0 = pxsim_Array__getAt(globals.consoleStrings___27144, s.i___33142); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -14048,50 +14048,50 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P122_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___4829, s.i___8362); + s.tmp_6 = helpers_stringSplit__P22433_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___27144, s.i___33142); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1103; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1379; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___8375 = (r0); - s.tOff___8382 = (0); - s.tab___8384 = (undefined); - s.unnamed90___U6 = (s.t___8375); - s.unnamed91___U7 = (0); + s.t___33155 = (r0); + s.tOff___33162 = (0); + s.tab___33164 = (undefined); + s.unnamed204___U6 = (s.t___33155); + s.unnamed205___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed91___U7; - r0 = pxsim_Array__length(s.unnamed90___U6); + s.tmp_0 = r0 = s.unnamed205___U7; + r0 = pxsim_Array__length(s.unnamed204___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed90___U6, s.unnamed91___U7); - s.tab___8384 = (r0); - s.tmp_2 = r0 = globals.tabSize___4831; - s.tmp_5 = r0 = s.tOff___8382; - r0 = pxsim_String_.length(s.tab___8384); + r0 = pxsim_Array__getAt(s.unnamed204___U6, s.unnamed205___U7); + s.tab___33164 = (r0); + s.tmp_2 = r0 = globals.tabSize___27146; + s.tmp_5 = r0 = s.tOff___33162; + r0 = pxsim_String_.length(s.tab___33164); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___4831); + r0 = (s.tmp_4 % globals.tabSize___27146); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___8386 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.tab___8384; - s.tmp_2 = r0 = s.tOff___8382; + s.padding___33166 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.tab___33164; + s.tmp_2 = r0 = s.tOff___33162; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___4837; + s.tmp_4.arg0 = globals.consoleFont___27152; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1104; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1380; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -14100,50 +14100,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___8356; - r0 = (s.i___8362 * s.height___8351); + s.tmp_5 = r0 = s.top___33136; + r0 = (s.i___33142 * s.height___33131); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___4828; - s.tmp_0.arg5 = globals.consoleFont___4837; + s.tmp_0.arg4 = globals.consoleColor___27143; + s.tmp_0.arg5 = globals.consoleFont___27152; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1105; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1381; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___8382; - r0 = pxsim_String_.length(s.tab___8384); + s.tmp_0 = r0 = s.tOff___33162; + r0 = pxsim_String_.length(s.tab___33164); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___8386); + r0 = (s.tmp_2 + s.padding___33166); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___8382 = (r0); - r0 = (s.unnamed91___U7 + 1); - s.unnamed91___U7 = (r0); + s.tOff___33162 = (r0); + r0 = (s.unnamed205___U7 + 1); + s.unnamed205___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed90___U6 = (undefined); + s.unnamed204___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - r0 = pxsim_Array__getAt(globals.consoleStrings___4829, s.i___8362); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + r0 = pxsim_Array__getAt(globals.consoleStrings___27144, s.i___33142); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___8356; - r0 = (s.i___8362 * s.height___8351); + s.tmp_1 = r0 = s.top___33136; + r0 = (s.i___33142 * s.height___33131); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___4828; - s.tmp_0.arg5 = globals.consoleFont___4837; + s.tmp_0.arg4 = globals.consoleColor___27143; + s.tmp_0.arg5 = globals.consoleFont___27152; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1106; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1382; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___8362 + 1); - s.i___8362 = (r0); + r0 = (s.i___33142 + 1); + s.i___33142 = (r0); { step = 7; continue; } case 12: case 13: @@ -14151,12 +14151,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P2856.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__P25167.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__P2856_mk(s) { +function game_consoleOverlay_draw__P25167_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P2856, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P25167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14166,22 +14166,22 @@ function game_consoleOverlay_draw__P2856_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___8351: undefined, - top___8356: undefined, - i___8362: undefined, - t___8375: undefined, - tOff___8382: undefined, - tab___8384: undefined, - unnamed90___U6: undefined, - unnamed91___U7: undefined, - padding___8386: undefined, + height___33131: undefined, + top___33136: undefined, + i___33142: undefined, + t___33155: undefined, + tOff___33162: undefined, + tab___33164: undefined, + unnamed204___U6: undefined, + unnamed205___U7: undefined, + padding___33166: undefined, } } -function scene_systemMenu_isVisible__P2837(s) { +function scene_systemMenu_isVisible__P25148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14191,7 +14191,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4783); + r0 = pxsim_numops_toBoolDecr(globals.instance___27098); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -14201,12 +14201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P2837.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__P25148.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__P2837_mk(s) { +function scene_systemMenu_isVisible__P25148_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P2837, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P25148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14217,7 +14217,7 @@ function scene_systemMenu_isVisible__P2837_mk(s) { -function helpers_imagePrint__P1821(s) { +function helpers_imagePrint__P24132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14227,31 +14227,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___8458 = undefined; - s.cp___8460 = undefined; - s.mult___8461 = undefined; - s.dataW___8466 = undefined; - s.dataH___8472 = undefined; - s.byteHeight___8478 = undefined; - s.charSize___8484 = undefined; - s.dataSize___8488 = undefined; - s.fontdata___8492 = undefined; - s.lastchar___8495 = undefined; - s.imgBuf___8502 = undefined; - s.xOffset___8526 = undefined; - s.yOffset___8527 = undefined; - s.ch___8542 = undefined; - s.l___8561 = undefined; - s.r___8562 = undefined; - s.off___8564 = undefined; - s.guess___8565 = undefined; - s.m___8584 = undefined; - s.v___8593 = undefined; - s.i___8649 = undefined; - s.j___8654 = undefined; - s.mask___8655 = undefined; - s.c___8656 = undefined; - s.n___8673 = undefined; + s.x0___33238 = undefined; + s.cp___33240 = undefined; + s.mult___33241 = undefined; + s.dataW___33246 = undefined; + s.dataH___33252 = undefined; + s.byteHeight___33258 = undefined; + s.charSize___33264 = undefined; + s.dataSize___33268 = undefined; + s.fontdata___33272 = undefined; + s.lastchar___33275 = undefined; + s.imgBuf___33282 = undefined; + s.xOffset___33306 = undefined; + s.yOffset___33307 = undefined; + s.ch___33322 = undefined; + s.l___33341 = undefined; + s.r___33342 = undefined; + s.off___33344 = undefined; + s.guess___33345 = undefined; + s.m___33364 = undefined; + s.v___33373 = undefined; + s.i___33429 = undefined; + s.j___33434 = undefined; + s.mask___33435 = undefined; + s.c___33436 = undefined; + s.n___33453 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14272,9 +14272,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1808_mk(s); + s.tmp_2 = image_getFontForText__P24119_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 95; s.pc = 39; return s.tmp_2; + s.callLocIdx = 141; s.pc = 39; return s.tmp_2; case 39: r0 = s.retval; s.arg5 = (r0); @@ -14289,8 +14289,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___8458 = (s.arg2); - s.cp___8460 = (0); + s.x0___33238 = (s.arg2); + s.cp___33240 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -14299,7 +14299,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["multiplier"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["multiplier"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 96; s.pc = 40; return s.tmp_1; } + else { s.callLocIdx = 142; s.pc = 40; return s.tmp_1; } } case 40: r0 = s.retval; @@ -14314,7 +14314,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["multiplier"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["multiplier"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 97; s.pc = 41; return s.tmp_2; } + else { s.callLocIdx = 143; s.pc = 41; return s.tmp_2; } } case 41: r0 = s.retval; @@ -14324,7 +14324,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___8461 = (s.tmp_3); + s.mult___33241 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -14333,13 +14333,13 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["charWidth"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["charWidth"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 98; s.pc = 42; return s.tmp_1; } + else { s.callLocIdx = 144; s.pc = 42; return s.tmp_1; } } case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8461); - s.dataW___8466 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___33241); + s.dataW___33246 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -14348,21 +14348,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["charHeight"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["charHeight"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 99; s.pc = 43; return s.tmp_1; } + else { s.callLocIdx = 145; s.pc = 43; return s.tmp_1; } } case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8461); - s.dataH___8472 = (r0); - r0 = (s.dataH___8472 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___33241); + s.dataH___33252 = (r0); + r0 = (s.dataH___33252 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___8478 = (r0); - r0 = (s.byteHeight___8478 * s.dataW___8466); - s.charSize___8484 = (r0); - r0 = (2 + s.charSize___8484); - s.dataSize___8488 = (r0); + s.byteHeight___33258 = (r0); + r0 = (s.byteHeight___33258 * s.dataW___33246); + s.charSize___33264 = (r0); + r0 = (2 + s.charSize___33264); + s.dataSize___33268 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -14371,48 +14371,48 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["data"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["data"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 100; s.pc = 44; return s.tmp_0; } + else { s.callLocIdx = 146; s.pc = 44; return s.tmp_0; } } case 44: r0 = s.retval; - s.fontdata___8492 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___8492); + s.fontdata___33272 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___33272); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___8488); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___33268); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___8495 = (r0); - r0 = (s.mult___8461 == 1); + s.lastchar___33275 = (r0); + r0 = (s.mult___33241 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___8484); + r0 = (8 + s.charSize___33264); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___8502 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8502, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8502, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8502, 2, s.dataW___8466); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8502, 4, s.dataH___8472); + s.imgBuf___33282 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33282, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33282, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33282, 2, s.dataW___33246); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33282, 4, s.dataH___33252); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___8460; + s.tmp_1 = r0 = s.cp___33240; 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___8526 = (0); - s.yOffset___8527 = (0); + s.xOffset___33306 = (0); + s.yOffset___33307 = (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___8460; + s.tmp_1 = r0 = s.cp___33240; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -14422,7 +14422,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___8460); + r0 = pxsim_Array__getAt(s.arg6, s.cp___33240); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -14430,13 +14430,13 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["xOffset"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["xOffset"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 101; s.pc = 45; return s.tmp_4; } + else { s.callLocIdx = 147; s.pc = 45; return s.tmp_4; } } case 45: r0 = s.retval; - s.xOffset___8526 = (r0); + s.xOffset___33306 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___8460); + r0 = pxsim_Array__getAt(s.arg6, s.cp___33240); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -14444,19 +14444,19 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["yOffset"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["yOffset"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 102; s.pc = 46; return s.tmp_0; } + else { s.callLocIdx = 148; s.pc = 46; return s.tmp_0; } } case 46: r0 = s.retval; - s.yOffset___8527 = (r0); + s.yOffset___33307 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___8460; + s.tmp_0 = r0 = s.cp___33240; r0 = (s.tmp_0 + 1); - s.cp___8460 = (r0); + s.cp___33240 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___8542 = (r0); - r0 = (s.ch___8542 == 10); + s.ch___33322 = (r0); + r0 = (s.ch___33322 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -14469,7 +14469,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charHeight"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charHeight"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 103; s.pc = 47; return s.tmp_4; } + else { s.callLocIdx = 149; s.pc = 47; return s.tmp_4; } } case 47: r0 = s.retval; @@ -14478,92 +14478,92 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___8458); + s.arg2 = (s.x0___33238); case 14: case 15: - r0 = (s.ch___8542 < 32); + r0 = (s.ch___33322 < 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___8561 = (0); - s.r___8562 = (s.lastchar___8495); - s.off___8564 = (0); - r0 = (s.ch___8542 - 32); + s.l___33341 = (0); + s.r___33342 = (s.lastchar___33275); + s.off___33344 = (0); + r0 = (s.ch___33322 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___8488); - s.guess___8565 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___8492, 4, s.guess___8565); + r0 = (s.tmp_0 * s.dataSize___33268); + s.guess___33345 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___33272, 4, s.guess___33345); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___8542); + r0 = (s.tmp_1 == s.ch___33322); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___8564 = (s.guess___8565); + s.off___33344 = (s.guess___33345); { step = 25; continue; } case 18: case 19: - r0 = (s.l___8561 <= s.r___8562); + r0 = (s.l___33341 <= s.r___33342); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___8561; - r0 = (s.r___8562 - s.l___8561); + s.tmp_1 = r0 = s.l___33341; + r0 = (s.r___33342 - s.l___33341); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___8584 = (r0); - s.tmp_0 = r0 = s.fontdata___8492; - r0 = (s.m___8584 * s.dataSize___8488); + s.m___33364 = (r0); + s.tmp_0 = r0 = s.fontdata___33272; + r0 = (s.m___33364 * s.dataSize___33268); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___8593 = (r0); - r0 = (s.v___8593 == s.ch___8542); + s.v___33373 = (r0); + r0 = (s.v___33373 == s.ch___33322); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___8584 * s.dataSize___8488); - s.off___8564 = (r0); + r0 = (s.m___33364 * s.dataSize___33268); + s.off___33344 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___8593 < s.ch___8542); + r0 = (s.v___33373 < s.ch___33322); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___8584 + 1); - s.l___8561 = (r0); + r0 = (s.m___33364 + 1); + s.l___33341 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___8584 - 1); - s.r___8562 = (r0); + r0 = (s.m___33364 - 1); + s.r___33342 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___8461 == 1); + r0 = (s.mult___33241 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___8502; - s.tmp_3 = r0 = s.fontdata___8492; - r0 = (s.off___8564 + 2); + s.tmp_1 = r0 = s.imgBuf___33282; + s.tmp_3 = r0 = s.fontdata___33272; + r0 = (s.off___33344 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___8484); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___33264); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P1788_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P24099_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___8502; - r0 = (s.arg2 + s.xOffset___8526); + s.tmp_0.arg1 = s.imgBuf___33282; + r0 = (s.arg2 + s.xOffset___33306); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___8527); + r0 = (s.arg3 + s.yOffset___33307); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; - s.callLocIdx = 104; s.pc = 48; return s.tmp_0; + s.callLocIdx = 150; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; s.tmp_0 = r0 = s.arg2; @@ -14575,7 +14575,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 105; s.pc = 49; return s.tmp_2; } + else { s.callLocIdx = 151; s.pc = 49; return s.tmp_2; } } case 49: r0 = s.retval; @@ -14584,88 +14584,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___8564 + 2); - s.off___8564 = (r0); - s.i___8649 = (0); + r0 = (s.off___33344 + 2); + s.off___33344 = (r0); + s.i___33429 = (0); case 27: - r0 = (s.i___8649 < s.dataW___8466); + r0 = (s.i___33429 < s.dataW___33246); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___8654 = (0); - s.mask___8655 = (1); - s.tmp_0 = r0 = s.off___8564; + s.j___33434 = (0); + s.mask___33435 = (1); + s.tmp_0 = r0 = s.off___33344; r0 = (s.tmp_0 + 1); - s.off___8564 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___8492, s.tmp_0); - s.c___8656 = (r0); + s.off___33344 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___33272, s.tmp_0); + s.c___33436 = (r0); case 28: - r0 = (s.j___8654 < s.dataH___8472); + r0 = (s.j___33434 < s.dataH___33252); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___8655 == 256); + r0 = (s.mask___33435 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___8564; + s.tmp_2 = r0 = s.off___33344; r0 = (s.tmp_2 + 1); - s.off___8564 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___8492, s.tmp_2); - s.c___8656 = (r0); - s.mask___8655 = (1); + s.off___33344 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___33272, s.tmp_2); + s.c___33436 = (r0); + s.mask___33435 = (1); case 29: case 30: - s.n___8673 = (0); + s.n___33453 = (0); case 31: - r0 = (s.c___8656 & s.mask___8655); + r0 = (s.c___33436 & s.mask___33435); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___8673 + 1); - s.n___8673 = (r0); - r0 = (s.mask___8655 << 1); - s.mask___8655 = (r0); + r0 = (s.n___33453 + 1); + s.n___33453 = (r0); + r0 = (s.mask___33435 << 1); + s.mask___33435 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___8673); + r0 = pxsim_numops_toBoolDecr(s.n___33453); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___8526 * s.mult___8461); + r0 = (s.xOffset___33306 * s.mult___33241); 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___8654 + s.yOffset___8527); + r0 = (s.j___33434 + s.yOffset___33307); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___8461); + r0 = (s.tmp_5 * s.mult___33241); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___8461; - r0 = (s.mult___8461 * s.n___8673); + s.tmp_0.arg3 = s.mult___33241; + r0 = (s.mult___33241 * s.n___33453); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; - s.callLocIdx = 106; s.pc = 50; return s.tmp_0; + s.callLocIdx = 152; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___8654 + s.n___8673); - s.j___8654 = (r0); + r0 = (s.j___33434 + s.n___33453); + s.j___33434 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___8655 << 1); - s.mask___8655 = (r0); - r0 = (s.j___8654 + 1); - s.j___8654 = (r0); + r0 = (s.mask___33435 << 1); + s.mask___33435 = (r0); + r0 = (s.j___33434 + 1); + s.j___33434 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___8461); + r0 = (s.arg2 + s.mult___33241); s.arg2 = (r0); - r0 = (s.i___8649 + 1); - s.i___8649 = (r0); + r0 = (s.i___33429 + 1); + s.i___33429 = (r0); { step = 27; continue; } case 36: case 37: @@ -14675,12 +14675,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P1821.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__P24132.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__P1821_mk(s) { +function helpers_imagePrint__P24132_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P1821, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P24132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14688,31 +14688,31 @@ function helpers_imagePrint__P1821_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___8458: undefined, - cp___8460: undefined, - mult___8461: undefined, - dataW___8466: undefined, - dataH___8472: undefined, - byteHeight___8478: undefined, - charSize___8484: undefined, - dataSize___8488: undefined, - fontdata___8492: undefined, - lastchar___8495: undefined, - imgBuf___8502: undefined, - xOffset___8526: undefined, - yOffset___8527: undefined, - ch___8542: undefined, - l___8561: undefined, - r___8562: undefined, - off___8564: undefined, - guess___8565: undefined, - m___8584: undefined, - v___8593: undefined, - i___8649: undefined, - j___8654: undefined, - mask___8655: undefined, - c___8656: undefined, - n___8673: undefined, + x0___33238: undefined, + cp___33240: undefined, + mult___33241: undefined, + dataW___33246: undefined, + dataH___33252: undefined, + byteHeight___33258: undefined, + charSize___33264: undefined, + dataSize___33268: undefined, + fontdata___33272: undefined, + lastchar___33275: undefined, + imgBuf___33282: undefined, + xOffset___33306: undefined, + yOffset___33307: undefined, + ch___33322: undefined, + l___33341: undefined, + r___33342: undefined, + off___33344: undefined, + guess___33345: undefined, + m___33364: undefined, + v___33373: undefined, + i___33429: undefined, + j___33434: undefined, + mask___33435: undefined, + c___33436: undefined, + n___33453: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14726,7 +14726,7 @@ function helpers_imagePrint__P1821_mk(s) { -function image_getFontForText__P1808(s) { +function image_getFontForText__P24119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14736,52 +14736,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___8783 = undefined; + s.i___31760 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___8783 = (0); + s.i___31760 = (0); case 1: - s.tmp_1 = r0 = s.i___8783; + s.tmp_1 = r0 = s.i___31760; 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___8783); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___31760); 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___1807; + r0 = globals.font12___24118; { step = 5; continue; } case 2: case 3: - r0 = (s.i___8783 + 1); - s.i___8783 = (r0); + r0 = (s.i___31760 + 1); + s.i___31760 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___1806; + r0 = globals.font8___24117; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P1808.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__P24119.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__P1808_mk(s) { +function image_getFontForText__P24119_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P1808, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P24119, 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___8783: undefined, + i___31760: undefined, arg0: undefined, } } @@ -14789,7 +14789,7 @@ function image_getFontForText__P1808_mk(s) { -function helpers_imageFillRect__P1789(s) { +function helpers_imageFillRect__P24100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14809,17 +14809,17 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4249_mk(s); + s.tmp_2 = helpers_pack__P26564_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; - s.callLocIdx = 77; s.pc = 1; return s.tmp_2; + s.callLocIdx = 123; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4249_mk(s); + s.tmp_4 = helpers_pack__P26564_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; - s.callLocIdx = 78; s.pc = 2; return s.tmp_4; + s.callLocIdx = 124; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -14828,12 +14828,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P1789.info = {"start":4834,"length":159,"line":158,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P24100.info = {"start":4834,"length":159,"line":158,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P1789_mk(s) { +function helpers_imageFillRect__P24100_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P1789, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P24100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14852,7 +14852,7 @@ function helpers_imageFillRect__P1789_mk(s) { -function helpers_imageDrawIcon__P1788(s) { +function helpers_imageDrawIcon__P24099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14872,10 +14872,10 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P4249_mk(s); + s.tmp_3 = helpers_pack__P26564_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; - s.callLocIdx = 76; s.pc = 1; return s.tmp_3; + s.callLocIdx = 122; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -14884,12 +14884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P1788.info = {"start":4684,"length":145,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P24099.info = {"start":4684,"length":145,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P1788_mk(s) { +function helpers_imageDrawIcon__P24099_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P1788, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P24099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14906,7 +14906,7 @@ function helpers_imageDrawIcon__P1788_mk(s) { -function helpers_stringSplit__P122(s) { +function helpers_stringSplit__P22433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14916,15 +14916,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___8806 = undefined; - s.lim___8808 = undefined; - s.s___8824 = undefined; - s.p___8827 = undefined; - s.R___8828 = undefined; - s.z___8842 = undefined; - s.T___8855 = undefined; - s.q___8856 = undefined; - s.e___8862 = undefined; + s.A___33516 = undefined; + s.lim___33518 = undefined; + s.s___33534 = undefined; + s.p___33537 = undefined; + s.R___33538 = undefined; + s.z___33552 = undefined; + s.T___33565 = undefined; + s.q___33566 = undefined; + s.e___33572 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14932,36 +14932,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___8806 = (r0); - s.lim___8808 = (0); + s.A___33516 = (r0); + s.lim___33518 = (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___8808 = (r0); + s.lim___33518 = (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___8808 = (0); + s.lim___33518 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___8808 = (r0); + s.lim___33518 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___8824 = (r0); - s.p___8827 = (0); - s.R___8828 = (s.arg1); - r0 = (s.lim___8808 == 0); + s.s___33534 = (r0); + s.p___33537 = (0); + s.R___33538 = (s.arg1); + r0 = (s.lim___33518 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___8806; + r0 = s.A___33516; { step = 21; continue; } case 5: case 6: @@ -14969,123 +14969,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___8806, 0, s.arg0); - r0 = s.A___8806; + r0 = pxsim_Array_.setAt(s.A___33516, 0, s.arg0); + r0 = s.A___33516; { step = 21; continue; } case 7: case 8: - r0 = (s.s___8824 == 0); + r0 = (s.s___33534 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P4087_mk(s); + s.tmp_1 = helpers_splitMatch__P26402_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___8828; - s.callLocIdx = 10; s.pc = 22; return s.tmp_1; + s.tmp_1.arg2 = s.R___33538; + s.callLocIdx = 12; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___8842 = (r0); - r0 = (s.z___8842 > -1); + s.z___33552 = (r0); + r0 = (s.z___33552 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___8806; + r0 = s.A___33516; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___8806, 0, s.arg0); - r0 = s.A___8806; + r0 = pxsim_Array_.setAt(s.A___33516, 0, s.arg0); + r0 = s.A___33516; { step = 21; continue; } case 11: case 12: - s.q___8856 = (s.p___8827); + s.q___33566 = (s.p___33537); case 13: - r0 = (s.q___8856 != s.s___8824); + r0 = (s.q___33566 != s.s___33534); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P4087_mk(s); + s.tmp_1 = helpers_splitMatch__P26402_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___8856; - s.tmp_1.arg2 = s.R___8828; - s.callLocIdx = 11; s.pc = 23; return s.tmp_1; + s.tmp_1.arg1 = s.q___33566; + s.tmp_1.arg2 = s.R___33538; + s.callLocIdx = 13; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___8862 = (r0); - r0 = (s.e___8862 < 0); + s.e___33572 = (r0); + r0 = (s.e___33572 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___8856 + 1); - s.q___8856 = (r0); + r0 = (s.q___33566 + 1); + s.q___33566 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___8862 == s.p___8827); + r0 = (s.e___33572 == s.p___33537); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___8856 + 1); - s.q___8856 = (r0); + r0 = (s.q___33566 + 1); + s.q___33566 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P22430_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___8827; - s.tmp_0.arg2 = s.q___8856; - s.callLocIdx = 12; s.pc = 24; return s.tmp_0; + s.tmp_0.arg1 = s.p___33537; + s.tmp_0.arg2 = s.q___33566; + s.callLocIdx = 14; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___8855 = (r0); - r0 = pxsim_Array__push(s.A___8806, s.T___8855); - r0 = pxsim_Array__length(s.A___8806); + s.T___33565 = (r0); + r0 = pxsim_Array__push(s.A___33516, s.T___33565); + r0 = pxsim_Array__length(s.A___33516); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___8808); + r0 = (s.tmp_1 == s.lim___33518); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___8806; + r0 = s.A___33516; { step = 21; continue; } case 16: case 17: - s.p___8827 = (s.e___8862); - s.q___8856 = (s.p___8827); + s.p___33537 = (s.e___33572); + s.q___33566 = (s.p___33537); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P22430_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___8827; - s.tmp_0.arg2 = s.q___8856; - s.callLocIdx = 13; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = s.p___33537; + s.tmp_0.arg2 = s.q___33566; + s.callLocIdx = 15; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___8855 = (r0); - r0 = pxsim_Array__push(s.A___8806, s.T___8855); - r0 = s.A___8806; + s.T___33565 = (r0); + r0 = pxsim_Array__push(s.A___33516, s.T___33565); + r0 = s.A___33516; case 21: return leave(s, r0) default: oops() } } } -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"]} +helpers_stringSplit__P22433.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__P122_mk(s) { +function helpers_stringSplit__P22433_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P122, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P22433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___8806: undefined, - lim___8808: undefined, - s___8824: undefined, - p___8827: undefined, - R___8828: undefined, - z___8842: undefined, - T___8855: undefined, - q___8856: undefined, - e___8862: undefined, + A___33516: undefined, + lim___33518: undefined, + s___33534: undefined, + p___33537: undefined, + R___33538: undefined, + z___33552: undefined, + T___33565: undefined, + q___33566: undefined, + e___33572: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15095,7 +15095,7 @@ function helpers_stringSplit__P122_mk(s) { -function helpers_splitMatch__P4087(s) { +function helpers_splitMatch__P26402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15105,9 +15105,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___8942 = undefined; - s.s___8945 = undefined; - s.i___8955 = undefined; + s.r___33652 = undefined; + s.s___33655 = undefined; + s.i___33665 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15115,12 +15115,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___8942 = (r0); + s.r___33652 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___8945 = (r0); - r0 = (s.arg1 + s.r___8942); + s.s___33655 = (r0); + r0 = (s.arg1 + s.r___33652); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___8945); + r0 = (s.tmp_1 > s.s___33655); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -15128,18 +15128,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___8955 = (0); + s.i___33665 = (0); case 3: - r0 = (s.i___8955 < s.r___8942); + r0 = (s.i___33665 < s.r___33652); 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___8955); + r0 = (s.arg1 + s.i___33665); 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___8955); + r0 = pxsim_String_.charAt(s.arg2, s.i___33665); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -15149,21 +15149,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___8955 + 1); - s.i___8955 = (r0); + r0 = (s.i___33665 + 1); + s.i___33665 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___8942); + r0 = (s.arg1 + s.r___33652); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P4087.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__P26402.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__P4087_mk(s) { +function helpers_splitMatch__P26402_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P4087, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P26402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15171,9 +15171,9 @@ function helpers_splitMatch__P4087_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___8942: undefined, - s___8945: undefined, - i___8955: undefined, + r___33652: undefined, + s___33655: undefined, + i___33665: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15183,7 +15183,7 @@ function helpers_splitMatch__P4087_mk(s) { -function helpers_stringSlice__P119(s) { +function helpers_stringSlice__P22430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15193,7 +15193,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___8907 = undefined; + s.len___33617 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15201,16 +15201,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___8907 = (r0); + s.len___33617 = (r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___8907 + s.arg1); + s.tmp_1 = Math_max__P22441_mk(s); + r0 = (s.len___33617 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 9; s.pc = 9; return s.tmp_1; + s.callLocIdx = 11; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.arg1 = (r0); @@ -15220,7 +15220,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___8907); + s.arg2 = (s.len___33617); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -15235,7 +15235,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___8907 + s.arg2); + r0 = (s.len___33617 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -15247,17 +15247,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_stringSlice__P22430.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__P119_mk(s) { +function helpers_stringSlice__P22430_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P119, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P22430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___8907: undefined, + len___33617: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15267,7 +15267,7 @@ function helpers_stringSlice__P119_mk(s) { -function scene_Scene_render__P2647(s) { +function scene_Scene_render__P24958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15277,15 +15277,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___9039 = undefined; - s.unnamed88___U1 = undefined; - s.unnamed89___U2 = undefined; + s.s___33749 = undefined; + s.unnamed202___U1 = undefined; + s.unnamed203___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -15316,18 +15316,18 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P2647_mk(s); + s.tmp_3 = scene_Scene_render__P24958_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 906; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1082; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P2456_mk(s); + s.tmp_0 = scene_Background_draw__P24767_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 907; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1083; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -15337,11 +15337,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P105_mk(s); + s.tmp_2 = helpers_arraySort__P22416_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P9016; - s.callLocIdx = 912; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = scene_Scene_render_inline__P33726; + s.callLocIdx = 1088; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -15352,38 +15352,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___9039 = (undefined); + s.s___33749 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed88___U1 = (r0); - s.unnamed89___U2 = (0); + s.unnamed202___U1 = (r0); + s.unnamed203___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed89___U2; - r0 = pxsim_Array__length(s.unnamed88___U1); + s.tmp_0 = r0 = s.unnamed203___U2; + r0 = pxsim_Array__length(s.unnamed202___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed88___U1, s.unnamed89___U2); - s.s___9039 = (r0); + r0 = pxsim_Array__getAt(s.unnamed202___U1, s.unnamed203___U2); + s.s___33749 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___9039; + s.tmp_2.arg0 = s.s___33749; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__draw"), 2); - s.callLocIdx = 913; s.pc = 15; return s.tmp_2; + s.callLocIdx = 1089; s.pc = 15; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__draw"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 913; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 913; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 913; s.pc = 15; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 1089; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1089; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 1089; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed89___U2 + 1); - s.unnamed89___U2 = (r0); + r0 = (s.unnamed203___U2 + 1); + s.unnamed203___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed88___U1 = (undefined); + s.unnamed202___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -15395,21 +15395,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P2647.info = {"start":8006,"length":917,"line":224,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P24958.info = {"start":8006,"length":917,"line":224,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P2647_mk(s) { +function scene_Scene_render__P24958_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P2647, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P24958, 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___9039: undefined, - unnamed88___U1: undefined, - unnamed89___U2: undefined, + s___33749: undefined, + unnamed202___U1: undefined, + unnamed203___U2: undefined, arg0: undefined, } } @@ -15417,7 +15417,7 @@ function scene_Scene_render__P2647_mk(s) { -function scene_Scene_render_inline__P9016(s) { +function scene_Scene_render_inline__P33726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15440,7 +15440,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["z"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["z"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 908; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 1084; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -15453,7 +15453,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["z"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["z"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 909; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 1085; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -15473,7 +15473,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["id"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["id"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 910; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 1086; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -15486,7 +15486,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["id"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["id"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 911; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 1087; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -15499,12 +15499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P9016.info = {"start":8584,"length":52,"line":238,"column":37,"endLine":238,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P33726.info = {"start":8584,"length":52,"line":238,"column":37,"endLine":238,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P9016_mk(s) { +function scene_Scene_render_inline__P33726_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P9016, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P33726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15524,7 +15524,7 @@ function scene_Scene_render_inline__P9016_mk(s) { -function scene_Background_draw__P2456(s) { +function scene_Background_draw__P24767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15539,31 +15539,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2447_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C24758_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___1863, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___24174, 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___1863, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___24174, 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__P9071); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P33781); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = helpers_arrayForEach__P22420_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 775; s.pc = 5; return s.tmp_2; + s.callLocIdx = 928; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -15572,12 +15572,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P2456.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__P24767.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__P2456_mk(s) { +function scene_Background_draw__P24767_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P2456, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P24767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15589,7 +15589,7 @@ function scene_Background_draw__P2456_mk(s) { -function scene_Background_draw_inline__P9071(s) { +function scene_Background_draw_inline__P33781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15599,8 +15599,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___9073 = undefined; - s.oy___9084 = undefined; + s.ox___33783 = undefined; + s.oy___33794 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15615,7 +15615,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___9073 = (r0); + s.ox___33783 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -15626,31 +15626,31 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___9084 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P2465_mk(s); + s.oy___33794 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P24776_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___9073; - s.tmp_0.arg2 = s.oy___9084; - s.callLocIdx = 774; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = s.ox___33783; + s.tmp_0.arg2 = s.oy___33794; + s.callLocIdx = 927; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P9071.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__P33781.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__P9071_mk(s) { +function scene_Background_draw_inline__P33781_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P9071, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P33781, 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___9073: undefined, - oy___9084: undefined, + ox___33783: undefined, + oy___33794: undefined, arg0: undefined, } } @@ -15658,7 +15658,7 @@ function scene_Background_draw_inline__P9071_mk(s) { -function scene_BackgroundLayer_draw__P2465(s) { +function scene_BackgroundLayer_draw__P24776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15668,19 +15668,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___9102 = undefined; - s.h___9105 = undefined; - s.pw___9108 = undefined; - s.ph___9112 = undefined; - s.rx___9121 = undefined; - s.ry___9124 = undefined; - s.y___9193 = undefined; - s.py___9194 = undefined; - s.dh___9203 = undefined; - s.x___9211 = undefined; - s.rxl___9212 = undefined; - s.px___9218 = undefined; - s.dw___9222 = undefined; + s.w___33812 = undefined; + s.h___33815 = undefined; + s.pw___33818 = undefined; + s.ph___33822 = undefined; + s.rx___33831 = undefined; + s.ry___33834 = undefined; + s.y___33903 = undefined; + s.py___33904 = undefined; + s.dh___33913 = undefined; + s.x___33921 = undefined; + s.rxl___33922 = undefined; + s.px___33928 = undefined; + s.dw___33932 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15688,20 +15688,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2457_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___1863); - s.w___9102 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___1863); - s.h___9105 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C24768_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___24174); + s.w___33812 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___24174); + s.h___33815 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___9108 = (r0); + s.pw___33818 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___9112 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___9108); + s.ph___33822 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___33818); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -15710,7 +15710,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___9112); + r0 = pxsim_numops_toBoolDecr(s.ph___33822); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -15722,9 +15722,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___9121 = (r0); + s.rx___33831 = (r0); r0 = (0 - s.arg2); - s.ry___9124 = (r0); + s.ry___33834 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -15734,20 +15734,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___9121; - r0 = (s.w___9102 + s.pw___9108); + s.tmp_1 = r0 = s.rx___33831; + r0 = (s.w___33812 + s.pw___33818); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___9121 = (r0); + s.rx___33831 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___9121; - r0 = (s.w___9102 + s.pw___9108); + s.tmp_0 = r0 = s.rx___33831; + r0 = (s.w___33812 + s.pw___33818); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___9121 = (r0); + s.rx___33831 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -15758,120 +15758,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___9124; - r0 = (s.h___9105 + s.ph___9112); + s.tmp_1 = r0 = s.ry___33834; + r0 = (s.h___33815 + s.ph___33822); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___9124 = (r0); + s.ry___33834 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___9124; - r0 = (s.h___9105 + s.ph___9112); + s.tmp_0 = r0 = s.ry___33834; + r0 = (s.h___33815 + s.ph___33822); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___9124 = (r0); + s.ry___33834 = (r0); case 10: - r0 = (s.rx___9121 % s.w___9102); - s.rx___9121 = (r0); - r0 = (s.rx___9121 < 0); + r0 = (s.rx___33831 % s.w___33812); + s.rx___33831 = (r0); + r0 = (s.rx___33831 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___9121 + s.w___9102); - s.rx___9121 = (r0); + r0 = (s.rx___33831 + s.w___33812); + s.rx___33831 = (r0); case 11: case 12: - r0 = (s.ry___9124 % s.h___9105); - s.ry___9124 = (r0); - r0 = (s.ry___9124 < 0); + r0 = (s.ry___33834 % s.h___33815); + s.ry___33834 = (r0); + r0 = (s.ry___33834 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___9124 + s.h___9105); - s.ry___9124 = (r0); + r0 = (s.ry___33834 + s.h___33815); + s.ry___33834 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___9121); - s.rx___9121 = (r0); - r0 = pxsim.Math_.floor(s.ry___9124); - s.ry___9124 = (r0); - s.y___9193 = (0); - s.py___9194 = (0); + r0 = pxsim.Math_.floor(s.rx___33831); + s.rx___33831 = (r0); + r0 = pxsim.Math_.floor(s.ry___33834); + s.ry___33834 = (r0); + s.y___33903 = (0); + s.py___33904 = (0); case 15: - r0 = (s.y___9193 < s.h___9105); + r0 = (s.y___33903 < s.h___33815); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___9193 % s.ph___9112); - s.py___9194 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.ph___9112 - s.py___9194); + r0 = (s.y___33903 % s.ph___33822); + s.py___33904 = (r0); + s.tmp_0 = Math_min__P22442_mk(s); + r0 = (s.ph___33822 - s.py___33904); s.tmp_0.arg0 = r0; - r0 = (s.h___9105 - s.ry___9124); + r0 = (s.h___33815 - s.ry___33834); s.tmp_0.arg1 = r0; - s.callLocIdx = 777; s.pc = 24; return s.tmp_0; + s.callLocIdx = 930; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___9203 = (r0); - s.x___9211 = (0); - s.rxl___9212 = (s.rx___9121); + s.dh___33913 = (r0); + s.x___33921 = (0); + s.rxl___33922 = (s.rx___33831); case 16: - r0 = (s.x___9211 < s.w___9102); + r0 = (s.x___33921 < s.w___33812); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___9211 % s.pw___9108); - s.px___9218 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.pw___9108 - s.px___9218); + r0 = (s.x___33921 % s.pw___33818); + s.px___33928 = (r0); + s.tmp_0 = Math_min__P22442_mk(s); + r0 = (s.pw___33818 - s.px___33928); s.tmp_0.arg0 = r0; - r0 = (s.w___9102 - s.rxl___9212); + r0 = (s.w___33812 - s.rxl___33922); s.tmp_0.arg1 = r0; - s.callLocIdx = 778; s.pc = 25; return s.tmp_0; + s.callLocIdx = 931; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___9222 = (r0); + s.dw___33932 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___1863, s.tmp_0, s.rxl___9212, s.ry___9124); - r0 = (s.rxl___9212 + s.dw___9222); + r0 = pxsim_ImageMethods.drawImage(globals.screen___24174, s.tmp_0, s.rxl___33922, s.ry___33834); + r0 = (s.rxl___33922 + s.dw___33932); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___9102); - s.rxl___9212 = (r0); + r0 = (s.tmp_0 % s.w___33812); + s.rxl___33922 = (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___9222; + r0 = s.dw___33932; { step = 18; continue; } case 17: - r0 = s.w___9102; + r0 = s.w___33812; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___9211 + s.tmp_1); - s.x___9211 = (r0); + r0 = (s.x___33921 + s.tmp_1); + s.x___33921 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___9124 + s.dh___9203); + r0 = (s.ry___33834 + s.dh___33913); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___9105); - s.ry___9124 = (r0); + r0 = (s.tmp_0 % s.h___33815); + s.ry___33834 = (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___9203; + r0 = s.dh___33913; { step = 21; continue; } case 20: - r0 = s.h___9105; + r0 = s.h___33815; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___9193 + s.tmp_1); - s.y___9193 = (r0); + r0 = (s.y___33903 + s.tmp_1); + s.y___33903 = (r0); { step = 15; continue; } case 22: case 23: @@ -15879,30 +15879,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P2465.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__P24776.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__P2465_mk(s) { +function scene_BackgroundLayer_draw__P24776_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P2465, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P24776, 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___9102: undefined, - h___9105: undefined, - pw___9108: undefined, - ph___9112: undefined, - rx___9121: undefined, - ry___9124: undefined, - y___9193: undefined, - py___9194: undefined, - dh___9203: undefined, - x___9211: undefined, - rxl___9212: undefined, - px___9218: undefined, - dw___9222: undefined, + w___33812: undefined, + h___33815: undefined, + pw___33818: undefined, + ph___33822: undefined, + rx___33831: undefined, + ry___33834: undefined, + y___33903: undefined, + py___33904: undefined, + dh___33913: undefined, + x___33921: undefined, + rxl___33922: undefined, + px___33928: undefined, + dw___33932: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15912,7 +15912,7 @@ function scene_BackgroundLayer_draw__P2465_mk(s) { -function scene_Camera_update__P2575(s) { +function scene_Camera_update__P24886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15922,76 +15922,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___9305 = undefined; - s.percentComplete___9319 = undefined; - s.damp___9326 = undefined; - s.f___9335 = undefined; - s.x___9341 = undefined; - s.y___9348 = undefined; + s.elapsed___34015 = undefined; + s.percentComplete___34029 = undefined; + s.damp___34036 = undefined; + s.f___34045 = undefined; + s.x___34051 = undefined; + s.y___34058 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_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__P2565_mk(s); + s.tmp_1 = scene_Camera_offsetX__P24876_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P2176_mk(s); + s.tmp_3 = Sprite_x__P24487_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 867; s.pc = 10; return s.tmp_3; + s.callLocIdx = 1043; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg1 = r0; - s.callLocIdx = 868; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1044; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P2567_mk(s); + s.tmp_0 = scene_Camera_offsetY__P24878_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P2178_mk(s); + s.tmp_2 = Sprite_y__P24489_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 869; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1045; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg1 = r0; - s.callLocIdx = 870; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1046; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P2565_mk(s); + s.tmp_0 = scene_Camera_offsetX__P24876_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["_offsetX"]; s.tmp_1 = r0; r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 872; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1048; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P2567_mk(s); + s.tmp_0 = scene_Camera_offsetY__P24878_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["_offsetY"]; s.tmp_1 = r0; r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 874; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1050; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -16013,10 +16013,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___9305 = (r0); + s.elapsed___34015 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___9305 >= s.tmp_1); + r0 = (s.elapsed___34015 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -16025,49 +16025,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___9305 / s.tmp_0); - s.percentComplete___9319 = (r0); - s.damp___9326 = (1); - r0 = (s.percentComplete___9319 >= 0.75); + r0 = (s.elapsed___34015 / s.tmp_0); + s.percentComplete___34029 = (r0); + s.damp___34036 = (1); + r0 = (s.percentComplete___34029 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P22441_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___9319); + r0 = (1 - s.percentComplete___34029); s.tmp_1.arg1 = r0; - s.callLocIdx = 877; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1053; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___9326 = (r0); + s.damp___34036 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___9326); - s.f___9335 = (r0); + r0 = (s.tmp_0 * s.damp___34036); + s.f___34045 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___9335); + r0 = (s.tmp_1 * s.f___34045); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___9341 = (r0); + s.x___34051 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___9335); + r0 = (s.tmp_1 * s.f___34045); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___9348 = (r0); + s.y___34058 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___9341); + r0 = (s.tmp_2 + s.x___34051); 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___9348); + r0 = (s.tmp_2 + s.y___34058); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -16077,12 +16077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P2575.info = {"start":2285,"length":1409,"line":77,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P24886.info = {"start":2285,"length":1409,"line":77,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P2575_mk(s) { +function scene_Camera_update__P24886_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P2575, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P24886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16090,12 +16090,12 @@ function scene_Camera_update__P2575_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___9305: undefined, - percentComplete___9319: undefined, - damp___9326: undefined, - f___9335: undefined, - x___9341: undefined, - y___9348: undefined, + elapsed___34015: undefined, + percentComplete___34029: undefined, + damp___34036: undefined, + f___34045: undefined, + x___34051: undefined, + y___34058: undefined, arg0: undefined, } } @@ -16103,7 +16103,7 @@ function scene_Camera_update__P2575_mk(s) { -function scene_Camera_offsetY__P2567(s) { +function scene_Camera_offsetY__P24878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16113,27 +16113,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___9388 = undefined; + s.scene___34077 = 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__C2559_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 864; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1040; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___9388 = (r0); - r0 = s.scene___9388.fields["tileMap"]; + s.scene___34077 = (r0); + r0 = s.scene___34077.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___9388.fields["tileMap"]; + r0 = s.scene___34077.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -16150,11 +16150,11 @@ 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__P2520_mk(s); - r0 = s.scene___9388.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P24831_mk(s); + r0 = s.scene___34077.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; - s.callLocIdx = 866; s.pc = 6; return s.tmp_9; + s.callLocIdx = 1042; s.pc = 6; return s.tmp_9; case 6: r0 = s.retval; s.tmp_8 = r0; @@ -16167,12 +16167,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P2567.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__P24878.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__P2567_mk(s) { +function scene_Camera_offsetY__P24878_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2567, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P24878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16184,7 +16184,7 @@ function scene_Camera_offsetY__P2567_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___9388: undefined, + scene___34077: undefined, arg0: undefined, arg1: undefined, } } @@ -16193,7 +16193,7 @@ function scene_Camera_offsetY__P2567_mk(s) { -function tiles_TileMap_offsetY__P2520(s) { +function tiles_TileMap_offsetY__P24831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16209,38 +16209,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P22438_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P2522_mk(s); + s.tmp_1 = Math_max__P22441_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P24833_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 803; s.pc = 3; return s.tmp_3; + s.callLocIdx = 959; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 804; s.pc = 2; return s.tmp_1; + s.callLocIdx = 960; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 805; s.pc = 1; return s.tmp_0; + s.callLocIdx = 961; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P2520.info = {"start":9630,"length":123,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P24831.info = {"start":9630,"length":123,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P2520_mk(s) { +function tiles_TileMap_offsetY__P24831_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P2520, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P24831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16255,7 +16255,7 @@ function tiles_TileMap_offsetY__P2520_mk(s) { -function tiles_TileMap_areaHeight__P2522(s) { +function tiles_TileMap_areaHeight__P24833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16270,7 +16270,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -16292,12 +16292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P2522.info = {"start":9864,"length":93,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P24833.info = {"start":9864,"length":93,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P2522_mk(s) { +function tiles_TileMap_areaHeight__P24833_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P2522, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P24833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16311,7 +16311,7 @@ function tiles_TileMap_areaHeight__P2522_mk(s) { -function scene_Camera_offsetY__P2566(s) { +function scene_Camera_offsetY__P24877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16326,18 +16326,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P2566.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__P2566.isGetter = true; +scene_Camera_offsetY__P24877.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__P24877.isGetter = true; -function scene_Camera_offsetY__P2566_mk(s) { +function scene_Camera_offsetY__P24877_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2566, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P24877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16346,7 +16346,7 @@ function scene_Camera_offsetY__P2566_mk(s) { -function scene_Camera_offsetX__P2565(s) { +function scene_Camera_offsetX__P24876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16356,27 +16356,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___9453 = undefined; + s.scene___34119 = 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__C2559_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 861; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1037; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___9453 = (r0); - r0 = s.scene___9453.fields["tileMap"]; + s.scene___34119 = (r0); + r0 = s.scene___34119.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___9453.fields["tileMap"]; + r0 = s.scene___34119.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -16393,11 +16393,11 @@ 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__P2519_mk(s); - r0 = s.scene___9453.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P24830_mk(s); + r0 = s.scene___34119.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; - s.callLocIdx = 863; s.pc = 6; return s.tmp_9; + s.callLocIdx = 1039; s.pc = 6; return s.tmp_9; case 6: r0 = s.retval; s.tmp_8 = r0; @@ -16410,12 +16410,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P2565.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__P24876.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__P2565_mk(s) { +function scene_Camera_offsetX__P24876_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2565, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P24876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16427,7 +16427,7 @@ function scene_Camera_offsetX__P2565_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___9453: undefined, + scene___34119: undefined, arg0: undefined, arg1: undefined, } } @@ -16436,7 +16436,7 @@ function scene_Camera_offsetX__P2565_mk(s) { -function tiles_TileMap_offsetX__P2519(s) { +function tiles_TileMap_offsetX__P24830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16452,38 +16452,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P22438_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P2521_mk(s); + s.tmp_1 = Math_max__P22441_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P24832_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 800; s.pc = 3; return s.tmp_3; + s.callLocIdx = 956; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 801; s.pc = 2; return s.tmp_1; + s.callLocIdx = 957; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 802; s.pc = 1; return s.tmp_0; + s.callLocIdx = 958; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P2519.info = {"start":9499,"length":121,"line":325,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P24830.info = {"start":9499,"length":121,"line":325,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P2519_mk(s) { +function tiles_TileMap_offsetX__P24830_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P2519, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P24830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16498,7 +16498,7 @@ function tiles_TileMap_offsetX__P2519_mk(s) { -function tiles_TileMap_areaWidth__P2521(s) { +function tiles_TileMap_areaWidth__P24832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16513,7 +16513,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -16535,12 +16535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P2521.info = {"start":9763,"length":91,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P24832.info = {"start":9763,"length":91,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P2521_mk(s) { +function tiles_TileMap_areaWidth__P24832_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P2521, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P24832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16554,7 +16554,7 @@ function tiles_TileMap_areaWidth__P2521_mk(s) { -function scene_Camera_offsetX__P2564(s) { +function scene_Camera_offsetX__P24875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16569,18 +16569,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P2564.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__P2564.isGetter = true; +scene_Camera_offsetX__P24875.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__P24875.isGetter = true; -function scene_Camera_offsetX__P2564_mk(s) { +function scene_Camera_offsetX__P24875_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2564, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P24875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16589,7 +16589,7 @@ function scene_Camera_offsetX__P2564_mk(s) { -function PhysicsEngine_move__P2339(s) { +function PhysicsEngine_move__P24650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16605,17 +16605,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C24644_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P2339.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__P24650.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__P2339_mk(s) { +function PhysicsEngine_move__P24650_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P2339, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P24650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16625,7 +16625,7 @@ function PhysicsEngine_move__P2339_mk(s) { -function PhysicsEngine_draw__P2338(s) { +function PhysicsEngine_draw__P24649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16640,17 +16640,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C24644_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P2338.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__P24649.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__P2338_mk(s) { +function PhysicsEngine_draw__P24649_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P2338, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P24649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16659,7 +16659,7 @@ function PhysicsEngine_draw__P2338_mk(s) { -function controller___update__P1989(s) { +function controller___update__P24300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16669,7 +16669,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___9857 = undefined; + s.dtms___34360 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -16677,35 +16677,35 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___9857 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P9864); + s.dtms___34360 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P34367); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___9857); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_players__P1957_mk(s); - s.callLocIdx = 178; s.pc = 2; return s.tmp_2; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___34360); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_2 = controller_players__P24268_mk(s); + s.callLocIdx = 234; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 180; s.pc = 1; return s.tmp_1; + s.callLocIdx = 236; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller___update__P1989.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__P24300.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__P1989_mk(s) { +function controller___update__P24300_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P1989, depth: s.depth + 1, + parent: s, fn: controller___update__P24300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___9857: undefined, + dtms___34360: undefined, arg0: undefined, } } @@ -16713,7 +16713,7 @@ function controller___update__P1989_mk(s) { -function controller___update_inline__P9864(s) { +function controller___update_inline__P34367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16727,22 +16727,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P1987_mk(s); + s.tmp_0 = controller_Controller___update__P24298_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; - s.callLocIdx = 179; s.pc = 1; return s.tmp_0; + s.callLocIdx = 235; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller___update_inline__P9864.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__P34367.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__P9864_mk(s) { +function controller___update_inline__P34367_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P9864, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P34367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16752,7 +16752,7 @@ function controller___update_inline__P9864_mk(s) { -function controller_Controller___update__P1987(s) { +function controller_Controller___update__P24298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16768,7 +16768,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -16779,26 +16779,26 @@ 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__P9877); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P34380); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 177; s.pc = 1; return s.tmp_1; + s.callLocIdx = 233; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller___update__P1987.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__P24298.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__P1987_mk(s) { +function controller_Controller___update__P24298_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P1987, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P24298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16812,7 +16812,7 @@ function controller_Controller___update__P1987_mk(s) { -function controller_Controller___update_inline__P9877(s) { +function controller_Controller___update_inline__P34380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16826,23 +16826,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P2027_mk(s); + s.tmp_0 = controller_Button___update__P24338_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; - s.callLocIdx = 176; s.pc = 1; return s.tmp_0; + s.callLocIdx = 232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P9877.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__P34380.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__P9877_mk(s) { +function controller_Controller___update_inline__P34380_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P9877, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P34380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16852,7 +16852,7 @@ function controller_Controller___update_inline__P9877_mk(s) { -function controller_Button___update__P2027(s) { +function controller_Button___update__P24338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16862,16 +16862,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___9893 = undefined; - s.interval___9902 = undefined; - s.count___9915 = undefined; + s.delay___34396 = undefined; + s.interval___34405 = undefined; + s.count___34418 = 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__C2013_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -16895,31 +16895,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___4345; + r0 = globals.defaultRepeatDelay___26660; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___9893 = (s.tmp_2); + s.delay___34396 = (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___4347; + r0 = globals.defaultRepeatInterval___26662; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___9902 = (s.tmp_2); + s.interval___34405 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___9893); + r0 = (s.tmp_1 < s.delay___34396); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -16928,26 +16928,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___9893); + r0 = (s.tmp_5 - s.delay___34396); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___9902); + r0 = (s.tmp_4 - s.interval___34405); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___9902); + r0 = (s.tmp_3 / s.interval___34405); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___9915 = (r0); + s.count___34418 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___9915 != s.tmp_1); + r0 = (s.count___34418 != 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__P4334_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P26649_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 192; s.pc = 12; return s.tmp_2; + s.callLocIdx = 250; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___9915); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___34418); case 9: case 10: case 11: @@ -16955,12 +16955,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P2027.info = {"start":7291,"length":704,"line":217,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P24338.info = {"start":7291,"length":704,"line":217,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P2027_mk(s) { +function controller_Button___update__P24338_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P2027, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P24338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16968,9 +16968,9 @@ function controller_Button___update__P2027_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___9893: undefined, - interval___9902: undefined, - count___9915: undefined, + delay___34396: undefined, + interval___34405: undefined, + count___34418: undefined, arg0: undefined, arg1: undefined, } } @@ -16979,7 +16979,7 @@ function controller_Button___update__P2027_mk(s) { -function controller_Button_raiseButtonRepeat__P4334(s) { +function controller_Button_raiseButtonRepeat__P26649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16994,8 +16994,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4343); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___26658); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -17010,12 +17010,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P4334.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P26649.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P4334_mk(s) { +function controller_Button_raiseButtonRepeat__P26649_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P4334, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P26649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17025,7 +17025,7 @@ function controller_Button_raiseButtonRepeat__P4334_mk(s) { -function controller_players__P1957(s) { +function controller_players__P24268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17035,25 +17035,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P1956_mk(s); - s.callLocIdx = 137; s.pc = 1; return s.tmp_0; + s.tmp_0 = controller__player1__P24267_mk(s); + s.callLocIdx = 185; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P110_mk(s); - s.tmp_0.arg0 = globals._players___4326; - s.tmp_0.arg1 = controller_players_inline__P9734; - s.callLocIdx = 138; s.pc = 2; return s.tmp_0; + s.tmp_0 = helpers_arrayFilter__P22421_mk(s); + s.tmp_0.arg0 = globals._players___26641; + s.tmp_0.arg1 = controller_players_inline__P34350; + s.callLocIdx = 186; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P1957.info = {"start":748,"length":144,"line":29,"column":4,"endLine":32,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P24268.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__P1957_mk(s) { +function controller_players__P24268_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P1957, depth: s.depth + 1, + parent: s, fn: controller_players__P24268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17062,7 +17062,7 @@ function controller_players__P1957_mk(s) { -function controller_players_inline__P9734(s) { +function controller_players_inline__P34350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17086,12 +17086,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P9734.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__P34350.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__P9734_mk(s) { +function controller_players_inline__P34350_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P9734, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P34350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17103,7 +17103,7 @@ function controller_players_inline__P9734_mk(s) { -function controller__moveSprites__P1961(s) { +function controller__moveSprites__P24272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17113,26 +17113,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_1 = controller_players__P1957_mk(s); - s.callLocIdx = 139; s.pc = 2; return s.tmp_1; + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_1 = controller_players__P24268_mk(s); + s.callLocIdx = 187; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P9503; - s.callLocIdx = 141; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = controller__moveSprites_inline__P34165; + s.callLocIdx = 189; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller__moveSprites__P1961.info = {"start":1108,"length":180,"line":43,"column":4,"endLine":47,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P24272.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__P1961_mk(s) { +function controller__moveSprites__P24272_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P1961, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P24272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17142,7 +17142,7 @@ function controller__moveSprites__P1961_mk(s) { -function controller__moveSprites_inline__P9503(s) { +function controller__moveSprites_inline__P34165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17156,21 +17156,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P1986_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P24297_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 140; s.pc = 1; return s.tmp_0; + s.callLocIdx = 188; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P9503.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__P34165.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__P9503_mk(s) { +function controller__moveSprites_inline__P34165_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P9503, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P34165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17180,7 +17180,7 @@ function controller__moveSprites_inline__P9503_mk(s) { -function controller_Controller___preUpdate__P1986(s) { +function controller_Controller___preUpdate__P24297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17190,22 +17190,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___9510 = undefined; - s.svx___9511 = undefined; - s.svy___9512 = undefined; - s.svxInCricle___9547 = undefined; - s.svyInCircle___9549 = undefined; - s.sq___9551 = undefined; - s.scale___9566 = undefined; + s.deadSprites___34172 = undefined; + s.svx___34173 = undefined; + s.svy___34174 = undefined; + s.svxInCricle___34209 = undefined; + s.svyInCircle___34211 = undefined; + s.sq___34213 = undefined; + s.scale___34228 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P1967_mk(s); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P24278_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 151; s.pc = 18; return s.tmp_3; + s.callLocIdx = 207; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; s.tmp_2 = r0; @@ -17219,38 +17219,38 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___9510 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___9510, false); + s.deadSprites___34172 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___34172, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___9511 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___9511, 0); + s.svx___34173 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___34173, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___9512 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___9512, 0); + s.svy___34174 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___34174, 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___9511; - s.tmp_5 = controller_Button_pressureLevel__P2025_mk(s); - s.tmp_6 = controller_Controller_right__P1972_mk(s); + s.tmp_1 = r0 = s.svx___34173; + s.tmp_5 = controller_Button_pressureLevel__P24336_mk(s); + s.tmp_6 = controller_Controller_right__P24283_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 152; s.pc = 20; return s.tmp_6; + s.callLocIdx = 208; s.pc = 20; return s.tmp_6; case 20: r0 = s.retval; s.tmp_5.arg0 = r0; - s.callLocIdx = 153; s.pc = 19; return s.tmp_5; + s.callLocIdx = 209; s.pc = 19; return s.tmp_5; case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P2025_mk(s); - s.tmp_9 = controller_Controller_left__P1971_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P24336_mk(s); + s.tmp_9 = controller_Controller_left__P24282_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 154; s.pc = 22; return s.tmp_9; + s.callLocIdx = 210; s.pc = 22; return s.tmp_9; case 22: r0 = s.retval; s.tmp_8.arg0 = r0; - s.callLocIdx = 155; s.pc = 21; return s.tmp_8; + s.callLocIdx = 211; s.pc = 21; return s.tmp_8; case 21: r0 = s.retval; s.tmp_7 = r0; @@ -17259,26 +17259,26 @@ 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___9512; - s.tmp_4 = controller_Button_pressureLevel__P2025_mk(s); - s.tmp_5 = controller_Controller_down__P1974_mk(s); + s.tmp_0 = r0 = s.svy___34174; + s.tmp_4 = controller_Button_pressureLevel__P24336_mk(s); + s.tmp_5 = controller_Controller_down__P24285_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 156; s.pc = 24; return s.tmp_5; + s.callLocIdx = 212; s.pc = 24; return s.tmp_5; case 24: r0 = s.retval; s.tmp_4.arg0 = r0; - s.callLocIdx = 157; s.pc = 23; return s.tmp_4; + s.callLocIdx = 213; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P2025_mk(s); - s.tmp_8 = controller_Controller_up__P1973_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P24336_mk(s); + s.tmp_8 = controller_Controller_up__P24284_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 158; s.pc = 26; return s.tmp_8; + s.callLocIdx = 214; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; s.tmp_7.arg0 = r0; - s.callLocIdx = 159; s.pc = 25; return s.tmp_7; + s.callLocIdx = 215; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; @@ -17289,14 +17289,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C2013_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P1972_mk(s); + s.tmp_1 = controller_Button__C24324_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P24283_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 160; s.pc = 28; return s.tmp_2; + s.callLocIdx = 216; 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__C2013_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C24324_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: @@ -17311,14 +17311,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C2013_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P1971_mk(s); + s.tmp_5 = controller_Button__C24324_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P24282_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 161; s.pc = 30; return s.tmp_6; + s.callLocIdx = 217; 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__C2013_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C24324_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: @@ -17333,18 +17333,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___9511; + s.tmp_8 = r0 = s.svx___34173; 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__C2013_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P1974_mk(s); + s.tmp_1 = controller_Button__C24324_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P24285_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 162; s.pc = 32; return s.tmp_2; + s.callLocIdx = 218; 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__C2013_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C24324_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: @@ -17359,14 +17359,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C2013_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P1973_mk(s); + s.tmp_5 = controller_Button__C24324_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P24284_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 163; s.pc = 34; return s.tmp_6; + s.callLocIdx = 219; 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__C2013_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C24324_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: @@ -17381,57 +17381,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___9512; + s.tmp_8 = r0 = s.svy___34174; 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___9547 = (r0); - s.tmp_0 = r0 = s.svxInCricle___9547; - r0 = pxsim_pxtrt_ldlocRef(s.svx___9511); + s.svxInCricle___34209 = (r0); + s.tmp_0 = r0 = s.svxInCricle___34209; + r0 = pxsim_pxtrt_ldlocRef(s.svx___34173); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___9549 = (r0); - s.tmp_0 = r0 = s.svyInCircle___9549; - r0 = pxsim_pxtrt_ldlocRef(s.svy___9512); + s.svyInCircle___34211 = (r0); + s.tmp_0 = r0 = s.svyInCircle___34211; + r0 = pxsim_pxtrt_ldlocRef(s.svy___34174); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___9511); + r0 = pxsim_pxtrt_ldlocRef(s.svx___34173); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___9511); + r0 = pxsim_pxtrt_ldlocRef(s.svx___34173); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___9512); + r0 = pxsim_pxtrt_ldlocRef(s.svy___34174); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___9512); + r0 = pxsim_pxtrt_ldlocRef(s.svy___34174); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___9551 = (r0); - r0 = (s.sq___9551 > 65536); + s.sq___34213 = (r0); + r0 = (s.sq___34213 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___9551); + r0 = (65536 / s.sq___34213); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___9566 = (r0); - s.tmp_0 = r0 = s.svxInCricle___9547; - s.tmp_3 = r0 = s.scale___9566; - r0 = pxsim_pxtrt_ldlocRef(s.svx___9511); + s.scale___34228 = (r0); + s.tmp_0 = r0 = s.svxInCricle___34209; + s.tmp_3 = r0 = s.scale___34228; + r0 = pxsim_pxtrt_ldlocRef(s.svx___34173); 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___9549; - s.tmp_3 = r0 = s.scale___9566; - r0 = pxsim_pxtrt_ldlocRef(s.svy___9512); + s.tmp_0 = r0 = s.svyInCircle___34211; + s.tmp_3 = r0 = s.scale___34228; + r0 = pxsim_pxtrt_ldlocRef(s.svy___34174); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -17440,43 +17440,43 @@ 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__P9584); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___9510); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___9511); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___9512); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___9547); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___9549); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P1967_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P34246); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___34172); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___34173); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___34174); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___34209); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___34211); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P24278_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 164; s.pc = 36; return s.tmp_2; + s.callLocIdx = 220; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 172; s.pc = 35; return s.tmp_1; + s.callLocIdx = 228; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___9510); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___34172); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P1968_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P24279_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P1967_mk(s); + s.tmp_2 = helpers_arrayFilter__P22421_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P24278_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 173; s.pc = 39; return s.tmp_3; + s.callLocIdx = 229; 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__P9641; - s.callLocIdx = 174; s.pc = 38; return s.tmp_2; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P34303; + s.callLocIdx = 230; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1.arg1 = r0; - s.callLocIdx = 175; s.pc = 37; return s.tmp_1; + s.callLocIdx = 231; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; case 15: @@ -17486,12 +17486,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P1986.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__P24297.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__P1986_mk(s) { +function controller_Controller___preUpdate__P24297_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P1986, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P24297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17503,13 +17503,13 @@ function controller_Controller___preUpdate__P1986_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___9510: undefined, - svx___9511: undefined, - svy___9512: undefined, - svxInCricle___9547: undefined, - svyInCircle___9549: undefined, - sq___9551: undefined, - scale___9566: undefined, + deadSprites___34172: undefined, + svx___34173: undefined, + svy___34174: undefined, + svxInCricle___34209: undefined, + svyInCircle___34211: undefined, + sq___34213: undefined, + scale___34228: undefined, arg0: undefined, } } @@ -17517,7 +17517,7 @@ function controller_Controller___preUpdate__P1986_mk(s) { -function controller_Controller___preUpdate_inline__P9584(s) { +function controller_Controller___preUpdate_inline__P34246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17527,9 +17527,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___9587 = undefined; - s.vx___9588 = undefined; - s.vy___9589 = undefined; + s.s___34249 = undefined; + s.vx___34250 = undefined; + s.vy___34251 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17543,11 +17543,11 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["s"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["s"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 165; s.pc = 22; return s.tmp_0; } + else { s.callLocIdx = 221; s.pc = 22; return s.tmp_0; } } case 22: r0 = s.retval; - s.s___9587 = (r0); + s.s___34249 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -17556,11 +17556,11 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["vx"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["vx"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 166; s.pc = 23; return s.tmp_2; } + else { s.callLocIdx = 222; s.pc = 23; return s.tmp_2; } } case 23: r0 = s.retval; - s.vx___9588 = (r0); + s.vx___34250 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -17569,12 +17569,12 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["vy"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["vy"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 167; s.pc = 24; return s.tmp_3; } + else { s.callLocIdx = 223; s.pc = 24; return s.tmp_3; } } case 24: r0 = s.retval; - s.vy___9589 = (r0); - r0 = s.s___9587.fields["flags"]; + s.vy___34251 = (r0); + r0 = s.s___34249.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -17588,14 +17588,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___9588); + r0 = pxsim_numops_toBoolDecr(s.vx___34250); if (!r0) { step = 3; continue; } - r0 = (s.s___9587).fields["_vx"] = (0); + r0 = (s.s___34249).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___9589); + r0 = pxsim_numops_toBoolDecr(s.vy___34251); if (!r0) { step = 5; continue; } - r0 = (s.s___9587).fields["_vy"] = (0); + r0 = (s.s___34249).fields["_vy"] = (0); case 5: case 6: case 7: @@ -17613,48 +17613,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___9588; + s.tmp_2 = r0 = s.vx___34250; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___9589; + r0 = s.vy___34251; 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___9587; + s.tmp_4 = r0 = s.s___34249; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___9588); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___34250); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___9587; + s.tmp_0 = r0 = s.s___34249; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9589); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___34251); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___9588); + r0 = pxsim_numops_toBoolDecr(s.vx___34250); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___9587; + s.tmp_0 = r0 = s.s___34249; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___9588); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___34250); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___9589); + r0 = pxsim_numops_toBoolDecr(s.vy___34251); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___9587; + s.tmp_0 = r0 = s.s___34249; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9589); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___34251); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -17671,12 +17671,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P9584.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__P34246.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__P9584_mk(s) { +function controller_Controller___preUpdate_inline__P34246_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P9584, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P34246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17685,9 +17685,9 @@ function controller_Controller___preUpdate_inline__P9584_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___9587: undefined, - vx___9588: undefined, - vy___9589: undefined, + s___34249: undefined, + vx___34250: undefined, + vy___34251: undefined, arg0: undefined, } } @@ -17695,7 +17695,7 @@ function controller_Controller___preUpdate_inline__P9584_mk(s) { -function controller_Controller___preUpdate_inline__P9641(s) { +function controller_Controller___preUpdate_inline__P34303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17720,12 +17720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P9641.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__P34303.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__P9641_mk(s) { +function controller_Controller___preUpdate_inline__P34303_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P9641, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P34303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17737,7 +17737,7 @@ function controller_Controller___preUpdate_inline__P9641_mk(s) { -function controller_Button_pressureLevel__P2025(s) { +function controller_Button_pressureLevel__P24336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17752,16 +17752,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C24324_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__C2013_v0_1_mk(s); + s.tmp_3 = controller_Button__C24324_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2013_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C24324_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: @@ -17790,12 +17790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P2025.info = {"start":6453,"length":311,"line":192,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P24336.info = {"start":6453,"length":311,"line":192,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P2025_mk(s) { +function controller_Button_pressureLevel__P24336_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P2025, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P24336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17810,7 +17810,7 @@ function controller_Button_pressureLevel__P2025_mk(s) { -function controller_Controller_down__P1974(s) { +function controller_Controller_down__P24285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17825,7 +17825,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -17834,13 +17834,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P1974.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__P1974.isGetter = true; +controller_Controller_down__P24285.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__P24285.isGetter = true; -function controller_Controller_down__P1974_mk(s) { +function controller_Controller_down__P24285_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P1974, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P24285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17851,7 +17851,7 @@ function controller_Controller_down__P1974_mk(s) { -function controller_Controller_button__P4328(s) { +function controller_Controller_button__P26643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17867,7 +17867,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -17876,12 +17876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P4328.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__P26643.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__P4328_mk(s) { +function controller_Controller_button__P26643_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P4328, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P26643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17893,7 +17893,7 @@ function controller_Controller_button__P4328_mk(s) { -function controller_Controller_up__P1973(s) { +function controller_Controller_up__P24284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17908,7 +17908,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -17917,13 +17917,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P1973.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__P1973.isGetter = true; +controller_Controller_up__P24284.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__P24284.isGetter = true; -function controller_Controller_up__P1973_mk(s) { +function controller_Controller_up__P24284_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P1973, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P24284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17934,7 +17934,7 @@ function controller_Controller_up__P1973_mk(s) { -function controller_Controller_right__P1972(s) { +function controller_Controller_right__P24283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17949,7 +17949,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -17958,13 +17958,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P1972.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__P1972.isGetter = true; +controller_Controller_right__P24283.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__P24283.isGetter = true; -function controller_Controller_right__P1972_mk(s) { +function controller_Controller_right__P24283_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P1972, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P24283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17975,7 +17975,7 @@ function controller_Controller_right__P1972_mk(s) { -function controller_Controller_left__P1971(s) { +function controller_Controller_left__P24282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17990,7 +17990,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -17999,13 +17999,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P1971.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__P1971.isGetter = true; +controller_Controller_left__P24282.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__P24282.isGetter = true; -function controller_Controller_left__P1971_mk(s) { +function controller_Controller_left__P24282_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P1971, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P24282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18016,7 +18016,7 @@ function controller_Controller_left__P1971_mk(s) { -function Fx_imul__P161(s) { +function Fx_imul__P22472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18035,12 +18035,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_imul__P22472.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__P161_mk(s) { +function Fx_imul__P22472_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P161, depth: s.depth + 1, + parent: s, fn: Fx_imul__P22472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18050,7 +18050,7 @@ function Fx_imul__P161_mk(s) { -function power_checkDeepSleep__P1765(s) { +function power_checkDeepSleep__P24076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18060,13 +18060,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___8306 = undefined; - s.to___8309 = undefined; - s.tmp_0 = power_init__P4239_mk(s); - s.callLocIdx = 73; s.pc = 11; return s.tmp_0; + s.p___33086 = undefined; + s.to___33089 = undefined; + s.tmp_0 = power_init__P26554_mk(s); + s.callLocIdx = 119; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___4237; + s.tmp_0 = r0 = globals._poked___26552; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -18076,8 +18076,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___8306 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___4238; + s.p___33086 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___26553; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -18087,8 +18087,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___8309 = (s.tmp_1); - r0 = (s.to___8309 > 0); + s.to___33089 = (s.tmp_1); + r0 = (s.to___33089 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -18097,9 +18097,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___8306); + r0 = (s.tmp_2 - s.p___33086); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___8309); + r0 = (s.tmp_1 > s.to___33089); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -18125,12 +18125,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P1765.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P24076.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__P1765_mk(s) { +function power_checkDeepSleep__P24076_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P1765, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P24076, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18139,15 +18139,15 @@ function power_checkDeepSleep__P1765_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___8306: undefined, - to___8309: undefined, + p___33086: undefined, + to___33089: undefined, } } -function power_init__P4239(s) { +function power_init__P26554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18157,7 +18157,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___4238 !== undefined); + r0 = (globals._timeout___26553 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -18167,21 +18167,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___4238 = (r0); - r0 = (globals._timeout___4238 > 0); + globals._timeout___26553 = (r0); + r0 = (globals._timeout___26553 > 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___4238 < 300000); + r0 = (globals._timeout___26553 < 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___4238 = (300000); + globals._timeout___26553 = (300000); case 5: case 6: case 7: @@ -18189,12 +18189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P4239.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P26554.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__P4239_mk(s) { +function power_init__P26554_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P4239, depth: s.depth + 1, + parent: s, fn: power_init__P26554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18204,7 +18204,7 @@ function power_init__P4239_mk(s) { -function power_poke__P1764(s) { +function power_poke__P24075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18214,22 +18214,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P4239_mk(s); - s.callLocIdx = 72; s.pc = 1; return s.tmp_0; + s.tmp_0 = power_init__P26554_mk(s); + s.callLocIdx = 118; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___4237 = (r0); + globals._poked___26552 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P1764.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P24075.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__P1764_mk(s) { +function power_poke__P24075_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P1764, depth: s.depth + 1, + parent: s, fn: power_poke__P24075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18238,7 +18238,7 @@ function power_poke__P1764_mk(s) { -function control_EventContext_deltaTime__P400(s) { +function control_EventContext_deltaTime__P22711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18253,20 +18253,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C22706_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__P400.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P400.isGetter = true; +control_EventContext_deltaTime__P22711.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P22711.isGetter = true; -function control_EventContext_deltaTime__P400_mk(s) { +function control_EventContext_deltaTime__P22711_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P400, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P22711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18276,7 +18276,7 @@ function control_EventContext_deltaTime__P400_mk(s) { -function scene_Scene_constructor__P2641(s) { +function scene_Scene_constructor__P24952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18293,36 +18293,36 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_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__C2349_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C24660_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P2350_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P24661_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; s.tmp_1.arg3 = 4; - s.callLocIdx = 882; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1058; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2559_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C24870_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P2563_mk(s); + s.tmp_1 = scene_Camera_constructor__P24874_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 883; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1059; 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__C2447_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C24758_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P2451_mk(s); + s.tmp_1 = scene_Background_constructor__P24762_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 884; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1060; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -18379,12 +18379,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P2641.info = {"start":3484,"length":836,"line":104,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P24952.info = {"start":3484,"length":836,"line":104,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P2641_mk(s) { +function scene_Scene_constructor__P24952_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P2641, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P24952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18397,7 +18397,7 @@ function scene_Scene_constructor__P2641_mk(s) { -function scene_Camera_constructor__P2563(s) { +function scene_Camera_constructor__P24874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18412,7 +18412,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -18421,12 +18421,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P2563.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__P24874.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__P2563_mk(s) { +function scene_Camera_constructor__P24874_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P2563, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P24874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18435,7 +18435,7 @@ function scene_Camera_constructor__P2563_mk(s) { -function scene_Background_constructor__P2451(s) { +function scene_Background_constructor__P24762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18451,7 +18451,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2447_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C24758_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -18462,12 +18462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P2451.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__P24762.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__P2451_mk(s) { +function scene_Background_constructor__P24762_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P2451, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P24762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18479,7 +18479,7 @@ function scene_Background_constructor__P2451_mk(s) { -function ArcadePhysicsEngine_constructor__P2350(s) { +function ArcadePhysicsEngine_constructor__P24661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18497,48 +18497,48 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_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__C2268_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C24579_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P2269_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P24580_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 509; s.pc = 1; return s.tmp_1; + s.callLocIdx = 574; 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__P2352_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P24663_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 510; s.pc = 2; return s.tmp_0; + s.callLocIdx = 575; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2356_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P24667_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 511; s.pc = 3; return s.tmp_0; + s.callLocIdx = 576; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P2354_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P24665_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 512; s.pc = 4; return s.tmp_0; + s.callLocIdx = 577; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P2350.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__P24661.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__P2350_mk(s) { +function ArcadePhysicsEngine_constructor__P24661_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P2350, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P24661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18552,7 +18552,7 @@ function ArcadePhysicsEngine_constructor__P2350_mk(s) { -function ArcadePhysicsEngine_maxStep__P2356(s) { +function ArcadePhysicsEngine_maxStep__P24667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18568,7 +18568,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18579,12 +18579,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2356.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__P24667.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__P2356_mk(s) { +function ArcadePhysicsEngine_maxStep__P24667_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2356, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P24667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18597,7 +18597,7 @@ function ArcadePhysicsEngine_maxStep__P2356_mk(s) { -function ArcadePhysicsEngine_maxStep__P2355(s) { +function ArcadePhysicsEngine_maxStep__P24666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18612,7 +18612,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18621,13 +18621,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2355.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__P2355.isGetter = true; +ArcadePhysicsEngine_maxStep__P24666.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__P24666.isGetter = true; -function ArcadePhysicsEngine_maxStep__P2355_mk(s) { +function ArcadePhysicsEngine_maxStep__P24666_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2355, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P24666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18638,7 +18638,7 @@ function ArcadePhysicsEngine_maxStep__P2355_mk(s) { -function Fx_toInt__P172(s) { +function Fx_toInt__P22483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18658,12 +18658,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P172.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P22483.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P172_mk(s) { +function Fx_toInt__P22483_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P172, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P22483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18673,7 +18673,7 @@ function Fx_toInt__P172_mk(s) { -function ArcadePhysicsEngine_minStep__P2354(s) { +function ArcadePhysicsEngine_minStep__P24665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18689,7 +18689,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18700,12 +18700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2354.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__P24665.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__P2354_mk(s) { +function ArcadePhysicsEngine_minStep__P24665_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2354, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P24665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18718,7 +18718,7 @@ function ArcadePhysicsEngine_minStep__P2354_mk(s) { -function ArcadePhysicsEngine_minStep__P2353(s) { +function ArcadePhysicsEngine_minStep__P24664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18733,7 +18733,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18742,13 +18742,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2353.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__P2353.isGetter = true; +ArcadePhysicsEngine_minStep__P24664.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__P24664.isGetter = true; -function ArcadePhysicsEngine_minStep__P2353_mk(s) { +function ArcadePhysicsEngine_minStep__P24664_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2353, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P24664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18759,7 +18759,7 @@ function ArcadePhysicsEngine_minStep__P2353_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2352(s) { +function ArcadePhysicsEngine_maxSpeed__P24663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18775,7 +18775,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18792,12 +18792,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2352.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__P24663.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__P2352_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P24663_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2352, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P24663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18810,7 +18810,7 @@ function ArcadePhysicsEngine_maxSpeed__P2352_mk(s) { -function Fx_neg__P155(s) { +function Fx_neg__P22466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18828,12 +18828,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_neg__P22466.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__P155_mk(s) { +function Fx_neg__P22466_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P155, depth: s.depth + 1, + parent: s, fn: Fx_neg__P22466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18842,7 +18842,7 @@ function Fx_neg__P155_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2351(s) { +function ArcadePhysicsEngine_maxSpeed__P24662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18857,7 +18857,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -18866,13 +18866,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2351.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__P2351.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P24662.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__P24662.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P2351_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P24662_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2351, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P24662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18883,7 +18883,7 @@ function ArcadePhysicsEngine_maxSpeed__P2351_mk(s) { -function PhysicsEngine_constructor__P2334(s) { +function PhysicsEngine_constructor__P24645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18898,17 +18898,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C24644_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P2334.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__P24645.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__P2334_mk(s) { +function PhysicsEngine_constructor__P24645_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P2334, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P24645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18917,7 +18917,7 @@ function PhysicsEngine_constructor__P2334_mk(s) { -function sprites_SpriteMap_constructor__P2269(s) { +function sprites_SpriteMap_constructor__P24580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18932,7 +18932,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -18941,12 +18941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P2269.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__P24580.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__P2269_mk(s) { +function sprites_SpriteMap_constructor__P24580_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P2269, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P24580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18957,7 +18957,7 @@ function sprites_SpriteMap_constructor__P2269_mk(s) { -function music_Melody_constructor__P1615(s) { +function music_Melody_constructor__P23926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18973,18 +18973,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P1615.info = {"start":6327,"length":67,"line":199,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P23926.info = {"start":6327,"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__P1615_mk(s) { +function music_Melody_constructor__P23926_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P1615, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P23926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18994,7 +18994,7 @@ function music_Melody_constructor__P1615_mk(s) { -function control_pushEventContext__P409(s) { +function control_pushEventContext__P22720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19004,63 +19004,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___9956 = undefined; - s.n___9962 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4164); + s.ctx___34459 = undefined; + s.n___34465 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___26479); 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___4164 = (r0); + globals.eventContexts___26479 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P408_mk(s); - s.callLocIdx = 53; s.pc = 5; return s.tmp_0; + s.tmp_0 = control_eventContext__P22719_mk(s); + s.callLocIdx = 65; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___9956 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___9956); + s.ctx___34459 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___34459); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P402_mk(s); - s.tmp_0.arg0 = s.ctx___9956; - s.callLocIdx = 54; s.pc = 6; return s.tmp_0; + s.tmp_0 = control_EventContext_unregister__P22713_mk(s); + s.tmp_0.arg0 = s.ctx___34459; + s.callLocIdx = 66; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C395_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C22706_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P399_mk(s); + s.tmp_1 = control_EventContext_constructor__P22710_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 55; s.pc = 7; return s.tmp_1; + s.callLocIdx = 67; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___9962 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___4164, s.n___9962); - r0 = s.n___9962; + s.n___34465 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___26479, s.n___34465); + r0 = s.n___34465; return leave(s, r0) default: oops() } } } -control_pushEventContext__P409.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P22720.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P409_mk(s) { +function control_pushEventContext__P22720_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P409, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P22720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___9956: undefined, - n___9962: undefined, + ctx___34459: undefined, + n___34465: undefined, } } -function control_eventContext__P408(s) { +function control_eventContext__P22719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19070,10 +19070,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4164); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___26479); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___4164; - r0 = pxsim_Array__length(globals.eventContexts___4164); + s.tmp_0 = r0 = globals.eventContexts___26479; + r0 = pxsim_Array__length(globals.eventContexts___26479); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -19088,12 +19088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P408.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P22719.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P408_mk(s) { +function control_eventContext__P22719_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P408, depth: s.depth + 1, + parent: s, fn: control_eventContext__P22719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19105,7 +19105,7 @@ function control_eventContext__P408_mk(s) { -function control_EventContext_constructor__P399(s) { +function control_EventContext_constructor__P22710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19120,7 +19120,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -19130,26 +19130,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___397); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___22708); 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___397 = (r0); + globals.control_EventContext_lastStats___22708 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P399.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P22710.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P399_mk(s) { +function control_EventContext_constructor__P22710_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P399, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P22710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19160,7 +19160,7 @@ function control_EventContext_constructor__P399_mk(s) { -function particles_disableAll__P2911(s) { +function particles_disableAll__P25222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19170,22 +19170,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___12827 = undefined; - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1163; s.pc = 3; return s.tmp_0; + s.sources___34644 = undefined; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1439; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___12827 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___12827); + s.sources___34644 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___34644); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___12827; - s.tmp_0.arg1 = particles_disableAll_inline__P12833; - s.callLocIdx = 1165; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_0.arg0 = s.sources___34644; + s.tmp_0.arg1 = particles_disableAll_inline__P34650; + s.callLocIdx = 1441; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P4876_mk(s); - s.callLocIdx = 1166; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P27191_mk(s); + s.callLocIdx = 1442; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -19194,22 +19194,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P2911.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P25222.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__P2911_mk(s) { +function particles_disableAll__P25222_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P2911, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P25222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___12827: undefined, + sources___34644: undefined, } } -function particles_disableAll_inline__P12833(s) { +function particles_disableAll_inline__P34650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19223,22 +19223,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P2893_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P25204_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1164; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1440; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P12833.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__P34650.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__P12833_mk(s) { +function particles_disableAll_inline__P34650_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P12833, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P34650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19248,7 +19248,7 @@ function particles_disableAll_inline__P12833_mk(s) { -function particles_clearAll__P2910(s) { +function particles_clearAll__P25221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19258,22 +19258,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___12838 = undefined; - s.tmp_0 = particles_particleSources__P4880_mk(s); - s.callLocIdx = 1159; s.pc = 3; return s.tmp_0; + s.sources___34655 = undefined; + s.tmp_0 = particles_particleSources__P27195_mk(s); + s.callLocIdx = 1435; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___12838 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___12838); + s.sources___34655 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___34655); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___12838; - s.tmp_0.arg1 = particles_clearAll_inline__P12844; - s.callLocIdx = 1161; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_0.arg0 = s.sources___34655; + s.tmp_0.arg1 = particles_clearAll_inline__P34661; + s.callLocIdx = 1437; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P4876_mk(s); - s.callLocIdx = 1162; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P27191_mk(s); + s.callLocIdx = 1438; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -19282,22 +19282,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P2910.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P25221.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__P2910_mk(s) { +function particles_clearAll__P25221_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P2910, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P25221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___12838: undefined, + sources___34655: undefined, } } -function particles_clearAll_inline__P12844(s) { +function particles_clearAll_inline__P34661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19311,21 +19311,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P2895_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P25206_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1160; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1436; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P12844.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__P34661.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__P12844_mk(s) { +function particles_clearAll_inline__P34661_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P12844, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P34661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19335,7 +19335,7 @@ function particles_clearAll_inline__P12844_mk(s) { -function game_SplashDialog_setSubtext__P2715(s) { +function game_SplashDialog_setSubtext__P25026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19351,11 +19351,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2706_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C25017_VT)) failedCast(r0); r0 = (s.arg0).fields["subtext"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P4515_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P26830_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 30; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1134; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -19370,14 +19370,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 31; s.pc = 2; return s.tmp_6; } + else { s.callLocIdx = 1135; s.pc = 2; return s.tmp_6; } } case 2: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -19392,12 +19392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setSubtext__P2715.info = {"start":9147,"length":200,"line":287,"column":8,"endLine":291,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} +game_SplashDialog_setSubtext__P25026.info = {"start":9147,"length":200,"line":287,"column":8,"endLine":291,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} -function game_SplashDialog_setSubtext__P2715_mk(s) { +function game_SplashDialog_setSubtext__P25026_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setSubtext__P2715, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setSubtext__P25026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19417,7 +19417,7 @@ function game_SplashDialog_setSubtext__P2715_mk(s) { -function game_SplashDialog_updateFont__P4515(s) { +function game_SplashDialog_updateFont__P26830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19432,7 +19432,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2706_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C25017_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -19455,9 +19455,9 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = game_BaseDialog_setFont__P4512_mk(s); + s.tmp_4 = game_BaseDialog_setFont__P26827_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_5 = image_getFontForText__P1808_mk(s); + s.tmp_5 = image_getFontForText__P24119_mk(s); if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.tmp_1); @@ -19478,23 +19478,23 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); s.tmp_5.arg0 = r0; - s.callLocIdx = 26; s.pc = 6; return s.tmp_5; + s.callLocIdx = 1130; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 27; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1131; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_SplashDialog_updateFont__P4515.info = {"start":8756,"length":122,"line":275,"column":8,"endLine":277,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} +game_SplashDialog_updateFont__P26830.info = {"start":8756,"length":122,"line":275,"column":8,"endLine":277,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} -function game_SplashDialog_updateFont__P4515_mk(s) { +function game_SplashDialog_updateFont__P26830_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_updateFont__P4515, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_updateFont__P26830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19511,7 +19511,7 @@ function game_SplashDialog_updateFont__P4515_mk(s) { -function game_BaseDialog_setFont__P4512(s) { +function game_BaseDialog_setFont__P26827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19527,18 +19527,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = (s.arg0).fields["font"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setFont__P4512.info = {"start":5393,"length":77,"line":177,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} +game_BaseDialog_setFont__P26827.info = {"start":5393,"length":77,"line":177,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} -function game_BaseDialog_setFont__P4512_mk(s) { +function game_BaseDialog_setFont__P26827_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setFont__P4512, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setFont__P26827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19548,7 +19548,7 @@ function game_BaseDialog_setFont__P4512_mk(s) { -function game_SplashDialog_setText__P2714(s) { +function game_SplashDialog_setText__P25025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19564,11 +19564,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2706_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C25017_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P4515_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P26830_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 28; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1132; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["offset"] = (0); @@ -19584,14 +19584,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 29; s.pc = 2; return s.tmp_6; } + else { s.callLocIdx = 1133; s.pc = 2; return s.tmp_6; } } case 2: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -19607,12 +19607,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setText__P2714.info = {"start":8888,"length":249,"line":279,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} +game_SplashDialog_setText__P25025.info = {"start":8888,"length":249,"line":279,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} -function game_SplashDialog_setText__P2714_mk(s) { +function game_SplashDialog_setText__P25025_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setText__P2714, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setText__P25025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19632,7 +19632,7 @@ function game_SplashDialog_setText__P2714_mk(s) { -function game_SplashDialog_constructor__P2713(s) { +function game_SplashDialog_constructor__P25024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19649,19 +19649,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2706_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P2690_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C25017_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P25001_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = game_defaultSplashFrame__P4518_mk(s); - s.callLocIdx = 24; s.pc = 2; return s.tmp_1; + s.tmp_1 = game_defaultSplashFrame__P26833_mk(s); + s.callLocIdx = 1128; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg3 = r0; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; - s.callLocIdx = 25; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1129; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["maxOffset"] = (-1); @@ -19671,12 +19671,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_constructor__P2713.info = {"start":8536,"length":210,"line":268,"column":8,"endLine":273,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} +game_SplashDialog_constructor__P25024.info = {"start":8536,"length":210,"line":268,"column":8,"endLine":273,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} -function game_SplashDialog_constructor__P2713_mk(s) { +function game_SplashDialog_constructor__P25024_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_constructor__P2713, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_constructor__P25024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19689,7 +19689,7 @@ function game_SplashDialog_constructor__P2713_mk(s) { -function game_defaultSplashFrame__P4518(s) { +function game_defaultSplashFrame__P26833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19699,14 +19699,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex19050); + r0 = pxsim.image.ofBuffer(_hex31833); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex19052); + r0 = pxsim.image.ofBuffer(_hex31835); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -19714,24 +19714,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P4518.info = {"start":17077,"length":220,"line":533,"column":4,"endLine":546,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P26833.info = {"start":17077,"length":220,"line":533,"column":4,"endLine":546,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P4518_mk(s) { +function game_defaultSplashFrame__P26833_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P4518, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P26833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex19050 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex19052 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex31833 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex31835 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function game_BaseDialog_constructor__P2690(s) { +function game_BaseDialog_constructor__P25001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19751,7 +19751,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.image.create(s.arg1, s.arg2); s.tmp_1 = r0; @@ -19762,7 +19762,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___4499; + r0 = globals.dialogFrame___26814; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -19771,12 +19771,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P4517_mk(s); - s.callLocIdx = 157; s.pc = 13; return s.tmp_3; + s.tmp_3 = game_defaultFrame__P26832_mk(s); + s.callLocIdx = 1098; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___4499 = (r0); + globals.dialogFrame___26814 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -19788,7 +19788,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___1806; + r0 = globals.font8___24117; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -19799,7 +19799,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___4500; + r0 = globals.dialogCursor___26815; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -19808,26 +19808,26 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P4519_mk(s); - s.callLocIdx = 158; s.pc = 14; return s.tmp_3; + s.tmp_3 = game_defaultCursorImage__P26834_mk(s); + s.callLocIdx = 1099; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___4500 = (r0); + globals.dialogCursor___26815 = (r0); r0 = s.tmp_2; case 10: // jmp value (already in r0) s.tmp_4 = r0; r0 = (s.arg0).fields["cursor"] = (s.tmp_4); - r0 = (globals.dialogTextColor___4501 == undefined); + r0 = (globals.dialogTextColor___26816 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___4501 = (15); + globals.dialogTextColor___26816 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___4501; + r0 = globals.dialogTextColor___26816; case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -19885,26 +19885,26 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["innerTop"] = (s.tmp_1); r0 = (s.arg0).fields["cursorCount"] = (0); - s.tmp_0 = game_BaseDialog_drawBorder__P4504_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P26819_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 159; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1100; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P4506_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P26821_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 160; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1101; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_constructor__P2690.info = {"start":665,"length":895,"line":37,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P25001.info = {"start":665,"length":895,"line":37,"column":8,"endLine":59,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P2690_mk(s) { +function game_BaseDialog_constructor__P25001_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P2690, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P25001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19925,7 +19925,7 @@ function game_BaseDialog_constructor__P2690_mk(s) { -function game_defaultCursorImage__P4519(s) { +function game_defaultCursorImage__P26834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19935,14 +19935,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex19236); + r0 = pxsim.image.ofBuffer(_hex32019); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex19238); + r0 = pxsim.image.ofBuffer(_hex32021); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -19950,24 +19950,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P4519.info = {"start":17303,"length":690,"line":548,"column":4,"endLine":574,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P26834.info = {"start":17303,"length":690,"line":548,"column":4,"endLine":574,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P4519_mk(s) { +function game_defaultCursorImage__P26834_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P4519, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P26834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex19236 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex19238 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex32019 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex32021 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P4517(s) { +function game_defaultFrame__P26832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19977,14 +19977,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex19242); + r0 = pxsim.image.ofBuffer(_hex32025); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex19244); + r0 = pxsim.image.ofBuffer(_hex32027); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -19992,24 +19992,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P4517.info = {"start":16515,"length":556,"line":509,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P26832.info = {"start":16515,"length":556,"line":509,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P4517_mk(s) { +function game_defaultFrame__P26832_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P4517, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P26832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex19242 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex19244 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex32025 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex32027 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_clearInterior__P4506(s) { +function game_BaseDialog_clearInterior__P26821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20019,21 +20019,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___18910 = undefined; - s.s___18917 = undefined; + s.d___31530 = undefined; + s.s___31537 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 4; s.tmp_2.arg2 = 1; @@ -20046,15 +20046,15 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 - 2); s.tmp_2.arg5 = r0; - s.callLocIdx = 183; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1124; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 7; continue; } case 1: case 2: - s.d___18910 = (1); + s.d___31530 = (1); case 3: - s.tmp_1 = r0 = s.d___18910; + s.tmp_1 = r0 = s.d___31530; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -20063,9 +20063,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.s___18917 = (1); + s.s___31537 = (1); case 4: - s.tmp_1 = r0 = s.s___18917; + s.tmp_1 = r0 = s.s___31537; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -20074,20 +20074,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___18910; - s.tmp_4.arg3 = s.s___18917; - s.callLocIdx = 184; s.pc = 9; return s.tmp_4; + s.tmp_4.arg2 = s.d___31530; + s.tmp_4.arg3 = s.s___31537; + s.callLocIdx = 1125; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; - r0 = (s.s___18917 + 1); - s.s___18917 = (r0); + r0 = (s.s___31537 + 1); + s.s___31537 = (r0); { step = 4; continue; } case 5: - r0 = (s.d___18910 + 1); - s.d___18910 = (r0); + r0 = (s.d___31530 + 1); + s.d___31530 = (r0); { step = 3; continue; } case 6: case 7: @@ -20095,20 +20095,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P4506.info = {"start":3942,"length":342,"line":133,"column":8,"endLine":142,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P26821.info = {"start":3942,"length":342,"line":133,"column":8,"endLine":142,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P4506_mk(s) { +function game_BaseDialog_clearInterior__P26821_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P4506, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P26821, 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, - d___18910: undefined, - s___18917: undefined, + d___31530: undefined, + s___31537: undefined, arg0: undefined, } } @@ -20116,7 +20116,7 @@ function game_BaseDialog_clearInterior__P4506_mk(s) { -function game_BaseDialog_drawPartial__P4507(s) { +function game_BaseDialog_drawPartial__P26822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20126,12 +20126,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___18935 = undefined; - s.y0___18943 = undefined; - s.xf___18951 = undefined; - s.yf___18958 = undefined; - s.e___18965 = undefined; - s.t___18971 = undefined; + s.x0___31555 = undefined; + s.y0___31563 = undefined; + s.xf___31571 = undefined; + s.yf___31578 = undefined; + s.e___31585 = undefined; + s.t___31591 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20140,7 +20140,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -20148,7 +20148,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___18935 = (r0); + s.x0___31555 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -20156,68 +20156,68 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___18943 = (r0); + s.y0___31563 = (r0); r0 = (s.arg1 % 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.xf___18951 = (r0); + s.xf___31571 = (r0); r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.yf___18958 = (r0); - s.e___18965 = (0); + s.yf___31578 = (r0); + s.e___31585 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___18965 < s.tmp_1); + r0 = (s.e___31585 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___18971 = (0); + s.t___31591 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___18971 < s.tmp_1); + r0 = (s.t___31591 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["image"]; s.tmp_2 = r0; - r0 = (s.x0___18935 + s.e___18965); + r0 = (s.x0___31555 + s.e___31585); s.tmp_3 = r0; - r0 = (s.y0___18943 + s.t___18971); + r0 = (s.y0___31563 + s.t___31591); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___18951 + s.e___18965); + r0 = (s.xf___31571 + s.e___31585); s.tmp_7 = r0; - r0 = (s.yf___18958 + s.t___18971); + r0 = (s.yf___31578 + s.t___31591); s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.tmp_7, s.tmp_8); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.t___18971 + 1); - s.t___18971 = (r0); + r0 = (s.t___31591 + 1); + s.t___31591 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___18965 + 1); - s.e___18965 = (r0); + r0 = (s.e___31585 + 1); + s.e___31585 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P4507.info = {"start":4294,"length":604,"line":144,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P26822.info = {"start":4294,"length":604,"line":144,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P4507_mk(s) { +function game_BaseDialog_drawPartial__P26822_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P4507, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P26822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20228,12 +20228,12 @@ function game_BaseDialog_drawPartial__P4507_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___18935: undefined, - y0___18943: undefined, - xf___18951: undefined, - yf___18958: undefined, - e___18965: undefined, - t___18971: undefined, + x0___31555: undefined, + y0___31563: undefined, + xf___31571: undefined, + yf___31578: undefined, + e___31585: undefined, + t___31591: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20244,7 +20244,7 @@ function game_BaseDialog_drawPartial__P4507_mk(s) { -function game_BaseDialog_fastFill__P4505(s) { +function game_BaseDialog_fastFill__P26820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20254,7 +20254,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.color___19007 = undefined; + s.color___31627 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20265,7 +20265,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["frame"]; s.tmp_0 = r0; r0 = (s.arg1 % 3); @@ -20273,8 +20273,8 @@ switch (step) { r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_2 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_2); - s.color___19007 = (r0); - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); + s.color___31627 = (r0); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["innerLeft"]; @@ -20287,25 +20287,25 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; s.tmp_0.arg4 = s.arg5; - s.tmp_0.arg5 = s.color___19007; - s.callLocIdx = 182; s.pc = 1; return s.tmp_0; + s.tmp_0.arg5 = s.color___31627; + s.callLocIdx = 1123; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_fastFill__P4505.info = {"start":3683,"length":249,"line":128,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} +game_BaseDialog_fastFill__P26820.info = {"start":3683,"length":249,"line":128,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} -function game_BaseDialog_fastFill__P4505_mk(s) { +function game_BaseDialog_fastFill__P26820_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_fastFill__P4505, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_fastFill__P26820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - color___19007: undefined, + color___31627: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20318,7 +20318,7 @@ function game_BaseDialog_fastFill__P4505_mk(s) { -function game_BaseDialog_drawBorder__P4504(s) { +function game_BaseDialog_drawBorder__P26819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20328,32 +20328,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.y___19167 = undefined; - s.c___19183 = undefined; - s.r___19217 = undefined; + s.y___31950 = undefined; + s.c___31966 = undefined; + s.r___32000 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; s.tmp_2.arg3 = 0; s.tmp_2.arg4 = 1; s.tmp_2.arg5 = 1; - s.callLocIdx = 166; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1107; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -20363,10 +20363,10 @@ switch (step) { r0 = (s.tmp_1 - 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 167; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1108; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; r0 = s.arg0.fields["columns"]; @@ -20376,10 +20376,10 @@ switch (step) { s.tmp_0.arg3 = 0; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 168; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1109; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -20389,10 +20389,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg5 = r0; - s.callLocIdx = 169; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1110; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; @@ -20405,73 +20405,73 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - 2); s.tmp_0.arg5 = r0; - s.callLocIdx = 170; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1111; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = s.arg0.fields["rows"]; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.y___19167 = (r0); - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.y___31950 = (r0); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.y___19167; + s.tmp_0.arg3 = s.y___31950; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 171; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1112; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = s.y___19167; + s.tmp_0.arg3 = s.y___31950; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 172; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1113; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4505_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P26820_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.y___19167; + s.tmp_0.arg3 = s.y___31950; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 173; s.pc = 19; return s.tmp_0; + s.callLocIdx = 1114; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; { step = 11; continue; } case 1: case 2: - s.c___19183 = (0); + s.c___31966 = (0); case 3: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___19183 < s.tmp_1); + r0 = (s.c___31966 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.c___19183 == 0); + r0 = (s.c___31966 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; s.tmp_3.arg3 = 0; - s.callLocIdx = 174; s.pc = 20; return s.tmp_3; + s.callLocIdx = 1115; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -20479,12 +20479,12 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 175; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1116; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.c___19183; + s.tmp_1 = r0 = s.c___31966; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -20493,55 +20493,55 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___19183; + s.tmp_4.arg2 = s.c___31966; s.tmp_4.arg3 = 0; - s.callLocIdx = 176; s.pc = 22; return s.tmp_4; + s.callLocIdx = 1117; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___19183; + s.tmp_0.arg2 = s.c___31966; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 177; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1118; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___19183; + s.tmp_0.arg2 = s.c___31966; s.tmp_0.arg3 = 0; - s.callLocIdx = 178; s.pc = 24; return s.tmp_0; + s.callLocIdx = 1119; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___19183; + s.tmp_0.arg2 = s.c___31966; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 179; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1120; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 6: case 7: - r0 = (s.c___19183 + 1); - s.c___19183 = (r0); + r0 = (s.c___31966 + 1); + s.c___31966 = (r0); { step = 3; continue; } case 8: - s.r___19217 = (1); + s.r___32000 = (1); case 9: - s.tmp_1 = r0 = s.r___19217; + s.tmp_1 = r0 = s.r___32000; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -20550,27 +20550,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___19217; - s.callLocIdx = 180; s.pc = 26; return s.tmp_4; + s.tmp_4.arg3 = s.r___32000; + s.callLocIdx = 1121; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4507_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P26822_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.r___19217; - s.callLocIdx = 181; s.pc = 27; return s.tmp_0; + s.tmp_0.arg3 = s.r___32000; + s.callLocIdx = 1122; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.r___19217 + 1); - s.r___19217 = (r0); + r0 = (s.r___32000 + 1); + s.r___32000 = (r0); { step = 9; continue; } case 10: case 11: @@ -20578,21 +20578,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P4504.info = {"start":2352,"length":1321,"line":90,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P26819.info = {"start":2352,"length":1321,"line":90,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P4504_mk(s) { +function game_BaseDialog_drawBorder__P26819_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P4504, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P26819, 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, - y___19167: undefined, - c___19183: undefined, - r___19217: undefined, + y___31950: undefined, + c___31966: undefined, + r___32000: undefined, arg0: undefined, } } @@ -20600,7 +20600,7 @@ function game_BaseDialog_drawBorder__P4504_mk(s) { -function game_BaseDialog_update__P2691(s) { +function game_BaseDialog_update__P25002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20615,34 +20615,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P4506_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P26821_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 161; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1102; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C2678_v1_1_mk(s); + s.tmp_0 = game_BaseDialog__C24989_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2678_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C24989_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawCursorRow__P2694_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P25005_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 162; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1103; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P2691.info = {"start":1570,"length":121,"line":61,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P25002.info = {"start":1570,"length":121,"line":61,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P2691_mk(s) { +function game_BaseDialog_update__P25002_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P2691, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P25002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20652,7 +20652,7 @@ function game_BaseDialog_update__P2691_mk(s) { -function game_BaseDialog_drawCursorRow__P2694(s) { +function game_BaseDialog_drawCursorRow__P25005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20662,21 +20662,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.offset___18756 = undefined; + s.offset___31435 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); - s.offset___18756 = (0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); + s.offset___31435 = (0); r0 = s.arg0.fields["cursorCount"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 20); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offset___18756 = (1); + s.offset___31435 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -20693,9 +20693,9 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P4510_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P26825_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 163; s.pc = 3; return s.tmp_8; + s.callLocIdx = 1104; s.pc = 3; return s.tmp_8; case 3: r0 = s.retval; s.tmp_7 = r0; @@ -20705,7 +20705,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___18756); + r0 = (s.tmp_4 + s.offset___31435); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -20719,9 +20719,9 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P4511_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P26826_mk(s); s.tmp_19.arg0 = s.arg0; - s.callLocIdx = 164; s.pc = 4; return s.tmp_19; + s.callLocIdx = 1105; s.pc = 4; return s.tmp_19; case 4: r0 = s.retval; s.tmp_18 = r0; @@ -20742,12 +20742,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P2694.info = {"start":1863,"length":479,"line":75,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P25005.info = {"start":1863,"length":479,"line":75,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P2694_mk(s) { +function game_BaseDialog_drawCursorRow__P25005_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P2694, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P25005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20772,7 +20772,7 @@ function game_BaseDialog_drawCursorRow__P2694_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___18756: undefined, + offset___31435: undefined, arg0: undefined, } } @@ -20780,7 +20780,7 @@ function game_BaseDialog_drawCursorRow__P2694_mk(s) { -function game_BaseDialog_textAreaHeight__P4511(s) { +function game_BaseDialog_textAreaHeight__P26826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20795,18 +20795,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerTop"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P131_mk(s); + s.tmp_7 = Math_min__P22442_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; - s.callLocIdx = 186; s.pc = 1; return s.tmp_7; + s.callLocIdx = 1127; s.pc = 1; return s.tmp_7; case 1: r0 = s.retval; s.tmp_6 = r0; @@ -20820,12 +20820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P4511.info = {"start":5240,"length":143,"line":173,"column":8,"endLine":175,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P26826.info = {"start":5240,"length":143,"line":173,"column":8,"endLine":175,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P4511_mk(s) { +function game_BaseDialog_textAreaHeight__P26826_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P4511, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P26826, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20842,7 +20842,7 @@ function game_BaseDialog_textAreaHeight__P4511_mk(s) { -function game_BaseDialog_textAreaWidth__P4510(s) { +function game_BaseDialog_textAreaWidth__P26825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20857,18 +20857,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P131_mk(s); + s.tmp_7 = Math_min__P22442_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; - s.callLocIdx = 185; s.pc = 1; return s.tmp_7; + s.callLocIdx = 1126; s.pc = 1; return s.tmp_7; case 1: r0 = s.retval; s.tmp_6 = r0; @@ -20882,12 +20882,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P4510.info = {"start":5088,"length":142,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P26825.info = {"start":5088,"length":142,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P4510_mk(s) { +function game_BaseDialog_textAreaWidth__P26825_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P4510, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P26825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20904,7 +20904,7 @@ function game_BaseDialog_textAreaWidth__P4510_mk(s) { -function game_BaseDialog_cursorRowHeight__P4508(s) { +function game_BaseDialog_cursorRowHeight__P26823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20919,7 +20919,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -20928,12 +20928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P4508.info = {"start":4908,"length":82,"line":161,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P26823.info = {"start":4908,"length":82,"line":161,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P4508_mk(s) { +function game_BaseDialog_cursorRowHeight__P26823_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P4508, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P26823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20944,7 +20944,7 @@ function game_BaseDialog_cursorRowHeight__P4508_mk(s) { -function game_BaseDialog_drawTextCore__P2693(s) { +function game_BaseDialog_drawTextCore__P25004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20959,17 +20959,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P2693.info = {"start":1788,"length":65,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P25004.info = {"start":1788,"length":65,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P2693_mk(s) { +function game_BaseDialog_drawTextCore__P25004_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P2693, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P25004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20978,7 +20978,7 @@ function game_BaseDialog_drawTextCore__P2693_mk(s) { -function scene_setBackgroundImage__P2660(s) { +function scene_setBackgroundImage__P24971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20988,36 +20988,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17690 = undefined; + s.scene___31400 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 23; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1090; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___17690 = (r0); - s.tmp_0 = scene_Background_image__P2454_mk(s); - r0 = s.scene___17690.fields["background"]; + s.scene___31400 = (r0); + s.tmp_0 = scene_Background_image__P24765_mk(s); + r0 = s.scene___31400.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 24; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1091; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P2660.info = {"start":1962,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P24971.info = {"start":1962,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function scene_setBackgroundImage__P2660_mk(s) { +function scene_setBackgroundImage__P24971_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P2660, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P24971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___17690: undefined, + scene___31400: undefined, arg0: undefined, } } @@ -21025,7 +21025,7 @@ function scene_setBackgroundImage__P2660_mk(s) { -function scene_Background_image__P2454(s) { +function scene_Background_image__P24765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21041,18 +21041,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2447_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C24758_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P2454.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P24765.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P2454_mk(s) { +function scene_Background_image__P24765_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P2454, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P24765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21062,7 +21062,7 @@ function scene_Background_image__P2454_mk(s) { -function scene_Background_image__P2453(s) { +function scene_Background_image__P24764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21077,7 +21077,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2447_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C24758_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -21087,9 +21087,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -21100,13 +21100,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P2453.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -scene_Background_image__P2453.isGetter = true; +scene_Background_image__P24764.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} +scene_Background_image__P24764.isGetter = true; -function scene_Background_image__P2453_mk(s) { +function scene_Background_image__P24764_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P2453, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P24764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21122,7 +21122,7 @@ function scene_Background_image__P2453_mk(s) { -function controller__setUserEventsEnabled__P2030(s) { +function controller__setUserEventsEnabled__P24341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21136,17 +21136,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___4343 = (s.arg0); + globals._userEventsEnabled___26658 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P2030.info = {"start":10070,"length":101,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P24341.info = {"start":10070,"length":101,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P2030_mk(s) { +function controller__setUserEventsEnabled__P24341_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P2030, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P24341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21155,7 +21155,7 @@ function controller__setUserEventsEnabled__P2030_mk(s) { -function controller_Button_isPressed__P2024(s) { +function controller_Button_isPressed__P24335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21170,17 +21170,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P2024.info = {"start":6303,"length":57,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P24335.info = {"start":6303,"length":57,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P2024_mk(s) { +function controller_Button_isPressed__P24335_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P2024, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P24335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21189,7 +21189,7 @@ function controller_Button_isPressed__P2024_mk(s) { -function console_inspect__P382(s) { +function console_inspect__P22693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21199,10 +21199,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___12138 = undefined; - s.asString___12156 = undefined; - s.keys___12168 = undefined; - s.snipped___12172 = undefined; + s.asArr___34686 = undefined; + s.asString___34704 = undefined; + s.keys___34716 = undefined; + s.snipped___34720 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21243,17 +21243,17 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___12138 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___12138); + s.asArr___34686 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___34686); s.tmp_1 = r0; r0 = (s.tmp_1 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayJoin__P103_mk(s); - s.tmp_2.arg0 = s.asArr___12138; + s.tmp_2 = helpers_arrayJoin__P22414_mk(s); + s.tmp_2.arg0 = s.asArr___34686; s.tmp_2.arg1 = ","; - s.callLocIdx = 34; s.pc = 19; return s.tmp_2; + s.callLocIdx = 39; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; { step = 17; continue; } @@ -21261,17 +21261,17 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P103_mk(s); - s.tmp_8 = helpers_arraySlice__P115_mk(s); - s.tmp_8.arg0 = s.asArr___12138; + s.tmp_7 = helpers_arrayJoin__P22414_mk(s); + s.tmp_8 = helpers_arraySlice__P22426_mk(s); + s.tmp_8.arg0 = s.asArr___34686; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; - s.callLocIdx = 35; s.pc = 21; return s.tmp_8; + s.callLocIdx = 40; s.pc = 21; return s.tmp_8; case 21: r0 = s.retval; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = ","; - s.callLocIdx = 36; s.pc = 20; return s.tmp_7; + s.callLocIdx = 41; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; s.tmp_6 = r0; @@ -21303,46 +21303,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___12156 = (r0); - r0 = (s.asString___12156 != "[object Object]"); + s.asString___34704 = (r0); + r0 = (s.asString___34704 != "[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___12156 != "[Object]"); + r0 = (s.asString___34704 != "[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___12156; + r0 = s.asString___34704; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___12168 = (r0); - r0 = pxsim_Array__length(s.keys___12168); + s.keys___34716 = (r0); + r0 = pxsim_Array__length(s.keys___34716); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___12172 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___12172); + s.snipped___34720 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___34720); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = s.keys___12168; + s.tmp_0 = helpers_arraySlice__P22426_mk(s); + s.tmp_0.arg0 = s.keys___34716; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 37; s.pc = 24; return s.tmp_0; + s.callLocIdx = 42; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___12168 = (r0); + s.keys___34716 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P12189); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P34737); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___12172); + r0 = pxsim_numops_toBoolDecr(s.snipped___34720); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -21351,12 +21351,12 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P112_mk(s); - s.tmp_7.arg0 = s.keys___12168; + s.tmp_7 = helpers_arrayReduce__P22423_mk(s); + s.tmp_7.arg0 = s.keys___34716; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; - s.callLocIdx = 38; s.pc = 25; return s.tmp_7; + s.callLocIdx = 43; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; @@ -21401,12 +21401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P382.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__P22693.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__P382_mk(s) { +function console_inspect__P22693_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P382, depth: s.depth + 1, + parent: s, fn: console_inspect__P22693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21419,10 +21419,10 @@ function console_inspect__P382_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___12138: undefined, - asString___12156: undefined, - keys___12168: undefined, - snipped___12172: undefined, + asArr___34686: undefined, + asString___34704: undefined, + keys___34716: undefined, + snipped___34720: undefined, arg0: undefined, arg1: undefined, } } @@ -21431,7 +21431,7 @@ function console_inspect__P382_mk(s) { -function console_inspect_inline__P12189(s) { +function console_inspect_inline__P34737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21494,12 +21494,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P12189.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__P34737.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__P12189_mk(s) { +function console_inspect_inline__P34737_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P12189, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P34737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21517,7 +21517,7 @@ function console_inspect_inline__P12189_mk(s) { -function helpers_arrayReduce__P112(s) { +function helpers_arrayReduce__P22423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21527,8 +21527,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12216 = undefined; - s.i___12219 = undefined; + s.len___34764 = undefined; + s.i___34767 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21536,43 +21536,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___12216 = (r0); - s.i___12219 = (0); + s.len___34764 = (r0); + s.i___34767 = (0); case 1: - r0 = (s.i___12219 < s.len___12216); + r0 = (s.i___34767 < s.len___34764); 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___12219); + r0 = pxsim_Array__getAt(s.arg0, s.i___34767); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___12219; + s.tmp_1.arg2 = s.i___34767; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 7; s.pc = 3; return s.tmp_1; + s.callLocIdx = 9; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___12219 + 1); - s.i___12219 = (r0); + r0 = (s.i___34767 + 1); + s.i___34767 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayReduce__P22423.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__P112_mk(s) { +function helpers_arrayReduce__P22423_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P112, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P22423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___12216: undefined, - i___12219: undefined, + len___34764: undefined, + i___34767: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21582,7 +21582,7 @@ function helpers_arrayReduce__P112_mk(s) { -function helpers_arrayJoin__P103(s) { +function helpers_arrayJoin__P22414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21592,9 +21592,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___12244 = undefined; - s.len___12245 = undefined; - s.i___12248 = undefined; + s.r___34792 = undefined; + s.len___34793 = undefined; + s.i___34796 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21617,16 +21617,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___12244 = (r0); + s.r___34792 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___12245 = (r0); - s.i___12248 = (0); + s.len___34793 = (r0); + s.i___34796 = (0); case 5: - r0 = (s.i___12248 < s.len___12245); + r0 = (s.i___34796 < s.len___34793); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___12248 > 0); + r0 = (s.i___34796 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -21639,12 +21639,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___12244) && (s.r___12244).vtable) { + if ((s.r___34792) && (s.r___34792).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___12244); + pxsim_String__stringConv(s.r___34792); checkResumeConsumed(); return; - } else { s.retval = (s.r___12244) + ""; } + } else { s.retval = (s.r___34792) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -21658,10 +21658,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___12244 = (r0); + s.r___34792 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___12248); + r0 = pxsim_Array__getAt(s.arg0, s.i___34796); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -21670,7 +21670,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___12248); + r0 = pxsim_Array__getAt(s.arg0, s.i___34796); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -21681,16 +21681,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___12248); + r0 = pxsim_Array__getAt(s.arg0, s.i___34796); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___12244) && (s.r___12244).vtable) { + if ((s.r___34792) && (s.r___34792).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___12244); + pxsim_String__stringConv(s.r___34792); checkResumeConsumed(); return; - } else { s.retval = (s.r___12244) + ""; } + } else { s.retval = (s.r___34792) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -21704,21 +21704,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___12244 = (r0); - r0 = (s.i___12248 + 1); - s.i___12248 = (r0); + s.r___34792 = (r0); + r0 = (s.i___34796 + 1); + s.i___34796 = (r0); { step = 5; continue; } case 14: - r0 = s.r___12244; + r0 = s.r___34792; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayJoin__P22414.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__P103_mk(s) { +function helpers_arrayJoin__P22414_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P103, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P22414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21727,9 +21727,9 @@ function helpers_arrayJoin__P103_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___12244: undefined, - len___12245: undefined, - i___12248: undefined, + r___34792: undefined, + len___34793: undefined, + i___34796: undefined, arg0: undefined, arg1: undefined, } } @@ -21738,7 +21738,7 @@ function helpers_arrayJoin__P103_mk(s) { -function pauseUntil__P367(s) { +function pauseUntil__P22678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21765,7 +21765,7 @@ switch (step) { s.tmp_2 = lambda_1_mk(s); s.tmp_2.argL = s.arg0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 29; s.pc = 8; return s.tmp_2; + s.callLocIdx = 34; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; case 2: @@ -21785,11 +21785,11 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P366_mk(s); + s.tmp_0 = control___queuePollEvent__P22677_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; - s.callLocIdx = 30; s.pc = 9; return s.tmp_0; + s.callLocIdx = 35; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 7: @@ -21797,12 +21797,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P367.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__P22678.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__P367_mk(s) { +function pauseUntil__P22678_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P367, depth: s.depth + 1, + parent: s, fn: pauseUntil__P22678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21818,7 +21818,7 @@ function pauseUntil__P367_mk(s) { -function control___queuePollEvent__P366(s) { +function control___queuePollEvent__P22677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21828,16 +21828,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___7572 = undefined; + s.ev___30768 = 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__C4135_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C26450_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P4136_mk(s); + s.tmp_1 = control_PollEvent_constructor__P26451_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -21850,11 +21850,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1.arg6 = r0; - s.callLocIdx = 27; s.pc = 5; return s.tmp_1; + s.callLocIdx = 32; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___7572 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4138); + s.ev___30768 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___26453); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -21862,30 +21862,30 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___7572); - globals._pollEventQueue___4138 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P4139); + r0 = pxsim_Array__push(s.tmp_2, s.ev___30768); + globals._pollEventQueue___26453 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P26454); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___4138, s.ev___7572); + r0 = pxsim_Array__push(globals._pollEventQueue___26453, s.ev___30768); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P391_mk(s); - r0 = s.ev___7572.fields["eid"]; + s.tmp_0 = control_onEvent__P22702_mk(s); + r0 = s.ev___30768.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___7572.fields["vid"]; + r0 = s.ev___30768.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; - s.callLocIdx = 28; s.pc = 6; return s.tmp_0; + s.callLocIdx = 33; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___7572.fields["eid"]; + r0 = s.ev___30768.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___7572.fields["vid"]; + r0 = s.ev___30768.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -21898,17 +21898,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P366.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__P22677.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__P366_mk(s) { +function control___queuePollEvent__P22677_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P366, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P22677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___7572: undefined, + ev___30768: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21918,7 +21918,7 @@ function control___queuePollEvent__P366_mk(s) { -function control_pollEvents__P4139(s) { +function control_pollEvents__P26454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21928,39 +21928,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___7699 = undefined; - s.i___7702 = undefined; - s.ev___7708 = undefined; + s.now___30895 = undefined; + s.i___30898 = undefined; + s.ev___30904 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___4138); + r0 = pxsim_Array__length(globals._pollEventQueue___26453); 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___7699 = (r0); - s.i___7702 = (0); + s.now___30895 = (r0); + s.i___30898 = (0); case 2: - s.tmp_1 = r0 = s.i___7702; - r0 = pxsim_Array__length(globals._pollEventQueue___4138); + s.tmp_1 = r0 = s.i___30898; + r0 = pxsim_Array__length(globals._pollEventQueue___26453); 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___4138, s.i___7702); - s.ev___7708 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___26453, s.i___30898); + s.ev___30904 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___7708; + s.tmp_1.arg0 = s.ev___30904; 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; + s.callLocIdx = 29; s.pc = 13; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["condition"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 24; s.pc = 13; return s.tmp_1;; } - else { s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 29; s.pc = 13; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 29; s.pc = 13; return s.tmp_1;; } + else { s.callLocIdx = 29; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -21970,7 +21970,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___7708.fields["timeOut"]; + r0 = s.ev___30904.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -21979,11 +21979,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___7708.fields["start"]; + r0 = s.ev___30904.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___7699 - s.tmp_5); + r0 = (s.now___30895 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___7708.fields["timeOut"]; + r0 = s.ev___30904.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -21995,50 +21995,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___7708.fields["eid"]; + r0 = s.ev___30904.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___7708.fields["vid"]; + r0 = s.ev___30904.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___7708.fields["once"]; + r0 = s.ev___30904.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P100_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___4138; - s.tmp_1.arg1 = s.i___7702; + s.tmp_1 = helpers_arraySplice__P22411_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___26453; + s.tmp_1.arg1 = s.i___30898; s.tmp_1.arg2 = 1; - s.callLocIdx = 25; s.pc = 14; return s.tmp_1; + s.callLocIdx = 30; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___7702 - 1); - s.i___7702 = (r0); + r0 = (s.i___30898 - 1); + s.i___30898 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___7702 + 1); - s.i___7702 = (r0); + r0 = (s.i___30898 + 1); + s.i___30898 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P22724_mk(s); s.tmp_0.arg0 = 50; - s.callLocIdx = 26; s.pc = 15; return s.tmp_0; + s.callLocIdx = 31; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___4138 = (undefined); + globals._pollEventQueue___26453 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P4139.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P26454.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__P4139_mk(s) { +function control_pollEvents__P26454_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P4139, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P26454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22051,16 +22051,16 @@ function control_pollEvents__P4139_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___7699: undefined, - i___7702: undefined, - ev___7708: undefined, + now___30895: undefined, + i___30898: undefined, + ev___30904: undefined, } } -function control_PollEvent_constructor__P4136(s) { +function control_PollEvent_constructor__P26451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22081,7 +22081,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C4135_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C26450_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -22092,12 +22092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P4136.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__P26451.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__P4136_mk(s) { +function control_PollEvent_constructor__P26451_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P4136, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P26451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22112,7 +22112,7 @@ function control_PollEvent_constructor__P4136_mk(s) { -function control_onEvent__P391(s) { +function control_onEvent__P22702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22122,7 +22122,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___7615 = undefined; + s.ctx___30811 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22130,12 +22130,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P408_mk(s); - s.callLocIdx = 39; s.pc = 3; return s.tmp_0; + s.tmp_0 = control_eventContext__P22719_mk(s); + s.callLocIdx = 51; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___7615 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___7615); + s.ctx___30811 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___30811); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22144,13 +22144,13 @@ 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__P405_mk(s); - s.tmp_0.arg0 = s.ctx___7615; + s.tmp_0 = control_EventContext_registerHandler__P22716_mk(s); + s.tmp_0.arg0 = s.ctx___30811; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; - s.callLocIdx = 40; s.pc = 4; return s.tmp_0; + s.callLocIdx = 52; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -22158,16 +22158,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P391.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__P22702.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__P391_mk(s) { +function control_onEvent__P22702_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P391, depth: s.depth + 1, + parent: s, fn: control_onEvent__P22702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___7615: undefined, + ctx___30811: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22178,7 +22178,7 @@ function control_onEvent__P391_mk(s) { -function control_EventContext_registerHandler__P405(s) { +function control_EventContext_registerHandler__P22716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22188,10 +22188,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___7638 = undefined; - s.unnamed60___U1 = undefined; - s.unnamed61___U2 = undefined; - s.hn___7661 = undefined; + s.h___30834 = undefined; + s.unnamed170___U1 = undefined; + s.unnamed171___U2 = undefined; + s.hn___30857 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22201,20 +22201,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___7638 = (undefined); + if (!checkSubtype(r0, control_EventContext__C22706_VT)) failedCast(r0); + s.h___30834 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed60___U1 = (r0); - s.unnamed61___U2 = (0); + s.unnamed170___U1 = (r0); + s.unnamed171___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed61___U2; - r0 = pxsim_Array__length(s.unnamed60___U1); + s.tmp_0 = r0 = s.unnamed171___U2; + r0 = pxsim_Array__length(s.unnamed170___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed60___U1, s.unnamed61___U2); - s.h___7638 = (r0); - r0 = s.h___7638.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed170___U1, s.unnamed171___U2); + s.h___30834 = (r0); + r0 = s.h___30834.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -22223,7 +22223,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___7638.fields["value"]; + r0 = s.h___30834.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -22231,34 +22231,34 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___7638).fields["flags"] = (s.arg4); - r0 = (s.h___7638).fields["handler"] = (s.arg3); + r0 = (s.h___30834).fields["flags"] = (s.arg4); + r0 = (s.h___30834).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed61___U2 + 1); - s.unnamed61___U2 = (r0); + r0 = (s.unnamed171___U2 + 1); + s.unnamed171___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed60___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C4156_VT); + s.unnamed170___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C26471_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P4159_mk(s); + s.tmp_1 = control_EventHandler_constructor__P26474_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; s.tmp_1.arg4 = s.arg4; - s.callLocIdx = 51; s.pc = 8; return s.tmp_1; + s.callLocIdx = 63; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___7661 = (s.tmp_0); + s.hn___30857 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___7661); - s.tmp_0 = control_EventHandler_register__P4157_mk(s); - s.tmp_0.arg0 = s.hn___7661; - s.callLocIdx = 52; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.tmp_0, s.hn___30857); + s.tmp_0 = control_EventHandler_register__P26472_mk(s); + s.tmp_0.arg0 = s.hn___30857; + s.callLocIdx = 64; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 7: @@ -22266,12 +22266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P405.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P22716.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P405_mk(s) { +function control_EventContext_registerHandler__P22716_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P405, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P22716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22279,10 +22279,10 @@ function control_EventContext_registerHandler__P405_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___7638: undefined, - unnamed60___U1: undefined, - unnamed61___U2: undefined, - hn___7661: undefined, + h___30834: undefined, + unnamed170___U1: undefined, + unnamed171___U2: undefined, + hn___30857: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22294,7 +22294,7 @@ function control_EventContext_registerHandler__P405_mk(s) { -function control_EventHandler_constructor__P4159(s) { +function control_EventHandler_constructor__P26474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22313,7 +22313,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4156_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C26471_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -22322,12 +22322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P4159.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__P26474.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__P4159_mk(s) { +function control_EventHandler_constructor__P26474_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P4159, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P26474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22340,7 +22340,7 @@ function control_EventHandler_constructor__P4159_mk(s) { -function game_over__P2743(s) { +function game_over__P25054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22350,32 +22350,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scoreInfo___18676 = undefined; - s.highScore___18680 = undefined; - s.overDialog___18709 = undefined; + s.scoreInfo___34850 = undefined; + s.highScore___34854 = undefined; + s.overDialog___34883 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P4539_mk(s); + s.tmp_0 = game_init__P26854_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 197; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1188; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__isOver___4538); + r0 = pxsim_numops_toBoolDecr(globals.__isOver___26853); if (!r0) { step = 1; continue; } { step = 17; continue; } case 1: case 2: - globals.__isOver___4538 = (true); - r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___4536); + globals.__isOver___26853 = (true); + r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___26851); if (!r0) { step = 3; continue; } s.tmp_0 = lambda_2_mk(s); - s.tmp_0.argL = globals.__gameOverHandler___4536; + s.tmp_0.argL = globals.__gameOverHandler___26851; s.tmp_0.arg0 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 198; s.pc = 19; return s.tmp_0; + s.callLocIdx = 1189; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; { step = 16; continue; } @@ -22388,91 +22388,91 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 4; continue; } - r0 = globals.winEffect___2731; + r0 = globals.winEffect___25042; { step = 5; continue; } case 4: - r0 = globals.loseEffect___2732; + r0 = globals.loseEffect___25043; case 5: // jmp value (already in r0) s.tmp_2 = r0; s.arg1 = (s.tmp_2); case 6: case 7: - s.tmp_0 = info_saveAllScores__P2381_mk(s); - s.callLocIdx = 199; s.pc = 20; return s.tmp_0; + s.tmp_0 = info_saveAllScores__P24692_mk(s); + s.callLocIdx = 1190; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); - s.tmp_0.arg0 = globals.player1___2439; - s.callLocIdx = 200; s.pc = 21; return s.tmp_0; + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); + s.tmp_0.arg0 = globals.player1___24750; + s.callLocIdx = 1191; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.scoreInfo___18676 = (r0); - s.tmp_0 = info_highScore__P2385_mk(s); - s.callLocIdx = 201; s.pc = 22; return s.tmp_0; + s.scoreInfo___34850 = (r0); + s.tmp_0 = info_highScore__P24696_mk(s); + s.callLocIdx = 1192; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.highScore___18680 = (r0); - r0 = s.scoreInfo___18676.fields["score"]; + s.highScore___34854 = (r0); + r0 = s.scoreInfo___34850.fields["score"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.highScore___18680); + r0 = (s.tmp_1 > s.highScore___34854); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_2 = info_saveHighScore__P2382_mk(s); - s.callLocIdx = 202; s.pc = 23; return s.tmp_2; + s.tmp_2 = info_saveHighScore__P24693_mk(s); + s.callLocIdx = 1193; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; case 8: case 9: case 10: - s.tmp_0 = r0 = globals._sceneStack___4532; + s.tmp_0 = r0 = globals._sceneStack___26847; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_Array__length(globals._sceneStack___4532); + r0 = pxsim_Array__length(globals._sceneStack___26847); case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = scene_Scene_destroy__P2646_mk(s); - s.tmp_2.arg0 = globals._scene___4531; - s.callLocIdx = 203; s.pc = 24; return s.tmp_2; + s.tmp_2 = scene_Scene_destroy__P24957_mk(s); + s.tmp_2.arg0 = globals._scene___26846; + s.callLocIdx = 1194; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.tmp_0 = game_popScene__P2738_mk(s); - s.callLocIdx = 204; s.pc = 25; return s.tmp_0; + s.tmp_0 = game_popScene__P25049_mk(s); + s.callLocIdx = 1195; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; { step = 10; continue; } case 13: - s.tmp_0 = game_pushScene__P2737_mk(s); - s.callLocIdx = 205; s.pc = 26; return s.tmp_0; + s.tmp_0 = game_pushScene__P25048_mk(s); + s.callLocIdx = 1196; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = scene_setBackgroundImage__P2660_mk(s); - r0 = pxsim_ImageMethods.clone(globals.screen___1863); + s.tmp_0 = scene_setBackgroundImage__P24971_mk(s); + r0 = pxsim_ImageMethods.clone(globals.screen___24174); s.tmp_0.arg0 = r0; - s.callLocIdx = 206; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1197; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 14; continue; } - s.tmp_0 = music_Melody_play__P1619_mk(s); - s.tmp_0.arg0 = globals.winSound___4530; + s.tmp_0 = music_Melody_play__P23930_mk(s); + s.tmp_0.arg0 = globals.winSound___26845; s.tmp_0.arg1 = 255; - s.callLocIdx = 207; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1198; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 15; continue; } case 14: - s.tmp_0 = music_Melody_play__P1619_mk(s); - s.tmp_0.arg0 = globals.loseSound___4528; + s.tmp_0 = music_Melody_play__P23930_mk(s); + s.tmp_0.arg0 = globals.loseSound___26843; s.tmp_0.arg1 = 255; - s.callLocIdx = 208; s.pc = 29; return s.tmp_0; + s.callLocIdx = 1199; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; case 15: @@ -22480,54 +22480,54 @@ switch (step) { s.tmp_0.arg0 = s.arg1; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "startScreenEffect"), 1); - s.callLocIdx = 209; s.pc = 30; return s.tmp_0; + s.callLocIdx = 1200; s.pc = 30; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["startScreenEffect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["startScreenEffect"], 1); s.callLocIdx = 209; s.pc = 30; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 209; s.pc = 30; return s.tmp_0;; } - else { s.callLocIdx = 209; s.pc = 30; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["startScreenEffect"], 1); s.callLocIdx = 1200; s.pc = 30; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1200; s.pc = 30; return s.tmp_0;; } + else { s.callLocIdx = 1200; s.pc = 30; return s.tmp_0; } } case 30: r0 = s.retval; - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P22724_mk(s); s.tmp_0.arg0 = 400; - s.callLocIdx = 210; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1201; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C2717_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C25028_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverDialog_constructor__P2718_mk(s); + s.tmp_1 = game_GameOverDialog_constructor__P25029_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - r0 = s.scoreInfo___18676.fields["score"]; + r0 = s.scoreInfo___34850.fields["score"]; s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = s.highScore___18680; - s.callLocIdx = 211; s.pc = 32; return s.tmp_1; + s.tmp_1.arg3 = s.highScore___34854; + s.callLocIdx = 1202; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.overDialog___18709 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, game_over_inline__P18719); + s.overDialog___34883 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(1, game_over_inline__P34893); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___18709); - s.tmp_1 = scene_createRenderable__P2582_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___34883); + s.tmp_1 = scene_createRenderable__P24893_mk(s); s.tmp_1.arg0 = 100; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; - s.callLocIdx = 212; s.pc = 33; return s.tmp_1; + s.callLocIdx = 1203; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P22724_mk(s); s.tmp_0.arg0 = 500; - s.callLocIdx = 213; s.pc = 34; return s.tmp_0; + s.callLocIdx = 1204; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_displayCursor__P2719_mk(s); - s.tmp_0.arg0 = s.overDialog___18709; - s.callLocIdx = 214; s.pc = 35; return s.tmp_0; + s.tmp_0 = game_GameOverDialog_displayCursor__P25030_mk(s); + s.tmp_0.arg0 = s.overDialog___34883; + s.callLocIdx = 1205; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P2735_mk(s); - s.callLocIdx = 215; s.pc = 36; return s.tmp_0; + s.tmp_0 = game_waitAnyButton__P25046_mk(s); + s.callLocIdx = 1206; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; setupResume(s, 37); @@ -22542,19 +22542,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_over__P2743.info = {"start":5382,"length":1865,"line":181,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} +game_over__P25054.info = {"start":5382,"length":1865,"line":181,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} -function game_over__P2743_mk(s) { +function game_over__P25054_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over__P2743, depth: s.depth + 1, + parent: s, fn: game_over__P25054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scoreInfo___18676: undefined, - highScore___18680: undefined, - overDialog___18709: undefined, + scoreInfo___34850: undefined, + highScore___34854: undefined, + overDialog___34883: undefined, arg0: undefined, arg1: undefined, } } @@ -22563,7 +22563,7 @@ function game_over__P2743_mk(s) { -function game_over_inline__P18719(s) { +function game_over_inline__P34893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22577,9 +22577,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_GameOverDialog__C2717_v0_1_mk(s); + s.tmp_0 = game_GameOverDialog__C25028_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C2717_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C25028_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 1; return s.tmp_0; case 1: @@ -22587,7 +22587,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.caps[0].fields["image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_4 = r0; r0 = s.caps[0].fields["image"]; s.tmp_6 = r0; @@ -22602,12 +22602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_over_inline__P18719.info = {"start":6812,"length":254,"line":221,"column":48,"endLine":228,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} +game_over_inline__P34893.info = {"start":6812,"length":254,"line":221,"column":48,"endLine":228,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} -function game_over_inline__P18719_mk(s) { +function game_over_inline__P34893_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over_inline__P18719, depth: s.depth + 1, + parent: s, fn: game_over_inline__P34893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22623,7 +22623,7 @@ function game_over_inline__P18719_mk(s) { -function game_waitAnyButton__P2735(s) { +function game_waitAnyButton__P25046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22633,19 +22633,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___4535); + r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___26850); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__waitAnyButton___4535; + s.tmp_0.argL = globals.__waitAnyButton___26850; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 195; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1170; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P22724_mk(s); s.tmp_0.arg0 = 3000; - s.callLocIdx = 196; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1171; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -22653,12 +22653,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_waitAnyButton__P2735.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P25046.info = {"start":967,"length":111,"line":35,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} -function game_waitAnyButton__P2735_mk(s) { +function game_waitAnyButton__P25046_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_waitAnyButton__P2735, depth: s.depth + 1, + parent: s, fn: game_waitAnyButton__P25046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22667,7 +22667,7 @@ function game_waitAnyButton__P2735_mk(s) { -function game_GameOverDialog_update__P2720(s) { +function game_GameOverDialog_update__P25031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22682,15 +22682,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2717_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P4506_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C25028_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P26821_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 189; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1150; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = game_GameOverDialog__C2717_v1_1_mk(s); + s.tmp_0 = game_GameOverDialog__C25028_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C2717_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C25028_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 4; return s.tmp_0; case 4: @@ -22699,9 +22699,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_BaseDialog_drawCursorRow__P2694_mk(s); + s.tmp_1 = game_BaseDialog_drawCursorRow__P25005_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 190; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1151; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 1: @@ -22710,12 +22710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_update__P2720.info = {"start":11515,"length":173,"line":352,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_GameOverDialog_update__P25031.info = {"start":11515,"length":173,"line":352,"column":8,"endLine":359,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_GameOverDialog_update__P2720_mk(s) { +function game_GameOverDialog_update__P25031_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_update__P2720, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_update__P25031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22726,7 +22726,7 @@ function game_GameOverDialog_update__P2720_mk(s) { -function game_GameOverDialog_drawTextCore__P2721(s) { +function game_GameOverDialog_drawTextCore__P25032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22736,13 +22736,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scoreColor___18861 = undefined; + s.scoreColor___34951 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C25028_VT)) failedCast(r0); r0 = s.arg0.fields["win"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -22754,7 +22754,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } @@ -22765,14 +22765,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = helpers_imagePrintCenter__P1820_mk(s); + s.tmp_4 = helpers_imagePrintCenter__P24131_mk(s); r0 = s.arg0.fields["image"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.tmp_1; s.tmp_4.arg2 = 8; s.tmp_4.arg3 = s.tmp_3; - s.tmp_4.arg4 = globals.font8___1806; - s.callLocIdx = 191; s.pc = 11; return s.tmp_4; + s.tmp_4.arg4 = globals.font8___24117; + s.callLocIdx = 1152; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; r0 = s.arg0.fields["score"]; @@ -22781,7 +22781,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } @@ -22792,8 +22792,8 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.scoreColor___18861 = (s.tmp_3); - s.tmp_0 = helpers_imagePrintCenter__P1820_mk(s); + s.scoreColor___34951 = (s.tmp_3); + s.tmp_0 = helpers_imagePrintCenter__P24131_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["score"]; @@ -22810,28 +22810,28 @@ switch (step) { r0 = pxsim_String__concat("Score:", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 23; - s.tmp_0.arg3 = s.scoreColor___18861; - s.tmp_0.arg4 = globals.font8___1806; - s.callLocIdx = 192; s.pc = 12; return s.tmp_0; + s.tmp_0.arg3 = s.scoreColor___34951; + s.tmp_0.arg4 = globals.font8___24117; + s.callLocIdx = 1153; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = s.arg0.fields["isNewHighScore"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_imagePrintCenter__P1820_mk(s); + s.tmp_1 = helpers_imagePrintCenter__P24131_mk(s); r0 = s.arg0.fields["image"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = "New High Score!"; s.tmp_1.arg2 = 34; - s.tmp_1.arg3 = s.scoreColor___18861; - s.tmp_1.arg4 = globals.font5___1811; - s.callLocIdx = 193; s.pc = 14; return s.tmp_1; + s.tmp_1.arg3 = s.scoreColor___34951; + s.tmp_1.arg4 = globals.font5___24122; + s.callLocIdx = 1154; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = helpers_imagePrintCenter__P1820_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P24131_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["highScore"]; @@ -22848,9 +22848,9 @@ switch (step) { r0 = pxsim_String__concat("HI", s.tmp_1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 34; - s.tmp_0.arg3 = s.scoreColor___18861; - s.tmp_0.arg4 = globals.font8___1806; - s.callLocIdx = 194; s.pc = 15; return s.tmp_0; + s.tmp_0.arg3 = s.scoreColor___34951; + s.tmp_0.arg4 = globals.font8___24117; + s.callLocIdx = 1155; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; case 8: @@ -22860,19 +22860,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawTextCore__P2721.info = {"start":11698,"length":1200,"line":361,"column":8,"endLine":398,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_GameOverDialog_drawTextCore__P25032.info = {"start":11698,"length":1200,"line":361,"column":8,"endLine":398,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_GameOverDialog_drawTextCore__P2721_mk(s) { +function game_GameOverDialog_drawTextCore__P25032_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawTextCore__P2721, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawTextCore__P25032, 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, - scoreColor___18861: undefined, + scoreColor___34951: undefined, arg0: undefined, } } @@ -22880,7 +22880,7 @@ function game_GameOverDialog_drawTextCore__P2721_mk(s) { -function helpers_imagePrintCenter__P1820(s) { +function helpers_imagePrintCenter__P24131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22890,8 +22890,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___10537 = undefined; - s.x___10543 = undefined; + s.w___34999 = undefined; + s.x___35005 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22906,9 +22906,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1808_mk(s); + s.tmp_2 = image_getFontForText__P24119_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 92; s.pc = 3; return s.tmp_2; + s.callLocIdx = 138; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.arg4 = (r0); @@ -22924,46 +22924,46 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 93; s.pc = 4; return s.tmp_2; } + else { s.callLocIdx = 139; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___10537 = (r0); + s.w___34999 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___10537); + r0 = (s.tmp_1 - s.w___34999); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___10543 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); + s.x___35005 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___10543; + s.tmp_0.arg2 = s.x___35005; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; s.tmp_0.arg6 = undefined; - s.callLocIdx = 94; s.pc = 5; return s.tmp_0; + s.callLocIdx = 140; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P1820.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__P24131.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__P1820_mk(s) { +function helpers_imagePrintCenter__P24131_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P1820, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P24131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___10537: undefined, - x___10543: undefined, + w___34999: undefined, + x___35005: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22975,7 +22975,7 @@ function helpers_imagePrintCenter__P1820_mk(s) { -function game_GameOverDialog_displayCursor__P2719(s) { +function game_GameOverDialog_displayCursor__P25030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22990,18 +22990,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C25028_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorOn"] = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_displayCursor__P2719.info = {"start":11444,"length":61,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} +game_GameOverDialog_displayCursor__P25030.info = {"start":11444,"length":61,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} -function game_GameOverDialog_displayCursor__P2719_mk(s) { +function game_GameOverDialog_displayCursor__P25030_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_displayCursor__P2719, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_displayCursor__P25030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23010,7 +23010,7 @@ function game_GameOverDialog_displayCursor__P2719_mk(s) { -function game_GameOverDialog_constructor__P2718(s) { +function game_GameOverDialog_constructor__P25029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23028,23 +23028,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C25028_VT)) failedCast(r0); r0 = (s.arg0).fields["win"] = (s.arg1); r0 = (s.arg0).fields["score"] = (s.arg2); r0 = (s.arg0).fields["highScore"] = (s.arg3); - s.tmp_0 = game_BaseDialog_constructor__P2690_mk(s); + s.tmp_0 = game_BaseDialog_constructor__P25001_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 46; - s.tmp_1 = game_defaultSplashFrame__P4518_mk(s); - s.callLocIdx = 187; s.pc = 2; return s.tmp_1; + s.tmp_1 = game_defaultSplashFrame__P26833_mk(s); + s.callLocIdx = 1148; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg3 = r0; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; - s.callLocIdx = 188; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1149; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["cursorOn"] = (false); @@ -23060,12 +23060,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_constructor__P2718.info = {"start":11128,"length":306,"line":338,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} +game_GameOverDialog_constructor__P25029.info = {"start":11128,"length":306,"line":338,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","score","highScore"]} -function game_GameOverDialog_constructor__P2718_mk(s) { +function game_GameOverDialog_constructor__P25029_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_constructor__P2718, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_constructor__P25029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23081,7 +23081,7 @@ function game_GameOverDialog_constructor__P2718_mk(s) { -function scene_Scene_destroy__P2646(s) { +function scene_Scene_destroy__P24957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23096,7 +23096,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_VT)) failedCast(r0); r0 = (s.arg0).fields["eventContext"] = (undefined); r0 = (s.arg0).fields["background"] = (undefined); r0 = (s.arg0).fields["tileMap"] = (undefined); @@ -23118,12 +23118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_destroy__P2646.info = {"start":7159,"length":764,"line":201,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} +scene_Scene_destroy__P24957.info = {"start":7159,"length":764,"line":201,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} -function scene_Scene_destroy__P2646_mk(s) { +function scene_Scene_destroy__P24957_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_destroy__P2646, depth: s.depth + 1, + parent: s, fn: scene_Scene_destroy__P24957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23132,7 +23132,7 @@ function scene_Scene_destroy__P2646_mk(s) { -function info_PlayerInfo_constructor__P2419(s) { +function info_PlayerInfo_constructor__P24730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23148,7 +23148,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = (s.arg0).fields["border"] = (1); r0 = (s.arg0).fields["fc"] = (1); @@ -23164,7 +23164,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } @@ -23184,7 +23184,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } @@ -23197,7 +23197,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_1 = r0; r0 = (s.tmp_0).fields["x"] = (s.tmp_1); r0 = (s.arg0).fields["y"] = (0); @@ -23208,7 +23208,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } @@ -23222,13 +23222,13 @@ switch (step) { r0 = (s.arg0).fields["bg"] = (s.tmp_2); r0 = (s.arg0).fields["x"] = (0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["up"] = (true); { step = 12; continue; } case 9: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -23241,11 +23241,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); 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___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["left"] = (true); @@ -23253,17 +23253,17 @@ switch (step) { case 12: case 13: case 14: - r0 = pxsim_numops_toBoolDecr(globals.players___4413); + r0 = pxsim_numops_toBoolDecr(globals.players___26728); 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 = 15; continue; } r0 = pxsim_Array__mk(); - globals.players___4413 = (r0); + globals.players___26728 = (r0); case 15: case 16: - s.tmp_0 = r0 = globals.players___4413; + s.tmp_0 = r0 = globals.players___26728; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -23273,12 +23273,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_constructor__P2419.info = {"start":16886,"length":1370,"line":558,"column":8,"endLine":595,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfo_constructor__P24730.info = {"start":16886,"length":1370,"line":558,"column":8,"endLine":595,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} -function info_PlayerInfo_constructor__P2419_mk(s) { +function info_PlayerInfo_constructor__P24730_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_constructor__P2419, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_constructor__P24730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23292,7 +23292,7 @@ function info_PlayerInfo_constructor__P2419_mk(s) { -function info_PlayerInfo_getState__P2420(s) { +function info_PlayerInfo_getState__P24731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23307,13 +23307,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_init__P4464_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_init__P26779_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 115; s.pc = 1; return s.tmp_0; + s.callLocIdx = 887; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.infoState___4412.fields["playerStates"]; + r0 = globals.infoState___26727.fields["playerStates"]; s.tmp_0 = r0; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; @@ -23323,12 +23323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_getState__P2420.info = {"start":18528,"length":121,"line":605,"column":8,"endLine":608,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfo_getState__P24731.info = {"start":18528,"length":121,"line":605,"column":8,"endLine":608,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} -function info_PlayerInfo_getState__P2420_mk(s) { +function info_PlayerInfo_getState__P24731_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_getState__P2420, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_getState__P24731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23340,7 +23340,7 @@ function info_PlayerInfo_getState__P2420_mk(s) { -function info_PlayerInfo_init__P4464(s) { +function info_PlayerInfo_init__P26779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23355,9 +23355,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_initHUD__P4458_mk(s); - s.callLocIdx = 112; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_initHUD__P26773_mk(s); + s.callLocIdx = 884; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = s.arg0.fields["_player"]; @@ -23366,13 +23366,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_initMultiHUD__P4459_mk(s); - s.callLocIdx = 113; s.pc = 6; return s.tmp_2; + s.tmp_2 = info_initMultiHUD__P26774_mk(s); + s.callLocIdx = 885; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: case 2: - r0 = globals.infoState___4412.fields["playerStates"]; + r0 = globals.infoState___26727.fields["playerStates"]; s.tmp_3 = r0; r0 = s.arg0.fields["_player"]; s.tmp_5 = r0; @@ -23386,10 +23386,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C2375_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C24686_VT); s.tmp_6 = r0; r0 = undefined; - r0 = globals.infoState___4412.fields["playerStates"]; + r0 = globals.infoState___26727.fields["playerStates"]; s.tmp_7 = r0; r0 = s.arg0.fields["_player"]; s.tmp_9 = r0; @@ -23402,12 +23402,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_init__P4464.info = {"start":18266,"length":252,"line":597,"column":8,"endLine":603,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfo_init__P26779.info = {"start":18266,"length":252,"line":597,"column":8,"endLine":603,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} -function info_PlayerInfo_init__P4464_mk(s) { +function info_PlayerInfo_init__P26779_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_init__P4464, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_init__P26779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23426,7 +23426,7 @@ function info_PlayerInfo_init__P4464_mk(s) { -function info_initMultiHUD__P4459(s) { +function info_initMultiHUD__P26774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23436,7 +23436,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.infoState___4412.fields["visibilityFlag"]; + r0 = globals.infoState___26727.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; @@ -23445,13 +23445,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = r0 = globals.infoState___4412; + s.tmp_2 = r0 = globals.infoState___26727; r0 = s.tmp_2.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (s.tmp_4 | 16); s.tmp_3 = r0; r0 = (s.tmp_2).fields["visibilityFlag"] = (s.tmp_3); - r0 = globals.infoState___4412.fields["visibilityFlag"]; + r0 = globals.infoState___26727.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 32); s.tmp_2 = r0; @@ -23461,17 +23461,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = globals.infoState___4412; - s.tmp_6 = info_defaultMultiplayerHeartImage__P4461_mk(s); - s.callLocIdx = 85; s.pc = 6; return s.tmp_6; + s.tmp_4 = r0 = globals.infoState___26727; + s.tmp_6 = info_defaultMultiplayerHeartImage__P26776_mk(s); + s.callLocIdx = 857; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4).fields["heartImage"] = (s.tmp_5); case 3: case 4: - s.tmp_0 = r0 = globals.infoState___4412; - r0 = pxsim.image.ofBuffer(_hex20188); + s.tmp_0 = r0 = globals.infoState___26727; + r0 = pxsim.image.ofBuffer(_hex36313); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); case 5: @@ -23479,12 +23479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initMultiHUD__P4459.info = {"start":5009,"length":393,"line":159,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} +info_initMultiHUD__P26774.info = {"start":5009,"length":393,"line":159,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} -function info_initMultiHUD__P4459_mk(s) { +function info_initMultiHUD__P26774_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initMultiHUD__P4459, depth: s.depth + 1, + parent: s, fn: info_initMultiHUD__P26774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23495,12 +23495,12 @@ function info_initMultiHUD__P4459_mk(s) { tmp_6: undefined, } } -const _hex20188 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") +const _hex36313 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") -function info_defaultMultiplayerHeartImage__P4461(s) { +function info_defaultMultiplayerHeartImage__P26776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23510,14 +23510,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex20192); + r0 = pxsim.image.ofBuffer(_hex36317); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex20194); + r0 = pxsim.image.ofBuffer(_hex36319); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -23525,24 +23525,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultMultiplayerHeartImage__P4461.info = {"start":6006,"length":503,"line":195,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} +info_defaultMultiplayerHeartImage__P26776.info = {"start":6006,"length":503,"line":195,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} -function info_defaultMultiplayerHeartImage__P4461_mk(s) { +function info_defaultMultiplayerHeartImage__P26776_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultMultiplayerHeartImage__P4461, depth: s.depth + 1, + parent: s, fn: info_defaultMultiplayerHeartImage__P26776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex20192 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") -const _hex20194 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") +const _hex36317 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") +const _hex36319 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") -function info_initHUD__P4458(s) { +function info_initHUD__P26773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23552,24 +23552,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.infoState___4412); + r0 = pxsim_numops_toBoolDecr(globals.infoState___26727); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C4409_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C26724_VT); s.tmp_0 = r0; - s.tmp_1 = info_InfoState_constructor__P4410_mk(s); + s.tmp_1 = info_InfoState_constructor__P26725_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 68; s.pc = 4; return s.tmp_1; + s.callLocIdx = 840; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.infoState___4412 = (s.tmp_0); - s.tmp_0 = scene_createRenderable__P2582_mk(s); + globals.infoState___26727 = (s.tmp_0); + s.tmp_0 = scene_createRenderable__P24893_mk(s); s.tmp_0.arg0 = 100; - s.tmp_0.arg1 = info_initHUD_inline__P20202; + s.tmp_0.arg1 = info_initHUD_inline__P36327; s.tmp_0.arg2 = undefined; - s.callLocIdx = 84; s.pc = 5; return s.tmp_0; + s.callLocIdx = 856; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 3: @@ -23577,12 +23577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD__P4458.info = {"start":2923,"length":2080,"line":107,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} +info_initHUD__P26773.info = {"start":2923,"length":2080,"line":107,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} -function info_initHUD__P4458_mk(s) { +function info_initHUD__P26773_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD__P4458, depth: s.depth + 1, + parent: s, fn: info_initHUD__P26773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23592,7 +23592,7 @@ function info_initHUD__P4458_mk(s) { -function info_initHUD_inline__P20202(s) { +function info_initHUD_inline__P36327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23602,12 +23602,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ps___20211 = undefined; - s.p___20232 = undefined; - s.scene___20266 = undefined; - s.elapsed___20269 = undefined; - s.t___20277 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.infoState___4412); + s.ps___36336 = undefined; + s.p___36357 = undefined; + s.scene___36391 = undefined; + s.elapsed___36394 = undefined; + s.t___36402 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.infoState___26727); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23616,37 +23616,37 @@ switch (step) { { step = 23; continue; } case 1: case 2: - r0 = globals.infoState___4412.fields["visibilityFlag"]; + r0 = globals.infoState___26727.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_2.arg0 = globals.players___4413; - s.tmp_2.arg1 = ps_inline__P20213; - s.callLocIdx = 69; s.pc = 24; return s.tmp_2; + s.tmp_2 = helpers_arrayFilter__P22421_mk(s); + s.tmp_2.arg0 = globals.players___26728; + s.tmp_2.arg1 = ps_inline__P36338; + s.callLocIdx = 841; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.ps___20211 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ps___20211; - s.tmp_0.arg1 = info_initHUD_inline__P20222; - s.callLocIdx = 71; s.pc = 25; return s.tmp_0; + s.ps___36336 = (r0); + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_0.arg0 = s.ps___36336; + s.tmp_0.arg1 = info_initHUD_inline__P36347; + s.callLocIdx = 843; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ps___20211; - s.tmp_0.arg1 = info_initHUD_inline__P20228; - s.callLocIdx = 73; s.pc = 26; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); + s.tmp_0.arg0 = s.ps___36336; + s.tmp_0.arg1 = info_initHUD_inline__P36353; + s.callLocIdx = 845; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 12; continue; } case 3: - s.p___20232 = (globals.player1___2439); - s.tmp_1 = info_PlayerInfo_hasScore__P2425_mk(s); - s.tmp_1.arg0 = s.p___20232; - s.callLocIdx = 74; s.pc = 27; return s.tmp_1; + s.p___36357 = (globals.player1___24750); + s.tmp_1 = info_PlayerInfo_hasScore__P24736_mk(s); + s.tmp_1.arg0 = s.p___36357; + s.callLocIdx = 846; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; s.tmp_0 = r0; @@ -23655,7 +23655,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = globals.infoState___4412.fields["visibilityFlag"]; + r0 = globals.infoState___26727.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 2); case 5: @@ -23663,16 +23663,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = info_PlayerInfo_drawScore__P2434_mk(s); - s.tmp_4.arg0 = s.p___20232; - s.callLocIdx = 75; s.pc = 28; return s.tmp_4; + s.tmp_4 = info_PlayerInfo_drawScore__P24745_mk(s); + s.tmp_4.arg0 = s.p___36357; + s.callLocIdx = 847; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; case 6: case 7: - s.tmp_1 = info_PlayerInfo_hasLife__P2429_mk(s); - s.tmp_1.arg0 = s.p___20232; - s.callLocIdx = 76; s.pc = 29; return s.tmp_1; + s.tmp_1 = info_PlayerInfo_hasLife__P24740_mk(s); + s.tmp_1.arg0 = s.p___36357; + s.callLocIdx = 848; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; s.tmp_0 = r0; @@ -23681,7 +23681,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = globals.infoState___4412.fields["visibilityFlag"]; + r0 = globals.infoState___26727.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 4); case 9: @@ -23689,21 +23689,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_4 = info_PlayerInfo_drawLives__P2435_mk(s); - s.tmp_4.arg0 = s.p___20232; - s.callLocIdx = 77; s.pc = 30; return s.tmp_4; + s.tmp_4 = info_PlayerInfo_drawLives__P24746_mk(s); + s.tmp_4.arg0 = s.p___36357; + s.callLocIdx = 849; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 10: case 11: - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P2432_mk(s); - s.tmp_0.arg0 = s.p___20232; + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P24743_mk(s); + s.tmp_0.arg0 = s.p___36357; s.tmp_0.arg1 = true; - s.callLocIdx = 78; s.pc = 31; return s.tmp_0; + s.callLocIdx = 850; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 12: - r0 = globals.infoState___4412.fields["gameEnd"]; + r0 = globals.infoState___26727.fields["gameEnd"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -23712,7 +23712,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = globals.infoState___4412.fields["visibilityFlag"]; + r0 = globals.infoState___26727.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 1); case 14: @@ -23720,30 +23720,30 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 21; continue; } - s.tmp_4 = game_currentScene__P2733_mk(s); - s.callLocIdx = 79; s.pc = 32; return s.tmp_4; + s.tmp_4 = game_currentScene__P25044_mk(s); + s.callLocIdx = 851; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; - s.scene___20266 = (r0); - r0 = globals.infoState___4412.fields["gameEnd"]; + s.scene___36391 = (r0); + r0 = globals.infoState___26727.fields["gameEnd"]; s.tmp_0 = r0; - r0 = s.scene___20266.fields["_millis"]; + r0 = s.scene___36391.fields["_millis"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.elapsed___20269 = (r0); - s.tmp_0 = info_drawTimer__P4463_mk(s); - s.tmp_0.arg0 = s.elapsed___20269; - s.callLocIdx = 81; s.pc = 33; return s.tmp_0; + s.elapsed___36394 = (r0); + s.tmp_0 = info_drawTimer__P26778_mk(s); + s.tmp_0.arg0 = s.elapsed___36394; + s.callLocIdx = 853; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - r0 = (s.elapsed___20269 / 1000); - s.t___20277 = (r0); - r0 = (s.t___20277 <= 0); + r0 = (s.elapsed___36394 / 1000); + s.t___36402 = (r0); + r0 = (s.t___36402 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.t___20277 = (0); - r0 = globals.infoState___4412.fields["countdownExpired"]; + s.t___36402 = (0); + r0 = globals.infoState___26727.fields["countdownExpired"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -23751,31 +23751,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = (globals.infoState___4412).fields["countdownExpired"] = (true); - r0 = (globals.infoState___4412).fields["gameEnd"] = (undefined); - r0 = globals.infoState___4412.fields["countdownEndHandler"]; + r0 = (globals.infoState___26727).fields["countdownExpired"] = (true); + r0 = (globals.infoState___26727).fields["gameEnd"] = (undefined); + r0 = globals.infoState___26727.fields["countdownEndHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } s.tmp_1 = if_countdownEndHandler_1_mk(s); - s.tmp_1.arg0 = globals.infoState___4412; + s.tmp_1.arg0 = globals.infoState___26727; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "countdownEndHandler"), 1); - s.callLocIdx = 82; s.pc = 34; return s.tmp_1; + s.callLocIdx = 854; s.pc = 34; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["countdownEndHandler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["countdownEndHandler"], 1); s.callLocIdx = 82; s.pc = 34; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 82; s.pc = 34; return s.tmp_1;; } - else { s.callLocIdx = 82; s.pc = 34; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["countdownEndHandler"], 1); s.callLocIdx = 854; s.pc = 34; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 854; s.pc = 34; return s.tmp_1;; } + else { s.callLocIdx = 854; s.pc = 34; return s.tmp_1; } } case 34: r0 = s.retval; { step = 16; continue; } case 15: - s.tmp_0 = game_over__P2743_mk(s); + s.tmp_0 = game_over__P25054_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; - s.callLocIdx = 83; s.pc = 35; return s.tmp_0; + s.callLocIdx = 855; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; case 16: @@ -23790,30 +23790,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P20202.info = {"start":3083,"length":1903,"line":114,"column":12,"endLine":155,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_initHUD_inline__P36327.info = {"start":3083,"length":1903,"line":114,"column":12,"endLine":155,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_initHUD_inline__P20202_mk(s) { +function info_initHUD_inline__P36327_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P20202, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P36327, 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, - ps___20211: undefined, - p___20232: undefined, - scene___20266: undefined, - elapsed___20269: undefined, - t___20277: undefined, + ps___36336: undefined, + p___36357: undefined, + scene___36391: undefined, + elapsed___36394: undefined, + t___36402: undefined, } } -function ps_inline__P20213(s) { +function ps_inline__P36338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23837,12 +23837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ps_inline__P20213.info = {"start":3331,"length":8,"line":119,"column":46,"endLine":119,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +ps_inline__P36338.info = {"start":3331,"length":8,"line":119,"column":46,"endLine":119,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function ps_inline__P20213_mk(s) { +function ps_inline__P36338_mk(s) { checkStack(s.depth); return { - parent: s, fn: ps_inline__P20213, depth: s.depth + 1, + parent: s, fn: ps_inline__P36338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23854,7 +23854,7 @@ function ps_inline__P20213_mk(s) { -function info_initHUD_inline__P20222(s) { +function info_initHUD_inline__P36347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23868,21 +23868,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_drawPlayer__P2433_mk(s); + s.tmp_0 = info_PlayerInfo_drawPlayer__P24744_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 70; s.pc = 1; return s.tmp_0; + s.callLocIdx = 842; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -info_initHUD_inline__P20222.info = {"start":3415,"length":19,"line":121,"column":31,"endLine":121,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_initHUD_inline__P36347.info = {"start":3415,"length":19,"line":121,"column":31,"endLine":121,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_initHUD_inline__P20222_mk(s) { +function info_initHUD_inline__P36347_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P20222, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P36347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23892,7 +23892,7 @@ function info_initHUD_inline__P20222_mk(s) { -function info_initHUD_inline__P20228(s) { +function info_initHUD_inline__P36353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23906,22 +23906,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_raiseLifeZero__P2432_mk(s); + s.tmp_0 = info_PlayerInfo_raiseLifeZero__P24743_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 72; s.pc = 1; return s.tmp_0; + s.callLocIdx = 844; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -info_initHUD_inline__P20228.info = {"start":3517,"length":27,"line":123,"column":31,"endLine":123,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_initHUD_inline__P36353.info = {"start":3517,"length":27,"line":123,"column":31,"endLine":123,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_initHUD_inline__P20228_mk(s) { +function info_initHUD_inline__P36353_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P20228, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P36353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23931,7 +23931,7 @@ function info_initHUD_inline__P20228_mk(s) { -function info_drawTimer__P4463(s) { +function info_drawTimer__P26778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23941,18 +23941,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___20306 = undefined; - s.smallFont___20308 = undefined; - s.seconds___20310 = undefined; - s.width___20314 = undefined; - s.left___20319 = undefined; - s.color1___20329 = undefined; - s.color2___20333 = undefined; - s.temp___20346 = undefined; - s.remainder___20382 = undefined; - s.decimalLeft___20401 = undefined; - s.minutes___20419 = undefined; - s.remainder___20423 = undefined; + s.font___36431 = undefined; + s.smallFont___36433 = undefined; + s.seconds___36435 = undefined; + s.width___36439 = undefined; + s.left___36444 = undefined; + s.color1___36454 = undefined; + s.color2___36458 = undefined; + s.temp___36471 = undefined; + s.remainder___36507 = undefined; + s.decimalLeft___36526 = undefined; + s.minutes___36544 = undefined; + s.remainder___36548 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -23966,19 +23966,19 @@ switch (step) { case 2: r0 = (s.arg0 | 0); s.arg0 = (r0); - s.font___20306 = (globals.font8___1806); - s.smallFont___20308 = (globals.font5___1811); + s.font___36431 = (globals.font8___24117); + s.smallFont___36433 = (globals.font5___24122); r0 = pxsim.Math_.idiv(s.arg0, 1000); - s.seconds___20310 = (r0); + s.seconds___36435 = (r0); s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___20306; + s.tmp_2.arg0 = s.font___36431; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 99; s.pc = 11; return s.tmp_2; } + else { s.callLocIdx = 871; s.pc = 11; return s.tmp_2; } } case 11: r0 = s.retval; @@ -23986,29 +23986,29 @@ switch (step) { r0 = (s.tmp_1 * 5); s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.width___20314 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___1863); + s.width___36439 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; - r0 = (s.width___20314 >> 1); + r0 = (s.width___36439 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.left___20319 = (r0); - r0 = globals.infoState___4412.fields["fontColor"]; - s.color1___20329 = (r0); - r0 = globals.infoState___4412.fields["bgColor"]; - s.color2___20333 = (r0); - r0 = (s.seconds___20310 < 10); + s.left___36444 = (r0); + r0 = globals.infoState___26727.fields["fontColor"]; + s.color1___36454 = (r0); + r0 = globals.infoState___26727.fields["bgColor"]; + s.color2___36458 = (r0); + r0 = (s.seconds___36435 < 10); 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 = (s.seconds___20310 & 1); + r0 = (s.seconds___36435 & 1); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -24017,7 +24017,7 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -24027,77 +24027,77 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 7; continue; } - s.temp___20346 = (s.color1___20329); - s.color1___20329 = (s.color2___20333); - s.color2___20333 = (s.temp___20346); + s.temp___36471 = (s.color1___36454); + s.color1___36454 = (s.color2___36458); + s.color2___36458 = (s.temp___36471); case 7: case 8: - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - r0 = (s.left___20319 - 3); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + r0 = (s.left___36444 - 3); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___20314 + 6); + r0 = (s.width___36439 + 6); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___20306; + s.tmp_2.arg0 = s.font___36431; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charHeight"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charHeight"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 100; s.pc = 13; return s.tmp_2; } + else { s.callLocIdx = 872; s.pc = 13; return s.tmp_2; } } case 13: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4412.fields["borderColor"]; + r0 = globals.infoState___26727.fields["borderColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 101; s.pc = 12; return s.tmp_0; + s.callLocIdx = 873; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - r0 = (s.left___20319 - 2); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + r0 = (s.left___36444 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___20314 + 4); + r0 = (s.width___36439 + 4); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___20306; + s.tmp_2.arg0 = s.font___36431; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charHeight"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charHeight"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 102; s.pc = 15; return s.tmp_2; } + else { s.callLocIdx = 874; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.color2___20333; - s.callLocIdx = 103; s.pc = 14; return s.tmp_0; + s.tmp_0.arg5 = s.color2___36458; + s.callLocIdx = 875; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = (s.seconds___20310 < 60); + r0 = (s.seconds___36435 < 60); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = (s.arg0 % 1000); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 10); - s.remainder___20382 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_3 = info_formatDecimal__P4465_mk(s); - s.tmp_3.arg0 = s.seconds___20310; - s.callLocIdx = 104; s.pc = 17; return s.tmp_3; + s.remainder___36507 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_3 = info_formatDecimal__P26780_mk(s); + s.tmp_3.arg0 = s.seconds___36435; + s.callLocIdx = 876; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; s.tmp_2 = r0; @@ -24112,24 +24112,24 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "."); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___20319; + s.tmp_0.arg2 = s.left___36444; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___20329; - s.tmp_0.arg5 = s.font___20306; + s.tmp_0.arg4 = s.color1___36454; + s.tmp_0.arg5 = s.font___36431; s.tmp_0.arg6 = undefined; - s.callLocIdx = 105; s.pc = 16; return s.tmp_0; + s.callLocIdx = 877; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.left___20319; + s.tmp_0 = r0 = s.left___36444; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___20306; + s.tmp_3.arg0 = s.font___36431; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charWidth"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charWidth"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 106; s.pc = 19; return s.tmp_3; } + else { s.callLocIdx = 878; s.pc = 19; return s.tmp_3; } } case 19: r0 = s.retval; @@ -24137,34 +24137,34 @@ switch (step) { r0 = (3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.decimalLeft___20401 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_1 = info_formatDecimal__P4465_mk(s); - s.tmp_1.arg0 = s.remainder___20382; - s.callLocIdx = 107; s.pc = 21; return s.tmp_1; + s.decimalLeft___36526 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_1 = info_formatDecimal__P26780_mk(s); + s.tmp_1.arg0 = s.remainder___36507; + s.callLocIdx = 879; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.decimalLeft___20401; + s.tmp_0.arg2 = s.decimalLeft___36526; s.tmp_0.arg3 = 3; - s.tmp_0.arg4 = s.color1___20329; - s.tmp_0.arg5 = s.smallFont___20308; + s.tmp_0.arg4 = s.color1___36454; + s.tmp_0.arg5 = s.smallFont___36433; s.tmp_0.arg6 = undefined; - s.callLocIdx = 108; s.pc = 20; return s.tmp_0; + s.callLocIdx = 880; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim.Math_.idiv(s.seconds___20310, 60); - s.minutes___20419 = (r0); - r0 = (s.seconds___20310 % 60); - s.remainder___20423 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_5 = info_formatDecimal__P4465_mk(s); - s.tmp_5.arg0 = s.minutes___20419; - s.callLocIdx = 109; s.pc = 23; return s.tmp_5; + r0 = pxsim.Math_.idiv(s.seconds___36435, 60); + s.minutes___36544 = (r0); + r0 = (s.seconds___36435 % 60); + s.remainder___36548 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_5 = info_formatDecimal__P26780_mk(s); + s.tmp_5.arg0 = s.minutes___36544; + s.callLocIdx = 881; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; s.tmp_4 = r0; @@ -24188,9 +24188,9 @@ switch (step) { case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_8 = info_formatDecimal__P4465_mk(s); - s.tmp_8.arg0 = s.remainder___20423; - s.callLocIdx = 110; s.pc = 26; return s.tmp_8; + s.tmp_8 = info_formatDecimal__P26780_mk(s); + s.tmp_8.arg0 = s.remainder___36548; + s.callLocIdx = 882; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; s.tmp_7 = r0; @@ -24205,12 +24205,12 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___20319; + s.tmp_0.arg2 = s.left___36444; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___20329; - s.tmp_0.arg5 = s.font___20306; + s.tmp_0.arg4 = s.color1___36454; + s.tmp_0.arg5 = s.font___36431; s.tmp_0.arg6 = undefined; - s.callLocIdx = 111; s.pc = 22; return s.tmp_0; + s.callLocIdx = 883; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; case 10: @@ -24218,12 +24218,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_drawTimer__P4463.info = {"start":14928,"length":1328,"line":505,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} +info_drawTimer__P26778.info = {"start":14928,"length":1328,"line":505,"column":4,"endLine":540,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} -function info_drawTimer__P4463_mk(s) { +function info_drawTimer__P26778_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_drawTimer__P4463, depth: s.depth + 1, + parent: s, fn: info_drawTimer__P26778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24234,18 +24234,18 @@ function info_drawTimer__P4463_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - font___20306: undefined, - smallFont___20308: undefined, - seconds___20310: undefined, - width___20314: undefined, - left___20319: undefined, - color1___20329: undefined, - color2___20333: undefined, - temp___20346: undefined, - remainder___20382: undefined, - decimalLeft___20401: undefined, - minutes___20419: undefined, - remainder___20423: undefined, + font___36431: undefined, + smallFont___36433: undefined, + seconds___36435: undefined, + width___36439: undefined, + left___36444: undefined, + color1___36454: undefined, + color2___36458: undefined, + temp___36471: undefined, + remainder___36507: undefined, + decimalLeft___36526: undefined, + minutes___36544: undefined, + remainder___36548: undefined, arg0: undefined, } } @@ -24253,7 +24253,7 @@ function info_drawTimer__P4463_mk(s) { -function info_formatDecimal__P4465(s) { +function info_formatDecimal__P26780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24291,12 +24291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_formatDecimal__P4465.info = {"start":31238,"length":156,"line":990,"column":4,"endLine":996,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} +info_formatDecimal__P26780.info = {"start":31238,"length":156,"line":990,"column":4,"endLine":996,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} -function info_formatDecimal__P4465_mk(s) { +function info_formatDecimal__P26780_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_formatDecimal__P4465, depth: s.depth + 1, + parent: s, fn: info_formatDecimal__P26780, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24307,7 +24307,7 @@ function info_formatDecimal__P4465_mk(s) { -function info_InfoState_constructor__P4410(s) { +function info_InfoState_constructor__P26725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24322,24 +24322,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_InfoState__C4409_VT)) failedCast(r0); + if (!checkSubtype(r0, info_InfoState__C26724_VT)) failedCast(r0); r0 = (s.arg0).fields["visibilityFlag"] = (8); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["playerStates"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = info_defaultHeartImage__P4460_mk(s); - s.callLocIdx = 62; s.pc = 7; return s.tmp_2; + s.tmp_2 = info_defaultHeartImage__P26775_mk(s); + s.callLocIdx = 834; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["heartImage"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.ofBuffer(_hex21068); + r0 = pxsim.image.ofBuffer(_hex37193); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -24351,7 +24351,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["bgColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -24363,7 +24363,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["borderColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -24386,12 +24386,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_InfoState_constructor__P4410.info = {"start":1373,"length":674,"line":53,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_InfoState_constructor__P26725.info = {"start":1373,"length":674,"line":53,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_InfoState_constructor__P4410_mk(s) { +function info_InfoState_constructor__P26725_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_InfoState_constructor__P4410, depth: s.depth + 1, + parent: s, fn: info_InfoState_constructor__P26725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24399,12 +24399,12 @@ function info_InfoState_constructor__P4410_mk(s) { arg0: undefined, } } -const _hex21068 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") +const _hex37193 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") -function info_defaultHeartImage__P4460(s) { +function info_defaultHeartImage__P26775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24414,14 +24414,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___1863); + r0 = pxsim_ImageMethods.isMono(globals.screen___24174); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex21096); + r0 = pxsim.image.ofBuffer(_hex37221); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex21098); + r0 = pxsim.image.ofBuffer(_hex37223); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -24429,24 +24429,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultHeartImage__P4460.info = {"start":5408,"length":592,"line":172,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} +info_defaultHeartImage__P26775.info = {"start":5408,"length":592,"line":172,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} -function info_defaultHeartImage__P4460_mk(s) { +function info_defaultHeartImage__P26775_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultHeartImage__P4460, depth: s.depth + 1, + parent: s, fn: info_defaultHeartImage__P26775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex21096 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") -const _hex21098 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") +const _hex37221 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") +const _hex37223 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") -function info_PlayerInfo_drawLives__P2435(s) { +function info_PlayerInfo_drawLives__P24746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24456,25 +24456,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___20460 = undefined; - s.font___20466 = undefined; - s.i___20509 = undefined; - s.num___20531 = undefined; - s.textWidth___20538 = undefined; - s.mult___20590 = undefined; + s.state___36585 = undefined; + s.font___36591 = undefined; + s.i___36634 = undefined; + s.num___36656 = undefined; + s.textWidth___36663 = undefined; + s.mult___36715 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 146; s.pc = 8; return s.tmp_0; + s.callLocIdx = 918; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.state___20460 = (r0); - r0 = s.state___20460.fields["life"]; + s.state___36585 = (r0); + r0 = s.state___36585.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -24483,20 +24483,20 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.font___20466 = (globals.font8___1806); - r0 = s.state___20460.fields["life"]; + s.font___36591 = (globals.font8___24117); + r0 = s.state___36585.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_imageFillRect__P1789_mk(s); - s.tmp_2.arg0 = globals.screen___1863; + s.tmp_2 = helpers_imageFillRect__P24100_mk(s); + s.tmp_2.arg0 = globals.screen___24174; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; - r0 = s.state___20460.fields["life"]; + r0 = s.state___36585.fields["life"]; s.tmp_4 = r0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -24506,24 +24506,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_2.arg3 = r0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; r0 = (s.tmp_8 + 4); s.tmp_2.arg4 = r0; - r0 = globals.infoState___4412.fields["borderColor"]; + r0 = globals.infoState___26727.fields["borderColor"]; s.tmp_2.arg5 = r0; - s.callLocIdx = 147; s.pc = 9; return s.tmp_2; + s.callLocIdx = 919; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = s.state___20460.fields["life"]; + r0 = s.state___36585.fields["life"]; s.tmp_2 = r0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; @@ -24533,30 +24533,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_6 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4412.fields["bgColor"]; + r0 = globals.infoState___26727.fields["bgColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 148; s.pc = 10; return s.tmp_0; + s.callLocIdx = 920; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.i___20509 = (0); + s.i___36634 = (0); case 3: - r0 = s.state___20460.fields["life"]; + r0 = s.state___36585.fields["life"]; s.tmp_1 = r0; - r0 = (s.i___20509 < s.tmp_1); + r0 = (s.i___36634 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = r0 = globals.screen___1863; - r0 = globals.infoState___4412.fields["heartImage"]; + s.tmp_2 = r0 = globals.screen___24174; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_3 = r0; - s.tmp_6 = r0 = s.i___20509; - r0 = globals.infoState___4412.fields["heartImage"]; + s.tmp_6 = r0 = s.i___36634; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.width(s.tmp_9); s.tmp_8 = r0; @@ -24567,13 +24567,13 @@ switch (step) { r0 = (1 + s.tmp_5); s.tmp_4 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_2, s.tmp_3, s.tmp_4, 1); - r0 = (s.i___20509 + 1); - s.i___20509 = (r0); + r0 = (s.i___36634 + 1); + s.i___36634 = (r0); { step = 3; continue; } case 4: { step = 6; continue; } case 5: - r0 = s.state___20460.fields["life"]; + r0 = s.state___36585.fields["life"]; s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 11); @@ -24587,18 +24587,18 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_2); - s.num___20531 = (r0); - r0 = pxsim_String_.length(s.num___20531); + s.num___36656 = (r0); + r0 = pxsim_String_.length(s.num___36656); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___20466; + s.tmp_3.arg0 = s.font___36591; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charWidth"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charWidth"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 149; s.pc = 12; return s.tmp_3; } + else { s.callLocIdx = 921; s.pc = 12; return s.tmp_3; } } case 12: r0 = s.retval; @@ -24606,97 +24606,97 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.textWidth___20538 = (r0); - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.textWidth___36663 = (r0); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___20538); + r0 = (s.tmp_2 + s.textWidth___36663); s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 4); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4412.fields["borderColor"]; + r0 = globals.infoState___26727.fields["borderColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 150; s.pc = 13; return s.tmp_0; + s.callLocIdx = 922; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___20538); + r0 = (s.tmp_2 + s.textWidth___36663); s.tmp_1 = r0; r0 = (s.tmp_1 + 4); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4412.fields["bgColor"]; + r0 = globals.infoState___26727.fields["bgColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 151; s.pc = 14; return s.tmp_0; + s.callLocIdx = 923; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1863, s.tmp_0, 1, 1); - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___24174, s.tmp_0, 1, 1); + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___20590 = (r0); - r0 = globals.infoState___4412.fields["fontColor"]; + s.mult___36715 = (r0); + r0 = globals.infoState___26727.fields["fontColor"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___20590, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___1863; - s.tmp_1 = r0 = s.mult___20590; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___36715, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___24174; + s.tmp_1 = r0 = s.mult___36715; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2 = r0; s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_8.arg0 = s.font___20466; + s.tmp_8.arg0 = s.font___36591; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); } else { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 152; s.pc = 15; return s.tmp_8; } + else { s.callLocIdx = 924; s.pc = 15; return s.tmp_8; } } case 15: r0 = s.retval; s.tmp_7 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9 = r0; @@ -24705,27 +24705,27 @@ switch (step) { r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_5); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.num___20531; - r0 = globals.infoState___4412.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.num___36656; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 3); s.tmp_1 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_1 + s.tmp_4); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; - r0 = globals.infoState___4412.fields["fontColor"]; + r0 = globals.infoState___26727.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___20466; + s.tmp_0.arg5 = s.font___36591; s.tmp_0.arg6 = undefined; - s.callLocIdx = 153; s.pc = 16; return s.tmp_0; + s.callLocIdx = 925; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 6: @@ -24734,12 +24734,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawLives__P2435.info = {"start":28768,"length":2458,"line":921,"column":8,"endLine":987,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} +info_PlayerInfo_drawLives__P24746.info = {"start":28768,"length":2458,"line":921,"column":8,"endLine":987,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} -function info_PlayerInfo_drawLives__P2435_mk(s) { +function info_PlayerInfo_drawLives__P24746_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawLives__P2435, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawLives__P24746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24752,12 +24752,12 @@ function info_PlayerInfo_drawLives__P2435_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - state___20460: undefined, - font___20466: undefined, - i___20509: undefined, - num___20531: undefined, - textWidth___20538: undefined, - mult___20590: undefined, + state___36585: undefined, + font___36591: undefined, + i___36634: undefined, + num___36656: undefined, + textWidth___36663: undefined, + mult___36715: undefined, arg0: undefined, } } @@ -24765,7 +24765,7 @@ function info_PlayerInfo_drawLives__P2435_mk(s) { -function info_PlayerInfo_drawScore__P2434(s) { +function info_PlayerInfo_drawScore__P24745(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24775,153 +24775,153 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___20646 = undefined; - s.font___20650 = undefined; - s.offsetY___20651 = undefined; - s.num___20660 = undefined; - s.width___20664 = undefined; + s.s___36771 = undefined; + s.font___36775 = undefined; + s.offsetY___36776 = undefined; + s.num___36785 = undefined; + s.width___36789 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_1 = info_PlayerInfo_score__P2422_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_1 = info_PlayerInfo_score__P24733_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 139; s.pc = 3; return s.tmp_1; + s.callLocIdx = 911; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.s___20646 = (r0); - r0 = (s.s___20646 >= 1000000); + s.s___36771 = (r0); + r0 = (s.s___36771 >= 1000000); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offsetY___20651 = (2); - s.font___20650 = (globals.font5___1811); + s.offsetY___36776 = (2); + s.font___36775 = (globals.font5___24122); { step = 2; continue; } case 1: - s.offsetY___20651 = (1); - s.font___20650 = (globals.font8___1806); + s.offsetY___36776 = (1); + s.font___36775 = (globals.font8___24117); case 2: - r0 = pxsim_numops.toString(s.s___20646); - s.num___20660 = (r0); - r0 = pxsim_String_.length(s.num___20660); + r0 = pxsim_numops.toString(s.s___36771); + s.num___36785 = (r0); + r0 = pxsim_String_.length(s.num___36785); s.tmp_0 = r0; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___20650; + s.tmp_2.arg0 = s.font___36775; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 140; s.pc = 4; return s.tmp_2; } + else { s.callLocIdx = 912; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.width___20664 = (r0); - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + s.width___36789 = (r0); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___20664); + r0 = (s.tmp_2 - s.width___36789); s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___1806; + s.tmp_4.arg0 = globals.font8___24117; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charHeight"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charHeight"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 141; s.pc = 6; return s.tmp_4; } + else { s.callLocIdx = 913; s.pc = 6; return s.tmp_4; } } case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4412.fields["borderColor"]; + r0 = globals.infoState___26727.fields["borderColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 142; s.pc = 5; return s.tmp_0; + s.callLocIdx = 914; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___20664); + r0 = (s.tmp_2 - s.width___36789); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___1806; + s.tmp_4.arg0 = globals.font8___24117; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charHeight"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charHeight"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 143; s.pc = 8; return s.tmp_4; } + else { s.callLocIdx = 915; s.pc = 8; return s.tmp_4; } } case 8: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4412.fields["bgColor"]; + r0 = globals.infoState___26727.fields["bgColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 144; s.pc = 7; return s.tmp_0; + s.callLocIdx = 916; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.num___20660; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.num___36785; + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___20664); + r0 = (s.tmp_1 - s.width___36789); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.offsetY___20651; - r0 = globals.infoState___4412.fields["fontColor"]; + s.tmp_0.arg3 = s.offsetY___36776; + r0 = globals.infoState___26727.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___20650; + s.tmp_0.arg5 = s.font___36775; s.tmp_0.arg6 = undefined; - s.callLocIdx = 145; s.pc = 9; return s.tmp_0; + s.callLocIdx = 917; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawScore__P2434.info = {"start":27710,"length":1048,"line":881,"column":8,"endLine":919,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} +info_PlayerInfo_drawScore__P24745.info = {"start":27710,"length":1048,"line":881,"column":8,"endLine":919,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} -function info_PlayerInfo_drawScore__P2434_mk(s) { +function info_PlayerInfo_drawScore__P24745_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawScore__P2434, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawScore__P24745, 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___20646: undefined, - font___20650: undefined, - offsetY___20651: undefined, - num___20660: undefined, - width___20664: undefined, + s___36771: undefined, + font___36775: undefined, + offsetY___36776: undefined, + num___36785: undefined, + width___36789: undefined, arg0: undefined, } } @@ -24929,7 +24929,7 @@ function info_PlayerInfo_drawScore__P2434_mk(s) { -function info_PlayerInfo_score__P2422(s) { +function info_PlayerInfo_score__P24733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24939,13 +24939,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___20018 = undefined; + s.state___36143 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); r0 = s.arg0.fields["showScore"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -24964,35 +24964,35 @@ switch (step) { r0 = (s.arg0).fields["showPlayer"] = (true); case 3: case 4: - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 116; s.pc = 7; return s.tmp_0; + s.callLocIdx = 888; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.state___20018 = (r0); - r0 = s.state___20018.fields["score"]; + s.state___36143 = (r0); + r0 = s.state___36143.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.state___20018).fields["score"] = (0); + r0 = (s.state___36143).fields["score"] = (0); case 5: case 6: - r0 = s.state___20018.fields["score"]; + r0 = s.state___36143.fields["score"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_score__P2422.info = {"start":18932,"length":314,"line":621,"column":8,"endLine":630,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} +info_PlayerInfo_score__P24733.info = {"start":18932,"length":314,"line":621,"column":8,"endLine":630,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} -function info_PlayerInfo_score__P2422_mk(s) { +function info_PlayerInfo_score__P24733_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_score__P2422, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_score__P24733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___20018: undefined, + state___36143: undefined, arg0: undefined, } } @@ -25000,7 +25000,7 @@ function info_PlayerInfo_score__P2422_mk(s) { -function info_PlayerInfo_drawPlayer__P2433(s) { +function info_PlayerInfo_drawPlayer__P24744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25010,44 +25010,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___20736 = undefined; - s.font___20739 = undefined; - s.score___20741 = undefined; - s.life___20742 = undefined; - s.height___20743 = undefined; - s.scoreWidth___20744 = undefined; - s.lifeWidth___20745 = undefined; - s.offsetY___20748 = undefined; - s.showScore___20749 = undefined; - s.showLife___20757 = undefined; - s.width___20825 = undefined; - s.x___20835 = undefined; - s.y___20842 = undefined; - s.bump___20875 = undefined; - s.xLoc___20900 = undefined; - s.mult___20911 = undefined; - s.pNum___20973 = undefined; - s.iconWidth___20980 = undefined; - s.iconHeight___20988 = undefined; - s.iconX___20996 = undefined; - s.iconY___21008 = undefined; + s.state___36861 = undefined; + s.font___36864 = undefined; + s.score___36866 = undefined; + s.life___36867 = undefined; + s.height___36868 = undefined; + s.scoreWidth___36869 = undefined; + s.lifeWidth___36870 = undefined; + s.offsetY___36873 = undefined; + s.showScore___36874 = undefined; + s.showLife___36882 = undefined; + s.width___36950 = undefined; + s.x___36960 = undefined; + s.y___36967 = undefined; + s.bump___37000 = undefined; + s.xLoc___37025 = undefined; + s.mult___37036 = undefined; + s.pNum___37098 = undefined; + s.iconWidth___37105 = undefined; + s.iconHeight___37113 = undefined; + s.iconX___37121 = undefined; + s.iconY___37133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 122; s.pc = 43; return s.tmp_0; + s.callLocIdx = 894; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.state___20736 = (r0); - s.font___20739 = (globals.font5___1811); - s.height___20743 = (4); - s.scoreWidth___20744 = (0); - s.lifeWidth___20745 = (0); - s.offsetY___20748 = (2); + s.state___36861 = (r0); + s.font___36864 = (globals.font5___24122); + s.height___36868 = (4); + s.scoreWidth___36869 = (0); + s.lifeWidth___36870 = (0); + s.offsetY___36873 = (2); r0 = s.arg0.fields["showScore"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -25055,13 +25055,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___20736.fields["score"]; + r0 = s.state___36861.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.showScore___20749 = (s.tmp_2); + s.showScore___36874 = (s.tmp_2); r0 = s.arg0.fields["showLife"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -25069,18 +25069,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.state___20736.fields["life"]; + r0 = s.state___36861.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.showLife___20757 = (s.tmp_2); - r0 = pxsim_numops_toBoolDecr(s.showScore___20749); + s.showLife___36882 = (s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.showScore___36874); if (!r0) { step = 5; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_0 = r0; - r0 = s.state___20736.fields["score"]; + r0 = s.state___36861.fields["score"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 44); @@ -25092,18 +25092,18 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.score___20741 = (r0); - r0 = pxsim_String_.length(s.score___20741); + s.score___36866 = (r0); + r0 = pxsim_String_.length(s.score___36866); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___20739; + s.tmp_3.arg0 = s.font___36864; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charWidth"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charWidth"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 123; s.pc = 45; return s.tmp_3; } + else { s.callLocIdx = 895; s.pc = 45; return s.tmp_3; } } case 45: r0 = s.retval; @@ -25111,33 +25111,33 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.scoreWidth___20744 = (r0); - s.tmp_0 = r0 = s.height___20743; + s.scoreWidth___36869 = (r0); + s.tmp_0 = r0 = s.height___36868; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___20739; + s.tmp_2.arg0 = s.font___36864; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charHeight"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charHeight"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 124; s.pc = 46; return s.tmp_2; } + else { s.callLocIdx = 896; s.pc = 46; return s.tmp_2; } } case 46: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___20743 = (r0); - s.tmp_0 = r0 = s.offsetY___20748; + s.height___36868 = (r0); + s.tmp_0 = r0 = s.offsetY___36873; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.font___20739; + s.tmp_3.arg0 = s.font___36864; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 125; s.pc = 47; return s.tmp_3; } + else { s.callLocIdx = 897; s.pc = 47; return s.tmp_3; } } case 47: r0 = s.retval; @@ -25145,12 +25145,12 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.offsetY___20748 = (r0); + s.offsetY___36873 = (r0); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(s.showLife___20757); + r0 = pxsim_numops_toBoolDecr(s.showLife___36882); if (!r0) { step = 9; continue; } - r0 = s.state___20736.fields["life"]; + r0 = s.state___36861.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -25173,28 +25173,28 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.life___20742 = (r0); - r0 = globals.infoState___4412.fields["heartImage"]; + s.life___36867 = (r0); + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_String_.length(s.life___20742); + r0 = pxsim_String_.length(s.life___36867); s.tmp_7 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = s.font___20739; + s.tmp_9.arg0 = s.font___36864; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["charWidth"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["charWidth"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 126; s.pc = 49; return s.tmp_9; } + else { s.callLocIdx = 898; s.pc = 49; return s.tmp_9; } } case 49: r0 = s.retval; @@ -25204,44 +25204,44 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.lifeWidth___20745 = (r0); - s.tmp_0 = r0 = s.height___20743; - r0 = globals.infoState___4412.fields["heartImage"]; + s.lifeWidth___36870 = (r0); + s.tmp_0 = r0 = s.height___36868; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___20743 = (r0); + s.height___36868 = (r0); case 9: case 10: - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.scoreWidth___20744; - s.tmp_0.arg1 = s.lifeWidth___20745; - s.callLocIdx = 127; s.pc = 50; return s.tmp_0; + s.tmp_0 = Math_max__P22441_mk(s); + s.tmp_0.arg0 = s.scoreWidth___36869; + s.tmp_0.arg1 = s.lifeWidth___36870; + s.callLocIdx = 899; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.width___20825 = (r0); - s.tmp_0 = r0 = s.showScore___20749; + s.width___36950 = (r0); + s.tmp_0 = r0 = s.showScore___36874; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = s.showLife___20757; + r0 = s.showLife___36882; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - r0 = (s.height___20743 + 1); - s.height___20743 = (r0); + r0 = (s.height___36868 + 1); + s.height___36868 = (r0); case 13: case 14: r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = s.width___20825; + r0 = s.width___36950; { step = 16; continue; } case 15: r0 = 0; @@ -25251,12 +25251,12 @@ switch (step) { r0 = s.arg0.fields["x"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.x___20835 = (r0); + s.x___36960 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = s.height___20743; + r0 = s.height___36868; { step = 18; continue; } case 17: r0 = 0; @@ -25266,139 +25266,139 @@ switch (step) { r0 = s.arg0.fields["y"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.y___20842 = (r0); - s.tmp_0 = r0 = s.showScore___20749; + s.y___36967 = (r0); + s.tmp_0 = r0 = s.showScore___36874; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 19; continue; } r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = s.showLife___20757; + r0 = s.showLife___36882; case 20: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 21; continue; } - s.tmp_2 = helpers_imageFillRect__P1789_mk(s); - s.tmp_2.arg0 = globals.screen___1863; - s.tmp_2.arg1 = s.x___20835; - s.tmp_2.arg2 = s.y___20842; - s.tmp_2.arg3 = s.width___20825; - s.tmp_2.arg4 = s.height___20743; + s.tmp_2 = helpers_imageFillRect__P24100_mk(s); + s.tmp_2.arg0 = globals.screen___24174; + s.tmp_2.arg1 = s.x___36960; + s.tmp_2.arg2 = s.y___36967; + s.tmp_2.arg3 = s.width___36950; + s.tmp_2.arg4 = s.height___36868; r0 = s.arg0.fields["border"]; s.tmp_2.arg5 = r0; - s.callLocIdx = 128; s.pc = 51; return s.tmp_2; + s.callLocIdx = 900; s.pc = 51; return s.tmp_2; case 51: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - r0 = (s.x___20835 + 1); + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + r0 = (s.x___36960 + 1); s.tmp_0.arg1 = r0; - r0 = (s.y___20842 + 1); + r0 = (s.y___36967 + 1); s.tmp_0.arg2 = r0; - r0 = (s.width___20825 - 2); + r0 = (s.width___36950 - 2); s.tmp_0.arg3 = r0; - r0 = (s.height___20743 - 2); + r0 = (s.height___36868 - 2); s.tmp_0.arg4 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 129; s.pc = 52; return s.tmp_0; + s.callLocIdx = 901; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; case 21: case 22: - r0 = pxsim_numops_toBoolDecr(s.showScore___20749); + r0 = pxsim_numops_toBoolDecr(s.showScore___36874); if (!r0) { step = 25; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - r0 = (s.width___20825 - s.scoreWidth___20744); + r0 = (s.width___36950 - s.scoreWidth___36869); { step = 24; continue; } case 23: r0 = 0; case 24: // jmp value (already in r0) s.tmp_1 = r0; - s.bump___20875 = (s.tmp_1); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.score___20741; - r0 = (s.x___20835 + 1); + s.bump___37000 = (s.tmp_1); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.score___36866; + r0 = (s.x___36960 + 1); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bump___20875); + r0 = (s.tmp_2 + s.bump___37000); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___20842 + 2); + r0 = (s.y___36967 + 2); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___20739; + s.tmp_0.arg5 = s.font___36864; s.tmp_0.arg6 = undefined; - s.callLocIdx = 130; s.pc = 53; return s.tmp_0; + s.callLocIdx = 902; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; case 25: case 26: - r0 = pxsim_numops_toBoolDecr(s.showLife___20757); + r0 = pxsim_numops_toBoolDecr(s.showLife___36882); if (!r0) { step = 29; continue; } r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (s.width___20825 - s.lifeWidth___20745); + r0 = (s.width___36950 - s.lifeWidth___36870); { step = 28; continue; } case 27: r0 = 0; case 28: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___20835 + 1); + r0 = (s.x___36960 + 1); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.xLoc___20900 = (r0); - r0 = globals.infoState___4412.fields["multiplierImage"]; + s.xLoc___37025 = (r0); + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___20911 = (r0); + s.mult___37036 = (r0); r0 = s.arg0.fields["fc"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___20911, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___1863; - r0 = globals.infoState___4412.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___37036, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___24174; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.xLoc___20900; - r0 = (s.y___20842 + s.offsetY___20748); + s.tmp_2 = r0 = s.xLoc___37025; + r0 = (s.y___36967 + s.offsetY___36873); s.tmp_3 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_3); - s.tmp_0 = r0 = globals.screen___1863; - s.tmp_1 = r0 = s.mult___20911; - s.tmp_3 = r0 = s.xLoc___20900; - r0 = globals.infoState___4412.fields["heartImage"]; + s.tmp_0 = r0 = globals.screen___24174; + s.tmp_1 = r0 = s.mult___37036; + s.tmp_3 = r0 = s.xLoc___37025; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = (s.y___20842 + s.offsetY___20748); + r0 = (s.y___36967 + s.offsetY___36873); s.tmp_9 = r0; s.tmp_11 = if_charHeight_1_mk(s); - s.tmp_11.arg0 = s.font___20739; + s.tmp_11.arg0 = s.font___36864; if (!s.tmp_11.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); } else { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 131; s.pc = 54; return s.tmp_11; } + else { s.callLocIdx = 903; s.pc = 54; return s.tmp_11; } } case 54: r0 = s.retval; s.tmp_10 = r0; r0 = (s.tmp_9 + s.tmp_10); s.tmp_8 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; @@ -25407,17 +25407,17 @@ switch (step) { r0 = (s.tmp_7 - 1); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.life___20742; - s.tmp_3 = r0 = s.xLoc___20900; - r0 = globals.infoState___4412.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.life___36867; + s.tmp_3 = r0 = s.xLoc___37025; + r0 = globals.infoState___26727.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = globals.infoState___4412.fields["multiplierImage"]; + r0 = globals.infoState___26727.fields["multiplierImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -25425,13 +25425,13 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___20842 + s.offsetY___20748); + r0 = (s.y___36967 + s.offsetY___36873); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___20739; + s.tmp_0.arg5 = s.font___36864; s.tmp_0.arg6 = undefined; - s.callLocIdx = 132; s.pc = 55; return s.tmp_0; + s.callLocIdx = 904; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; case 29: @@ -25454,18 +25454,18 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.pNum___20973 = (r0); - r0 = pxsim_String_.length(s.pNum___20973); + s.pNum___37098 = (r0); + r0 = pxsim_String_.length(s.pNum___37098); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___20739; + s.tmp_3.arg0 = s.font___36864; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charWidth"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charWidth"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 133; s.pc = 57; return s.tmp_3; } + else { s.callLocIdx = 905; s.pc = 57; return s.tmp_3; } } case 57: r0 = s.retval; @@ -25473,46 +25473,46 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.iconWidth___20980 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.height___20743; + s.iconWidth___37105 = (r0); + s.tmp_0 = Math_max__P22441_mk(s); + s.tmp_0.arg0 = s.height___36868; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___20739; + s.tmp_2.arg0 = s.font___36864; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charHeight"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charHeight"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 134; s.pc = 59; return s.tmp_2; } + else { s.callLocIdx = 906; s.pc = 59; return s.tmp_2; } } case 59: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg1 = r0; - s.callLocIdx = 135; s.pc = 58; return s.tmp_0; + s.callLocIdx = 907; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.iconHeight___20988 = (r0); + s.iconHeight___37113 = (r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = (s.x___20835 - s.iconWidth___20980); + r0 = (s.x___36960 - s.iconWidth___37105); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); { step = 32; continue; } case 31: - r0 = (s.x___20835 + s.width___20825); + r0 = (s.x___36960 + s.width___36950); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); case 32: // jmp value (already in r0) s.tmp_3 = r0; - s.iconX___20996 = (s.tmp_3); - s.iconY___21008 = (s.y___20842); - r0 = pxsim_numops_toBoolDecr(s.showScore___20749); + s.iconX___37121 = (s.tmp_3); + s.iconY___37133 = (s.y___36967); + r0 = pxsim_numops_toBoolDecr(s.showScore___36874); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25521,7 +25521,7 @@ switch (step) { r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = pxsim_numops_toBoolDecr(s.showLife___20757); + r0 = pxsim_numops_toBoolDecr(s.showLife___36882); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 34: @@ -25540,48 +25540,48 @@ switch (step) { case 36: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.iconX___20996 + s.tmp_5); - s.iconX___20996 = (r0); + r0 = (s.iconX___37121 + s.tmp_5); + s.iconX___37121 = (r0); r0 = s.arg0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = (s.iconY___21008 - 3); - s.iconY___21008 = (r0); + r0 = (s.iconY___37133 - 3); + s.iconY___37133 = (r0); case 37: case 38: case 39: case 40: - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.iconX___20996; - s.tmp_0.arg2 = s.iconY___21008; - s.tmp_0.arg3 = s.iconWidth___20980; - s.tmp_0.arg4 = s.iconHeight___20988; + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.iconX___37121; + s.tmp_0.arg2 = s.iconY___37133; + s.tmp_0.arg3 = s.iconWidth___37105; + s.tmp_0.arg4 = s.iconHeight___37113; r0 = s.arg0.fields["border"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 136; s.pc = 60; return s.tmp_0; + s.callLocIdx = 908; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_0.arg1 = s.pNum___20973; - r0 = (s.iconX___20996 + 1); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_0.arg1 = s.pNum___37098; + r0 = (s.iconX___37121 + 1); s.tmp_0.arg2 = r0; - s.tmp_2 = r0 = s.iconY___21008; - r0 = (s.iconHeight___20988 >> 1); + s.tmp_2 = r0 = s.iconY___37133; + r0 = (s.iconHeight___37113 >> 1); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; s.tmp_6 = if_charHeight_1_mk(s); - s.tmp_6.arg0 = s.font___20739; + s.tmp_6.arg0 = s.font___36864; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charHeight"); } else { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charHeight"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charHeight"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 137; s.pc = 62; return s.tmp_6; } + else { s.callLocIdx = 909; s.pc = 62; return s.tmp_6; } } case 62: r0 = s.retval; @@ -25592,9 +25592,9 @@ switch (step) { s.tmp_0.arg3 = r0; r0 = s.arg0.fields["bg"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___20739; + s.tmp_0.arg5 = s.font___36864; s.tmp_0.arg6 = undefined; - s.callLocIdx = 138; s.pc = 61; return s.tmp_0; + s.callLocIdx = 910; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; case 41: @@ -25603,12 +25603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawPlayer__P2433.info = {"start":24065,"length":3635,"line":776,"column":8,"endLine":879,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} +info_PlayerInfo_drawPlayer__P24744.info = {"start":24065,"length":3635,"line":776,"column":8,"endLine":879,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} -function info_PlayerInfo_drawPlayer__P2433_mk(s) { +function info_PlayerInfo_drawPlayer__P24744_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawPlayer__P2433, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawPlayer__P24744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25624,27 +25624,27 @@ function info_PlayerInfo_drawPlayer__P2433_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - state___20736: undefined, - font___20739: undefined, - score___20741: undefined, - life___20742: undefined, - height___20743: undefined, - scoreWidth___20744: undefined, - lifeWidth___20745: undefined, - offsetY___20748: undefined, - showScore___20749: undefined, - showLife___20757: undefined, - width___20825: undefined, - x___20835: undefined, - y___20842: undefined, - bump___20875: undefined, - xLoc___20900: undefined, - mult___20911: undefined, - pNum___20973: undefined, - iconWidth___20980: undefined, - iconHeight___20988: undefined, - iconX___20996: undefined, - iconY___21008: undefined, + state___36861: undefined, + font___36864: undefined, + score___36866: undefined, + life___36867: undefined, + height___36868: undefined, + scoreWidth___36869: undefined, + lifeWidth___36870: undefined, + offsetY___36873: undefined, + showScore___36874: undefined, + showLife___36882: undefined, + width___36950: undefined, + x___36960: undefined, + y___36967: undefined, + bump___37000: undefined, + xLoc___37025: undefined, + mult___37036: undefined, + pNum___37098: undefined, + iconWidth___37105: undefined, + iconHeight___37113: undefined, + iconX___37121: undefined, + iconY___37133: undefined, arg0: undefined, } } @@ -25652,7 +25652,7 @@ function info_PlayerInfo_drawPlayer__P2433_mk(s) { -function info_PlayerInfo_raiseLifeZero__P2432(s) { +function info_PlayerInfo_raiseLifeZero__P24743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25662,21 +25662,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___20714 = undefined; + s.state___36839 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 119; s.pc = 9; return s.tmp_0; + s.callLocIdx = 891; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___20714 = (r0); - r0 = s.state___20714.fields["life"]; + s.state___36839 = (r0); + r0 = s.state___36839.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== null); s.tmp_0 = r0; @@ -25685,7 +25685,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___20714.fields["life"]; + r0 = s.state___36839.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 <= 0); case 2: @@ -25693,21 +25693,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - r0 = (s.state___20714).fields["life"] = (null); - r0 = s.state___20714.fields["lifeZeroHandler"]; + r0 = (s.state___36839).fields["life"] = (null); + r0 = s.state___36839.fields["lifeZeroHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_lifeZeroHandler_1_mk(s); - s.tmp_1.arg0 = s.state___20714; + s.tmp_1.arg0 = s.state___36839; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "lifeZeroHandler"), 1); - s.callLocIdx = 120; s.pc = 10; return s.tmp_1; + s.callLocIdx = 892; s.pc = 10; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["lifeZeroHandler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["lifeZeroHandler"], 1); s.callLocIdx = 120; s.pc = 10; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 120; s.pc = 10; return s.tmp_1;; } - else { s.callLocIdx = 120; s.pc = 10; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["lifeZeroHandler"], 1); s.callLocIdx = 892; s.pc = 10; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 892; s.pc = 10; return s.tmp_1;; } + else { s.callLocIdx = 892; s.pc = 10; return s.tmp_1; } } case 10: r0 = s.retval; @@ -25715,10 +25715,10 @@ switch (step) { case 3: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 4; continue; } - s.tmp_0 = game_over__P2743_mk(s); + s.tmp_0 = game_over__P25054_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = undefined; - s.callLocIdx = 121; s.pc = 11; return s.tmp_0; + s.callLocIdx = 893; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 4: @@ -25730,18 +25730,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_raiseLifeZero__P2432.info = {"start":23681,"length":374,"line":764,"column":8,"endLine":774,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} +info_PlayerInfo_raiseLifeZero__P24743.info = {"start":23681,"length":374,"line":764,"column":8,"endLine":774,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} -function info_PlayerInfo_raiseLifeZero__P2432_mk(s) { +function info_PlayerInfo_raiseLifeZero__P24743_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_raiseLifeZero__P2432, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_raiseLifeZero__P24743, 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, - state___20714: undefined, + state___36839: undefined, arg0: undefined, arg1: undefined, } } @@ -25750,7 +25750,7 @@ function info_PlayerInfo_raiseLifeZero__P2432_mk(s) { -function info_PlayerInfo_hasLife__P2429(s) { +function info_PlayerInfo_hasLife__P24740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25760,20 +25760,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___20633 = undefined; + s.state___36758 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 118; s.pc = 3; return s.tmp_0; + s.callLocIdx = 890; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___20633 = (r0); - r0 = s.state___20633.fields["life"]; + s.state___36758 = (r0); + r0 = s.state___36758.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -25782,7 +25782,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___20633.fields["life"]; + r0 = s.state___36758.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 !== null); case 2: @@ -25792,18 +25792,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasLife__P2429.info = {"start":22386,"length":141,"line":729,"column":8,"endLine":732,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} +info_PlayerInfo_hasLife__P24740.info = {"start":22386,"length":141,"line":729,"column":8,"endLine":732,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} -function info_PlayerInfo_hasLife__P2429_mk(s) { +function info_PlayerInfo_hasLife__P24740_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasLife__P2429, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasLife__P24740, 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, - state___20633: undefined, + state___36758: undefined, arg0: undefined, } } @@ -25811,7 +25811,7 @@ function info_PlayerInfo_hasLife__P2429_mk(s) { -function info_PlayerInfo_hasScore__P2425(s) { +function info_PlayerInfo_hasScore__P24736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25821,34 +25821,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___20030 = undefined; + s.state___36155 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2420_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P24731_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 117; s.pc = 1; return s.tmp_0; + s.callLocIdx = 889; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___20030 = (r0); - r0 = s.state___20030.fields["score"]; + s.state___36155 = (r0); + r0 = s.state___36155.fields["score"]; s.tmp_0 = r0; r0 = (s.tmp_0 !== undefined); return leave(s, r0) default: oops() } } } -info_PlayerInfo_hasScore__P2425.info = {"start":20562,"length":111,"line":670,"column":8,"endLine":673,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} +info_PlayerInfo_hasScore__P24736.info = {"start":20562,"length":111,"line":670,"column":8,"endLine":673,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} -function info_PlayerInfo_hasScore__P2425_mk(s) { +function info_PlayerInfo_hasScore__P24736_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_hasScore__P2425, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_hasScore__P24736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___20030: undefined, + state___36155: undefined, arg0: undefined, } } @@ -25856,7 +25856,7 @@ function info_PlayerInfo_hasScore__P2425_mk(s) { -function info_PlayerState_constructor__P2380(s) { +function info_PlayerState_constructor__P24691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25871,17 +25871,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerState__C2375_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerState__C24686_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -info_PlayerState_constructor__P2380.info = {"start":936,"length":17,"line":37,"column":8,"endLine":37,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_PlayerState_constructor__P24691.info = {"start":936,"length":17,"line":37,"column":8,"endLine":37,"endColumn":25,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_PlayerState_constructor__P2380_mk(s) { +function info_PlayerState_constructor__P24691_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerState_constructor__P2380, depth: s.depth + 1, + parent: s, fn: info_PlayerState_constructor__P24691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25890,7 +25890,7 @@ function info_PlayerState_constructor__P2380_mk(s) { -function info_highScore__P2385(s) { +function info_highScore__P24696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25900,9 +25900,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P1897_mk(s); + s.tmp_1 = settings_readNumber__P24208_mk(s); s.tmp_1.arg0 = "high-score"; - s.callLocIdx = 98; s.pc = 3; return s.tmp_1; + s.callLocIdx = 870; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -25919,12 +25919,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_highScore__P2385.info = {"start":7766,"length":98,"line":263,"column":4,"endLine":265,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} +info_highScore__P24696.info = {"start":7766,"length":98,"line":263,"column":4,"endLine":265,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} -function info_highScore__P2385_mk(s) { +function info_highScore__P24696_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_highScore__P2385, depth: s.depth + 1, + parent: s, fn: info_highScore__P24696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25935,7 +25935,7 @@ function info_highScore__P2385_mk(s) { -function settings_readNumber__P1897(s) { +function settings_readNumber__P24208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25945,15 +25945,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___12966 = undefined; - s.nums___12973 = undefined; + s.buf___36049 = undefined; + s.nums___36056 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___12966 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___12966); + s.buf___36049 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___36049); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25963,20 +25963,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P183_mk(s); - s.tmp_2.arg0 = s.buf___12966; + s.tmp_2 = msgpack_unpackNumberArray__P22494_mk(s); + s.tmp_2.arg0 = s.buf___36049; s.tmp_2.arg1 = 0; - s.callLocIdx = 124; s.pc = 8; return s.tmp_2; + s.callLocIdx = 172; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___12973 = (r0); - s.tmp_0 = r0 = s.nums___12973; + s.nums___36056 = (r0); + s.tmp_0 = r0 = s.nums___36056; 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___12973); + r0 = pxsim_Array__length(s.nums___36056); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -25984,7 +25984,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___12973, 0); + r0 = pxsim_Array__getAt(s.nums___36056, 0); { step = 7; continue; } case 4: case 5: @@ -25996,18 +25996,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P1897.info = {"start":3283,"length":313,"line":131,"column":4,"endLine":141,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} +settings_readNumber__P24208.info = {"start":3283,"length":313,"line":131,"column":4,"endLine":141,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} -function settings_readNumber__P1897_mk(s) { +function settings_readNumber__P24208_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P1897, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P24208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___12966: undefined, - nums___12973: undefined, + buf___36049: undefined, + nums___36056: undefined, arg0: undefined, } } @@ -26015,7 +26015,7 @@ function settings_readNumber__P1897_mk(s) { -function settings_readBuffer__P1894(s) { +function settings_readBuffer__P24205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26033,12 +26033,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P1894.info = {"start":2694,"length":72,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} +settings_readBuffer__P24205.info = {"start":2694,"length":72,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} -function settings_readBuffer__P1894_mk(s) { +function settings_readBuffer__P24205_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P1894, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P24205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26047,7 +26047,7 @@ function settings_readBuffer__P1894_mk(s) { -function msgpack_unpackNumberArray__P183(s) { +function msgpack_unpackNumberArray__P22494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26057,16 +26057,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___12986 = undefined; - s.fmt___12993 = undefined; - s.v___13002 = undefined; + s.res___36069 = undefined; + s.fmt___36076 = undefined; + s.v___36085 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___12986 = (r0); + s.res___36069 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -26078,14 +26078,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P4100_mk(s); + s.tmp_4 = msgpack_tagFormat__P26415_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; + s.callLocIdx = 24; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___12993 = (r0); - r0 = (s.fmt___12993 === null); + s.fmt___36076 = (r0); + r0 = (s.fmt___36076 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -26093,21 +26093,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___13002 = (r0); - r0 = (-31 <= s.v___13002); + s.v___36085 = (r0); + r0 = (-31 <= s.v___36085); 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___13002 <= 127); + r0 = (s.v___36085 <= 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___12986, s.v___13002); + r0 = pxsim_Array__push(s.res___36069, s.v___36085); { step = 5; continue; } case 4: r0 = null; @@ -26115,14 +26115,14 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___12986; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___12993, s.arg1); + s.tmp_0 = r0 = s.res___36069; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___36076, s.arg1); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = pins_sizeOf__P175_mk(s); - s.tmp_2.arg0 = s.fmt___12993; - s.callLocIdx = 20; s.pc = 13; return s.tmp_2; + s.tmp_2 = pins_sizeOf__P22486_mk(s); + s.tmp_2.arg0 = s.fmt___36076; + s.callLocIdx = 25; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -26142,26 +26142,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___12986; + r0 = s.res___36069; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P183.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__P22494.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__P183_mk(s) { +function msgpack_unpackNumberArray__P22494_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P183, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P22494, 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___12986: undefined, - fmt___12993: undefined, - v___13002: undefined, + res___36069: undefined, + fmt___36076: undefined, + v___36085: undefined, arg0: undefined, arg1: undefined, } } @@ -26170,7 +26170,7 @@ function msgpack_unpackNumberArray__P183_mk(s) { -function msgpack_tagFormat__P4100(s) { +function msgpack_tagFormat__P26415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26230,12 +26230,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P4100.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__P26415.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__P4100_mk(s) { +function msgpack_tagFormat__P26415_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P4100, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P26415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26245,7 +26245,7 @@ function msgpack_tagFormat__P4100_mk(s) { -function pins_sizeOf__P175(s) { +function pins_sizeOf__P22486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26259,20 +26259,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P215_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P22526_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 16; s.pc = 1; return s.tmp_0; + s.callLocIdx = 21; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -pins_sizeOf__P175.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__P22486.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__P175_mk(s) { +function pins_sizeOf__P22486_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P175, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P22486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26282,7 +26282,7 @@ function pins_sizeOf__P175_mk(s) { -function Buffer_sizeOfNumberFormat__P215(s) { +function Buffer_sizeOfNumberFormat__P22526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26361,12 +26361,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P215.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__P22526.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__P215_mk(s) { +function Buffer_sizeOfNumberFormat__P22526_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P215, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P22526, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26376,7 +26376,7 @@ function Buffer_sizeOfNumberFormat__P215_mk(s) { -function info_saveHighScore__P2382(s) { +function info_saveHighScore__P24693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26386,54 +26386,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hs___19975 = undefined; - s.curr___19992 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.players___4413); + s.hs___35871 = undefined; + s.curr___35888 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.players___26728); if (!r0) { step = 5; continue; } r0 = pxsim_pxtrt.mklocRef(); - s.hs___19975 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hs___19975, 0); - r0 = pxsim_pxtcore_mkAction(1, info_saveHighScore_inline__P19985); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___19975); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_2.arg0 = globals.players___4413; - s.tmp_2.arg1 = forEach_inline__P19979; - s.callLocIdx = 92; s.pc = 8; return s.tmp_2; + s.hs___35871 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hs___35871, 0); + r0 = pxsim_pxtcore_mkAction(1, info_saveHighScore_inline__P35881); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___35871); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_2 = helpers_arrayFilter__P22421_mk(s); + s.tmp_2.arg0 = globals.players___26728; + s.tmp_2.arg1 = forEach_inline__P35875; + s.callLocIdx = 864; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 95; s.pc = 7; return s.tmp_1; + s.callLocIdx = 867; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.tmp_0 = settings_readNumber__P1897_mk(s); + s.tmp_0 = settings_readNumber__P24208_mk(s); s.tmp_0.arg0 = "high-score"; - s.callLocIdx = 96; s.pc = 9; return s.tmp_0; + s.callLocIdx = 868; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.curr___19992 = (r0); - r0 = (s.curr___19992 == null); + s.curr___35888 = (r0); + r0 = (s.curr___35888 == null); 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_pxtrt_ldlocRef(s.hs___19975); + r0 = pxsim_pxtrt_ldlocRef(s.hs___35871); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.curr___19992); + r0 = (s.tmp_1 > s.curr___35888); 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 = settings_writeNumber__P1892_mk(s); + s.tmp_3 = settings_writeNumber__P24203_mk(s); s.tmp_3.arg0 = "high-score"; - r0 = pxsim_pxtrt_ldlocRef(s.hs___19975); + r0 = pxsim_pxtrt_ldlocRef(s.hs___35871); s.tmp_3.arg1 = r0; - s.callLocIdx = 97; s.pc = 10; return s.tmp_3; + s.callLocIdx = 869; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; case 3: @@ -26444,26 +26444,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore__P2382.info = {"start":6867,"length":383,"line":227,"column":4,"endLine":237,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} +info_saveHighScore__P24693.info = {"start":6867,"length":383,"line":227,"column":4,"endLine":237,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} -function info_saveHighScore__P2382_mk(s) { +function info_saveHighScore__P24693_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore__P2382, depth: s.depth + 1, + parent: s, fn: info_saveHighScore__P24693, 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, - hs___19975: undefined, - curr___19992: undefined, + hs___35871: undefined, + curr___35888: undefined, } } -function forEach_inline__P19979(s) { +function forEach_inline__P35875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26483,9 +26483,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = info_PlayerInfo_hasScore__P2425_mk(s); + s.tmp_1 = info_PlayerInfo_hasScore__P24736_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 91; s.pc = 3; return s.tmp_1; + s.callLocIdx = 863; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -26495,12 +26495,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P19979.info = {"start":6992,"length":22,"line":231,"column":24,"endLine":231,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +forEach_inline__P35875.info = {"start":6992,"length":22,"line":231,"column":24,"endLine":231,"endColumn":46,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function forEach_inline__P19979_mk(s) { +function forEach_inline__P35875_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P19979, depth: s.depth + 1, + parent: s, fn: forEach_inline__P35875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26512,7 +26512,7 @@ function forEach_inline__P19979_mk(s) { -function info_saveHighScore_inline__P19985(s) { +function info_saveHighScore_inline__P35881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26527,16 +26527,16 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P22441_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2.arg0 = r0; - s.tmp_3 = info_PlayerInfo_score__P2422_mk(s); + s.tmp_3 = info_PlayerInfo_score__P24733_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 93; s.pc = 2; return s.tmp_3; + s.callLocIdx = 865; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2.arg1 = r0; - s.callLocIdx = 94; s.pc = 1; return s.tmp_2; + s.callLocIdx = 866; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -26545,12 +26545,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore_inline__P19985.info = {"start":7041,"length":33,"line":232,"column":25,"endLine":232,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_saveHighScore_inline__P35881.info = {"start":7041,"length":33,"line":232,"column":25,"endLine":232,"endColumn":58,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_saveHighScore_inline__P19985_mk(s) { +function info_saveHighScore_inline__P35881_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore_inline__P19985, depth: s.depth + 1, + parent: s, fn: info_saveHighScore_inline__P35881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26563,7 +26563,7 @@ function info_saveHighScore_inline__P19985_mk(s) { -function settings_writeNumber__P1892(s) { +function settings_writeNumber__P24203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26581,27 +26581,27 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P1889_mk(s); + s.tmp_1 = settings_writeBuffer__P24200_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P184_mk(s); + s.tmp_2 = msgpack_packNumberArray__P22495_mk(s); s.tmp_2.arg0 = s.tmp_0; - s.callLocIdx = 120; s.pc = 2; return s.tmp_2; + s.callLocIdx = 168; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg1 = r0; - s.callLocIdx = 121; s.pc = 1; return s.tmp_1; + s.callLocIdx = 169; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeNumber__P1892.info = {"start":2265,"length":122,"line":89,"column":4,"endLine":91,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} +settings_writeNumber__P24203.info = {"start":2265,"length":122,"line":89,"column":4,"endLine":91,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} -function settings_writeNumber__P1892_mk(s) { +function settings_writeNumber__P24203_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P1892, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P24203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26614,7 +26614,7 @@ function settings_writeNumber__P1892_mk(s) { -function settings_writeBuffer__P1889(s) { +function settings_writeBuffer__P24200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26641,12 +26641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P1889.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__P24200.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__P1889_mk(s) { +function settings_writeBuffer__P24200_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P1889, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P24200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26657,7 +26657,7 @@ function settings_writeBuffer__P1889_mk(s) { -function msgpack_packNumberArray__P184(s) { +function msgpack_packNumberArray__P22495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26667,100 +26667,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___12334 = undefined; - s.n___12336 = undefined; - s.unnamed50___U2 = undefined; - s.unnamed51___U3 = undefined; - s.buf___12346 = undefined; - s.n___12352 = undefined; - s.unnamed52___U6 = undefined; - s.unnamed53___U7 = undefined; + s.off___35909 = undefined; + s.n___35911 = undefined; + s.unnamed160___U2 = undefined; + s.unnamed161___U3 = undefined; + s.buf___35921 = undefined; + s.n___35927 = undefined; + s.unnamed162___U6 = undefined; + s.unnamed163___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___12334 = (0); - s.n___12336 = (undefined); - s.unnamed50___U2 = (s.arg0); - s.unnamed51___U3 = (0); + s.off___35909 = (0); + s.n___35911 = (undefined); + s.unnamed160___U2 = (s.arg0); + s.unnamed161___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed51___U3; - r0 = pxsim_Array__length(s.unnamed50___U2); + s.tmp_0 = r0 = s.unnamed161___U3; + r0 = pxsim_Array__length(s.unnamed160___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed50___U2, s.unnamed51___U3); - s.n___12336 = (r0); - s.tmp_2 = r0 = s.off___12334; - s.tmp_4 = msgpack_packNumberCore__P4101_mk(s); + r0 = pxsim_Array__getAt(s.unnamed160___U2, s.unnamed161___U3); + s.n___35911 = (r0); + s.tmp_2 = r0 = s.off___35909; + s.tmp_4 = msgpack_packNumberCore__P26416_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___12334; - s.tmp_4.arg2 = s.n___12336; - s.callLocIdx = 21; s.pc = 5; return s.tmp_4; + s.tmp_4.arg1 = s.off___35909; + s.tmp_4.arg2 = s.n___35911; + s.callLocIdx = 26; 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___12334 = (r0); - r0 = (s.unnamed51___U3 + 1); - s.unnamed51___U3 = (r0); + s.off___35909 = (r0); + r0 = (s.unnamed161___U3 + 1); + s.unnamed161___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed50___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___12334); - s.buf___12346 = (r0); - s.off___12334 = (0); - s.n___12352 = (undefined); - s.unnamed52___U6 = (s.arg0); - s.unnamed53___U7 = (0); + s.unnamed160___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___35909); + s.buf___35921 = (r0); + s.off___35909 = (0); + s.n___35927 = (undefined); + s.unnamed162___U6 = (s.arg0); + s.unnamed163___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed53___U7; - r0 = pxsim_Array__length(s.unnamed52___U6); + s.tmp_0 = r0 = s.unnamed163___U7; + r0 = pxsim_Array__length(s.unnamed162___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed52___U6, s.unnamed53___U7); - s.n___12352 = (r0); - s.tmp_2 = r0 = s.off___12334; - s.tmp_4 = msgpack_packNumberCore__P4101_mk(s); - s.tmp_4.arg0 = s.buf___12346; - s.tmp_4.arg1 = s.off___12334; - s.tmp_4.arg2 = s.n___12352; - s.callLocIdx = 22; s.pc = 6; return s.tmp_4; + r0 = pxsim_Array__getAt(s.unnamed162___U6, s.unnamed163___U7); + s.n___35927 = (r0); + s.tmp_2 = r0 = s.off___35909; + s.tmp_4 = msgpack_packNumberCore__P26416_mk(s); + s.tmp_4.arg0 = s.buf___35921; + s.tmp_4.arg1 = s.off___35909; + s.tmp_4.arg2 = s.n___35927; + s.callLocIdx = 27; 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___12334 = (r0); - r0 = (s.unnamed53___U7 + 1); - s.unnamed53___U7 = (r0); + s.off___35909 = (r0); + r0 = (s.unnamed163___U7 + 1); + s.unnamed163___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed52___U6 = (undefined); - r0 = s.buf___12346; + s.unnamed162___U6 = (undefined); + r0 = s.buf___35921; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P184.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__P22495.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__P184_mk(s) { +function msgpack_packNumberArray__P22495_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P184, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P22495, 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___12334: undefined, - n___12336: undefined, - unnamed50___U2: undefined, - unnamed51___U3: undefined, - buf___12346: undefined, - n___12352: undefined, - unnamed52___U6: undefined, - unnamed53___U7: undefined, + off___35909: undefined, + n___35911: undefined, + unnamed160___U2: undefined, + unnamed161___U3: undefined, + buf___35921: undefined, + n___35927: undefined, + unnamed162___U6: undefined, + unnamed163___U7: undefined, arg0: undefined, } } @@ -26768,7 +26768,7 @@ function msgpack_packNumberArray__P184_mk(s) { -function msgpack_packNumberCore__P4101(s) { +function msgpack_packNumberCore__P26416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26778,15 +26778,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___12366 = undefined; - s.fmt___12409 = undefined; + s.tag___35941 = undefined; + s.fmt___35984 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___12366 = (203); + s.tag___35941 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -26836,17 +26836,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___12366 = (204); + s.tag___35941 = (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___12366 = (205); + s.tag___35941 = (205); { step = 10; continue; } case 9: - s.tag___12366 = (206); + s.tag___35941 = (206); case 10: case 11: { step = 17; continue; } @@ -26855,42 +26855,42 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___12366 = (208); + s.tag___35941 = (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___12366 = (209); + s.tag___35941 = (209); { step = 15; continue; } case 14: - s.tag___12366 = (210); + s.tag___35941 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P4100_mk(s); - s.tmp_0.arg0 = s.tag___12366; - s.callLocIdx = 17; s.pc = 24; return s.tmp_0; + s.tmp_0 = msgpack_tagFormat__P26415_mk(s); + s.tmp_0.arg0 = s.tag___35941; + s.callLocIdx = 22; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___12409 = (r0); + s.fmt___35984 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___12366); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___35941); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___12409; + s.tmp_1 = r0 = s.fmt___35984; r0 = (s.arg1 + 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, s.tmp_1, s.tmp_2, s.arg2); case 21: case 22: - s.tmp_1 = pins_sizeOf__P175_mk(s); - s.tmp_1.arg0 = s.fmt___12409; - s.callLocIdx = 18; s.pc = 25; return s.tmp_1; + s.tmp_1 = pins_sizeOf__P22486_mk(s); + s.tmp_1.arg0 = s.fmt___35984; + s.callLocIdx = 23; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; @@ -26899,12 +26899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P4101.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__P26416.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__P4101_mk(s) { +function msgpack_packNumberCore__P26416_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P4101, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P26416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26914,8 +26914,8 @@ function msgpack_packNumberCore__P4101_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___12366: undefined, - fmt___12409: undefined, + tag___35941: undefined, + fmt___35984: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26925,7 +26925,7 @@ function msgpack_packNumberCore__P4101_mk(s) { -function info_saveAllScores__P2381(s) { +function info_saveAllScores__P24692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26935,57 +26935,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.allScoresKey___21099 = undefined; - s.allScores___21101 = undefined; - s.allScoresKey___21099 = ("all-scores"); - r0 = pxsim_numops_toBoolDecr(globals.players___4413); + s.allScoresKey___37224 = undefined; + s.allScores___37226 = undefined; + s.allScoresKey___37224 = ("all-scores"); + r0 = pxsim_numops_toBoolDecr(globals.players___26728); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayMap__P106_mk(s); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = globals.players___4413; - s.tmp_1.arg1 = map_inline__P21107; - s.callLocIdx = 87; s.pc = 4; return s.tmp_1; + s.tmp_0 = helpers_arrayMap__P22417_mk(s); + s.tmp_1 = helpers_arrayFilter__P22421_mk(s); + s.tmp_1.arg0 = globals.players___26728; + s.tmp_1.arg1 = map_inline__P37232; + s.callLocIdx = 859; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = info_saveAllScores_inline__P21111; - s.callLocIdx = 89; s.pc = 3; return s.tmp_0; + s.tmp_0.arg1 = info_saveAllScores_inline__P37236; + s.callLocIdx = 861; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.allScores___21101 = (r0); + s.allScores___37226 = (r0); { step = 2; continue; } case 1: r0 = pxsim_Array__mk(); - s.allScores___21101 = (r0); + s.allScores___37226 = (r0); case 2: - s.tmp_0 = settings_writeJSON__P1891_mk(s); - s.tmp_0.arg0 = s.allScoresKey___21099; - s.tmp_0.arg1 = s.allScores___21101; - s.callLocIdx = 90; s.pc = 5; return s.tmp_0; + s.tmp_0 = settings_writeJSON__P24202_mk(s); + s.tmp_0.arg0 = s.allScoresKey___37224; + s.tmp_0.arg1 = s.allScores___37226; + s.callLocIdx = 862; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -info_saveAllScores__P2381.info = {"start":6515,"length":346,"line":214,"column":4,"endLine":225,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveAllScores","argumentNames":[]} +info_saveAllScores__P24692.info = {"start":6515,"length":346,"line":214,"column":4,"endLine":225,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveAllScores","argumentNames":[]} -function info_saveAllScores__P2381_mk(s) { +function info_saveAllScores__P24692_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveAllScores__P2381, depth: s.depth + 1, + parent: s, fn: info_saveAllScores__P24692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - allScoresKey___21099: undefined, - allScores___21101: undefined, + allScoresKey___37224: undefined, + allScores___37226: undefined, } } -function map_inline__P21107(s) { +function map_inline__P37232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26999,20 +26999,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_hasScore__P2425_mk(s); + s.tmp_0 = info_PlayerInfo_hasScore__P24736_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 86; s.pc = 1; return s.tmp_0; + s.callLocIdx = 858; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -map_inline__P21107.info = {"start":6687,"length":23,"line":218,"column":39,"endLine":218,"endColumn":62,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} +map_inline__P37232.info = {"start":6687,"length":23,"line":218,"column":39,"endLine":218,"endColumn":62,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} -function map_inline__P21107_mk(s) { +function map_inline__P37232_mk(s) { checkStack(s.depth); return { - parent: s, fn: map_inline__P21107, depth: s.depth + 1, + parent: s, fn: map_inline__P37232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27022,7 +27022,7 @@ function map_inline__P21107_mk(s) { -function info_saveAllScores_inline__P21111(s) { +function info_saveAllScores_inline__P37236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27036,20 +27036,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_score__P2422_mk(s); + s.tmp_0 = info_PlayerInfo_score__P24733_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 88; s.pc = 1; return s.tmp_0; + s.callLocIdx = 860; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -info_saveAllScores_inline__P21111.info = {"start":6716,"length":20,"line":218,"column":68,"endLine":218,"endColumn":88,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} +info_saveAllScores_inline__P37236.info = {"start":6716,"length":20,"line":218,"column":68,"endLine":218,"endColumn":88,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} -function info_saveAllScores_inline__P21111_mk(s) { +function info_saveAllScores_inline__P37236_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveAllScores_inline__P21111, depth: s.depth + 1, + parent: s, fn: info_saveAllScores_inline__P37236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27059,7 +27059,7 @@ function info_saveAllScores_inline__P21111_mk(s) { -function settings_writeJSON__P1891(s) { +function settings_writeJSON__P24202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27074,29 +27074,29 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeString__P1890_mk(s); + s.tmp_0 = settings_writeString__P24201_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = JSON_stringify__P387_mk(s); + s.tmp_1 = JSON_stringify__P22698_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; - s.callLocIdx = 48; s.pc = 2; return s.tmp_1; + s.callLocIdx = 166; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 49; s.pc = 1; return s.tmp_0; + s.callLocIdx = 167; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeJSON__P1891.info = {"start":2092,"length":106,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeJSON","argumentNames":["key","value"]} +settings_writeJSON__P24202.info = {"start":2092,"length":106,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeJSON","argumentNames":["key","value"]} -function settings_writeJSON__P1891_mk(s) { +function settings_writeJSON__P24202_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeJSON__P1891, depth: s.depth + 1, + parent: s, fn: settings_writeJSON__P24202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27108,7 +27108,7 @@ function settings_writeJSON__P1891_mk(s) { -function settings_writeString__P1890(s) { +function settings_writeString__P24201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27123,23 +27123,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P1889_mk(s); + s.tmp_0 = settings_writeBuffer__P24200_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 119; s.pc = 1; return s.tmp_0; + s.callLocIdx = 165; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeString__P1890.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__P24201.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__P1890_mk(s) { +function settings_writeString__P24201_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P1890, depth: s.depth + 1, + parent: s, fn: settings_writeString__P24201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27150,7 +27150,7 @@ function settings_writeString__P1890_mk(s) { -function JSON_stringify__P387(s) { +function JSON_stringify__P22698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27160,16 +27160,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ss___21130 = undefined; + s.ss___37255 = 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(JSON_Stringifier__C4153_VT); - s.ss___21130 = (r0); - s.tmp_0 = r0 = s.ss___21130; + r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C26468_VT); + s.ss___37255 = (r0); + s.tmp_0 = r0 = s.ss___37255; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); @@ -27189,15 +27189,15 @@ switch (step) { s.arg2 = (10); case 3: case 4: - s.tmp_0 = r0 = s.ss___21130; + s.tmp_0 = r0 = s.ss___37255; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___21130; + s.tmp_0 = r0 = s.ss___37255; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___21130).fields["indent"] = (s.arg2); + r0 = (s.ss___37255).fields["indent"] = (s.arg2); case 5: s.tmp_0 = r0 = s.arg2; r0 = (s.tmp_0 - 1); @@ -27206,7 +27206,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 6; continue; } - s.tmp_2 = r0 = s.ss___21130; + s.tmp_2 = r0 = s.ss___37255; r0 = s.tmp_2.fields["indentStep"]; s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { @@ -27223,21 +27223,21 @@ switch (step) { r0 = (s.tmp_2).fields["indentStep"] = (s.tmp_3); { step = 5; continue; } case 6: - s.tmp_0 = JSON_Stringifier_go__P4155_mk(s); - s.tmp_0.arg0 = s.ss___21130; + s.tmp_0 = JSON_Stringifier_go__P26470_mk(s); + s.tmp_0.arg0 = s.ss___37255; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 7; s.pc = 8; return s.tmp_0; + s.callLocIdx = 50; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; return leave(s, r0) default: oops() } } } -JSON_stringify__P387.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} +JSON_stringify__P22698.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} -function JSON_stringify__P387_mk(s) { +function JSON_stringify__P22698_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_stringify__P387, depth: s.depth + 1, + parent: s, fn: JSON_stringify__P22698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27245,7 +27245,7 @@ function JSON_stringify__P387_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___21130: undefined, + ss___37255: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27255,7 +27255,7 @@ function JSON_stringify__P387_mk(s) { -function JSON_Stringifier_go__P4155(s) { +function JSON_Stringifier_go__P26470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27265,44 +27265,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___21171 = undefined; - s.arr___21195 = undefined; - s.r___21201 = undefined; - s.i___21218 = undefined; - s.keys___21282 = undefined; - s.r___21289 = undefined; - s.i___21306 = undefined; - s.k___21312 = undefined; + s.t___37296 = undefined; + s.arr___37320 = undefined; + s.r___37326 = undefined; + s.i___37343 = undefined; + s.keys___37407 = undefined; + s.r___37414 = undefined; + s.i___37431 = undefined; + s.k___37437 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C4153_VT)) failedCast(r0); + if (!checkSubtype(r0, JSON_Stringifier__C26468_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___21171 = (r0); - r0 = (s.t___21171 == "string"); + s.t___37296 = (r0); + r0 = (s.t___37296 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = JSON_Stringifier_doString__P4154_mk(s); + s.tmp_1 = JSON_Stringifier_doString__P26469_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 1; s.pc = 38; return s.tmp_1; + s.callLocIdx = 44; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; { step = 37; continue; } { step = 36; continue; } case 1: - r0 = (s.t___21171 == "boolean"); + r0 = (s.t___37296 == "boolean"); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (!r0) { step = 2; continue; } r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = (s.t___21171 == "number"); + r0 = (s.t___37296 == "number"); case 3: // jmp value (already in r0) s.tmp_3 = r0; @@ -27336,8 +27336,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 19; continue; } - s.arr___21195 = (s.arg1); - r0 = pxsim_Array__length(s.arr___21195); + s.arr___37320 = (s.arg1); + r0 = pxsim_Array__length(s.arr___37320); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -27347,7 +27347,7 @@ switch (step) { { step = 37; continue; } { step = 18; continue; } case 7: - s.r___21201 = ("["); + s.r___37326 = ("["); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -27378,34 +27378,34 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___21201) && (s.r___21201).vtable) { + if ((s.r___37326) && (s.r___37326).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___21201); + pxsim_String__stringConv(s.r___37326); checkResumeConsumed(); return; - } else { s.retval = (s.r___21201) + ""; } + } else { s.retval = (s.r___37326) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___21201 = (r0); + s.r___37326 = (r0); case 8: case 9: - s.i___21218 = (0); + s.i___37343 = (0); case 10: - s.tmp_1 = r0 = s.i___21218; - r0 = pxsim_Array__length(s.arr___21195); + s.tmp_1 = r0 = s.i___37343; + r0 = pxsim_Array__length(s.arr___37320); 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; } - if ((s.r___21201) && (s.r___21201).vtable) { + if ((s.r___37326) && (s.r___37326).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___21201); + pxsim_String__stringConv(s.r___37326); checkResumeConsumed(); return; - } else { s.retval = (s.r___21201) + ""; } + } else { s.retval = (s.r___37326) + ""; } case 43: r0 = s.retval; s.tmp_3 = r0; @@ -27420,11 +27420,11 @@ switch (step) { case 44: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = JSON_Stringifier_go__P4155_mk(s); + s.tmp_10 = JSON_Stringifier_go__P26470_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___21195, s.i___21218); + r0 = pxsim_Array__getAt(s.arr___37320, s.i___37343); s.tmp_10.arg1 = r0; - s.callLocIdx = 2; s.pc = 45; return s.tmp_10; + s.callLocIdx = 45; s.pc = 45; return s.tmp_10; case 45: r0 = s.retval; s.tmp_9 = r0; @@ -27449,9 +27449,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___21201 = (r0); - s.tmp_1 = r0 = s.i___21218; - r0 = pxsim_Array__length(s.arr___21195); + s.r___37326 = (r0); + s.tmp_1 = r0 = s.i___37343; + r0 = pxsim_Array__length(s.arr___37320); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -27459,38 +27459,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - if ((s.r___21201) && (s.r___21201).vtable) { + if ((s.r___37326) && (s.r___37326).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___21201); + pxsim_String__stringConv(s.r___37326); checkResumeConsumed(); return; - } else { s.retval = (s.r___21201) + ""; } + } else { s.retval = (s.r___37326) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___21201 = (r0); + s.r___37326 = (r0); case 11: case 12: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - if ((s.r___21201) && (s.r___21201).vtable) { + if ((s.r___37326) && (s.r___37326).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___21201); + pxsim_String__stringConv(s.r___37326); checkResumeConsumed(); return; - } else { s.retval = (s.r___21201) + ""; } + } else { s.retval = (s.r___37326) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___21201 = (r0); + s.r___37326 = (r0); case 13: case 14: - r0 = (s.i___21218 + 1); - s.i___21218 = (r0); + r0 = (s.i___37343 + 1); + s.i___37343 = (r0); { step = 10; continue; } case 15: r0 = s.arg0.fields["indent"]; @@ -27498,25 +27498,25 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = helpers_stringSlice__P22430_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; s.tmp_3.arg1 = r0; s.tmp_3.arg2 = undefined; - s.callLocIdx = 3; s.pc = 50; return s.tmp_3; + s.callLocIdx = 46; s.pc = 50; return s.tmp_3; case 50: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 16: case 17: - if ((s.r___21201) && (s.r___21201).vtable) { + if ((s.r___37326) && (s.r___37326).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___21201); + pxsim_String__stringConv(s.r___37326); checkResumeConsumed(); return; - } else { s.retval = (s.r___21201) + ""; } + } else { s.retval = (s.r___37326) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; @@ -27543,15 +27543,15 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___21201 = (r0); - r0 = s.r___21201; + s.r___37326 = (r0); + r0 = s.r___37326; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___21282 = (r0); - r0 = pxsim_Array__length(s.keys___21282); + s.keys___37407 = (r0); + r0 = pxsim_Array__length(s.keys___37407); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -27561,7 +27561,7 @@ switch (step) { { step = 37; continue; } case 20: case 21: - s.r___21289 = ("{"); + s.r___37414 = ("{"); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -27592,36 +27592,36 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___21289 = (r0); + s.r___37414 = (r0); case 22: case 23: - s.i___21306 = (0); + s.i___37431 = (0); case 24: - s.tmp_1 = r0 = s.i___21306; - r0 = pxsim_Array__length(s.keys___21282); + s.tmp_1 = r0 = s.i___37431; + r0 = pxsim_Array__length(s.keys___37407); 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 = 31; continue; } - r0 = pxsim_Array__getAt(s.keys___21282, s.i___21306); - s.k___21312 = (r0); - if ((s.r___21289) && (s.r___21289).vtable) { + r0 = pxsim_Array__getAt(s.keys___37407, s.i___37431); + s.k___37437 = (r0); + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 57: r0 = s.retval; s.tmp_0 = r0; @@ -27636,10 +27636,10 @@ switch (step) { case 58: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = JSON_Stringifier_doString__P4154_mk(s); + s.tmp_7 = JSON_Stringifier_doString__P26469_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___21312; - s.callLocIdx = 4; s.pc = 59; return s.tmp_7; + s.tmp_7.arg1 = s.k___37437; + s.callLocIdx = 47; s.pc = 59; return s.tmp_7; case 59: r0 = s.retval; s.tmp_6 = r0; @@ -27664,50 +27664,50 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___21289 = (r0); + s.r___37414 = (r0); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___21289 = (r0); + s.r___37414 = (r0); { step = 26; continue; } case 25: - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___21289 = (r0); + s.r___37414 = (r0); case 26: - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = JSON_Stringifier_go__P4155_mk(s); + s.tmp_3 = JSON_Stringifier_go__P26470_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___21312); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___37437); s.tmp_3.arg1 = r0; - s.callLocIdx = 5; s.pc = 65; return s.tmp_3; + s.callLocIdx = 48; s.pc = 65; return s.tmp_3; case 65: r0 = s.retval; s.tmp_2 = r0; @@ -27721,9 +27721,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___21289 = (r0); - s.tmp_1 = r0 = s.i___21306; - r0 = pxsim_Array__length(s.keys___21282); + s.r___37414 = (r0); + s.tmp_1 = r0 = s.i___37431; + r0 = pxsim_Array__length(s.keys___37407); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -27731,38 +27731,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___21289 = (r0); + s.r___37414 = (r0); case 27: case 28: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___21289 = (r0); + s.r___37414 = (r0); case 29: case 30: - r0 = (s.i___21306 + 1); - s.i___21306 = (r0); + r0 = (s.i___37431 + 1); + s.i___37431 = (r0); { step = 24; continue; } case 31: r0 = s.arg0.fields["indent"]; @@ -27770,25 +27770,25 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = helpers_stringSlice__P22430_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; s.tmp_3.arg1 = r0; s.tmp_3.arg2 = undefined; - s.callLocIdx = 6; s.pc = 69; return s.tmp_3; + s.callLocIdx = 49; s.pc = 69; return s.tmp_3; case 69: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 32: case 33: - if ((s.r___21289) && (s.r___21289).vtable) { + if ((s.r___37414) && (s.r___37414).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___21289); + pxsim_String__stringConv(s.r___37414); checkResumeConsumed(); return; - } else { s.retval = (s.r___21289) + ""; } + } else { s.retval = (s.r___37414) + ""; } case 70: r0 = s.retval; s.tmp_0 = r0; @@ -27815,8 +27815,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___21289 = (r0); - r0 = s.r___21289; + s.r___37414 = (r0); + r0 = s.r___37414; { step = 37; continue; } case 34: case 35: @@ -27826,12 +27826,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_go__P4155.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} +JSON_Stringifier_go__P26470.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} -function JSON_Stringifier_go__P4155_mk(s) { +function JSON_Stringifier_go__P26470_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_go__P4155, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_go__P26470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27844,14 +27844,14 @@ function JSON_Stringifier_go__P4155_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - t___21171: undefined, - arr___21195: undefined, - r___21201: undefined, - i___21218: undefined, - keys___21282: undefined, - r___21289: undefined, - i___21306: undefined, - k___21312: undefined, + t___37296: undefined, + arr___37320: undefined, + r___37326: undefined, + i___37343: undefined, + keys___37407: undefined, + r___37414: undefined, + i___37431: undefined, + k___37437: undefined, arg0: undefined, arg1: undefined, } } @@ -27860,7 +27860,7 @@ function JSON_Stringifier_go__P4155_mk(s) { -function JSON_Stringifier_doString__P4154(s) { +function JSON_Stringifier_doString__P26469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27870,68 +27870,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___21398 = undefined; - s.i___21399 = undefined; - s.c___21405 = undefined; + s.r___37523 = undefined; + s.i___37524 = undefined; + s.c___37530 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C4153_VT)) failedCast(r0); - s.r___21398 = ("\""); - s.i___21399 = (0); + if (!checkSubtype(r0, JSON_Stringifier__C26468_VT)) failedCast(r0); + s.r___37523 = ("\""); + s.i___37524 = (0); case 1: - s.tmp_1 = r0 = s.i___21399; + s.tmp_1 = r0 = s.i___37524; 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 = 14; continue; } - r0 = pxsim_String_.charAt(s.arg1, s.i___21399); - s.c___21405 = (r0); - r0 = (s.c___21405 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___37524); + s.c___37530 = (r0); + r0 = (s.c___37530 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___21405 = ("\\n"); + s.c___37530 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___21405 == "\r"); + r0 = (s.c___37530 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___21405 = ("\\r"); + s.c___37530 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___21405 == "\t"); + r0 = (s.c___37530 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___21405 = ("\\t"); + s.c___37530 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___21405 == "\b"); + r0 = (s.c___37530 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___21405 = ("\\b"); + s.c___37530 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___21405 == "\\"); + r0 = (s.c___37530 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___21405 = ("\\\\"); + s.c___37530 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___21405 == "\""); + r0 = (s.c___37530 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___21405 = ("\\\""); + s.c___37530 = ("\\\""); case 7: case 8: case 9: @@ -27939,36 +27939,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___21398) && (s.r___21398).vtable) { + if ((s.r___37523) && (s.r___37523).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___21398); + pxsim_String__stringConv(s.r___37523); checkResumeConsumed(); return; - } else { s.retval = (s.r___21398) + ""; } + } else { s.retval = (s.r___37523) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___21405) && (s.c___21405).vtable) { + if ((s.c___37530) && (s.c___37530).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___21405); + pxsim_String__stringConv(s.c___37530); checkResumeConsumed(); return; - } else { s.retval = (s.c___21405) + ""; } + } else { s.retval = (s.c___37530) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___21398 = (r0); - r0 = (s.i___21399 + 1); - s.i___21399 = (r0); + s.r___37523 = (r0); + r0 = (s.i___37524 + 1); + s.i___37524 = (r0); { step = 1; continue; } case 14: - if ((s.r___21398) && (s.r___21398).vtable) { + if ((s.r___37523) && (s.r___37523).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___21398); + pxsim_String__stringConv(s.r___37523); checkResumeConsumed(); return; - } else { s.retval = (s.r___21398) + ""; } + } else { s.retval = (s.r___37523) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -27976,19 +27976,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_doString__P4154.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} +JSON_Stringifier_doString__P26469.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} -function JSON_Stringifier_doString__P4154_mk(s) { +function JSON_Stringifier_doString__P26469_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_doString__P4154, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_doString__P26469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___21398: undefined, - i___21399: undefined, - c___21405: undefined, + r___37523: undefined, + i___37524: undefined, + c___37530: undefined, arg0: undefined, arg1: undefined, } } @@ -27997,7 +27997,7 @@ function JSON_Stringifier_doString__P4154_mk(s) { -function helpers_arrayMap__P106(s) { +function helpers_arrayMap__P22417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28007,58 +28007,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___15910 = undefined; - s.len___15912 = undefined; - s.i___15915 = undefined; + s.res___37574 = undefined; + s.len___37576 = undefined; + s.i___37579 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___15910 = (r0); + s.res___37574 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___15912 = (r0); - s.i___15915 = (0); + s.len___37576 = (r0); + s.i___37579 = (0); case 1: - r0 = (s.i___15915 < s.len___15912); + r0 = (s.i___37579 < s.len___37576); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___15910; + s.tmp_1 = r0 = s.res___37574; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___15915); + r0 = pxsim_Array__getAt(s.arg0, s.i___37579); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___15915; + s.tmp_3.arg1 = s.i___37579; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 3; s.pc = 3; return s.tmp_3; + s.callLocIdx = 4; 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___15915 + 1); - s.i___15915 = (r0); + r0 = (s.i___37579 + 1); + s.i___37579 = (r0); { step = 1; continue; } case 2: - r0 = s.res___15910; + r0 = s.res___37574; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayMap__P22417.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__P106_mk(s) { +function helpers_arrayMap__P22417_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P106, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P22417, 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___15910: undefined, - len___15912: undefined, - i___15915: undefined, + res___37574: undefined, + len___37576: undefined, + i___37579: undefined, arg0: undefined, arg1: undefined, } } @@ -28067,7 +28067,7 @@ function helpers_arrayMap__P106_mk(s) { -function music_Melody_play__P1619(s) { +function music_Melody_play__P23930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28083,24 +28083,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P4205_mk(s); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); + s.tmp_0 = music_Melody_playCore__P26520_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = false; - s.callLocIdx = 16; s.pc = 1; return s.tmp_0; + s.callLocIdx = 90; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_play__P1619.info = {"start":9238,"length":71,"line":285,"column":8,"endLine":287,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_Melody_play__P23930.info = {"start":9238,"length":71,"line":285,"column":8,"endLine":287,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_Melody_play__P1619_mk(s) { +function music_Melody_play__P23930_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_play__P1619, depth: s.depth + 1, + parent: s, fn: music_Melody_play__P23930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28111,7 +28111,7 @@ function music_Melody_play__P1619_mk(s) { -function music_Melody_playCore__P4205(s) { +function music_Melody_playCore__P26520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28121,7 +28121,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___19253 = undefined; + s.p___35044 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28129,31 +28129,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P1617_mk(s); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P23928_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 11; s.pc = 1; return s.tmp_0; + s.callLocIdx = 85; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C1622_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C23933_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P1625_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P23936_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 12; s.pc = 2; return s.tmp_1; + s.callLocIdx = 86; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___19253 = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P4203_mk(s); + s.p___35044 = (s.tmp_0); + s.tmp_0 = music_Melody_registerMelody__P26518_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 13; s.pc = 3; return s.tmp_0; + s.callLocIdx = 87; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P19262); + r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P35054); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___19253); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___35044); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg2); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -28161,16 +28161,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore__P4205.info = {"start":7681,"length":815,"line":242,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} +music_Melody_playCore__P26520.info = {"start":7681,"length":815,"line":242,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} -function music_Melody_playCore__P4205_mk(s) { +function music_Melody_playCore__P26520_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore__P4205, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore__P26520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___19253: undefined, + p___35044: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28180,7 +28180,7 @@ function music_Melody_playCore__P4205_mk(s) { -function music_Melody_playCore_inline__P19262(s) { +function music_Melody_playCore_inline__P35054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28197,10 +28197,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_2 = music_MelodyPlayer_play__P1627_mk(s); + s.tmp_2 = music_MelodyPlayer_play__P23938_mk(s); s.tmp_2.arg0 = s.caps[1]; s.tmp_2.arg1 = s.caps[2]; - s.callLocIdx = 14; s.pc = 7; return s.tmp_2; + s.callLocIdx = 88; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.caps[3]); @@ -28215,9 +28215,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_4 = music_Melody_unregisterMelody__P4204_mk(s); + s.tmp_4 = music_Melody_unregisterMelody__P26519_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.callLocIdx = 15; s.pc = 8; return s.tmp_4; + s.callLocIdx = 89; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; case 2: @@ -28231,12 +28231,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore_inline__P19262.info = {"start":7884,"length":601,"line":246,"column":34,"endLine":260,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_Melody_playCore_inline__P35054.info = {"start":7884,"length":601,"line":246,"column":34,"endLine":260,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_Melody_playCore_inline__P19262_mk(s) { +function music_Melody_playCore_inline__P35054_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore_inline__P19262, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore_inline__P35054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28249,7 +28249,7 @@ function music_Melody_playCore_inline__P19262_mk(s) { -function music_Melody_unregisterMelody__P4204(s) { +function music_Melody_unregisterMelody__P26519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28264,22 +28264,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4206); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___26521); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___4206, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___26521, s.arg0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_unregisterMelody__P4204.info = {"start":7470,"length":201,"line":235,"column":8,"endLine":240,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} +music_Melody_unregisterMelody__P26519.info = {"start":7470,"length":201,"line":235,"column":8,"endLine":240,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} -function music_Melody_unregisterMelody__P4204_mk(s) { +function music_Melody_unregisterMelody__P26519_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_unregisterMelody__P4204, depth: s.depth + 1, + parent: s, fn: music_Melody_unregisterMelody__P26519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28288,7 +28288,7 @@ function music_Melody_unregisterMelody__P4204_mk(s) { -function music_Melody_registerMelody__P4203(s) { +function music_Melody_registerMelody__P26518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28303,48 +28303,48 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4206); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___26521); 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.music_Melody_playingMelodies___4206 = (r0); + globals.music_Melody_playingMelodies___26521 = (r0); case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4206); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___26521); s.tmp_1 = r0; r0 = (s.tmp_1 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_Melody_stop__P1617_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___4206; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4206); + s.tmp_2 = music_Melody_stop__P23928_mk(s); + s.tmp_3 = r0 = globals.music_Melody_playingMelodies___26521; + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___26521); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 10; s.pc = 5; return s.tmp_2; + s.callLocIdx = 84; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___4206, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___4206, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___26521, s.arg0); + r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___26521, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P4203.info = {"start":6888,"length":573,"line":223,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +music_Melody_registerMelody__P26518.info = {"start":6888,"length":573,"line":223,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} -function music_Melody_registerMelody__P4203_mk(s) { +function music_Melody_registerMelody__P26518_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P4203, depth: s.depth + 1, + parent: s, fn: music_Melody_registerMelody__P26518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28359,7 +28359,7 @@ function music_Melody_registerMelody__P4203_mk(s) { -function music_MelodyPlayer_play__P1627(s) { +function music_MelodyPlayer_play__P23938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28369,46 +28369,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___19295 = undefined; - s.pos___19299 = undefined; - s.duration___19300 = undefined; - s.octave___19301 = undefined; - s.tempo___19302 = undefined; - s.hz___19303 = undefined; - s.endHz___19304 = undefined; - s.ms___19307 = undefined; - s.timePos___19308 = undefined; - s.startTime___19309 = undefined; - s.now___19312 = undefined; - s.envA___19313 = undefined; - s.envD___19314 = undefined; - s.envS___19315 = undefined; - s.envR___19316 = undefined; - s.soundWave___19317 = undefined; - s.sndInstr___19318 = undefined; - s.sndInstrPtr___19324 = undefined; - s.addForm___19325 = undefined; - s.scanNextWord___19385 = undefined; - s.token___19442 = undefined; - s.tokenKind___19443 = undefined; - s.consumeToken___19446 = undefined; - s.currNote___19522 = undefined; - s.prevNote___19524 = undefined; - s.timeLeft___19527 = undefined; - s.note___19541 = undefined; - s.i___19545 = undefined; - s.noteChar___19551 = undefined; - s.keyNumber___19625 = undefined; - s.currMs___19642 = undefined; - s.beat___19646 = undefined; - s.timeLeft___19703 = undefined; + s.notes___35087 = undefined; + s.pos___35091 = undefined; + s.duration___35092 = undefined; + s.octave___35093 = undefined; + s.tempo___35094 = undefined; + s.hz___35095 = undefined; + s.endHz___35096 = undefined; + s.ms___35099 = undefined; + s.timePos___35100 = undefined; + s.startTime___35101 = undefined; + s.now___35104 = undefined; + s.envA___35105 = undefined; + s.envD___35106 = undefined; + s.envS___35107 = undefined; + s.envR___35108 = undefined; + s.soundWave___35109 = undefined; + s.sndInstr___35110 = undefined; + s.sndInstrPtr___35116 = undefined; + s.addForm___35117 = undefined; + s.scanNextWord___35177 = undefined; + s.token___35234 = undefined; + s.tokenKind___35235 = undefined; + s.consumeToken___35238 = undefined; + s.currNote___35314 = undefined; + s.prevNote___35316 = undefined; + s.timeLeft___35319 = undefined; + s.note___35333 = undefined; + s.i___35337 = undefined; + s.noteChar___35343 = undefined; + s.keyNumber___35417 = undefined; + s.currMs___35434 = undefined; + s.beat___35438 = undefined; + s.timeLeft___35495 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1622_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C23933_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -28425,13 +28425,13 @@ switch (step) { case 1: case 2: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P127_mk(s); + s.tmp_6 = Math_clamp__P22438_mk(s); s.tmp_6.arg0 = 0; s.tmp_6.arg1 = 255; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_8 = r0; - s.tmp_10 = music_volume__P1607_mk(s); - s.callLocIdx = 17; s.pc = 61; return s.tmp_10; + s.tmp_10 = music_volume__P23918_mk(s); + s.callLocIdx = 91; s.pc = 61; return s.tmp_10; case 61: r0 = s.retval; s.tmp_9 = r0; @@ -28439,129 +28439,129 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); s.tmp_6.arg2 = r0; - s.callLocIdx = 18; s.pc = 60; return s.tmp_6; + s.callLocIdx = 92; s.pc = 60; return s.tmp_6; case 60: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); r0 = s.arg0.fields["melody"]; r0 = r0.fields["_text"]; - s.notes___19295 = (r0); + s.notes___35087 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pos___19299 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___19299, 0); + s.pos___35091 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pos___35091, 0); r0 = pxsim_pxtrt.mklocRef(); - s.duration___19300 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___19300, 4); + s.duration___35092 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.duration___35092, 4); r0 = pxsim_pxtrt.mklocRef(); - s.octave___19301 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___19301, 4); + s.octave___35093 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.octave___35093, 4); r0 = pxsim_pxtrt.mklocRef(); - s.tempo___19302 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___19302, 120); + s.tempo___35094 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tempo___35094, 120); r0 = pxsim_pxtrt.mklocRef(); - s.hz___19303 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___19303, 0); + s.hz___35095 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hz___35095, 0); r0 = pxsim_pxtrt.mklocRef(); - s.endHz___19304 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___19304, -1); + s.endHz___35096 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___35096, -1); r0 = pxsim_pxtrt.mklocRef(); - s.ms___19307 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___19307, 0); - s.timePos___19308 = (0); + s.ms___35099 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.ms___35099, 0); + s.timePos___35100 = (0); r0 = pxsim.control.millis(); - s.startTime___19309 = (r0); - s.now___19312 = (0); + s.startTime___35101 = (r0); + s.now___35104 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.envA___19313 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___19313, 0); + s.envA___35105 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envA___35105, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envD___19314 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___19314, 0); + s.envD___35106 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envD___35106, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envS___19315 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___19315, 255); + s.envS___35107 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envS___35107, 255); r0 = pxsim_pxtrt.mklocRef(); - s.envR___19316 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___19316, 0); + s.envR___35108 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envR___35108, 0); r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___19317 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___19317, 1); + s.soundWave___35109 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.soundWave___35109, 1); r0 = pxsim.control.createBuffer(60); - s.sndInstr___19318 = (r0); + s.sndInstr___35110 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___19324 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___19324, 0); - r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P19326); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___19303); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___19304); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___19307); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___19300); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___19302); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___19316); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___19324); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___19318); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___19317); + s.sndInstrPtr___35116 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___35116, 0); + r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P35118); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___35095); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___35096); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___35099); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___35092); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___35094); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___35108); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___35116); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___35110); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___35109); r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___19325 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P19386); + s.addForm___35117 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P35178); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___19299); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___19295); - s.scanNextWord___19385 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___35091); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___35087); + s.scanNextWord___35177 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.token___19442 = (r0); - s.tmp_0 = r0 = s.token___19442; + s.token___35234 = (r0); + s.tmp_0 = r0 = s.token___35234; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___19443 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 0); - r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P19447); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___19442); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___19443); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___19301); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___19300); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___19307); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___19302); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___19303); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___19317); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___19313); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___19314); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___19315); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___19316); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___19304); - s.consumeToken___19446 = (s.tmp_0); + s.tokenKind___35235 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 0); + r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P35239); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___35234); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___35235); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___35093); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___35092); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___35099); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___35094); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___35095); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___35109); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___35105); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___35106); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___35107); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___35108); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___35096); + s.consumeToken___35238 = (s.tmp_0); case 3: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 58; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.scanNextWord___19385; + s.tmp_0.argL = s.scanNextWord___35177; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 26; s.pc = 62; return s.tmp_0; + s.callLocIdx = 100; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.currNote___19522 = (r0); - s.prevNote___19524 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___19522); + s.currNote___35314 = (r0); + s.prevNote___35316 = (false); + r0 = pxsim_numops_toBoolDecr(s.currNote___35314); 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 = 8; continue; } - r0 = (s.timePos___19308 - s.now___19312); - s.timeLeft___19527 = (r0); - r0 = (s.timeLeft___19527 > 0); + r0 = (s.timePos___35100 - s.now___35104); + s.timeLeft___35319 = (r0); + r0 = (s.timeLeft___35319 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = pause__P413_mk(s); - s.tmp_1.arg0 = s.timeLeft___19527; - s.callLocIdx = 27; s.pc = 63; return s.tmp_1; + s.tmp_1 = pause__P22724_mk(s); + s.tmp_1.arg0 = s.timeLeft___35319; + s.callLocIdx = 101; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; case 4: @@ -28574,12 +28574,12 @@ switch (step) { s.tmp_1.arg0 = s.arg0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "onPlayFinished"), 1); - s.callLocIdx = 28; s.pc = 64; return s.tmp_1; + s.callLocIdx = 102; s.pc = 64; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["onPlayFinished"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["onPlayFinished"], 1); s.callLocIdx = 28; s.pc = 64; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 28; s.pc = 64; return s.tmp_1;; } - else { s.callLocIdx = 28; s.pc = 64; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["onPlayFinished"], 1); s.callLocIdx = 102; s.pc = 64; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 102; s.pc = 64; return s.tmp_1;; } + else { s.callLocIdx = 102; s.pc = 64; return s.tmp_1; } } case 64: r0 = s.retval; @@ -28588,25 +28588,25 @@ switch (step) { { step = 59; continue; } case 8: case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___19303, -1); - s.note___19541 = (0); - s.tmp_0 = r0 = s.token___19442; + r0 = pxsim_pxtrt_stlocRef(s.hz___35095, -1); + s.note___35333 = (0); + s.tmp_0 = r0 = s.token___35234; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 0); - s.i___19545 = (0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 0); + s.i___35337 = (0); case 10: - s.tmp_1 = r0 = s.i___19545; - r0 = pxsim_String_.length(s.currNote___19522); + s.tmp_1 = r0 = s.i___35337; + r0 = pxsim_String_.length(s.currNote___35314); 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 = 41; continue; } - r0 = pxsim_String_.charAt(s.currNote___19522, s.i___19545); - s.noteChar___19551 = (r0); - s.tmp_0 = r0 = s.noteChar___19551; + r0 = pxsim_String_.charAt(s.currNote___35314, s.i___35337); + s.noteChar___35343 = (r0); + s.tmp_0 = r0 = s.noteChar___35343; r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); if (r0) { step = 11; continue; } r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); @@ -28659,133 +28659,133 @@ switch (step) { { step = 37; continue; } case 11: case 12: - s.note___19541 = (1); - s.prevNote___19524 = (true); + s.note___35333 = (1); + s.prevNote___35316 = (true); { step = 40; continue; } case 13: case 14: - s.note___19541 = (3); - s.prevNote___19524 = (true); + s.note___35333 = (3); + s.prevNote___35316 = (true); { step = 40; continue; } case 15: case 16: - s.note___19541 = (5); - s.prevNote___19524 = (true); + s.note___35333 = (5); + s.prevNote___35316 = (true); { step = 40; continue; } case 17: case 18: - s.note___19541 = (6); - s.prevNote___19524 = (true); + s.note___35333 = (6); + s.prevNote___35316 = (true); { step = 40; continue; } case 19: case 20: - s.note___19541 = (8); - s.prevNote___19524 = (true); + s.note___35333 = (8); + s.prevNote___35316 = (true); { step = 40; continue; } case 21: case 22: - s.note___19541 = (10); - s.prevNote___19524 = (true); + s.note___35333 = (10); + s.prevNote___35316 = (true); { step = 40; continue; } case 23: - s.note___19541 = (12); - s.prevNote___19524 = (true); + s.note___35333 = (12); + s.prevNote___35316 = (true); { step = 40; continue; } case 24: case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___19303, 0); - s.prevNote___19524 = (false); + r0 = pxsim_pxtrt_stlocRef(s.hz___35095, 0); + s.prevNote___35316 = (false); { step = 40; continue; } case 26: - r0 = (s.note___19541 + 1); - s.note___19541 = (r0); - s.prevNote___19524 = (false); + r0 = (s.note___35333 + 1); + s.note___35333 = (r0); + s.prevNote___35316 = (false); { step = 40; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___19524); + r0 = pxsim_numops_toBoolDecr(s.prevNote___35316); if (!r0) { step = 28; continue; } - r0 = (s.note___19541 - 1); - s.note___19541 = (r0); + r0 = (s.note___35333 - 1); + s.note___35333 = (r0); { step = 29; continue; } case 28: - s.note___19541 = (12); - s.prevNote___19524 = (true); + s.note___35333 = (12); + s.prevNote___35316 = (true); case 29: { step = 40; continue; } case 30: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 29; s.pc = 65; return s.tmp_0; + s.callLocIdx = 103; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.prevNote___19524 = (false); + s.prevNote___35316 = (false); { step = 40; continue; } case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 4); - s.prevNote___19524 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 4); + s.prevNote___35316 = (false); { step = 40; continue; } case 32: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 30; s.pc = 66; return s.tmp_0; + s.callLocIdx = 104; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 8); - s.prevNote___19524 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 8); + s.prevNote___35316 = (false); { step = 40; continue; } case 33: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 31; s.pc = 67; return s.tmp_0; + s.callLocIdx = 105; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 7); - s.prevNote___19524 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 7); + s.prevNote___35316 = (false); { step = 40; continue; } case 34: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 32; s.pc = 68; return s.tmp_0; + s.callLocIdx = 106; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 2); - s.prevNote___19524 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 2); + s.prevNote___35316 = (false); { step = 40; continue; } case 35: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 33; s.pc = 69; return s.tmp_0; + s.callLocIdx = 107; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 3); - s.prevNote___19524 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 3); + s.prevNote___35316 = (false); { step = 40; continue; } case 36: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 34; s.pc = 70; return s.tmp_0; + s.callLocIdx = 108; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 5); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 5); { step = 40; continue; } case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___19443); + r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___35235); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___19443, 1); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___35235, 1); case 38: case 39: - s.tmp_0 = r0 = s.token___19442; - r0 = pxsim_pxtrt_ldlocRef(s.token___19442); + s.tmp_0 = r0 = s.token___35234; + r0 = pxsim_pxtrt_ldlocRef(s.token___35234); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 71); @@ -28796,37 +28796,37 @@ switch (step) { case 71: r0 = s.retval; s.tmp_2 = r0; - if ((s.noteChar___19551) && (s.noteChar___19551).vtable) { + if ((s.noteChar___35343) && (s.noteChar___35343).vtable) { setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___19551); + pxsim_String__stringConv(s.noteChar___35343); checkResumeConsumed(); return; - } else { s.retval = (s.noteChar___19551) + ""; } + } else { s.retval = (s.noteChar___35343) + ""; } case 72: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_4); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.prevNote___19524 = (false); + s.prevNote___35316 = (false); case 40: - r0 = (s.i___19545 + 1); - s.i___19545 = (r0); + r0 = (s.i___35337 + 1); + s.i___35337 = (r0); { step = 10; continue; } case 41: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___19446; + s.tmp_0.argL = s.consumeToken___35238; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 35; s.pc = 73; return s.tmp_0; + s.callLocIdx = 109; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = r0 = s.note___19541; + s.tmp_0 = r0 = s.note___35333; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 42; continue; } r0 = s.tmp_0; { step = 43; continue; } case 42: - r0 = pxsim_pxtrt_ldlocRef(s.hz___19303); + r0 = pxsim_pxtrt_ldlocRef(s.hz___35095); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); case 43: @@ -28834,17 +28834,17 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 46; continue; } - s.tmp_3 = r0 = s.note___19541; - r0 = pxsim_pxtrt_ldlocRef(s.octave___19301); + s.tmp_3 = r0 = s.note___35333; + r0 = pxsim_pxtrt_ldlocRef(s.octave___35093); s.tmp_6 = r0; r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = (12 * s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); - s.keyNumber___19625 = (r0); - s.tmp_1 = r0 = globals.freqs___4191; - r0 = (s.keyNumber___19625 * 2); + s.keyNumber___35417 = (r0); + s.tmp_1 = r0 = globals.freqs___26506; + r0 = (s.keyNumber___35417 * 2); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); s.tmp_0 = r0; @@ -28857,26 +28857,26 @@ switch (step) { case 45: // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___19303, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.hz___35095, s.tmp_3); case 46: case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___19307); - s.currMs___19642 = (r0); - r0 = (s.currMs___19642 <= 0); + r0 = pxsim_pxtrt_ldlocRef(s.ms___35099); + s.currMs___35434 = (r0); + r0 = (s.currMs___35434 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___19302); + r0 = pxsim_pxtrt_ldlocRef(s.tempo___35094); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___19646 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___19300); + s.beat___35438 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.duration___35092); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___19646); - s.currMs___19642 = (r0); + r0 = (s.tmp_0 * s.beat___35438); + s.currMs___35434 = (r0); case 48: case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___19303); + r0 = pxsim_pxtrt_ldlocRef(s.hz___35095); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -28884,123 +28884,123 @@ switch (step) { if (!r0) { step = 50; continue; } { step = 55; continue; } case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___19303); + r0 = pxsim_pxtrt_ldlocRef(s.hz___35095); s.tmp_3 = r0; r0 = (s.tmp_3 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 51; continue; } - r0 = (s.timePos___19308 + s.currMs___19642); - s.timePos___19308 = (r0); + r0 = (s.timePos___35100 + s.currMs___35434); + s.timePos___35100 = (r0); { step = 54; continue; } case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___19304); + r0 = pxsim_pxtrt_ldlocRef(s.endHz___35096); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_2 = r0 = s.endHz___19304; - r0 = pxsim_pxtrt_ldlocRef(s.hz___19303); + s.tmp_2 = r0 = s.endHz___35096; + r0 = pxsim_pxtrt_ldlocRef(s.hz___35095); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); case 52: case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___19324, 0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___35116, 0); s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___19325; - r0 = pxsim_pxtrt_ldlocRef(s.envA___19313); + s.tmp_0.argL = s.addForm___35117; + r0 = pxsim_pxtrt_ldlocRef(s.envA___35105); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 255; s.tmp_0.arg3 = 0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 36; s.pc = 74; return s.tmp_0; + s.callLocIdx = 110; s.pc = 74; return s.tmp_0; case 74: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___19325; - r0 = pxsim_pxtrt_ldlocRef(s.envD___19314); + s.tmp_0.argL = s.addForm___35117; + r0 = pxsim_pxtrt_ldlocRef(s.envD___35106); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___19315); + r0 = pxsim_pxtrt_ldlocRef(s.envS___35107); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___19313); + r0 = pxsim_pxtrt_ldlocRef(s.envA___35105); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 37; s.pc = 75; return s.tmp_0; + s.callLocIdx = 111; s.pc = 75; return s.tmp_0; case 75: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___19325; - s.tmp_1 = r0 = s.currMs___19642; - r0 = pxsim_pxtrt_ldlocRef(s.envA___19313); + s.tmp_0.argL = s.addForm___35117; + s.tmp_1 = r0 = s.currMs___35434; + r0 = pxsim_pxtrt_ldlocRef(s.envA___35105); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___19314); + r0 = pxsim_pxtrt_ldlocRef(s.envD___35106); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___19315); + r0 = pxsim_pxtrt_ldlocRef(s.envS___35107); s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___19315); + r0 = pxsim_pxtrt_ldlocRef(s.envS___35107); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___19314); + r0 = pxsim_pxtrt_ldlocRef(s.envD___35106); s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___19313); + r0 = pxsim_pxtrt_ldlocRef(s.envA___35105); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 38; s.pc = 76; return s.tmp_0; + s.callLocIdx = 112; s.pc = 76; return s.tmp_0; case 76: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___19325; - r0 = pxsim_pxtrt_ldlocRef(s.envR___19316); + s.tmp_0.argL = s.addForm___35117; + r0 = pxsim_pxtrt_ldlocRef(s.envR___35108); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___19315); + r0 = pxsim_pxtrt_ldlocRef(s.envS___35107); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___19642; + s.tmp_0.arg3 = s.currMs___35434; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 39; s.pc = 77; return s.tmp_0; + s.callLocIdx = 113; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P4208_mk(s); + s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P26523_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.timePos___19308 - s.now___19312); + r0 = (s.timePos___35100 - s.now___35104); s.tmp_0.arg1 = r0; - s.tmp_1 = r0 = s.sndInstr___19318; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___19324); + s.tmp_1 = r0 = s.sndInstr___35110; + r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___35116); s.tmp_2 = r0; r0 = pxsim.BufferMethods.slice(s.tmp_1, 0, s.tmp_2); s.tmp_0.arg2 = r0; - s.callLocIdx = 40; s.pc = 78; return s.tmp_0; + s.callLocIdx = 114; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.endHz___19304, -1); - r0 = (s.timePos___19308 + s.currMs___19642); - s.timePos___19308 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___35096, -1); + r0 = (s.timePos___35100 + s.currMs___35434); + s.timePos___35100 = (r0); case 54: case 55: - r0 = (s.timePos___19308 - s.now___19312); - s.timeLeft___19703 = (r0); - r0 = (s.timeLeft___19703 > 200); + r0 = (s.timePos___35100 - s.now___35104); + s.timeLeft___35495 = (r0); + r0 = (s.timeLeft___35495 > 200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 56; continue; } - s.tmp_1 = pause__P413_mk(s); - r0 = (s.timeLeft___19703 - 100); + s.tmp_1 = pause__P22724_mk(s); + r0 = (s.timeLeft___35495 - 100); s.tmp_1.arg0 = r0; - s.callLocIdx = 41; s.pc = 79; return s.tmp_1; + s.callLocIdx = 115; s.pc = 79; return s.tmp_1; case 79: r0 = s.retval; r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.startTime___19309); - s.now___19312 = (r0); + r0 = (s.tmp_0 - s.startTime___35101); + s.now___35104 = (r0); case 56: case 57: { step = 3; continue; } @@ -29010,12 +29010,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_MelodyPlayer_play__P1627.info = {"start":11360,"length":9259,"line":348,"column":8,"endLine":582,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +music_MelodyPlayer_play__P23938.info = {"start":11360,"length":9259,"line":348,"column":8,"endLine":582,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_MelodyPlayer_play__P1627_mk(s) { +function music_MelodyPlayer_play__P23938_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_play__P1627, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_play__P23938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29028,39 +29028,39 @@ function music_MelodyPlayer_play__P1627_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___19295: undefined, - pos___19299: undefined, - duration___19300: undefined, - octave___19301: undefined, - tempo___19302: undefined, - hz___19303: undefined, - endHz___19304: undefined, - ms___19307: undefined, - timePos___19308: undefined, - startTime___19309: undefined, - now___19312: undefined, - envA___19313: undefined, - envD___19314: undefined, - envS___19315: undefined, - envR___19316: undefined, - soundWave___19317: undefined, - sndInstr___19318: undefined, - sndInstrPtr___19324: undefined, - addForm___19325: undefined, - scanNextWord___19385: undefined, - token___19442: undefined, - tokenKind___19443: undefined, - consumeToken___19446: undefined, - currNote___19522: undefined, - prevNote___19524: undefined, - timeLeft___19527: undefined, - note___19541: undefined, - i___19545: undefined, - noteChar___19551: undefined, - keyNumber___19625: undefined, - currMs___19642: undefined, - beat___19646: undefined, - timeLeft___19703: undefined, + notes___35087: undefined, + pos___35091: undefined, + duration___35092: undefined, + octave___35093: undefined, + tempo___35094: undefined, + hz___35095: undefined, + endHz___35096: undefined, + ms___35099: undefined, + timePos___35100: undefined, + startTime___35101: undefined, + now___35104: undefined, + envA___35105: undefined, + envD___35106: undefined, + envS___35107: undefined, + envR___35108: undefined, + soundWave___35109: undefined, + sndInstr___35110: undefined, + sndInstrPtr___35116: undefined, + addForm___35117: undefined, + scanNextWord___35177: undefined, + token___35234: undefined, + tokenKind___35235: undefined, + consumeToken___35238: undefined, + currNote___35314: undefined, + prevNote___35316: undefined, + timeLeft___35319: undefined, + note___35333: undefined, + i___35337: undefined, + noteChar___35343: undefined, + keyNumber___35417: undefined, + currMs___35434: undefined, + beat___35438: undefined, + timeLeft___35495: undefined, arg0: undefined, arg1: undefined, } } @@ -29069,7 +29069,7 @@ function music_MelodyPlayer_play__P1627_mk(s) { -function addForm_inline__P19326(s) { +function addForm_inline__P35118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29079,10 +29079,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.freqStart___19331 = undefined; - s.freqEnd___19333 = undefined; - s.envelopeWidth___19335 = undefined; - s.slope___19353 = undefined; + s.freqStart___35123 = undefined; + s.freqEnd___35125 = undefined; + s.envelopeWidth___35127 = undefined; + s.slope___35145 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29091,9 +29091,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___19331 = (r0); + s.freqStart___35123 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___19333 = (r0); + s.freqEnd___35125 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -29117,7 +29117,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_7 = r0; - s.envelopeWidth___19335 = (s.tmp_7); + s.envelopeWidth___35127 = (s.tmp_7); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -29129,35 +29129,35 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.envelopeWidth___19335 != 0); + r0 = (s.envelopeWidth___35127 != 0); case 4: // jmp value (already in r0) s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = (s.freqEnd___19333 - s.freqStart___19331); + r0 = (s.freqEnd___35125 - s.freqStart___35123); s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___19335); - s.slope___19353 = (r0); + r0 = (s.tmp_4 / s.envelopeWidth___35127); + s.slope___35145 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - r0 = (s.slope___19353 * s.arg3); + r0 = (s.slope___35145 * s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___19331 = (r0); + s.freqStart___35123 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___19353; + s.tmp_2 = r0 = s.slope___35145; r0 = (s.arg3 + s.arg0); s.tmp_3 = r0; r0 = (s.tmp_2 * s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqEnd___19333 = (r0); + s.freqEnd___35125 = (r0); case 5: case 6: s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P4207_mk(s); + s.tmp_2 = music_addNote__P26522_mk(s); s.tmp_2.arg0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2.arg1 = r0; @@ -29166,11 +29166,11 @@ switch (step) { s.tmp_2.arg4 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); s.tmp_2.arg5 = r0; - s.tmp_2.arg6 = s.freqStart___19331; + s.tmp_2.arg6 = s.freqStart___35123; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___19333; - s.callLocIdx = 19; s.pc = 7; return s.tmp_2; + s.tmp_2.arg8 = s.freqEnd___35125; + s.callLocIdx = 93; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -29179,12 +29179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -addForm_inline__P19326.info = {"start":12168,"length":643,"line":374,"column":28,"endLine":385,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} +addForm_inline__P35118.info = {"start":12168,"length":643,"line":374,"column":28,"endLine":385,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} -function addForm_inline__P19326_mk(s) { +function addForm_inline__P35118_mk(s) { checkStack(s.depth); return { - parent: s, fn: addForm_inline__P19326, depth: s.depth + 1, + parent: s, fn: addForm_inline__P35118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29194,10 +29194,10 @@ function addForm_inline__P19326_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - freqStart___19331: undefined, - freqEnd___19333: undefined, - envelopeWidth___19335: undefined, - slope___19353: undefined, + freqStart___35123: undefined, + freqEnd___35125: undefined, + envelopeWidth___35127: undefined, + slope___35145: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29208,7 +29208,7 @@ function addForm_inline__P19326_mk(s) { -function scanNextWord_inline__P19386(s) { +function scanNextWord_inline__P35178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29218,9 +29218,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___19395 = undefined; - s.note___19412 = undefined; - s.c___19418 = undefined; + s.c___35187 = undefined; + s.note___35204 = undefined; + s.c___35210 = undefined; r0 = s.caps[0].fields["melody"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -29246,15 +29246,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_7 = r0; r0 = pxsim_String_.charAt(s.tmp_6, s.tmp_7); - s.c___19395 = (r0); - r0 = (s.c___19395 != " "); + s.c___35187 = (r0); + r0 = (s.c___35187 != " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = (s.c___19395 != "\r"); + r0 = (s.c___35187 != "\r"); case 5: // jmp value (already in r0) s.tmp_1 = r0; @@ -29263,7 +29263,7 @@ switch (step) { r0 = s.tmp_1; { step = 7; continue; } case 6: - r0 = (s.c___19395 != "\n"); + r0 = (s.c___35187 != "\n"); case 7: // jmp value (already in r0) s.tmp_2 = r0; @@ -29272,7 +29272,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - r0 = (s.c___19395 != "\t"); + r0 = (s.c___35187 != "\t"); case 9: // jmp value (already in r0) s.tmp_3 = r0; @@ -29290,7 +29290,7 @@ switch (step) { { step = 3; continue; } case 12: r0 = pxsim_String_.mkEmpty(); - s.note___19412 = (r0); + s.note___35204 = (r0); case 13: r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; @@ -29304,15 +29304,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); - s.c___19418 = (r0); - r0 = (s.c___19418 == " "); + s.c___35210 = (r0); + r0 = (s.c___35210 == " "); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 14; continue; } r0 = s.tmp_0; { step = 15; continue; } case 14: - r0 = (s.c___19418 == "\r"); + r0 = (s.c___35210 == "\r"); case 15: // jmp value (already in r0) s.tmp_1 = r0; @@ -29321,7 +29321,7 @@ switch (step) { r0 = s.tmp_1; { step = 17; continue; } case 16: - r0 = (s.c___19418 == "\n"); + r0 = (s.c___35210 == "\n"); case 17: // jmp value (already in r0) s.tmp_2 = r0; @@ -29330,7 +29330,7 @@ switch (step) { r0 = s.tmp_2; { step = 19; continue; } case 18: - r0 = (s.c___19418 == "\t"); + r0 = (s.c___35210 == "\t"); case 19: // jmp value (already in r0) s.tmp_3 = r0; @@ -29339,26 +29339,26 @@ switch (step) { { step = 22; continue; } case 20: case 21: - if ((s.note___19412) && (s.note___19412).vtable) { + if ((s.note___35204) && (s.note___35204).vtable) { setupResume(s, 24); - pxsim_String__stringConv(s.note___19412); + pxsim_String__stringConv(s.note___35204); checkResumeConsumed(); return; - } else { s.retval = (s.note___19412) + ""; } + } else { s.retval = (s.note___35204) + ""; } case 24: r0 = s.retval; s.tmp_4 = r0; - if ((s.c___19418) && (s.c___19418).vtable) { + if ((s.c___35210) && (s.c___35210).vtable) { setupResume(s, 25); - pxsim_String__stringConv(s.c___19418); + pxsim_String__stringConv(s.c___35210); checkResumeConsumed(); return; - } else { s.retval = (s.c___19418) + ""; } + } else { s.retval = (s.c___35210) + ""; } case 25: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___19412 = (r0); + s.note___35204 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; @@ -29367,17 +29367,17 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 13; continue; } case 22: - r0 = s.note___19412; + r0 = s.note___35204; case 23: return leave(s, r0) default: oops() } } } -scanNextWord_inline__P19386.info = {"start":12846,"length":708,"line":387,"column":33,"endLine":409,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +scanNextWord_inline__P35178.info = {"start":12846,"length":708,"line":387,"column":33,"endLine":409,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function scanNextWord_inline__P19386_mk(s) { +function scanNextWord_inline__P35178_mk(s) { checkStack(s.depth); return { - parent: s, fn: scanNextWord_inline__P19386, depth: s.depth + 1, + parent: s, fn: scanNextWord_inline__P35178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29387,16 +29387,16 @@ function scanNextWord_inline__P19386_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - c___19395: undefined, - note___19412: undefined, - c___19418: undefined, + c___35187: undefined, + note___35204: undefined, + c___35210: undefined, } } -function consumeToken_inline__P19447(s) { +function consumeToken_inline__P35239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29406,7 +29406,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___19453 = undefined; + s.d___35245 = undefined; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -29422,14 +29422,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = parseInt__P97_mk(s); + s.tmp_3 = parseInt__P22408_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = undefined; - s.callLocIdx = 20; s.pc = 17; return s.tmp_3; + s.callLocIdx = 94; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; - s.d___19453 = (r0); + s.d___35245 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); @@ -29457,20 +29457,20 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___35245); { step = 14; continue; } case 4: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P22441_mk(s); s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P131_mk(s); + s.tmp_3 = Math_min__P22442_mk(s); s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___19453; - s.callLocIdx = 21; s.pc = 19; return s.tmp_3; + s.tmp_3.arg1 = s.d___35245; + s.callLocIdx = 95; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; s.tmp_2.arg1 = r0; - s.callLocIdx = 22; s.pc = 18; return s.tmp_2; + s.callLocIdx = 96; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; @@ -29479,49 +29479,49 @@ switch (step) { { step = 14; continue; } case 5: s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P22441_mk(s); s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___19453; - s.callLocIdx = 23; s.pc = 20; return s.tmp_2; + s.tmp_2.arg1 = s.d___35245; + s.callLocIdx = 97; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 6: - r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___35245); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); { step = 14; continue; } case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___35245); { step = 14; continue; } case 8: s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P22438_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = 18; - s.tmp_2.arg2 = s.d___19453; - s.callLocIdx = 24; s.pc = 21; return s.tmp_2; + s.tmp_2.arg2 = s.d___35245; + s.callLocIdx = 98; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 9: - r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___35245); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); { step = 14; continue; } case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___35245); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 10); { step = 14; continue; } case 11: s.tmp_0 = r0 = s.caps[10]; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P22438_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___19453; - s.callLocIdx = 25; s.pc = 22; return s.tmp_2; + s.tmp_2.arg2 = s.d___35245; + s.callLocIdx = 99; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; s.tmp_1 = r0; @@ -29529,10 +29529,10 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.caps[1], 11); { step = 14; continue; } case 12: - r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___35245); { step = 14; continue; } case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___19453); + r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___35245); case 14: s.tmp_0 = r0 = s.caps[0]; r0 = pxsim_String_.mkEmpty(); @@ -29544,25 +29544,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -consumeToken_inline__P19447.info = {"start":14840,"length":1189,"line":448,"column":33,"endLine":469,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +consumeToken_inline__P35239.info = {"start":14840,"length":1189,"line":448,"column":33,"endLine":469,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function consumeToken_inline__P19447_mk(s) { +function consumeToken_inline__P35239_mk(s) { checkStack(s.depth); return { - parent: s, fn: consumeToken_inline__P19447, depth: s.depth + 1, + parent: s, fn: consumeToken_inline__P35239, 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, - d___19453: undefined, + d___35245: undefined, } } -function music_MelodyPlayer_queuePlayInstructions__P4208(s) { +function music_MelodyPlayer_queuePlayInstructions__P26523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29579,18 +29579,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1622_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C23933_VT)) failedCast(r0); r0 = pxsim.music.queuePlayInstructions(s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_queuePlayInstructions__P4208.info = {"start":11225,"length":125,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} +music_MelodyPlayer_queuePlayInstructions__P26523.info = {"start":11225,"length":125,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} -function music_MelodyPlayer_queuePlayInstructions__P4208_mk(s) { +function music_MelodyPlayer_queuePlayInstructions__P26523_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P4208, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P26523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29601,7 +29601,7 @@ function music_MelodyPlayer_queuePlayInstructions__P4208_mk(s) { -function music_addNote__P4207(s) { +function music_addNote__P26522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29669,12 +29669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P4207.info = {"start":10085,"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__P26522.info = {"start":10085,"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__P4207_mk(s) { +function music_addNote__P26522_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P4207, depth: s.depth + 1, + parent: s, fn: music_addNote__P26522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29695,7 +29695,7 @@ function music_addNote__P4207_mk(s) { -function music_volume__P1607(s) { +function music_volume__P23918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29705,20 +29705,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P4199_mk(s); - s.callLocIdx = 61; s.pc = 1; return s.tmp_0; + s.tmp_0 = music_initVolume__P26514_mk(s); + s.callLocIdx = 73; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___4195; + r0 = globals.globalVolume___26510; return leave(s, r0) default: oops() } } } -music_volume__P1607.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P23918.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__P1607_mk(s) { +function music_volume__P23918_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P1607, depth: s.depth + 1, + parent: s, fn: music_volume__P23918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29727,7 +29727,7 @@ function music_volume__P1607_mk(s) { -function music_initVolume__P4199(s) { +function music_initVolume__P26514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29737,15 +29737,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___4195 === null); + r0 = (globals.globalVolume___26510 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___4195 = (0); - s.tmp_0 = music_setVolume__P1606_mk(s); + globals.globalVolume___26510 = (0); + s.tmp_0 = music_setVolume__P23917_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; - s.callLocIdx = 58; s.pc = 3; return s.tmp_0; + s.callLocIdx = 70; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: @@ -29754,12 +29754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P4199.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P26514.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__P4199_mk(s) { +function music_initVolume__P26514_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P4199, depth: s.depth + 1, + parent: s, fn: music_initVolume__P26514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29768,7 +29768,7 @@ function music_initVolume__P4199_mk(s) { -function music_setVolume__P1606(s) { +function music_setVolume__P23917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29782,16 +29782,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P22438_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 59; s.pc = 3; return s.tmp_0; + s.callLocIdx = 71; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___4195 = (r0); - r0 = (globals.globalVolume___4195 > 0); + globals.globalVolume___26510 = (r0); + r0 = (globals.globalVolume___26510 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -29807,12 +29807,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P1606.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__P23917.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__P1606_mk(s) { +function music_setVolume__P23917_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P1606, depth: s.depth + 1, + parent: s, fn: music_setVolume__P23917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29823,7 +29823,7 @@ function music_setVolume__P1606_mk(s) { -function music_enableAmp__P4198(s) { +function music_enableAmp__P26513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29841,12 +29841,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P4198.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__P26513.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__P4198_mk(s) { +function music_enableAmp__P26513_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P4198, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P26513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29855,7 +29855,7 @@ function music_enableAmp__P4198_mk(s) { -function parseInt__P97(s) { +function parseInt__P22408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29865,13 +29865,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___19740 = undefined; - s.sign___19770 = undefined; - s.output___19815 = undefined; - s.hasDigit___19816 = undefined; - s.i___19817 = undefined; - s.code___19824 = undefined; - s.val___19831 = undefined; + s.start___35532 = undefined; + s.sign___35562 = undefined; + s.output___35607 = undefined; + s.hasDigit___35608 = undefined; + s.i___35609 = undefined; + s.code___35616 = undefined; + s.val___35623 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29918,9 +29918,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___19740 = (0); + s.start___35532 = (0); case 9: - s.tmp_1 = r0 = s.start___19740; + s.tmp_1 = r0 = s.start___35532; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -29930,8 +29930,8 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_3 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___19740); + s.tmp_3 = helpers_isWhitespace__P22435_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___35532); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -29941,11 +29941,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___19740 + 1); - s.start___19740 = (r0); + r0 = (s.start___35532 + 1); + s.start___35532 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___19740; + s.tmp_1 = r0 = s.start___35532; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -29956,8 +29956,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___19770 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___19740); + s.sign___35562 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___35532); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -29966,10 +29966,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___19770 = (-1); + s.sign___35562 = (-1); case 16: - r0 = (s.start___19740 + 1); - s.start___19740 = (r0); + r0 = (s.start___35532 + 1); + s.start___35532 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -29989,7 +29989,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___19740); + r0 = pxsim_String_.charAt(s.arg0, s.start___35532); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -30001,7 +30001,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___19740 + 1); + r0 = (s.start___35532 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -30013,7 +30013,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___19740 + 1); + r0 = (s.start___35532 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -30028,8 +30028,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___19740 + 2); - s.start___19740 = (r0); + r0 = (s.start___35532 + 2); + s.start___35532 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -30042,73 +30042,73 @@ switch (step) { case 27: case 28: case 29: - s.output___19815 = (0); - s.hasDigit___19816 = (false); - s.i___19817 = (s.start___19740); + s.output___35607 = (0); + s.hasDigit___35608 = (false); + s.i___35609 = (s.start___35532); case 30: - s.tmp_1 = r0 = s.i___19817; + s.tmp_1 = r0 = s.i___35609; 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 = 45; continue; } - r0 = pxsim_String_.charCodeAt(s.arg0, s.i___19817); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___35609); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___19824 = (r0); - s.val___19831 = (undefined); - r0 = (s.code___19824 >= 48); + s.code___35616 = (r0); + s.val___35623 = (undefined); + r0 = (s.code___35616 >= 48); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 31; continue; } r0 = s.tmp_0; { step = 32; continue; } case 31: - r0 = (s.code___19824 < 58); + r0 = (s.code___35616 < 58); case 32: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 33; continue; } - r0 = (s.code___19824 - 48); - s.val___19831 = (r0); + r0 = (s.code___35616 - 48); + s.val___35623 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___19824 >= 97); + r0 = (s.code___35616 >= 97); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 34; continue; } r0 = s.tmp_0; { step = 35; continue; } case 34: - r0 = (s.code___19824 < 123); + r0 = (s.code___35616 < 123); case 35: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 36; continue; } - r0 = (10 + s.code___19824); + r0 = (10 + s.code___35616); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___19831 = (r0); + s.val___35623 = (r0); case 36: case 37: case 38: - r0 = (s.val___19831 == undefined); + r0 = (s.val___35623 == undefined); 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: - r0 = (s.val___19831 >= s.arg1); + r0 = (s.val___35623 >= s.arg1); case 40: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_numops_toBoolDecr(s.hasDigit___19816); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___35608); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -30121,26 +30121,26 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___19816 = (true); - r0 = (s.output___19815 * s.arg1); + s.hasDigit___35608 = (true); + r0 = (s.output___35607 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___19831); - s.output___19815 = (r0); - r0 = (s.i___19817 + 1); - s.i___19817 = (r0); + r0 = (s.tmp_0 + s.val___35623); + s.output___35607 = (r0); + r0 = (s.i___35609 + 1); + s.i___35609 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___19770 * s.output___19815); + r0 = (s.sign___35562 * s.output___35607); case 46: return leave(s, r0) default: oops() } } } -parseInt__P97.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} +parseInt__P22408.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} -function parseInt__P97_mk(s) { +function parseInt__P22408_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P97, depth: s.depth + 1, + parent: s, fn: parseInt__P22408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30156,13 +30156,13 @@ function parseInt__P97_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___19740: undefined, - sign___19770: undefined, - output___19815: undefined, - hasDigit___19816: undefined, - i___19817: undefined, - code___19824: undefined, - val___19831: undefined, + start___35532: undefined, + sign___35562: undefined, + output___35607: undefined, + hasDigit___35608: undefined, + i___35609: undefined, + code___35616: undefined, + val___35623: undefined, arg0: undefined, arg1: undefined, } } @@ -30171,7 +30171,7 @@ function parseInt__P97_mk(s) { -function helpers_isWhitespace__P124(s) { +function helpers_isWhitespace__P22435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30228,12 +30228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P124.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P22435.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P124_mk(s) { +function helpers_isWhitespace__P22435_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P124, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P22435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30243,7 +30243,7 @@ function helpers_isWhitespace__P124_mk(s) { -function music_MelodyPlayer_constructor__P1625(s) { +function music_MelodyPlayer_constructor__P23936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30259,18 +30259,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1622_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C23933_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_constructor__P1625.info = {"start":11094,"length":62,"line":336,"column":8,"endLine":338,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} +music_MelodyPlayer_constructor__P23936.info = {"start":11094,"length":62,"line":336,"column":8,"endLine":338,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} -function music_MelodyPlayer_constructor__P1625_mk(s) { +function music_MelodyPlayer_constructor__P23936_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_constructor__P1625, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_constructor__P23936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30280,7 +30280,7 @@ function music_MelodyPlayer_constructor__P1625_mk(s) { -function music_Melody_stop__P1617(s) { +function music_Melody_stop__P23928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30295,35 +30295,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_MelodyPlayer_stop__P1626_mk(s); + s.tmp_1 = music_MelodyPlayer_stop__P23937_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 8; s.pc = 3; return s.tmp_1; + s.callLocIdx = 82; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (null); case 1: case 2: - s.tmp_0 = music_Melody_unregisterMelody__P4204_mk(s); + s.tmp_0 = music_Melody_unregisterMelody__P26519_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 9; s.pc = 4; return s.tmp_0; + s.callLocIdx = 83; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_stop__P1617.info = {"start":6705,"length":173,"line":215,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_Melody_stop__P23928.info = {"start":6705,"length":173,"line":215,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_Melody_stop__P1617_mk(s) { +function music_Melody_stop__P23928_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stop__P1617, depth: s.depth + 1, + parent: s, fn: music_Melody_stop__P23928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30334,7 +30334,7 @@ function music_Melody_stop__P1617_mk(s) { -function music_MelodyPlayer_stop__P1626(s) { +function music_MelodyPlayer_stop__P23937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30349,18 +30349,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1622_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C23933_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (null); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_stop__P1626.info = {"start":11166,"length":49,"line":340,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} +music_MelodyPlayer_stop__P23937.info = {"start":11166,"length":49,"line":340,"column":8,"endLine":342,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} -function music_MelodyPlayer_stop__P1626_mk(s) { +function music_MelodyPlayer_stop__P23937_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_stop__P1626, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_stop__P23937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30369,7 +30369,7 @@ function music_MelodyPlayer_stop__P1626_mk(s) { -function scene_onOverlapTile__P2282(s) { +function scene_onOverlapTile__P24593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30379,7 +30379,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileOverlapHandlers___18532 = undefined; + s.tileOverlapHandlers___37607 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30415,34 +30415,34 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = game_currentScene__P2733_mk(s); - s.callLocIdx = 14; s.pc = 8; return s.tmp_5; + s.tmp_5 = game_currentScene__P25044_mk(s); + s.callLocIdx = 562; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___18532 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_TileOverlapHandler__C2595_VT); + s.tileOverlapHandlers___37607 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_TileOverlapHandler__C24906_VT); s.tmp_0 = r0; - s.tmp_1 = scene_TileOverlapHandler_constructor__P2596_mk(s); + s.tmp_1 = scene_TileOverlapHandler_constructor__P24907_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.arg2; - s.callLocIdx = 15; s.pc = 9; return s.tmp_1; + s.callLocIdx = 563; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.tileOverlapHandlers___18532, s.tmp_0); + r0 = pxsim_Array__push(s.tileOverlapHandlers___37607, s.tmp_0); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -scene_onOverlapTile__P2282.info = {"start":2786,"length":432,"line":89,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlapTile","argumentNames":["kind","tile","handler"]} +scene_onOverlapTile__P24593.info = {"start":2786,"length":432,"line":89,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlapTile","argumentNames":["kind","tile","handler"]} -function scene_onOverlapTile__P2282_mk(s) { +function scene_onOverlapTile__P24593_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_onOverlapTile__P2282, depth: s.depth + 1, + parent: s, fn: scene_onOverlapTile__P24593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30450,7 +30450,7 @@ function scene_onOverlapTile__P2282_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tileOverlapHandlers___18532: undefined, + tileOverlapHandlers___37607: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30460,7 +30460,7 @@ function scene_onOverlapTile__P2282_mk(s) { -function scene_TileOverlapHandler_constructor__P2596(s) { +function scene_TileOverlapHandler_constructor__P24907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30478,7 +30478,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_TileOverlapHandler__C2595_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_TileOverlapHandler__C24906_VT)) failedCast(r0); r0 = (s.arg0).fields["spriteKind"] = (s.arg1); r0 = (s.arg0).fields["tileKind"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -30486,12 +30486,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_TileOverlapHandler_constructor__P2596.info = {"start":1075,"length":180,"line":37,"column":8,"endLine":41,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","tileKind","handler"]} +scene_TileOverlapHandler_constructor__P24907.info = {"start":1075,"length":180,"line":37,"column":8,"endLine":41,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","tileKind","handler"]} -function scene_TileOverlapHandler_constructor__P2596_mk(s) { +function scene_TileOverlapHandler_constructor__P24907_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_TileOverlapHandler_constructor__P2596, depth: s.depth + 1, + parent: s, fn: scene_TileOverlapHandler_constructor__P24907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30503,7 +30503,7 @@ function scene_TileOverlapHandler_constructor__P2596_mk(s) { -function tiles_createTilemap__P2540(s) { +function tiles_createTilemap__P24851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30520,27 +30520,27 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C2495_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C24806_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_TileMapData_constructor__P2496_mk(s); + s.tmp_1 = tiles_TileMapData_constructor__P24807_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.arg2; s.tmp_1.arg4 = s.arg3; - s.callLocIdx = 29; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1026; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_createTilemap__P2540.info = {"start":18693,"length":170,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} +tiles_createTilemap__P24851.info = {"start":18693,"length":170,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} -function tiles_createTilemap__P2540_mk(s) { +function tiles_createTilemap__P24851_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createTilemap__P2540, depth: s.depth + 1, + parent: s, fn: tiles_createTilemap__P24851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30554,7 +30554,7 @@ function tiles_createTilemap__P2540_mk(s) { -function tiles_TileMapData_constructor__P2496(s) { +function tiles_TileMapData_constructor__P24807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30573,14 +30573,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_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__P2500_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P24811_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 790; s.pc = 1; return s.tmp_0; + s.callLocIdx = 946; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -30595,12 +30595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P2496.info = {"start":6048,"length":358,"line":204,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P24807.info = {"start":6048,"length":358,"line":204,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P2496_mk(s) { +function tiles_TileMapData_constructor__P24807_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P2496, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P24807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30615,7 +30615,7 @@ function tiles_TileMapData_constructor__P2496_mk(s) { -function helpers_stringTrim__P123(s) { +function helpers_stringTrim__P22434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30625,29 +30625,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___17533 = undefined; - s.end___17534 = undefined; + s.start___37687 = undefined; + s.end___37688 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.start___17533 = (0); + s.start___37687 = (0); r0 = pxsim_String_.length(s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___17534 = (r0); + s.end___37688 = (r0); case 1: - r0 = (s.start___17533 <= s.end___17534); + r0 = (s.start___37687 <= s.end___37688); 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: - s.tmp_1 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___17533); + s.tmp_1 = helpers_isWhitespace__P22435_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___37687); s.tmp_1.arg0 = r0; - s.callLocIdx = 0; s.pc = 9; return s.tmp_1; + s.callLocIdx = 16; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -30655,22 +30655,22 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = (s.start___17533 + 1); - s.start___17533 = (r0); + r0 = (s.start___37687 + 1); + s.start___37687 = (r0); { step = 1; continue; } case 4: case 5: - r0 = (s.end___17534 > s.start___17533); + r0 = (s.end___37688 > s.start___37687); 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: - s.tmp_1 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.end___17534); + s.tmp_1 = helpers_isWhitespace__P22435_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.end___37688); s.tmp_1.arg0 = r0; - s.callLocIdx = 1; s.pc = 10; return s.tmp_1; + s.callLocIdx = 17; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; case 7: @@ -30678,33 +30678,33 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - r0 = (s.end___17534 - 1); - s.end___17534 = (r0); + r0 = (s.end___37688 - 1); + s.end___37688 = (r0); { step = 5; continue; } case 8: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P22430_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___17533; - r0 = (s.end___17534 + 1); + s.tmp_0.arg1 = s.start___37687; + r0 = (s.end___37688 + 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 2; s.pc = 11; return s.tmp_0; + s.callLocIdx = 18; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_stringTrim__P123.info = {"start":14539,"length":319,"line":491,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} +helpers_stringTrim__P22434.info = {"start":14539,"length":319,"line":491,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} -function helpers_stringTrim__P123_mk(s) { +function helpers_stringTrim__P22434_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringTrim__P123, depth: s.depth + 1, + parent: s, fn: helpers_stringTrim__P22434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___17533: undefined, - end___17534: undefined, + start___37687: undefined, + end___37688: undefined, arg0: undefined, } } @@ -30712,7 +30712,7 @@ function helpers_stringTrim__P123_mk(s) { -function helpers__registerFactory__P3059(s) { +function helpers__registerFactory__P25370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30727,31 +30727,31 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___4948); + r0 = pxsim_numops_toBoolDecr(globals.factories___27263); 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.factories___4948 = (r0); + globals.factories___27263 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "kind", s.arg0); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "factory", s.arg1); - r0 = pxsim_Array__push(globals.factories___4948, s.tmp_0); + r0 = pxsim_Array__push(globals.factories___27263, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers__registerFactory__P3059.info = {"start":1776,"length":201,"line":52,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} +helpers__registerFactory__P25370.info = {"start":1776,"length":201,"line":52,"column":4,"endLine":58,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} -function helpers__registerFactory__P3059_mk(s) { +function helpers__registerFactory__P25370_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__registerFactory__P3059, depth: s.depth + 1, + parent: s, fn: helpers__registerFactory__P25370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30763,7 +30763,7 @@ function helpers__registerFactory__P3059_mk(s) { -function game_eventContext__P2736(s) { +function game_eventContext__P25047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30773,21 +30773,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P4539_mk(s); + s.tmp_0 = game_init__P26854_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 915; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1172; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___4531.fields["eventContext"]; + r0 = globals._scene___26846.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P2736.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P25047.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__P2736_mk(s) { +function game_eventContext__P25047_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P2736, depth: s.depth + 1, + parent: s, fn: game_eventContext__P25047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -30796,7 +30796,7 @@ function game_eventContext__P2736_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P2029(s) { +function controller_pauseUntilAnyButtonIsPressed__P24340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30816,12 +30816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P2029.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P24340.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P2029_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P24340_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P2029, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P24340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -30829,7 +30829,7 @@ function controller_pauseUntilAnyButtonIsPressed__P2029_mk(s) { -function game_setWaitAnyButton__P2734(s) { +function game_setWaitAnyButton__P25045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30843,17 +30843,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___4535 = (s.arg0); + globals.__waitAnyButton___26850 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P2734.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__P25045.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__P2734_mk(s) { +function game_setWaitAnyButton__P25045_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P2734, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P25045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30862,7 +30862,7 @@ function game_setWaitAnyButton__P2734_mk(s) { -function Math_FastRandom_constructor__P2790(s) { +function Math_FastRandom_constructor__P25101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30878,7 +30878,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2788_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C25099_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -30893,12 +30893,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P2790.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__P25101.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__P2790_mk(s) { +function Math_FastRandom_constructor__P25101_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P2790, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P25101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30909,7 +30909,7 @@ function Math_FastRandom_constructor__P2790_mk(s) { -function game_consoleOverlay_listener__P4864(s) { +function game_consoleOverlay_listener__P27179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30924,7 +30924,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4829); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27144); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30944,39 +30944,39 @@ switch (step) { { step = 7; continue; } case 3: case 4: - 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_4 = helpers_arrayForEach__P22420_mk(s); + s.tmp_5 = helpers_arrayFilter__P22421_mk(s); + s.tmp_6 = helpers_stringSplit__P22433_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1096; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1372; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P10193; - s.callLocIdx = 1097; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = forEach_inline__P37771; + s.callLocIdx = 1373; 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__P10198; - s.callLocIdx = 1099; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P37776; + s.callLocIdx = 1375; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___4829); + r0 = pxsim_Array__length(globals.consoleStrings___27144); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___4842); + r0 = (s.tmp_1 > globals.consoleLines___27157); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P100_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___4829; + s.tmp_2 = helpers_arraySplice__P22411_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___27144; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___4829); + r0 = pxsim_Array__length(globals.consoleStrings___27144); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___4842); + r0 = (s.tmp_3 - globals.consoleLines___27157); s.tmp_2.arg2 = r0; - s.callLocIdx = 1100; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1376; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -30986,12 +30986,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P4864.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__P27179.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__P4864_mk(s) { +function game_consoleOverlay_listener__P27179_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P4864, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P27179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31008,7 +31008,7 @@ function game_consoleOverlay_listener__P4864_mk(s) { -function forEach_inline__P10193(s) { +function forEach_inline__P37771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31032,12 +31032,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P10193.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__P37771.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__P10193_mk(s) { +function forEach_inline__P37771_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P10193, depth: s.depth + 1, + parent: s, fn: forEach_inline__P37771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31049,7 +31049,7 @@ function forEach_inline__P10193_mk(s) { -function game_consoleOverlay_listener_inline__P10198(s) { +function game_consoleOverlay_listener_inline__P37776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31059,45 +31059,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___10200 = undefined; + s.j___37778 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___10200 = (0); + s.j___37778 = (0); case 1: - s.tmp_1 = r0 = s.j___10200; + s.tmp_1 = r0 = s.j___37778; 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___4829; - s.tmp_5 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___27144; + s.tmp_5 = helpers_stringSlice__P22430_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___10200; - r0 = (s.j___10200 + globals.consoleColumns___4852); + s.tmp_5.arg1 = s.j___37778; + r0 = (s.j___37778 + globals.consoleColumns___27167); s.tmp_5.arg2 = r0; - s.callLocIdx = 1098; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1374; 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___10200 + globals.consoleColumns___4852); - s.j___10200 = (r0); + r0 = (s.j___37778 + globals.consoleColumns___27167); + s.j___37778 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P10198.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__P37776.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__P10198_mk(s) { +function game_consoleOverlay_listener_inline__P37776_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P10198, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P37776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31105,7 +31105,7 @@ function game_consoleOverlay_listener_inline__P10198_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___10200: undefined, + j___37778: undefined, arg0: undefined, } } @@ -31113,7 +31113,7 @@ function game_consoleOverlay_listener_inline__P10198_mk(s) { -function console_addListener__P383(s) { +function console_addListener__P22694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31136,7 +31136,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___4142, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___26457, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -31147,18 +31147,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___4142, s.arg0); + r0 = pxsim_Array__push(globals.listeners___26457, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P383.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__P22694.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__P383_mk(s) { +function console_addListener__P22694_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P383, depth: s.depth + 1, + parent: s, fn: console_addListener__P22694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31171,7 +31171,7 @@ function console_addListener__P383_mk(s) { -function listeners_inline__P4141(s) { +function listeners_inline__P26456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31191,12 +31191,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P4141.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__P26456.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__P4141_mk(s) { +function listeners_inline__P26456_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P4141, depth: s.depth + 1, + parent: s, fn: listeners_inline__P26456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31206,7 +31206,7 @@ function listeners_inline__P4141_mk(s) { -function scene_systemMenu_register__P2835(s) { +function scene_systemMenu_register__P25146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31216,16 +31216,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4783); + r0 = pxsim_numops_toBoolDecr(globals.instance___27098); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P2020_mk(s); - s.tmp_0.arg0 = globals.menu___1947; + s.tmp_0 = controller_Button_onEvent__P24331_mk(s); + s.tmp_0.arg0 = globals.menu___24258; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P2836; - s.callLocIdx = 1083; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P25147; + s.callLocIdx = 1359; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -31233,12 +31233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P2835.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__P25146.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__P2835_mk(s) { +function scene_systemMenu_register__P25146_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P2835, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P25146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31247,7 +31247,7 @@ function scene_systemMenu_register__P2835_mk(s) { -function scene_systemMenu_showSystemMenu__P2836(s) { +function scene_systemMenu_showSystemMenu__P25147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31257,28 +31257,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4783); + r0 = pxsim_numops_toBoolDecr(globals.instance___27098); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P2737_mk(s); - s.callLocIdx = 1084; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P25048_mk(s); + s.callLocIdx = 1360; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C2824_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C25135_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P2825_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P25136_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P2832; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P25143; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1085; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1361; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___4783 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P2826_mk(s); - s.tmp_0.arg0 = globals.instance___4783; - s.callLocIdx = 1086; s.pc = 6; return s.tmp_0; + globals.instance___27098 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P25137_mk(s); + s.tmp_0.arg0 = globals.instance___27098; + s.callLocIdx = 1362; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -31286,12 +31286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P2836.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__P25147.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__P2836_mk(s) { +function scene_systemMenu_showSystemMenu__P25147_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P2836, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P25147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31301,7 +31301,7 @@ function scene_systemMenu_showSystemMenu__P2836_mk(s) { -function scene_systemMenu_buildOptionList__P2832(s) { +function scene_systemMenu_buildOptionList__P25143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31311,136 +31311,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___11961 = undefined; + s.options___38784 = undefined; r0 = pxsim_Array__mk(); - s.options___11961 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + s.options___38784 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___2846; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11969; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P4789; - s.callLocIdx = 1066; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___25157; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38792; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P27104; + s.callLocIdx = 1342; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + r0 = pxsim_Array__push(s.options___38784, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___2843; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11983; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P4788; - s.callLocIdx = 1068; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___25154; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38806; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P27103; + s.callLocIdx = 1344; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); + r0 = pxsim_Array__push(s.options___38784, 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__C2816_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___2844; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P11998; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P4791; - s.callLocIdx = 1071; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___25155; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P38821; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P27106; + s.callLocIdx = 1347; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + r0 = pxsim_Array__push(s.options___38784, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___2849; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12013; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P4790; - s.callLocIdx = 1073; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___25160; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38836; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P27105; + s.callLocIdx = 1349; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); + r0 = pxsim_Array__push(s.options___38784, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___2850; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12028; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P4793; - s.callLocIdx = 1074; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___25161; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38851; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P27108; + s.callLocIdx = 1350; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + r0 = pxsim_Array__push(s.options___38784, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___2848; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12037; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P4794; - s.callLocIdx = 1076; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___25159; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38860; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P27109; + s.callLocIdx = 1352; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + r0 = pxsim_Array__push(s.options___38784, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___2847; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12046; - s.tmp_1.arg3 = scene_systemMenu_sleep__P4795; - s.callLocIdx = 1077; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___25158; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38869; + s.tmp_1.arg3 = scene_systemMenu_sleep__P27110; + s.callLocIdx = 1353; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___4784); + r0 = pxsim_Array__push(s.options___38784, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___27099); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P113_mk(s); - s.tmp_0.arg0 = s.options___11961; - s.tmp_0.arg1 = globals.customMenuOptions___4784; - s.callLocIdx = 1078; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P22424_mk(s); + s.tmp_0.arg0 = s.options___38784; + s.tmp_0.arg1 = globals.customMenuOptions___27099; + s.callLocIdx = 1354; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___11961 = (r0); + s.options___38784 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C2816_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C25127_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P2817_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P25128_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___2845; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12059; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P2831; - s.callLocIdx = 1079; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___25156; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P38882; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P25142; + s.callLocIdx = 1355; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___11961, s.tmp_0); - r0 = s.options___11961; + r0 = pxsim_Array__push(s.options___38784, s.tmp_0); + r0 = s.options___38784; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P2832.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__P25143.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__P2832_mk(s) { +function scene_systemMenu_buildOptionList__P25143_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P2832, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P25143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___11961: undefined, + options___38784: undefined, } } -function scene_systemMenu_buildOptionList_inline__P11969(s) { +function scene_systemMenu_buildOptionList_inline__P38792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31450,8 +31450,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P1607_mk(s); - s.callLocIdx = 1065; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P23918_mk(s); + s.callLocIdx = 1341; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -31470,12 +31470,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P11969.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__P38792.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__P11969_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38792_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P11969, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31487,7 +31487,7 @@ function scene_systemMenu_buildOptionList_inline__P11969_mk(s) { -function scene_systemMenu_buildOptionList_inline__P11983(s) { +function scene_systemMenu_buildOptionList_inline__P38806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31497,8 +31497,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P1607_mk(s); - s.callLocIdx = 1067; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P23918_mk(s); + s.callLocIdx = 1343; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -31517,12 +31517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P11983.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__P38806.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__P11983_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38806_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P11983, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31534,7 +31534,7 @@ function scene_systemMenu_buildOptionList_inline__P11983_mk(s) { -function scene_systemMenu_buildOptionList_inline__P11998(s) { +function scene_systemMenu_buildOptionList_inline__P38821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31544,7 +31544,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1784; + r0 = globals.brightness___24095; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -31561,12 +31561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P11998.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__P38821.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__P11998_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38821_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P11998, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31577,7 +31577,7 @@ function scene_systemMenu_buildOptionList_inline__P11998_mk(s) { -function scene_systemMenu_buildOptionList_inline__P12013(s) { +function scene_systemMenu_buildOptionList_inline__P38836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31587,7 +31587,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1784; + r0 = globals.brightness___24095; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -31604,12 +31604,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P12013.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__P38836.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__P12013_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38836_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P12013, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38836, 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 scene_systemMenu_buildOptionList_inline__P12013_mk(s) { -function scene_systemMenu_buildOptionList_inline__P12028(s) { +function scene_systemMenu_buildOptionList_inline__P38851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31630,7 +31630,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2730); + r0 = pxsim_numops_toBoolDecr(globals.stats___25041); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -31643,12 +31643,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P12028.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__P38851.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__P12028_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38851_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P12028, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31657,7 +31657,7 @@ function scene_systemMenu_buildOptionList_inline__P12028_mk(s) { -function scene_systemMenu_buildOptionList_inline__P12037(s) { +function scene_systemMenu_buildOptionList_inline__P38860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31667,7 +31667,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4829); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27144); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -31688,12 +31688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P12037.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__P38860.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__P12037_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38860_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P12037, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31706,7 +31706,7 @@ function scene_systemMenu_buildOptionList_inline__P12037_mk(s) { -function scene_systemMenu_buildOptionList_inline__P12046(s) { +function scene_systemMenu_buildOptionList_inline__P38869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31720,12 +31720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P12046.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__P38869.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__P12046_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38869_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P12046, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31733,7 +31733,7 @@ function scene_systemMenu_buildOptionList_inline__P12046_mk(s) { -function scene_systemMenu_buildOptionList_inline__P12059(s) { +function scene_systemMenu_buildOptionList_inline__P38882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31747,12 +31747,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P12059.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__P38882.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__P12059_mk(s) { +function scene_systemMenu_buildOptionList_inline__P38882_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P12059, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P38882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31760,7 +31760,7 @@ function scene_systemMenu_buildOptionList_inline__P12059_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P4796(s) { +function scene_systemMenu_setScreenBrightnessSupported__P27111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31774,12 +31774,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P4796.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__P27111.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__P4796_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P27111_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P4796, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P27111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31787,7 +31787,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P4796_mk(s) { -function scene_systemMenu_sleep__P4795(s) { +function scene_systemMenu_sleep__P27110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31802,12 +31802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P4795.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__P27110.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__P4795_mk(s) { +function scene_systemMenu_sleep__P27110_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P4795, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P27110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -31815,7 +31815,7 @@ function scene_systemMenu_sleep__P4795_mk(s) { -function scene_systemMenu_toggleConsole__P4794(s) { +function scene_systemMenu_toggleConsole__P27109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31825,7 +31825,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4829); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27144); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -31835,23 +31835,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P2855_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P25166_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1059; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1335; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P2855_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P25166_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1060; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1336; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P380_mk(s); + s.tmp_0 = console_log__P22691_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1061; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1337; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -31859,12 +31859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P4794.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__P27109.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__P4794_mk(s) { +function scene_systemMenu_toggleConsole__P27109_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P4794, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P27109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31877,7 +31877,7 @@ function scene_systemMenu_toggleConsole__P4794_mk(s) { -function game_consoleOverlay_setVisible__P2855(s) { +function game_consoleOverlay_setVisible__P25166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31893,7 +31893,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4829); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27144); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -31914,26 +31914,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___4829 = (s.tmp_6); + globals.consoleStrings___27144 = (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___4828 = (s.arg1); + globals.consoleColor___27143 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P2855.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__P25166.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__P2855_mk(s) { +function game_consoleOverlay_setVisible__P25166_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P2855, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P25166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31950,7 +31950,7 @@ function game_consoleOverlay_setVisible__P2855_mk(s) { -function console_log__P380(s) { +function console_log__P22691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31964,22 +31964,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P376_mk(s); + s.tmp_0 = console_add__P22687_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 33; s.pc = 1; return s.tmp_0; + s.callLocIdx = 38; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -console_log__P380.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__P22691.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__P380_mk(s) { +function console_log__P22691_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P380, depth: s.depth + 1, + parent: s, fn: console_log__P22691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31989,7 +31989,7 @@ function console_log__P380_mk(s) { -function console_add__P376(s) { +function console_add__P22687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31999,58 +31999,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___12098 = undefined; - s.i___12107 = undefined; + s.text___38921 = undefined; + s.i___38930 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___375); + r0 = (s.arg0 < globals.minPriority___22686); 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__P382_mk(s); + s.tmp_1 = console_inspect__P22693_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; - s.callLocIdx = 31; s.pc = 6; return s.tmp_1; + s.callLocIdx = 36; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___12098 = (r0); - if ((s.text___12098) && (s.text___12098).vtable) { + s.text___38921 = (r0); + if ((s.text___38921) && (s.text___38921).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___12098); + pxsim_String__stringConv(s.text___38921); checkResumeConsumed(); return; - } else { s.retval = (s.text___12098) + ""; } + } else { s.retval = (s.text___38921) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___12098 = (r0); - s.i___12107 = (0); + s.text___38921 = (r0); + s.i___38930 = (0); case 3: - s.tmp_1 = r0 = s.i___12107; - r0 = pxsim_Array__length(globals.listeners___4142); + s.tmp_1 = r0 = s.i___38930; + r0 = pxsim_Array__length(globals.listeners___26457); 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___4142, s.i___12107); + r0 = pxsim_Array__getAt(globals.listeners___26457, s.i___38930); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___12098; + s.tmp_3.arg1 = s.text___38921; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 32; s.pc = 8; return s.tmp_3; + s.callLocIdx = 37; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___12107 + 1); - s.i___12107 = (r0); + r0 = (s.i___38930 + 1); + s.i___38930 = (r0); { step = 3; continue; } case 4: case 5: @@ -32058,19 +32058,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P376.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__P22687.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__P376_mk(s) { +function console_add__P22687_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P376, depth: s.depth + 1, + parent: s, fn: console_add__P22687, 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___12098: undefined, - i___12107: undefined, + text___38921: undefined, + i___38930: undefined, arg0: undefined, arg1: undefined, } } @@ -32079,7 +32079,7 @@ function console_add__P376_mk(s) { -function scene_systemMenu_toggleStats__P4793(s) { +function scene_systemMenu_toggleStats__P27108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32089,11 +32089,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2730); + r0 = pxsim_numops_toBoolDecr(globals.stats___25041); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___2730 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2730); + globals.stats___25041 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___25041); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -32102,18 +32102,18 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___398; + r0 = globals.control_EventContext_onStats___22709; 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___398; + s.tmp_3.argL = globals.control_EventContext_onStats___22709; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 1057; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1333; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -32122,12 +32122,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P4793.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__P27108.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__P4793_mk(s) { +function scene_systemMenu_toggleStats__P27108_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P4793, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P27108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32139,7 +32139,7 @@ function scene_systemMenu_toggleStats__P4793_mk(s) { -function scene_systemMenu_brightnessDown__P4791(s) { +function scene_systemMenu_brightnessDown__P27106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32149,24 +32149,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P4792_mk(s); - r0 = globals.brightness___1784; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P27107_mk(s); + r0 = globals.brightness___24095; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1053; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1329; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P4791.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__P27106.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__P4791_mk(s) { +function scene_systemMenu_brightnessDown__P27106_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P4791, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P27106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32176,7 +32176,7 @@ function scene_systemMenu_brightnessDown__P4791_mk(s) { -function scene_systemMenu_setScreenBrightness__P4792(s) { +function scene_systemMenu_setScreenBrightness__P27107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32190,29 +32190,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P1796_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_setScreenBrightness__P24107_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1054; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1330; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P1892_mk(s); + s.tmp_0 = settings_writeNumber__P24203_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___1784; + r0 = globals.brightness___24095; s.tmp_0.arg1 = r0; - s.callLocIdx = 1056; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1332; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P4792.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__P27107.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__P4792_mk(s) { +function scene_systemMenu_setScreenBrightness__P27107_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P4792, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P27107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32222,7 +32222,7 @@ function scene_systemMenu_setScreenBrightness__P4792_mk(s) { -function helpers_setScreenBrightness__P1796(s) { +function helpers_setScreenBrightness__P24107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32237,27 +32237,27 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P22438_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 85; s.pc = 1; return s.tmp_0; + s.callLocIdx = 131; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___1784 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1784); + globals.brightness___24095 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___24095); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P1796.info = {"start":7427,"length":210,"line":238,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P24107.info = {"start":7427,"length":210,"line":238,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P1796_mk(s) { +function helpers_setScreenBrightness__P24107_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P1796, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P24107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32268,7 +32268,7 @@ function helpers_setScreenBrightness__P1796_mk(s) { -function scene_systemMenu_brightnessUp__P4790(s) { +function scene_systemMenu_brightnessUp__P27105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32278,24 +32278,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P4792_mk(s); - r0 = globals.brightness___1784; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P27107_mk(s); + r0 = globals.brightness___24095; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1051; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1327; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P4790.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__P27105.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__P4790_mk(s) { +function scene_systemMenu_brightnessUp__P27105_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P4790, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P27105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32305,7 +32305,7 @@ function scene_systemMenu_brightnessUp__P4790_mk(s) { -function scene_systemMenu_volumeDown__P4789(s) { +function scene_systemMenu_volumeDown__P27104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32315,54 +32315,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___12682 = undefined; - s.remainder___12685 = undefined; - s.newVolume___12688 = undefined; - s.tmp_0 = music_volume__P1607_mk(s); - s.callLocIdx = 1048; s.pc = 3; return s.tmp_0; + s.v___39102 = undefined; + s.remainder___39105 = undefined; + s.newVolume___39108 = undefined; + s.tmp_0 = music_volume__P23918_mk(s); + s.callLocIdx = 1324; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___12682 = (r0); - r0 = (s.v___12682 % 32); - s.remainder___12685 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___12685); + s.v___39102 = (r0); + r0 = (s.v___39102 % 32); + s.remainder___39105 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___39105); if (!r0) { step = 1; continue; } - r0 = s.remainder___12685; + r0 = s.remainder___39105; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___12682 - s.tmp_0); - s.newVolume___12688 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P4787_mk(s); - s.tmp_0.arg0 = s.newVolume___12688; - s.callLocIdx = 1049; s.pc = 4; return s.tmp_0; + r0 = (s.v___39102 - s.tmp_0); + s.newVolume___39108 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P27102_mk(s); + s.tmp_0.arg0 = s.newVolume___39108; + s.callLocIdx = 1325; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P4789.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__P27104.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__P4789_mk(s) { +function scene_systemMenu_volumeDown__P27104_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P4789, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P27104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___12682: undefined, - remainder___12685: undefined, - newVolume___12688: undefined, + v___39102: undefined, + remainder___39105: undefined, + newVolume___39108: undefined, } } -function scene_systemMenu_setVolume__P4787(s) { +function scene_systemMenu_setVolume__P27102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32376,33 +32376,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P1606_mk(s); + s.tmp_0 = music_setVolume__P23917_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1043; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1319; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P1608_mk(s); + s.tmp_0 = music_playTone__P23919_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1044; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1320; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P1892_mk(s); + s.tmp_0 = settings_writeNumber__P24203_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1045; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1321; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P4787.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__P27102.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__P4787_mk(s) { +function scene_systemMenu_setVolume__P27102_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P4787, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P27102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32412,7 +32412,7 @@ function scene_systemMenu_setVolume__P4787_mk(s) { -function music_playTone__P1608(s) { +function music_playTone__P23919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32422,7 +32422,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___12523 = undefined; + s.id___39034 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32447,29 +32447,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P4200_mk(s); + s.tmp_2 = music_playNoteCore__P26515_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_2.arg2 = r0; - s.callLocIdx = 64; s.pc = 5; return s.tmp_2; + s.callLocIdx = 76; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P22724_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; - s.callLocIdx = 65; s.pc = 6; return s.tmp_0; + s.callLocIdx = 77; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___4202 + 1); + r0 = (globals.playToneID___26517 + 1); s.tmp_0 = r0; - globals.playToneID___4202 = (r0); - s.id___12523 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P12529); + globals.playToneID___26517 = (r0); + s.id___39034 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P39040); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___12523); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___39034); 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); @@ -32478,17 +32478,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P1608.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__P23919.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__P1608_mk(s) { +function music_playTone__P23919_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P1608, depth: s.depth + 1, + parent: s, fn: music_playTone__P23919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___12523: undefined, + id___39034: undefined, arg0: undefined, arg1: undefined, } } @@ -32497,7 +32497,7 @@ function music_playTone__P1608_mk(s) { -function music_playTone_inline__P12529(s) { +function music_playTone_inline__P39040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32507,14 +32507,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___12530 = undefined; - s.now___12540 = undefined; - s.d___12543 = undefined; - s.t___12547 = undefined; + s.pos___39041 = undefined; + s.now___39051 = undefined; + s.d___39054 = undefined; + s.t___39058 = undefined; r0 = pxsim.control.millis(); - s.pos___12530 = (r0); + s.pos___39041 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___4202); + r0 = (s.caps[0] == globals.playToneID___26517); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -32530,31 +32530,31 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___12540 = (r0); - r0 = (s.pos___12530 - s.now___12540); - s.d___12543 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.now___39051 = (r0); + r0 = (s.pos___39041 - s.now___39051); + s.d___39054 = (r0); + s.tmp_0 = Math_min__P22442_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; - s.callLocIdx = 66; s.pc = 7; return s.tmp_0; + s.callLocIdx = 78; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___12547 = (r0); + s.t___39058 = (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___12547); + r0 = (s.tmp_2 - s.t___39058); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___12530 + s.t___12547); - s.pos___12530 = (r0); - s.tmp_0 = music_playNoteCore__P4200_mk(s); - r0 = (s.d___12543 - 1); + r0 = (s.pos___39041 + s.t___39058); + s.pos___39041 = (r0); + s.tmp_0 = music_playNoteCore__P26515_mk(s); + r0 = (s.d___39054 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___12547; - s.callLocIdx = 67; s.pc = 8; return s.tmp_0; + s.tmp_0.arg2 = s.t___39058; + s.callLocIdx = 79; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); @@ -32563,20 +32563,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P413_mk(s); - r0 = (s.d___12543 + s.t___12547); + s.tmp_2 = pause__P22724_mk(s); + r0 = (s.d___39054 + s.t___39058); s.tmp_2.arg0 = r0; - s.callLocIdx = 68; s.pc = 9; return s.tmp_2; + s.callLocIdx = 80; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P413_mk(s); - r0 = (s.d___12543 + s.t___12547); + s.tmp_0 = pause__P22724_mk(s); + r0 = (s.d___39054 + s.t___39058); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; - s.callLocIdx = 69; s.pc = 10; return s.tmp_0; + s.callLocIdx = 81; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 5: @@ -32586,27 +32586,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P12529.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__P39040.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__P12529_mk(s) { +function music_playTone_inline__P39040_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P12529, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P39040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___12530: undefined, - now___12540: undefined, - d___12543: undefined, - t___12547: undefined, + pos___39041: undefined, + now___39051: undefined, + d___39054: undefined, + t___39058: undefined, } } -function music_playNoteCore__P4200(s) { +function music_playNoteCore__P26515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32616,7 +32616,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___12577 = undefined; + s.buf___39088 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32624,39 +32624,39 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___12577 = (r0); - s.tmp_0 = music_addNote__P4207_mk(s); - s.tmp_0.arg0 = s.buf___12577; + s.buf___39088 = (r0); + s.tmp_0 = music_addNote__P26522_mk(s); + s.tmp_0.arg0 = s.buf___39088; 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__P1607_mk(s); - s.callLocIdx = 62; s.pc = 2; return s.tmp_1; + s.tmp_1 = music_volume__P23918_mk(s); + s.callLocIdx = 74; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg7 = r0; s.tmp_0.arg8 = s.arg1; - s.callLocIdx = 63; s.pc = 1; return s.tmp_0; + s.callLocIdx = 75; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___12577); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___39088); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P4200.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__P26515.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__P4200_mk(s) { +function music_playNoteCore__P26515_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P4200, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P26515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___12577: undefined, + buf___39088: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32666,7 +32666,7 @@ function music_playNoteCore__P4200_mk(s) { -function scene_systemMenu_volumeUp__P4788(s) { +function scene_systemMenu_volumeUp__P27103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32676,47 +32676,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___12491 = undefined; - s.remainder___12494 = undefined; - s.newVolume___12497 = undefined; - s.tmp_0 = music_volume__P1607_mk(s); - s.callLocIdx = 1046; s.pc = 1; return s.tmp_0; + s.v___39002 = undefined; + s.remainder___39005 = undefined; + s.newVolume___39008 = undefined; + s.tmp_0 = music_volume__P23918_mk(s); + s.callLocIdx = 1322; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___12491 = (r0); - r0 = (s.v___12491 % 32); - s.remainder___12494 = (r0); - r0 = (s.v___12491 + 32); + s.v___39002 = (r0); + r0 = (s.v___39002 % 32); + s.remainder___39005 = (r0); + r0 = (s.v___39002 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___12494); - s.newVolume___12497 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P4787_mk(s); - s.tmp_0.arg0 = s.newVolume___12497; - s.callLocIdx = 1047; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___39005); + s.newVolume___39008 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P27102_mk(s); + s.tmp_0.arg0 = s.newVolume___39008; + s.callLocIdx = 1323; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P4788.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__P27103.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__P4788_mk(s) { +function scene_systemMenu_volumeUp__P27103_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P4788, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P27103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___12491: undefined, - remainder___12494: undefined, - newVolume___12497: undefined, + v___39002: undefined, + remainder___39005: undefined, + newVolume___39008: undefined, } } -function game_consoleOverlay_isVisible__P2853(s) { +function game_consoleOverlay_isVisible__P25164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32726,7 +32726,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___4829); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___27144); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -32736,12 +32736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P2853.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__P25164.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__P2853_mk(s) { +function game_consoleOverlay_isVisible__P25164_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P2853, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P25164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32752,7 +32752,7 @@ function game_consoleOverlay_isVisible__P2853_mk(s) { -function scene_systemMenu_closeMenu__P2831(s) { +function scene_systemMenu_closeMenu__P25142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32762,21 +32762,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___4783); + r0 = pxsim_numops_toBoolDecr(globals.instance___27098); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P2830_mk(s); - s.tmp_0.arg0 = globals.instance___4783; - s.callLocIdx = 1062; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P25141_mk(s); + s.tmp_0.arg0 = globals.instance___27098; + s.callLocIdx = 1338; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___4783 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P2030_mk(s); + globals.instance___27098 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P24341_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1063; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1339; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P2738_mk(s); - s.callLocIdx = 1064; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P25049_mk(s); + s.callLocIdx = 1340; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -32785,12 +32785,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P2831.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__P25142.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__P2831_mk(s) { +function scene_systemMenu_closeMenu__P25142_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P2831, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P25142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32799,7 +32799,7 @@ function scene_systemMenu_closeMenu__P2831_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P2830(s) { +function scene_systemMenu_PauseMenu_dispose__P25141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32814,16 +32814,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_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__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P10875; - s.callLocIdx = 1039; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P38329; + s.callLocIdx = 1315; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -32833,12 +32833,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P2830.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__P25141.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__P2830_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P25141_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P2830, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P25141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32849,7 +32849,7 @@ function scene_systemMenu_PauseMenu_dispose__P2830_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P10875(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P38329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32863,21 +32863,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P2823_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P25134_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1038; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1314; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P10875.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__P38329.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__P10875_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P38329_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P10875, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P38329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32887,7 +32887,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P10875_mk(s) { -function scene_systemMenu_MenuOption_dispose__P2823(s) { +function scene_systemMenu_MenuOption_dispose__P25134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32902,25 +32902,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_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__P2250_mk(s); + s.tmp_1 = Sprite_destroy__P24561_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 958; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1234; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P2250_mk(s); + s.tmp_0 = Sprite_destroy__P24561_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 959; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1235; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -32931,12 +32931,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P2823.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__P25134.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__P2823_mk(s) { +function scene_systemMenu_MenuOption_dispose__P25134_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P2823, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P25134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32947,7 +32947,7 @@ function scene_systemMenu_MenuOption_dispose__P2823_mk(s) { -function Sprite_destroy__P2250(s) { +function Sprite_destroy__P24561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32964,7 +32964,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -32982,19 +32982,19 @@ 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__P2994_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P25305_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; - s.callLocIdx = 415; s.pc = 6; return s.tmp_0; + s.callLocIdx = 478; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P2251_mk(s); + s.tmp_0 = Sprite__destroyCore__P24562_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 416; s.pc = 7; return s.tmp_0; + s.callLocIdx = 479; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 4: @@ -33003,12 +33003,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P2250.info = {"start":26312,"length":293,"line":856,"column":4,"endLine":865,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P24561.info = {"start":26312,"length":293,"line":856,"column":4,"endLine":865,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P2250_mk(s) { +function Sprite_destroy__P24561_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P2250, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P24561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33024,7 +33024,7 @@ function Sprite_destroy__P2250_mk(s) { -function effects_ParticleEffect_destroy__P2994(s) { +function effects_ParticleEffect_destroy__P25305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33042,15 +33042,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C2991_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2241_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C25302_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P24552_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; - s.callLocIdx = 1223; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1499; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P2993_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P25304_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -33067,7 +33067,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1224; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1500; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -33082,22 +33082,22 @@ 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__P3020_mk(s); - s.tmp_0.arg0 = globals.dissolve___3023; + s.tmp_0 = effects_ImageEffect_applyTo__P25331_mk(s); + s.tmp_0.arg0 = globals.dissolve___25334; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1225; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1501; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P2994.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__P25305.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__P2994_mk(s) { +function effects_ParticleEffect_destroy__P25305_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P2994, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P25305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33115,7 +33115,7 @@ function effects_ParticleEffect_destroy__P2994_mk(s) { -function dissolve_inline__P11019(s) { +function dissolve_inline__P38453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33125,11 +33125,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11022 = undefined; - s.x___11033 = undefined; - s.y___11039 = undefined; - s.w___11045 = undefined; - s.h___11049 = undefined; + s.i___38456 = undefined; + s.x___38467 = undefined; + s.y___38473 = undefined; + s.w___38479 = undefined; + s.h___38483 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33142,13 +33142,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___11022 = (r0); + s.i___38456 = (r0); case 1: - r0 = (s.i___11022 > 0); + r0 = (s.i___38456 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P2792_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -33156,8 +33156,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___11033 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2792_mk(s); + s.x___38467 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -33165,56 +33165,56 @@ switch (step) { s.callLocIdx = 40; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___11039 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2792_mk(s); + s.y___38473 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 41; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___11045 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P2792_mk(s); + s.w___38479 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___11049 = (r0); - s.tmp_0 = helpers_imageDrawRect__P1792_mk(s); + s.h___38483 = (r0); + s.tmp_0 = helpers_imageDrawRect__P24103_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___11033; - s.tmp_0.arg2 = s.y___11039; - s.tmp_0.arg3 = s.w___11045; - s.tmp_0.arg4 = s.h___11049; + s.tmp_0.arg1 = s.x___38467; + s.tmp_0.arg2 = s.y___38473; + s.tmp_0.arg3 = s.w___38479; + s.tmp_0.arg4 = s.h___38483; s.tmp_0.arg5 = 0; s.callLocIdx = 43; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___11022 - 1); - s.i___11022 = (r0); + r0 = (s.i___38456 - 1); + s.i___38456 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P11019.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__P38453.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__P11019_mk(s) { +function dissolve_inline__P38453_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P11019, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P38453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___11022: undefined, - x___11033: undefined, - y___11039: undefined, - w___11045: undefined, - h___11049: undefined, + i___38456: undefined, + x___38467: undefined, + y___38473: undefined, + w___38479: undefined, + h___38483: undefined, arg0: undefined, arg1: undefined, } } @@ -33223,7 +33223,7 @@ function dissolve_inline__P11019_mk(s) { -function helpers_imageDrawRect__P1792(s) { +function helpers_imageDrawRect__P24103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33262,7 +33262,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P1791_mk(s); + s.tmp_0 = helpers_imageDrawLine__P24102_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -33270,10 +33270,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 81; s.pc = 6; return s.tmp_0; + s.callLocIdx = 127; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1791_mk(s); + s.tmp_0 = helpers_imageDrawLine__P24102_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -33281,10 +33281,10 @@ switch (step) { r0 = (s.arg2 + s.arg4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 82; s.pc = 7; return s.tmp_0; + s.callLocIdx = 128; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1791_mk(s); + s.tmp_0 = helpers_imageDrawLine__P24102_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -33294,10 +33294,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 83; s.pc = 8; return s.tmp_0; + s.callLocIdx = 129; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1791_mk(s); + s.tmp_0 = helpers_imageDrawLine__P24102_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -33307,7 +33307,7 @@ switch (step) { r0 = (s.arg2 + s.arg4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 84; s.pc = 9; return s.tmp_0; + s.callLocIdx = 130; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 5: @@ -33315,12 +33315,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P1792.info = {"start":5325,"length":370,"line":167,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P24103.info = {"start":5325,"length":370,"line":167,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P1792_mk(s) { +function helpers_imageDrawRect__P24103_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P1792, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P24103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33336,7 +33336,7 @@ function helpers_imageDrawRect__P1792_mk(s) { -function effects_ImageEffect_applyTo__P3020(s) { +function effects_ImageEffect_applyTo__P25331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33346,14 +33346,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___11145 = undefined; + s.clonedImage___38563 = 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__C3018_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C25329_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -33379,17 +33379,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___11145 = (r0); - s.tmp_0 = effects_ImageEffect_change__P3021_mk(s); + s.clonedImage___38563 = (r0); + s.tmp_0 = effects_ImageEffect_change__P25332_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___11145; - s.callLocIdx = 1236; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___38563; + s.callLocIdx = 1520; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P2213_mk(s); + s.tmp_0 = Sprite_setImage__P24524_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___11145; - s.callLocIdx = 1237; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___38563; + s.callLocIdx = 1521; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -33397,12 +33397,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P3020.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__P25331.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__P3020_mk(s) { +function effects_ImageEffect_applyTo__P25331_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P3020, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P25331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33410,7 +33410,7 @@ function effects_ImageEffect_applyTo__P3020_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___11145: undefined, + clonedImage___38563: undefined, arg0: undefined, arg1: undefined, } } @@ -33419,7 +33419,7 @@ function effects_ImageEffect_applyTo__P3020_mk(s) { -function effects_ImageEffect_change__P3021(s) { +function effects_ImageEffect_change__P25332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33435,7 +33435,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3018_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C25329_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -33443,12 +33443,12 @@ switch (step) { s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "effect"), 3); - s.callLocIdx = 1238; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1522; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["effect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1238; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1238; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1238; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1522; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1522; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1522; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -33456,12 +33456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P3021.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__P25332.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__P3021_mk(s) { +function effects_ImageEffect_change__P25332_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P3021, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P25332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33472,7 +33472,7 @@ function effects_ImageEffect_change__P3021_mk(s) { -function effects_ParticleEffect_start__P2993(s) { +function effects_ParticleEffect_start__P25304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33482,7 +33482,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___11520 = undefined; + s.src___38587 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33492,7 +33492,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C2991_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C25302_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33519,18 +33519,18 @@ switch (step) { s.tmp_4.arg2 = s.tmp_3; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "sourceFactory"), 3); - s.callLocIdx = 1221; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1497; s.pc = 10; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1221; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1221; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1221; s.pc = 10; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1497; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1497; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1497; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___11520 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P2891_mk(s); - s.tmp_0.arg0 = s.src___11520; + s.src___38587 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P25202_mk(s); + s.tmp_0.arg0 = s.src___38587; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -33539,7 +33539,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1222; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1498; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -33555,7 +33555,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___11520).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___38587).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -33563,19 +33563,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P2993.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__P25304.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__P2993_mk(s) { +function effects_ParticleEffect_start__P25304_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P2993, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P25304, 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___11520: undefined, + src___38587: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33587,7 +33587,7 @@ function effects_ParticleEffect_start__P2993_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P2891(s) { +function particles_ParticleSource_setRelativeToCamera__P25202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33603,7 +33603,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -33629,12 +33629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P2891.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__P25202.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__P2891_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P25202_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P2891, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P25202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33649,7 +33649,7 @@ function particles_ParticleSource_setRelativeToCamera__P2891_mk(s) { -function Sprite_setFlag__P2241(s) { +function Sprite_setFlag__P24552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33666,7 +33666,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -33692,12 +33692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P2241.info = {"start":20205,"length":130,"line":676,"column":4,"endLine":679,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P24552.info = {"start":20205,"length":130,"line":676,"column":4,"endLine":679,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P2241_mk(s) { +function Sprite_setFlag__P24552_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P2241, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P24552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33713,7 +33713,7 @@ function Sprite_setFlag__P2241_mk(s) { -function Sprite__destroyCore__P2251(s) { +function Sprite__destroyCore__P24562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33723,25 +33723,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___10925 = undefined; + s.scene___38379 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2733_mk(s); - s.callLocIdx = 417; s.pc = 7; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 480; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___10925 = (r0); - r0 = s.scene___10925.fields["allSprites"]; + s.scene___38379 = (r0); + r0 = s.scene___38379.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -33753,7 +33753,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___10925.fields["spritesByKind"]; + r0 = s.scene___38379.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -33763,24 +33763,24 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P2292_mk(s); - r0 = s.scene___10925.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P24603_mk(s); + r0 = s.scene___38379.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_6, s.tmp_7); s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; - s.callLocIdx = 421; s.pc = 8; return s.tmp_5; + s.callLocIdx = 484; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C2333_v1_2_mk(s); - r0 = s.scene___10925.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C24644_v1_2_mk(s); + r0 = s.scene___38379.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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: @@ -33793,46 +33793,46 @@ switch (step) { s.tmp_1.arg0 = s.arg0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "destroyHandler"), 1); - s.callLocIdx = 422; s.pc = 10; return s.tmp_1; + s.callLocIdx = 485; s.pc = 10; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["destroyHandler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["destroyHandler"], 1); s.callLocIdx = 422; s.pc = 10; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 422; s.pc = 10; return s.tmp_1;; } - else { s.callLocIdx = 422; s.pc = 10; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["destroyHandler"], 1); s.callLocIdx = 485; s.pc = 10; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 485; s.pc = 10; return s.tmp_1;; } + else { s.callLocIdx = 485; s.pc = 10; return s.tmp_1; } } case 10: r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P10954); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P38408); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P10961); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P38414); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___10925.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P22420_mk(s); + s.tmp_3 = helpers_arrayFilter__P22421_mk(s); + r0 = s.scene___38379.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 424; s.pc = 12; return s.tmp_3; + s.callLocIdx = 487; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 426; s.pc = 11; return s.tmp_2; + s.callLocIdx = 489; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P2251.info = {"start":26611,"length":522,"line":867,"column":4,"endLine":879,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P24562.info = {"start":26611,"length":522,"line":867,"column":4,"endLine":879,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P2251_mk(s) { +function Sprite__destroyCore__P24562_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P2251, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P24562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33842,7 +33842,7 @@ function Sprite__destroyCore__P2251_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___10925: undefined, + scene___38379: undefined, arg0: undefined, } } @@ -33850,7 +33850,7 @@ function Sprite__destroyCore__P2251_mk(s) { -function forEach_inline__P10954(s) { +function forEach_inline__P38408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33872,12 +33872,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P10954.info = {"start":27056,"length":26,"line":877,"column":20,"endLine":877,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P38408.info = {"start":27056,"length":26,"line":877,"column":20,"endLine":877,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P10954_mk(s) { +function forEach_inline__P38408_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P10954, depth: s.depth + 1, + parent: s, fn: forEach_inline__P38408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33888,7 +33888,7 @@ function forEach_inline__P10954_mk(s) { -function Sprite__destroyCore_inline__P10961(s) { +function Sprite__destroyCore_inline__P38414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33907,12 +33907,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 425; s.pc = 1; return s.tmp_0; + s.callLocIdx = 488; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 425; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 425; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 425; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 488; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 488; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 488; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -33920,12 +33920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P10961.info = {"start":27105,"length":20,"line":878,"column":21,"endLine":878,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P38414.info = {"start":27105,"length":20,"line":878,"column":21,"endLine":878,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P10961_mk(s) { +function Sprite__destroyCore_inline__P38414_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P10961, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P38414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33935,7 +33935,7 @@ function Sprite__destroyCore_inline__P10961_mk(s) { -function PhysicsEngine_removeSprite__P2336(s) { +function PhysicsEngine_removeSprite__P24647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33951,17 +33951,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2333_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C24644_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P2336.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__P24647.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__P2336_mk(s) { +function PhysicsEngine_removeSprite__P24647_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P2336, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P24647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33971,7 +33971,7 @@ function PhysicsEngine_removeSprite__P2336_mk(s) { -function Sprite_kind__P2229(s) { +function Sprite_kind__P24540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33986,17 +33986,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P2229.info = {"start":12573,"length":41,"line":453,"column":4,"endLine":455,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P24540.info = {"start":12573,"length":41,"line":453,"column":4,"endLine":455,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P2229_mk(s) { +function Sprite_kind__P24540_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P2229, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P24540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34005,7 +34005,7 @@ function Sprite_kind__P2229_mk(s) { -function scene_systemMenu_MenuOption_constructor__P2817(s) { +function scene_systemMenu_MenuOption_constructor__P25128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34023,7 +34023,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -34031,12 +34031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P2817.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__P25128.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__P2817_mk(s) { +function scene_systemMenu_MenuOption_constructor__P25128_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P2817, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P25128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34048,7 +34048,7 @@ function scene_systemMenu_MenuOption_constructor__P2817_mk(s) { -function helpers_screenBrightness__P1797(s) { +function helpers_screenBrightness__P24108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34062,16 +34062,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___1784; + r0 = globals.brightness___24095; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P1797.info = {"start":7643,"length":98,"line":244,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P24108.info = {"start":7643,"length":98,"line":244,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P1797_mk(s) { +function helpers_screenBrightness__P24108_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P1797, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P24108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34080,7 +34080,7 @@ function helpers_screenBrightness__P1797_mk(s) { -function helpers_arrayConcat__P113(s) { +function helpers_arrayConcat__P22424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34090,74 +34090,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___12064 = undefined; - s.value___12067 = undefined; - s.unnamed46___U2 = undefined; - s.unnamed47___U3 = undefined; - s.value___12074 = undefined; - s.unnamed48___U5 = undefined; - s.unnamed49___U6 = undefined; + s.out___38887 = undefined; + s.value___38890 = undefined; + s.unnamed156___U2 = undefined; + s.unnamed157___U3 = undefined; + s.value___38897 = undefined; + s.unnamed158___U5 = undefined; + s.unnamed159___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___12064 = (r0); - s.value___12067 = (undefined); - s.unnamed46___U2 = (s.arg0); - s.unnamed47___U3 = (0); + s.out___38887 = (r0); + s.value___38890 = (undefined); + s.unnamed156___U2 = (s.arg0); + s.unnamed157___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed47___U3; - r0 = pxsim_Array__length(s.unnamed46___U2); + s.tmp_0 = r0 = s.unnamed157___U3; + r0 = pxsim_Array__length(s.unnamed156___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed46___U2, s.unnamed47___U3); - s.value___12067 = (r0); - r0 = pxsim_Array__push(s.out___12064, s.value___12067); - r0 = (s.unnamed47___U3 + 1); - s.unnamed47___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed156___U2, s.unnamed157___U3); + s.value___38890 = (r0); + r0 = pxsim_Array__push(s.out___38887, s.value___38890); + r0 = (s.unnamed157___U3 + 1); + s.unnamed157___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed46___U2 = (undefined); - s.value___12074 = (undefined); - s.unnamed48___U5 = (s.arg1); - s.unnamed49___U6 = (0); + s.unnamed156___U2 = (undefined); + s.value___38897 = (undefined); + s.unnamed158___U5 = (s.arg1); + s.unnamed159___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed49___U6; - r0 = pxsim_Array__length(s.unnamed48___U5); + s.tmp_0 = r0 = s.unnamed159___U6; + r0 = pxsim_Array__length(s.unnamed158___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed48___U5, s.unnamed49___U6); - s.value___12074 = (r0); - r0 = pxsim_Array__push(s.out___12064, s.value___12074); - r0 = (s.unnamed49___U6 + 1); - s.unnamed49___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed158___U5, s.unnamed159___U6); + s.value___38897 = (r0); + r0 = pxsim_Array__push(s.out___38887, s.value___38897); + r0 = (s.unnamed159___U6 + 1); + s.unnamed159___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed48___U5 = (undefined); - r0 = s.out___12064; + s.unnamed158___U5 = (undefined); + r0 = s.out___38887; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayConcat__P22424.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__P113_mk(s) { +function helpers_arrayConcat__P22424_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P113, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P22424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___12064: undefined, - value___12067: undefined, - unnamed46___U2: undefined, - unnamed47___U3: undefined, - value___12074: undefined, - unnamed48___U5: undefined, - unnamed49___U6: undefined, + out___38887: undefined, + value___38890: undefined, + unnamed156___U2: undefined, + unnamed157___U3: undefined, + value___38897: undefined, + unnamed158___U5: undefined, + unnamed159___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -34166,7 +34166,7 @@ function helpers_arrayConcat__P113_mk(s) { -function scene_systemMenu_PauseMenu_show__P2826(s) { +function scene_systemMenu_PauseMenu_show__P25137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34176,34 +34176,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___10278 = undefined; - s.i___10279 = undefined; + s.current___37856 = undefined; + s.i___37857 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.callLocIdx = 971; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1247; s.pc = 3; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 971; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 971; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 971; s.pc = 3; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 1247; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1247; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 1247; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___10279 = (0); + s.i___37857 = (0); case 1: - s.tmp_1 = r0 = s.i___10279; + s.tmp_1 = r0 = s.i___37857; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -34214,22 +34214,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___10279); - s.current___10278 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P2818_mk(s); - s.tmp_0.arg0 = s.current___10278; - s.callLocIdx = 972; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___37857); + s.current___37856 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P25129_mk(s); + s.tmp_0.arg0 = s.current___37856; + s.callLocIdx = 1248; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P2821_mk(s); - s.tmp_0.arg0 = s.current___10278; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P25132_mk(s); + s.tmp_0.arg0 = s.current___37856; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 973; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1249; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P2819_mk(s); - s.tmp_0.arg0 = s.current___10278; + s.tmp_0 = scene_systemMenu_MenuOption_position__P25130_mk(s); + s.tmp_0.arg0 = s.current___37856; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -34239,12 +34239,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 974; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 1250; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___10279; + s.tmp_5 = r0 = s.i___37857; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -34254,7 +34254,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 975; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 1251; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -34270,7 +34270,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 976; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 1252; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -34284,7 +34284,7 @@ switch (step) { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.callLocIdx = 977; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 1253; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -34304,12 +34304,12 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 978; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 1254; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___10279; + s.tmp_17 = r0 = s.i___37857; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -34319,7 +34319,7 @@ switch (step) { s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.callLocIdx = 979; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 1255; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -34335,7 +34335,7 @@ switch (step) { s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.callLocIdx = 980; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 1256; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -34349,7 +34349,7 @@ switch (step) { s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.callLocIdx = 981; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 1257; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -34360,116 +34360,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 982; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1258; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___10279 + 1); - s.i___10279 = (r0); + r0 = (s.i___37857 + 1); + s.i___37857 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P2030_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P24341_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 983; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1259; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10342); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P37920); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2020_mk(s); - s.tmp_1.arg0 = globals.A___1941; + s.tmp_1 = controller_Button_onEvent__P24331_mk(s); + s.tmp_1.arg0 = globals.A___24252; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 985; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1261; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10362); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P37940); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2020_mk(s); - s.tmp_1.arg0 = globals.A___1941; + s.tmp_1 = controller_Button_onEvent__P24331_mk(s); + s.tmp_1.arg0 = globals.A___24252; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 987; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1263; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2020_mk(s); - s.tmp_0.arg0 = globals.B___1942; + s.tmp_0 = controller_Button_onEvent__P24331_mk(s); + s.tmp_0.arg0 = globals.B___24253; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P10391; - s.callLocIdx = 989; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P37969; + s.callLocIdx = 1265; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2020_mk(s); - s.tmp_0.arg0 = globals.menu___1947; + s.tmp_0 = controller_Button_onEvent__P24331_mk(s); + s.tmp_0.arg0 = globals.menu___24258; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P10396; - s.callLocIdx = 991; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P37974; + s.callLocIdx = 1267; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10401); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P37979); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2020_mk(s); - s.tmp_1.arg0 = globals.up___1944; + s.tmp_1 = controller_Button_onEvent__P24331_mk(s); + s.tmp_1.arg0 = globals.up___24255; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 995; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1271; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10413); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P37991); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2020_mk(s); - s.tmp_1.arg0 = globals.left___1943; + s.tmp_1 = controller_Button_onEvent__P24331_mk(s); + s.tmp_1.arg0 = globals.left___24254; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 998; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1274; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10422); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P38000); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2020_mk(s); - s.tmp_1.arg0 = globals.down___1946; + s.tmp_1 = controller_Button_onEvent__P24331_mk(s); + s.tmp_1.arg0 = globals.down___24257; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1002; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1278; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10438); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P38016); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2020_mk(s); - s.tmp_1.arg0 = globals.right___1945; + s.tmp_1 = controller_Button_onEvent__P24331_mk(s); + s.tmp_1.arg0 = globals.right___24256; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1005; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1281; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10450); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P38028); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P2746_mk(s); + s.tmp_1 = game_onShade__P25057_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1008; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1284; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2828_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P25139_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1009; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1285; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P2826.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__P25137.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__P2826_mk(s) { +function scene_systemMenu_PauseMenu_show__P25137_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P2826, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P25137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34496,8 +34496,8 @@ function scene_systemMenu_PauseMenu_show__P2826_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___10278: undefined, - i___10279: undefined, + current___37856: undefined, + i___37857: undefined, arg0: undefined, } } @@ -34505,7 +34505,7 @@ function scene_systemMenu_PauseMenu_show__P2826_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10342(s) { +function scene_systemMenu_PauseMenu_show_inline__P37920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34543,7 +34543,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P2822_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P25133_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -34551,7 +34551,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 1; - s.callLocIdx = 984; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1260; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -34559,12 +34559,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10342.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__P37920.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__P10342_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P37920_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10342, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P37920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34583,7 +34583,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10342_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10362(s) { +function scene_systemMenu_PauseMenu_show_inline__P37940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34621,7 +34621,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P2822_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P25133_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -34629,7 +34629,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 0; - s.callLocIdx = 986; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1262; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -34645,12 +34645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10362.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__P37940.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__P10362_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P37940_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10362, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P37940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34669,7 +34669,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10362_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10391(s) { +function scene_systemMenu_PauseMenu_show_inline__P37969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34679,20 +34679,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P2831_mk(s); - s.callLocIdx = 988; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P25142_mk(s); + s.callLocIdx = 1264; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10391.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__P37969.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__P10391_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P37969_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10391, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P37969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -34701,7 +34701,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10391_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10396(s) { +function scene_systemMenu_PauseMenu_show_inline__P37974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34711,20 +34711,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P2831_mk(s); - s.callLocIdx = 990; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P25142_mk(s); + s.callLocIdx = 1266; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10396.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__P37974.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__P10396_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P37974_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10396, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P37974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -34733,7 +34733,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10396_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10401(s) { +function scene_systemMenu_PauseMenu_show_inline__P37979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34743,9 +34743,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2828_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P25139_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P22441_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -34758,30 +34758,30 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 992; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 1268; s.pc = 3; return s.tmp_4; } } case 3: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); s.tmp_1.arg1 = r0; - s.callLocIdx = 993; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1269; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 994; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1270; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10401.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__P37979.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__P10401_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P37979_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10401, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P37979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34794,7 +34794,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10401_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10413(s) { +function scene_systemMenu_PauseMenu_show_inline__P37991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34804,31 +34804,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2828_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P25139_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P22441_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 996; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1272; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 997; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1273; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10413.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__P37991.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__P10413_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P37991_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10413, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P37991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34839,7 +34839,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10413_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10422(s) { +function scene_systemMenu_PauseMenu_show_inline__P38000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34849,9 +34849,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2828_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P25139_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P22442_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -34869,30 +34869,30 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 999; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 1275; s.pc = 3; return s.tmp_6; } } case 3: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_1.arg1 = r0; - s.callLocIdx = 1000; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1276; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1001; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1277; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10422.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__P38000.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__P10422_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P38000_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10422, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P38000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34907,7 +34907,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10422_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10438(s) { +function scene_systemMenu_PauseMenu_show_inline__P38016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34917,9 +34917,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P2828_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P25139_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P22442_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -34930,23 +34930,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1003; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1279; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1004; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1280; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10438.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__P38016.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__P10438_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P38016_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10438, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P38016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34959,7 +34959,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10438_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P10450(s) { +function scene_systemMenu_PauseMenu_show_inline__P38028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34969,26 +34969,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P2827_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P25138_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1006; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1282; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P2829_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P25140_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1007; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1283; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P10450.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__P38028.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__P10450_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P38028_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10450, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P38028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -34997,7 +34997,7 @@ function scene_systemMenu_PauseMenu_show_inline__P10450_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P2829(s) { +function scene_systemMenu_PauseMenu_drawText__P25140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35012,7 +35012,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -35024,11 +35024,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P1789_mk(s); - s.tmp_3.arg0 = globals.screen___1863; + s.tmp_3 = helpers_imageFillRect__P24100_mk(s); + s.tmp_3.arg0 = globals.screen___24174; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -35039,7 +35039,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1020; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 1296; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -35047,11 +35047,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 1021; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1297; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1820_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imagePrintCenter__P24131_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -35061,7 +35061,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1022; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 1298; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -35077,16 +35077,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1023; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1299; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1024; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1300; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -35097,16 +35097,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1025; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 1301; s.pc = 10; return s.tmp_2; } } case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -35117,7 +35117,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1026; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 1302; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -35127,11 +35127,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 1027; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1303; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1789_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imageFillRect__P24100_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -35141,7 +35141,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1028; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1304; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -35155,12 +35155,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1029; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 1305; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -35171,7 +35171,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1030; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 1306; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -35190,7 +35190,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 1031; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 1307; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -35201,7 +35201,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 1032; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 1308; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -35209,11 +35209,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1033; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1309; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1820_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imagePrintCenter__P24131_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -35223,12 +35223,12 @@ switch (step) { s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.callLocIdx = 1034; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1310; s.pc = 19; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 1034; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1034; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 1034; s.pc = 19; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 1310; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1310; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 1310; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -35242,7 +35242,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1035; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 1311; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -35259,12 +35259,12 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1036; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 1312; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1037; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1313; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -35272,12 +35272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P2829.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__P25140.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__P2829_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P25140_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P2829, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P25140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35296,7 +35296,7 @@ function scene_systemMenu_PauseMenu_drawText__P2829_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P2828(s) { +function scene_systemMenu_PauseMenu_setSelection__P25139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35312,7 +35312,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -35332,7 +35332,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__P2822_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P25133_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -35340,7 +35340,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = 2; - s.callLocIdx = 1017; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1293; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -35354,9 +35354,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C2013_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___1941; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C2013_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C24324_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___24252; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C24324_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: @@ -35371,7 +35371,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P2822_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P25133_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -35379,14 +35379,14 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 1018; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1294; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P4786_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P27101_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1019; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1295; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -35394,12 +35394,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P2828.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__P25139.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__P2828_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P25139_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P2828, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P25139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35418,7 +35418,7 @@ function scene_systemMenu_PauseMenu_setSelection__P2828_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P4786(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P27101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35428,13 +35428,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___10756 = undefined; + s.row___38275 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -35446,23 +35446,23 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1040; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1316; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___10756 = (r0); + s.row___38275 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___10756 === s.tmp_1); + r0 = (s.row___38275 === 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___10756 - 1); + r0 = (s.row___38275 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -35477,7 +35477,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___10756 > s.tmp_6); + r0 = (s.row___38275 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -35508,7 +35508,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1041; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1317; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -35522,7 +35522,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1042; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1318; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -35537,12 +35537,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P4786.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__P27101.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__P4786_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P27101_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P4786, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P27101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35554,7 +35554,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P4786_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___10756: undefined, + row___38275: undefined, arg0: undefined, } } @@ -35562,7 +35562,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P4786_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P2827(s) { +function scene_systemMenu_PauseMenu_onUpdate__P25138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35572,22 +35572,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___10559 = undefined; - s.i___10563 = undefined; - s.dt___10592 = undefined; + s.t___38106 = undefined; + s.i___38110 = undefined; + s.dt___38139 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___10559 = (r0); - s.i___10563 = (0); + s.t___38106 = (r0); + s.i___38110 = (0); case 1: - s.tmp_1 = r0 = s.i___10563; + s.tmp_1 = r0 = s.i___38110; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -35596,13 +35596,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__P2820_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P25131_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___10563); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___38110); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___10559; - s.tmp_11 = r0 = s.i___10563; + s.tmp_8 = r0 = s.t___38106; + s.tmp_11 = r0 = s.i___38110; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -35612,7 +35612,7 @@ switch (step) { s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.callLocIdx = 1010; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 1286; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -35627,15 +35627,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 1011; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1287; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___10563 + 1); - s.i___10563 = (r0); + r0 = (s.i___38110 + 1); + s.i___38110 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 1012; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1288; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -35643,7 +35643,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___10592 = (r0); + s.dt___38139 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -35655,7 +35655,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___10592 * 100); + r0 = (s.dt___38139 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -35673,7 +35673,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___10592 * 100); + r0 = (s.dt___38139 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -35683,14 +35683,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P128_mk(s); + s.tmp_2 = Math_abs__P22439_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 1014; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1290; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -35703,16 +35703,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P2567_mk(s); - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 1015; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P24878_mk(s); + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1291; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = r0.fields["camera"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["scrollOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1016; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1292; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -35720,12 +35720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P2827.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__P25138.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__P2827_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P25138_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P2827, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P25138, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35741,9 +35741,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P2827_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___10559: undefined, - i___10563: undefined, - dt___10592: undefined, + t___38106: undefined, + i___38110: undefined, + dt___38139: undefined, arg0: undefined, } } @@ -35751,7 +35751,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P2827_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P2820(s) { +function scene_systemMenu_MenuOption_setOffset__P25131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35767,40 +35767,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2226_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P24537_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 953; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1229; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P2179_mk(s); + s.tmp_0 = Sprite_y__P24490_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2178_mk(s); + s.tmp_1 = Sprite_y__P24489_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 954; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1230; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 955; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1231; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P2820.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__P25131.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__P2820_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P25131_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P2820, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P25131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35812,7 +35812,7 @@ function scene_systemMenu_MenuOption_setOffset__P2820_mk(s) { -function Sprite_top__P2226(s) { +function Sprite_top__P24537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35822,22 +35822,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___10670 = undefined; + s.physics___38217 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 344; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 402; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___10670 = (r0); - s.tmp_0 = PhysicsEngine__C2333_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___10670; + s.physics___38217 = (r0); + s.tmp_0 = PhysicsEngine__C24644_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___38217; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -35848,7 +35848,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__C2333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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: @@ -35857,18 +35857,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P2226.info = {"start":11687,"length":256,"line":421,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P24537.info = {"start":11687,"length":256,"line":421,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P2226_mk(s) { +function Sprite_top__P24537_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2226, depth: s.depth + 1, + parent: s, fn: Sprite_top__P24537, 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___10670: undefined, + physics___38217: undefined, arg0: undefined, arg1: undefined, } } @@ -35877,7 +35877,7 @@ function Sprite_top__P2226_mk(s) { -function Sprite_top__P2225(s) { +function Sprite_top__P24536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35892,20 +35892,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2225.info = {"start":11544,"length":53,"line":416,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P2225.isGetter = true; +Sprite_top__P24536.info = {"start":11544,"length":53,"line":416,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P24536.isGetter = true; -function Sprite_top__P2225_mk(s) { +function Sprite_top__P24536_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2225, depth: s.depth + 1, + parent: s, fn: Sprite_top__P24536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35915,7 +35915,7 @@ function Sprite_top__P2225_mk(s) { -function Sprite_y__P2179(s) { +function Sprite_y__P24490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35931,13 +35931,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2226_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P24537_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P2220_mk(s); + s.tmp_4 = Sprite_height__P24531_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 295; s.pc = 2; return s.tmp_4; + s.callLocIdx = 353; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -35945,19 +35945,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 296; s.pc = 1; return s.tmp_0; + s.callLocIdx = 354; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_y__P2179.info = {"start":3081,"length":65,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P24490.info = {"start":3081,"length":65,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P2179_mk(s) { +function Sprite_y__P24490_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2179, depth: s.depth + 1, + parent: s, fn: Sprite_y__P24490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35972,7 +35972,7 @@ function Sprite_y__P2179_mk(s) { -function Sprite_height__P2220(s) { +function Sprite_height__P24531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35987,20 +35987,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_height__P2220.info = {"start":10541,"length":61,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P2220.isGetter = true; +Sprite_height__P24531.info = {"start":10541,"length":61,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P24531.isGetter = true; -function Sprite_height__P2220_mk(s) { +function Sprite_height__P24531_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P2220, depth: s.depth + 1, + parent: s, fn: Sprite_height__P24531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36010,7 +36010,7 @@ function Sprite_height__P2220_mk(s) { -function scene_systemMenu_MenuOption_setState__P2822(s) { +function scene_systemMenu_MenuOption_setState__P25133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36026,7 +36026,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -36037,9 +36037,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4785_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P27100_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 957; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1233; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -36047,12 +36047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P2822.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__P25133.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__P2822_mk(s) { +function scene_systemMenu_MenuOption_setState__P25133_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P2822, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P25133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36064,7 +36064,7 @@ function scene_systemMenu_MenuOption_setState__P2822_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P4785(s) { +function scene_systemMenu_MenuOption_updateCard__P27100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36079,7 +36079,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -36102,7 +36102,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P2213_mk(s); + s.tmp_4 = Sprite_setImage__P24524_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -36114,17 +36114,17 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 960; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1236; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 961; s.pc = 8; return s.tmp_4; + s.callLocIdx = 1237; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P2213_mk(s); + s.tmp_0 = Sprite_setImage__P24524_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -36136,17 +36136,17 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 962; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 1238; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 963; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1239; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P2213_mk(s); + s.tmp_0 = Sprite_setImage__P24524_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -36158,39 +36158,39 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 964; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1240; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 965; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1241; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P2177_mk(s); + s.tmp_0 = Sprite_x__P24488_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2176_mk(s); + s.tmp_1 = Sprite_x__P24487_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 966; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1242; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 967; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1243; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P2179_mk(s); + s.tmp_0 = Sprite_y__P24490_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2178_mk(s); + s.tmp_1 = Sprite_y__P24489_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 968; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1244; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 969; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1245; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -36198,12 +36198,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P4785.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__P27100.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__P4785_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P27100_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P4785, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P27100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36218,7 +36218,7 @@ function scene_systemMenu_MenuOption_updateCard__P4785_mk(s) { -function Sprite_x__P2177(s) { +function Sprite_x__P24488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36234,13 +36234,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2222_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P24533_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P2219_mk(s); + s.tmp_4 = Sprite_width__P24530_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 290; s.pc = 2; return s.tmp_4; + s.callLocIdx = 348; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -36248,19 +36248,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 291; s.pc = 1; return s.tmp_0; + s.callLocIdx = 349; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_x__P2177.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P24488.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P2177_mk(s) { +function Sprite_x__P24488_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2177, depth: s.depth + 1, + parent: s, fn: Sprite_x__P24488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36275,7 +36275,7 @@ function Sprite_x__P2177_mk(s) { -function Sprite_left__P2222(s) { +function Sprite_left__P24533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36285,22 +36285,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___11642 = undefined; + s.physics___38709 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 336; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 394; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___11642 = (r0); - s.tmp_0 = PhysicsEngine__C2333_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___11642; + s.physics___38709 = (r0); + s.tmp_0 = PhysicsEngine__C24644_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___38709; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -36311,7 +36311,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__C2333_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C24644_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: @@ -36320,18 +36320,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P2222.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P24533.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P2222_mk(s) { +function Sprite_left__P24533_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2222, depth: s.depth + 1, + parent: s, fn: Sprite_left__P24533, 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___11642: undefined, + physics___38709: undefined, arg0: undefined, arg1: undefined, } } @@ -36340,7 +36340,7 @@ function Sprite_left__P2222_mk(s) { -function Sprite_left__P2221(s) { +function Sprite_left__P24532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36355,20 +36355,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2221.info = {"start":10709,"length":53,"line":386,"column":4,"endLine":388,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P2221.isGetter = true; +Sprite_left__P24532.info = {"start":10709,"length":53,"line":386,"column":4,"endLine":388,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P24532.isGetter = true; -function Sprite_left__P2221_mk(s) { +function Sprite_left__P24532_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2221, depth: s.depth + 1, + parent: s, fn: Sprite_left__P24532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36378,7 +36378,7 @@ function Sprite_left__P2221_mk(s) { -function Sprite_width__P2219(s) { +function Sprite_width__P24530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36393,20 +36393,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_width__P2219.info = {"start":10374,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P2219.isGetter = true; +Sprite_width__P24530.info = {"start":10374,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P24530.isGetter = true; -function Sprite_width__P2219_mk(s) { +function Sprite_width__P24530_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P2219, depth: s.depth + 1, + parent: s, fn: Sprite_width__P24530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36416,7 +36416,7 @@ function Sprite_width__P2219_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P2821(s) { +function scene_systemMenu_MenuOption_setTheme__P25132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36432,23 +36432,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P4785_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P27100_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 956; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P2821.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__P25132.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__P2821_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P25132_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P2821, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P25132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36459,7 +36459,7 @@ function scene_systemMenu_MenuOption_setTheme__P2821_mk(s) { -function scene_systemMenu_MenuOption_position__P2819(s) { +function scene_systemMenu_MenuOption_position__P25130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36476,58 +36476,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P2222_mk(s); + s.tmp_0 = Sprite_left__P24533_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 947; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1223; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P2226_mk(s); + s.tmp_0 = Sprite_top__P24537_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 948; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1224; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P2177_mk(s); + s.tmp_0 = Sprite_x__P24488_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2176_mk(s); + s.tmp_1 = Sprite_x__P24487_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 949; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1225; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 950; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1226; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P2179_mk(s); + s.tmp_0 = Sprite_y__P24490_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2178_mk(s); + s.tmp_1 = Sprite_y__P24489_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 951; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1227; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 952; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1228; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P2819.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__P25130.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__P2819_mk(s) { +function scene_systemMenu_MenuOption_position__P25130_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P2819, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P25130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36540,7 +36540,7 @@ function scene_systemMenu_MenuOption_position__P2819_mk(s) { -function scene_systemMenu_MenuOption_show__P2818(s) { +function scene_systemMenu_MenuOption_show__P25129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36555,7 +36555,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C2816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C25127_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -36569,21 +36569,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 942; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 1218; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___2840; + r0 = globals.CARD_NORMAL___25151; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P2099_mk(s); + s.tmp_5 = sprites_create__P24410_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 943; s.pc = 4; return s.tmp_5; + s.callLocIdx = 1219; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -36598,16 +36598,16 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 944; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 1220; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P2099_mk(s); + s.tmp_2 = sprites_create__P24410_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 945; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1221; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -36622,7 +36622,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 946; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 1222; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -36631,12 +36631,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P2818.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__P25129.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__P2818_mk(s) { +function scene_systemMenu_MenuOption_show__P25129_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P2818, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P25129, 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 scene_systemMenu_MenuOption_show__P2818_mk(s) { -function game_onShade__P2746(s) { +function game_onShade__P25057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36665,9 +36665,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P4539_mk(s); + s.tmp_0 = game_init__P26854_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 931; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1207; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -36679,11 +36679,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P2582_mk(s); + s.tmp_2 = scene_createRenderable__P24893_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 932; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1208; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -36691,12 +36691,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P2746.info = {"start":8836,"length":145,"line":289,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P25057.info = {"start":8836,"length":145,"line":289,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P2746_mk(s) { +function game_onShade__P25057_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P2746, depth: s.depth + 1, + parent: s, fn: game_onShade__P25057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36708,7 +36708,7 @@ function game_onShade__P2746_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P2825(s) { +function scene_systemMenu_PauseMenu_constructor__P25136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36725,7 +36725,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C2824_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C25135_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -36733,13 +36733,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P2833_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___2840); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P25144_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___25151); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 970; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1246; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -36753,12 +36753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P2825.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__P25136.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__P2825_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P25136_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P2825, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P25136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36772,7 +36772,7 @@ function scene_systemMenu_PauseMenu_constructor__P2825_mk(s) { -function scene_systemMenu_buildMenuTheme__P2833(s) { +function scene_systemMenu_buildMenuTheme__P25144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36782,7 +36782,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___12727 = undefined; + s.cardsPerRow___39137 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36790,19 +36790,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); 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___12727 = (r0); + s.cardsPerRow___39137 = (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___1806; + r0 = globals.font8___24117; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -36813,9 +36813,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P1809_mk(s); + s.tmp_1 = image_doubledFont__P24120_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1080; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1356; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -36826,12 +36826,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___12727); - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___39137); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_3 = r0; - r0 = (s.cardsPerRow___12727 * s.arg0); + r0 = (s.cardsPerRow___39137 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___12727 - 1); + r0 = (s.cardsPerRow___39137 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -36852,7 +36852,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 1081; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1357; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -36862,7 +36862,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___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -36872,7 +36872,7 @@ switch (step) { s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.callLocIdx = 1082; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1358; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -36883,19 +36883,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___2841); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___2842); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___2840); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___25152); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___25153); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___25151); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P2833.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__P25144.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__P2833_mk(s) { +function scene_systemMenu_buildMenuTheme__P25144_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P2833, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P25144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36914,7 +36914,7 @@ function scene_systemMenu_buildMenuTheme__P2833_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___12727: undefined, + cardsPerRow___39137: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36925,7 +36925,7 @@ function scene_systemMenu_buildMenuTheme__P2833_mk(s) { -function image_doubledFont__P1809(s) { +function image_doubledFont__P24120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36939,21 +36939,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P1810_mk(s); + s.tmp_0 = image_scaledFont__P24121_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 86; s.pc = 1; return s.tmp_0; + s.callLocIdx = 132; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -image_doubledFont__P1809.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__P24120.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__P1809_mk(s) { +function image_doubledFont__P24120_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P1809, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P24120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36963,7 +36963,7 @@ function image_doubledFont__P1809_mk(s) { -function image_scaledFont__P1810(s) { +function image_scaledFont__P24121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36998,7 +36998,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 87; s.pc = 6; return s.tmp_4; } + else { s.callLocIdx = 133; s.pc = 6; return s.tmp_4; } } case 6: r0 = s.retval; @@ -37014,7 +37014,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 88; s.pc = 7; return s.tmp_7; } + else { s.callLocIdx = 134; s.pc = 7; return s.tmp_7; } } case 7: r0 = s.retval; @@ -37030,7 +37030,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["data"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["data"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 89; s.pc = 8; return s.tmp_9; } + else { s.callLocIdx = 135; s.pc = 8; return s.tmp_9; } } case 8: r0 = s.retval; @@ -37044,7 +37044,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["multiplier"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["multiplier"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 90; s.pc = 9; return s.tmp_11; } + else { s.callLocIdx = 136; s.pc = 9; return s.tmp_11; } } case 9: r0 = s.retval; @@ -37060,7 +37060,7 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["multiplier"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["multiplier"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 91; s.pc = 10; return s.tmp_14; } + else { s.callLocIdx = 137; s.pc = 10; return s.tmp_14; } } case 10: r0 = s.retval; @@ -37078,12 +37078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P1810.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__P24121.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__P1810_mk(s) { +function image_scaledFont__P24121_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P1810, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P24121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37109,7 +37109,7 @@ function image_scaledFont__P1810_mk(s) { -function controller_Button_onEvent__P2020(s) { +function controller_Button_onEvent__P24331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37119,7 +37119,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___12852 = undefined; + s.eventHandler___39219 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37127,28 +37127,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P4336_mk(s); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P26651_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 187; s.pc = 1; return s.tmp_0; + s.callLocIdx = 245; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___12852 = (r0); - r0 = (s.eventHandler___12852).fields["callback"] = (s.arg2); + s.eventHandler___39219 = (r0); + r0 = (s.eventHandler___39219).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P2020.info = {"start":3784,"length":188,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P24331.info = {"start":3784,"length":188,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P2020_mk(s) { +function controller_Button_onEvent__P24331_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P2020, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P24331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___12852: undefined, + eventHandler___39219: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37158,7 +37158,7 @@ function controller_Button_onEvent__P2020_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P4336(s) { +function controller_Button_getOrCreateHandlerForEvent__P26651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37168,21 +37168,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___12873 = undefined; - s.eventHandler___12882 = undefined; - s.unnamed68___U2 = undefined; - s.unnamed69___U3 = undefined; - s.newHandler___12898 = undefined; + s.handlerState___39240 = undefined; + s.eventHandler___39249 = undefined; + s.unnamed178___U2 = undefined; + s.unnamed179___U3 = undefined; + s.newHandler___39265 = 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__C2013_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P4331_mk(s); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P26646_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 197; s.pc = 10; return s.tmp_3; + s.callLocIdx = 255; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; @@ -37192,17 +37192,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C2009_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C24320_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P2010_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P24321_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; - s.callLocIdx = 199; s.pc = 11; return s.tmp_5; + s.callLocIdx = 257; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P2733_mk(s); - s.callLocIdx = 198; s.pc = 12; return s.tmp_7; + s.tmp_7 = game_currentScene__P25044_mk(s); + s.callLocIdx = 256; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; @@ -37210,13 +37210,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P4331_mk(s); + s.tmp_0 = controller_Button_handlerState__P26646_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 200; s.pc = 13; return s.tmp_0; + s.callLocIdx = 258; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___12873 = (r0); - r0 = s.handlerState___12873.fields["user"]; + s.handlerState___39240 = (r0); + r0 = s.handlerState___39240.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -37224,76 +37224,76 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___12873; + s.tmp_3 = r0 = s.handlerState___39240; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___12882 = (undefined); - r0 = s.handlerState___12873.fields["user"]; - s.unnamed68___U2 = (r0); - s.unnamed69___U3 = (0); + s.eventHandler___39249 = (undefined); + r0 = s.handlerState___39240.fields["user"]; + s.unnamed178___U2 = (r0); + s.unnamed179___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed69___U3; - r0 = pxsim_Array__length(s.unnamed68___U2); + s.tmp_0 = r0 = s.unnamed179___U3; + r0 = pxsim_Array__length(s.unnamed178___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed68___U2, s.unnamed69___U3); - s.eventHandler___12882 = (r0); - r0 = s.eventHandler___12882.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed178___U2, s.unnamed179___U3); + s.eventHandler___39249 = (r0); + r0 = s.eventHandler___39249.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - r0 = s.eventHandler___12882; + r0 = s.eventHandler___39249; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed69___U3 + 1); - s.unnamed69___U3 = (r0); + r0 = (s.unnamed179___U3 + 1); + s.unnamed179___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed68___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P12895); + s.unnamed178___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P39262); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.arg1); - s.tmp_5 = control_onEvent__P391_mk(s); + s.tmp_5 = control_onEvent__P22702_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.tmp_5.arg2 = s.tmp_4; s.tmp_5.arg3 = 16; - s.callLocIdx = 202; s.pc = 14; return s.tmp_5; + s.callLocIdx = 260; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C2007_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C24318_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P2008_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P24319_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; - s.callLocIdx = 203; s.pc = 15; return s.tmp_1; + s.callLocIdx = 261; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___12898 = (s.tmp_0); - r0 = s.handlerState___12873.fields["user"]; + s.newHandler___39265 = (s.tmp_0); + r0 = s.handlerState___39240.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___12898); - r0 = s.newHandler___12898; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___39265); + r0 = s.newHandler___39265; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P4336.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} +controller_Button_getOrCreateHandlerForEvent__P26651.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} -function controller_Button_getOrCreateHandlerForEvent__P4336_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P26651_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P4336, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P26651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37303,11 +37303,11 @@ function controller_Button_getOrCreateHandlerForEvent__P4336_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___12873: undefined, - eventHandler___12882: undefined, - unnamed68___U2: undefined, - unnamed69___U3: undefined, - newHandler___12898: undefined, + handlerState___39240: undefined, + eventHandler___39249: undefined, + unnamed178___U2: undefined, + unnamed179___U3: undefined, + newHandler___39265: undefined, arg0: undefined, arg1: undefined, } } @@ -37316,7 +37316,7 @@ function controller_Button_getOrCreateHandlerForEvent__P4336_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P12895(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P39262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37326,22 +37326,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P4335_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P26650_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; - s.callLocIdx = 201; s.pc = 1; return s.tmp_0; + s.callLocIdx = 259; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P12895.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_getOrCreateHandlerForEvent_inline__P39262.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_getOrCreateHandlerForEvent_inline__P12895_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P39262_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P12895, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P39262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -37350,7 +37350,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P12895_mk(s) { -function controller_Button_runButtonEvents__P4335(s) { +function controller_Button_runButtonEvents__P26650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37360,25 +37360,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___12912 = undefined; - s.userHandler___12916 = undefined; - s.eventHandler___12927 = undefined; - s.unnamed66___U3 = undefined; - s.unnamed67___U4 = undefined; + s.handlerState___39279 = undefined; + s.userHandler___39283 = undefined; + s.eventHandler___39294 = undefined; + s.unnamed176___U3 = undefined; + s.unnamed177___U4 = 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__C2013_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P4331_mk(s); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P26646_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 193; s.pc = 14; return s.tmp_0; + s.callLocIdx = 251; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___12912 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___12912); + s.handlerState___39279 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___39279); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -37387,49 +37387,49 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P4336_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P26651_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 194; s.pc = 15; return s.tmp_2; + s.callLocIdx = 252; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___12916 = (r0); - r0 = s.userHandler___12916.fields["callback"]; + s.userHandler___39283 = (r0); + r0 = s.userHandler___39283.fields["callback"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_callback_1_mk(s); - s.tmp_1.arg0 = s.userHandler___12916; + s.tmp_1.arg0 = s.userHandler___39283; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); - s.callLocIdx = 195; s.pc = 16; return s.tmp_1; + s.callLocIdx = 253; s.pc = 16; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["callback"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["callback"], 1); s.callLocIdx = 195; s.pc = 16; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 195; s.pc = 16; return s.tmp_1;; } - else { s.callLocIdx = 195; s.pc = 16; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["callback"], 1); s.callLocIdx = 253; s.pc = 16; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 253; s.pc = 16; return s.tmp_1;; } + else { s.callLocIdx = 253; s.pc = 16; return s.tmp_1; } } case 16: r0 = s.retval; case 3: case 4: - r0 = s.handlerState___12912.fields["system"]; + r0 = s.handlerState___39279.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___12927 = (undefined); - r0 = s.handlerState___12912.fields["system"]; - s.unnamed66___U3 = (r0); - s.unnamed67___U4 = (0); + s.eventHandler___39294 = (undefined); + r0 = s.handlerState___39279.fields["system"]; + s.unnamed176___U3 = (r0); + s.unnamed177___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed67___U4; - r0 = pxsim_Array__length(s.unnamed66___U3); + s.tmp_0 = r0 = s.unnamed177___U4; + r0 = pxsim_Array__length(s.unnamed176___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed66___U3, s.unnamed67___U4); - s.eventHandler___12927 = (r0); - r0 = s.eventHandler___12927.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed176___U3, s.unnamed177___U4); + s.eventHandler___39294 = (r0); + r0 = s.eventHandler___39294.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -37438,32 +37438,32 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___12927.fields["callback"]; + r0 = s.eventHandler___39294.fields["callback"]; case 7: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } s.tmp_5 = if_callback_1_mk(s); - s.tmp_5.arg0 = s.eventHandler___12927; + s.tmp_5.arg0 = s.eventHandler___39294; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); - s.callLocIdx = 196; s.pc = 17; return s.tmp_5; + s.callLocIdx = 254; s.pc = 17; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["callback"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["callback"], 1); s.callLocIdx = 196; s.pc = 17; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 196; s.pc = 17; return s.tmp_5;; } - else { s.callLocIdx = 196; s.pc = 17; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["callback"], 1); s.callLocIdx = 254; s.pc = 17; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 254; s.pc = 17; return s.tmp_5;; } + else { s.callLocIdx = 254; s.pc = 17; return s.tmp_5; } } case 17: r0 = s.retval; case 8: case 9: - r0 = (s.unnamed67___U4 + 1); - s.unnamed67___U4 = (r0); + r0 = (s.unnamed177___U4 + 1); + s.unnamed177___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed66___U3 = (undefined); + s.unnamed176___U3 = (undefined); case 11: case 12: case 13: @@ -37471,12 +37471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P4335.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} +controller_Button_runButtonEvents__P26650.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} -function controller_Button_runButtonEvents__P4335_mk(s) { +function controller_Button_runButtonEvents__P26650_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P4335, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P26650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37484,11 +37484,11 @@ function controller_Button_runButtonEvents__P4335_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___12912: undefined, - userHandler___12916: undefined, - eventHandler___12927: undefined, - unnamed66___U3: undefined, - unnamed67___U4: undefined, + handlerState___39279: undefined, + userHandler___39283: undefined, + eventHandler___39294: undefined, + unnamed176___U3: undefined, + unnamed177___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -37497,7 +37497,7 @@ function controller_Button_runButtonEvents__P4335_mk(s) { -function controller_Button_handlerState__P4331(s) { +function controller_Button_handlerState__P26646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37507,32 +37507,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___12943 = undefined; - s.unnamed64___U1 = undefined; - s.unnamed65___U2 = undefined; + s.state___39310 = undefined; + s.unnamed174___U1 = undefined; + s.unnamed175___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); - s.state___12943 = (undefined); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 183; s.pc = 6; return s.tmp_0; + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + s.state___39310 = (undefined); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 241; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed64___U1 = (r0); - s.unnamed65___U2 = (0); + s.unnamed174___U1 = (r0); + s.unnamed175___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed65___U2; - r0 = pxsim_Array__length(s.unnamed64___U1); + s.tmp_0 = r0 = s.unnamed175___U2; + r0 = pxsim_Array__length(s.unnamed174___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); - s.state___12943 = (r0); - r0 = s.state___12943.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed174___U1, s.unnamed175___U2); + s.state___39310 = (r0); + r0 = s.state___39310.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -37540,36 +37540,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___12943; + r0 = s.state___39310; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed65___U2 + 1); - s.unnamed65___U2 = (r0); + r0 = (s.unnamed175___U2 + 1); + s.unnamed175___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed64___U1 = (undefined); + s.unnamed174___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P4331.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} -controller_Button_handlerState__P4331.isGetter = true; +controller_Button_handlerState__P26646.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} +controller_Button_handlerState__P26646.isGetter = true; -function controller_Button_handlerState__P4331_mk(s) { +function controller_Button_handlerState__P26646_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P4331, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P26646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - state___12943: undefined, - unnamed64___U1: undefined, - unnamed65___U2: undefined, + state___39310: undefined, + unnamed174___U1: undefined, + unnamed175___U2: undefined, arg0: undefined, } } @@ -37577,7 +37577,7 @@ function controller_Button_handlerState__P4331_mk(s) { -function controller_ButtonEventHandlerState_constructor__P2010(s) { +function controller_ButtonEventHandlerState_constructor__P24321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37593,18 +37593,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C2009_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C24320_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P2010.info = {"start":1122,"length":33,"line":48,"column":8,"endLine":48,"endColumn":41,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id"]} +controller_ButtonEventHandlerState_constructor__P24321.info = {"start":1122,"length":33,"line":48,"column":8,"endLine":48,"endColumn":41,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id"]} -function controller_ButtonEventHandlerState_constructor__P2010_mk(s) { +function controller_ButtonEventHandlerState_constructor__P24321_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P2010, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P24321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37614,7 +37614,7 @@ function controller_ButtonEventHandlerState_constructor__P2010_mk(s) { -function controller_ButtonHandler_constructor__P2008(s) { +function controller_ButtonHandler_constructor__P24319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37631,19 +37631,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C2007_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C24318_VT)) failedCast(r0); r0 = (s.arg0).fields["event"] = (s.arg1); r0 = (s.arg0).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonHandler_constructor__P2008.info = {"start":997,"length":66,"line":44,"column":8,"endLine":44,"endColumn":74,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","event","callback"]} +controller_ButtonHandler_constructor__P24319.info = {"start":997,"length":66,"line":44,"column":8,"endLine":44,"endColumn":74,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","event","callback"]} -function controller_ButtonHandler_constructor__P2008_mk(s) { +function controller_ButtonHandler_constructor__P24319_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P2008, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P24319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37654,7 +37654,7 @@ function controller_ButtonHandler_constructor__P2008_mk(s) { -function scene_systemMenu_initScreen__P4798(s) { +function scene_systemMenu_initScreen__P27113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37664,21 +37664,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___12955 = undefined; - s.tmp_0 = settings_readNumber__P1897_mk(s); + s.brightness___39322 = undefined; + s.tmp_0 = settings_readNumber__P24208_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1089; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1365; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___12955 = (r0); - r0 = (s.brightness___12955 !== undefined); + s.brightness___39322 = (r0); + r0 = (s.brightness___39322 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P1796_mk(s); - s.tmp_1.arg0 = globals.screen___1863; - s.tmp_1.arg1 = s.brightness___12955; - s.callLocIdx = 1090; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P24107_mk(s); + s.tmp_1.arg0 = globals.screen___24174; + s.tmp_1.arg1 = s.brightness___39322; + s.callLocIdx = 1366; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -37687,23 +37687,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P4798.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__P27113.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__P4798_mk(s) { +function scene_systemMenu_initScreen__P27113_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P4798, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P27113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___12955: undefined, + brightness___39322: undefined, } } -function scene_systemMenu_initVolume__P4797(s) { +function scene_systemMenu_initVolume__P27112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37713,20 +37713,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___13047 = undefined; - s.tmp_0 = settings_readNumber__P1897_mk(s); + s.vol___39332 = undefined; + s.tmp_0 = settings_readNumber__P24208_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1087; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1363; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___13047 = (r0); - r0 = (s.vol___13047 !== undefined); + s.vol___39332 = (r0); + r0 = (s.vol___39332 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P1606_mk(s); - s.tmp_1.arg0 = s.vol___13047; - s.callLocIdx = 1088; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P23917_mk(s); + s.tmp_1.arg0 = s.vol___39332; + s.callLocIdx = 1364; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -37735,23 +37735,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P4797.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__P27112.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__P4797_mk(s) { +function scene_systemMenu_initVolume__P27112_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P4797, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P27112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___13047: undefined, + vol___39332: undefined, } } -function game_currentScene__P2733(s) { +function game_currentScene__P25044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37761,21 +37761,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P4539_mk(s); + s.tmp_0 = game_init__P26854_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 914; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1169; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___4531; + r0 = globals._scene___26846; return leave(s, r0) default: oops() } } } -game_currentScene__P2733.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P25044.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__P2733_mk(s) { +function game_currentScene__P25044_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P2733, depth: s.depth + 1, + parent: s, fn: game_currentScene__P25044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -37784,7 +37784,7 @@ function game_currentScene__P2733_mk(s) { -function game_addScenePopHandler__P2749(s) { +function game_addScenePopHandler__P25060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37798,35 +37798,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___4534); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___26849); 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___4534 = (r0); + globals._scenePopHandlers___26849 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___4534, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___26849, 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___4534, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___26849, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P2749.info = {"start":10364,"length":237,"line":328,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P25060.info = {"start":10364,"length":237,"line":328,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P2749_mk(s) { +function game_addScenePopHandler__P25060_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P2749, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P25060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37837,7 +37837,7 @@ function game_addScenePopHandler__P2749_mk(s) { -function game_addScenePushHandler__P2747(s) { +function game_addScenePushHandler__P25058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37851,35 +37851,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___4533); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___26848); 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___4533 = (r0); + globals._scenePushHandlers___26848 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___4533, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___26848, 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___4533, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___26848, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P2747.info = {"start":9363,"length":242,"line":304,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P25058.info = {"start":9363,"length":242,"line":304,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P2747_mk(s) { +function game_addScenePushHandler__P25058_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P2747, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P25058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37890,7 +37890,7 @@ function game_addScenePushHandler__P2747_mk(s) { -function Fx8__P149(s) { +function Fx8__P22460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37910,12 +37910,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx8__P22460.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__P149_mk(s) { +function Fx8__P22460_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P149, depth: s.depth + 1, + parent: s, fn: Fx8__P22460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37925,7 +37925,7 @@ function Fx8__P149_mk(s) { -function SpriteKind_create__P2301(s) { +function SpriteKind_create__P24612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37935,26 +37935,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___4366 === undefined); + r0 = (globals.nextKind___26681 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___4366 = (1000); + globals.nextKind___26681 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___4366; + s.tmp_0 = r0 = globals.nextKind___26681; r0 = (s.tmp_0 + 1); - globals.nextKind___4366 = (r0); + globals.nextKind___26681 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P2301.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P24612.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P2301_mk(s) { +function SpriteKind_create__P24612_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P2301, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P24612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -37963,7 +37963,7 @@ function SpriteKind_create__P2301_mk(s) { -function controller_Button_constructor__P2019(s) { +function controller_Button_constructor__P24330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37980,7 +37980,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -37990,13 +37990,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__P13123); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P39408); 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__P13130); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P39415); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -38015,12 +38015,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P2019.info = {"start":2004,"length":864,"line":77,"column":8,"endLine":94,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P24330.info = {"start":2004,"length":864,"line":77,"column":8,"endLine":94,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P2019_mk(s) { +function controller_Button_constructor__P24330_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P2019, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P24330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38034,7 +38034,7 @@ function controller_Button_constructor__P2019_mk(s) { -function controller_Button_inline__P13123(s) { +function controller_Button_inline__P39408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38044,22 +38044,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P2026_mk(s); + s.tmp_0 = controller_Button_setPressed__P24337_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 184; s.pc = 1; return s.tmp_0; + s.callLocIdx = 242; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_inline__P13123.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P39408.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P13123_mk(s) { +function controller_Button_inline__P39408_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P13123, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P39408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38068,7 +38068,7 @@ function controller_Button_inline__P13123_mk(s) { -function controller_Button_inline__P13130(s) { +function controller_Button_inline__P39415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38078,22 +38078,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P2026_mk(s); + s.tmp_0 = controller_Button_setPressed__P24337_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 185; s.pc = 1; return s.tmp_0; + s.callLocIdx = 243; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_inline__P13130.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P39415.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P13130_mk(s) { +function controller_Button_inline__P39415_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P13130, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P39415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38102,7 +38102,7 @@ function controller_Button_inline__P13130_mk(s) { -function controller_setupButton__P4349(s) { +function controller_setupButton__P26664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38121,12 +38121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P4349.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__P26664.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__P4349_mk(s) { +function controller_setupButton__P26664_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P4349, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P26664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38136,7 +38136,7 @@ function controller_setupButton__P4349_mk(s) { -function controller_Button_setPressed__P2026(s) { +function controller_Button_setPressed__P24337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38152,26 +38152,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C24324_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__P1764_mk(s); - s.callLocIdx = 188; s.pc = 7; return s.tmp_2; + s.tmp_2 = power_poke__P24075_mk(s); + s.callLocIdx = 246; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = s.arg0.fields["_owner"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P1982_mk(s); + s.tmp_1 = controller_Controller_connected__P24293_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; - s.callLocIdx = 189; s.pc = 8; return s.tmp_1; + s.callLocIdx = 247; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; case 1: @@ -38182,17 +38182,17 @@ 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__P4333_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P26648_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 190; s.pc = 9; return s.tmp_0; + s.callLocIdx = 248; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P4332_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P26647_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 191; s.pc = 10; return s.tmp_0; + s.callLocIdx = 249; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 4: @@ -38202,12 +38202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P2026.info = {"start":6774,"length":507,"line":201,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P24337.info = {"start":6774,"length":507,"line":201,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P2026_mk(s) { +function controller_Button_setPressed__P24337_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P2026, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P24337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38220,7 +38220,7 @@ function controller_Button_setPressed__P2026_mk(s) { -function controller_Button_raiseButtonDown__P4333(s) { +function controller_Button_raiseButtonDown__P26648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38235,8 +38235,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4343); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___26658); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -38251,12 +38251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P4333.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P26648.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P4333_mk(s) { +function controller_Button_raiseButtonDown__P26648_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P4333, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P26648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38266,7 +38266,7 @@ function controller_Button_raiseButtonDown__P4333_mk(s) { -function controller_Button_raiseButtonUp__P4332(s) { +function controller_Button_raiseButtonUp__P26647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38281,8 +38281,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4343); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___26658); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -38297,12 +38297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P4332.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P26647.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P4332_mk(s) { +function controller_Button_raiseButtonUp__P26647_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P4332, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P26647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38312,7 +38312,7 @@ function controller_Button_raiseButtonUp__P4332_mk(s) { -function controller_Controller_connected__P1982(s) { +function controller_Controller_connected__P24293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38328,7 +38328,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -38356,12 +38356,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P1982.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__P24293.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__P1982_mk(s) { +function controller_Controller_connected__P24293_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P1982, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P24293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38374,7 +38374,7 @@ function controller_Controller_connected__P1982_mk(s) { -function controller_Controller_id__P1969(s) { +function controller_Controller_id__P24280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38389,18 +38389,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P1969.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__P1969.isGetter = true; +controller_Controller_id__P24280.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__P24280.isGetter = true; -function controller_Controller_id__P1969_mk(s) { +function controller_Controller_id__P24280_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P1969, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P24280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38409,7 +38409,7 @@ function controller_Controller_id__P1969_mk(s) { -function controller_Controller_connected__P1981(s) { +function controller_Controller_connected__P24292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38424,18 +38424,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C1962_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C24273_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P1981.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__P1981.isGetter = true; +controller_Controller_connected__P24292.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__P24292.isGetter = true; -function controller_Controller_connected__P1981_mk(s) { +function controller_Controller_connected__P24292_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P1981, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P24292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38444,7 +38444,7 @@ function controller_Controller_connected__P1981_mk(s) { -function settings_initScopes__P4300(s) { +function settings_initScopes__P26615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38454,18 +38454,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___13208 = undefined; - s.tmp_1 = settings_runNumber__P1887_mk(s); - s.callLocIdx = 115; s.pc = 1; return s.tmp_1; + s.rn___39493 = undefined; + s.tmp_1 = settings_runNumber__P24198_mk(s); + s.callLocIdx = 161; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___13208 = (r0); - s.tmp_0 = settings_writeNumber__P1892_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___4288; - s.tmp_0.arg1 = s.rn___13208; - s.callLocIdx = 116; s.pc = 2; return s.tmp_0; + s.rn___39493 = (r0); + s.tmp_0 = settings_writeNumber__P24203_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___26603; + s.tmp_0.arg1 = s.rn___39493; + s.callLocIdx = 162; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = pxsim.control.deviceSerialNumber(); @@ -38473,34 +38473,34 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___13208); - s.tmp_0 = settings_setScope__P4299_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___39493); + s.tmp_0 = settings_setScope__P26614_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; - s.callLocIdx = 117; s.pc = 3; return s.tmp_0; + s.callLocIdx = 163; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_initScopes__P4300.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P26615.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__P4300_mk(s) { +function settings_initScopes__P26615_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P4300, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P26615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___13208: undefined, + rn___39493: undefined, } } -function settings_setScope__P4299(s) { +function settings_setScope__P26614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38510,7 +38510,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___13237 = undefined; + s.currScope___39522 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -38535,21 +38535,21 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P1895_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4289; - s.callLocIdx = 113; s.pc = 7; return s.tmp_0; + s.tmp_0 = settings_readString__P24206_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___26604; + s.callLocIdx = 159; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___13237 = (r0); - r0 = (s.currScope___13237 != s.arg0); + s.currScope___39522 = (r0); + r0 = (s.currScope___39522 != 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__P1890_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4289; + s.tmp_0 = settings_writeString__P24201_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___26604; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 114; s.pc = 8; return s.tmp_0; + s.callLocIdx = 160; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 5: @@ -38558,18 +38558,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P4299.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__P26614.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__P4299_mk(s) { +function settings_setScope__P26614_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P4299, depth: s.depth + 1, + parent: s, fn: settings_setScope__P26614, 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___13237: undefined, + currScope___39522: undefined, arg0: undefined, } } @@ -38577,7 +38577,7 @@ function settings_setScope__P4299_mk(s) { -function settings_readString__P1895(s) { +function settings_readString__P24206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38587,14 +38587,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___13258 = undefined; + s.buf___39536 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___13258 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___13258); + s.buf___39536 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___39536); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -38604,7 +38604,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___13258); + r0 = pxsim.BufferMethods.toString(s.buf___39536); { step = 3; continue; } case 2: r0 = undefined; @@ -38612,16 +38612,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P1895.info = {"start":2827,"length":177,"line":110,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} +settings_readString__P24206.info = {"start":2827,"length":177,"line":110,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} -function settings_readString__P1895_mk(s) { +function settings_readString__P24206_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P1895, depth: s.depth + 1, + parent: s, fn: settings_readString__P24206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___13258: undefined, + buf___39536: undefined, arg0: undefined, } } @@ -38629,7 +38629,7 @@ function settings_readString__P1895_mk(s) { -function settings_runNumber__P1887(s) { +function settings_runNumber__P24198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38639,9 +38639,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P1897_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___4288; - s.callLocIdx = 112; s.pc = 3; return s.tmp_1; + s.tmp_1 = settings_readNumber__P24208_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___26603; + s.callLocIdx = 158; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -38658,12 +38658,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P1887.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P24198.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__P1887_mk(s) { +function settings_runNumber__P24198_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P1887, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P24198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38674,7 +38674,7 @@ function settings_runNumber__P1887_mk(s) { -function control___screen_setupUpdate__P1825(s) { +function control___screen_setupUpdate__P24136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38688,24 +38688,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___4257 = (true); - globals.__update___4255 = (s.arg0); + globals.__updated___26572 = (true); + globals.__update___26570 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 108; s.pc = 1; return s.tmp_0; + s.callLocIdx = 154; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P1825.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__P24136.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__P1825_mk(s) { +function control___screen_setupUpdate__P24136_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P1825, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P24136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38715,7 +38715,7 @@ function control___screen_setupUpdate__P1825_mk(s) { -function control___screen_update__P1824(s) { +function control___screen_update__P24135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38725,27 +38725,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___4255); + r0 = pxsim_numops_toBoolDecr(globals.__update___26570); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___4255; + s.tmp_0.argL = globals.__update___26570; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 107; s.pc = 3; return s.tmp_0; + s.callLocIdx = 153; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___4257 = (true); + globals.__updated___26572 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P1824.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__P24135.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__P1824_mk(s) { +function control___screen_update__P24135_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P1824, depth: s.depth + 1, + parent: s, fn: control___screen_update__P24135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38754,7 +38754,7 @@ function control___screen_update__P1824_mk(s) { -function pause__P413(s) { +function pause__P22724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38778,12 +38778,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P413.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P22724.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__P413_mk(s) { +function pause__P22724_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P413, depth: s.depth + 1, + parent: s, fn: pause__P22724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38792,7 +38792,7 @@ function pause__P413_mk(s) { -function info_PlayerInfo_id__P2421(s) { +function info_PlayerInfo_id__P24732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38807,17 +38807,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2407_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C24718_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_id__P2421.info = {"start":18699,"length":57,"line":611,"column":8,"endLine":613,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfo_id__P24732.info = {"start":18699,"length":57,"line":611,"column":8,"endLine":613,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} -function info_PlayerInfo_id__P2421_mk(s) { +function info_PlayerInfo_id__P24732_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_id__P2421, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_id__P24732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38826,7 +38826,7 @@ function info_PlayerInfo_id__P2421_mk(s) { -function music_Melody_toString__P1621(s) { +function music_Melody_toString__P23932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38841,17 +38841,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1612_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C23923_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P1621.info = {"start":10020,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P23932.info = {"start":10020,"length":53,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P1621_mk(s) { +function music_Melody_toString__P23932_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P1621, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P23932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38860,7 +38860,7 @@ function music_Melody_toString__P1621_mk(s) { -function sprites_SpriteMap_toString__P2276(s) { +function sprites_SpriteMap_toString__P24587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38875,7 +38875,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -38895,11 +38895,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P110_mk(s); + s.tmp_10 = helpers_arrayFilter__P22421_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P13309; - s.callLocIdx = 498; s.pc = 2; return s.tmp_10; + s.tmp_10.arg1 = length_inline__P39579; + s.callLocIdx = 561; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; s.tmp_9 = r0; @@ -38920,12 +38920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P2276.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__P24587.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__P2276_mk(s) { +function sprites_SpriteMap_toString__P24587_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P2276, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P24587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38945,7 +38945,7 @@ function sprites_SpriteMap_toString__P2276_mk(s) { -function length_inline__P13309(s) { +function length_inline__P39579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38969,12 +38969,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P13309.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__P39579.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__P13309_mk(s) { +function length_inline__P39579_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P13309, depth: s.depth + 1, + parent: s, fn: length_inline__P39579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38986,7 +38986,7 @@ function length_inline__P13309_mk(s) { -function ArcadePhysicsEngine_moveSprite__P2363(s) { +function ArcadePhysicsEngine_moveSprite__P24674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38996,9 +38996,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___13341 = undefined; - s.maxDist___13349 = undefined; - s.ms___13369 = undefined; + s.tm___39611 = undefined; + s.maxDist___39619 = undefined; + s.ms___39639 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39007,7 +39007,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -39026,19 +39026,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__P2733_mk(s); - s.callLocIdx = 733; s.pc = 13; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 798; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___13341 = (r0); - s.tmp_0 = r0 = s.tm___13341; + s.tm___39611 = (r0); + s.tmp_0 = r0 = s.tm___39611; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___13341.fields["_map"]; + r0 = s.tm___39611.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -39057,41 +39057,41 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___13349 = (r0); - s.tmp_2 = Math_abs__P128_mk(s); + s.maxDist___39619 = (r0); + s.tmp_2 = Math_abs__P22439_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 737; s.pc = 14; return s.tmp_2; + s.callLocIdx = 802; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___13349); + r0 = (s.tmp_1 <= s.maxDist___39619); 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__P128_mk(s); + s.tmp_5 = Math_abs__P22439_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_5.arg0 = r0; - s.callLocIdx = 739; s.pc = 15; return s.tmp_5; + s.callLocIdx = 804; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___13349); + r0 = (s.tmp_4 <= s.maxDist___39619); 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__C2347_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C24658_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P2348_mk(s); + s.tmp_9 = MovingSprite_constructor__P24659_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -39102,23 +39102,23 @@ switch (step) { s.tmp_9.arg5 = s.arg3; s.tmp_9.arg6 = s.arg2; s.tmp_9.arg7 = s.arg3; - s.callLocIdx = 740; s.pc = 16; return s.tmp_9; + s.callLocIdx = 805; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___13369 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4403_mk(s); + s.ms___39639 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P26718_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___13369; - s.tmp_0.arg2 = s.tm___13341; - s.callLocIdx = 741; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = s.ms___39639; + s.tmp_0.arg2 = s.tm___39611; + s.callLocIdx = 806; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P2536_mk(s); - s.tmp_1.arg0 = s.tm___13341; + s.tmp_1 = tiles_TileMap_isOnWall__P24847_mk(s); + s.tmp_1.arg0 = s.tm___39611; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 742; s.pc = 18; return s.tmp_1; + s.callLocIdx = 807; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0 = r0; @@ -39127,11 +39127,11 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4405_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P26720_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___13341; - s.callLocIdx = 743; s.pc = 19; return s.tmp_4; + s.tmp_4.arg2 = s.tm___39611; + s.callLocIdx = 808; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3 = r0; @@ -39165,12 +39165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P2363.info = {"start":23782,"length":1208,"line":653,"column":4,"endLine":684,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P24674.info = {"start":23782,"length":1208,"line":653,"column":4,"endLine":684,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P2363_mk(s) { +function ArcadePhysicsEngine_moveSprite__P24674_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P2363, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P24674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39182,9 +39182,9 @@ function ArcadePhysicsEngine_moveSprite__P2363_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___13341: undefined, - maxDist___13349: undefined, - ms___13369: undefined, + tm___39611: undefined, + maxDist___39619: undefined, + ms___39639: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39195,7 +39195,7 @@ function ArcadePhysicsEngine_moveSprite__P2363_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P4405(s) { +function ArcadePhysicsEngine_canResolveClipping__P26720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39205,19 +39205,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___13414 = undefined; - s.sz___13417 = undefined; - s.maxMove___13422 = undefined; - s.origY___13424 = undefined; - s.origX___13427 = undefined; - s.l___13430 = undefined; - s.r___13435 = undefined; - s.t___13440 = undefined; - s.b___13445 = undefined; - s.offset___13450 = undefined; - s.offset___13475 = undefined; - s.offset___13506 = undefined; - s.offset___13531 = undefined; + s.hbox___39684 = undefined; + s.sz___39687 = undefined; + s.maxMove___39692 = undefined; + s.origY___39694 = undefined; + s.origX___39697 = undefined; + s.l___39700 = undefined; + s.r___39705 = undefined; + s.t___39710 = undefined; + s.b___39715 = undefined; + s.offset___39720 = undefined; + s.offset___39745 = undefined; + s.offset___39776 = undefined; + s.offset___39801 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39225,7 +39225,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -39236,9 +39236,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C2163_v4_1_mk(s); + s.tmp_4 = Sprite__C24474_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2163_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C24474_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 20; return s.tmp_4; case 20: @@ -39246,83 +39246,83 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___13414 = (r0); + s.hbox___39684 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___13417 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2355_mk(s); + s.sz___39687 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P24666_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 746; s.pc = 21; return s.tmp_0; + s.callLocIdx = 811; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___13422 = (r0); + s.maxMove___39692 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___13424 = (r0); + s.origY___39694 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___13427 = (r0); - s.tmp_1 = game_Hitbox_left__P2040_mk(s); - s.tmp_1.arg0 = s.hbox___13414; - s.callLocIdx = 747; s.pc = 22; return s.tmp_1; + s.origX___39697 = (r0); + s.tmp_1 = game_Hitbox_left__P24351_mk(s); + s.tmp_1.arg0 = s.hbox___39684; + s.callLocIdx = 812; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___13430 = (r0); - s.tmp_1 = game_Hitbox_right__P2042_mk(s); - s.tmp_1.arg0 = s.hbox___13414; - s.callLocIdx = 749; s.pc = 23; return s.tmp_1; + s.l___39700 = (r0); + s.tmp_1 = game_Hitbox_right__P24353_mk(s); + s.tmp_1.arg0 = s.hbox___39684; + s.callLocIdx = 814; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___13435 = (r0); - s.tmp_1 = game_Hitbox_top__P2041_mk(s); - s.tmp_1.arg0 = s.hbox___13414; - s.callLocIdx = 751; s.pc = 24; return s.tmp_1; + s.r___39705 = (r0); + s.tmp_1 = game_Hitbox_top__P24352_mk(s); + s.tmp_1.arg0 = s.hbox___39684; + s.callLocIdx = 816; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___13440 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_1.arg0 = s.hbox___13414; - s.callLocIdx = 753; s.pc = 25; return s.tmp_1; + s.t___39710 = (r0); + s.tmp_1 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_1.arg0 = s.hbox___39684; + s.callLocIdx = 818; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___13445 = (r0); - r0 = (s.b___13445 + 1); + s.b___39715 = (r0); + r0 = (s.b___39715 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___13417); - s.offset___13450 = (r0); - r0 = (s.offset___13450 <= s.maxMove___13422); + r0 = (s.tmp_0 % s.sz___39687); + s.offset___39720 = (r0); + r0 = (s.offset___39720 <= s.maxMove___39692); 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___13450 * 256); + r0 = (s.offset___39720 * 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__P2536_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P24847_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 757; s.pc = 26; return s.tmp_3; + s.callLocIdx = 822; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2 = r0; @@ -39336,38 +39336,38 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___13424); + r0 = (s.arg1).fields["_y"] = (s.origY___39694); case 4: case 5: case 6: - r0 = (s.t___13440 / s.sz___13417); + r0 = (s.t___39710 / s.sz___39687); 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___13417); + r0 = (s.tmp_1 * s.sz___39687); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___13440); - s.offset___13475 = (r0); - r0 = (s.offset___13475 <= s.maxMove___13422); + r0 = (s.tmp_0 - s.t___39710); + s.offset___39745 = (r0); + r0 = (s.offset___39745 <= s.maxMove___39692); 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___13475 * 256); + r0 = (s.offset___39745 * 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__P2536_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P24847_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 760; s.pc = 27; return s.tmp_3; + s.callLocIdx = 825; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; @@ -39381,32 +39381,32 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___13424); + r0 = (s.arg1).fields["_y"] = (s.origY___39694); case 8: case 9: case 10: - r0 = (s.r___13435 + 1); + r0 = (s.r___39705 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___13417); - s.offset___13506 = (r0); - r0 = (s.offset___13506 <= s.maxMove___13422); + r0 = (s.tmp_0 % s.sz___39687); + s.offset___39776 = (r0); + r0 = (s.offset___39776 <= s.maxMove___39692); 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___13506 * 256); + r0 = (s.offset___39776 * 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__P2536_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P24847_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 763; s.pc = 28; return s.tmp_3; + s.callLocIdx = 828; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -39420,38 +39420,38 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___13427); + r0 = (s.arg1).fields["_x"] = (s.origX___39697); case 12: case 13: case 14: - r0 = (s.l___13430 / s.sz___13417); + r0 = (s.l___39700 / s.sz___39687); 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___13417); + r0 = (s.tmp_1 * s.sz___39687); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___13430); - s.offset___13531 = (r0); - r0 = (s.offset___13531 <= s.maxMove___13422); + r0 = (s.tmp_0 - s.l___39700); + s.offset___39801 = (r0); + r0 = (s.offset___39801 <= s.maxMove___39692); 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___13531 * 256); + r0 = (s.offset___39801 * 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__P2536_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P24847_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 766; s.pc = 29; return s.tmp_3; + s.callLocIdx = 831; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -39465,7 +39465,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___13427); + r0 = (s.arg1).fields["_x"] = (s.origX___39697); case 16: case 17: case 18: @@ -39474,12 +39474,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P4405.info = {"start":25086,"length":2135,"line":687,"column":4,"endLine":758,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P26720.info = {"start":25086,"length":2135,"line":687,"column":4,"endLine":758,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P4405_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P26720_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4405, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P26720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39487,19 +39487,19 @@ function ArcadePhysicsEngine_canResolveClipping__P4405_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___13414: undefined, - sz___13417: undefined, - maxMove___13422: undefined, - origY___13424: undefined, - origX___13427: undefined, - l___13430: undefined, - r___13435: undefined, - t___13440: undefined, - b___13445: undefined, - offset___13450: undefined, - offset___13475: undefined, - offset___13506: undefined, - offset___13531: undefined, + hbox___39684: undefined, + sz___39687: undefined, + maxMove___39692: undefined, + origY___39694: undefined, + origX___39697: undefined, + l___39700: undefined, + r___39705: undefined, + t___39710: undefined, + b___39715: undefined, + offset___39720: undefined, + offset___39745: undefined, + offset___39776: undefined, + offset___39801: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39509,7 +39509,7 @@ function ArcadePhysicsEngine_canResolveClipping__P4405_mk(s) { -function Sprite_isStatic__P2217(s) { +function Sprite_isStatic__P24528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39524,19 +39524,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2217.info = {"start":9841,"length":57,"line":355,"column":4,"endLine":357,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P24528.info = {"start":9841,"length":57,"line":355,"column":4,"endLine":357,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P2217_mk(s) { +function Sprite_isStatic__P24528_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P2217, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P24528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39546,7 +39546,7 @@ function Sprite_isStatic__P2217_mk(s) { -function game_Hitbox_bottom__P2043(s) { +function game_Hitbox_bottom__P24354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39561,12 +39561,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P2041_mk(s); + s.tmp_3 = game_Hitbox_top__P24352_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 210; s.pc = 1; return s.tmp_3; + s.callLocIdx = 268; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -39576,13 +39576,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P2043.info = {"start":786,"length":139,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P2043.isGetter = true; +game_Hitbox_bottom__P24354.info = {"start":786,"length":139,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P24354.isGetter = true; -function game_Hitbox_bottom__P2043_mk(s) { +function game_Hitbox_bottom__P24354_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P2043, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P24354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39595,7 +39595,7 @@ function game_Hitbox_bottom__P2043_mk(s) { -function game_Hitbox_right__P2042(s) { +function game_Hitbox_right__P24353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39610,12 +39610,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P2040_mk(s); + s.tmp_3 = game_Hitbox_left__P24351_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 207; s.pc = 1; return s.tmp_3; + s.callLocIdx = 265; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -39625,13 +39625,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P2042.info = {"start":638,"length":138,"line":26,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P2042.isGetter = true; +game_Hitbox_right__P24353.info = {"start":638,"length":138,"line":26,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P24353.isGetter = true; -function game_Hitbox_right__P2042_mk(s) { +function game_Hitbox_right__P24353_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P2042, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P24353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39644,7 +39644,7 @@ function game_Hitbox_right__P2042_mk(s) { -function game_Hitbox_top__P2041(s) { +function game_Hitbox_top__P24352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39659,7 +39659,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -39669,13 +39669,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P2041.info = {"start":555,"length":73,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P2041.isGetter = true; +game_Hitbox_top__P24352.info = {"start":555,"length":73,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P24352.isGetter = true; -function game_Hitbox_top__P2041_mk(s) { +function game_Hitbox_top__P24352_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P2041, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P24352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39686,7 +39686,7 @@ function game_Hitbox_top__P2041_mk(s) { -function game_Hitbox_left__P2040(s) { +function game_Hitbox_left__P24351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39701,7 +39701,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -39711,13 +39711,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P2040.info = {"start":471,"length":74,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P2040.isGetter = true; +game_Hitbox_left__P24351.info = {"start":471,"length":74,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P24351.isGetter = true; -function game_Hitbox_left__P2040_mk(s) { +function game_Hitbox_left__P24351_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P2040, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P24351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39728,7 +39728,7 @@ function game_Hitbox_left__P2040_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P4403(s) { +function ArcadePhysicsEngine_tilemapCollisions__P26718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39738,37 +39738,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___13691 = undefined; - s.hbox___13716 = undefined; - s.tileScale___13719 = undefined; - s.tileSize___13722 = undefined; - s.xDiff___13726 = undefined; - s.yDiff___13733 = undefined; - s.right___13749 = undefined; - s.x0___13753 = undefined; - s.collidedTiles___13768 = undefined; - s.y___13770 = undefined; - s.y0___13784 = undefined; - s.obstacle___13800 = undefined; - s.collisionDirection___13827 = undefined; - s.tile___13853 = undefined; - s.unnamed80___U14 = undefined; - s.unnamed81___U15 = undefined; - s.down___13937 = undefined; - s.y0___13941 = undefined; - s.collidedTiles___13956 = undefined; - s.x___13958 = undefined; - s.x0___13968 = undefined; - s.obstacle___13982 = undefined; - s.collisionDirection___14009 = undefined; - s.tile___14035 = undefined; - s.unnamed82___U24 = undefined; - s.unnamed83___U25 = undefined; - s.overlappedTiles___14122 = undefined; - s.x___14124 = undefined; - s.x0___14134 = undefined; - s.y___14144 = undefined; - s.y0___14154 = undefined; + s.s___39944 = undefined; + s.hbox___39969 = undefined; + s.tileScale___39972 = undefined; + s.tileSize___39975 = undefined; + s.xDiff___39979 = undefined; + s.yDiff___39986 = undefined; + s.right___40002 = undefined; + s.x0___40006 = undefined; + s.collidedTiles___40021 = undefined; + s.y___40023 = undefined; + s.y0___40037 = undefined; + s.obstacle___40053 = undefined; + s.collisionDirection___40080 = undefined; + s.tile___40106 = undefined; + s.unnamed190___U14 = undefined; + s.unnamed191___U15 = undefined; + s.down___40190 = undefined; + s.y0___40194 = undefined; + s.collidedTiles___40209 = undefined; + s.x___40211 = undefined; + s.x0___40221 = undefined; + s.obstacle___40235 = undefined; + s.collisionDirection___40262 = undefined; + s.tile___40288 = undefined; + s.unnamed192___U24 = undefined; + s.unnamed193___U25 = undefined; + s.overlappedTiles___40375 = undefined; + s.x___40377 = undefined; + s.x0___40387 = undefined; + s.y___40397 = undefined; + s.y0___40407 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39776,19 +39776,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___13691 = (r0); - r0 = s.s___13691.fields["flags"]; + s.s___39944 = (r0); + r0 = s.s___39944.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__P2536_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P24847_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___13691; - s.callLocIdx = 629; s.pc = 93; return s.tmp_5; + s.tmp_5.arg1 = s.s___39944; + s.callLocIdx = 694; s.pc = 93; return s.tmp_5; case 93: r0 = s.retval; s.tmp_4 = r0; @@ -39798,7 +39798,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___13691; + s.tmp_6 = r0 = s.s___39944; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -39808,7 +39808,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___13691.fields["_image"]; + r0 = s.s___39944.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -39818,34 +39818,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C2163_v4_1_mk(s); - s.tmp_4.arg0 = s.s___13691; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2163_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C24474_v4_1_mk(s); + s.tmp_4.arg0 = s.s___39944; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C24474_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 94; return s.tmp_4; case 94: r0 = s.retval; case 5: case 6: - r0 = s.s___13691.fields["_hitbox"]; - s.hbox___13716 = (r0); + r0 = s.s___39944.fields["_hitbox"]; + s.hbox___39969 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___13719 = (r0); - r0 = (1 << s.tileScale___13719); - s.tileSize___13722 = (r0); - r0 = s.s___13691.fields["_x"]; + s.tileScale___39972 = (r0); + r0 = (1 << s.tileScale___39972); + s.tileSize___39975 = (r0); + r0 = s.s___39944.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___13691.fields["_lastX"]; + r0 = s.s___39944.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___13726 = (r0); - r0 = s.s___13691.fields["_y"]; + s.xDiff___39979 = (r0); + r0 = s.s___39944.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___13691.fields["_lastY"]; + r0 = s.s___39944.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___13733 = (r0); - r0 = s.s___13691.fields["flags"]; + s.yDiff___39986 = (r0); + r0 = s.s___39944.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -39855,26 +39855,26 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = (s.xDiff___13726 !== 0); + r0 = (s.xDiff___39979 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 41; continue; } - r0 = (s.xDiff___13726 > 0); - s.right___13749 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___13749); + r0 = (s.xDiff___39979 > 0); + s.right___40002 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___40002); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P2042_mk(s); - s.tmp_1.arg0 = s.hbox___13716; - s.callLocIdx = 634; s.pc = 95; return s.tmp_1; + s.tmp_1 = game_Hitbox_right__P24353_mk(s); + s.tmp_1.arg0 = s.hbox___39969; + s.callLocIdx = 699; s.pc = 95; return s.tmp_1; case 95: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P2040_mk(s); - s.tmp_3.arg0 = s.hbox___13716; - s.callLocIdx = 636; s.pc = 96; return s.tmp_3; + s.tmp_3 = game_Hitbox_left__P24351_mk(s); + s.tmp_3.arg0 = s.hbox___39969; + s.callLocIdx = 701; s.pc = 96; return s.tmp_3; case 96: r0 = s.retval; s.tmp_2 = r0; @@ -39884,30 +39884,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___13719 + 8); + r0 = (s.tileScale___39972 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___13753 = (r0); + s.x0___40006 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___13768 = (r0); - s.tmp_1 = game_Hitbox_top__P2041_mk(s); - s.tmp_1.arg0 = s.hbox___13716; - s.callLocIdx = 640; s.pc = 97; return s.tmp_1; + s.collidedTiles___40021 = (r0); + s.tmp_1 = game_Hitbox_top__P24352_mk(s); + s.tmp_1.arg0 = s.hbox___39969; + s.callLocIdx = 705; s.pc = 97; return s.tmp_1; case 97: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___13733); - s.y___13770 = (r0); + r0 = (s.tmp_0 - s.yDiff___39986); + s.y___40023 = (r0); case 9: - s.tmp_1 = r0 = s.y___13770; - s.tmp_3 = r0 = s.tileSize___13722; - s.tmp_6 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_6.arg0 = s.hbox___13716; - s.callLocIdx = 642; s.pc = 98; return s.tmp_6; + s.tmp_1 = r0 = s.y___40023; + s.tmp_3 = r0 = s.tileSize___39975; + s.tmp_6 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_6.arg0 = s.hbox___39969; + s.callLocIdx = 707; s.pc = 98; return s.tmp_6; case 98: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___13733); + r0 = (s.tmp_5 - s.yDiff___39986); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -39917,51 +39917,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P166_mk(s); - s.tmp_10.arg0 = s.y___13770; - s.tmp_12 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_12.arg0 = s.hbox___13716; - s.callLocIdx = 645; s.pc = 100; return s.tmp_12; + s.tmp_10 = Fx_min__P22477_mk(s); + s.tmp_10.arg0 = s.y___40023; + s.tmp_12 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_12.arg0 = s.hbox___39969; + s.callLocIdx = 710; s.pc = 100; return s.tmp_12; case 100: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___13733); + r0 = (s.tmp_11 - s.yDiff___39986); s.tmp_10.arg1 = r0; - s.callLocIdx = 647; s.pc = 99; return s.tmp_10; + s.callLocIdx = 712; s.pc = 99; return s.tmp_10; case 99: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___13719 + 8); + r0 = (s.tileScale___39972 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___13784 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2534_mk(s); + s.y0___40037 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P24845_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___13753; - s.tmp_1.arg2 = s.y0___13784; - s.callLocIdx = 650; s.pc = 101; return s.tmp_1; + s.tmp_1.arg1 = s.x0___40006; + s.tmp_1.arg2 = s.y0___40037; + s.callLocIdx = 715; 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__P2535_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P24846_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___13753; - s.tmp_2.arg2 = s.y0___13784; - s.callLocIdx = 651; s.pc = 102; return s.tmp_2; + s.tmp_2.arg1 = s.x0___40006; + s.tmp_2.arg2 = s.y0___40037; + s.callLocIdx = 716; s.pc = 102; return s.tmp_2; case 102: r0 = s.retval; - s.obstacle___13800 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P13808); + s.obstacle___40053 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P40061); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___13800); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___13768; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___40053); + s.tmp_4 = helpers_arraySome__P22418_mk(s); + s.tmp_4.arg0 = s.collidedTiles___40021; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 652; s.pc = 103; return s.tmp_4; + s.callLocIdx = 717; s.pc = 103; return s.tmp_4; case 103: r0 = s.retval; s.tmp_3 = r0; @@ -39971,22 +39971,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___13768, s.obstacle___13800); + r0 = pxsim_Array__push(s.collidedTiles___40021, s.obstacle___40053); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___13722 << 8); + r0 = (s.tileSize___39975 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___13770); - s.y___13770 = (r0); + r0 = (s.tmp_0 + s.y___40023); + s.y___40023 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___13768); + r0 = pxsim_Array__length(s.collidedTiles___40021); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___13749); + r0 = pxsim_numops_toBoolDecr(s.right___40002); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -39995,23 +39995,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___13827 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___13749); + s.collisionDirection___40080 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___40002); if (!r0) { step = 17; continue; } - r0 = (s.x0___13753 << s.tileScale___13719); + r0 = (s.x0___40006 << s.tileScale___39972); 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___13716.fields["width"]; + r0 = s.hbox___39969.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___13753 + 1); + r0 = (s.x0___40006 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___13719); + r0 = (s.tmp_5 << s.tileScale___39972); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -40019,24 +40019,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___13691; - r0 = s.hbox___13716.fields["ox"]; + s.tmp_8 = r0 = s.s___39944; + r0 = s.hbox___39969.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___13853 = (undefined); - s.unnamed80___U14 = (s.collidedTiles___13768); - s.unnamed81___U15 = (0); + s.tile___40106 = (undefined); + s.unnamed190___U14 = (s.collidedTiles___40021); + s.unnamed191___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed81___U15; - r0 = pxsim_Array__length(s.unnamed80___U14); + s.tmp_0 = r0 = s.unnamed191___U15; + r0 = pxsim_Array__length(s.unnamed190___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed80___U14, s.unnamed81___U15); - s.tile___13853 = (r0); - r0 = s.s___13691.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed190___U14, s.unnamed191___U15); + s.tile___40106 = (r0); + r0 = s.s___39944.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -40046,37 +40046,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P2248_mk(s); - s.tmp_6.arg0 = s.s___13691; - s.tmp_6.arg1 = s.collisionDirection___13827; - s.tmp_6.arg2 = s.tile___13853; + s.tmp_6 = Sprite_registerObstacle__P24559_mk(s); + s.tmp_6.arg0 = s.s___39944; + s.tmp_6.arg1 = s.collisionDirection___40080; + s.tmp_6.arg2 = s.tile___40106; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 658; s.pc = 104; return s.tmp_6; + s.callLocIdx = 723; s.pc = 104; return s.tmp_6; case 104: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed81___U15 + 1); - s.unnamed81___U15 = (r0); + r0 = (s.unnamed191___U15 + 1); + s.unnamed191___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed80___U14 = (undefined); - r0 = s.s___13691.fields["flags"]; + s.unnamed190___U14 = (undefined); + r0 = s.s___39944.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__P2250_mk(s); - s.tmp_2.arg0 = s.s___13691; + s.tmp_2 = Sprite_destroy__P24561_mk(s); + s.tmp_2.arg0 = s.s___39944; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 659; s.pc = 105; return s.tmp_2; + s.callLocIdx = 724; s.pc = 105; return s.tmp_2; case 105: r0 = s.retval; { step = 38; continue; } case 23: - r0 = s.s___13691.fields["_vx"]; + r0 = s.s___39944.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -40084,13 +40084,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } - r0 = s.s___13691.fields["flags"]; + r0 = s.s___39944.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___13749); + r0 = pxsim_numops_toBoolDecr(s.right___40002); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -40099,9 +40099,9 @@ switch (step) { r0 = s.tmp_5; { step = 25; continue; } case 24: - s.tmp_8 = Sprite_vx__P2180_mk(s); - s.tmp_8.arg0 = s.s___13691; - s.callLocIdx = 660; s.pc = 106; return s.tmp_8; + s.tmp_8 = Sprite_vx__P24491_mk(s); + s.tmp_8.arg0 = s.s___39944; + s.callLocIdx = 725; s.pc = 106; return s.tmp_8; case 106: r0 = s.retval; s.tmp_7 = r0; @@ -40114,15 +40114,15 @@ switch (step) { r0 = s.tmp_9; { step = 29; continue; } case 26: - s.tmp_10 = r0 = s.right___13749; + s.tmp_10 = r0 = s.right___40002; 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__P2180_mk(s); - s.tmp_12.arg0 = s.s___13691; - s.callLocIdx = 661; s.pc = 107; return s.tmp_12; + s.tmp_12 = Sprite_vx__P24491_mk(s); + s.tmp_12.arg0 = s.s___39944; + s.callLocIdx = 726; s.pc = 107; return s.tmp_12; case 107: r0 = s.retval; s.tmp_11 = r0; @@ -40136,8 +40136,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___13691; - r0 = s.s___13691.fields["_vx"]; + s.tmp_15 = r0 = s.s___39944; + r0 = s.s___39944.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -40159,29 +40159,29 @@ switch (step) { { step = 33; continue; } case 32: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___13691).fields["_vx"] = (0); + r0 = (s.s___39944).fields["_vx"] = (0); case 33: { step = 37; continue; } case 34: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___13691.fields["_vx"]; + s.tmp_2 = Math_sign__P22440_mk(s); + r0 = s.s___39944.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 666; s.pc = 108; return s.tmp_2; + s.callLocIdx = 731; s.pc = 108; return s.tmp_2; case 108: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P22440_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 668; s.pc = 109; return s.tmp_6; + s.callLocIdx = 733; s.pc = 109; return s.tmp_6; case 109: r0 = s.retval; s.tmp_5 = r0; @@ -40198,26 +40198,26 @@ switch (step) { case 40: case 41: case 42: - r0 = (s.yDiff___13733 !== 0); + r0 = (s.yDiff___39986 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - r0 = (s.yDiff___13733 > 0); - s.down___13937 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___13937); + r0 = (s.yDiff___39986 > 0); + s.down___40190 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___40190); if (!r0) { step = 43; continue; } - s.tmp_1 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_1.arg0 = s.hbox___13716; - s.callLocIdx = 669; s.pc = 110; return s.tmp_1; + s.tmp_1 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_1.arg0 = s.hbox___39969; + s.callLocIdx = 734; s.pc = 110; return s.tmp_1; case 110: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 44; continue; } case 43: - s.tmp_3 = game_Hitbox_top__P2041_mk(s); - s.tmp_3.arg0 = s.hbox___13716; - s.callLocIdx = 671; s.pc = 111; return s.tmp_3; + s.tmp_3 = game_Hitbox_top__P24352_mk(s); + s.tmp_3.arg0 = s.hbox___39969; + s.callLocIdx = 736; s.pc = 111; return s.tmp_3; case 111: r0 = s.retval; s.tmp_2 = r0; @@ -40227,24 +40227,24 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___13719 + 8); + r0 = (s.tileScale___39972 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___13941 = (r0); + s.y0___40194 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___13956 = (r0); - s.tmp_0 = game_Hitbox_left__P2040_mk(s); - s.tmp_0.arg0 = s.hbox___13716; - s.callLocIdx = 675; s.pc = 112; return s.tmp_0; + s.collidedTiles___40209 = (r0); + s.tmp_0 = game_Hitbox_left__P24351_mk(s); + s.tmp_0.arg0 = s.hbox___39969; + s.callLocIdx = 740; s.pc = 112; return s.tmp_0; case 112: r0 = s.retval; - s.x___13958 = (r0); + s.x___40211 = (r0); case 45: - s.tmp_1 = r0 = s.x___13958; - s.tmp_3 = r0 = s.tileSize___13722; - s.tmp_5 = game_Hitbox_right__P2042_mk(s); - s.tmp_5.arg0 = s.hbox___13716; - s.callLocIdx = 676; s.pc = 113; return s.tmp_5; + s.tmp_1 = r0 = s.x___40211; + s.tmp_3 = r0 = s.tileSize___39975; + s.tmp_5 = game_Hitbox_right__P24353_mk(s); + s.tmp_5.arg0 = s.hbox___39969; + s.callLocIdx = 741; s.pc = 113; return s.tmp_5; case 113: r0 = s.retval; s.tmp_4 = r0; @@ -40256,49 +40256,49 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___13958; - s.tmp_10 = game_Hitbox_right__P2042_mk(s); - s.tmp_10.arg0 = s.hbox___13716; - s.callLocIdx = 678; s.pc = 115; return s.tmp_10; + s.tmp_9 = Fx_min__P22477_mk(s); + s.tmp_9.arg0 = s.x___40211; + s.tmp_10 = game_Hitbox_right__P24353_mk(s); + s.tmp_10.arg0 = s.hbox___39969; + s.callLocIdx = 743; s.pc = 115; return s.tmp_10; case 115: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 679; s.pc = 114; return s.tmp_9; + s.callLocIdx = 744; s.pc = 114; return s.tmp_9; case 114: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___13719 + 8); + r0 = (s.tileScale___39972 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___13968 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2534_mk(s); + s.x0___40221 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P24845_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___13968; - s.tmp_1.arg2 = s.y0___13941; - s.callLocIdx = 682; s.pc = 116; return s.tmp_1; + s.tmp_1.arg1 = s.x0___40221; + s.tmp_1.arg2 = s.y0___40194; + s.callLocIdx = 747; 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__P2535_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P24846_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___13968; - s.tmp_2.arg2 = s.y0___13941; - s.callLocIdx = 683; s.pc = 117; return s.tmp_2; + s.tmp_2.arg1 = s.x0___40221; + s.tmp_2.arg2 = s.y0___40194; + s.callLocIdx = 748; s.pc = 117; return s.tmp_2; case 117: r0 = s.retval; - s.obstacle___13982 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P13990); + s.obstacle___40235 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P40243); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___13982); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___13956; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___40235); + s.tmp_4 = helpers_arraySome__P22418_mk(s); + s.tmp_4.arg0 = s.collidedTiles___40209; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 684; s.pc = 118; return s.tmp_4; + s.callLocIdx = 749; s.pc = 118; return s.tmp_4; case 118: r0 = s.retval; s.tmp_3 = r0; @@ -40308,22 +40308,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___13956, s.obstacle___13982); + r0 = pxsim_Array__push(s.collidedTiles___40209, s.obstacle___40235); case 46: case 47: case 48: case 49: - r0 = (s.tileSize___13722 << 8); + r0 = (s.tileSize___39975 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___13958); - s.x___13958 = (r0); + r0 = (s.tmp_0 + s.x___40211); + s.x___40211 = (r0); { step = 45; continue; } case 50: - r0 = pxsim_Array__length(s.collidedTiles___13956); + r0 = pxsim_Array__length(s.collidedTiles___40209); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 75; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___13937); + r0 = pxsim_numops_toBoolDecr(s.down___40190); if (!r0) { step = 51; continue; } r0 = 3; { step = 52; continue; } @@ -40332,23 +40332,23 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___14009 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___13937); + s.collisionDirection___40262 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___40190); if (!r0) { step = 53; continue; } - r0 = (s.y0___13941 << s.tileScale___13719); + r0 = (s.y0___40194 << s.tileScale___39972); 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___13716.fields["height"]; + r0 = s.hbox___39969.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 54; continue; } case 53: - r0 = (s.y0___13941 + 1); + r0 = (s.y0___40194 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___13719); + r0 = (s.tmp_5 << s.tileScale___39972); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -40356,24 +40356,24 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___13691; - r0 = s.hbox___13716.fields["oy"]; + s.tmp_8 = r0 = s.s___39944; + r0 = s.hbox___39969.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___14035 = (undefined); - s.unnamed82___U24 = (s.collidedTiles___13956); - s.unnamed83___U25 = (0); + s.tile___40288 = (undefined); + s.unnamed192___U24 = (s.collidedTiles___40209); + s.unnamed193___U25 = (0); case 55: - s.tmp_0 = r0 = s.unnamed83___U25; - r0 = pxsim_Array__length(s.unnamed82___U24); + s.tmp_0 = r0 = s.unnamed193___U25; + r0 = pxsim_Array__length(s.unnamed192___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 58; continue; } - r0 = pxsim_Array__getAt(s.unnamed82___U24, s.unnamed83___U25); - s.tile___14035 = (r0); - r0 = s.s___13691.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed192___U24, s.unnamed193___U25); + s.tile___40288 = (r0); + r0 = s.s___39944.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -40383,37 +40383,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 56; continue; } - s.tmp_6 = Sprite_registerObstacle__P2248_mk(s); - s.tmp_6.arg0 = s.s___13691; - s.tmp_6.arg1 = s.collisionDirection___14009; - s.tmp_6.arg2 = s.tile___14035; + s.tmp_6 = Sprite_registerObstacle__P24559_mk(s); + s.tmp_6.arg0 = s.s___39944; + s.tmp_6.arg1 = s.collisionDirection___40262; + s.tmp_6.arg2 = s.tile___40288; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 690; s.pc = 119; return s.tmp_6; + s.callLocIdx = 755; s.pc = 119; return s.tmp_6; case 119: r0 = s.retval; case 56: case 57: - r0 = (s.unnamed83___U25 + 1); - s.unnamed83___U25 = (r0); + r0 = (s.unnamed193___U25 + 1); + s.unnamed193___U25 = (r0); { step = 55; continue; } case 58: - s.unnamed82___U24 = (undefined); - r0 = s.s___13691.fields["flags"]; + s.unnamed192___U24 = (undefined); + r0 = s.s___39944.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__P2250_mk(s); - s.tmp_2.arg0 = s.s___13691; + s.tmp_2 = Sprite_destroy__P24561_mk(s); + s.tmp_2.arg0 = s.s___39944; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 691; s.pc = 120; return s.tmp_2; + s.callLocIdx = 756; s.pc = 120; return s.tmp_2; case 120: r0 = s.retval; { step = 74; continue; } case 59: - r0 = s.s___13691.fields["_vy"]; + r0 = s.s___39944.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -40421,13 +40421,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 70; continue; } - r0 = s.s___13691.fields["flags"]; + r0 = s.s___39944.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___13937); + r0 = pxsim_numops_toBoolDecr(s.down___40190); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -40436,9 +40436,9 @@ switch (step) { r0 = s.tmp_5; { step = 61; continue; } case 60: - s.tmp_8 = Sprite_vy__P2182_mk(s); - s.tmp_8.arg0 = s.s___13691; - s.callLocIdx = 692; s.pc = 121; return s.tmp_8; + s.tmp_8 = Sprite_vy__P24493_mk(s); + s.tmp_8.arg0 = s.s___39944; + s.callLocIdx = 757; s.pc = 121; return s.tmp_8; case 121: r0 = s.retval; s.tmp_7 = r0; @@ -40451,15 +40451,15 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 62: - s.tmp_10 = r0 = s.down___13937; + s.tmp_10 = r0 = s.down___40190; 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__P2182_mk(s); - s.tmp_12.arg0 = s.s___13691; - s.callLocIdx = 693; s.pc = 122; return s.tmp_12; + s.tmp_12 = Sprite_vy__P24493_mk(s); + s.tmp_12.arg0 = s.s___39944; + s.callLocIdx = 758; s.pc = 122; return s.tmp_12; case 122: r0 = s.retval; s.tmp_11 = r0; @@ -40473,8 +40473,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___13691; - r0 = s.s___13691.fields["_vy"]; + s.tmp_15 = r0 = s.s___39944; + r0 = s.s___39944.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -40496,29 +40496,29 @@ switch (step) { { step = 69; continue; } case 68: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___13691).fields["_vy"] = (0); + r0 = (s.s___39944).fields["_vy"] = (0); case 69: { step = 73; continue; } case 70: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___13691.fields["_vy"]; + s.tmp_2 = Math_sign__P22440_mk(s); + r0 = s.s___39944.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 698; s.pc = 123; return s.tmp_2; + s.callLocIdx = 763; s.pc = 123; return s.tmp_2; case 123: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P22440_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 700; s.pc = 124; return s.tmp_6; + s.callLocIdx = 765; s.pc = 124; return s.tmp_6; case 124: r0 = s.retval; s.tmp_5 = r0; @@ -40537,7 +40537,7 @@ switch (step) { case 78: case 79: case 80: - r0 = s.s___13691.fields["flags"]; + r0 = s.s___39944.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -40548,19 +40548,19 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___14122 = (r0); - s.tmp_0 = game_Hitbox_left__P2040_mk(s); - s.tmp_0.arg0 = s.hbox___13716; - s.callLocIdx = 701; s.pc = 125; return s.tmp_0; + s.overlappedTiles___40375 = (r0); + s.tmp_0 = game_Hitbox_left__P24351_mk(s); + s.tmp_0.arg0 = s.hbox___39969; + s.callLocIdx = 766; s.pc = 125; return s.tmp_0; case 125: r0 = s.retval; - s.x___14124 = (r0); + s.x___40377 = (r0); case 81: - s.tmp_1 = r0 = s.x___14124; - s.tmp_3 = r0 = s.tileSize___13722; - s.tmp_5 = game_Hitbox_right__P2042_mk(s); - s.tmp_5.arg0 = s.hbox___13716; - s.callLocIdx = 702; s.pc = 126; return s.tmp_5; + s.tmp_1 = r0 = s.x___40377; + s.tmp_3 = r0 = s.tileSize___39975; + s.tmp_5 = game_Hitbox_right__P24353_mk(s); + s.tmp_5.arg0 = s.hbox___39969; + s.callLocIdx = 767; s.pc = 126; return s.tmp_5; case 126: r0 = s.retval; s.tmp_4 = r0; @@ -40572,36 +40572,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 88; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___14124; - s.tmp_10 = game_Hitbox_right__P2042_mk(s); - s.tmp_10.arg0 = s.hbox___13716; - s.callLocIdx = 704; s.pc = 128; return s.tmp_10; + s.tmp_9 = Fx_min__P22477_mk(s); + s.tmp_9.arg0 = s.x___40377; + s.tmp_10 = game_Hitbox_right__P24353_mk(s); + s.tmp_10.arg0 = s.hbox___39969; + s.callLocIdx = 769; s.pc = 128; return s.tmp_10; case 128: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 705; s.pc = 127; return s.tmp_9; + s.callLocIdx = 770; s.pc = 127; return s.tmp_9; case 127: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___13719 + 8); + r0 = (s.tileScale___39972 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___14134 = (r0); - s.tmp_0 = game_Hitbox_top__P2041_mk(s); - s.tmp_0.arg0 = s.hbox___13716; - s.callLocIdx = 708; s.pc = 129; return s.tmp_0; + s.x0___40387 = (r0); + s.tmp_0 = game_Hitbox_top__P24352_mk(s); + s.tmp_0.arg0 = s.hbox___39969; + s.callLocIdx = 773; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.y___14144 = (r0); + s.y___40397 = (r0); case 82: - s.tmp_1 = r0 = s.y___14144; - s.tmp_3 = r0 = s.tileSize___13722; - s.tmp_5 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_5.arg0 = s.hbox___13716; - s.callLocIdx = 709; s.pc = 130; return s.tmp_5; + s.tmp_1 = r0 = s.y___40397; + s.tmp_3 = r0 = s.tileSize___39975; + s.tmp_5 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_5.arg0 = s.hbox___39969; + s.callLocIdx = 774; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; s.tmp_4 = r0; @@ -40613,29 +40613,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 87; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.y___14144; - s.tmp_10 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_10.arg0 = s.hbox___13716; - s.callLocIdx = 711; s.pc = 132; return s.tmp_10; + s.tmp_9 = Fx_min__P22477_mk(s); + s.tmp_9.arg0 = s.y___40397; + s.tmp_10 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_10.arg0 = s.hbox___39969; + s.callLocIdx = 776; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 712; s.pc = 131; return s.tmp_9; + s.callLocIdx = 777; s.pc = 131; return s.tmp_9; case 131: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___13719 + 8); + r0 = (s.tileScale___39972 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___14154 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P2534_mk(s); + s.y0___40407 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P24845_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___14134; - s.tmp_3.arg2 = s.y0___14154; - s.callLocIdx = 715; s.pc = 133; return s.tmp_3; + s.tmp_3.arg1 = s.x0___40387; + s.tmp_3.arg2 = s.y0___40407; + s.callLocIdx = 780; s.pc = 133; return s.tmp_3; case 133: r0 = s.retval; s.tmp_2 = r0; @@ -40648,7 +40648,7 @@ switch (step) { r0 = s.tmp_0; { step = 84; continue; } case 83: - r0 = s.s___13691.fields["flags"]; + r0 = s.s___39944.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -40664,39 +40664,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 85; continue; } - s.tmp_10 = r0 = s.overlappedTiles___14122; - s.tmp_12 = tiles_TileMap_getTile__P2527_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___40375; + s.tmp_12 = tiles_TileMap_getTile__P24838_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___14134; - s.tmp_12.arg2 = s.y0___14154; - s.callLocIdx = 716; s.pc = 134; return s.tmp_12; + s.tmp_12.arg1 = s.x0___40387; + s.tmp_12.arg2 = s.y0___40407; + s.callLocIdx = 781; s.pc = 134; return s.tmp_12; case 134: r0 = s.retval; s.tmp_11 = r0; r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 85: case 86: - r0 = (s.tileSize___13722 << 8); + r0 = (s.tileSize___39975 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___14144); - s.y___14144 = (r0); + r0 = (s.tmp_0 + s.y___40397); + s.y___40397 = (r0); { step = 82; continue; } case 87: - r0 = (s.tileSize___13722 << 8); + r0 = (s.tileSize___39975 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___14124); - s.x___14124 = (r0); + r0 = (s.tmp_0 + s.x___40377); + s.x___40377 = (r0); { step = 81; continue; } case 88: - r0 = pxsim_Array__length(s.overlappedTiles___14122); + r0 = pxsim_Array__length(s.overlappedTiles___40375); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 89; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4404_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P26719_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___13691; - s.tmp_1.arg2 = s.overlappedTiles___14122; - s.callLocIdx = 719; s.pc = 135; return s.tmp_1; + s.tmp_1.arg1 = s.s___39944; + s.tmp_1.arg2 = s.overlappedTiles___40375; + s.callLocIdx = 784; s.pc = 135; return s.tmp_1; case 135: r0 = s.retval; case 89: @@ -40707,12 +40707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P4403.info = {"start":12895,"length":9572,"line":378,"column":4,"endLine":617,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P26718.info = {"start":12895,"length":9572,"line":378,"column":4,"endLine":617,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P4403_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P26718_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4403, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P26718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40732,37 +40732,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P4403_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___13691: undefined, - hbox___13716: undefined, - tileScale___13719: undefined, - tileSize___13722: undefined, - xDiff___13726: undefined, - yDiff___13733: undefined, - right___13749: undefined, - x0___13753: undefined, - collidedTiles___13768: undefined, - y___13770: undefined, - y0___13784: undefined, - obstacle___13800: undefined, - collisionDirection___13827: undefined, - tile___13853: undefined, - unnamed80___U14: undefined, - unnamed81___U15: undefined, - down___13937: undefined, - y0___13941: undefined, - collidedTiles___13956: undefined, - x___13958: undefined, - x0___13968: undefined, - obstacle___13982: undefined, - collisionDirection___14009: undefined, - tile___14035: undefined, - unnamed82___U24: undefined, - unnamed83___U25: undefined, - overlappedTiles___14122: undefined, - x___14124: undefined, - x0___14134: undefined, - y___14144: undefined, - y0___14154: undefined, + s___39944: undefined, + hbox___39969: undefined, + tileScale___39972: undefined, + tileSize___39975: undefined, + xDiff___39979: undefined, + yDiff___39986: undefined, + right___40002: undefined, + x0___40006: undefined, + collidedTiles___40021: undefined, + y___40023: undefined, + y0___40037: undefined, + obstacle___40053: undefined, + collisionDirection___40080: undefined, + tile___40106: undefined, + unnamed190___U14: undefined, + unnamed191___U15: undefined, + down___40190: undefined, + y0___40194: undefined, + collidedTiles___40209: undefined, + x___40211: undefined, + x0___40221: undefined, + obstacle___40235: undefined, + collisionDirection___40262: undefined, + tile___40288: undefined, + unnamed192___U24: undefined, + unnamed193___U25: undefined, + overlappedTiles___40375: undefined, + x___40377: undefined, + x0___40387: undefined, + y___40397: undefined, + y0___40407: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40772,7 +40772,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P4403_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P13808(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P40061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40794,12 +40794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P13808.info = {"start":15113,"length":39,"line":440,"column":48,"endLine":440,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P40061.info = {"start":15113,"length":39,"line":440,"column":48,"endLine":440,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P13808_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P40061_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P13808, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P40061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40810,7 +40810,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P13808_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P13990(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P40243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40832,12 +40832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P13990.info = {"start":18593,"length":39,"line":521,"column":48,"endLine":521,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P40243.info = {"start":18593,"length":39,"line":521,"column":48,"endLine":521,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P13990_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P40243_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P13990, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P40243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40848,7 +40848,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P13990_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P4404(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P26719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40858,11 +40858,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___14201 = undefined; - s.tile___14204 = undefined; - s.unnamed84___U2 = undefined; - s.unnamed85___U3 = undefined; - s.tileOverlapHandlers___14225 = undefined; + s.alreadyHandled___40454 = undefined; + s.tile___40457 = undefined; + s.unnamed194___U2 = undefined; + s.unnamed195___U3 = undefined; + s.tileOverlapHandlers___40478 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40870,27 +40870,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___14201 = (r0); - s.tile___14204 = (undefined); - s.unnamed84___U2 = (s.arg2); - s.unnamed85___U3 = (0); + s.alreadyHandled___40454 = (r0); + s.tile___40457 = (undefined); + s.unnamed194___U2 = (s.arg2); + s.unnamed195___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed85___U3; - r0 = pxsim_Array__length(s.unnamed84___U2); + s.tmp_0 = r0 = s.unnamed195___U3; + r0 = pxsim_Array__length(s.unnamed194___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed84___U2, s.unnamed85___U3); - s.tile___14204 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P14208); + r0 = pxsim_Array__getAt(s.unnamed194___U2, s.unnamed195___U3); + s.tile___40457 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P40461); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___14204); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___14201; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___40457); + s.tmp_4 = helpers_arraySome__P22418_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___40454; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 724; s.pc = 8; return s.tmp_4; + s.callLocIdx = 789; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -40899,64 +40899,64 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___14201, s.tile___14204); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 725; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.alreadyHandled___40454, s.tile___40457); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 790; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___14225 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___14225); + s.tileOverlapHandlers___40478 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___40478); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P14233); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P40486); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___14204); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P14249); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___40457); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P40500); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___14204); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___14225; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___40457); + s.tmp_2 = helpers_arrayForEach__P22420_mk(s); + s.tmp_3 = helpers_arrayFilter__P22421_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___40478; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 728; s.pc = 11; return s.tmp_3; + s.callLocIdx = 793; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 730; s.pc = 10; return s.tmp_2; + s.callLocIdx = 795; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 4: case 5: case 6: - r0 = (s.unnamed85___U3 + 1); - s.unnamed85___U3 = (r0); + r0 = (s.unnamed195___U3 + 1); + s.unnamed195___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed84___U2 = (undefined); + s.unnamed194___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P4404.info = {"start":22744,"length":707,"line":625,"column":4,"endLine":641,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P26719.info = {"start":22744,"length":707,"line":625,"column":4,"endLine":641,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P4404_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P26719_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4404, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P26719, 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___14201: undefined, - tile___14204: undefined, - unnamed84___U2: undefined, - unnamed85___U3: undefined, - tileOverlapHandlers___14225: undefined, + alreadyHandled___40454: undefined, + tile___40457: undefined, + unnamed194___U2: undefined, + unnamed195___U3: undefined, + tileOverlapHandlers___40478: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40966,7 +40966,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4404_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P14208(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P40461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41003,12 +41003,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P14208.info = {"start":22959,"length":51,"line":629,"column":36,"endLine":629,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P40461.info = {"start":22959,"length":51,"line":629,"column":36,"endLine":629,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P14208_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P40461_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P14208, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P40461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41023,7 +41023,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P14208_mk(s) { -function forEach_inline__P14233(s) { +function forEach_inline__P40486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41050,9 +41050,9 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P2546_mk(s); + s.tmp_5 = tiles_getTileImage__P24857_mk(s); s.tmp_5.arg0 = s.caps[1]; - s.callLocIdx = 727; s.pc = 3; return s.tmp_5; + s.callLocIdx = 792; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; @@ -41064,12 +41064,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14233.info = {"start":23279,"length":81,"line":637,"column":28,"endLine":637,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P40486.info = {"start":23279,"length":81,"line":637,"column":28,"endLine":637,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P14233_mk(s) { +function forEach_inline__P40486_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14233, depth: s.depth + 1, + parent: s, fn: forEach_inline__P40486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41085,7 +41085,7 @@ function forEach_inline__P14233_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P14249(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P40500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41105,12 +41105,12 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 729; s.pc = 1; return s.tmp_0; + s.callLocIdx = 794; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 729; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 729; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 729; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 794; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 794; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 794; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -41118,12 +41118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P14249.info = {"start":23391,"length":28,"line":638,"column":29,"endLine":638,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P40500.info = {"start":23391,"length":28,"line":638,"column":29,"endLine":638,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P14249_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P40500_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P14249, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P40500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41133,7 +41133,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P14249_mk(s) { -function tiles_getTileImage__P2546(s) { +function tiles_getTileImage__P24857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41143,16 +41143,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14257 = undefined; + s.scene___40507 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 858; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1028; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___14257 = (r0); + s.scene___40507 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -41162,7 +41162,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___14257.fields["tileMap"]; + r0 = s.scene___40507.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -41172,32 +41172,32 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex14267); + r0 = pxsim.image.ofBuffer(_hex40517); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P2537_mk(s); - r0 = s.scene___14257.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P24848_mk(s); + r0 = s.scene___40507.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P2482_mk(s); + s.tmp_6 = tiles_Location_tileSet__P24793_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 859; s.pc = 8; return s.tmp_6; + s.callLocIdx = 1029; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; - s.callLocIdx = 860; s.pc = 7; return s.tmp_5; + s.callLocIdx = 1030; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; case 5: return leave(s, r0) default: oops() } } } -tiles_getTileImage__P2546.info = {"start":21871,"length":207,"line":673,"column":4,"endLine":677,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P24857.info = {"start":21871,"length":207,"line":673,"column":4,"endLine":677,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P2546_mk(s) { +function tiles_getTileImage__P24857_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P2546, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P24857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41206,16 +41206,16 @@ function tiles_getTileImage__P2546_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___14257: undefined, + scene___40507: undefined, arg0: undefined, } } -const _hex14267 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex40517 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P2537(s) { +function tiles_TileMap_getTileImage__P24848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41231,23 +41231,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2504_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P24815_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 857; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1025; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P2537.info = {"start":17510,"length":96,"line":553,"column":8,"endLine":555,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P24848.info = {"start":17510,"length":96,"line":553,"column":8,"endLine":555,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P2537_mk(s) { +function tiles_TileMap_getTileImage__P24848_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P2537, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P24848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41258,7 +41258,7 @@ function tiles_TileMap_getTileImage__P2537_mk(s) { -function tiles_Location_tileSet__P2482(s) { +function tiles_Location_tileSet__P24793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41273,11 +41273,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P2528_mk(s); - s.tmp_1 = tiles_Location_tileMap__P2473_mk(s); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P24839_mk(s); + s.tmp_1 = tiles_Location_tileMap__P24784_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 788; s.pc = 2; return s.tmp_1; + s.callLocIdx = 941; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; @@ -41285,19 +41285,19 @@ switch (step) { s.tmp_0.arg1 = r0; r0 = s.arg0.fields["_row"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 789; s.pc = 1; return s.tmp_0; + s.callLocIdx = 942; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P2482.info = {"start":2323,"length":101,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P2482.isGetter = true; +tiles_Location_tileSet__P24793.info = {"start":2323,"length":101,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P24793.isGetter = true; -function tiles_Location_tileSet__P2482_mk(s) { +function tiles_Location_tileSet__P24793_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P2482, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P24793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41308,7 +41308,7 @@ function tiles_Location_tileSet__P2482_mk(s) { -function tiles_TileMap_getTileIndex__P2528(s) { +function tiles_TileMap_getTileIndex__P24839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41325,24 +41325,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P2501_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P24812_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 812; s.pc = 1; return s.tmp_0; + s.callLocIdx = 971; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P2528.info = {"start":11191,"length":105,"line":384,"column":8,"endLine":386,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P24839.info = {"start":11191,"length":105,"line":384,"column":8,"endLine":386,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P2528_mk(s) { +function tiles_TileMap_getTileIndex__P24839_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P2528, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P24839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41354,7 +41354,7 @@ function tiles_TileMap_getTileIndex__P2528_mk(s) { -function tiles_Location_row__P2475(s) { +function tiles_Location_row__P24786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41369,18 +41369,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P2475.info = {"start":877,"length":51,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P2475.isGetter = true; +tiles_Location_row__P24786.info = {"start":877,"length":51,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P24786.isGetter = true; -function tiles_Location_row__P2475_mk(s) { +function tiles_Location_row__P24786_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P2475, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P24786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41389,7 +41389,7 @@ function tiles_Location_row__P2475_mk(s) { -function tiles_Location_column__P2474(s) { +function tiles_Location_column__P24785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41404,18 +41404,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P2474.info = {"start":695,"length":54,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"column","argumentNames":["this"]} -tiles_Location_column__P2474.isGetter = true; +tiles_Location_column__P24785.info = {"start":695,"length":54,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"column","argumentNames":["this"]} +tiles_Location_column__P24785.isGetter = true; -function tiles_Location_column__P2474_mk(s) { +function tiles_Location_column__P24785_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P2474, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P24785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41424,7 +41424,7 @@ function tiles_Location_column__P2474_mk(s) { -function tiles_TileMap_getObstacle__P2535(s) { +function tiles_TileMap_getObstacle__P24846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41434,8 +41434,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___14496 = undefined; - s.tile___14508 = undefined; + s.index___40658 = undefined; + s.tile___40670 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41443,13 +41443,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2507_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P24818_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 836; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1004; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -41458,31 +41458,31 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P2501_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P24812_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 837; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1005; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___14496 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P2504_mk(s); + s.index___40658 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P24815_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___14496; - s.callLocIdx = 838; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___40658; + s.callLocIdx = 1006; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___14508 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2320_VT); + s.tile___40670 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C24631_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P2326_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P24637_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___14508; + s.tmp_1.arg1 = s.tile___40670; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -41495,20 +41495,20 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___14496; - s.callLocIdx = 842; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___40658; + s.callLocIdx = 1010; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P2535.info = {"start":16453,"length":410,"line":522,"column":8,"endLine":532,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P24846.info = {"start":16453,"length":410,"line":522,"column":8,"endLine":532,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P2535_mk(s) { +function tiles_TileMap_getObstacle__P24846_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P2535, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P24846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41516,8 +41516,8 @@ function tiles_TileMap_getObstacle__P2535_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___14496: undefined, - tile___14508: undefined, + index___40658: undefined, + tile___40670: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41527,7 +41527,7 @@ function tiles_TileMap_getObstacle__P2535_mk(s) { -function tiles_TileMap_layer__P2523(s) { +function tiles_TileMap_layer__P24834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41542,18 +41542,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P2523.info = {"start":9967,"length":63,"line":341,"column":8,"endLine":343,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P2523.isGetter = true; +tiles_TileMap_layer__P24834.info = {"start":9967,"length":63,"line":341,"column":8,"endLine":343,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P24834.isGetter = true; -function tiles_TileMap_layer__P2523_mk(s) { +function tiles_TileMap_layer__P24834_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P2523, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P24834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41562,7 +41562,7 @@ function tiles_TileMap_layer__P2523_mk(s) { -function sprites_StaticObstacle_constructor__P2326(s) { +function sprites_StaticObstacle_constructor__P24637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41582,7 +41582,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2320_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C24631_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -41592,12 +41592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P2326.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__P24637.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__P2326_mk(s) { +function sprites_StaticObstacle_constructor__P24637_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P2326, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P24637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41611,7 +41611,7 @@ function sprites_StaticObstacle_constructor__P2326_mk(s) { -function tiles_TileMap_isObstacle__P2534(s) { +function tiles_TileMap_isObstacle__P24845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41628,7 +41628,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -41649,12 +41649,12 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P2507_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P24818_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; s.tmp_8.arg2 = s.arg2; - s.callLocIdx = 834; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1002; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -41675,12 +41675,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P2534.info = {"start":16232,"length":211,"line":515,"column":8,"endLine":520,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P24845.info = {"start":16232,"length":211,"line":515,"column":8,"endLine":520,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P2534_mk(s) { +function tiles_TileMap_isObstacle__P24845_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P2534, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P24845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41703,7 +41703,7 @@ function tiles_TileMap_isObstacle__P2534_mk(s) { -function tiles_TileMapData_isWall__P2506(s) { +function tiles_TileMapData_isWall__P24817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41720,7 +41720,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2495_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C24806_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -41729,12 +41729,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P2506.info = {"start":8218,"length":107,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P24817.info = {"start":8218,"length":107,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P2506_mk(s) { +function tiles_TileMapData_isWall__P24817_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P2506, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P24817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41747,7 +41747,7 @@ function tiles_TileMapData_isWall__P2506_mk(s) { -function tiles_TileMap_getTile__P2527(s) { +function tiles_TileMap_getTile__P24838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41764,27 +41764,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2471_VT); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C24782_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P2472_mk(s); + s.tmp_1 = tiles_Location_constructor__P24783_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 810; s.pc = 1; return s.tmp_1; + s.callLocIdx = 969; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P2527.info = {"start":11070,"length":111,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P24838.info = {"start":11070,"length":111,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P2527_mk(s) { +function tiles_TileMap_getTile__P24838_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P2527, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P24838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41797,7 +41797,7 @@ function tiles_TileMap_getTile__P2527_mk(s) { -function Sprite_registerObstacle__P2248(s) { +function Sprite_registerObstacle__P24559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41807,10 +41807,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___14409 = undefined; - s.wallCollisionHandlers___14416 = undefined; - s.wallHandlersToRun___14441 = undefined; - s.asTileLocation___14454 = undefined; + s.collisionHandlers___40571 = undefined; + s.wallCollisionHandlers___40578 = undefined; + s.wallHandlersToRun___40603 = undefined; + s.asTileLocation___40616 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41819,12 +41819,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_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__P2733_mk(s); - s.callLocIdx = 398; s.pc = 9; return s.tmp_1; + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 461; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = r0.fields["collisionHandlers"]; @@ -41837,42 +41837,42 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["tileIndex"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["tileIndex"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 399; s.pc = 10; return s.tmp_3; } + else { s.callLocIdx = 462; s.pc = 10; return s.tmp_3; } } case 10: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___14409 = (r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 400; s.pc = 11; return s.tmp_0; + s.collisionHandlers___40571 = (r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 463; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___14416 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___14409); + s.wallCollisionHandlers___40578 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___40571); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P14424); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P40586); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P14430); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P40592); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___14409; + s.tmp_2 = helpers_arrayForEach__P22420_mk(s); + s.tmp_3 = helpers_arrayFilter__P22421_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___40571; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 402; s.pc = 13; return s.tmp_3; + s.callLocIdx = 465; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 404; s.pc = 12; return s.tmp_2; + s.callLocIdx = 467; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___14416); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___40578); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -41880,8 +41880,8 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P2733_mk(s); - s.callLocIdx = 405; s.pc = 14; return s.tmp_1; + s.tmp_1 = game_currentScene__P25044_mk(s); + s.callLocIdx = 468; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; r0 = r0.fields["tileMap"]; @@ -41889,21 +41889,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P14443); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P40605); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___14416; + s.tmp_1 = helpers_arrayFilter__P22421_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___40578; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 407; s.pc = 15; return s.tmp_1; + s.callLocIdx = 470; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___14441 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___14441); + s.wallHandlersToRun___40603 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___40603); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P2527_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P24838_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -41913,7 +41913,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["left"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["left"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 408; s.pc = 17; return s.tmp_3; } + else { s.callLocIdx = 471; s.pc = 17; return s.tmp_3; } } case 17: r0 = s.retval; @@ -41930,7 +41930,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["top"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["top"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 410; s.pc = 18; return s.tmp_6; } + else { s.callLocIdx = 473; s.pc = 18; return s.tmp_6; } } case 18: r0 = s.retval; @@ -41939,18 +41939,18 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_5 >> s.tmp_7); s.tmp_1.arg2 = r0; - s.callLocIdx = 412; s.pc = 16; return s.tmp_1; + s.callLocIdx = 475; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___14454 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P14470); + s.asTileLocation___40616 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P40632); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___14454); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___14441; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___40616); + s.tmp_1 = helpers_arrayForEach__P22420_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___40603; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 414; s.pc = 19; return s.tmp_1; + s.callLocIdx = 477; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; case 5: @@ -41961,12 +41961,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P2248.info = {"start":24832,"length":965,"line":815,"column":4,"endLine":835,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P24559.info = {"start":24832,"length":965,"line":815,"column":4,"endLine":835,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P2248_mk(s) { +function Sprite_registerObstacle__P24559_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P2248, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P24559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41976,10 +41976,10 @@ function Sprite_registerObstacle__P2248_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___14409: undefined, - wallCollisionHandlers___14416: undefined, - wallHandlersToRun___14441: undefined, - asTileLocation___14454: undefined, + collisionHandlers___40571: undefined, + wallCollisionHandlers___40578: undefined, + wallHandlersToRun___40603: undefined, + asTileLocation___40616: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41990,7 +41990,7 @@ function Sprite_registerObstacle__P2248_mk(s) { -function forEach_inline__P14424(s) { +function forEach_inline__P40586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42012,12 +42012,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14424.info = {"start":25230,"length":26,"line":822,"column":24,"endLine":822,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P40586.info = {"start":25230,"length":26,"line":822,"column":24,"endLine":822,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P14424_mk(s) { +function forEach_inline__P40586_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14424, depth: s.depth + 1, + parent: s, fn: forEach_inline__P40586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42028,7 +42028,7 @@ function forEach_inline__P14424_mk(s) { -function Sprite_registerObstacle_inline__P14430(s) { +function Sprite_registerObstacle_inline__P40592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42047,12 +42047,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 403; s.pc = 1; return s.tmp_0; + s.callLocIdx = 466; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 403; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 403; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 403; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 466; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 466; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 466; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -42060,12 +42060,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P14430.info = {"start":25283,"length":20,"line":823,"column":25,"endLine":823,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P40592.info = {"start":25283,"length":20,"line":823,"column":25,"endLine":823,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P14430_mk(s) { +function Sprite_registerObstacle_inline__P40592_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P14430, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P40592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42075,7 +42075,7 @@ function Sprite_registerObstacle_inline__P14430_mk(s) { -function wallHandlersToRun_inline__P14443(s) { +function wallHandlersToRun_inline__P40605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42097,12 +42097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P14443.info = {"start":25489,"length":32,"line":828,"column":24,"endLine":828,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P40605.info = {"start":25489,"length":32,"line":828,"column":24,"endLine":828,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P14443_mk(s) { +function wallHandlersToRun_inline__P40605_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P14443, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P40605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42113,7 +42113,7 @@ function wallHandlersToRun_inline__P14443_mk(s) { -function Sprite_registerObstacle_inline__P14470(s) { +function Sprite_registerObstacle_inline__P40632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42133,12 +42133,12 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 413; s.pc = 1; return s.tmp_0; + s.callLocIdx = 476; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 413; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 413; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 413; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 476; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 476; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 476; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -42146,12 +42146,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P14470.info = {"start":25729,"length":36,"line":832,"column":29,"endLine":832,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P40632.info = {"start":25729,"length":36,"line":832,"column":29,"endLine":832,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P14470_mk(s) { +function Sprite_registerObstacle_inline__P40632_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P14470, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P40632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42161,7 +42161,7 @@ function Sprite_registerObstacle_inline__P14470_mk(s) { -function Fx_iadd__P158(s) { +function Fx_iadd__P22469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42182,12 +42182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_iadd__P22469.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__P158_mk(s) { +function Fx_iadd__P22469_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P158, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P22469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42198,7 +42198,7 @@ function Fx_iadd__P158_mk(s) { -function Math_sign__P129(s) { +function Math_sign__P22440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42233,12 +42233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P129.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P22440.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P129_mk(s) { +function Math_sign__P22440_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P129, depth: s.depth + 1, + parent: s, fn: Math_sign__P22440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42249,7 +42249,7 @@ function Math_sign__P129_mk(s) { -function helpers_arraySome__P107(s) { +function helpers_arraySome__P22418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42259,28 +42259,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___14478 = undefined; - s.i___14481 = undefined; + s.len___40640 = undefined; + s.i___40643 = 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___14478 = (r0); - s.i___14481 = (0); + s.len___40640 = (r0); + s.i___40643 = (0); case 1: - r0 = (s.i___14481 < s.len___14478); + r0 = (s.i___40643 < s.len___40640); 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___14481); + r0 = pxsim_Array__getAt(s.arg0, s.i___40643); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___14481; + s.tmp_2.arg1 = s.i___40643; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 4; s.pc = 6; return s.tmp_2; + s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -42290,8 +42290,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___14481 + 1); - s.i___14481 = (r0); + r0 = (s.i___40643 + 1); + s.i___40643 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -42299,18 +42299,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySome__P22418.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__P107_mk(s) { +function helpers_arraySome__P22418_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P107, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P22418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___14478: undefined, - i___14481: undefined, + len___40640: undefined, + i___40643: undefined, arg0: undefined, arg1: undefined, } } @@ -42319,7 +42319,7 @@ function helpers_arraySome__P107_mk(s) { -function tiles_TileMap_isOnWall__P2536(s) { +function tiles_TileMap_isOnWall__P24847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42329,25 +42329,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___13597 = undefined; - s.left___13600 = undefined; - s.right___13606 = undefined; - s.top___13612 = undefined; - s.bottom___13618 = undefined; - s.col___13624 = undefined; - s.row___13630 = undefined; + s.hbox___39867 = undefined; + s.left___39870 = undefined; + s.right___39876 = undefined; + s.top___39882 = undefined; + s.bottom___39888 = undefined; + s.col___39894 = undefined; + s.row___39900 = 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__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___13597 = (r0); - s.tmp_1 = game_Hitbox_left__P2040_mk(s); - s.tmp_1.arg0 = s.hbox___13597; - s.callLocIdx = 843; s.pc = 8; return s.tmp_1; + s.hbox___39867 = (r0); + s.tmp_1 = game_Hitbox_left__P24351_mk(s); + s.tmp_1.arg0 = s.hbox___39867; + s.callLocIdx = 1011; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -42356,10 +42356,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___13600 = (r0); - s.tmp_1 = game_Hitbox_right__P2042_mk(s); - s.tmp_1.arg0 = s.hbox___13597; - s.callLocIdx = 846; s.pc = 9; return s.tmp_1; + s.left___39870 = (r0); + s.tmp_1 = game_Hitbox_right__P24353_mk(s); + s.tmp_1.arg0 = s.hbox___39867; + s.callLocIdx = 1014; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -42368,10 +42368,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___13606 = (r0); - s.tmp_1 = game_Hitbox_top__P2041_mk(s); - s.tmp_1.arg0 = s.hbox___13597; - s.callLocIdx = 849; s.pc = 10; return s.tmp_1; + s.right___39876 = (r0); + s.tmp_1 = game_Hitbox_top__P24352_mk(s); + s.tmp_1.arg0 = s.hbox___39867; + s.callLocIdx = 1017; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -42380,10 +42380,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___13612 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2043_mk(s); - s.tmp_1.arg0 = s.hbox___13597; - s.callLocIdx = 852; s.pc = 11; return s.tmp_1; + s.top___39882 = (r0); + s.tmp_1 = game_Hitbox_bottom__P24354_mk(s); + s.tmp_1.arg0 = s.hbox___39867; + s.callLocIdx = 1020; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -42392,24 +42392,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___13618 = (r0); - s.col___13624 = (s.left___13600); + s.bottom___39888 = (r0); + s.col___39894 = (s.left___39870); case 1: - r0 = (s.col___13624 <= s.right___13606); + r0 = (s.col___39894 <= s.right___39876); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___13630 = (s.top___13612); + s.row___39900 = (s.top___39882); case 2: - r0 = (s.row___13630 <= s.bottom___13618); + r0 = (s.row___39900 <= s.bottom___39888); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P2534_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P24845_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___13624; - s.tmp_2.arg2 = s.row___13630; - s.callLocIdx = 855; s.pc = 12; return s.tmp_2; + s.tmp_2.arg1 = s.col___39894; + s.tmp_2.arg2 = s.row___39900; + s.callLocIdx = 1023; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -42419,12 +42419,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___13630 + 1); - s.row___13630 = (r0); + r0 = (s.row___39900 + 1); + s.row___39900 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___13624 + 1); - s.col___13624 = (r0); + r0 = (s.col___39894 + 1); + s.col___39894 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -42432,24 +42432,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P2536.info = {"start":16873,"length":627,"line":534,"column":8,"endLine":551,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P24847.info = {"start":16873,"length":627,"line":534,"column":8,"endLine":551,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P2536_mk(s) { +function tiles_TileMap_isOnWall__P24847_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P2536, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P24847, 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___13597: undefined, - left___13600: undefined, - right___13606: undefined, - top___13612: undefined, - bottom___13618: undefined, - col___13624: undefined, - row___13630: undefined, + hbox___39867: undefined, + left___39870: undefined, + right___39876: undefined, + top___39882: undefined, + bottom___39888: undefined, + col___39894: undefined, + row___39900: undefined, arg0: undefined, arg1: undefined, } } @@ -42458,7 +42458,7 @@ function tiles_TileMap_isOnWall__P2536_mk(s) { -function MovingSprite_constructor__P2348(s) { +function MovingSprite_constructor__P24659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42480,7 +42480,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C2347_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C24658_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -42492,12 +42492,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P2348.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__P24659.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__P2348_mk(s) { +function MovingSprite_constructor__P24659_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P2348, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P24659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42513,7 +42513,7 @@ function MovingSprite_constructor__P2348_mk(s) { -function ArcadePhysicsEngine_move__P2361(s) { +function ArcadePhysicsEngine_move__P24672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42523,81 +42523,81 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___14561 = undefined; - s.dt2___14567 = undefined; - s.scene___14571 = undefined; - s.tileMap___14574 = undefined; - s.movingSprites___14577 = undefined; - s.MAX_STEP_COUNT___14608 = undefined; - s.overlapHandlers___14620 = undefined; - s.selected___14627 = undefined; - s.buffers___14628 = undefined; - s.count___14632 = undefined; - s.currMovers___14642 = undefined; - s.remainingMovers___14649 = undefined; - s.ms___14654 = undefined; - s.unnamed74___U13 = undefined; - s.unnamed75___U14 = undefined; - s.s___14656 = undefined; - s.stepX___14749 = undefined; - s.stepY___14763 = undefined; - s.bounce___14826 = undefined; + s.dtMs___40722 = undefined; + s.dt2___40728 = undefined; + s.scene___40732 = undefined; + s.tileMap___40735 = undefined; + s.movingSprites___40738 = undefined; + s.MAX_STEP_COUNT___40769 = undefined; + s.overlapHandlers___40781 = undefined; + s.selected___40788 = undefined; + s.buffers___40789 = undefined; + s.count___40793 = undefined; + s.currMovers___40803 = undefined; + s.remainingMovers___40810 = undefined; + s.ms___40815 = undefined; + s.unnamed184___U13 = undefined; + s.unnamed185___U14 = undefined; + s.s___40817 = undefined; + s.stepX___40910 = undefined; + s.stepY___40924 = undefined; + s.bounce___40987 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); - s.tmp_0 = Math_min__P131_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); + s.tmp_0 = Math_min__P22442_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; - s.callLocIdx = 523; s.pc = 53; return s.tmp_0; + s.callLocIdx = 588; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___14561 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___14561, 2); - s.dt2___14567 = (r0); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 524; s.pc = 54; return s.tmp_0; + s.dtMs___40722 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___40722, 2); + s.dt2___40728 = (r0); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 589; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___14571 = (r0); - r0 = s.scene___14571.fields["tileMap"]; - s.tileMap___14574 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P14579); + s.scene___40732 = (r0); + r0 = s.scene___40732.fields["tileMap"]; + s.tileMap___40735 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P40740); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___14561); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___14567); - s.tmp_1 = helpers_arrayMap__P106_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___40722); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___40728); + s.tmp_1 = helpers_arrayMap__P22417_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 526; s.pc = 55; return s.tmp_1; + s.callLocIdx = 591; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___14577 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.movingSprites___40738 = (r0); + s.tmp_0 = helpers_arrayForEach__P22420_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P14591; - s.callLocIdx = 530; s.pc = 56; return s.tmp_0; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P40752; + s.callLocIdx = 595; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P2274_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P24585_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 531; s.pc = 57; return s.tmp_0; + s.callLocIdx = 596; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2273_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P24584_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 532; s.pc = 58; return s.tmp_0; + s.callLocIdx = 597; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; r0 = s.arg0.fields["maxVelocity"]; @@ -42608,41 +42608,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___14561); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___40722); 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___14608 = (r0); - s.tmp_0 = helpers_arraySlice__P115_mk(s); - r0 = s.scene___14571.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___40769 = (r0); + s.tmp_0 = helpers_arraySlice__P22426_mk(s); + r0 = s.scene___40732.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 537; s.pc = 59; return s.tmp_0; + s.callLocIdx = 602; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___14620 = (r0); - s.selected___14627 = (0); + s.overlapHandlers___40781 = (r0); + s.selected___40788 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___14577); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___40738); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___14628 = (s.tmp_0); - s.count___14632 = (0); + s.buffers___40789 = (s.tmp_0); + s.count___40793 = (0); case 1: - r0 = (s.count___14632 < s.MAX_STEP_COUNT___14608); + r0 = (s.count___40793 < s.MAX_STEP_COUNT___40769); 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___14628, s.selected___14627); + r0 = pxsim_Array__getAt(s.buffers___40789, s.selected___40788); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -42652,43 +42652,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 52; continue; } - r0 = pxsim_Array__getAt(s.buffers___14628, s.selected___14627); - s.currMovers___14642 = (r0); - r0 = (s.selected___14627 ^ 1); - s.selected___14627 = (r0); - r0 = pxsim_Array__getAt(s.buffers___14628, s.selected___14627); - s.remainingMovers___14649 = (r0); - s.ms___14654 = (undefined); - s.unnamed74___U13 = (s.currMovers___14642); - s.unnamed75___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___40789, s.selected___40788); + s.currMovers___40803 = (r0); + r0 = (s.selected___40788 ^ 1); + s.selected___40788 = (r0); + r0 = pxsim_Array__getAt(s.buffers___40789, s.selected___40788); + s.remainingMovers___40810 = (r0); + s.ms___40815 = (undefined); + s.unnamed184___U13 = (s.currMovers___40803); + s.unnamed185___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed75___U14; - r0 = pxsim_Array__length(s.unnamed74___U13); + s.tmp_0 = r0 = s.unnamed185___U14; + r0 = pxsim_Array__length(s.unnamed184___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed74___U13, s.unnamed75___U14); - s.ms___14654 = (r0); - r0 = s.ms___14654.fields["sprite"]; - s.s___14656 = (r0); - r0 = s.ms___14654.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed184___U13, s.unnamed185___U14); + s.ms___40815 = (r0); + r0 = s.ms___40815.fields["sprite"]; + s.s___40817 = (r0); + r0 = s.ms___40815.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___14656.fields["_vx"]; + r0 = s.s___40817.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___14656.fields["_vx"]; + r0 = s.s___40817.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___14654).fields["dx"] = (0); + r0 = (s.ms___40815).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___14656.fields["_vx"]; + r0 = s.s___40817.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -42697,7 +42697,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___14654.fields["cachedVx"]; + r0 = s.ms___40815.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -42708,7 +42708,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___14656.fields["_vx"]; + r0 = s.s___40817.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -42717,7 +42717,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___14654.fields["cachedVx"]; + r0 = s.ms___40815.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -42729,14 +42729,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___14654; - r0 = s.ms___14654.fields["dx"]; + s.tmp_9 = r0 = s.ms___40815; + r0 = s.ms___40815.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___14654; - r0 = s.ms___14654.fields["xStep"]; + s.tmp_0 = r0 = s.ms___40815; + r0 = s.ms___40815.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -42744,29 +42744,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___14656.fields["_vx"]; + r0 = s.s___40817.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___14654).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___40815).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___14654.fields["cachedVy"]; + r0 = s.ms___40815.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___14656.fields["_vy"]; + r0 = s.s___40817.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___14656.fields["_vy"]; + r0 = s.s___40817.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___14654).fields["dy"] = (0); + r0 = (s.ms___40815).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___14656.fields["_vy"]; + r0 = s.s___40817.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -42775,7 +42775,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___14654.fields["cachedVy"]; + r0 = s.ms___40815.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -42786,7 +42786,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___14656.fields["_vy"]; + r0 = s.s___40817.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -42795,7 +42795,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___14654.fields["cachedVy"]; + r0 = s.ms___40815.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -42807,14 +42807,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___14654; - r0 = s.ms___14654.fields["dy"]; + s.tmp_9 = r0 = s.ms___40815; + r0 = s.ms___40815.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___14654; - r0 = s.ms___14654.fields["yStep"]; + s.tmp_0 = r0 = s.ms___40815; + r0 = s.ms___40815.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -42822,22 +42822,22 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___14656.fields["_vy"]; + r0 = s.s___40817.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___14654).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___40815).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___14654.fields["xStep"]; + s.tmp_2 = Fx_abs__P22476_mk(s); + r0 = s.ms___40815.fields["xStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 542; s.pc = 60; return s.tmp_2; + s.callLocIdx = 607; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___14654.fields["dx"]; + s.tmp_4 = Fx_abs__P22476_mk(s); + r0 = s.ms___40815.fields["dx"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 543; s.pc = 61; return s.tmp_4; + s.callLocIdx = 608; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; @@ -42845,25 +42845,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___14654.fields["dx"]; + r0 = s.ms___40815.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___14654.fields["xStep"]; + r0 = s.ms___40815.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___14749 = (s.tmp_5); - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___14654.fields["yStep"]; + s.stepX___40910 = (s.tmp_5); + s.tmp_2 = Fx_abs__P22476_mk(s); + r0 = s.ms___40815.fields["yStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 544; s.pc = 62; return s.tmp_2; + s.callLocIdx = 609; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___14654.fields["dy"]; + s.tmp_4 = Fx_abs__P22476_mk(s); + r0 = s.ms___40815.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 545; s.pc = 63; return s.tmp_4; + s.callLocIdx = 610; s.pc = 63; return s.tmp_4; case 63: r0 = s.retval; s.tmp_3 = r0; @@ -42871,45 +42871,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___14654.fields["dy"]; + r0 = s.ms___40815.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___14654.fields["yStep"]; + r0 = s.ms___40815.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___14763 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___14654; - r0 = s.ms___14654.fields["dx"]; + s.stepY___40924 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___40815; + r0 = s.ms___40815.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___14749); + r0 = (s.tmp_2 - s.stepX___40910); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___14654; - r0 = s.ms___14654.fields["dy"]; + s.tmp_0 = r0 = s.ms___40815; + r0 = s.ms___40815.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___14763); + r0 = (s.tmp_2 - s.stepY___40924); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___14656.fields["_x"]; + r0 = s.s___40817.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___14656).fields["_lastX"] = (s.tmp_0); - r0 = s.s___14656.fields["_y"]; + r0 = (s.s___40817).fields["_lastX"] = (s.tmp_0); + r0 = s.s___40817.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___14656).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___14656; - r0 = s.s___14656.fields["_x"]; + r0 = (s.s___40817).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___40817; + r0 = s.s___40817.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___14749); + r0 = (s.tmp_2 + s.stepX___40910); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___14656; - r0 = s.s___14656.fields["_y"]; + s.tmp_0 = r0 = s.s___40817; + r0 = s.s___40817.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___14763); + r0 = (s.tmp_2 + s.stepY___40924); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___14656.fields["flags"]; + r0 = s.s___40817.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -42919,22 +42919,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__P2275_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P24586_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___14656; - s.callLocIdx = 550; s.pc = 64; return s.tmp_4; + s.tmp_4.arg1 = s.s___40817; + s.callLocIdx = 615; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___14574; + s.tmp_0 = r0 = s.tileMap___40735; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___14574.fields["_map"]; + r0 = s.tileMap___40735.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -42948,20 +42948,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4403_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P26718_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___14654; - s.tmp_6.arg2 = s.tileMap___14574; - s.callLocIdx = 552; s.pc = 65; return s.tmp_6; + s.tmp_6.arg1 = s.ms___40815; + s.tmp_6.arg2 = s.tileMap___40735; + s.callLocIdx = 617; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___14656.fields["flags"]; + r0 = s.s___40817.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___14826 = (r0); - r0 = s.s___14656.fields["flags"]; + s.bounce___40987 = (r0); + r0 = s.s___40817.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -42970,13 +42970,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___14826; + s.tmp_2 = r0 = s.bounce___40987; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 40; continue; } r0 = s.tmp_2; { step = 41; continue; } case 40: - r0 = pxsim_numops_toBoolDecr(s.tileMap___14574); + r0 = pxsim_numops_toBoolDecr(s.tileMap___40735); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -42988,81 +42988,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4402_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P26717_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___14654; - s.tmp_6.arg2 = s.bounce___14826; - r0 = s.scene___14571.fields["camera"]; + s.tmp_6.arg1 = s.ms___40815; + s.tmp_6.arg2 = s.bounce___40987; + r0 = s.scene___40732.fields["camera"]; s.tmp_6.arg3 = r0; - s.callLocIdx = 553; s.pc = 66; return s.tmp_6; + s.callLocIdx = 618; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___14654.fields["dx"]; + s.tmp_2 = Fx_abs__P22476_mk(s); + r0 = s.ms___40815.fields["dx"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 554; s.pc = 67; return s.tmp_2; + s.callLocIdx = 619; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2343); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___24654); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 45; continue; } r0 = s.tmp_0; { step = 46; continue; } case 45: - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___14654.fields["dy"]; + s.tmp_4 = Fx_abs__P22476_mk(s); + r0 = s.ms___40815.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 555; s.pc = 68; return s.tmp_4; + s.callLocIdx = 620; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2343); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___24654); case 46: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 47; continue; } - r0 = pxsim_Array__push(s.remainingMovers___14649, s.ms___14654); + r0 = pxsim_Array__push(s.remainingMovers___40810, s.ms___40815); case 47: case 48: - r0 = (s.unnamed75___U14 + 1); - s.unnamed75___U14 = (r0); + r0 = (s.unnamed185___U14 + 1); + s.unnamed185___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed74___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4401_mk(s); + s.unnamed184___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P26716_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___14642; - s.tmp_0.arg2 = s.overlapHandlers___14620; - s.callLocIdx = 556; s.pc = 69; return s.tmp_0; + s.tmp_0.arg1 = s.currMovers___40803; + s.tmp_0.arg2 = s.overlapHandlers___40781; + s.callLocIdx = 621; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___14642); + r0 = pxsim_Array__length(s.currMovers___40803); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___14642); + r0 = pxsim_Array_.pop(s.currMovers___40803); { step = 50; continue; } case 51: - r0 = (s.count___14632 + 1); - s.count___14632 = (r0); + r0 = (s.count___40793 + 1); + s.count___40793 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P2361.info = {"start":2822,"length":4121,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P24672.info = {"start":2822,"length":4121,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P2361_mk(s) { +function ArcadePhysicsEngine_move__P24672_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P2361, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P24672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43076,25 +43076,25 @@ function ArcadePhysicsEngine_move__P2361_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___14561: undefined, - dt2___14567: undefined, - scene___14571: undefined, - tileMap___14574: undefined, - movingSprites___14577: undefined, - MAX_STEP_COUNT___14608: undefined, - overlapHandlers___14620: undefined, - selected___14627: undefined, - buffers___14628: undefined, - count___14632: undefined, - currMovers___14642: undefined, - remainingMovers___14649: undefined, - ms___14654: undefined, - unnamed74___U13: undefined, - unnamed75___U14: undefined, - s___14656: undefined, - stepX___14749: undefined, - stepY___14763: undefined, - bounce___14826: undefined, + dtMs___40722: undefined, + dt2___40728: undefined, + scene___40732: undefined, + tileMap___40735: undefined, + movingSprites___40738: undefined, + MAX_STEP_COUNT___40769: undefined, + overlapHandlers___40781: undefined, + selected___40788: undefined, + buffers___40789: undefined, + count___40793: undefined, + currMovers___40803: undefined, + remainingMovers___40810: undefined, + ms___40815: undefined, + unnamed184___U13: undefined, + unnamed185___U14: undefined, + s___40817: undefined, + stepX___40910: undefined, + stepY___40924: undefined, + bounce___40987: undefined, arg0: undefined, arg1: undefined, } } @@ -43103,7 +43103,7 @@ function ArcadePhysicsEngine_move__P2361_mk(s) { -function movingSprites_inline__P14579(s) { +function movingSprites_inline__P40740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43117,23 +43117,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4400_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P26715_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; s.tmp_0.arg3 = s.caps[2]; - s.callLocIdx = 525; s.pc = 1; return s.tmp_0; + s.callLocIdx = 590; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -movingSprites_inline__P14579.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__P40740.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__P14579_mk(s) { +function movingSprites_inline__P40740_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P14579, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P40740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43143,7 +43143,7 @@ function movingSprites_inline__P14579_mk(s) { -function ArcadePhysicsEngine_move_inline__P14591(s) { +function ArcadePhysicsEngine_move_inline__P40752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43157,9 +43157,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P2180_mk(s); + s.tmp_1 = Sprite_vx__P24491_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 527; s.pc = 5; return s.tmp_1; + s.callLocIdx = 592; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -43168,9 +43168,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2182_mk(s); + s.tmp_2 = Sprite_vy__P24493_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 528; s.pc = 6; return s.tmp_2; + s.callLocIdx = 593; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -43178,9 +43178,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P2247_mk(s); + s.tmp_4 = Sprite_clearObstacles__P24558_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 529; s.pc = 7; return s.tmp_4; + s.callLocIdx = 594; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -43189,12 +43189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P14591.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__P40752.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__P14591_mk(s) { +function ArcadePhysicsEngine_move_inline__P40752_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P14591, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P40752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43208,7 +43208,7 @@ function ArcadePhysicsEngine_move_inline__P14591_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P4402(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P26717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43218,8 +43218,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___15395 = undefined; - s.offset___15404 = undefined; + s.s___41556 = undefined; + s.offset___41565 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43228,10 +43228,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___15395 = (r0); - r0 = s.s___15395.fields["_image"]; + s.s___41556 = (r0); + r0 = s.s___41556.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -43241,19 +43241,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C2163_v4_1_mk(s); - s.tmp_4.arg0 = s.s___15395; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2163_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C24474_v4_1_mk(s); + s.tmp_4.arg0 = s.s___41556; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C24474_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; case 1: case 2: - s.tmp_2 = game_Hitbox_left__P2040_mk(s); - r0 = s.s___15395.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P24351_mk(s); + r0 = s.s___41556.fields["_hitbox"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 601; s.pc = 20; return s.tmp_2; + s.callLocIdx = 666; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; s.tmp_1 = r0; @@ -43262,48 +43262,48 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___15404 = (r0); - r0 = (s.offset___15404 < 0); + s.offset___41565 = (r0); + r0 = (s.offset___41565 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = Sprite_left__P2222_mk(s); - s.tmp_2 = r0 = s.s___15395; + s.tmp_1 = Sprite_left__P24533_mk(s); + s.tmp_2 = r0 = s.s___41556; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P2221_mk(s); + s.tmp_4 = Sprite_left__P24532_mk(s); s.tmp_4.arg0 = s.tmp_2; - s.callLocIdx = 604; s.pc = 22; return s.tmp_4; + s.callLocIdx = 669; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___15404); + r0 = (s.tmp_3 - s.offset___41565); s.tmp_1.arg1 = r0; - s.callLocIdx = 605; s.pc = 21; return s.tmp_1; + s.callLocIdx = 670; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = Sprite_vx__P2181_mk(s); - s.tmp_0.arg0 = s.s___15395; - s.tmp_2 = Sprite_vx__P2180_mk(s); - s.tmp_2.arg0 = s.s___15395; - s.callLocIdx = 606; s.pc = 24; return s.tmp_2; + s.tmp_0 = Sprite_vx__P24492_mk(s); + s.tmp_0.arg0 = s.s___41556; + s.tmp_2 = Sprite_vx__P24491_mk(s); + s.tmp_2.arg0 = s.s___41556; + s.callLocIdx = 671; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 607; s.pc = 23; return s.tmp_0; + s.callLocIdx = 672; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: { step = 10; continue; } case 5: - s.tmp_4 = game_Hitbox_right__P2042_mk(s); - r0 = s.s___15395.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P24353_mk(s); + r0 = s.s___41556.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 608; s.pc = 25; return s.tmp_4; + s.callLocIdx = 673; s.pc = 25; return s.tmp_4; case 25: r0 = s.retval; s.tmp_3 = r0; @@ -43313,42 +43313,42 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___15404 = (r0); + s.offset___41565 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 8; continue; } - s.tmp_8 = Sprite_right__P2224_mk(s); - s.tmp_9 = r0 = s.s___15395; + s.tmp_8 = Sprite_right__P24535_mk(s); + s.tmp_9 = r0 = s.s___41556; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P2223_mk(s); + s.tmp_11 = Sprite_right__P24534_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 611; s.pc = 27; return s.tmp_11; + s.callLocIdx = 676; s.pc = 27; return s.tmp_11; case 27: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___15404); + r0 = (s.tmp_10 - s.offset___41565); s.tmp_8.arg1 = r0; - s.callLocIdx = 612; s.pc = 26; return s.tmp_8; + s.callLocIdx = 677; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 6; continue; } - s.tmp_0 = Sprite_vx__P2181_mk(s); - s.tmp_0.arg0 = s.s___15395; - s.tmp_2 = Sprite_vx__P2180_mk(s); - s.tmp_2.arg0 = s.s___15395; - s.callLocIdx = 613; s.pc = 29; return s.tmp_2; + s.tmp_0 = Sprite_vx__P24492_mk(s); + s.tmp_0.arg0 = s.s___41556; + s.tmp_2 = Sprite_vx__P24491_mk(s); + s.tmp_2.arg0 = s.s___41556; + s.callLocIdx = 678; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 614; s.pc = 28; return s.tmp_0; + s.callLocIdx = 679; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 6: @@ -43356,10 +43356,10 @@ switch (step) { case 8: case 9: case 10: - s.tmp_3 = game_Hitbox_top__P2041_mk(s); - r0 = s.s___15395.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P24352_mk(s); + r0 = s.s___41556.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 615; s.pc = 30; return s.tmp_3; + s.callLocIdx = 680; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -43369,48 +43369,48 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___15404 = (r0); + s.offset___41565 = (r0); r0 = (s.tmp_0 < 0); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 13; continue; } - s.tmp_6 = Sprite_top__P2226_mk(s); - s.tmp_7 = r0 = s.s___15395; + s.tmp_6 = Sprite_top__P24537_mk(s); + s.tmp_7 = r0 = s.s___41556; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P2225_mk(s); + s.tmp_9 = Sprite_top__P24536_mk(s); s.tmp_9.arg0 = s.tmp_7; - s.callLocIdx = 618; s.pc = 32; return s.tmp_9; + s.callLocIdx = 683; s.pc = 32; return s.tmp_9; case 32: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___15404); + r0 = (s.tmp_8 - s.offset___41565); s.tmp_6.arg1 = r0; - s.callLocIdx = 619; s.pc = 31; return s.tmp_6; + s.callLocIdx = 684; s.pc = 31; return s.tmp_6; case 31: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 11; continue; } - s.tmp_0 = Sprite_vy__P2183_mk(s); - s.tmp_0.arg0 = s.s___15395; - s.tmp_2 = Sprite_vy__P2182_mk(s); - s.tmp_2.arg0 = s.s___15395; - s.callLocIdx = 620; s.pc = 34; return s.tmp_2; + s.tmp_0 = Sprite_vy__P24494_mk(s); + s.tmp_0.arg0 = s.s___41556; + s.tmp_2 = Sprite_vy__P24493_mk(s); + s.tmp_2.arg0 = s.s___41556; + s.callLocIdx = 685; s.pc = 34; return s.tmp_2; case 34: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 621; s.pc = 33; return s.tmp_0; + s.callLocIdx = 686; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 11: case 12: { step = 18; continue; } case 13: - s.tmp_4 = game_Hitbox_bottom__P2043_mk(s); - r0 = s.s___15395.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P24354_mk(s); + r0 = s.s___41556.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 622; s.pc = 35; return s.tmp_4; + s.callLocIdx = 687; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; s.tmp_3 = r0; @@ -43420,42 +43420,42 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___15404 = (r0); + s.offset___41565 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 16; continue; } - s.tmp_8 = Sprite_bottom__P2228_mk(s); - s.tmp_9 = r0 = s.s___15395; + s.tmp_8 = Sprite_bottom__P24539_mk(s); + s.tmp_9 = r0 = s.s___41556; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P2227_mk(s); + s.tmp_11 = Sprite_bottom__P24538_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 625; s.pc = 37; return s.tmp_11; + s.callLocIdx = 690; s.pc = 37; return s.tmp_11; case 37: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___15404); + r0 = (s.tmp_10 - s.offset___41565); s.tmp_8.arg1 = r0; - s.callLocIdx = 626; s.pc = 36; return s.tmp_8; + s.callLocIdx = 691; s.pc = 36; return s.tmp_8; case 36: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 14; continue; } - s.tmp_0 = Sprite_vy__P2183_mk(s); - s.tmp_0.arg0 = s.s___15395; - s.tmp_2 = Sprite_vy__P2182_mk(s); - s.tmp_2.arg0 = s.s___15395; - s.callLocIdx = 627; s.pc = 39; return s.tmp_2; + s.tmp_0 = Sprite_vy__P24494_mk(s); + s.tmp_0.arg0 = s.s___41556; + s.tmp_2 = Sprite_vy__P24493_mk(s); + s.tmp_2.arg0 = s.s___41556; + s.callLocIdx = 692; s.pc = 39; return s.tmp_2; case 39: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 628; s.pc = 38; return s.tmp_0; + s.callLocIdx = 693; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; case 14: @@ -43467,12 +43467,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P4402.info = {"start":12034,"length":855,"line":355,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} +ArcadePhysicsEngine_screenEdgeCollisions__P26717.info = {"start":12034,"length":855,"line":355,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} -function ArcadePhysicsEngine_screenEdgeCollisions__P4402_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P26717_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P4402, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P26717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43486,8 +43486,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4402_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___15395: undefined, - offset___15404: undefined, + s___41556: undefined, + offset___41565: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43498,7 +43498,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4402_mk(s) { -function Sprite_bottom__P2228(s) { +function Sprite_bottom__P24539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43514,31 +43514,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2226_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P24537_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P2220_mk(s); + s.tmp_3 = Sprite_height__P24531_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 349; s.pc = 2; return s.tmp_3; + s.callLocIdx = 407; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 350; s.pc = 1; return s.tmp_0; + s.callLocIdx = 408; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_bottom__P2228.info = {"start":12204,"length":73,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P24539.info = {"start":12204,"length":73,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P2228_mk(s) { +function Sprite_bottom__P24539_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2228, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P24539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43552,7 +43552,7 @@ function Sprite_bottom__P2228_mk(s) { -function Sprite_bottom__P2227(s) { +function Sprite_bottom__P24538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43567,16 +43567,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P2225_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P24536_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 347; s.pc = 1; return s.tmp_1; + s.callLocIdx = 405; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P2220_mk(s); + s.tmp_3 = Sprite_height__P24531_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 348; s.pc = 2; return s.tmp_3; + s.callLocIdx = 406; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -43584,13 +43584,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P2227.info = {"start":12052,"length":59,"line":435,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P2227.isGetter = true; +Sprite_bottom__P24538.info = {"start":12052,"length":59,"line":435,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P24538.isGetter = true; -function Sprite_bottom__P2227_mk(s) { +function Sprite_bottom__P24538_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2227, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P24538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43603,7 +43603,7 @@ function Sprite_bottom__P2227_mk(s) { -function Sprite_right__P2224(s) { +function Sprite_right__P24535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43619,31 +43619,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2222_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P24533_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P2219_mk(s); + s.tmp_3 = Sprite_width__P24530_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 341; s.pc = 2; return s.tmp_3; + s.callLocIdx = 399; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 342; s.pc = 1; return s.tmp_0; + s.callLocIdx = 400; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_right__P2224.info = {"start":11367,"length":71,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P24535.info = {"start":11367,"length":71,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P2224_mk(s) { +function Sprite_right__P24535_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2224, depth: s.depth + 1, + parent: s, fn: Sprite_right__P24535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43657,7 +43657,7 @@ function Sprite_right__P2224_mk(s) { -function Sprite_right__P2223(s) { +function Sprite_right__P24534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43672,16 +43672,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P2221_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P24532_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 339; s.pc = 1; return s.tmp_1; + s.callLocIdx = 397; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P2219_mk(s); + s.tmp_3 = Sprite_width__P24530_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 340; s.pc = 2; return s.tmp_3; + s.callLocIdx = 398; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -43689,13 +43689,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P2223.info = {"start":11218,"length":57,"line":405,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P2223.isGetter = true; +Sprite_right__P24534.info = {"start":11218,"length":57,"line":405,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P24534.isGetter = true; -function Sprite_right__P2223_mk(s) { +function Sprite_right__P24534_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2223, depth: s.depth + 1, + parent: s, fn: Sprite_right__P24534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43708,7 +43708,7 @@ function Sprite_right__P2223_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P4401(s) { +function ArcadePhysicsEngine_spriteCollisions__P26716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43718,18 +43718,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___14883 = undefined; - s.unnamed76___U1 = undefined; - s.unnamed77___U2 = undefined; - s.sprite___14885 = undefined; - s.overSprites___14892 = undefined; - s.overlapper___14900 = undefined; - s.unnamed78___U6 = undefined; - s.unnamed79___U7 = undefined; - s.thisKind___14906 = undefined; - s.otherKind___14910 = undefined; - s.higher___14923 = undefined; - s.lower___14932 = undefined; + s.ms___41044 = undefined; + s.unnamed186___U1 = undefined; + s.unnamed187___U2 = undefined; + s.sprite___41046 = undefined; + s.overSprites___41053 = undefined; + s.overlapper___41061 = undefined; + s.unnamed188___U6 = undefined; + s.unnamed189___U7 = undefined; + s.thisKind___41067 = undefined; + s.otherKind___41071 = undefined; + s.higher___41084 = undefined; + s.lower___41093 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43737,7 +43737,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -43749,20 +43749,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___14883 = (undefined); - s.unnamed76___U1 = (s.arg1); - s.unnamed77___U2 = (0); + s.ms___41044 = (undefined); + s.unnamed186___U1 = (s.arg1); + s.unnamed187___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed77___U2; - r0 = pxsim_Array__length(s.unnamed76___U1); + s.tmp_0 = r0 = s.unnamed187___U2; + r0 = pxsim_Array__length(s.unnamed186___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); - s.ms___14883 = (r0); - r0 = s.ms___14883.fields["sprite"]; - s.sprite___14885 = (r0); - r0 = s.sprite___14885.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed186___U1, s.unnamed187___U2); + s.ms___41044 = (r0); + r0 = s.ms___41044.fields["sprite"]; + s.sprite___41046 = (r0); + r0 = s.sprite___41046.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -43771,27 +43771,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P2271_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P24582_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___14883.fields["sprite"]; + r0 = s.ms___41044.fields["sprite"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 594; s.pc = 22; return s.tmp_2; + s.callLocIdx = 659; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___14892 = (r0); - s.overlapper___14900 = (undefined); - s.unnamed78___U6 = (s.overSprites___14892); - s.unnamed79___U7 = (0); + s.overSprites___41053 = (r0); + s.overlapper___41061 = (undefined); + s.unnamed188___U6 = (s.overSprites___41053); + s.unnamed189___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed79___U7; - r0 = pxsim_Array__length(s.unnamed78___U6); + s.tmp_0 = r0 = s.unnamed189___U7; + r0 = pxsim_Array__length(s.unnamed188___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); - s.overlapper___14900 = (r0); - r0 = s.overlapper___14900.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed188___U6, s.unnamed189___U7); + s.overlapper___41061 = (r0); + r0 = s.overlapper___41061.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -43800,13 +43800,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___14885.fields["_kind"]; - s.thisKind___14906 = (r0); - r0 = s.overlapper___14900.fields["_kind"]; - s.otherKind___14910 = (r0); - r0 = s.sprite___14885.fields["_kindsOverlappedWith"]; + r0 = s.sprite___41046.fields["_kind"]; + s.thisKind___41067 = (r0); + r0 = s.overlapper___41061.fields["_kind"]; + s.otherKind___41071 = (r0); + r0 = s.sprite___41046.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___14910, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___41071, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -43815,37 +43815,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___14885.fields["id"]; + r0 = s.sprite___41046.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___14900.fields["id"]; + r0 = s.overlapper___41061.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___14885; + r0 = s.sprite___41046; { step = 12; continue; } case 11: - r0 = s.overlapper___14900; + r0 = s.overlapper___41061; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___14923 = (s.tmp_6); - r0 = (s.higher___14923 === s.sprite___14885); + s.higher___41084 = (s.tmp_6); + r0 = (s.higher___41084 === s.sprite___41046); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___14900; + r0 = s.overlapper___41061; { step = 14; continue; } case 13: - r0 = s.sprite___14885; + r0 = s.sprite___41046; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___14932 = (s.tmp_1); - r0 = s.higher___14923.fields["_overlappers"]; + s.lower___41093 = (s.tmp_1); + r0 = s.higher___41084.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___14932.fields["id"]; + r0 = s.lower___41093.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -43853,54 +43853,54 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P14952); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P41113); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___14906); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___14910); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P14976); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___41067); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___41071); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P41137); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___14923); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___14932); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___14885); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___14900); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___14906); - s.tmp_6 = helpers_arrayForEach__P109_mk(s); - s.tmp_7 = helpers_arrayFilter__P110_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___41084); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___41093); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___41046); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___41061); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___41067); + s.tmp_6 = helpers_arrayForEach__P22420_mk(s); + s.tmp_7 = helpers_arrayFilter__P22421_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; - s.callLocIdx = 597; s.pc = 24; return s.tmp_7; + s.callLocIdx = 662; s.pc = 24; return s.tmp_7; case 24: r0 = s.retval; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 599; s.pc = 23; return s.tmp_6; + s.callLocIdx = 664; s.pc = 23; return s.tmp_6; case 23: r0 = s.retval; case 15: case 16: case 17: - r0 = (s.unnamed79___U7 + 1); - s.unnamed79___U7 = (r0); + r0 = (s.unnamed189___U7 + 1); + s.unnamed189___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed78___U6 = (undefined); + s.unnamed188___U6 = (undefined); case 19: - r0 = (s.unnamed77___U2 + 1); - s.unnamed77___U2 = (r0); + r0 = (s.unnamed187___U2 + 1); + s.unnamed187___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed76___U1 = (undefined); + s.unnamed186___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P4401.info = {"start":9760,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P26716.info = {"start":9760,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P4401_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P26716_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4401, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P26716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43910,18 +43910,18 @@ function ArcadePhysicsEngine_spriteCollisions__P4401_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___14883: undefined, - unnamed76___U1: undefined, - unnamed77___U2: undefined, - sprite___14885: undefined, - overSprites___14892: undefined, - overlapper___14900: undefined, - unnamed78___U6: undefined, - unnamed79___U7: undefined, - thisKind___14906: undefined, - otherKind___14910: undefined, - higher___14923: undefined, - lower___14932: undefined, + ms___41044: undefined, + unnamed186___U1: undefined, + unnamed187___U2: undefined, + sprite___41046: undefined, + overSprites___41053: undefined, + overlapper___41061: undefined, + unnamed188___U6: undefined, + unnamed189___U7: undefined, + thisKind___41067: undefined, + otherKind___41071: undefined, + higher___41084: undefined, + lower___41093: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43931,7 +43931,7 @@ function ArcadePhysicsEngine_spriteCollisions__P4401_mk(s) { -function forEach_inline__P14952(s) { +function forEach_inline__P41113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43988,12 +43988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14952.info = {"start":11129,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P41113.info = {"start":11129,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P14952_mk(s) { +function forEach_inline__P41113_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14952, depth: s.depth + 1, + parent: s, fn: forEach_inline__P41113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44011,7 +44011,7 @@ function forEach_inline__P14952_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P14976(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P41137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44030,7 +44030,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__P14986); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P41147); 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]); @@ -44043,12 +44043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P14976.info = {"start":11326,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P41137.info = {"start":11326,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P14976_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P41137_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P14976, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P41137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44059,7 +44059,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P14976_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P14986(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P41147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44115,12 +44115,12 @@ switch (step) { s.tmp_12.arg2 = s.tmp_11; if (!s.tmp_12.arg0.vtable.iface) { setupLambda(s.tmp_12, pxsim_pxtrt.mapGetByString(s.tmp_12.arg0, "handler"), 3); - s.callLocIdx = 598; s.pc = 7; return s.tmp_12; + s.callLocIdx = 663; s.pc = 7; return s.tmp_12; } else { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["handler"]; - if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 598; s.pc = 7; return s.tmp_12; } - else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 598; s.pc = 7; return s.tmp_12;; } - else { s.callLocIdx = 598; s.pc = 7; return s.tmp_12; } + if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 663; s.pc = 7; return s.tmp_12; } + else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 663; s.pc = 7; return s.tmp_12;; } + else { s.callLocIdx = 663; s.pc = 7; return s.tmp_12; } } case 7: r0 = s.retval; @@ -44135,12 +44135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P14986.info = {"start":11447,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P41147.info = {"start":11447,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P14986_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P41147_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P14986, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P41147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44161,7 +44161,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P14986_mk(s) { -function sprites_SpriteMap_overlaps__P2271(s) { +function sprites_SpriteMap_overlaps__P24582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44171,47 +44171,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___15020 = undefined; - s.o___15024 = undefined; + s.n___41181 = undefined; + s.o___41185 = 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__C2268_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P2270_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P24581_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 471; s.pc = 1; return s.tmp_0; + s.callLocIdx = 534; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___15020 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P15026); + s.n___41181 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P41187); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.n___15020; + s.tmp_1 = helpers_arrayFilter__P22421_mk(s); + s.tmp_1.arg0 = s.n___41181; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 473; s.pc = 2; return s.tmp_1; + s.callLocIdx = 536; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___15024 = (r0); - r0 = s.o___15024; + s.o___41185 = (r0); + r0 = s.o___41185; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P2271.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__P24582.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__P2271_mk(s) { +function sprites_SpriteMap_overlaps__P24582_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P2271, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P24582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___15020: undefined, - o___15024: undefined, + n___41181: undefined, + o___41185: undefined, arg0: undefined, arg1: undefined, } } @@ -44220,7 +44220,7 @@ function sprites_SpriteMap_overlaps__P2271_mk(s) { -function o_inline__P15026(s) { +function o_inline__P41187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44234,21 +44234,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P2242_mk(s); + s.tmp_0 = Sprite_overlapsWith__P24553_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 472; s.pc = 1; return s.tmp_0; + s.callLocIdx = 535; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -o_inline__P15026.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__P41187.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__P15026_mk(s) { +function o_inline__P41187_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P15026, depth: s.depth + 1, + parent: s, fn: o_inline__P41187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44258,7 +44258,7 @@ function o_inline__P15026_mk(s) { -function sprites_SpriteMap_neighbors__P2270(s) { +function sprites_SpriteMap_neighbors__P24581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44268,112 +44268,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___15277 = undefined; - s.layer___15279 = undefined; + s.n___41438 = undefined; + s.layer___41440 = 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__C2268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___15277 = (r0); + s.n___41438 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___15279 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4365_mk(s); + s.layer___41440 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P26680_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2221_mk(s); + s.tmp_1 = Sprite_left__P24532_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 459; s.pc = 2; return s.tmp_1; + s.callLocIdx = 522; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2225_mk(s); + s.tmp_2 = Sprite_top__P24536_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 460; s.pc = 3; return s.tmp_2; + s.callLocIdx = 523; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___15279; - s.tmp_0.arg4 = s.n___15277; - s.callLocIdx = 461; s.pc = 1; return s.tmp_0; + s.tmp_0.arg3 = s.layer___41440; + s.tmp_0.arg4 = s.n___41438; + s.callLocIdx = 524; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4365_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P26680_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2221_mk(s); + s.tmp_1 = Sprite_left__P24532_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 462; s.pc = 5; return s.tmp_1; + s.callLocIdx = 525; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2227_mk(s); + s.tmp_2 = Sprite_bottom__P24538_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 463; s.pc = 6; return s.tmp_2; + s.callLocIdx = 526; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___15279; - s.tmp_0.arg4 = s.n___15277; - s.callLocIdx = 464; s.pc = 4; return s.tmp_0; + s.tmp_0.arg3 = s.layer___41440; + s.tmp_0.arg4 = s.n___41438; + s.callLocIdx = 527; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4365_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P26680_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2223_mk(s); + s.tmp_1 = Sprite_right__P24534_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 465; s.pc = 8; return s.tmp_1; + s.callLocIdx = 528; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2225_mk(s); + s.tmp_2 = Sprite_top__P24536_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 466; s.pc = 9; return s.tmp_2; + s.callLocIdx = 529; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___15279; - s.tmp_0.arg4 = s.n___15277; - s.callLocIdx = 467; s.pc = 7; return s.tmp_0; + s.tmp_0.arg3 = s.layer___41440; + s.tmp_0.arg4 = s.n___41438; + s.callLocIdx = 530; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4365_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P26680_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2223_mk(s); + s.tmp_1 = Sprite_right__P24534_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 468; s.pc = 11; return s.tmp_1; + s.callLocIdx = 531; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2227_mk(s); + s.tmp_2 = Sprite_bottom__P24538_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 469; s.pc = 12; return s.tmp_2; + s.callLocIdx = 532; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___15279; - s.tmp_0.arg4 = s.n___15277; - s.callLocIdx = 470; s.pc = 10; return s.tmp_0; + s.tmp_0.arg3 = s.layer___41440; + s.tmp_0.arg4 = s.n___41438; + s.callLocIdx = 533; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___15277, s.arg1); - r0 = s.n___15277; + r0 = pxsim_Array_.removeElement(s.n___41438, s.arg1); + r0 = s.n___41438; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P2270.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__P24581.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__P2270_mk(s) { +function sprites_SpriteMap_neighbors__P24581_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P2270, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P24581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___15277: undefined, - layer___15279: undefined, + n___41438: undefined, + layer___41440: undefined, arg0: undefined, arg1: undefined, } } @@ -44382,7 +44382,7 @@ function sprites_SpriteMap_neighbors__P2270_mk(s) { -function sprites_SpriteMap_mergeAtKey__P4365(s) { +function sprites_SpriteMap_mergeAtKey__P26680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44392,11 +44392,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___15328 = undefined; - s.bucket___15333 = undefined; - s.sprite___15340 = undefined; - s.unnamed72___U3 = undefined; - s.unnamed73___U4 = undefined; + s.k___41489 = undefined; + s.bucket___41494 = undefined; + s.sprite___41501 = undefined; + s.unnamed182___U3 = undefined; + s.unnamed183___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44406,33 +44406,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4363_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P26678_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 497; s.pc = 9; return s.tmp_0; + s.callLocIdx = 560; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___15328 = (r0); + s.k___41489 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___15328); - s.bucket___15333 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___15333); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___41489); + s.bucket___41494 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___41494); if (!r0) { step = 7; continue; } - s.sprite___15340 = (undefined); - s.unnamed72___U3 = (s.bucket___15333); - s.unnamed73___U4 = (0); + s.sprite___41501 = (undefined); + s.unnamed182___U3 = (s.bucket___41494); + s.unnamed183___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed73___U4; - r0 = pxsim_Array__length(s.unnamed72___U3); + s.tmp_0 = r0 = s.unnamed183___U4; + r0 = pxsim_Array__length(s.unnamed182___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed72___U3, s.unnamed73___U4); - s.sprite___15340 = (r0); - r0 = s.sprite___15340.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed182___U3, s.unnamed183___U4); + s.sprite___41501 = (r0); + r0 = s.sprite___41501.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -44441,7 +44441,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___15340, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___41501, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -44449,26 +44449,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___15340); + r0 = pxsim_Array__push(s.arg4, s.sprite___41501); case 4: case 5: - r0 = (s.unnamed73___U4 + 1); - s.unnamed73___U4 = (r0); + r0 = (s.unnamed183___U4 + 1); + s.unnamed183___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed72___U3 = (undefined); + s.unnamed182___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P4365.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__P26680.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__P4365_mk(s) { +function sprites_SpriteMap_mergeAtKey__P26680_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P4365, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P26680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44476,11 +44476,11 @@ function sprites_SpriteMap_mergeAtKey__P4365_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___15328: undefined, - bucket___15333: undefined, - sprite___15340: undefined, - unnamed72___U3: undefined, - unnamed73___U4: undefined, + k___41489: undefined, + bucket___41494: undefined, + sprite___41501: undefined, + unnamed182___U3: undefined, + unnamed183___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44492,7 +44492,7 @@ function sprites_SpriteMap_mergeAtKey__P4365_mk(s) { -function sprites_SpriteMap_key__P4363(s) { +function sprites_SpriteMap_key__P26678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44502,8 +44502,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___15361 = undefined; - s.yi___15373 = undefined; + s.xi___41522 = undefined; + s.yi___41534 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44511,8 +44511,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P22438_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -44520,11 +44520,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.arg1, s.tmp_1); s.tmp_0.arg2 = r0; - s.callLocIdx = 485; s.pc = 1; return s.tmp_0; + s.callLocIdx = 548; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___15361 = (r0); - s.tmp_0 = Math_clamp__P127_mk(s); + s.xi___41522 = (r0); + s.tmp_0 = Math_clamp__P22438_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -44532,31 +44532,31 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.arg2, s.tmp_1); s.tmp_0.arg2 = r0; - s.callLocIdx = 486; s.pc = 2; return s.tmp_0; + s.callLocIdx = 549; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___15373 = (r0); - s.tmp_0 = r0 = s.xi___15361; + s.yi___41534 = (r0); + s.tmp_0 = r0 = s.xi___41522; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___15373 * s.tmp_2); + r0 = (s.yi___41534 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P4363.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__P26678.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__P4363_mk(s) { +function sprites_SpriteMap_key__P26678_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P4363, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P26678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___15361: undefined, - yi___15373: undefined, + xi___41522: undefined, + yi___41534: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44566,7 +44566,7 @@ function sprites_SpriteMap_key__P4363_mk(s) { -function Sprite_overlapsWith__P2242(s) { +function Sprite_overlapsWith__P24553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44576,15 +44576,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___15090 = undefined; - s.B___15091 = undefined; + s.A___41251 = undefined; + s.B___41252 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -44613,12 +44613,12 @@ switch (step) { { step = 23; continue; } case 5: case 6: - s.tmp_8 = game_Hitbox_overlapsWith__P2047_mk(s); + s.tmp_8 = game_Hitbox_overlapsWith__P24358_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; s.tmp_8.arg1 = r0; - s.callLocIdx = 368; s.pc = 24; return s.tmp_8; + s.callLocIdx = 431; s.pc = 24; return s.tmp_8; case 24: r0 = s.retval; s.tmp_7 = r0; @@ -44632,9 +44632,9 @@ switch (step) { { step = 23; continue; } case 7: case 8: - s.tmp_12 = Sprite_isScaled__P4356_mk(s); + s.tmp_12 = Sprite_isScaled__P26671_mk(s); s.tmp_12.arg0 = s.arg0; - s.callLocIdx = 369; s.pc = 25; return s.tmp_12; + s.callLocIdx = 432; s.pc = 25; return s.tmp_12; case 25: r0 = s.retval; s.tmp_11 = r0; @@ -44647,9 +44647,9 @@ switch (step) { r0 = s.tmp_9; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_isScaled__P4356_mk(s); + s.tmp_15 = Sprite_isScaled__P26671_mk(s); s.tmp_15.arg0 = s.arg1; - s.callLocIdx = 370; s.pc = 26; return s.tmp_15; + s.callLocIdx = 433; s.pc = 26; return s.tmp_15; case 26: r0 = s.retval; s.tmp_14 = r0; @@ -44665,29 +44665,29 @@ switch (step) { s.tmp_17 = r0; r0 = s.arg0.fields["_image"]; s.tmp_18 = r0; - s.tmp_21 = Sprite_left__P2221_mk(s); + s.tmp_21 = Sprite_left__P24532_mk(s); s.tmp_21.arg0 = s.arg0; - s.callLocIdx = 371; s.pc = 27; return s.tmp_21; + s.callLocIdx = 434; s.pc = 27; return s.tmp_21; case 27: r0 = s.retval; s.tmp_20 = r0; - s.tmp_23 = Sprite_left__P2221_mk(s); + s.tmp_23 = Sprite_left__P24532_mk(s); s.tmp_23.arg0 = s.arg1; - s.callLocIdx = 372; s.pc = 28; return s.tmp_23; + s.callLocIdx = 435; s.pc = 28; return s.tmp_23; case 28: r0 = s.retval; s.tmp_22 = r0; r0 = (s.tmp_20 - s.tmp_22); s.tmp_19 = r0; - s.tmp_26 = Sprite_top__P2225_mk(s); + s.tmp_26 = Sprite_top__P24536_mk(s); s.tmp_26.arg0 = s.arg0; - s.callLocIdx = 373; s.pc = 29; return s.tmp_26; + s.callLocIdx = 436; s.pc = 29; return s.tmp_26; case 29: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_top__P2225_mk(s); + s.tmp_28 = Sprite_top__P24536_mk(s); s.tmp_28.arg0 = s.arg1; - s.callLocIdx = 374; s.pc = 30; return s.tmp_28; + s.callLocIdx = 437; s.pc = 30; return s.tmp_28; case 30: r0 = s.retval; s.tmp_27 = r0; @@ -44697,9 +44697,9 @@ switch (step) { { step = 23; continue; } { step = 22; continue; } case 11: - s.tmp_31 = Sprite_sx__P2192_mk(s); + s.tmp_31 = Sprite_sx__P24503_mk(s); s.tmp_31.arg0 = s.arg0; - s.callLocIdx = 375; s.pc = 31; return s.tmp_31; + s.callLocIdx = 438; s.pc = 31; return s.tmp_31; case 31: r0 = s.retval; s.tmp_30 = r0; @@ -44710,9 +44710,9 @@ switch (step) { r0 = s.tmp_29; { step = 13; continue; } case 12: - s.tmp_33 = Sprite_sy__P2194_mk(s); + s.tmp_33 = Sprite_sy__P24505_mk(s); s.tmp_33.arg0 = s.arg0; - s.callLocIdx = 376; s.pc = 32; return s.tmp_33; + s.callLocIdx = 439; s.pc = 32; return s.tmp_33; case 32: r0 = s.retval; s.tmp_32 = r0; @@ -44725,9 +44725,9 @@ switch (step) { r0 = s.tmp_34; { step = 15; continue; } case 14: - s.tmp_36 = Sprite_sx__P2192_mk(s); + s.tmp_36 = Sprite_sx__P24503_mk(s); s.tmp_36.arg0 = s.arg1; - s.callLocIdx = 377; s.pc = 33; return s.tmp_36; + s.callLocIdx = 440; s.pc = 33; return s.tmp_36; case 33: r0 = s.retval; s.tmp_35 = r0; @@ -44740,9 +44740,9 @@ switch (step) { r0 = s.tmp_37; { step = 17; continue; } case 16: - s.tmp_39 = Sprite_sy__P2194_mk(s); + s.tmp_39 = Sprite_sy__P24505_mk(s); s.tmp_39.arg0 = s.arg1; - s.callLocIdx = 378; s.pc = 34; return s.tmp_39; + s.callLocIdx = 441; s.pc = 34; return s.tmp_39; case 34: r0 = s.retval; s.tmp_38 = r0; @@ -44756,29 +44756,29 @@ switch (step) { { step = 23; continue; } case 18: case 19: - s.tmp_44 = Sprite_sx__P2192_mk(s); + s.tmp_44 = Sprite_sx__P24503_mk(s); s.tmp_44.arg0 = s.arg0; - s.callLocIdx = 379; s.pc = 35; return s.tmp_44; + s.callLocIdx = 442; s.pc = 35; return s.tmp_44; case 35: r0 = s.retval; s.tmp_43 = r0; - s.tmp_46 = Sprite_sy__P2194_mk(s); + s.tmp_46 = Sprite_sy__P24505_mk(s); s.tmp_46.arg0 = s.arg0; - s.callLocIdx = 380; s.pc = 36; return s.tmp_46; + s.callLocIdx = 443; s.pc = 36; return s.tmp_46; case 36: r0 = s.retval; s.tmp_45 = r0; r0 = (s.tmp_43 * s.tmp_45); s.tmp_42 = r0; - s.tmp_49 = Sprite_sx__P2192_mk(s); + s.tmp_49 = Sprite_sx__P24503_mk(s); s.tmp_49.arg0 = s.arg1; - s.callLocIdx = 381; s.pc = 37; return s.tmp_49; + s.callLocIdx = 444; s.pc = 37; return s.tmp_49; case 37: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P2194_mk(s); + s.tmp_51 = Sprite_sy__P24505_mk(s); s.tmp_51.arg0 = s.arg1; - s.callLocIdx = 382; s.pc = 38; return s.tmp_51; + s.callLocIdx = 445; s.pc = 38; return s.tmp_51; case 38: r0 = s.retval; s.tmp_50 = r0; @@ -44788,103 +44788,103 @@ switch (step) { s.tmp_41 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_41); if (!r0) { step = 20; continue; } - s.A___15090 = (s.arg0); - s.B___15091 = (s.arg1); + s.A___41251 = (s.arg0); + s.B___41252 = (s.arg1); { step = 21; continue; } case 20: - s.A___15090 = (s.arg1); - s.B___15091 = (s.arg0); + s.A___41251 = (s.arg1); + s.B___41252 = (s.arg0); case 21: - s.tmp_0 = helpers_imageBlit__P1786_mk(s); - r0 = s.A___15090.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P24097_mk(s); + r0 = s.A___41251.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P2221_mk(s); - s.tmp_3.arg0 = s.B___15091; - s.callLocIdx = 384; s.pc = 40; return s.tmp_3; + s.tmp_3 = Sprite_left__P24532_mk(s); + s.tmp_3.arg0 = s.B___41252; + s.callLocIdx = 447; s.pc = 40; return s.tmp_3; case 40: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P2221_mk(s); - s.tmp_5.arg0 = s.A___15090; - s.callLocIdx = 385; s.pc = 41; return s.tmp_5; + s.tmp_5 = Sprite_left__P24532_mk(s); + s.tmp_5.arg0 = s.A___41251; + s.callLocIdx = 448; s.pc = 41; return s.tmp_5; case 41: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; - s.tmp_7 = Sprite_sx__P2192_mk(s); - s.tmp_7.arg0 = s.A___15090; - s.callLocIdx = 386; s.pc = 42; return s.tmp_7; + s.tmp_7 = Sprite_sx__P24503_mk(s); + s.tmp_7.arg0 = s.A___41251; + s.callLocIdx = 449; s.pc = 42; return s.tmp_7; case 42: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_10 = Sprite_top__P2225_mk(s); - s.tmp_10.arg0 = s.B___15091; - s.callLocIdx = 387; s.pc = 43; return s.tmp_10; + s.tmp_10 = Sprite_top__P24536_mk(s); + s.tmp_10.arg0 = s.B___41252; + s.callLocIdx = 450; s.pc = 43; return s.tmp_10; case 43: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P2225_mk(s); - s.tmp_12.arg0 = s.A___15090; - s.callLocIdx = 388; s.pc = 44; return s.tmp_12; + s.tmp_12 = Sprite_top__P24536_mk(s); + s.tmp_12.arg0 = s.A___41251; + s.callLocIdx = 451; s.pc = 44; return s.tmp_12; case 44: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; - s.tmp_14 = Sprite_sy__P2194_mk(s); - s.tmp_14.arg0 = s.A___15090; - s.callLocIdx = 389; s.pc = 45; return s.tmp_14; + s.tmp_14 = Sprite_sy__P24505_mk(s); + s.tmp_14.arg0 = s.A___41251; + s.callLocIdx = 452; s.pc = 45; return s.tmp_14; case 45: r0 = s.retval; s.tmp_13 = r0; r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; - s.tmp_16 = Sprite_width__P2219_mk(s); - s.tmp_16.arg0 = s.B___15091; - s.callLocIdx = 390; s.pc = 46; return s.tmp_16; + s.tmp_16 = Sprite_width__P24530_mk(s); + s.tmp_16.arg0 = s.B___41252; + s.callLocIdx = 453; s.pc = 46; return s.tmp_16; case 46: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P2192_mk(s); - s.tmp_18.arg0 = s.A___15090; - s.callLocIdx = 391; s.pc = 47; return s.tmp_18; + s.tmp_18 = Sprite_sx__P24503_mk(s); + s.tmp_18.arg0 = s.A___41251; + s.callLocIdx = 454; s.pc = 47; return s.tmp_18; case 47: r0 = s.retval; s.tmp_17 = r0; r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; - s.tmp_20 = Sprite_height__P2220_mk(s); - s.tmp_20.arg0 = s.B___15091; - s.callLocIdx = 392; s.pc = 48; return s.tmp_20; + s.tmp_20 = Sprite_height__P24531_mk(s); + s.tmp_20.arg0 = s.B___41252; + s.callLocIdx = 455; s.pc = 48; return s.tmp_20; case 48: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P2194_mk(s); - s.tmp_22.arg0 = s.A___15090; - s.callLocIdx = 393; s.pc = 49; return s.tmp_22; + s.tmp_22 = Sprite_sy__P24505_mk(s); + s.tmp_22.arg0 = s.A___41251; + s.callLocIdx = 456; s.pc = 49; return s.tmp_22; case 49: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___15091.fields["_image"]; + r0 = s.B___41252.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___15091.fields["_image"]; + r0 = s.B___41252.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___15091.fields["_image"]; + r0 = s.B___41252.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; s.tmp_0.arg10 = true; s.tmp_0.arg11 = true; - s.callLocIdx = 397; s.pc = 39; return s.tmp_0; + s.callLocIdx = 460; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; { step = 23; continue; } @@ -44894,12 +44894,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P2242.info = {"start":20623,"length":1575,"line":689,"column":4,"endLine":736,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P24553.info = {"start":20623,"length":1575,"line":689,"column":4,"endLine":736,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P2242_mk(s) { +function Sprite_overlapsWith__P24553_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P2242, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P24553, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44953,8 +44953,8 @@ function Sprite_overlapsWith__P2242_mk(s) { tmp_49: undefined, tmp_50: undefined, tmp_51: undefined, - A___15090: undefined, - B___15091: undefined, + A___41251: undefined, + B___41252: undefined, arg0: undefined, arg1: undefined, } } @@ -44963,7 +44963,7 @@ function Sprite_overlapsWith__P2242_mk(s) { -function Sprite_isScaled__P4356(s) { +function Sprite_isScaled__P26671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44978,7 +44978,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -44998,12 +44998,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P4356.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} +Sprite_isScaled__P26671.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} -function Sprite_isScaled__P4356_mk(s) { +function Sprite_isScaled__P26671_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P4356, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P26671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45016,7 +45016,7 @@ function Sprite_isScaled__P4356_mk(s) { -function game_Hitbox_overlapsWith__P2047(s) { +function game_Hitbox_overlapsWith__P24358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45032,32 +45032,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P2046_mk(s); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P24357_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 234; s.pc = 18; return s.tmp_0; + s.callLocIdx = 292; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P2046_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P24357_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 235; s.pc = 19; return s.tmp_0; + s.callLocIdx = 293; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P2045_mk(s); + s.tmp_1 = game_Hitbox_contains__P24356_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P2040_mk(s); + s.tmp_2 = game_Hitbox_left__P24351_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 236; s.pc = 21; return s.tmp_2; + s.callLocIdx = 294; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P2041_mk(s); + s.tmp_3 = game_Hitbox_top__P24352_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 237; s.pc = 22; return s.tmp_3; + s.callLocIdx = 295; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_1.arg2 = r0; - s.callLocIdx = 238; s.pc = 20; return s.tmp_1; + s.callLocIdx = 296; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; @@ -45067,21 +45067,21 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P2045_mk(s); + s.tmp_5 = game_Hitbox_contains__P24356_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P2040_mk(s); + s.tmp_6 = game_Hitbox_left__P24351_mk(s); s.tmp_6.arg0 = s.arg1; - s.callLocIdx = 239; s.pc = 24; return s.tmp_6; + s.callLocIdx = 297; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P2043_mk(s); + s.tmp_7 = game_Hitbox_bottom__P24354_mk(s); s.tmp_7.arg0 = s.arg1; - s.callLocIdx = 240; s.pc = 25; return s.tmp_7; + s.callLocIdx = 298; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_5.arg2 = r0; - s.callLocIdx = 241; s.pc = 23; return s.tmp_5; + s.callLocIdx = 299; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; s.tmp_4 = r0; @@ -45091,21 +45091,21 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P2045_mk(s); + s.tmp_9 = game_Hitbox_contains__P24356_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P2042_mk(s); + s.tmp_10 = game_Hitbox_right__P24353_mk(s); s.tmp_10.arg0 = s.arg1; - s.callLocIdx = 242; s.pc = 27; return s.tmp_10; + s.callLocIdx = 300; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P2041_mk(s); + s.tmp_11 = game_Hitbox_top__P24352_mk(s); s.tmp_11.arg0 = s.arg1; - s.callLocIdx = 243; s.pc = 28; return s.tmp_11; + s.callLocIdx = 301; s.pc = 28; return s.tmp_11; case 28: r0 = s.retval; s.tmp_9.arg2 = r0; - s.callLocIdx = 244; s.pc = 26; return s.tmp_9; + s.callLocIdx = 302; s.pc = 26; return s.tmp_9; case 26: r0 = s.retval; s.tmp_8 = r0; @@ -45115,21 +45115,21 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P2045_mk(s); + s.tmp_13 = game_Hitbox_contains__P24356_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P2042_mk(s); + s.tmp_14 = game_Hitbox_right__P24353_mk(s); s.tmp_14.arg0 = s.arg1; - s.callLocIdx = 245; s.pc = 30; return s.tmp_14; + s.callLocIdx = 303; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P2043_mk(s); + s.tmp_15 = game_Hitbox_bottom__P24354_mk(s); s.tmp_15.arg0 = s.arg1; - s.callLocIdx = 246; s.pc = 31; return s.tmp_15; + s.callLocIdx = 304; s.pc = 31; return s.tmp_15; case 31: r0 = s.retval; s.tmp_13.arg2 = r0; - s.callLocIdx = 247; s.pc = 29; return s.tmp_13; + s.callLocIdx = 305; s.pc = 29; return s.tmp_13; case 29: r0 = s.retval; s.tmp_12 = r0; @@ -45139,21 +45139,21 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P2045_mk(s); + s.tmp_17 = game_Hitbox_contains__P24356_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P2040_mk(s); + s.tmp_18 = game_Hitbox_left__P24351_mk(s); s.tmp_18.arg0 = s.arg0; - s.callLocIdx = 248; s.pc = 33; return s.tmp_18; + s.callLocIdx = 306; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P2041_mk(s); + s.tmp_19 = game_Hitbox_top__P24352_mk(s); s.tmp_19.arg0 = s.arg0; - s.callLocIdx = 249; s.pc = 34; return s.tmp_19; + s.callLocIdx = 307; s.pc = 34; return s.tmp_19; case 34: r0 = s.retval; s.tmp_17.arg2 = r0; - s.callLocIdx = 250; s.pc = 32; return s.tmp_17; + s.callLocIdx = 308; s.pc = 32; return s.tmp_17; case 32: r0 = s.retval; s.tmp_16 = r0; @@ -45163,21 +45163,21 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P2045_mk(s); + s.tmp_21 = game_Hitbox_contains__P24356_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P2040_mk(s); + s.tmp_22 = game_Hitbox_left__P24351_mk(s); s.tmp_22.arg0 = s.arg0; - s.callLocIdx = 251; s.pc = 36; return s.tmp_22; + s.callLocIdx = 309; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P2043_mk(s); + s.tmp_23 = game_Hitbox_bottom__P24354_mk(s); s.tmp_23.arg0 = s.arg0; - s.callLocIdx = 252; s.pc = 37; return s.tmp_23; + s.callLocIdx = 310; s.pc = 37; return s.tmp_23; case 37: r0 = s.retval; s.tmp_21.arg2 = r0; - s.callLocIdx = 253; s.pc = 35; return s.tmp_21; + s.callLocIdx = 311; s.pc = 35; return s.tmp_21; case 35: r0 = s.retval; s.tmp_20 = r0; @@ -45187,21 +45187,21 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P2045_mk(s); + s.tmp_25 = game_Hitbox_contains__P24356_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P2042_mk(s); + s.tmp_26 = game_Hitbox_right__P24353_mk(s); s.tmp_26.arg0 = s.arg0; - s.callLocIdx = 254; s.pc = 39; return s.tmp_26; + s.callLocIdx = 312; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P2041_mk(s); + s.tmp_27 = game_Hitbox_top__P24352_mk(s); s.tmp_27.arg0 = s.arg0; - s.callLocIdx = 255; s.pc = 40; return s.tmp_27; + s.callLocIdx = 313; s.pc = 40; return s.tmp_27; case 40: r0 = s.retval; s.tmp_25.arg2 = r0; - s.callLocIdx = 256; s.pc = 38; return s.tmp_25; + s.callLocIdx = 314; s.pc = 38; return s.tmp_25; case 38: r0 = s.retval; s.tmp_24 = r0; @@ -45211,21 +45211,21 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P2045_mk(s); + s.tmp_29 = game_Hitbox_contains__P24356_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P2042_mk(s); + s.tmp_30 = game_Hitbox_right__P24353_mk(s); s.tmp_30.arg0 = s.arg0; - s.callLocIdx = 257; s.pc = 42; return s.tmp_30; + s.callLocIdx = 315; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P2043_mk(s); + s.tmp_31 = game_Hitbox_bottom__P24354_mk(s); s.tmp_31.arg0 = s.arg0; - s.callLocIdx = 258; s.pc = 43; return s.tmp_31; + s.callLocIdx = 316; s.pc = 43; return s.tmp_31; case 43: r0 = s.retval; s.tmp_29.arg2 = r0; - s.callLocIdx = 259; s.pc = 41; return s.tmp_29; + s.callLocIdx = 317; s.pc = 41; return s.tmp_29; case 41: r0 = s.retval; s.tmp_28 = r0; @@ -45240,12 +45240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P2047.info = {"start":2515,"length":695,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +game_Hitbox_overlapsWith__P24358.info = {"start":2515,"length":695,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function game_Hitbox_overlapsWith__P2047_mk(s) { +function game_Hitbox_overlapsWith__P24358_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P2047, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P24358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45287,7 +45287,7 @@ function game_Hitbox_overlapsWith__P2047_mk(s) { -function game_Hitbox_contains__P2045(s) { +function game_Hitbox_contains__P24356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45304,11 +45304,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2032_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C24343_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P2040_mk(s); + s.tmp_3 = game_Hitbox_left__P24351_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 214; s.pc = 7; return s.tmp_3; + s.callLocIdx = 272; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -45320,9 +45320,9 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P2042_mk(s); + s.tmp_6 = game_Hitbox_right__P24353_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 215; s.pc = 8; return s.tmp_6; + s.callLocIdx = 273; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5 = r0; @@ -45336,9 +45336,9 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P2041_mk(s); + s.tmp_10 = game_Hitbox_top__P24352_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 216; s.pc = 9; return s.tmp_10; + s.callLocIdx = 274; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; @@ -45352,9 +45352,9 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P2043_mk(s); + s.tmp_14 = game_Hitbox_bottom__P24354_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 217; s.pc = 10; return s.tmp_14; + s.callLocIdx = 275; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; @@ -45366,12 +45366,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P2045.info = {"start":1034,"length":144,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"contains","argumentNames":["this","x","y"]} +game_Hitbox_contains__P24356.info = {"start":1034,"length":144,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"contains","argumentNames":["this","x","y"]} -function game_Hitbox_contains__P2045_mk(s) { +function game_Hitbox_contains__P24356_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P2045, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P24356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45398,7 +45398,7 @@ function game_Hitbox_contains__P2045_mk(s) { -function helpers_imageBlit__P1786(s) { +function helpers_imageBlit__P24097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45423,7 +45423,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -45433,36 +45433,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___4250 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + globals._blitArgs___26565 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 0, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg2 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 1, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg3 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 2, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg4 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 3, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg6 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 4, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg7 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 5, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg8 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 6, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4250; + s.tmp_0 = r0 = globals._blitArgs___26565; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -45475,7 +45475,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4250, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___26565, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -45485,17 +45485,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4250, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___4250); + r0 = pxsim_Array_.setAt(globals._blitArgs___26565, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___26565); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P1786.info = {"start":3839,"length":642,"line":136,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} +helpers_imageBlit__P24097.info = {"start":3839,"length":642,"line":136,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} -function helpers_imageBlit__P1786_mk(s) { +function helpers_imageBlit__P24097_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P1786, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P24097, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45517,7 +45517,7 @@ function helpers_imageBlit__P1786_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P4400(s) { +function ArcadePhysicsEngine_createMovingSprite__P26715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45527,16 +45527,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___15692 = undefined; - s.ovy___15697 = undefined; - s.fx___15724 = undefined; - s.c___15731 = undefined; - s.fy___15774 = undefined; - s.c___15781 = undefined; - s.dx___15820 = undefined; - s.dy___15833 = undefined; - s.xStep___15846 = undefined; - s.yStep___15848 = undefined; + s.ovx___41853 = undefined; + s.ovy___41858 = undefined; + s.fx___41885 = undefined; + s.c___41892 = undefined; + s.fy___41935 = undefined; + s.c___41942 = undefined; + s.dx___41981 = undefined; + s.dy___41994 = undefined; + s.xStep___42007 = undefined; + s.yStep___42009 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45545,23 +45545,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4406_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P26721_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 557; s.pc = 25; return s.tmp_0; + s.callLocIdx = 622; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___15692 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4406_mk(s); + s.ovx___41853 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P26721_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 558; s.pc = 26; return s.tmp_0; + s.callLocIdx = 623; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___15697 = (r0); + s.ovy___41858 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -45595,41 +45595,41 @@ 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___15724 = (r0); + s.fx___41885 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___15724); - s.c___15731 = (r0); - r0 = (s.c___15731 < 0); + r0 = (s.tmp_0 - s.fx___41885); + s.c___41892 = (r0); + r0 = (s.c___41892 < 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__P166_mk(s); + s.tmp_3 = Fx_min__P22477_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___15724); + r0 = (s.tmp_4 + s.fx___41885); s.tmp_3.arg1 = r0; - s.callLocIdx = 566; s.pc = 27; return s.tmp_3; + s.callLocIdx = 631; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___15731 > 0); + r0 = (s.c___41892 > 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__P167_mk(s); + s.tmp_3 = Fx_max__P22478_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___15724); + r0 = (s.tmp_4 - s.fx___41885); s.tmp_3.arg1 = r0; - s.callLocIdx = 568; s.pc = 28; return s.tmp_3; + s.callLocIdx = 633; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -45669,41 +45669,41 @@ 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___15774 = (r0); + s.fy___41935 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___15774); - s.c___15781 = (r0); - r0 = (s.c___15781 < 0); + r0 = (s.tmp_0 - s.fy___41935); + s.c___41942 = (r0); + r0 = (s.c___41942 < 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__P166_mk(s); + s.tmp_3 = Fx_min__P22477_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___15774); + r0 = (s.tmp_4 + s.fy___41935); s.tmp_3.arg1 = r0; - s.callLocIdx = 576; s.pc = 29; return s.tmp_3; + s.callLocIdx = 641; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___15781 > 0); + r0 = (s.c___41942 > 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__P167_mk(s); + s.tmp_3 = Fx_max__P22478_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___15774); + r0 = (s.tmp_4 - s.fy___41935); s.tmp_3.arg1 = r0; - s.callLocIdx = 578; s.pc = 30; return s.tmp_3; + s.callLocIdx = 643; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -45717,28 +45717,28 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4406_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P26721_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 579; s.pc = 31; return s.tmp_2; + s.callLocIdx = 644; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4406_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P26721_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 580; s.pc = 32; return s.tmp_2; + s.callLocIdx = 645; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___15692); + r0 = (s.tmp_4 + s.ovx___41853); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -45749,10 +45749,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___15820 = (r0); + s.dx___41981 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___15697); + r0 = (s.tmp_4 + s.ovy___41858); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -45763,13 +45763,13 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___15833 = (r0); - s.xStep___15846 = (s.dx___15820); - s.yStep___15848 = (s.dy___15833); + s.dy___41994 = (r0); + s.xStep___42007 = (s.dx___41981); + s.yStep___42009 = (s.dy___41994); case 17: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.xStep___15846; - s.callLocIdx = 587; s.pc = 33; return s.tmp_2; + s.tmp_2 = Fx_abs__P22476_mk(s); + s.tmp_2.arg0 = s.xStep___42007; + s.callLocIdx = 652; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; @@ -45782,9 +45782,9 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P165_mk(s); - s.tmp_5.arg0 = s.yStep___15848; - s.callLocIdx = 588; s.pc = 34; return s.tmp_5; + s.tmp_5 = Fx_abs__P22476_mk(s); + s.tmp_5.arg0 = s.yStep___42009; + s.callLocIdx = 653; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; s.tmp_4 = r0; @@ -45796,9 +45796,9 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P165_mk(s); - s.tmp_10.arg0 = s.xStep___15846; - s.callLocIdx = 589; s.pc = 35; return s.tmp_10; + s.tmp_10 = Fx_abs__P22476_mk(s); + s.tmp_10.arg0 = s.xStep___42007; + s.callLocIdx = 654; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; s.tmp_9 = r0; @@ -45808,13 +45808,13 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___15846, 2); - s.xStep___15846 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___42007, 2); + s.xStep___42007 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.yStep___15848; - s.callLocIdx = 591; s.pc = 36; return s.tmp_2; + s.tmp_2 = Fx_abs__P22476_mk(s); + s.tmp_2.arg0 = s.yStep___42009; + s.callLocIdx = 656; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -45824,38 +45824,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___15848, 2); - s.yStep___15848 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___42009, 2); + s.yStep___42009 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2347_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C24658_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P2348_mk(s); + s.tmp_1 = MovingSprite_constructor__P24659_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___15820; - s.tmp_1.arg5 = s.dy___15833; - s.tmp_1.arg6 = s.xStep___15846; - s.tmp_1.arg7 = s.yStep___15848; - s.callLocIdx = 593; s.pc = 37; return s.tmp_1; + s.tmp_1.arg4 = s.dx___41981; + s.tmp_1.arg5 = s.dy___41994; + s.tmp_1.arg6 = s.xStep___42007; + s.tmp_1.arg7 = s.yStep___42009; + s.callLocIdx = 658; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P4400.info = {"start":6949,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P26715.info = {"start":6949,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P4400_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P26715_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4400, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P26715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45869,16 +45869,16 @@ function ArcadePhysicsEngine_createMovingSprite__P4400_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___15692: undefined, - ovy___15697: undefined, - fx___15724: undefined, - c___15731: undefined, - fy___15774: undefined, - c___15781: undefined, - dx___15820: undefined, - dy___15833: undefined, - xStep___15846: undefined, - yStep___15848: undefined, + ovx___41853: undefined, + ovy___41858: undefined, + fx___41885: undefined, + c___41892: undefined, + fy___41935: undefined, + c___41942: undefined, + dx___41981: undefined, + dy___41994: undefined, + xStep___42007: undefined, + yStep___42009: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -45889,7 +45889,7 @@ function ArcadePhysicsEngine_createMovingSprite__P4400_mk(s) { -function ArcadePhysicsEngine_constrain__P4406(s) { +function ArcadePhysicsEngine_constrain__P26721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45905,30 +45905,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_1 = Fx_min__P166_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P22478_mk(s); + s.tmp_1 = Fx_min__P22477_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 767; s.pc = 2; return s.tmp_1; + s.callLocIdx = 832; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxNegativeVelocity"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 768; s.pc = 1; return s.tmp_0; + s.callLocIdx = 833; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P4406.info = {"start":27227,"length":193,"line":760,"column":4,"endLine":768,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P26721.info = {"start":27227,"length":193,"line":760,"column":4,"endLine":768,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P4406_mk(s) { +function ArcadePhysicsEngine_constrain__P26721_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P4406, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P26721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45940,7 +45940,7 @@ function ArcadePhysicsEngine_constrain__P4406_mk(s) { -function Fx_compare__P164(s) { +function Fx_compare__P22475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45959,12 +45959,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_compare__P22475.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__P164_mk(s) { +function Fx_compare__P22475_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P164, depth: s.depth + 1, + parent: s, fn: Fx_compare__P22475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45974,7 +45974,7 @@ function Fx_compare__P164_mk(s) { -function sprites_SpriteMap_insertAABB__P2275(s) { +function sprites_SpriteMap_insertAABB__P24586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45984,34 +45984,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___15512 = undefined; - s.top___15515 = undefined; - s.xn___15518 = undefined; - s.yn___15529 = undefined; - s.x___15540 = undefined; - s.y___15545 = undefined; + s.left___41673 = undefined; + s.top___41676 = undefined; + s.xn___41679 = undefined; + s.yn___41690 = undefined; + s.x___41701 = undefined; + s.y___41706 = 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__C2268_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2221_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P24532_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 488; s.pc = 5; return s.tmp_0; + s.callLocIdx = 551; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___15512 = (r0); - s.tmp_0 = Sprite_top__P2225_mk(s); + s.left___41673 = (r0); + s.tmp_0 = Sprite_top__P24536_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 489; s.pc = 6; return s.tmp_0; + s.callLocIdx = 552; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___15515 = (r0); - s.tmp_3 = Sprite_width__P2219_mk(s); + s.top___41676 = (r0); + s.tmp_3 = Sprite_width__P24530_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 490; s.pc = 7; return s.tmp_3; + s.callLocIdx = 553; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -46024,10 +46024,10 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___15518 = (r0); - s.tmp_3 = Sprite_height__P2220_mk(s); + s.xn___41679 = (r0); + s.tmp_3 = Sprite_height__P24531_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 491; s.pc = 8; return s.tmp_3; + s.callLocIdx = 554; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; @@ -46040,79 +46040,79 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___15529 = (r0); - s.x___15540 = (0); + s.yn___41690 = (r0); + s.x___41701 = (0); case 1: - r0 = (s.x___15540 <= s.xn___15518); + r0 = (s.x___41701 <= s.xn___41679); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___15545 = (0); + s.y___41706 = (0); case 2: - r0 = (s.y___15545 <= s.yn___15529); + r0 = (s.y___41706 <= s.yn___41690); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P4364_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P26679_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___15512; - s.tmp_4 = Math_min__P131_mk(s); - s.tmp_5 = Sprite_width__P2219_mk(s); + s.tmp_2 = r0 = s.left___41673; + s.tmp_4 = Math_min__P22442_mk(s); + s.tmp_5 = Sprite_width__P24530_mk(s); s.tmp_5.arg0 = s.arg1; - s.callLocIdx = 492; s.pc = 11; return s.tmp_5; + s.callLocIdx = 555; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___15540 * s.tmp_6); + r0 = (s.x___41701 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 493; s.pc = 10; return s.tmp_4; + s.callLocIdx = 556; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___15515; - s.tmp_9 = Math_min__P131_mk(s); - s.tmp_10 = Sprite_height__P2220_mk(s); + s.tmp_7 = r0 = s.top___41676; + s.tmp_9 = Math_min__P22442_mk(s); + s.tmp_10 = Sprite_height__P24531_mk(s); s.tmp_10.arg0 = s.arg1; - s.callLocIdx = 494; s.pc = 13; return s.tmp_10; + s.callLocIdx = 557; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___15545 * s.tmp_11); + r0 = (s.y___41706 * s.tmp_11); s.tmp_9.arg1 = r0; - s.callLocIdx = 495; s.pc = 12; return s.tmp_9; + s.callLocIdx = 558; s.pc = 12; return s.tmp_9; case 12: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_1.arg2 = r0; s.tmp_1.arg3 = s.arg1; - s.callLocIdx = 496; s.pc = 9; return s.tmp_1; + s.callLocIdx = 559; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___15545 + 1); - s.y___15545 = (r0); + r0 = (s.y___41706 + 1); + s.y___41706 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___15540 + 1); - s.x___15540 = (r0); + r0 = (s.x___41701 + 1); + s.x___41701 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P2275.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__P24586.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__P2275_mk(s) { +function sprites_SpriteMap_insertAABB__P24586_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P2275, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P24586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46126,12 +46126,12 @@ function sprites_SpriteMap_insertAABB__P2275_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___15512: undefined, - top___15515: undefined, - xn___15518: undefined, - yn___15529: undefined, - x___15540: undefined, - y___15545: undefined, + left___41673: undefined, + top___41676: undefined, + xn___41679: undefined, + yn___41690: undefined, + x___41701: undefined, + y___41706: undefined, arg0: undefined, arg1: undefined, } } @@ -46140,7 +46140,7 @@ function sprites_SpriteMap_insertAABB__P2275_mk(s) { -function sprites_SpriteMap_insertAtKey__P4364(s) { +function sprites_SpriteMap_insertAtKey__P26679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46150,8 +46150,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___15580 = undefined; - s.bucket___15585 = undefined; + s.k___41741 = undefined; + s.bucket___41746 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -46160,20 +46160,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4363_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P26678_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 487; s.pc = 5; return s.tmp_0; + s.callLocIdx = 550; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___15580 = (r0); + s.k___41741 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___15580); - s.bucket___15585 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___15585); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___41741); + s.bucket___41746 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___41746); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -46181,40 +46181,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___15580; + s.tmp_3 = r0 = s.k___41741; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___15585 = (s.tmp_4); + s.bucket___41746 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___15585, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___41746, 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___15585, s.arg3); + r0 = pxsim_Array__push(s.bucket___41746, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P4364.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__P26679.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__P4364_mk(s) { +function sprites_SpriteMap_insertAtKey__P26679_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P4364, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P26679, 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___15580: undefined, - bucket___15585: undefined, + k___41741: undefined, + bucket___41746: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46225,7 +46225,7 @@ function sprites_SpriteMap_insertAtKey__P4364_mk(s) { -function sprites_SpriteMap_clear__P2274(s) { +function sprites_SpriteMap_clear__P24585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46240,7 +46240,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -46249,12 +46249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P2274.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__P24585.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__P2274_mk(s) { +function sprites_SpriteMap_clear__P24585_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P2274, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P24585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46265,7 +46265,7 @@ function sprites_SpriteMap_clear__P2274_mk(s) { -function sprites_SpriteMap_resizeBuckets__P2273(s) { +function sprites_SpriteMap_resizeBuckets__P24584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46275,129 +46275,129 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___15615 = undefined; - s.maxHeight___15616 = undefined; - s.sprite___15618 = undefined; - s.unnamed70___U3 = undefined; - s.unnamed71___U4 = undefined; - s.tMap___15634 = undefined; - s.areaWidth___15638 = undefined; - s.areaHeight___15645 = undefined; + s.maxWidth___41776 = undefined; + s.maxHeight___41777 = undefined; + s.sprite___41779 = undefined; + s.unnamed180___U3 = undefined; + s.unnamed181___U4 = undefined; + s.tMap___41795 = undefined; + s.areaWidth___41799 = undefined; + s.areaHeight___41806 = 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__C2268_VT)) failedCast(r0); - s.maxWidth___15615 = (0); - s.maxHeight___15616 = (0); - s.sprite___15618 = (undefined); - s.unnamed70___U3 = (s.arg1); - s.unnamed71___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.maxWidth___41776 = (0); + s.maxHeight___41777 = (0); + s.sprite___41779 = (undefined); + s.unnamed180___U3 = (s.arg1); + s.unnamed181___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed71___U4; - r0 = pxsim_Array__length(s.unnamed70___U3); + s.tmp_0 = r0 = s.unnamed181___U4; + r0 = pxsim_Array__length(s.unnamed180___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed70___U3, s.unnamed71___U4); - s.sprite___15618 = (r0); - s.tmp_4 = Sprite_width__P2219_mk(s); - s.tmp_4.arg0 = s.sprite___15618; - s.callLocIdx = 476; s.pc = 11; return s.tmp_4; + r0 = pxsim_Array__getAt(s.unnamed180___U3, s.unnamed181___U4); + s.sprite___41779 = (r0); + s.tmp_4 = Sprite_width__P24530_mk(s); + s.tmp_4.arg0 = s.sprite___41779; + s.callLocIdx = 539; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___15615); + r0 = (s.tmp_3 > s.maxWidth___41776); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P2219_mk(s); - s.tmp_5.arg0 = s.sprite___15618; - s.callLocIdx = 477; s.pc = 12; return s.tmp_5; + s.tmp_5 = Sprite_width__P24530_mk(s); + s.tmp_5.arg0 = s.sprite___41779; + s.callLocIdx = 540; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___15615 = (r0); + s.maxWidth___41776 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P2220_mk(s); - s.tmp_2.arg0 = s.sprite___15618; - s.callLocIdx = 478; s.pc = 13; return s.tmp_2; + s.tmp_2 = Sprite_height__P24531_mk(s); + s.tmp_2.arg0 = s.sprite___41779; + s.callLocIdx = 541; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___15616); + r0 = (s.tmp_1 > s.maxHeight___41777); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P2220_mk(s); - s.tmp_3.arg0 = s.sprite___15618; - s.callLocIdx = 479; s.pc = 14; return s.tmp_3; + s.tmp_3 = Sprite_height__P24531_mk(s); + s.tmp_3.arg0 = s.sprite___41779; + s.callLocIdx = 542; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___15616 = (r0); + s.maxHeight___41777 = (r0); case 4: case 5: - r0 = (s.unnamed71___U4 + 1); - s.unnamed71___U4 = (r0); + r0 = (s.unnamed181___U4 + 1); + s.unnamed181___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed70___U3 = (undefined); - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 480; s.pc = 15; return s.tmp_0; + s.unnamed180___U3 = (undefined); + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 543; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___15634 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___15634); + s.tMap___41795 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___41795); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P2521_mk(s); - s.tmp_0.arg0 = s.tMap___15634; - s.callLocIdx = 481; s.pc = 16; return s.tmp_0; + s.tmp_0 = tiles_TileMap_areaWidth__P24832_mk(s); + s.tmp_0.arg0 = s.tMap___41795; + s.callLocIdx = 544; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___15638 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___15634); + s.areaWidth___41799 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___41795); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P2522_mk(s); - s.tmp_0.arg0 = s.tMap___15634; - s.callLocIdx = 482; s.pc = 17; return s.tmp_0; + s.tmp_0 = tiles_TileMap_areaHeight__P24833_mk(s); + s.tmp_0.arg0 = s.tMap___41795; + s.callLocIdx = 545; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___15645 = (s.tmp_1); + s.areaHeight___41806 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P22438_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___15638 >> 2); + r0 = (s.areaWidth___41799 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___15615 * 2); + r0 = (s.maxWidth___41776 * 2); s.tmp_2.arg2 = r0; - s.callLocIdx = 483; s.pc = 18; return s.tmp_2; + s.callLocIdx = 546; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P22438_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___15645 >> 2); + r0 = (s.areaHeight___41806 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___15616 * 2); + r0 = (s.maxHeight___41777 * 2); s.tmp_2.arg2 = r0; - s.callLocIdx = 484; s.pc = 19; return s.tmp_2; + s.callLocIdx = 547; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -46405,25 +46405,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___15645, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___41806, 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___15638, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___41799, 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__P2273.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__P24584.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__P2273_mk(s) { +function sprites_SpriteMap_resizeBuckets__P24584_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P2273, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P24584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46431,14 +46431,14 @@ function sprites_SpriteMap_resizeBuckets__P2273_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___15615: undefined, - maxHeight___15616: undefined, - sprite___15618: undefined, - unnamed70___U3: undefined, - unnamed71___U4: undefined, - tMap___15634: undefined, - areaWidth___15638: undefined, - areaHeight___15645: undefined, + maxWidth___41776: undefined, + maxHeight___41777: undefined, + sprite___41779: undefined, + unnamed180___U3: undefined, + unnamed181___U4: undefined, + tMap___41795: undefined, + areaWidth___41799: undefined, + areaHeight___41806: undefined, arg0: undefined, arg1: undefined, } } @@ -46447,7 +46447,7 @@ function sprites_SpriteMap_resizeBuckets__P2273_mk(s) { -function Sprite_clearObstacles__P2247(s) { +function Sprite_clearObstacles__P24558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46462,7 +46462,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -46471,12 +46471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P2247.info = {"start":24772,"length":54,"line":811,"column":4,"endLine":813,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P24558.info = {"start":24772,"length":54,"line":811,"column":4,"endLine":813,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P2247_mk(s) { +function Sprite_clearObstacles__P24558_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P2247, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P24558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46487,7 +46487,7 @@ function Sprite_clearObstacles__P2247_mk(s) { -function Fx_idiv__P163(s) { +function Fx_idiv__P22474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46506,12 +46506,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_idiv__P22474.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__P163_mk(s) { +function Fx_idiv__P22474_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P163, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P22474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -46521,7 +46521,7 @@ function Fx_idiv__P163_mk(s) { -function ArcadePhysicsEngine_draw__P2360(s) { +function ArcadePhysicsEngine_draw__P24671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46536,23 +46536,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P2272_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P24583_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 522; s.pc = 1; return s.tmp_0; + s.callLocIdx = 587; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P2360.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__P24671.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__P2360_mk(s) { +function ArcadePhysicsEngine_draw__P24671_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P2360, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P24671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -46562,7 +46562,7 @@ function ArcadePhysicsEngine_draw__P2360_mk(s) { -function sprites_SpriteMap_draw__P2272(s) { +function sprites_SpriteMap_draw__P24583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46572,108 +46572,108 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___15936 = undefined; - s.y___15942 = undefined; - s.left___15948 = undefined; - s.top___15953 = undefined; - s.k___15958 = undefined; - s.b___15963 = undefined; + s.x___42074 = undefined; + s.y___42080 = undefined; + s.left___42086 = undefined; + s.top___42091 = undefined; + s.k___42096 = undefined; + s.b___42101 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2268_VT)) failedCast(r0); - s.x___15936 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C24579_VT)) failedCast(r0); + s.x___42074 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___15936 < s.tmp_1); + r0 = (s.x___42074 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___15942 = (0); + s.y___42080 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___15942 < s.tmp_1); + r0 = (s.y___42080 < 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___15936 * s.tmp_2); - s.left___15948 = (r0); + r0 = (s.x___42074 * s.tmp_2); + s.left___42086 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___15942 * s.tmp_0); - s.top___15953 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P4363_mk(s); + r0 = (s.y___42080 * s.tmp_0); + s.top___42091 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P26678_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___15948; - s.tmp_0.arg2 = s.top___15953; - s.callLocIdx = 474; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = s.left___42086; + s.tmp_0.arg2 = s.top___42091; + s.callLocIdx = 537; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___15958 = (r0); + s.k___42096 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___15958); - s.b___15963 = (r0); - s.tmp_0 = r0 = s.b___15963; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___42096); + s.b___42101 = (r0); + s.tmp_0 = r0 = s.b___42101; 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___15963); + r0 = pxsim_Array__length(s.b___42101); 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__P1792_mk(s); - s.tmp_2.arg0 = globals.screen___1863; - s.tmp_2.arg1 = s.left___15948; - s.tmp_2.arg2 = s.top___15953; + s.tmp_2 = helpers_imageDrawRect__P24103_mk(s); + s.tmp_2.arg0 = globals.screen___24174; + s.tmp_2.arg1 = s.left___42086; + s.tmp_2.arg2 = s.top___42091; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2.arg4 = r0; s.tmp_2.arg5 = 5; - s.callLocIdx = 475; s.pc = 10; return s.tmp_2; + s.callLocIdx = 538; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 5: case 6: - r0 = (s.y___15942 + 1); - s.y___15942 = (r0); + r0 = (s.y___42080 + 1); + s.y___42080 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___15936 + 1); - s.x___15936 = (r0); + r0 = (s.x___42074 + 1); + s.x___42074 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P2272.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__P24583.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__P2272_mk(s) { +function sprites_SpriteMap_draw__P24583_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P2272, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P24583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___15936: undefined, - y___15942: undefined, - left___15948: undefined, - top___15953: undefined, - k___15958: undefined, - b___15963: undefined, + x___42074: undefined, + y___42080: undefined, + left___42086: undefined, + top___42091: undefined, + k___42096: undefined, + b___42101: undefined, arg0: undefined, } } @@ -46681,7 +46681,7 @@ function sprites_SpriteMap_draw__P2272_mk(s) { -function ArcadePhysicsEngine_removeSprite__P2359(s) { +function ArcadePhysicsEngine_removeSprite__P24670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46697,7 +46697,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -46705,12 +46705,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P2359.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__P24670.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__P2359_mk(s) { +function ArcadePhysicsEngine_removeSprite__P24670_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P2359, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P24670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -46721,7 +46721,7 @@ function ArcadePhysicsEngine_removeSprite__P2359_mk(s) { -function ArcadePhysicsEngine_addSprite__P2358(s) { +function ArcadePhysicsEngine_addSprite__P24669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46731,33 +46731,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___16000 = undefined; + s.tm___42138 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2349_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C24660_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__P2733_mk(s); - s.callLocIdx = 520; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 585; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___16000 = (r0); - s.tmp_0 = r0 = s.tm___16000; + s.tm___42138 = (r0); + s.tmp_0 = r0 = s.tm___42138; 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__P2536_mk(s); - s.tmp_1.arg0 = s.tm___16000; + s.tmp_1 = tiles_TileMap_isOnWall__P24847_mk(s); + s.tmp_1.arg0 = s.tm___42138; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 521; s.pc = 6; return s.tmp_1; + s.callLocIdx = 586; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 2: @@ -46777,12 +46777,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P2358.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__P24669.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__P2358_mk(s) { +function ArcadePhysicsEngine_addSprite__P24669_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P2358, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P24669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46790,7 +46790,7 @@ function ArcadePhysicsEngine_addSprite__P2358_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___16000: undefined, + tm___42138: undefined, arg0: undefined, arg1: undefined, } } @@ -46799,7 +46799,7 @@ function ArcadePhysicsEngine_addSprite__P2358_mk(s) { -function scene_BackgroundLayer_constructor__P2464(s) { +function scene_BackgroundLayer_constructor__P24775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46817,12 +46817,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2457_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C24768_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P22441_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 776; s.pc = 7; return s.tmp_2; + s.callLocIdx = 929; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -46865,12 +46865,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P2464.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__P24775.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__P2464_mk(s) { +function scene_BackgroundLayer_constructor__P24775_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P2464, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P24775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46885,7 +46885,7 @@ function scene_BackgroundLayer_constructor__P2464_mk(s) { -function scene_Camera_y__P2569(s) { +function scene_Camera_y__P24880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46900,10 +46900,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -46911,13 +46911,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P2569.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__P2569.isGetter = true; +scene_Camera_y__P24880.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__P24880.isGetter = true; -function scene_Camera_y__P2569_mk(s) { +function scene_Camera_y__P24880_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P2569, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P24880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46929,7 +46929,7 @@ function scene_Camera_y__P2569_mk(s) { -function scene_Camera_x__P2568(s) { +function scene_Camera_x__P24879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46944,10 +46944,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -46955,13 +46955,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P2568.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__P2568.isGetter = true; +scene_Camera_x__P24879.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__P24879.isGetter = true; -function scene_Camera_x__P2568_mk(s) { +function scene_Camera_x__P24879_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P2568, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P24879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46973,7 +46973,7 @@ function scene_Camera_x__P2568_mk(s) { -function particles_ShapeFactory_createParticle__P2946(s) { +function particles_ShapeFactory_createParticle__P25257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46983,47 +46983,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16536 = undefined; + s.p___42218 = 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__C2942_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P2932_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C25253_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P25243_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1217; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1493; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16536 = (r0); - s.tmp_0 = r0 = s.p___16536; - s.tmp_2 = Math_FastRandom_randomRange__P2792_mk(s); + s.p___42218 = (r0); + s.tmp_0 = r0 = s.p___42218; + s.tmp_2 = Math_FastRandom_randomRange__P25103_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1218; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1494; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___16536; + r0 = s.p___42218; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P2946.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__P25257.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__P2946_mk(s) { +function particles_ShapeFactory_createParticle__P25257_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P2946, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P25257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___16536: undefined, + p___42218: undefined, arg0: undefined, arg1: undefined, } } @@ -47032,7 +47032,7 @@ function particles_ShapeFactory_createParticle__P2946_mk(s) { -function particles_AreaFactory_createParticle__P2932(s) { +function particles_AreaFactory_createParticle__P25243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47042,42 +47042,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16548 = undefined; + s.p___42230 = 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__C2926_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P2922_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C25237_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P25233_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1199; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1475; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___16548 = (r0); - s.tmp_0 = r0 = s.p___16548; - s.tmp_2 = Math_FastRandom_randomRange__P2792_mk(s); + s.p___42230 = (r0); + s.tmp_0 = r0 = s.p___42230; + s.tmp_2 = Math_FastRandom_randomRange__P25103_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1200; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1476; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16548; - s.tmp_4 = Math_FastRandom_randomRange__P2792_mk(s); + s.tmp_0 = r0 = s.p___42230; + s.tmp_4 = Math_FastRandom_randomRange__P25103_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["xRange"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 1201; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1477; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -47087,7 +47087,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___16548.fields["_x"]; + r0 = s.p___42230.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -47102,7 +47102,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["height"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["height"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1204; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1480; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -47117,7 +47117,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["height"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["height"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1205; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1481; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -47129,36 +47129,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___16548; - s.tmp_9 = Math_FastRandom_randomRange__P2792_mk(s); + s.tmp_5 = r0 = s.p___42230; + s.tmp_9 = Math_FastRandom_randomRange__P25103_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; r0 = s.arg0.fields["yRange"]; s.tmp_9.arg2 = r0; - s.callLocIdx = 1203; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1479; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___16548.fields["_y"]; + r0 = s.p___42230.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___16548; + r0 = s.p___42230; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P2932.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__P25243.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__P2932_mk(s) { +function particles_AreaFactory_createParticle__P25243_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P2932, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P25243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47172,7 +47172,7 @@ function particles_AreaFactory_createParticle__P2932_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___16548: undefined, + p___42230: undefined, arg0: undefined, arg1: undefined, } } @@ -47181,7 +47181,7 @@ function particles_AreaFactory_createParticle__P2932_mk(s) { -function particles_SprayFactory_createParticle__P2922(s) { +function particles_SprayFactory_createParticle__P25233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47191,39 +47191,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16596 = undefined; - s.angle___16600 = undefined; + s.p___42278 = undefined; + s.angle___42282 = 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__C2920_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P2918_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C25231_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P25229_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1188; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1464; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16596 = (r0); + s.p___42278 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P2792_mk(s); - s.tmp_3.arg0 = globals.galois___4886; + s.tmp_3 = Math_FastRandom_randomRange__P25103_mk(s); + s.tmp_3.arg0 = globals.galois___27201; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1189; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1465; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___16600 = (r0); - s.tmp_0 = r0 = s.p___16596; - r0 = pxsim_Array__getAt(globals.cachedSin___4881, s.angle___16600); + s.angle___42282 = (r0); + s.tmp_0 = r0 = s.p___42278; + r0 = pxsim_Array__getAt(globals.cachedSin___27196, s.angle___42282); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -47232,8 +47232,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___16596; - r0 = pxsim_Array__getAt(globals.cachedCos___4882, s.angle___16600); + s.tmp_0 = r0 = s.p___42278; + r0 = pxsim_Array__getAt(globals.cachedCos___27197, s.angle___42282); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -47242,24 +47242,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___16596; + r0 = s.p___42278; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P2922.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__P25233.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__P2922_mk(s) { +function particles_SprayFactory_createParticle__P25233_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P2922, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P25233, 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___16596: undefined, - angle___16600: undefined, + p___42278: undefined, + angle___42282: undefined, arg0: undefined, arg1: undefined, } } @@ -47268,7 +47268,7 @@ function particles_SprayFactory_createParticle__P2922_mk(s) { -function effects_ScreenEffect_startScreenEffect__P2997(s) { +function effects_ScreenEffect_startScreenEffect__P25308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47285,7 +47285,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C2995_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C25306_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -47304,10 +47304,10 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - s.tmp_4 = particles_ParticleSource_enabled__P2892_mk(s); + s.tmp_4 = particles_ParticleSource_enabled__P25203_mk(s); r0 = s.arg0.fields["source"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 228; s.pc = 14; return s.tmp_4; + s.callLocIdx = 1506; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; case 4: @@ -47325,16 +47325,16 @@ switch (step) { { step = 13; continue; } case 7: case 8: - s.tmp_0 = effects_ScreenEffect_endScreenEffect__P2998_mk(s); + s.tmp_0 = effects_ScreenEffect_endScreenEffect__P25309_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 229; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1507; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C4914_VT); + r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C27229_VT); s.tmp_0 = r0; - s.tmp_1 = effects_SceneAnchor_constructor__P4919_mk(s); + s.tmp_1 = effects_SceneAnchor_constructor__P27234_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 230; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1508; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -47353,12 +47353,12 @@ switch (step) { s.tmp_5.arg2 = s.tmp_2; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "sourceFactory"), 3); - s.callLocIdx = 231; s.pc = 17; return s.tmp_5; + s.callLocIdx = 1509; s.pc = 17; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["sourceFactory"], 3); s.callLocIdx = 231; s.pc = 17; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 231; s.pc = 17; return s.tmp_5;; } - else { s.callLocIdx = 231; s.pc = 17; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1509; s.pc = 17; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 1509; s.pc = 17; return s.tmp_5;; } + else { s.callLocIdx = 1509; s.pc = 17; return s.tmp_5; } } case 17: r0 = s.retval; @@ -47379,12 +47379,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_startScreenEffect__P2997.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} +effects_ScreenEffect_startScreenEffect__P25308.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} -function effects_ScreenEffect_startScreenEffect__P2997_mk(s) { +function effects_ScreenEffect_startScreenEffect__P25308_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_startScreenEffect__P2997, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_startScreenEffect__P25308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47402,7 +47402,7 @@ function effects_ScreenEffect_startScreenEffect__P2997_mk(s) { -function effects_SceneAnchor_constructor__P4919(s) { +function effects_SceneAnchor_constructor__P27234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47417,10 +47417,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4914_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C27229_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_currentScene__P2733_mk(s); - s.callLocIdx = 225; s.pc = 1; return s.tmp_2; + s.tmp_2 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1502; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; r0 = r0.fields["camera"]; @@ -47430,12 +47430,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_SceneAnchor_constructor__P4919.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} +effects_SceneAnchor_constructor__P27234.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} -function effects_SceneAnchor_constructor__P4919_mk(s) { +function effects_SceneAnchor_constructor__P27234_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_constructor__P4919, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_constructor__P27234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47447,7 +47447,7 @@ function effects_SceneAnchor_constructor__P4919_mk(s) { -function effects_ScreenEffect_endScreenEffect__P2998(s) { +function effects_ScreenEffect_endScreenEffect__P25309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47462,15 +47462,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C2995_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C25306_VT)) failedCast(r0); r0 = s.arg0.fields["source"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = particles_ParticleSource_destroy__P2894_mk(s); + s.tmp_1 = particles_ParticleSource_destroy__P25205_mk(s); r0 = s.arg0.fields["source"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 232; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1510; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["source"] = (undefined); @@ -47480,12 +47480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_endScreenEffect__P2998.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} +effects_ScreenEffect_endScreenEffect__P25309.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} -function effects_ScreenEffect_endScreenEffect__P2998_mk(s) { +function effects_ScreenEffect_endScreenEffect__P25309_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_endScreenEffect__P2998, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_endScreenEffect__P25309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47496,7 +47496,7 @@ function effects_ScreenEffect_endScreenEffect__P2998_mk(s) { -function effects_ImageEffect_startScreenEffect__P3022(s) { +function effects_ImageEffect_startScreenEffect__P25333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47506,7 +47506,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wasRunning___21502 = undefined; + s.wasRunning___42370 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -47514,9 +47514,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3018_VT)) failedCast(r0); - s.tmp_4 = game_currentScene__P2733_mk(s); - s.callLocIdx = 239; s.pc = 8; return s.tmp_4; + if (!checkSubtype(r0, effects_ImageEffect__C25329_VT)) failedCast(r0); + s.tmp_4 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1523; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; r0 = r0.fields["background"]; @@ -47543,7 +47543,7 @@ switch (step) { r0 = s.arg0.fields["times"]; s.tmp_9 = r0; r0 = (s.tmp_9 != undefined); - s.wasRunning___21502 = (r0); + s.wasRunning___42370 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } r0 = s.arg1; @@ -47554,13 +47554,13 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["times"] = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(s.wasRunning___21502); + r0 = pxsim_numops_toBoolDecr(s.wasRunning___42370); 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; } - r0 = pxsim_pxtcore_mkAction(2, effects_ImageEffect_startScreenEffect_inline__P21515); + r0 = pxsim_pxtcore_mkAction(2, effects_ImageEffect_startScreenEffect_inline__P42383); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg2); @@ -47572,12 +47572,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect__P3022.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} +effects_ImageEffect_startScreenEffect__P25333.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} -function effects_ImageEffect_startScreenEffect__P3022_mk(s) { +function effects_ImageEffect_startScreenEffect__P25333_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect__P3022, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect__P25333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47589,7 +47589,7 @@ function effects_ImageEffect_startScreenEffect__P3022_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - wasRunning___21502: undefined, + wasRunning___42370: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -47599,7 +47599,7 @@ function effects_ImageEffect_startScreenEffect__P3022_mk(s) { -function effects_ImageEffect_startScreenEffect_inline__P21515(s) { +function effects_ImageEffect_startScreenEffect_inline__P42383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47616,14 +47616,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = effects_ImageEffect_change__P3021_mk(s); + s.tmp_2 = effects_ImageEffect_change__P25332_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.tmp_3 = scene_backgroundImage__P2661_mk(s); - s.callLocIdx = 241; s.pc = 6; return s.tmp_3; + s.tmp_3 = scene_backgroundImage__P24972_mk(s); + s.callLocIdx = 1525; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg1 = r0; - s.callLocIdx = 242; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1526; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.caps[1]); @@ -47635,9 +47635,9 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = pause__P413_mk(s); + s.tmp_1 = pause__P22724_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 243; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1527; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0 = s.caps[0]; @@ -47653,12 +47653,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect_inline__P21515.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} +effects_ImageEffect_startScreenEffect_inline__P42383.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} -function effects_ImageEffect_startScreenEffect_inline__P21515_mk(s) { +function effects_ImageEffect_startScreenEffect_inline__P42383_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect_inline__P21515, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect_inline__P42383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47670,7 +47670,7 @@ function effects_ImageEffect_startScreenEffect_inline__P21515_mk(s) { -function scene_backgroundImage__P2661(s) { +function scene_backgroundImage__P24972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47680,37 +47680,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___21534 = undefined; - s.tmp_0 = game_currentScene__P2733_mk(s); - s.callLocIdx = 155; s.pc = 1; return s.tmp_0; + s.scene___42402 = undefined; + s.tmp_0 = game_currentScene__P25044_mk(s); + s.callLocIdx = 1092; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___21534 = (r0); - s.tmp_0 = scene_Background_image__P2453_mk(s); - r0 = s.scene___21534.fields["background"]; + s.scene___42402 = (r0); + s.tmp_0 = scene_Background_image__P24764_mk(s); + r0 = s.scene___42402.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 156; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1093; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_backgroundImage__P2661.info = {"start":2297,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} +scene_backgroundImage__P24972.info = {"start":2297,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} -function scene_backgroundImage__P2661_mk(s) { +function scene_backgroundImage__P24972_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_backgroundImage__P2661, depth: s.depth + 1, + parent: s, fn: scene_backgroundImage__P24972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___21534: undefined, + scene___42402: undefined, } } -function scene_Background_hasBackgroundImage__P2455(s) { +function scene_Background_hasBackgroundImage__P24766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47725,7 +47725,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2447_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C24758_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -47738,12 +47738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_hasBackgroundImage__P2455.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} +scene_Background_hasBackgroundImage__P24766.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} -function scene_Background_hasBackgroundImage__P2455_mk(s) { +function scene_Background_hasBackgroundImage__P24766_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_hasBackgroundImage__P2455, depth: s.depth + 1, + parent: s, fn: scene_Background_hasBackgroundImage__P24766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47756,7 +47756,7 @@ function scene_Background_hasBackgroundImage__P2455_mk(s) { -function particles_ParticleSource_factory__P2898(s) { +function particles_ParticleSource_factory__P25209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47771,18 +47771,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = s.arg0.fields["_factory"]; return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_factory__P2898.info = {"start":7951,"length":76,"line":264,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"factory","argumentNames":["this"]} -particles_ParticleSource_factory__P2898.isGetter = true; +particles_ParticleSource_factory__P25209.info = {"start":7951,"length":76,"line":264,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"factory","argumentNames":["this"]} +particles_ParticleSource_factory__P25209.isGetter = true; -function particles_ParticleSource_factory__P2898_mk(s) { +function particles_ParticleSource_factory__P25209_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_factory__P2898, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_factory__P25209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47791,7 +47791,7 @@ function particles_ParticleSource_factory__P2898_mk(s) { -function particles_ParticleSource___draw__P2886(s) { +function particles_ParticleSource___draw__P25197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47801,18 +47801,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___16461 = undefined; - s.left___16464 = undefined; - s.top___16474 = undefined; + s.current___42421 = undefined; + s.left___42424 = undefined; + s.top___42434 = 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__C2880_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___16461 = (r0); + s.current___42421 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -47830,7 +47830,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___16464 = (s.tmp_4); + s.left___42424 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -47848,49 +47848,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___16474 = (s.tmp_4); + s.top___42434 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___16461); + r0 = pxsim_numops_toBoolDecr(s.current___42421); if (!r0) { step = 8; continue; } - r0 = s.current___16461.fields["lifespan"]; + r0 = s.current___42421.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__P4872_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P27187_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___16461; - s.tmp_2.arg2 = s.left___16464; - s.tmp_2.arg3 = s.top___16474; - s.callLocIdx = 1123; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___42421; + s.tmp_2.arg2 = s.left___42424; + s.tmp_2.arg3 = s.top___42434; + s.callLocIdx = 1399; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___16461.fields["next"]; - s.current___16461 = (r0); + r0 = s.current___42421.fields["next"]; + s.current___42421 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P2886.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__P25197.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__P2886_mk(s) { +function particles_ParticleSource___draw__P25197_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P2886, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P25197, 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___16461: undefined, - left___16464: undefined, - top___16474: undefined, + current___42421: undefined, + left___42424: undefined, + top___42434: undefined, arg0: undefined, arg1: undefined, } } @@ -47899,7 +47899,7 @@ function particles_ParticleSource___draw__P2886_mk(s) { -function particles_ParticleSource_drawParticle__P4872(s) { +function particles_ParticleSource_drawParticle__P27187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47917,8 +47917,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C2880_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C2916_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C25191_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C25227_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -47930,7 +47930,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__C2916_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C25227_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: @@ -47939,12 +47939,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P4872.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__P27187.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__P4872_mk(s) { +function particles_ParticleSource_drawParticle__P27187_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P4872, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P27187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47959,7 +47959,7 @@ function particles_ParticleSource_drawParticle__P4872_mk(s) { -function particles_ParticleFactory_drawParticle__P2919(s) { +function particles_ParticleFactory_drawParticle__P25230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47977,8 +47977,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C2916_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___1863; + if (!checkSubtype(r0, particles_ParticleFactory__C25227_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___24174; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -47992,12 +47992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P2919.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__P25230.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__P2919_mk(s) { +function particles_ParticleFactory_drawParticle__P25230_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P2919, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P25230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48014,7 +48014,7 @@ function particles_ParticleFactory_drawParticle__P2919_mk(s) { -function game_SplashDialog_drawTextCore__P2716(s) { +function game_SplashDialog_drawTextCore__P25027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48024,25 +48024,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scrollMax___21974 = undefined; - s.left___22017 = undefined; - s.ysub___22062 = undefined; - s.left___22073 = undefined; + s.scrollMax___42484 = undefined; + s.left___42527 = undefined; + s.ysub___42572 = undefined; + s.left___42583 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2706_VT)) failedCast(r0); - s.tmp_0 = Math_max__P130_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C25017_VT)) failedCast(r0); + s.tmp_0 = Math_max__P22441_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 32; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1136; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.scrollMax___21974 = (r0); + s.scrollMax___42484 = (r0); r0 = s.arg0.fields["timer"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -48052,8 +48052,8 @@ switch (step) { s.tmp_2 = r0 = s.arg0; r0 = s.tmp_2.fields["timer"]; s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P2736_mk(s); - s.callLocIdx = 33; s.pc = 16; return s.tmp_7; + s.tmp_7 = game_eventContext__P25047_mk(s); + s.callLocIdx = 1137; s.pc = 16; return s.tmp_7; case 16: r0 = s.retval; s.tmp_6 = r0; @@ -48092,11 +48092,11 @@ switch (step) { r0 = (s.tmp_0).fields["offset"] = (s.tmp_1); r0 = s.arg0.fields["offset"]; s.tmp_1 = r0; - r0 = (s.tmp_1 >= s.scrollMax___21974); + r0 = (s.tmp_1 >= s.scrollMax___42484); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.arg0).fields["offset"] = (s.scrollMax___21974); + r0 = (s.arg0).fields["offset"] = (s.scrollMax___42484); r0 = (s.arg0).fields["timer"] = (2); case 6: case 7: @@ -48126,7 +48126,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 35; s.pc = 17; return s.tmp_10; } + else { s.callLocIdx = 1139; s.pc = 17; return s.tmp_10; } } case 17: r0 = s.retval; @@ -48136,25 +48136,25 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___22017 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); + s.left___42527 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___22017; + s.tmp_0.arg2 = s.left___42527; s.tmp_0.arg3 = 10; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 36; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1140; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; { step = 10; continue; } case 9: - s.tmp_0 = helpers_imagePrint__P1821_mk(s); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; @@ -48171,7 +48171,7 @@ switch (step) { r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 37; s.pc = 19; return s.tmp_0; + s.callLocIdx = 1141; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; case 10: @@ -48188,7 +48188,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 38; s.pc = 20; return s.tmp_3; } + else { s.callLocIdx = 1142; s.pc = 20; return s.tmp_3; } } case 20: r0 = s.retval; @@ -48196,7 +48196,7 @@ switch (step) { r0 = (10 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); - s.ysub___22062 = (r0); + s.ysub___42572 = (r0); r0 = s.arg0.fields["maxSubOffset"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); @@ -48222,7 +48222,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 39; s.pc = 21; return s.tmp_10; } + else { s.callLocIdx = 1143; s.pc = 21; return s.tmp_10; } } case 21: r0 = s.retval; @@ -48232,69 +48232,69 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___22073 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); + s.left___42583 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___22073; - s.tmp_0.arg3 = s.ysub___22062; + s.tmp_0.arg2 = s.left___42583; + s.tmp_0.arg3 = s.ysub___42572; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 40; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1144; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; { step = 12; continue; } case 11: - s.tmp_0 = helpers_imagePrint__P1821_mk(s); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - s.tmp_3 = Math_min__P131_mk(s); + s.tmp_3 = Math_min__P22442_mk(s); r0 = s.arg0.fields["offset"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 41; s.pc = 24; return s.tmp_3; + s.callLocIdx = 1145; s.pc = 24; return s.tmp_3; case 24: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.ysub___22062; + s.tmp_0.arg3 = s.ysub___42572; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 42; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1146; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 12: case 13: case 14: - s.tmp_0 = game_BaseDialog_drawBorder__P4504_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P26819_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 43; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1147; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_SplashDialog_drawTextCore__P2716.info = {"start":9357,"length":1616,"line":293,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_SplashDialog_drawTextCore__P25027.info = {"start":9357,"length":1616,"line":293,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_SplashDialog_drawTextCore__P2716_mk(s) { +function game_SplashDialog_drawTextCore__P25027_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_drawTextCore__P2716, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_drawTextCore__P25027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48307,10 +48307,10 @@ function game_SplashDialog_drawTextCore__P2716_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scrollMax___21974: undefined, - left___22017: undefined, - ysub___22062: undefined, - left___22073: undefined, + scrollMax___42484: undefined, + left___42527: undefined, + ysub___42572: undefined, + left___42583: undefined, arg0: undefined, } } @@ -48318,7 +48318,7 @@ function game_SplashDialog_drawTextCore__P2716_mk(s) { -function game_BaseDialog_setText__P2692(s) { +function game_BaseDialog_setText__P25003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48334,17 +48334,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2678_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C24989_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setText__P2692.info = {"start":1701,"length":77,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_BaseDialog_setText__P25003.info = {"start":1701,"length":77,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_BaseDialog_setText__P2692_mk(s) { +function game_BaseDialog_setText__P25003_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setText__P2692, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setText__P25003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -48354,7 +48354,7 @@ function game_BaseDialog_setText__P2692_mk(s) { -function scene_Scene_data__P2643(s) { +function scene_Scene_data__P24954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48369,18 +48369,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2619_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C24930_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P2643.info = {"start":6817,"length":53,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P2643.isGetter = true; +scene_Scene_data__P24954.info = {"start":6817,"length":53,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P24954.isGetter = true; -function scene_Scene_data__P2643_mk(s) { +function scene_Scene_data__P24954_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P2643, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P24954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -48389,7 +48389,7 @@ function scene_Scene_data__P2643_mk(s) { -function sprites_SpriteSet_toString__P2296(s) { +function sprites_SpriteSet_toString__P24607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48404,7 +48404,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2285_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C24596_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -48426,12 +48426,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P2296.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__P24607.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__P2296_mk(s) { +function sprites_SpriteSet_toString__P24607_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P2296, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P24607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48445,7 +48445,7 @@ function sprites_SpriteSet_toString__P2296_mk(s) { -function sprites_SpriteSet_length__P2288(s) { +function sprites_SpriteSet_length__P24599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48460,20 +48460,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2285_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C24596_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__P2288.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__P2288.isGetter = true; +sprites_SpriteSet_length__P24599.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__P24599.isGetter = true; -function sprites_SpriteSet_length__P2288_mk(s) { +function sprites_SpriteSet_length__P24599_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P2288, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P24599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48483,7 +48483,7 @@ function sprites_SpriteSet_length__P2288_mk(s) { -function tiles_TileMap_data__P2518(s) { +function tiles_TileMap_data__P24829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48498,18 +48498,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2513_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C24824_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P2518.info = {"start":9424,"length":65,"line":321,"column":8,"endLine":323,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P2518.isGetter = true; +tiles_TileMap_data__P24829.info = {"start":9424,"length":65,"line":321,"column":8,"endLine":323,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P24829.isGetter = true; -function tiles_TileMap_data__P2518_mk(s) { +function tiles_TileMap_data__P24829_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P2518, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P24829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -48518,7 +48518,7 @@ function tiles_TileMap_data__P2518_mk(s) { -function Sprite_toString__P2256(s) { +function Sprite_toString__P24567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48533,7 +48533,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -48551,9 +48551,9 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P2176_mk(s); + s.tmp_14 = Sprite_x__P24487_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 427; s.pc = 2; return s.tmp_14; + s.callLocIdx = 490; s.pc = 2; return s.tmp_14; case 2: r0 = s.retval; s.tmp_13 = r0; @@ -48570,9 +48570,9 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P2178_mk(s); + s.tmp_17 = Sprite_y__P24489_mk(s); s.tmp_17.arg0 = s.arg0; - s.callLocIdx = 428; s.pc = 4; return s.tmp_17; + s.callLocIdx = 491; s.pc = 4; return s.tmp_17; case 4: r0 = s.retval; s.tmp_16 = r0; @@ -48589,9 +48589,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P2180_mk(s); + s.tmp_20 = Sprite_vx__P24491_mk(s); s.tmp_20.arg0 = s.arg0; - s.callLocIdx = 429; s.pc = 6; return s.tmp_20; + s.callLocIdx = 492; s.pc = 6; return s.tmp_20; case 6: r0 = s.retval; s.tmp_19 = r0; @@ -48608,9 +48608,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P2182_mk(s); + s.tmp_23 = Sprite_vy__P24493_mk(s); s.tmp_23.arg0 = s.arg0; - s.callLocIdx = 430; s.pc = 8; return s.tmp_23; + s.callLocIdx = 493; s.pc = 8; return s.tmp_23; case 8: r0 = s.retval; s.tmp_22 = r0; @@ -48629,12 +48629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P2256.info = {"start":33930,"length":93,"line":1063,"column":4,"endLine":1065,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P24567.info = {"start":33930,"length":93,"line":1063,"column":4,"endLine":1065,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P2256_mk(s) { +function Sprite_toString__P24567_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P2256, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P24567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48667,7 +48667,7 @@ function Sprite_toString__P2256_mk(s) { -function Sprite___update__P2238(s) { +function Sprite___update__P24549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48684,7 +48684,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -48706,9 +48706,9 @@ 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__P2251_mk(s); + s.tmp_0 = Sprite__destroyCore__P24562_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 365; s.pc = 11; return s.tmp_0; + s.callLocIdx = 428; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: @@ -48724,10 +48724,10 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P2236_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P24547_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 366; s.pc = 12; return s.tmp_2; + s.callLocIdx = 429; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; case 6: @@ -48735,11 +48735,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P2250_mk(s); + s.tmp_4 = Sprite_destroy__P24561_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; - s.callLocIdx = 367; s.pc = 13; return s.tmp_4; + s.callLocIdx = 430; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: @@ -48748,13 +48748,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C2083_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C24394_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__C2083_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update; s.pc = 14; return s.tmp_1; case 14: @@ -48765,12 +48765,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P2238.info = {"start":18662,"length":483,"line":628,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P24549.info = {"start":18662,"length":483,"line":628,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P2238_mk(s) { +function Sprite___update__P24549_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P2238, depth: s.depth + 1, + parent: s, fn: Sprite___update__P24549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48787,7 +48787,7 @@ function Sprite___update__P2238_mk(s) { -function Sprite_isOutOfScreen__P2236(s) { +function Sprite_isOutOfScreen__P24547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48797,15 +48797,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___16342 = undefined; - s.oy___16350 = undefined; + s.ox___42722 = undefined; + s.oy___42730 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -48819,7 +48819,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___16342 = (s.tmp_2); + s.ox___42722 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -48833,14 +48833,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___16350 = (s.tmp_2); - s.tmp_3 = Sprite_right__P2223_mk(s); + s.oy___42730 = (s.tmp_2); + s.tmp_3 = Sprite_right__P24534_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 356; s.pc = 11; return s.tmp_3; + s.callLocIdx = 419; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___16342); + r0 = (s.tmp_2 - s.ox___42722); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -48849,13 +48849,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P2227_mk(s); + s.tmp_6 = Sprite_bottom__P24538_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 357; s.pc = 12; return s.tmp_6; + s.callLocIdx = 420; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___16350); + r0 = (s.tmp_5 - s.oy___42730); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -48866,15 +48866,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P2221_mk(s); + s.tmp_10 = Sprite_left__P24532_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 358; s.pc = 13; return s.tmp_10; + s.callLocIdx = 421; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___16342); + r0 = (s.tmp_9 - s.ox___42722); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -48885,15 +48885,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P2225_mk(s); + s.tmp_15 = Sprite_top__P24536_mk(s); s.tmp_15.arg0 = s.arg0; - s.callLocIdx = 359; s.pc = 14; return s.tmp_15; + s.callLocIdx = 422; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___16350); + r0 = (s.tmp_14 - s.oy___42730); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -48903,12 +48903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P2236.info = {"start":17830,"length":358,"line":607,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P24547.info = {"start":17830,"length":358,"line":607,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P2236_mk(s) { +function Sprite_isOutOfScreen__P24547_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P2236, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P24547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48928,8 +48928,8 @@ function Sprite_isOutOfScreen__P2236_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___16342: undefined, - oy___16350: undefined, + ox___42722: undefined, + oy___42730: undefined, arg0: undefined, arg1: undefined, } } @@ -48938,7 +48938,7 @@ function Sprite_isOutOfScreen__P2236_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P2086(s) { +function sprites_BaseSpriteSayRenderer_update__P24397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48956,17 +48956,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P2086.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__P24397.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__P2086_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P24397_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P2086, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P24397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -48978,7 +48978,7 @@ function sprites_BaseSpriteSayRenderer_update__P2086_mk(s) { -function Sprite_data__P2199(s) { +function Sprite_data__P24510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48994,18 +48994,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P2199.info = {"start":6536,"length":56,"line":241,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P24510.info = {"start":6536,"length":56,"line":241,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P2199_mk(s) { +function Sprite_data__P24510_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2199, depth: s.depth + 1, + parent: s, fn: Sprite_data__P24510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49015,7 +49015,7 @@ function Sprite_data__P2199_mk(s) { -function Sprite_data__P2198(s) { +function Sprite_data__P24509(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49030,7 +49030,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -49049,13 +49049,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P2198.info = {"start":6438,"length":92,"line":236,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P2198.isGetter = true; +Sprite_data__P24509.info = {"start":6438,"length":92,"line":236,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P24509.isGetter = true; -function Sprite_data__P2198_mk(s) { +function Sprite_data__P24509_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2198, depth: s.depth + 1, + parent: s, fn: Sprite_data__P24509, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49069,7 +49069,7 @@ function Sprite_data__P2198_mk(s) { -function sprites_BaseSprite___update__P1930(s) { +function sprites_BaseSprite___update__P24241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49086,17 +49086,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P1930.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__P24241.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__P1930_mk(s) { +function sprites_BaseSprite___update__P24241_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P1930, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P24241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49107,7 +49107,7 @@ function sprites_BaseSprite___update__P1930_mk(s) { -function sprites_BaseSprite___draw__P1928(s) { +function sprites_BaseSprite___draw__P24239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49123,10 +49123,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C1922_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C24233_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C1922_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C24233_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: @@ -49134,10 +49134,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C1922_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C24233_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C1922_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C24233_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: @@ -49148,12 +49148,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P1928.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__P24239.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__P1928_mk(s) { +function sprites_BaseSprite___draw__P24239_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P1928, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P24239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49166,7 +49166,7 @@ function sprites_BaseSprite___draw__P1928_mk(s) { -function sprites_BaseSprite___drawCore__P1929(s) { +function sprites_BaseSprite___drawCore__P24240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49182,17 +49182,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P1929.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__P24240.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__P1929_mk(s) { +function sprites_BaseSprite___drawCore__P24240_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P1929, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P24240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49202,7 +49202,7 @@ function sprites_BaseSprite___drawCore__P1929_mk(s) { -function sprites_BaseSprite___visible__P1925(s) { +function sprites_BaseSprite___visible__P24236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49217,17 +49217,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C1922_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C24233_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P1925.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__P24236.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__P1925_mk(s) { +function sprites_BaseSprite___visible__P24236_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P1925, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P24236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49236,7 +49236,7 @@ function sprites_BaseSprite___visible__P1925_mk(s) { -function controller_AnyButton_isPressed__P4337(s) { +function controller_AnyButton_isPressed__P26652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49246,36 +49246,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___16634 = undefined; - s.b___16638 = undefined; - s.unnamed62___U2 = undefined; - s.unnamed63___U3 = undefined; + s.ctrl___42787 = undefined; + s.b___42791 = undefined; + s.unnamed172___U2 = undefined; + s.unnamed173___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C4329_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P1956_mk(s); - s.callLocIdx = 181; s.pc = 6; return s.tmp_0; + if (!checkSubtype(r0, controller_AnyButton__C26644_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P24267_mk(s); + s.callLocIdx = 239; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___16634 = (r0); - s.b___16638 = (undefined); - r0 = s.ctrl___16634.fields["buttons"]; - s.unnamed62___U2 = (r0); - s.unnamed63___U3 = (0); + s.ctrl___42787 = (r0); + s.b___42791 = (undefined); + r0 = s.ctrl___42787.fields["buttons"]; + s.unnamed172___U2 = (r0); + s.unnamed173___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed63___U3; - r0 = pxsim_Array__length(s.unnamed62___U2); + s.tmp_0 = r0 = s.unnamed173___U3; + r0 = pxsim_Array__length(s.unnamed172___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed62___U2, s.unnamed63___U3); - s.b___16638 = (r0); - s.tmp_3 = controller_Button__C2013_v0_1_mk(s); - s.tmp_3.arg0 = s.b___16638; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2013_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed172___U2, s.unnamed173___U3); + s.b___42791 = (r0); + s.tmp_3 = controller_Button__C24324_v0_1_mk(s); + s.tmp_3.arg0 = s.b___42791; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C24324_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: @@ -49287,31 +49287,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed63___U3 + 1); - s.unnamed63___U3 = (r0); + r0 = (s.unnamed173___U3 + 1); + s.unnamed173___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed62___U2 = (undefined); + s.unnamed172___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P4337.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__P26652.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__P4337_mk(s) { +function controller_AnyButton_isPressed__P26652_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P4337, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P26652, 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___16634: undefined, - b___16638: undefined, - unnamed62___U2: undefined, - unnamed63___U3: undefined, + ctrl___42787: undefined, + b___42791: undefined, + unnamed172___U2: undefined, + unnamed173___U3: undefined, arg0: undefined, } } @@ -49319,7 +49319,7 @@ function controller_AnyButton_isPressed__P4337_mk(s) { -function controller_Button_toString__P2018(s) { +function controller_Button_toString__P24329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49334,7 +49334,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2013_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C24324_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -49374,12 +49374,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P2018.info = {"start":1894,"length":100,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P24329.info = {"start":1894,"length":100,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P2018_mk(s) { +function controller_Button_toString__P24329_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P2018, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P24329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49395,7 +49395,7 @@ function controller_Button_toString__P2018_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P2084(s) { +function sprites_BaseSpriteSayRenderer_constructor__P24395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49413,7 +49413,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -49421,12 +49421,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P2084.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__P24395.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__P2084_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P24395_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P2084, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P24395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49438,7 +49438,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P2084_mk(s) { -function effects_SceneAnchor_height__P4918(s) { +function effects_SceneAnchor_height__P27233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49453,18 +49453,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4914_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.height(globals.screen___1863); + if (!checkSubtype(r0, effects_SceneAnchor__C27229_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.height(globals.screen___24174); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_height__P4918.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} -effects_SceneAnchor_height__P4918.isGetter = true; +effects_SceneAnchor_height__P27233.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} +effects_SceneAnchor_height__P27233.isGetter = true; -function effects_SceneAnchor_height__P4918_mk(s) { +function effects_SceneAnchor_height__P27233_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_height__P4918, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_height__P27233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49473,7 +49473,7 @@ function effects_SceneAnchor_height__P4918_mk(s) { -function effects_SceneAnchor_width__P4917(s) { +function effects_SceneAnchor_width__P27232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49488,18 +49488,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4914_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___1863); + if (!checkSubtype(r0, effects_SceneAnchor__C27229_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___24174); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_width__P4917.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} -effects_SceneAnchor_width__P4917.isGetter = true; +effects_SceneAnchor_width__P27232.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} +effects_SceneAnchor_width__P27232.isGetter = true; -function effects_SceneAnchor_width__P4917_mk(s) { +function effects_SceneAnchor_width__P27232_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_width__P4917, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_width__P27232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49508,7 +49508,7 @@ function effects_SceneAnchor_width__P4917_mk(s) { -function effects_SceneAnchor_y__P4916(s) { +function effects_SceneAnchor_y__P27231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49523,12 +49523,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4914_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C27229_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___1863); + r0 = pxsim_ImageMethods.height(globals.screen___24174); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -49536,13 +49536,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_y__P4916.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} -effects_SceneAnchor_y__P4916.isGetter = true; +effects_SceneAnchor_y__P27231.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} +effects_SceneAnchor_y__P27231.isGetter = true; -function effects_SceneAnchor_y__P4916_mk(s) { +function effects_SceneAnchor_y__P27231_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_y__P4916, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_y__P27231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49555,7 +49555,7 @@ function effects_SceneAnchor_y__P4916_mk(s) { -function effects_SceneAnchor_x__P4915(s) { +function effects_SceneAnchor_x__P27230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49570,12 +49570,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C4914_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C27229_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___1863); + r0 = pxsim_ImageMethods.width(globals.screen___24174); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -49583,13 +49583,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_x__P4915.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} -effects_SceneAnchor_x__P4915.isGetter = true; +effects_SceneAnchor_x__P27230.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} +effects_SceneAnchor_x__P27230.isGetter = true; -function effects_SceneAnchor_x__P4915_mk(s) { +function effects_SceneAnchor_x__P27230_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_x__P4915, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_x__P27230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49602,7 +49602,7 @@ function effects_SceneAnchor_x__P4915_mk(s) { -function sprites_StaticObstacle_width__P2330(s) { +function sprites_StaticObstacle_width__P24641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49617,20 +49617,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2320_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C24631_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__P2330.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__P2330.isGetter = true; +sprites_StaticObstacle_width__P24641.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__P24641.isGetter = true; -function sprites_StaticObstacle_width__P2330_mk(s) { +function sprites_StaticObstacle_width__P24641_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P2330, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P24641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49640,7 +49640,7 @@ function sprites_StaticObstacle_width__P2330_mk(s) { -function sprites_StaticObstacle_height__P2329(s) { +function sprites_StaticObstacle_height__P24640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49655,20 +49655,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2320_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C24631_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__P2329.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__P2329.isGetter = true; +sprites_StaticObstacle_height__P24640.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__P24640.isGetter = true; -function sprites_StaticObstacle_height__P2329_mk(s) { +function sprites_StaticObstacle_height__P24640_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P2329, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P24640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49678,7 +49678,7 @@ function sprites_StaticObstacle_height__P2329_mk(s) { -function sprites_StaticObstacle_y__P2328(s) { +function sprites_StaticObstacle_y__P24639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49693,7 +49693,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2320_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C24631_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -49706,13 +49706,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P2328.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__P2328.isGetter = true; +sprites_StaticObstacle_y__P24639.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__P24639.isGetter = true; -function sprites_StaticObstacle_y__P2328_mk(s) { +function sprites_StaticObstacle_y__P24639_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P2328, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P24639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49725,7 +49725,7 @@ function sprites_StaticObstacle_y__P2328_mk(s) { -function sprites_StaticObstacle_x__P2327(s) { +function sprites_StaticObstacle_x__P24638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49740,7 +49740,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2320_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C24631_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -49753,13 +49753,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P2327.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__P2327.isGetter = true; +sprites_StaticObstacle_x__P24638.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__P24638.isGetter = true; -function sprites_StaticObstacle_x__P2327_mk(s) { +function sprites_StaticObstacle_x__P24638_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P2327, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P24638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49772,7 +49772,7 @@ function sprites_StaticObstacle_x__P2327_mk(s) { -function scene_Camera_top__P2572(s) { +function scene_Camera_top__P24883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49787,18 +49787,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P2572.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__P2572.isGetter = true; +scene_Camera_top__P24883.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__P24883.isGetter = true; -function scene_Camera_top__P2572_mk(s) { +function scene_Camera_top__P24883_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P2572, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P24883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49807,7 +49807,7 @@ function scene_Camera_top__P2572_mk(s) { -function scene_Camera_left__P2570(s) { +function scene_Camera_left__P24881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49822,18 +49822,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2559_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C24870_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P2570.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__P2570.isGetter = true; +scene_Camera_left__P24881.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__P24881.isGetter = true; -function scene_Camera_left__P2570_mk(s) { +function scene_Camera_left__P24881_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P2570, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P24881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -49842,7 +49842,7 @@ function scene_Camera_left__P2570_mk(s) { -function particles_ShapeFactory_drawParticle__P2945(s) { +function particles_ShapeFactory_drawParticle__P25256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49852,7 +49852,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___16980 = undefined; + s.pImage___42868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -49861,23 +49861,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C2942_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P2793_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C25253_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P25104_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1212; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1488; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___16980 = (r0); + s.pImage___42868 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___16980, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___1863; - s.tmp_1 = r0 = s.pImage___16980; + r0 = pxsim_ImageMethods.replace(s.pImage___42868, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___24174; + s.tmp_1 = r0 = s.pImage___42868; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -49899,12 +49899,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P2945.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__P25256.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__P2945_mk(s) { +function particles_ShapeFactory_drawParticle__P25256_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P2945, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P25256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49916,7 +49916,7 @@ function particles_ShapeFactory_drawParticle__P2945_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___16980: undefined, + pImage___42868: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -49927,7 +49927,7 @@ function particles_ShapeFactory_drawParticle__P2945_mk(s) { -function Math_FastRandom_pickRandom__P2793(s) { +function Math_FastRandom_pickRandom__P25104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49943,7 +49943,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C2788_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C25099_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -49966,14 +49966,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P2792_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P25103_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 941; s.pc = 6; return s.tmp_6; + s.callLocIdx = 1217; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -49982,12 +49982,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P2793.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__P25104.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__P2793_mk(s) { +function Math_FastRandom_pickRandom__P25104_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P2793, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P25104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50005,7 +50005,7 @@ function Math_FastRandom_pickRandom__P2793_mk(s) { -function particles_AreaFactory_drawParticle__P2933(s) { +function particles_AreaFactory_drawParticle__P25244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50015,7 +50015,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___17026 = undefined; + s.col___42914 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50024,7 +50024,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C25237_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -50051,8 +50051,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___17026 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___1863; + s.col___42914 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___24174; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -50061,17 +50061,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___17026); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___42914); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P2933.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__P25244.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__P2933_mk(s) { +function particles_AreaFactory_drawParticle__P25244_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P2933, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P25244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50079,7 +50079,7 @@ function particles_AreaFactory_drawParticle__P2933_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___17026: undefined, + col___42914: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50090,7 +50090,7 @@ function particles_AreaFactory_drawParticle__P2933_mk(s) { -function particles_SprayFactory_drawParticle__P2923(s) { +function particles_SprayFactory_drawParticle__P25234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50108,8 +50108,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C2920_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___1863; + if (!checkSubtype(r0, particles_SprayFactory__C25231_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___24174; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -50123,12 +50123,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P2923.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__P25234.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__P2923_mk(s) { +function particles_SprayFactory_drawParticle__P25234_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P2923, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P25234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50145,7 +50145,7 @@ function particles_SprayFactory_drawParticle__P2923_mk(s) { -function scene_Renderable___drawCore__P2580(s) { +function scene_Renderable___drawCore__P24891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50161,19 +50161,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2577_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C24888_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___1863; + s.tmp_0.arg1 = globals.screen___24174; s.tmp_0.arg2 = s.arg1; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 880; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 880; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 880; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 880; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1056; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -50181,12 +50181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P2580.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__P24891.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__P2580_mk(s) { +function scene_Renderable___drawCore__P24891_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P2580, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P24891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50197,7 +50197,7 @@ function scene_Renderable___drawCore__P2580_mk(s) { -function scene_Renderable___visible__P2579(s) { +function scene_Renderable___visible__P24890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50212,29 +50212,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2577_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C24888_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "shouldBeVisible"), 1); - s.callLocIdx = 879; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1055; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["shouldBeVisible"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 879; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 879; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 879; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 1055; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1055; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1055; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P2579.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__P24890.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__P2579_mk(s) { +function scene_Renderable___visible__P24890_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P2579, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P24890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50244,7 +50244,7 @@ function scene_Renderable___visible__P2579_mk(s) { -function tiles_Location_top__P2479(s) { +function tiles_Location_top__P24790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50259,12 +50259,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P2473_mk(s); + s.tmp_3 = tiles_Location_tileMap__P24784_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 786; s.pc = 1; return s.tmp_3; + s.callLocIdx = 939; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -50274,13 +50274,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P2479.info = {"start":1791,"length":83,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"top","argumentNames":["this"]} -tiles_Location_top__P2479.isGetter = true; +tiles_Location_top__P24790.info = {"start":1791,"length":83,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"top","argumentNames":["this"]} +tiles_Location_top__P24790.isGetter = true; -function tiles_Location_top__P2479_mk(s) { +function tiles_Location_top__P24790_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P2479, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P24790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50293,7 +50293,7 @@ function tiles_Location_top__P2479_mk(s) { -function tiles_Location_left__P2478(s) { +function tiles_Location_left__P24789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50308,12 +50308,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2471_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C24782_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P2473_mk(s); + s.tmp_3 = tiles_Location_tileMap__P24784_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 784; s.pc = 1; return s.tmp_3; + s.callLocIdx = 937; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -50323,13 +50323,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P2478.info = {"start":1579,"length":84,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"left","argumentNames":["this"]} -tiles_Location_left__P2478.isGetter = true; +tiles_Location_left__P24789.info = {"start":1579,"length":84,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"left","argumentNames":["this"]} +tiles_Location_left__P24789.isGetter = true; -function tiles_Location_left__P2478_mk(s) { +function tiles_Location_left__P24789_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P2478, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P24789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50342,7 +50342,7 @@ function tiles_Location_left__P2478_mk(s) { -function Sprite___drawCore__P2237(s) { +function Sprite___drawCore__P24548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50352,27 +50352,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___16738 = undefined; - s.oy___16746 = undefined; - s.l___16754 = undefined; - s.t___16760 = undefined; + s.ox___42966 = undefined; + s.oy___42974 = undefined; + s.l___42982 = undefined; + s.t___42988 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P4357_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P26672_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 360; s.pc = 8; return s.tmp_0; + s.callLocIdx = 423; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P2236_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P24547_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 361; s.pc = 9; return s.tmp_1; + s.callLocIdx = 424; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -50394,7 +50394,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___16738 = (s.tmp_4); + s.ox___42966 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -50408,43 +50408,43 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___16746 = (s.tmp_2); - s.tmp_2 = Sprite_left__P2221_mk(s); + s.oy___42974 = (s.tmp_2); + s.tmp_2 = Sprite_left__P24532_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 362; s.pc = 10; return s.tmp_2; + s.callLocIdx = 425; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___16738); + r0 = (s.tmp_1 - s.ox___42966); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___16754 = (r0); - s.tmp_2 = Sprite_top__P2225_mk(s); + s.l___42982 = (r0); + s.tmp_2 = Sprite_top__P24536_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 363; s.pc = 11; return s.tmp_2; + s.callLocIdx = 426; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___16746); + r0 = (s.tmp_1 - s.oy___42974); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___16760 = (r0); - s.tmp_0 = Sprite__C2163_v6_3_mk(s); + s.t___42988 = (r0); + s.tmp_0 = Sprite__C24474_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___16754; - s.tmp_0.arg2 = s.t___16760; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2163_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___42982; + s.tmp_0.arg2 = s.t___42988; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C24474_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = Sprite_drawDebug__P4358_mk(s); + s.tmp_0 = Sprite_drawDebug__P26673_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___16754; - s.tmp_0.arg2 = s.t___16760; - s.tmp_0.arg3 = s.ox___16738; - s.tmp_0.arg4 = s.oy___16746; - s.callLocIdx = 364; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = s.l___42982; + s.tmp_0.arg2 = s.t___42988; + s.tmp_0.arg3 = s.ox___42966; + s.tmp_0.arg4 = s.oy___42974; + s.callLocIdx = 427; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 7: @@ -50452,22 +50452,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P2237.info = {"start":18194,"length":462,"line":613,"column":4,"endLine":626,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P24548.info = {"start":18194,"length":462,"line":613,"column":4,"endLine":626,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P2237_mk(s) { +function Sprite___drawCore__P24548_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P2237, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P24548, 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, - ox___16738: undefined, - oy___16746: undefined, - l___16754: undefined, - t___16760: undefined, + ox___42966: undefined, + oy___42974: undefined, + l___42982: undefined, + t___42988: undefined, arg0: undefined, arg1: undefined, } } @@ -50476,7 +50476,7 @@ function Sprite___drawCore__P2237_mk(s) { -function Sprite_drawSprite__P4359(s) { +function Sprite_drawSprite__P26674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50493,10 +50493,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P4356_mk(s); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P26671_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 455; s.pc = 3; return s.tmp_3; + s.callLocIdx = 518; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -50508,22 +50508,22 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___1863, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___24174, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P1786_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.tmp_0 = helpers_imageBlit__P24097_mk(s); + s.tmp_0.arg0 = globals.screen___24174; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P2219_mk(s); + s.tmp_1 = Sprite_width__P24530_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 456; s.pc = 5; return s.tmp_1; + s.callLocIdx = 519; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P2220_mk(s); + s.tmp_2 = Sprite_height__P24531_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 457; s.pc = 6; return s.tmp_2; + s.callLocIdx = 520; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg4 = r0; @@ -50541,7 +50541,7 @@ switch (step) { s.tmp_0.arg9 = r0; s.tmp_0.arg10 = true; s.tmp_0.arg11 = false; - s.callLocIdx = 458; s.pc = 4; return s.tmp_0; + s.callLocIdx = 521; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -50549,12 +50549,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P4359.info = {"start":35707,"length":514,"line":1115,"column":4,"endLine":1129,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P26674.info = {"start":35707,"length":514,"line":1115,"column":4,"endLine":1129,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P4359_mk(s) { +function Sprite_drawSprite__P26674_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P4359, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P26674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50570,7 +50570,7 @@ function Sprite_drawSprite__P4359_mk(s) { -function Sprite_drawDebug__P4358(s) { +function Sprite_drawDebug__P26673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50580,9 +50580,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___16784 = undefined; - s.tx___16788 = undefined; - s.ty___16790 = undefined; + s.font___43012 = undefined; + s.tx___43016 = undefined; + s.ty___43018 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50592,33 +50592,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); 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 = 9; continue; } - s.font___16784 = (globals.font5___1811); - s.tx___16788 = (s.arg1); + s.font___43012 = (globals.font5___24122); + s.tx___43016 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P2220_mk(s); + s.tmp_3 = Sprite_height__P24531_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 431; s.pc = 13; return s.tmp_3; + s.callLocIdx = 494; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___16790 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; + s.ty___43018 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P2176_mk(s); + s.tmp_7 = Sprite_x__P24487_mk(s); s.tmp_7.arg0 = s.arg0; - s.callLocIdx = 432; s.pc = 15; return s.tmp_7; + s.callLocIdx = 495; s.pc = 15; return s.tmp_7; case 15: r0 = s.retval; s.tmp_6 = r0; @@ -50637,9 +50637,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P2178_mk(s); + s.tmp_11 = Sprite_y__P24489_mk(s); s.tmp_11.arg0 = s.arg0; - s.callLocIdx = 433; s.pc = 17; return s.tmp_11; + s.callLocIdx = 496; s.pc = 17; return s.tmp_11; case 17: r0 = s.retval; s.tmp_10 = r0; @@ -50656,33 +50656,33 @@ 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___16788; - s.tmp_0.arg3 = s.ty___16790; + s.tmp_0.arg2 = s.tx___43016; + s.tmp_0.arg3 = s.ty___43018; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___16784; + s.tmp_0.arg5 = s.font___43012; s.tmp_0.arg6 = undefined; - s.callLocIdx = 434; s.pc = 14; return s.tmp_0; + s.callLocIdx = 497; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___16788; + s.tmp_0 = r0 = s.tx___43016; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___16784; + s.tmp_2.arg0 = s.font___43012; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 435; s.pc = 19; return s.tmp_2; } + else { s.callLocIdx = 498; s.pc = 19; return s.tmp_2; } } case 19: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___16788 = (r0); - s.tmp_1 = Sprite_vx__P2180_mk(s); + s.tx___43016 = (r0); + s.tmp_1 = Sprite_vx__P24491_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 436; s.pc = 20; return s.tmp_1; + s.callLocIdx = 499; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; @@ -50691,9 +50691,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2182_mk(s); + s.tmp_2 = Sprite_vy__P24493_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 437; s.pc = 21; return s.tmp_2; + s.callLocIdx = 500; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; case 2: @@ -50701,16 +50701,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___16790; + s.tmp_4 = r0 = s.ty___43018; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___16784; + s.tmp_7.arg0 = s.font___43012; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 438; s.pc = 22; return s.tmp_7; } + else { s.callLocIdx = 501; s.pc = 22; return s.tmp_7; } } case 22: r0 = s.retval; @@ -50718,12 +50718,12 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___16790 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_6 = Sprite_vx__P2180_mk(s); + s.ty___43018 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_6 = Sprite_vx__P24491_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 439; s.pc = 24; return s.tmp_6; + s.callLocIdx = 502; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5 = r0; @@ -50742,9 +50742,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P2182_mk(s); + s.tmp_10 = Sprite_vy__P24493_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 440; s.pc = 26; return s.tmp_10; + s.callLocIdx = 503; s.pc = 26; return s.tmp_10; case 26: r0 = s.retval; s.tmp_9 = r0; @@ -50761,19 +50761,19 @@ 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___16788; - s.tmp_0.arg3 = s.ty___16790; + s.tmp_0.arg2 = s.tx___43016; + s.tmp_0.arg3 = s.ty___43018; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___16784; + s.tmp_0.arg5 = s.font___43012; s.tmp_0.arg6 = undefined; - s.callLocIdx = 441; s.pc = 23; return s.tmp_0; + s.callLocIdx = 504; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P2184_mk(s); + s.tmp_1 = Sprite_ax__P24495_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 442; s.pc = 28; return s.tmp_1; + s.callLocIdx = 505; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; s.tmp_0 = r0; @@ -50782,9 +50782,9 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P2186_mk(s); + s.tmp_2 = Sprite_ay__P24497_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 443; s.pc = 29; return s.tmp_2; + s.callLocIdx = 506; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; case 6: @@ -50792,16 +50792,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___16790; + s.tmp_4 = r0 = s.ty___43018; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___16784; + s.tmp_7.arg0 = s.font___43012; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 444; s.pc = 30; return s.tmp_7; } + else { s.callLocIdx = 507; s.pc = 30; return s.tmp_7; } } case 30: r0 = s.retval; @@ -50809,12 +50809,12 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___16790 = (r0); - s.tmp_0 = helpers_imagePrint__P1821_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_6 = Sprite_ax__P2184_mk(s); + s.ty___43018 = (r0); + s.tmp_0 = helpers_imagePrint__P24132_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_6 = Sprite_ax__P24495_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 445; s.pc = 32; return s.tmp_6; + s.callLocIdx = 508; s.pc = 32; return s.tmp_6; case 32: r0 = s.retval; s.tmp_5 = r0; @@ -50833,9 +50833,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P2186_mk(s); + s.tmp_10 = Sprite_ay__P24497_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 446; s.pc = 34; return s.tmp_10; + s.callLocIdx = 509; s.pc = 34; return s.tmp_10; case 34: r0 = s.retval; s.tmp_9 = r0; @@ -50852,26 +50852,26 @@ 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___16788; - s.tmp_0.arg3 = s.ty___16790; + s.tmp_0.arg2 = s.tx___43016; + s.tmp_0.arg3 = s.ty___43018; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___16784; + s.tmp_0.arg5 = s.font___43012; s.tmp_0.arg6 = undefined; - s.callLocIdx = 447; s.pc = 31; return s.tmp_0; + s.callLocIdx = 510; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 7: case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___2729); + r0 = pxsim_numops_toBoolDecr(globals.debug___25040); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P1792_mk(s); - s.tmp_0.arg0 = globals.screen___1863; - s.tmp_3 = game_Hitbox_left__P2040_mk(s); + s.tmp_0 = helpers_imageDrawRect__P24103_mk(s); + s.tmp_0.arg0 = globals.screen___24174; + s.tmp_3 = game_Hitbox_left__P24351_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 448; s.pc = 37; return s.tmp_3; + s.callLocIdx = 511; s.pc = 37; return s.tmp_3; case 37: r0 = s.retval; s.tmp_2 = r0; @@ -50881,10 +50881,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P2041_mk(s); + s.tmp_7 = game_Hitbox_top__P24352_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 450; s.pc = 38; return s.tmp_7; + s.callLocIdx = 513; s.pc = 38; return s.tmp_7; case 38: r0 = s.retval; s.tmp_6 = r0; @@ -50909,7 +50909,7 @@ switch (step) { r0 = (s.tmp_12 >> 8); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 454; s.pc = 36; return s.tmp_0; + s.callLocIdx = 517; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; case 11: @@ -50918,12 +50918,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P4358.info = {"start":34609,"length":1092,"line":1085,"column":4,"endLine":1113,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P26673.info = {"start":34609,"length":1092,"line":1085,"column":4,"endLine":1113,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P4358_mk(s) { +function Sprite_drawDebug__P26673_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P4358, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P26673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50938,9 +50938,9 @@ function Sprite_drawDebug__P4358_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___16784: undefined, - tx___16788: undefined, - ty___16790: undefined, + font___43012: undefined, + tx___43016: undefined, + ty___43018: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50952,7 +50952,7 @@ function Sprite_drawDebug__P4358_mk(s) { -function Sprite_drawSay__P4357(s) { +function Sprite_drawSay__P26672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50968,7 +50968,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -50987,23 +50987,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C2083_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C24394_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___1863; + s.tmp_6.arg1 = globals.screen___24174; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C2083_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C24394_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy; s.pc = 8; return s.tmp_0; case 8: @@ -51013,13 +51013,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C2083_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C24394_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___1863; + s.tmp_0.arg1 = globals.screen___24174; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 9; return s.tmp_0; case 9: @@ -51031,12 +51031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P4357.info = {"start":34029,"length":574,"line":1067,"column":4,"endLine":1083,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P26672.info = {"start":34029,"length":574,"line":1067,"column":4,"endLine":1083,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P4357_mk(s) { +function Sprite_drawSay__P26672_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P4357, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P26672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51053,7 +51053,7 @@ function Sprite_drawSay__P4357_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P2087(s) { +function sprites_BaseSpriteSayRenderer_destroy__P24398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51068,17 +51068,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P2087.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__P24398.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__P2087_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P24398_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P2087, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P24398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -51087,7 +51087,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P2087_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P2085(s) { +function sprites_BaseSpriteSayRenderer_draw__P24396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51105,17 +51105,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2083_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C24394_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P2085.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__P24396.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__P2085_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P24396_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P2085, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P24396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51127,7 +51127,7 @@ function sprites_BaseSpriteSayRenderer_draw__P2085_mk(s) { -function Sprite___visible__P2218(s) { +function Sprite___visible__P24529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51142,7 +51142,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2163_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C24474_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -51153,12 +51153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P2218.info = {"start":9904,"length":72,"line":359,"column":4,"endLine":361,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P24529.info = {"start":9904,"length":72,"line":359,"column":4,"endLine":361,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P2218_mk(s) { +function Sprite___visible__P24529_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P2218, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P24529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51185,7 +51185,7 @@ function lambda_3_mk(s) { } } -function PhysicsEngine__C2333_v2_4_mk(s) { +function PhysicsEngine__C24644_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51202,7 +51202,7 @@ function PhysicsEngine__C2333_v2_4_mk(s) { } } -function PhysicsEngine__C2333_v0_2_mk(s) { +function PhysicsEngine__C24644_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51232,7 +51232,7 @@ function if_handler_2_mk(s) { } } -function Sprite__C2163_v5_1_mk(s) { +function Sprite__C24474_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51246,7 +51246,7 @@ function Sprite__C2163_v5_1_mk(s) { } } -function Sprite__C2163_v4_1_mk(s) { +function Sprite__C24474_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51319,7 +51319,7 @@ function if_callback_2_mk(s) { } } -function game_SplashDialog__C2706_v1_2_mk(s) { +function game_SplashDialog__C25017_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51334,7 +51334,7 @@ function game_SplashDialog__C2706_v1_2_mk(s) { } } -function game_BaseDialog__C2678_v0_1_mk(s) { +function game_BaseDialog__C24989_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51348,7 +51348,7 @@ function game_BaseDialog__C2678_v0_1_mk(s) { } } -function controller_Button__C2013_v0_1_mk(s) { +function controller_Button__C24324_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51405,7 +51405,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C2916_v0_2_mk(s) { +function particles_ParticleFactory__C25227_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51420,7 +51420,7 @@ function particles_ParticleFactory__C2916_v0_2_mk(s) { } } -function particles_ParticleSource__C2880_v4_3_mk(s) { +function particles_ParticleSource__C25191_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51478,7 +51478,7 @@ function lambda_1_mk(s) { } } -function PhysicsEngine__C2333_v4_2_mk(s) { +function PhysicsEngine__C24644_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51509,7 +51509,7 @@ function if___update_3_mk(s) { } } -function PhysicsEngine__C2333_v3_1_mk(s) { +function PhysicsEngine__C24644_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51692,7 +51692,7 @@ function if_vy_1_mk(s) { } } -function game_BaseDialog__C2678_v1_1_mk(s) { +function game_BaseDialog__C24989_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51751,7 +51751,7 @@ function if_startScreenEffect_1_mk(s) { } } -function game_GameOverDialog__C2717_v0_1_mk(s) { +function game_GameOverDialog__C25028_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51765,7 +51765,7 @@ function game_GameOverDialog__C2717_v0_1_mk(s) { } } -function game_GameOverDialog__C2717_v1_1_mk(s) { +function game_GameOverDialog__C25028_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -51871,7 +51871,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C2333_v1_2_mk(s) { +function PhysicsEngine__C24644_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52197,7 +52197,7 @@ function if_height_1_mk(s) { } } -function particles_ParticleFactory__C2916_v1_4_mk(s) { +function particles_ParticleFactory__C25227_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52214,7 +52214,7 @@ function particles_ParticleFactory__C2916_v1_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2083_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C24394_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52231,7 +52231,7 @@ function sprites_BaseSpriteSayRenderer__C2083_v1_4_mk(s) { } } -function sprites_BaseSprite__C1922_v0_1_mk(s) { +function sprites_BaseSprite__C24233_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52245,7 +52245,7 @@ function sprites_BaseSprite__C1922_v0_1_mk(s) { } } -function sprites_BaseSprite__C1922_v2_2_mk(s) { +function sprites_BaseSprite__C24233_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52274,7 +52274,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C2163_v6_3_mk(s) { +function Sprite__C24474_v6_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52290,7 +52290,7 @@ function Sprite__C2163_v6_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2083_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C24394_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52307,7 +52307,7 @@ function sprites_BaseSpriteSayRenderer__C2083_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2083_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C24394_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -52362,14 +52362,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C2013_VT = mkVTable({ +const controller_Button__C24324_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P2024, + "isPressed": controller_Button_isPressed__P24335, }, iface: { "_owner": null, @@ -52386,29 +52386,29 @@ const controller_Button__C2013_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P4331, - "toString": controller_Button_toString__P2018, - "raiseButtonUp": controller_Button_raiseButtonUp__P4332, - "raiseButtonDown": controller_Button_raiseButtonDown__P4333, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4334, - "onEvent": controller_Button_onEvent__P2020, - "isPressed": controller_Button_isPressed__P2024, - "pressureLevel": controller_Button_pressureLevel__P2025, - "setPressed": controller_Button_setPressed__P2026, - "__update": controller_Button___update__P2027, - "runButtonEvents": controller_Button_runButtonEvents__P4335, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4336, + "handlerState": controller_Button_handlerState__P26646, + "toString": controller_Button_toString__P24329, + "raiseButtonUp": controller_Button_raiseButtonUp__P26647, + "raiseButtonDown": controller_Button_raiseButtonDown__P26648, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P26649, + "onEvent": controller_Button_onEvent__P24331, + "isPressed": controller_Button_isPressed__P24335, + "pressureLevel": controller_Button_pressureLevel__P24336, + "setPressed": controller_Button_setPressed__P24337, + "__update": controller_Button___update__P24338, + "runButtonEvents": controller_Button_runButtonEvents__P26650, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P26651, }, - toStringMethod: controller_Button_toString__P2018, + toStringMethod: controller_Button_toString__P24329, }); -const controller_AnyButton__C4329_VT = mkVTable({ +const controller_AnyButton__C26644_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P4337, + "isPressed": controller_AnyButton_isPressed__P26652, }, iface: { "_owner": null, @@ -52425,21 +52425,21 @@ const controller_AnyButton__C4329_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P4337, - "handlerState": controller_Button_handlerState__P4331, - "toString": controller_Button_toString__P2018, - "raiseButtonUp": controller_Button_raiseButtonUp__P4332, - "raiseButtonDown": controller_Button_raiseButtonDown__P4333, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4334, - "onEvent": controller_Button_onEvent__P2020, - "pressureLevel": controller_Button_pressureLevel__P2025, - "setPressed": controller_Button_setPressed__P2026, - "__update": controller_Button___update__P2027, - "runButtonEvents": controller_Button_runButtonEvents__P4335, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4336, + "isPressed": controller_AnyButton_isPressed__P26652, + "handlerState": controller_Button_handlerState__P26646, + "toString": controller_Button_toString__P24329, + "raiseButtonUp": controller_Button_raiseButtonUp__P26647, + "raiseButtonDown": controller_Button_raiseButtonDown__P26648, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P26649, + "onEvent": controller_Button_onEvent__P24331, + "pressureLevel": controller_Button_pressureLevel__P24336, + "setPressed": controller_Button_setPressed__P24337, + "__update": controller_Button___update__P24338, + "runButtonEvents": controller_Button_runButtonEvents__P26650, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P26651, }, }); -const Math_FastRandom__C2788_VT = mkVTable({ +const Math_FastRandom__C25099_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -52452,12 +52452,12 @@ const Math_FastRandom__C2788_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P2791, - "randomRange": Math_FastRandom_randomRange__P2792, - "pickRandom": Math_FastRandom_pickRandom__P2793, + "next": Math_FastRandom_next__P25102, + "randomRange": Math_FastRandom_randomRange__P25103, + "pickRandom": Math_FastRandom_pickRandom__P25104, }, }); -const controller_Controller__C1962_VT = mkVTable({ +const controller_Controller__C24273_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 19, @@ -52476,47 +52476,47 @@ const controller_Controller__C1962_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P1967, - "set/_controlledSprites": controller_Controller__controlledSprites__P1968, - "id": controller_Controller_id__P1969, - "left": controller_Controller_left__P1971, - "right": controller_Controller_right__P1972, - "up": controller_Controller_up__P1973, - "down": controller_Controller_down__P1974, - "moveSprite": controller_Controller_moveSprite__P1978, - "button": controller_Controller_button__P4328, - "connected": controller_Controller_connected__P1981, - "set/connected": controller_Controller_connected__P1982, - "__preUpdate": controller_Controller___preUpdate__P1986, - "__update": controller_Controller___update__P1987, + "_controlledSprites": controller_Controller__controlledSprites__P24278, + "set/_controlledSprites": controller_Controller__controlledSprites__P24279, + "id": controller_Controller_id__P24280, + "left": controller_Controller_left__P24282, + "right": controller_Controller_right__P24283, + "up": controller_Controller_up__P24284, + "down": controller_Controller_down__P24285, + "moveSprite": controller_Controller_moveSprite__P24289, + "button": controller_Controller_button__P26643, + "connected": controller_Controller_connected__P24292, + "set/connected": controller_Controller_connected__P24293, + "__preUpdate": controller_Controller___preUpdate__P24297, + "__update": controller_Controller___update__P24298, }, }); -const sprites_BaseSprite__C1922_VT = mkVTable({ +const sprites_BaseSprite__C24233_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 20, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P1925, - "__draw": sprites_BaseSprite___draw__P1928, - "__drawCore": sprites_BaseSprite___drawCore__P1929, - "__update": sprites_BaseSprite___update__P1930, + "__visible": sprites_BaseSprite___visible__P24236, + "__draw": sprites_BaseSprite___draw__P24239, + "__drawCore": sprites_BaseSprite___drawCore__P24240, + "__update": sprites_BaseSprite___update__P24241, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P1925, - "z": sprites_BaseSprite_z__P1926, - "set/z": sprites_BaseSprite_z__P1927, - "__draw": sprites_BaseSprite___draw__P1928, - "__drawCore": sprites_BaseSprite___drawCore__P1929, - "__update": sprites_BaseSprite___update__P1930, + "__visible": sprites_BaseSprite___visible__P24236, + "z": sprites_BaseSprite_z__P24237, + "set/z": sprites_BaseSprite_z__P24238, + "__draw": sprites_BaseSprite___draw__P24239, + "__drawCore": sprites_BaseSprite___drawCore__P24240, + "__update": sprites_BaseSprite___update__P24241, }, }); -const controller_ControlledSprite__C1958_VT = mkVTable({ +const controller_ControlledSprite__C24269_VT = mkVTable({ name: "ControlledSprite", numFields: 4, classNo: 24, @@ -52535,20 +52535,20 @@ const controller_ControlledSprite__C1958_VT = mkVTable({ "set/vy": null, }, }); -const Sprite__C2163_VT = mkVTable({ +const Sprite__C24474_VT = mkVTable({ name: "Sprite", numFields: 30, classNo: 21, lastSubtypeNo: 21, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P2218, - "__draw": sprites_BaseSprite___draw__P1928, - "__drawCore": Sprite___drawCore__P2237, - "__update": Sprite___update__P2238, - "setHitbox": Sprite_setHitbox__P2216, - "recalcSize": Sprite_recalcSize__P4355, - "drawSprite": Sprite_drawSprite__P4359, + "__visible": Sprite___visible__P24529, + "__draw": sprites_BaseSprite___draw__P24239, + "__drawCore": Sprite___drawCore__P24548, + "__update": Sprite___update__P24549, + "setHitbox": Sprite_setHitbox__P24527, + "recalcSize": Sprite_recalcSize__P26670, + "drawSprite": Sprite_drawSprite__P26674, }, iface: { "_z": null, @@ -52611,68 +52611,68 @@ const Sprite__C2163_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P2176, - "set/x": Sprite_x__P2177, - "y": Sprite_y__P2178, - "set/y": Sprite_y__P2179, - "vx": Sprite_vx__P2180, - "set/vx": Sprite_vx__P2181, - "vy": Sprite_vy__P2182, - "set/vy": Sprite_vy__P2183, - "ax": Sprite_ax__P2184, - "set/ax": Sprite_ax__P2185, - "ay": Sprite_ay__P2186, - "set/ay": Sprite_ay__P2187, - "fx": Sprite_fx__P2188, - "set/fx": Sprite_fx__P2189, - "fy": Sprite_fy__P2190, - "set/fy": Sprite_fy__P2191, - "sx": Sprite_sx__P2192, - "sy": Sprite_sy__P2194, - "data": Sprite_data__P2198, - "set/data": Sprite_data__P2199, - "image": Sprite_image__P2212, - "setImage": Sprite_setImage__P2213, - "calcDimensionalHash": Sprite_calcDimensionalHash__P2214, - "resetHitbox": Sprite_resetHitbox__P2215, - "setHitbox": Sprite_setHitbox__P2216, - "isStatic": Sprite_isStatic__P2217, - "__visible": Sprite___visible__P2218, - "recalcSize": Sprite_recalcSize__P4355, - "isScaled": Sprite_isScaled__P4356, - "width": Sprite_width__P2219, - "height": Sprite_height__P2220, - "left": Sprite_left__P2221, - "set/left": Sprite_left__P2222, - "right": Sprite_right__P2223, - "set/right": Sprite_right__P2224, - "top": Sprite_top__P2225, - "set/top": Sprite_top__P2226, - "bottom": Sprite_bottom__P2227, - "set/bottom": Sprite_bottom__P2228, - "kind": Sprite_kind__P2229, - "setKind": Sprite_setKind__P2230, - "setPosition": Sprite_setPosition__P2231, - "isOutOfScreen": Sprite_isOutOfScreen__P2236, - "__drawCore": Sprite___drawCore__P2237, - "__update": Sprite___update__P2238, - "setFlag": Sprite_setFlag__P2241, - "overlapsWith": Sprite_overlapsWith__P2242, - "clearObstacles": Sprite_clearObstacles__P2247, - "registerObstacle": Sprite_registerObstacle__P2248, - "destroy": Sprite_destroy__P2250, - "_destroyCore": Sprite__destroyCore__P2251, - "toString": Sprite_toString__P2256, - "drawSay": Sprite_drawSay__P4357, - "drawDebug": Sprite_drawDebug__P4358, - "drawSprite": Sprite_drawSprite__P4359, - "z": sprites_BaseSprite_z__P1926, - "set/z": sprites_BaseSprite_z__P1927, - "__draw": sprites_BaseSprite___draw__P1928, + "x": Sprite_x__P24487, + "set/x": Sprite_x__P24488, + "y": Sprite_y__P24489, + "set/y": Sprite_y__P24490, + "vx": Sprite_vx__P24491, + "set/vx": Sprite_vx__P24492, + "vy": Sprite_vy__P24493, + "set/vy": Sprite_vy__P24494, + "ax": Sprite_ax__P24495, + "set/ax": Sprite_ax__P24496, + "ay": Sprite_ay__P24497, + "set/ay": Sprite_ay__P24498, + "fx": Sprite_fx__P24499, + "set/fx": Sprite_fx__P24500, + "fy": Sprite_fy__P24501, + "set/fy": Sprite_fy__P24502, + "sx": Sprite_sx__P24503, + "sy": Sprite_sy__P24505, + "data": Sprite_data__P24509, + "set/data": Sprite_data__P24510, + "image": Sprite_image__P24523, + "setImage": Sprite_setImage__P24524, + "calcDimensionalHash": Sprite_calcDimensionalHash__P24525, + "resetHitbox": Sprite_resetHitbox__P24526, + "setHitbox": Sprite_setHitbox__P24527, + "isStatic": Sprite_isStatic__P24528, + "__visible": Sprite___visible__P24529, + "recalcSize": Sprite_recalcSize__P26670, + "isScaled": Sprite_isScaled__P26671, + "width": Sprite_width__P24530, + "height": Sprite_height__P24531, + "left": Sprite_left__P24532, + "set/left": Sprite_left__P24533, + "right": Sprite_right__P24534, + "set/right": Sprite_right__P24535, + "top": Sprite_top__P24536, + "set/top": Sprite_top__P24537, + "bottom": Sprite_bottom__P24538, + "set/bottom": Sprite_bottom__P24539, + "kind": Sprite_kind__P24540, + "setKind": Sprite_setKind__P24541, + "setPosition": Sprite_setPosition__P24542, + "isOutOfScreen": Sprite_isOutOfScreen__P24547, + "__drawCore": Sprite___drawCore__P24548, + "__update": Sprite___update__P24549, + "setFlag": Sprite_setFlag__P24552, + "overlapsWith": Sprite_overlapsWith__P24553, + "clearObstacles": Sprite_clearObstacles__P24558, + "registerObstacle": Sprite_registerObstacle__P24559, + "destroy": Sprite_destroy__P24561, + "_destroyCore": Sprite__destroyCore__P24562, + "toString": Sprite_toString__P24567, + "drawSay": Sprite_drawSay__P26672, + "drawDebug": Sprite_drawDebug__P26673, + "drawSprite": Sprite_drawSprite__P26674, + "z": sprites_BaseSprite_z__P24237, + "set/z": sprites_BaseSprite_z__P24238, + "__draw": sprites_BaseSprite___draw__P24239, }, - toStringMethod: Sprite_toString__P2256, + toStringMethod: Sprite_toString__P24567, }); -const tiles_Location__C2471_VT = mkVTable({ +const tiles_Location__C24782_VT = mkVTable({ name: "Location", numFields: 2, classNo: 25, @@ -52685,18 +52685,18 @@ const tiles_Location__C2471_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P2473, - "column": tiles_Location_column__P2474, - "row": tiles_Location_row__P2475, - "x": tiles_Location_x__P2476, - "y": tiles_Location_y__P2477, - "left": tiles_Location_left__P2478, - "top": tiles_Location_top__P2479, - "tileSet": tiles_Location_tileSet__P2482, - "place": tiles_Location_place__P2487, + "tileMap": tiles_Location_tileMap__P24784, + "column": tiles_Location_column__P24785, + "row": tiles_Location_row__P24786, + "x": tiles_Location_x__P24787, + "y": tiles_Location_y__P24788, + "left": tiles_Location_left__P24789, + "top": tiles_Location_top__P24790, + "tileSet": tiles_Location_tileSet__P24793, + "place": tiles_Location_place__P24798, }, }); -const tiles_TileMap__C2513_VT = mkVTable({ +const tiles_TileMap__C24824_VT = mkVTable({ name: "TileMap", numFields: 5, classNo: 26, @@ -52715,29 +52715,29 @@ const tiles_TileMap__C2513_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P2516, - "set/scale": tiles_TileMap_scale__P2517, - "data": tiles_TileMap_data__P2518, - "offsetX": tiles_TileMap_offsetX__P2519, - "offsetY": tiles_TileMap_offsetY__P2520, - "areaWidth": tiles_TileMap_areaWidth__P2521, - "areaHeight": tiles_TileMap_areaHeight__P2522, - "layer": tiles_TileMap_layer__P2523, - "enabled": tiles_TileMap_enabled__P2525, - "setData": tiles_TileMap_setData__P2526, - "getTile": tiles_TileMap_getTile__P2527, - "getTileIndex": tiles_TileMap_getTileIndex__P2528, - "getImageType": tiles_TileMap_getImageType__P2530, - "sampleTilesByType": tiles_TileMap_sampleTilesByType__P2533, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P4474, - "draw": tiles_TileMap_draw__P4475, - "isObstacle": tiles_TileMap_isObstacle__P2534, - "getObstacle": tiles_TileMap_getObstacle__P2535, - "isOnWall": tiles_TileMap_isOnWall__P2536, - "getTileImage": tiles_TileMap_getTileImage__P2537, + "scale": tiles_TileMap_scale__P24827, + "set/scale": tiles_TileMap_scale__P24828, + "data": tiles_TileMap_data__P24829, + "offsetX": tiles_TileMap_offsetX__P24830, + "offsetY": tiles_TileMap_offsetY__P24831, + "areaWidth": tiles_TileMap_areaWidth__P24832, + "areaHeight": tiles_TileMap_areaHeight__P24833, + "layer": tiles_TileMap_layer__P24834, + "enabled": tiles_TileMap_enabled__P24836, + "setData": tiles_TileMap_setData__P24837, + "getTile": tiles_TileMap_getTile__P24838, + "getTileIndex": tiles_TileMap_getTileIndex__P24839, + "getImageType": tiles_TileMap_getImageType__P24841, + "sampleTilesByType": tiles_TileMap_sampleTilesByType__P24844, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P26789, + "draw": tiles_TileMap_draw__P26790, + "isObstacle": tiles_TileMap_isObstacle__P24845, + "getObstacle": tiles_TileMap_getObstacle__P24846, + "isOnWall": tiles_TileMap_isOnWall__P24847, + "getTileImage": tiles_TileMap_getTileImage__P24848, }, }); -const tiles_TileMapData__C2495_VT = mkVTable({ +const tiles_TileMapData__C24806_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 27, @@ -52760,39 +52760,39 @@ const tiles_TileMapData__C2495_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P2497, - "height": tiles_TileMapData_height__P2498, - "scale": tiles_TileMapData_scale__P2499, - "set/scale": tiles_TileMapData_scale__P2500, - "getTile": tiles_TileMapData_getTile__P2501, - "getTileset": tiles_TileMapData_getTileset__P2503, - "getTileImage": tiles_TileMapData_getTileImage__P2504, - "isWall": tiles_TileMapData_isWall__P2506, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P2507, + "width": tiles_TileMapData_width__P24808, + "height": tiles_TileMapData_height__P24809, + "scale": tiles_TileMapData_scale__P24810, + "set/scale": tiles_TileMapData_scale__P24811, + "getTile": tiles_TileMapData_getTile__P24812, + "getTileset": tiles_TileMapData_getTileset__P24814, + "getTileImage": tiles_TileMapData_getTileImage__P24815, + "isWall": tiles_TileMapData_isWall__P24817, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P24818, }, }); -const PhysicsEngine__C2333_VT = mkVTable({ +const PhysicsEngine__C24644_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 28, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P2335, - "removeSprite": PhysicsEngine_removeSprite__P2336, - "moveSprite": PhysicsEngine_moveSprite__P2337, - "draw": PhysicsEngine_draw__P2338, - "move": PhysicsEngine_move__P2339, + "addSprite": PhysicsEngine_addSprite__P24646, + "removeSprite": PhysicsEngine_removeSprite__P24647, + "moveSprite": PhysicsEngine_moveSprite__P24648, + "draw": PhysicsEngine_draw__P24649, + "move": PhysicsEngine_move__P24650, }, iface: { - "addSprite": PhysicsEngine_addSprite__P2335, - "removeSprite": PhysicsEngine_removeSprite__P2336, - "moveSprite": PhysicsEngine_moveSprite__P2337, - "draw": PhysicsEngine_draw__P2338, - "move": PhysicsEngine_move__P2339, + "addSprite": PhysicsEngine_addSprite__P24646, + "removeSprite": PhysicsEngine_removeSprite__P24647, + "moveSprite": PhysicsEngine_moveSprite__P24648, + "draw": PhysicsEngine_draw__P24649, + "move": PhysicsEngine_move__P24650, }, }); -const sprites_SpriteSet__C2285_VT = mkVTable({ +const sprites_SpriteSet__C24596_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 30, @@ -52803,15 +52803,15 @@ const sprites_SpriteSet__C2285_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P2288, - "add": sprites_SpriteSet_add__P2290, - "remove": sprites_SpriteSet_remove__P2292, - "contains": sprites_SpriteSet_contains__P2293, - "toString": sprites_SpriteSet_toString__P2296, + "length": sprites_SpriteSet_length__P24599, + "add": sprites_SpriteSet_add__P24601, + "remove": sprites_SpriteSet_remove__P24603, + "contains": sprites_SpriteSet_contains__P24604, + "toString": sprites_SpriteSet_toString__P24607, }, - toStringMethod: sprites_SpriteSet_toString__P2296, + toStringMethod: sprites_SpriteSet_toString__P24607, }); -const game_Hitbox__C2032_VT = mkVTable({ +const game_Hitbox__C24343_VT = mkVTable({ name: "Hitbox", numFields: 6, classNo: 31, @@ -52832,17 +52832,17 @@ const game_Hitbox__C2032_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P2040, - "top": game_Hitbox_top__P2041, - "right": game_Hitbox_right__P2042, - "bottom": game_Hitbox_bottom__P2043, - "isValid": game_Hitbox_isValid__P2044, - "contains": game_Hitbox_contains__P2045, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P2046, - "overlapsWith": game_Hitbox_overlapsWith__P2047, + "left": game_Hitbox_left__P24351, + "top": game_Hitbox_top__P24352, + "right": game_Hitbox_right__P24353, + "bottom": game_Hitbox_bottom__P24354, + "isValid": game_Hitbox_isValid__P24355, + "contains": game_Hitbox_contains__P24356, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P24357, + "overlapsWith": game_Hitbox_overlapsWith__P24358, }, }); -const scene_Scene__C2619_VT = mkVTable({ +const scene_Scene__C24930_VT = mkVTable({ name: "Scene", numFields: 24, classNo: 32, @@ -52899,25 +52899,25 @@ const scene_Scene__C2619_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P2642, - "data": scene_Scene_data__P2643, - "millis": scene_Scene_millis__P2644, - "addSprite": scene_Scene_addSprite__P2645, - "destroy": scene_Scene_destroy__P2646, - "render": scene_Scene_render__P2647, + "init": scene_Scene_init__P24953, + "data": scene_Scene_data__P24954, + "millis": scene_Scene_millis__P24955, + "addSprite": scene_Scene_addSprite__P24956, + "destroy": scene_Scene_destroy__P24957, + "render": scene_Scene_render__P24958, }, }); -const scene_Renderable__C2577_VT = mkVTable({ +const scene_Renderable__C24888_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P2579, - "__draw": sprites_BaseSprite___draw__P1928, - "__drawCore": scene_Renderable___drawCore__P2580, - "__update": sprites_BaseSprite___update__P1930, + "__visible": scene_Renderable___visible__P24890, + "__draw": sprites_BaseSprite___draw__P24239, + "__drawCore": scene_Renderable___drawCore__P24891, + "__update": sprites_BaseSprite___update__P24241, }, iface: { "_z": null, @@ -52928,24 +52928,24 @@ const scene_Renderable__C2577_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P2579, - "__drawCore": scene_Renderable___drawCore__P2580, - "z": sprites_BaseSprite_z__P1926, - "set/z": sprites_BaseSprite_z__P1927, - "__draw": sprites_BaseSprite___draw__P1928, - "__update": sprites_BaseSprite___update__P1930, + "__visible": scene_Renderable___visible__P24890, + "__drawCore": scene_Renderable___drawCore__P24891, + "z": sprites_BaseSprite_z__P24237, + "set/z": sprites_BaseSprite_z__P24238, + "__draw": sprites_BaseSprite___draw__P24239, + "__update": sprites_BaseSprite___update__P24241, }, }); -const game_BaseDialog__C2678_VT = mkVTable({ +const game_BaseDialog__C24989_VT = mkVTable({ name: "BaseDialog", numFields: 11, classNo: 33, lastSubtypeNo: 35, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2691, - "setText": game_BaseDialog_setText__P2692, - "drawTextCore": game_BaseDialog_drawTextCore__P2693, + "update": game_BaseDialog_update__P25002, + "setText": game_BaseDialog_setText__P25003, + "drawTextCore": game_BaseDialog_drawTextCore__P25004, }, iface: { "image": null, @@ -52970,30 +52970,30 @@ const game_BaseDialog__C2678_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "update": game_BaseDialog_update__P2691, - "setText": game_BaseDialog_setText__P2692, - "drawTextCore": game_BaseDialog_drawTextCore__P2693, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2694, - "drawBorder": game_BaseDialog_drawBorder__P4504, - "fastFill": game_BaseDialog_fastFill__P4505, - "clearInterior": game_BaseDialog_clearInterior__P4506, - "drawPartial": game_BaseDialog_drawPartial__P4507, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4508, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4510, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4511, - "setFont": game_BaseDialog_setFont__P4512, + "update": game_BaseDialog_update__P25002, + "setText": game_BaseDialog_setText__P25003, + "drawTextCore": game_BaseDialog_drawTextCore__P25004, + "drawCursorRow": game_BaseDialog_drawCursorRow__P25005, + "drawBorder": game_BaseDialog_drawBorder__P26819, + "fastFill": game_BaseDialog_fastFill__P26820, + "clearInterior": game_BaseDialog_clearInterior__P26821, + "drawPartial": game_BaseDialog_drawPartial__P26822, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P26823, + "textAreaWidth": game_BaseDialog_textAreaWidth__P26825, + "textAreaHeight": game_BaseDialog_textAreaHeight__P26826, + "setFont": game_BaseDialog_setFont__P26827, }, }); -const game_SplashDialog__C2706_VT = mkVTable({ +const game_SplashDialog__C25017_VT = mkVTable({ name: "SplashDialog", numFields: 17, classNo: 34, lastSubtypeNo: 34, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2691, - "setText": game_SplashDialog_setText__P2714, - "drawTextCore": game_SplashDialog_drawTextCore__P2716, + "update": game_BaseDialog_update__P25002, + "setText": game_SplashDialog_setText__P25025, + "drawTextCore": game_SplashDialog_drawTextCore__P25027, }, iface: { "image": null, @@ -53030,23 +53030,23 @@ const game_SplashDialog__C2706_VT = mkVTable({ "set/maxOffset": null, "maxSubOffset": null, "set/maxSubOffset": null, - "updateFont": game_SplashDialog_updateFont__P4515, - "setText": game_SplashDialog_setText__P2714, - "setSubtext": game_SplashDialog_setSubtext__P2715, - "drawTextCore": game_SplashDialog_drawTextCore__P2716, - "update": game_BaseDialog_update__P2691, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2694, - "drawBorder": game_BaseDialog_drawBorder__P4504, - "fastFill": game_BaseDialog_fastFill__P4505, - "clearInterior": game_BaseDialog_clearInterior__P4506, - "drawPartial": game_BaseDialog_drawPartial__P4507, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4508, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4510, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4511, - "setFont": game_BaseDialog_setFont__P4512, + "updateFont": game_SplashDialog_updateFont__P26830, + "setText": game_SplashDialog_setText__P25025, + "setSubtext": game_SplashDialog_setSubtext__P25026, + "drawTextCore": game_SplashDialog_drawTextCore__P25027, + "update": game_BaseDialog_update__P25002, + "drawCursorRow": game_BaseDialog_drawCursorRow__P25005, + "drawBorder": game_BaseDialog_drawBorder__P26819, + "fastFill": game_BaseDialog_fastFill__P26820, + "clearInterior": game_BaseDialog_clearInterior__P26821, + "drawPartial": game_BaseDialog_drawPartial__P26822, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P26823, + "textAreaWidth": game_BaseDialog_textAreaWidth__P26825, + "textAreaHeight": game_BaseDialog_textAreaHeight__P26826, + "setFont": game_BaseDialog_setFont__P26827, }, }); -const control_EventContext__C395_VT = mkVTable({ +const control_EventContext__C22706_VT = mkVTable({ name: "EventContext", numFields: 10, classNo: 36, @@ -53075,16 +53075,16 @@ const control_EventContext__C395_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P400, - "runCallbacks": control_EventContext_runCallbacks__P4161, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P4162, - "register": control_EventContext_register__P401, - "unregister": control_EventContext_unregister__P402, - "registerFrameHandler": control_EventContext_registerFrameHandler__P403, - "registerHandler": control_EventContext_registerHandler__P405, + "deltaTime": control_EventContext_deltaTime__P22711, + "runCallbacks": control_EventContext_runCallbacks__P26476, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P26477, + "register": control_EventContext_register__P22712, + "unregister": control_EventContext_unregister__P22713, + "registerFrameHandler": control_EventContext_registerFrameHandler__P22714, + "registerHandler": control_EventContext_registerHandler__P22716, }, }); -const control_FrameCallback__C392_VT = mkVTable({ +const control_FrameCallback__C22703_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 37, @@ -53099,18 +53099,18 @@ const control_FrameCallback__C392_VT = mkVTable({ "set/handler": null, }, }); -const particles_ParticleSource__C2880_VT = mkVTable({ +const particles_ParticleSource__C25191_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P1925, - "__draw": particles_ParticleSource___draw__P2886, - "__drawCore": sprites_BaseSprite___drawCore__P1929, - "__update": sprites_BaseSprite___update__P1930, - "updateParticle": particles_ParticleSource_updateParticle__P4871, + "__visible": sprites_BaseSprite___visible__P24236, + "__draw": particles_ParticleSource___draw__P25197, + "__drawCore": sprites_BaseSprite___drawCore__P24240, + "__update": sprites_BaseSprite___update__P24241, + "updateParticle": particles_ParticleSource_updateParticle__P27186, }, iface: { "_z": null, @@ -53139,29 +53139,29 @@ const particles_ParticleSource__C2880_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P2886, - "_update": particles_ParticleSource__update__P2887, - "_prune": particles_ParticleSource__prune__P2888, - "setAcceleration": particles_ParticleSource_setAcceleration__P2889, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P2891, - "enabled": particles_ParticleSource_enabled__P2892, - "set/enabled": particles_ParticleSource_enabled__P2893, - "destroy": particles_ParticleSource_destroy__P2894, - "clear": particles_ParticleSource_clear__P2895, - "setAnchor": particles_ParticleSource_setAnchor__P2896, - "setRate": particles_ParticleSource_setRate__P2897, - "factory": particles_ParticleSource_factory__P2898, - "setFactory": particles_ParticleSource_setFactory__P2899, - "updateParticle": particles_ParticleSource_updateParticle__P4871, - "drawParticle": particles_ParticleSource_drawParticle__P4872, - "__visible": sprites_BaseSprite___visible__P1925, - "z": sprites_BaseSprite_z__P1926, - "set/z": sprites_BaseSprite_z__P1927, - "__drawCore": sprites_BaseSprite___drawCore__P1929, - "__update": sprites_BaseSprite___update__P1930, + "__draw": particles_ParticleSource___draw__P25197, + "_update": particles_ParticleSource__update__P25198, + "_prune": particles_ParticleSource__prune__P25199, + "setAcceleration": particles_ParticleSource_setAcceleration__P25200, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P25202, + "enabled": particles_ParticleSource_enabled__P25203, + "set/enabled": particles_ParticleSource_enabled__P25204, + "destroy": particles_ParticleSource_destroy__P25205, + "clear": particles_ParticleSource_clear__P25206, + "setAnchor": particles_ParticleSource_setAnchor__P25207, + "setRate": particles_ParticleSource_setRate__P25208, + "factory": particles_ParticleSource_factory__P25209, + "setFactory": particles_ParticleSource_setFactory__P25210, + "updateParticle": particles_ParticleSource_updateParticle__P27186, + "drawParticle": particles_ParticleSource_drawParticle__P27187, + "__visible": sprites_BaseSprite___visible__P24236, + "z": sprites_BaseSprite_z__P24237, + "set/z": sprites_BaseSprite_z__P24238, + "__drawCore": sprites_BaseSprite___drawCore__P24240, + "__update": sprites_BaseSprite___update__P24241, }, }); -const control_EventHandler__C4156_VT = mkVTable({ +const control_EventHandler__C26471_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 38, @@ -53178,11 +53178,11 @@ const control_EventHandler__C4156_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P4157, - "unregister": control_EventHandler_unregister__P4158, + "register": control_EventHandler_register__P26472, + "unregister": control_EventHandler_unregister__P26473, }, }); -const effects_ImageEffect__C3018_VT = mkVTable({ +const effects_ImageEffect__C25329_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 39, @@ -53199,12 +53199,12 @@ const effects_ImageEffect__C3018_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P3020, - "change": effects_ImageEffect_change__P3021, - "startScreenEffect": effects_ImageEffect_startScreenEffect__P3022, + "applyTo": effects_ImageEffect_applyTo__P25331, + "change": effects_ImageEffect_change__P25332, + "startScreenEffect": effects_ImageEffect_startScreenEffect__P25333, }, }); -const effects_ParticleEffect__C2991_VT = mkVTable({ +const effects_ParticleEffect__C25302_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 40, @@ -53219,11 +53219,11 @@ const effects_ParticleEffect__C2991_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P2993, - "destroy": effects_ParticleEffect_destroy__P2994, + "start": effects_ParticleEffect_start__P25304, + "destroy": effects_ParticleEffect_destroy__P25305, }, }); -const effects_ScreenEffect__C2995_VT = mkVTable({ +const effects_ScreenEffect__C25306_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 41, @@ -53242,36 +53242,36 @@ const effects_ScreenEffect__C2995_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "startScreenEffect": effects_ScreenEffect_startScreenEffect__P2997, - "endScreenEffect": effects_ScreenEffect_endScreenEffect__P2998, - "start": effects_ParticleEffect_start__P2993, - "destroy": effects_ParticleEffect_destroy__P2994, + "startScreenEffect": effects_ScreenEffect_startScreenEffect__P25308, + "endScreenEffect": effects_ScreenEffect_endScreenEffect__P25309, + "start": effects_ParticleEffect_start__P25304, + "destroy": effects_ParticleEffect_destroy__P25305, }, }); -const particles_ParticleFactory__C2916_VT = mkVTable({ +const particles_ParticleFactory__C25227_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 42, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P2918, - "drawParticle": particles_ParticleFactory_drawParticle__P2919, + "createParticle": particles_ParticleFactory_createParticle__P25229, + "drawParticle": particles_ParticleFactory_drawParticle__P25230, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P2918, - "drawParticle": particles_ParticleFactory_drawParticle__P2919, + "createParticle": particles_ParticleFactory_createParticle__P25229, + "drawParticle": particles_ParticleFactory_drawParticle__P25230, }, }); -const particles_SprayFactory__C2920_VT = mkVTable({ +const particles_SprayFactory__C25231_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 43, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P2922, - "drawParticle": particles_SprayFactory_drawParticle__P2923, + "createParticle": particles_SprayFactory_createParticle__P25233, + "drawParticle": particles_SprayFactory_drawParticle__P25234, }, iface: { "speed": null, @@ -53280,21 +53280,21 @@ const particles_SprayFactory__C2920_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P2922, - "drawParticle": particles_SprayFactory_drawParticle__P2923, - "setSpeed": particles_SprayFactory_setSpeed__P2924, - "setDirection": particles_SprayFactory_setDirection__P2925, + "createParticle": particles_SprayFactory_createParticle__P25233, + "drawParticle": particles_SprayFactory_drawParticle__P25234, + "setSpeed": particles_SprayFactory_setSpeed__P25235, + "setDirection": particles_SprayFactory_setDirection__P25236, }, }); -const particles_AreaFactory__C2926_VT = mkVTable({ +const particles_AreaFactory__C25237_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 44, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P2932, - "drawParticle": particles_AreaFactory_drawParticle__P2933, + "createParticle": particles_AreaFactory_createParticle__P25243, + "drawParticle": particles_AreaFactory_drawParticle__P25244, }, iface: { "speed": null, @@ -53313,21 +53313,21 @@ const particles_AreaFactory__C2926_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P2932, - "drawParticle": particles_AreaFactory_drawParticle__P2933, - "setSpeed": particles_SprayFactory_setSpeed__P2924, - "setDirection": particles_SprayFactory_setDirection__P2925, + "createParticle": particles_AreaFactory_createParticle__P25243, + "drawParticle": particles_AreaFactory_drawParticle__P25244, + "setSpeed": particles_SprayFactory_setSpeed__P25235, + "setDirection": particles_SprayFactory_setDirection__P25236, }, }); -const particles_ShapeFactory__C2942_VT = mkVTable({ +const particles_ShapeFactory__C25253_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 45, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P2946, - "drawParticle": particles_ShapeFactory_drawParticle__P2945, + "createParticle": particles_ShapeFactory_createParticle__P25257, + "drawParticle": particles_ShapeFactory_drawParticle__P25256, }, iface: { "speed": null, @@ -53352,22 +53352,22 @@ const particles_ShapeFactory__C2942_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P2944, - "drawParticle": particles_ShapeFactory_drawParticle__P2945, - "createParticle": particles_ShapeFactory_createParticle__P2946, - "setSpeed": particles_SprayFactory_setSpeed__P2924, - "setDirection": particles_SprayFactory_setDirection__P2925, + "addShape": particles_ShapeFactory_addShape__P25255, + "drawParticle": particles_ShapeFactory_drawParticle__P25256, + "createParticle": particles_ShapeFactory_createParticle__P25257, + "setSpeed": particles_SprayFactory_setSpeed__P25235, + "setDirection": particles_SprayFactory_setDirection__P25236, }, }); -const particles_ConfettiFactory__C2947_VT = mkVTable({ +const particles_ConfettiFactory__C25258_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 46, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P2946, - "drawParticle": particles_ShapeFactory_drawParticle__P2945, + "createParticle": particles_ShapeFactory_createParticle__P25257, + "drawParticle": particles_ShapeFactory_drawParticle__P25256, }, iface: { "speed": null, @@ -53392,14 +53392,14 @@ const particles_ConfettiFactory__C2947_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P2944, - "drawParticle": particles_ShapeFactory_drawParticle__P2945, - "createParticle": particles_ShapeFactory_createParticle__P2946, - "setSpeed": particles_SprayFactory_setSpeed__P2924, - "setDirection": particles_SprayFactory_setDirection__P2925, + "addShape": particles_ShapeFactory_addShape__P25255, + "drawParticle": particles_ShapeFactory_drawParticle__P25256, + "createParticle": particles_ShapeFactory_createParticle__P25257, + "setSpeed": particles_SprayFactory_setSpeed__P25235, + "setDirection": particles_SprayFactory_setDirection__P25236, }, }); -const particles_Particle__C2861_VT = mkVTable({ +const particles_Particle__C25172_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 47, @@ -53426,7 +53426,7 @@ const particles_Particle__C2861_VT = mkVTable({ "set/color": null, }, }); -const scene_Camera__C2559_VT = mkVTable({ +const scene_Camera__C24870_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 48, @@ -53451,18 +53451,18 @@ const scene_Camera__C2559_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P2564, - "set/offsetX": scene_Camera_offsetX__P2565, - "offsetY": scene_Camera_offsetY__P2566, - "set/offsetY": scene_Camera_offsetY__P2567, - "x": scene_Camera_x__P2568, - "y": scene_Camera_y__P2569, - "left": scene_Camera_left__P2570, - "top": scene_Camera_top__P2572, - "update": scene_Camera_update__P2575, + "offsetX": scene_Camera_offsetX__P24875, + "set/offsetX": scene_Camera_offsetX__P24876, + "offsetY": scene_Camera_offsetY__P24877, + "set/offsetY": scene_Camera_offsetY__P24878, + "x": scene_Camera_x__P24879, + "y": scene_Camera_y__P24880, + "left": scene_Camera_left__P24881, + "top": scene_Camera_top__P24883, + "update": scene_Camera_update__P24886, }, }); -const scene_Background__C2447_VT = mkVTable({ +const scene_Background__C24758_VT = mkVTable({ name: "Background", numFields: 4, classNo: 49, @@ -53479,13 +53479,13 @@ const scene_Background__C2447_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P2453, - "set/image": scene_Background_image__P2454, - "hasBackgroundImage": scene_Background_hasBackgroundImage__P2455, - "draw": scene_Background_draw__P2456, + "image": scene_Background_image__P24764, + "set/image": scene_Background_image__P24765, + "hasBackgroundImage": scene_Background_hasBackgroundImage__P24766, + "draw": scene_Background_draw__P24767, }, }); -const scene_BackgroundLayer__C2457_VT = mkVTable({ +const scene_BackgroundLayer__C24768_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 50, @@ -53506,21 +53506,21 @@ const scene_BackgroundLayer__C2457_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P2465, + "draw": scene_BackgroundLayer_draw__P24776, }, }); -const ArcadePhysicsEngine__C2349_VT = mkVTable({ +const ArcadePhysicsEngine__C24660_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 29, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P2358, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2359, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2363, - "draw": ArcadePhysicsEngine_draw__P2360, - "move": ArcadePhysicsEngine_move__P2361, + "addSprite": ArcadePhysicsEngine_addSprite__P24669, + "removeSprite": ArcadePhysicsEngine_removeSprite__P24670, + "moveSprite": ArcadePhysicsEngine_moveSprite__P24674, + "draw": ArcadePhysicsEngine_draw__P24671, + "move": ArcadePhysicsEngine_move__P24672, }, iface: { "sprites": null, @@ -53535,27 +53535,27 @@ const ArcadePhysicsEngine__C2349_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2351, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2352, - "minStep": ArcadePhysicsEngine_minStep__P2353, - "set/minStep": ArcadePhysicsEngine_minStep__P2354, - "maxStep": ArcadePhysicsEngine_maxStep__P2355, - "set/maxStep": ArcadePhysicsEngine_maxStep__P2356, - "addSprite": ArcadePhysicsEngine_addSprite__P2358, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2359, - "draw": ArcadePhysicsEngine_draw__P2360, - "move": ArcadePhysicsEngine_move__P2361, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4400, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4401, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P4402, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4403, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4404, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2363, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4405, - "constrain": ArcadePhysicsEngine_constrain__P4406, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P24662, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P24663, + "minStep": ArcadePhysicsEngine_minStep__P24664, + "set/minStep": ArcadePhysicsEngine_minStep__P24665, + "maxStep": ArcadePhysicsEngine_maxStep__P24666, + "set/maxStep": ArcadePhysicsEngine_maxStep__P24667, + "addSprite": ArcadePhysicsEngine_addSprite__P24669, + "removeSprite": ArcadePhysicsEngine_removeSprite__P24670, + "draw": ArcadePhysicsEngine_draw__P24671, + "move": ArcadePhysicsEngine_move__P24672, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P26715, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P26716, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P26717, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P26718, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P26719, + "moveSprite": ArcadePhysicsEngine_moveSprite__P24674, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P26720, + "constrain": ArcadePhysicsEngine_constrain__P26721, }, }); -const sprites_SpriteMap__C2268_VT = mkVTable({ +const sprites_SpriteMap__C24579_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 51, @@ -53574,20 +53574,20 @@ const sprites_SpriteMap__C2268_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P2270, - "overlaps": sprites_SpriteMap_overlaps__P2271, - "draw": sprites_SpriteMap_draw__P2272, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2273, - "clear": sprites_SpriteMap_clear__P2274, - "key": sprites_SpriteMap_key__P4363, - "insertAtKey": sprites_SpriteMap_insertAtKey__P4364, - "insertAABB": sprites_SpriteMap_insertAABB__P2275, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4365, - "toString": sprites_SpriteMap_toString__P2276, + "neighbors": sprites_SpriteMap_neighbors__P24581, + "overlaps": sprites_SpriteMap_overlaps__P24582, + "draw": sprites_SpriteMap_draw__P24583, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P24584, + "clear": sprites_SpriteMap_clear__P24585, + "key": sprites_SpriteMap_key__P26678, + "insertAtKey": sprites_SpriteMap_insertAtKey__P26679, + "insertAABB": sprites_SpriteMap_insertAABB__P24586, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P26680, + "toString": sprites_SpriteMap_toString__P24587, }, - toStringMethod: sprites_SpriteMap_toString__P2276, + toStringMethod: sprites_SpriteMap_toString__P24587, }); -const music_Melody__C1612_VT = mkVTable({ +const music_Melody__C23923_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 52, @@ -53600,16 +53600,16 @@ const music_Melody__C1612_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "stop": music_Melody_stop__P1617, - "registerMelody": music_Melody_registerMelody__P4203, - "unregisterMelody": music_Melody_unregisterMelody__P4204, - "playCore": music_Melody_playCore__P4205, - "play": music_Melody_play__P1619, - "toString": music_Melody_toString__P1621, + "stop": music_Melody_stop__P23928, + "registerMelody": music_Melody_registerMelody__P26518, + "unregisterMelody": music_Melody_unregisterMelody__P26519, + "playCore": music_Melody_playCore__P26520, + "play": music_Melody_play__P23930, + "toString": music_Melody_toString__P23932, }, - toStringMethod: music_Melody_toString__P1621, + toStringMethod: music_Melody_toString__P23932, }); -const control_PollEvent__C4135_VT = mkVTable({ +const control_PollEvent__C26450_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 53, @@ -53632,7 +53632,7 @@ const control_PollEvent__C4135_VT = mkVTable({ "set/once": null, }, }); -const info_PlayerInfo__C2407_VT = mkVTable({ +const info_PlayerInfo__C24718_VT = mkVTable({ name: "PlayerInfo", numFields: 12, classNo: 54, @@ -53665,28 +53665,28 @@ const info_PlayerInfo__C2407_VT = mkVTable({ "set/left": null, "up": null, "set/up": null, - "init": info_PlayerInfo_init__P4464, - "getState": info_PlayerInfo_getState__P2420, - "id": info_PlayerInfo_id__P2421, - "score": info_PlayerInfo_score__P2422, - "hasScore": info_PlayerInfo_hasScore__P2425, - "hasLife": info_PlayerInfo_hasLife__P2429, - "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P2432, - "drawPlayer": info_PlayerInfo_drawPlayer__P2433, - "drawScore": info_PlayerInfo_drawScore__P2434, - "drawLives": info_PlayerInfo_drawLives__P2435, + "init": info_PlayerInfo_init__P26779, + "getState": info_PlayerInfo_getState__P24731, + "id": info_PlayerInfo_id__P24732, + "score": info_PlayerInfo_score__P24733, + "hasScore": info_PlayerInfo_hasScore__P24736, + "hasLife": info_PlayerInfo_hasLife__P24740, + "raiseLifeZero": info_PlayerInfo_raiseLifeZero__P24743, + "drawPlayer": info_PlayerInfo_drawPlayer__P24744, + "drawScore": info_PlayerInfo_drawScore__P24745, + "drawLives": info_PlayerInfo_drawLives__P24746, }, }); -const game_GameOverDialog__C2717_VT = mkVTable({ +const game_GameOverDialog__C25028_VT = mkVTable({ name: "GameOverDialog", numFields: 16, classNo: 35, lastSubtypeNo: 35, maxBgInstances: null, methods: { - "update": game_GameOverDialog_update__P2720, - "setText": game_BaseDialog_setText__P2692, - "drawTextCore": game_GameOverDialog_drawTextCore__P2721, + "update": game_GameOverDialog_update__P25031, + "setText": game_BaseDialog_setText__P25003, + "drawTextCore": game_GameOverDialog_drawTextCore__P25032, }, iface: { "image": null, @@ -53721,22 +53721,22 @@ const game_GameOverDialog__C2717_VT = mkVTable({ "set/score": null, "highScore": null, "set/highScore": null, - "displayCursor": game_GameOverDialog_displayCursor__P2719, - "update": game_GameOverDialog_update__P2720, - "drawTextCore": game_GameOverDialog_drawTextCore__P2721, - "setText": game_BaseDialog_setText__P2692, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2694, - "drawBorder": game_BaseDialog_drawBorder__P4504, - "fastFill": game_BaseDialog_fastFill__P4505, - "clearInterior": game_BaseDialog_clearInterior__P4506, - "drawPartial": game_BaseDialog_drawPartial__P4507, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4508, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4510, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4511, - "setFont": game_BaseDialog_setFont__P4512, + "displayCursor": game_GameOverDialog_displayCursor__P25030, + "update": game_GameOverDialog_update__P25031, + "drawTextCore": game_GameOverDialog_drawTextCore__P25032, + "setText": game_BaseDialog_setText__P25003, + "drawCursorRow": game_BaseDialog_drawCursorRow__P25005, + "drawBorder": game_BaseDialog_drawBorder__P26819, + "fastFill": game_BaseDialog_fastFill__P26820, + "clearInterior": game_BaseDialog_clearInterior__P26821, + "drawPartial": game_BaseDialog_drawPartial__P26822, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P26823, + "textAreaWidth": game_BaseDialog_textAreaWidth__P26825, + "textAreaHeight": game_BaseDialog_textAreaHeight__P26826, + "setFont": game_BaseDialog_setFont__P26827, }, }); -const info_PlayerState__C2375_VT = mkVTable({ +const info_PlayerState__C24686_VT = mkVTable({ name: "PlayerState", numFields: 4, classNo: 55, @@ -53755,7 +53755,7 @@ const info_PlayerState__C2375_VT = mkVTable({ "set/scoreReachedHandler": null, }, }); -const info_InfoState__C4409_VT = mkVTable({ +const info_InfoState__C26724_VT = mkVTable({ name: "InfoState", numFields: 10, classNo: 56, @@ -53786,7 +53786,7 @@ const info_InfoState__C4409_VT = mkVTable({ "set/countdownEndHandler": null, }, }); -const JSON_Stringifier__C4153_VT = mkVTable({ +const JSON_Stringifier__C26468_VT = mkVTable({ name: "Stringifier", numFields: 3, classNo: 57, @@ -53801,11 +53801,11 @@ const JSON_Stringifier__C4153_VT = mkVTable({ "set/indentStep": null, "indent": null, "set/indent": null, - "doString": JSON_Stringifier_doString__P4154, - "go": JSON_Stringifier_go__P4155, + "doString": JSON_Stringifier_doString__P26469, + "go": JSON_Stringifier_go__P26470, }, }); -const music_MelodyPlayer__C1622_VT = mkVTable({ +const music_MelodyPlayer__C23933_VT = mkVTable({ name: "MelodyPlayer", numFields: 2, classNo: 58, @@ -53818,12 +53818,12 @@ const music_MelodyPlayer__C1622_VT = mkVTable({ "set/melody": null, "onPlayFinished": null, "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P1626, - "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P4208, - "play": music_MelodyPlayer_play__P1627, + "stop": music_MelodyPlayer_stop__P23937, + "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P26523, + "play": music_MelodyPlayer_play__P23938, }, }); -const scene_TileOverlapHandler__C2595_VT = mkVTable({ +const scene_TileOverlapHandler__C24906_VT = mkVTable({ name: "TileOverlapHandler", numFields: 3, classNo: 59, @@ -53840,7 +53840,7 @@ const scene_TileOverlapHandler__C2595_VT = mkVTable({ "set/handler": null, }, }); -const scene_systemMenu_PauseMenu__C2824_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C25135_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 60, @@ -53863,15 +53863,15 @@ const scene_systemMenu_PauseMenu__C2824_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P2826, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P2827, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P2828, - "drawText": scene_systemMenu_PauseMenu_drawText__P2829, - "dispose": scene_systemMenu_PauseMenu_dispose__P2830, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P4786, + "show": scene_systemMenu_PauseMenu_show__P25137, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P25138, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P25139, + "drawText": scene_systemMenu_PauseMenu_drawText__P25140, + "dispose": scene_systemMenu_PauseMenu_dispose__P25141, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P27101, }, }); -const scene_systemMenu_MenuOption__C2816_VT = mkVTable({ +const scene_systemMenu_MenuOption__C25127_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 61, @@ -53896,16 +53896,16 @@ const scene_systemMenu_MenuOption__C2816_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P2818, - "position": scene_systemMenu_MenuOption_position__P2819, - "setOffset": scene_systemMenu_MenuOption_setOffset__P2820, - "setTheme": scene_systemMenu_MenuOption_setTheme__P2821, - "setState": scene_systemMenu_MenuOption_setState__P2822, - "dispose": scene_systemMenu_MenuOption_dispose__P2823, - "updateCard": scene_systemMenu_MenuOption_updateCard__P4785, + "show": scene_systemMenu_MenuOption_show__P25129, + "position": scene_systemMenu_MenuOption_position__P25130, + "setOffset": scene_systemMenu_MenuOption_setOffset__P25131, + "setTheme": scene_systemMenu_MenuOption_setTheme__P25132, + "setState": scene_systemMenu_MenuOption_setState__P25133, + "dispose": scene_systemMenu_MenuOption_dispose__P25134, + "updateCard": scene_systemMenu_MenuOption_updateCard__P27100, }, }); -const controller_ButtonHandler__C2007_VT = mkVTable({ +const controller_ButtonHandler__C24318_VT = mkVTable({ name: "ButtonHandler", numFields: 2, classNo: 62, @@ -53920,7 +53920,7 @@ const controller_ButtonHandler__C2007_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C2009_VT = mkVTable({ +const controller_ButtonEventHandlerState__C24320_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, classNo: 63, @@ -53937,7 +53937,7 @@ const controller_ButtonEventHandlerState__C2009_VT = mkVTable({ "set/system": null, }, }); -const MovingSprite__C2347_VT = mkVTable({ +const MovingSprite__C24658_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 64, @@ -53962,7 +53962,7 @@ const MovingSprite__C2347_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C2320_VT = mkVTable({ +const sprites_StaticObstacle__C24631_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 65, @@ -53981,13 +53981,13 @@ const sprites_StaticObstacle__C2320_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P2327, - "y": sprites_StaticObstacle_y__P2328, - "height": sprites_StaticObstacle_height__P2329, - "width": sprites_StaticObstacle_width__P2330, + "x": sprites_StaticObstacle_x__P24638, + "y": sprites_StaticObstacle_y__P24639, + "height": sprites_StaticObstacle_height__P24640, + "width": sprites_StaticObstacle_width__P24641, }, }); -const effects_SceneAnchor__C4914_VT = mkVTable({ +const effects_SceneAnchor__C27229_VT = mkVTable({ name: "SceneAnchor", numFields: 1, classNo: 66, @@ -53998,22 +53998,22 @@ const effects_SceneAnchor__C4914_VT = mkVTable({ iface: { "camera": null, "set/camera": null, - "x": effects_SceneAnchor_x__P4915, - "y": effects_SceneAnchor_y__P4916, - "width": effects_SceneAnchor_width__P4917, - "height": effects_SceneAnchor_height__P4918, + "x": effects_SceneAnchor_x__P27230, + "y": effects_SceneAnchor_y__P27231, + "width": effects_SceneAnchor_width__P27232, + "height": effects_SceneAnchor_height__P27233, }, }); -const sprites_BaseSpriteSayRenderer__C2083_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C24394_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 67, lastSubtypeNo: 67, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P2085, - "update": sprites_BaseSpriteSayRenderer_update__P2086, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2087, + "draw": sprites_BaseSpriteSayRenderer_draw__P24396, + "update": sprites_BaseSpriteSayRenderer_update__P24397, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P24398, }, iface: { "text": null, @@ -54022,13 +54022,13 @@ const sprites_BaseSpriteSayRenderer__C2083_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P2085, - "update": sprites_BaseSpriteSayRenderer_update__P2086, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2087, + "draw": sprites_BaseSpriteSayRenderer_draw__P24396, + "update": sprites_BaseSpriteSayRenderer_update__P24397, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P24398, }, }); -const breakpoints = setupDebugger(1, ["transparency16___17802","tile1___17807","mySprite___22271"]) +const breakpoints = setupDebugger(1, ["transparency16___26390","tile1___26391","mySprite___26388"]) -return _main___P22301 +return _main___P43703 }) diff --git a/assets/version.txt b/assets/version.txt index bd52db8..afaf360 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.0 \ No newline at end of file +1.0.0 \ No newline at end of file diff --git a/main.blocks b/main.blocks index 5834a99..ddd92c2 100644 --- a/main.blocks +++ b/main.blocks @@ -1,4 +1,4 @@ -mySpritePlayerProjectileFoodEnemytilemap`層級3`{"commentRefs":[],"fieldData":{"tilemap":"層級3"}}mySprite0img` +mySpritePlayerProjectileFoodEnemytilemap`層級3`{"commentRefs":[],"fieldData":{"tilemap":"層級3"}}mySprite0img` . . . . . . . . . . . . . . . . . . a a a a a a . . . . . . . a 1 1 1 1 1 1 a . . . @@ -15,4 +15,4 @@ . . . . . . a a . . . . . . . . . . . . a a . . . . . . . . . . . a . . a . . . . . -`{"commentRefs":[],"fieldData":{"img":"Xy+}rmbxRcjDCYM3Wiu2"}}PlayermySpritesprites.dungeon.collectibleInsigniamySpritemySprite4040spritePlayersprites.dungeon.collectibleRedCrystallocationYou DiedYou tried to swim in the lavaeffects.confettifalsespritePlayersprites.dungeon.doorLockedNorthlocationeffects.confettitrue \ No newline at end of file +`{"commentRefs":[],"fieldData":{"img":"6A;^;SK:GJMkHBE$XyNN"}}PlayermySpritesprites.dungeon.collectibleInsigniamySpritemySprite4040spritePlayersprites.dungeon.collectibleRedCrystallocationYou DiedYou tried to swim in the lavaeffects.confettifalsespritePlayersprites.dungeon.doorLockedNorthlocationeffects.confettitrue \ No newline at end of file diff --git a/pxt.json b/pxt.json index acbb459..741e33b 100644 --- a/pxt.json +++ b/pxt.json @@ -1,5 +1,6 @@ { "name": "碎碎步跑酷", + "version": "1.0.0", "description": "", "dependencies": { "device": "*"