diff --git a/assets/js/binary.js b/assets/js/binary.js index 5ccfbf5..bb97744 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.0.2","target":"arcade","targetVersion":"2.0.1","repo":"tomhausen/sprites-advanced"} -// total=1250987 new=6.00% cached=88.34% other=5.66% +// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.0.4","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/sprites-advanced"} +// total=1245271 new=6.01% cached=88.34% other=5.65% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -429,7 +429,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P39367(s) { +function _main___P25690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -439,280 +439,280 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___25272 = (undefined); - globals._pollEventQueue___25281 = (undefined); - globals.minPriority___21180 = (1); + globals._intervals___4467 = (undefined); + globals._pollEventQueue___4476 = (undefined); + globals.minPriority___375 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P25284); - globals.listeners___25285 = (s.tmp_0); - globals.globalVolume___25338 = (null); - globals.playToneID___25345 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C22431_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P4479); + globals.listeners___4480 = (s.tmp_0); + globals.globalVolume___4533 = (null); + globals.playToneID___4540 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1627_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P22434_mk(s); + s.tmp_1 = music_Melody_constructor__P1630_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___22452 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C22431_VT); + globals.wawawawaa___1648 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1627_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P22434_mk(s); + s.tmp_1 = music_Melody_constructor__P1630_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___22455 = (s.tmp_0); - globals.brightness___22756 = (100); + globals.powerUp___1651 = (s.tmp_0); + globals.brightness___1952 = (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", _hex29290); - globals.font8___22780 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex8480); + globals.font8___1976 = (s.tmp_0); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charWidth", 12); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charHeight", 12); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex29292); - globals.font12___22781 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex8482); + globals.font12___1977 = (s.tmp_0); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charWidth", 6); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "charHeight", 5); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex30790); - globals.font5___22785 = (s.tmp_0); - globals.__updated___25452 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P25455); - r0 = pxsim_pxtcore.setPalette(_hex25466); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex9980); + globals.font5___1981 = (s.tmp_0); + globals.__updated___4647 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P4650); + r0 = pxsim_pxtcore.setPalette(_hex4661); r0 = pxsim_pxtcore.getConfig(2102, 160); s.tmp_0 = r0; r0 = pxsim_pxtcore.getConfig(2103, 120); s.tmp_1 = r0; r0 = pxsim.image.create(s.tmp_0, s.tmp_1); - globals.screen___22837 = (r0); - s.tmp_0 = control___screen_setupUpdate__P22799_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P25475; + globals.screen___2033 = (r0); + s.tmp_0 = control___screen_setupUpdate__P1995_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P4670; s.callLocIdx = 6; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___21203 = (_screen_internal_inline__P25480); - globals.RUN_KEY___25485 = ("#run"); - globals.SCOPE_KEY___25486 = ("#scope"); - s.tmp_0 = settings_initScopes__P25497_mk(s); + globals.control_EventContext_onStats___398 = (_screen_internal_inline__P4675); + globals.RUN_KEY___4680 = ("#run"); + globals.SCOPE_KEY___4681 = ("#scope"); + s.tmp_0 = settings_initScopes__P4692_mk(s); s.callLocIdx = 7; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 8; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___22918 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + globals.A___2114 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 9; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___22919 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + globals.B___2115 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 10; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___22920 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + globals.left___2116 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 11; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___22921 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + globals.up___2117 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 12; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___22922 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + globals.right___2118 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 13; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___22923 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + globals.down___2119 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 14; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___22924 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C22939_VT); + globals.menu___2120 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2135_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P22943_mk(s); + s.tmp_1 = controller_Controller_constructor__P2139_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = undefined; s.callLocIdx = 15; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.player2___22925 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C22939_VT); + globals.player2___2121 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2135_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P22943_mk(s); + s.tmp_1 = controller_Controller_constructor__P2139_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.callLocIdx = 16; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - globals.player3___22926 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C22939_VT); + globals.player3___2122 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2135_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P22943_mk(s); + s.tmp_1 = controller_Controller_constructor__P2139_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = undefined; s.callLocIdx = 17; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - globals.player4___22927 = (s.tmp_0); - s.tmp_0 = controller__player1__P22933_mk(s); + globals.player4___2123 = (s.tmp_0); + s.tmp_0 = controller__player1__P2129_mk(s); s.callLocIdx = 18; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.player1___22928 = (r0); - s.tmp_0 = game_addScenePopHandler__P23842_mk(s); - s.tmp_0.arg0 = controller_inline__P25525; + globals.player1___2124 = (r0); + s.tmp_0 = game_addScenePopHandler__P3038_mk(s); + s.tmp_0.arg0 = controller_inline__P4720; s.callLocIdx = 23; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P23840_mk(s); - s.tmp_0.arg0 = controller_inline__P25565; + s.tmp_0 = game_addScenePushHandler__P3036_mk(s); + s.tmp_0.arg0 = controller_inline__P4760; s.callLocIdx = 25; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C25589_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4784_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P23000_mk(s); + s.tmp_1 = controller_Button_constructor__P2196_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 26; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - globals.anyButton___22975 = (s.tmp_0); - globals._userEventsEnabled___25603 = (true); - globals.defaultRepeatDelay___25605 = (500); - globals.defaultRepeatInterval___25607 = (30); - s.tmp_0 = SpriteKind_create__P23284_mk(s); + globals.anyButton___2171 = (s.tmp_0); + globals._userEventsEnabled___4798 = (true); + globals.defaultRepeatDelay___4800 = (500); + globals.defaultRepeatInterval___4802 = (30); + s.tmp_0 = SpriteKind_create__P2480_mk(s); s.callLocIdx = 27; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - globals.Player___23285 = (r0); - s.tmp_0 = SpriteKind_create__P23284_mk(s); + globals.Player___2481 = (r0); + s.tmp_0 = SpriteKind_create__P2480_mk(s); s.callLocIdx = 28; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - globals.Food___23287 = (r0); - s.tmp_0 = SpriteKind_create__P23284_mk(s); + globals.Food___2483 = (r0); + s.tmp_0 = SpriteKind_create__P2480_mk(s); s.callLocIdx = 29; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - globals.Enemy___23288 = (r0); + globals.Enemy___2484 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___23326 = (r0); - globals.infoState___25672 = (undefined); - s.tmp_0 = game_addScenePushHandler__P23840_mk(s); - s.tmp_0.arg0 = info_inline__P25676; + globals.MIN_MOVE_GAP___2522 = (r0); + globals.infoState___4867 = (undefined); + s.tmp_0 = game_addScenePushHandler__P3036_mk(s); + s.tmp_0.arg0 = info_inline__P4871; s.callLocIdx = 31; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P23842_mk(s); - s.tmp_0.arg0 = info_inline__P25691; + s.tmp_0 = game_addScenePopHandler__P3038_mk(s); + s.tmp_0.arg0 = info_inline__P4886; s.callLocIdx = 35; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___23670 = (r0); - r0 = pxsim.image.ofBuffer(_hex25781); - globals.img_trophy_sm___25782 = (r0); - r0 = pxsim.image.ofBuffer(_hex25784); - globals.img_trophy_lg___25785 = (r0); - r0 = pxsim.image.ofBuffer(_hex25787); - globals.img_sleepy_sim___25788 = (r0); - globals.debug___23772 = (false); - globals.stats___23773 = (false); - globals.gameOverConfig___23820 = (gameOverConfig_inline__P25800); - s.tmp_0 = scene_systemMenu_initVolume__P26074_mk(s); + globals.scene_Scene_initializers___2866 = (r0); + r0 = pxsim.image.ofBuffer(_hex4976); + globals.img_trophy_sm___4977 = (r0); + r0 = pxsim.image.ofBuffer(_hex4979); + globals.img_trophy_lg___4980 = (r0); + r0 = pxsim.image.ofBuffer(_hex4982); + globals.img_sleepy_sim___4983 = (r0); + globals.debug___2968 = (false); + globals.stats___2969 = (false); + globals.gameOverConfig___3016 = (gameOverConfig_inline__P4995); + s.tmp_0 = scene_systemMenu_initVolume__P5269_mk(s); s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P26075_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P5270_mk(s); s.callLocIdx = 38; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___23670, scene_systemMenu_register__P23928); - r0 = pxsim.image.ofBuffer(_hex26082); - globals.CARD_NORMAL___23933 = (r0); - r0 = pxsim.image.ofBuffer(_hex26084); - globals.CARD_SELECTED___23934 = (r0); - r0 = pxsim.image.ofBuffer(_hex26086); - globals.CARD_ACTIVE___23935 = (r0); - r0 = pxsim.image.ofBuffer(_hex26088); - globals.VOLUME_UP_ICON___23936 = (r0); - r0 = pxsim.image.ofBuffer(_hex26090); - globals.BRIGHTNESS_DOWN_ICON___23937 = (r0); - r0 = pxsim.image.ofBuffer(_hex26092); - globals.CLOSE_MENU_ICON___23938 = (r0); - r0 = pxsim.image.ofBuffer(_hex26094); - globals.VOLUME_DOWN_ICON___23939 = (r0); - r0 = pxsim.image.ofBuffer(_hex26096); - globals.SLEEP_ICON___23940 = (r0); - r0 = pxsim.image.ofBuffer(_hex26098); - globals.CONSOLE_ICON___23941 = (r0); - r0 = pxsim.image.ofBuffer(_hex26100); - globals.BRIGHTNESS_UP_ICON___23942 = (r0); - r0 = pxsim.image.ofBuffer(_hex26102); - globals.STATS_ICON___23943 = (r0); - globals.consoleColor___26105 = (1); - globals.tabSize___26108 = (8); - globals.consoleFont___26114 = (globals.font5___22785); - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___2866, scene_systemMenu_register__P3124); + r0 = pxsim.image.ofBuffer(_hex5277); + globals.CARD_NORMAL___3129 = (r0); + r0 = pxsim.image.ofBuffer(_hex5279); + globals.CARD_SELECTED___3130 = (r0); + r0 = pxsim.image.ofBuffer(_hex5281); + globals.CARD_ACTIVE___3131 = (r0); + r0 = pxsim.image.ofBuffer(_hex5283); + globals.VOLUME_UP_ICON___3132 = (r0); + r0 = pxsim.image.ofBuffer(_hex5285); + globals.BRIGHTNESS_DOWN_ICON___3133 = (r0); + r0 = pxsim.image.ofBuffer(_hex5287); + globals.CLOSE_MENU_ICON___3134 = (r0); + r0 = pxsim.image.ofBuffer(_hex5289); + globals.VOLUME_DOWN_ICON___3135 = (r0); + r0 = pxsim.image.ofBuffer(_hex5291); + globals.SLEEP_ICON___3136 = (r0); + r0 = pxsim.image.ofBuffer(_hex5293); + globals.CONSOLE_ICON___3137 = (r0); + r0 = pxsim.image.ofBuffer(_hex5295); + globals.BRIGHTNESS_UP_ICON___3138 = (r0); + r0 = pxsim.image.ofBuffer(_hex5297); + globals.STATS_ICON___3139 = (r0); + globals.consoleColor___5300 = (1); + globals.tabSize___5303 = (8); + globals.consoleFont___5309 = (globals.font5___1981); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___26114; + s.tmp_5.arg0 = globals.consoleFont___5309; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -731,13 +731,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___26119 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___22837); + globals.consoleLines___5314 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_2 - 8); s.tmp_1 = r0; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___26114; + s.tmp_4.arg0 = globals.consoleFont___5309; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -752,22 +752,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___26129 = (r0); - s.tmp_0 = console_addListener__P21188_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P26141; + globals.consoleColumns___5324 = (r0); + s.tmp_0 = console_addListener__P383_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P5336; s.callLocIdx = 41; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P34209; + s.tmp_0.argL = MAX_SOURCES_inline__P13399; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 43; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - globals.MAX_SOURCES___26143 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C24013_VT); + globals.MAX_SOURCES___5338 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C3209_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P24014_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P3210_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -775,68 +775,68 @@ switch (step) { s.callLocIdx = 44; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.defaultFactory___23993 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23881_VT); + globals.defaultFactory___3189 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3077_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P23883_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P3079_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 45; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - globals.galois___26163 = (s.tmp_0); - globals.angleSlice___26171 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C24088_VT); + globals.galois___5358 = (s.tmp_0); + globals.angleSlice___5366 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C3284_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P24089_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P3285_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__P33967; + s.tmp_1.arg4 = confetti_inline__P13157; s.callLocIdx = 51; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - globals.confetti___24096 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C24112_VT); + globals.confetti___3292 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3308_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P24113_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P3309_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P31764; + s.tmp_1.arg2 = dissolve_inline__P10954; s.callLocIdx = 57; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - globals.dissolve___24117 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C24112_VT); + globals.dissolve___3313 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3308_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P24113_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P3309_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P33913; + s.tmp_1.arg2 = melt_inline__P13103; s.callLocIdx = 60; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; - globals.melt___24118 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P23822_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P23010; + globals.melt___3314 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P3018_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P2206; s.callLocIdx = 61; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = game_eventContext__P23824_mk(s); + s.tmp_0 = game_eventContext__P3020_mk(s); s.callLocIdx = 62; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - globals.framesPerSecond___39263 = (0); - globals.deltaTime___39265 = (0); - s.tmp_0 = game_onUpdate__P23845_mk(s); - s.tmp_0.arg0 = spriteutils_inline__P39267; + globals.framesPerSecond___25553 = (0); + globals.deltaTime___25555 = (0); + s.tmp_0 = game_onUpdate__P3041_mk(s); + s.tmp_0.arg0 = spriteutils_inline__P25557; s.callLocIdx = 63; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P23846_mk(s); + s.tmp_0 = game_onUpdateInterval__P3042_mk(s); s.tmp_0.arg0 = 1000; - s.tmp_0.arg1 = spriteutils_inline__P39271; + s.tmp_0.arg1 = spriteutils_inline__P25561; s.callLocIdx = 64; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; @@ -844,13 +844,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P39367.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} -_main___P39367.continuations = [ ] +_main___P25690.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} +_main___P25690.continuations = [ ] -function _main___P39367_mk(s) { +function _main___P25690_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P39367, depth: s.depth + 1, + parent: s, fn: _main___P25690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -860,29 +860,29 @@ function _main___P39367_mk(s) { tmp_5: undefined, } } -const _hex29290 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex29292 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex30790 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex25466 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex25781 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") -const _hex25784 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") -const _hex25787 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex26082 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex26084 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex26086 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex26088 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26090 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26092 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26094 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26096 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26098 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26100 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex26102 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex8480 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex8482 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex9980 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex4661 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex4976 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex4979 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex4982 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex5277 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex5279 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex5281 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex5283 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5285 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5287 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5289 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5291 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5293 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5295 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex5297 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P25455(s) { +function control___screen_inline__P4650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -895,23 +895,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___25452 = (false); - s.tmp_0 = pause__P21218_mk(s); + globals.__updated___4647 = (false); + s.tmp_0 = pause__P413_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___25452); + r0 = pxsim_numops_toBoolDecr(globals.__updated___4647); 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__P22798_mk(s); + s.tmp_2 = control___screen_update__P1994_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___25452 = (true); + globals.__updated___4647 = (true); case 2: case 3: { step = 1; continue; } @@ -920,12 +920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P25455.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__P4650.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__P25455_mk(s) { +function control___screen_inline__P4650_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P25455, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P4650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -936,7 +936,7 @@ function control___screen_inline__P25455_mk(s) { -function _screen_internal_inline__P25475(s) { +function _screen_internal_inline__P4670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -946,17 +946,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___22837); + r0 = pxsim_pxtcore.updateScreen(globals.screen___2033); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P25475.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +_screen_internal_inline__P4670.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function _screen_internal_inline__P25475_mk(s) { +function _screen_internal_inline__P4670_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P25475, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P4670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -964,7 +964,7 @@ function _screen_internal_inline__P25475_mk(s) { -function _screen_internal_inline__P25480(s) { +function _screen_internal_inline__P4675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -983,12 +983,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P25480.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +_screen_internal_inline__P4675.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function _screen_internal_inline__P25480_mk(s) { +function _screen_internal_inline__P4675_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P25480, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P4675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -997,7 +997,7 @@ function _screen_internal_inline__P25480_mk(s) { -function controller_inline__P25525(s) { +function controller_inline__P4720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1007,16 +1007,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___25526 = undefined; - s.i___25532 = undefined; - s.p___25538 = undefined; - s.tmp_0 = game_currentScene__P23821_mk(s); + s.stateWhenPushed___4721 = undefined; + s.i___4727 = undefined; + s.p___4733 = undefined; + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 19; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___25526 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___25526); + s.stateWhenPushed___4721 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___4721); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1025,24 +1025,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___25532 = (0); + s.i___4727 = (0); case 3: - s.tmp_1 = r0 = s.i___25532; - r0 = pxsim_Array__length(s.stateWhenPushed___25526); + s.tmp_1 = r0 = s.i___4727; + r0 = pxsim_Array__length(s.stateWhenPushed___4721); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(globals._players___25523, s.i___25532); - s.p___25538 = (r0); - s.tmp_0 = r0 = s.p___25538; + r0 = pxsim_Array__getAt(globals._players___4718, s.i___4727); + s.p___4733 = (r0); + s.tmp_0 = r0 = s.p___4733; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_Array__getAt(s.stateWhenPushed___25526, s.i___25532); + r0 = pxsim_Array__getAt(s.stateWhenPushed___4721, s.i___4727); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1052,7 +1052,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___25538.fields["_connected"]; + r0 = s.p___4733.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1068,7 +1068,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___25538.fields["_connected"]; + r0 = s.p___4733.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1079,13 +1079,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___25538.fields["_id"]; + r0 = s.p___4733.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___25532 + 1); - s.i___25532 = (r0); + r0 = (s.i___4727 + 1); + s.i___4727 = (r0); { step = 3; continue; } case 10: case 11: @@ -1093,12 +1093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P25525.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P4720.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function controller_inline__P25525_mk(s) { +function controller_inline__P4720_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P25525, depth: s.depth + 1, + parent: s, fn: controller_inline__P4720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1115,16 +1115,16 @@ function controller_inline__P25525_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___25526: undefined, - i___25532: undefined, - p___25538: undefined, + stateWhenPushed___4721: undefined, + i___4727: undefined, + p___4733: undefined, } } -function controller_inline__P25565(s) { +function controller_inline__P4760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1134,7 +1134,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___25570 = undefined; + s.i___4765 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1143,43 +1143,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___25570 = (0); + s.i___4765 = (0); case 1: - s.tmp_1 = r0 = s.i___25570; - r0 = pxsim_Array__length(globals._players___25523); + s.tmp_1 = r0 = s.i___4765; + r0 = pxsim_Array__length(globals._players___4718); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(globals._players___25523, s.i___25570); + r0 = pxsim_Array__getAt(globals._players___4718, s.i___4765); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } r0 = s.arg0.fields["controllerConnectionState"]; s.tmp_4 = r0; - s.tmp_5 = r0 = s.i___25570; - r0 = pxsim_Array__getAt(globals._players___25523, s.i___25570); + s.tmp_5 = r0 = s.i___4765; + r0 = pxsim_Array__getAt(globals._players___4718, s.i___4765); s.tmp_7 = r0; r0 = s.tmp_7.fields["_connected"]; s.tmp_6 = r0; r0 = pxsim_Array_.setAt(s.tmp_4, s.tmp_5, s.tmp_6); case 2: case 3: - r0 = (s.i___25570 + 1); - s.i___25570 = (r0); + r0 = (s.i___4765 + 1); + s.i___4765 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P25565.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} +controller_inline__P4760.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} -function controller_inline__P25565_mk(s) { +function controller_inline__P4760_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P25565, depth: s.depth + 1, + parent: s, fn: controller_inline__P4760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1189,7 +1189,7 @@ function controller_inline__P25565_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___25570: undefined, + i___4765: undefined, arg0: undefined, } } @@ -1197,7 +1197,7 @@ function controller_inline__P25565_mk(s) { -function info_inline__P25676(s) { +function info_inline__P4871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1211,36 +1211,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___25672); + r0 = pxsim_numops_toBoolDecr(globals.infoState___4867); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___25674); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4869); 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___25674 = (r0); + globals.infoStateStack___4869 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___25672); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4867); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___25674, s.tmp_0); - globals.infoState___25672 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___4869, s.tmp_0); + globals.infoState___4867 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P25676.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P4871.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P25676_mk(s) { +function info_inline__P4871_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P25676, depth: s.depth + 1, + parent: s, fn: info_inline__P4871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1251,7 +1251,7 @@ function info_inline__P25676_mk(s) { -function info_inline__P25691(s) { +function info_inline__P4886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1261,30 +1261,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___25692 = undefined; - s.nextState___25701 = undefined; - s.tmp_0 = game_currentScene__P23821_mk(s); + s.scene___4887 = undefined; + s.nextState___4896 = undefined; + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 32; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___25692 = (r0); - globals.infoState___25672 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___25674; + s.scene___4887 = (r0); + globals.infoState___4867 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___4869; 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___25674); + r0 = pxsim_Array__length(globals.infoStateStack___4869); 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___25674); - s.nextState___25701 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___4869); + s.nextState___4896 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___25701; + s.tmp_2.arg0 = s.nextState___4896; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1296,12 +1296,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___25692); + r0 = (s.tmp_1 == s.scene___4887); 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___25701; + s.tmp_3.arg0 = s.nextState___4896; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1312,10 +1312,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___25672 = (r0); + globals.infoState___4867 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___25674, s.nextState___25701); + r0 = pxsim_Array__push(globals.infoStateStack___4869, s.nextState___4896); case 4: case 5: case 6: @@ -1323,26 +1323,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P25691.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P4886.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P25691_mk(s) { +function info_inline__P4886_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P25691, depth: s.depth + 1, + parent: s, fn: info_inline__P4886, 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___25692: undefined, - nextState___25701: undefined, + scene___4887: undefined, + nextState___4896: undefined, } } -function gameOverConfig_inline__P25800(s) { +function gameOverConfig_inline__P4995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1352,32 +1352,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___25799); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___4994); 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_pxtcore_mkClassInstance(game_GameOverConfig__C23795_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C2991_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverConfig_constructor__P23810_mk(s); + s.tmp_3 = game_GameOverConfig_constructor__P3006_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 36; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___25799 = (s.tmp_2); + globals._gameOverConfig___4994 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___25799; + r0 = globals._gameOverConfig___4994; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P25800.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P4995.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function gameOverConfig_inline__P25800_mk(s) { +function gameOverConfig_inline__P4995_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P25800, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P4995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1389,7 +1389,7 @@ function gameOverConfig_inline__P25800_mk(s) { -function spriteutils_inline__P39267(s) { +function spriteutils_inline__P25557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1399,18 +1399,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.framesPerSecond___39263 + 1); - globals.framesPerSecond___39263 = (r0); + r0 = (globals.framesPerSecond___25553 + 1); + globals.framesPerSecond___25553 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -spriteutils_inline__P39267.info = {"start":111,"length":40,"line":4,"column":18,"endLine":6,"endColumn":5,"fileName":"SpritesAdvanced.ts","functionName":"inline","argumentNames":[]} +spriteutils_inline__P25557.info = {"start":111,"length":40,"line":4,"column":18,"endLine":6,"endColumn":5,"fileName":"SpritesAdvanced.ts","functionName":"inline","argumentNames":[]} -function spriteutils_inline__P39267_mk(s) { +function spriteutils_inline__P25557_mk(s) { checkStack(s.depth); return { - parent: s, fn: spriteutils_inline__P39267, depth: s.depth + 1, + parent: s, fn: spriteutils_inline__P25557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1418,7 +1418,7 @@ function spriteutils_inline__P39267_mk(s) { -function spriteutils_inline__P39271(s) { +function spriteutils_inline__P25561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1428,19 +1428,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (1000 / globals.framesPerSecond___39263); - globals.deltaTime___39265 = (r0); - globals.framesPerSecond___39263 = (0); + r0 = (1000 / globals.framesPerSecond___25553); + globals.deltaTime___25555 = (r0); + globals.framesPerSecond___25553 = (0); r0 = undefined; return leave(s, r0) default: oops() } } } -spriteutils_inline__P39271.info = {"start":185,"length":85,"line":7,"column":32,"endLine":10,"endColumn":5,"fileName":"SpritesAdvanced.ts","functionName":"inline","argumentNames":[]} +spriteutils_inline__P25561.info = {"start":185,"length":85,"line":7,"column":32,"endLine":10,"endColumn":5,"fileName":"SpritesAdvanced.ts","functionName":"inline","argumentNames":[]} -function spriteutils_inline__P39271_mk(s) { +function spriteutils_inline__P25561_mk(s) { checkStack(s.depth); return { - parent: s, fn: spriteutils_inline__P39271, depth: s.depth + 1, + parent: s, fn: spriteutils_inline__P25561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1448,7 +1448,7 @@ function spriteutils_inline__P39271_mk(s) { -function game_onUpdateInterval__P23846(s) { +function game_onUpdateInterval__P3042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1458,7 +1458,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___28221 = undefined; + s.timer___7174 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1483,15 +1483,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___28221 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___28221, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P28225); + s.timer___7174 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___7174, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P7178); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___28221); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___7174); 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__P21208_mk(s); - s.tmp_2 = game_eventContext__P23824_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_2 = game_eventContext__P3020_mk(s); s.callLocIdx = 965; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -1506,17 +1506,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P23846.info = {"start":813,"length":401,"line":26,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P3042.info = {"start":813,"length":401,"line":26,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P23846_mk(s) { +function game_onUpdateInterval__P3042_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P23846, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P3042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___28221: undefined, + timer___7174: undefined, arg0: undefined, arg1: undefined, } } @@ -1525,7 +1525,7 @@ function game_onUpdateInterval__P23846_mk(s) { -function game_onUpdateInterval_inline__P28225(s) { +function game_onUpdateInterval_inline__P7178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1535,22 +1535,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___28226 = undefined; - s.tmp_1 = game_currentScene__P23821_mk(s); + s.time___7179 = undefined; + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 966; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___28226 = (r0); + s.time___7179 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___28226); + r0 = (s.tmp_1 <= s.time___7179); 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___28226 + s.caps[1]); + r0 = (s.time___7179 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -1565,25 +1565,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P28225.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} +game_onUpdateInterval_inline__P7178.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval_inline__P28225_mk(s) { +function game_onUpdateInterval_inline__P7178_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P28225, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P7178, 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___28226: undefined, + time___7179: undefined, } } -function scene_Scene_millis__P23674(s) { +function scene_Scene_millis__P2870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1598,17 +1598,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C23648_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2844_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P23674.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P2870.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P23674_mk(s) { +function scene_Scene_millis__P2870_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P23674, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P2870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1617,7 +1617,7 @@ function scene_Scene_millis__P23674_mk(s) { -function control_EventContext_registerFrameHandler__P21208(s) { +function control_EventContext_registerFrameHandler__P403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1627,8 +1627,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___28253 = undefined; - s.i___28262 = undefined; + s.fn___7206 = undefined; + s.i___7215 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1636,7 +1636,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -1649,20 +1649,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__P25305_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P4500_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 50; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C21197_VT); - s.fn___28253 = (r0); - r0 = (s.fn___28253).fields["order"] = (s.arg1); - r0 = (s.fn___28253).fields["handler"] = (s.arg2); - s.i___28262 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C392_VT); + s.fn___7206 = (r0); + r0 = (s.fn___7206).fields["order"] = (s.arg1); + r0 = (s.fn___7206).fields["handler"] = (s.arg2); + s.i___7215 = (0); case 3: - s.tmp_1 = r0 = s.i___28262; + s.tmp_1 = r0 = s.i___7215; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -1673,7 +1673,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___28262); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___7215); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -1682,29 +1682,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___28262, s.fn___28253); - r0 = s.fn___28253; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___7215, s.fn___7206); + r0 = s.fn___7206; { step = 7; continue; } case 4: case 5: - r0 = (s.i___28262 + 1); - s.i___28262 = (r0); + r0 = (s.i___7215 + 1); + s.i___7215 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___28253); - r0 = s.fn___28253; + r0 = pxsim_Array__push(s.tmp_0, s.fn___7206); + r0 = s.fn___7206; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P21208.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__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"]} -function control_EventContext_registerFrameHandler__P21208_mk(s) { +function control_EventContext_registerFrameHandler__P403_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P21208, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1714,8 +1714,8 @@ function control_EventContext_registerFrameHandler__P21208_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___28253: undefined, - i___28262: undefined, + fn___7206: undefined, + i___7215: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -1725,7 +1725,7 @@ function control_EventContext_registerFrameHandler__P21208_mk(s) { -function control_EventContext_registerFrameCallbacks__P25305(s) { +function control_EventContext_registerFrameCallbacks__P4500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1735,13 +1735,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___28296 = undefined; + s.worker___7249 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -1754,28 +1754,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___28296 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P28302); + s.worker___7249 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P7255); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___28296); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___7249); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P25305.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__P4500.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__P25305_mk(s) { +function control_EventContext_registerFrameCallbacks__P4500_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P25305, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P4500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___28296: undefined, + worker___7249: undefined, arg0: undefined, } } @@ -1783,7 +1783,7 @@ function control_EventContext_registerFrameCallbacks__P25305_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P28302(s) { +function control_EventContext_registerFrameCallbacks_inline__P7255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1793,15 +1793,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___28332 = undefined; + s.delay___7285 = 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__P28308); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P7261); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P21172_mk(s); + s.tmp_2 = pauseUntil__P367_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 44; s.pc = 5; return s.tmp_2; @@ -1824,14 +1824,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P25304_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P4499_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 45; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___28332 = (r0); - s.tmp_0 = pause__P21218_mk(s); - s.tmp_0.arg0 = s.delay___28332; + s.delay___7285 = (r0); + s.tmp_0 = pause__P413_mk(s); + s.tmp_0.arg0 = s.delay___7285; s.callLocIdx = 46; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -1842,24 +1842,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P28302.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__P7255.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__P28302_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P7255_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P28302, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P7255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___28332: undefined, + delay___7285: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P28308(s) { +function control_EventContext_registerFrameCallbacks_inline__P7261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1877,12 +1877,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P28308.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__P7261.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__P28308_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P7261_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P28308, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P7261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1892,7 +1892,7 @@ function control_EventContext_registerFrameCallbacks_inline__P28308_mk(s) { -function control_EventContext_runCallbacks__P25304(s) { +function control_EventContext_runCallbacks__P4499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1902,44 +1902,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___28341 = undefined; - s.f___28354 = undefined; - s.unnamed146___U2 = undefined; - s.unnamed147___U3 = undefined; - s.now___28359 = undefined; - s.runtime___28362 = undefined; - s.realTimeInSample___28381 = undefined; - s.fps___28390 = undefined; - s.delay___28459 = undefined; + s.loopStart___7294 = undefined; + s.f___7307 = undefined; + s.unnamed54___U2 = undefined; + s.unnamed55___U3 = undefined; + s.now___7312 = undefined; + s.runtime___7315 = undefined; + s.realTimeInSample___7334 = undefined; + s.fps___7343 = undefined; + s.delay___7412 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___28341 = (r0); + s.loopStart___7294 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___28341 - s.tmp_2); + r0 = (s.loopStart___7294 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___28341); - s.f___28354 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___7294); + s.f___7307 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed146___U2 = (r0); - s.unnamed147___U3 = (0); + s.unnamed54___U2 = (r0); + s.unnamed55___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed147___U3; - r0 = pxsim_Array__length(s.unnamed146___U2); + s.tmp_0 = r0 = s.unnamed55___U3; + r0 = pxsim_Array__length(s.unnamed54___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed146___U2, s.unnamed147___U3); - s.f___28354 = (r0); + r0 = pxsim_Array__getAt(s.unnamed54___U2, s.unnamed55___U3); + s.f___7307 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___28354; + s.tmp_2.arg0 = s.f___7307; 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; @@ -1951,19 +1951,19 @@ switch (step) { } case 11: r0 = s.retval; - r0 = (s.unnamed147___U3 + 1); - s.unnamed147___U3 = (r0); + r0 = (s.unnamed55___U3 + 1); + s.unnamed55___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed146___U2 = (undefined); + s.unnamed54___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___28359 = (r0); - r0 = (s.now___28359 - s.loopStart___28341); - s.runtime___28362 = (r0); + s.now___7312 = (r0); + r0 = (s.now___7312 - s.loopStart___7294); + s.runtime___7315 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___28362); + r0 = (s.tmp_2 + s.runtime___7315); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -1991,9 +1991,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___28359 - s.tmp_4); - s.realTimeInSample___28381 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___28359); + r0 = (s.now___7312 - s.tmp_4); + s.realTimeInSample___7334 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___7312); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -2001,8 +2001,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___28390 = (r0); - r0 = pxsim.Math_.round(s.fps___28390); + s.fps___7343 = (r0); + r0 = pxsim.Math_.round(s.fps___7343); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -2014,21 +2014,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___21202 = (r0); - r0 = (s.fps___28390 < 99); + globals.control_EventContext_lastStats___397 = (r0); + r0 = (s.fps___7343 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___21202) && (globals.control_EventContext_lastStats___21202).vtable) { + if ((globals.control_EventContext_lastStats___397) && (globals.control_EventContext_lastStats___397).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___21202); + pxsim_String__stringConv(globals.control_EventContext_lastStats___397); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___21202) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___28390 * 10); + r0 = (s.fps___7343 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -2055,7 +2055,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___21202 = (r0); + globals.control_EventContext_lastStats___397 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -2064,7 +2064,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___28390 * 100); + r0 = (s.fps___7343 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -2111,12 +2111,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___28381) && (s.realTimeInSample___28381).vtable) { + if ((s.realTimeInSample___7334) && (s.realTimeInSample___7334).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___28381); + pxsim_String__stringConv(s.realTimeInSample___7334); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___28381) + ""; } + } else { s.retval = (s.realTimeInSample___7334) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -2133,24 +2133,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P20935_mk(s); + s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___28362); + r0 = (20 - s.runtime___7315); s.tmp_0.arg1 = r0; s.callLocIdx = 43; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___28459 = (r0); - r0 = s.delay___28459; + s.delay___7412 = (r0); + r0 = s.delay___7412; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P25304.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__P4499.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__P25304_mk(s) { +function control_EventContext_runCallbacks__P4499_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P25304, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P4499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2170,15 +2170,15 @@ function control_EventContext_runCallbacks__P25304_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___28341: undefined, - f___28354: undefined, - unnamed146___U2: undefined, - unnamed147___U3: undefined, - now___28359: undefined, - runtime___28362: undefined, - realTimeInSample___28381: undefined, - fps___28390: undefined, - delay___28459: undefined, + loopStart___7294: undefined, + f___7307: undefined, + unnamed54___U2: undefined, + unnamed55___U3: undefined, + now___7312: undefined, + runtime___7315: undefined, + realTimeInSample___7334: undefined, + fps___7343: undefined, + delay___7412: undefined, arg0: undefined, } } @@ -2186,7 +2186,7 @@ function control_EventContext_runCallbacks__P25304_mk(s) { -function Math_max__P20935(s) { +function Math_max__P130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2214,12 +2214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P20935.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__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"]} -function Math_max__P20935_mk(s) { +function Math_max__P130_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P20935, depth: s.depth + 1, + parent: s, fn: Math_max__P130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2230,7 +2230,7 @@ function Math_max__P20935_mk(s) { -function pauseUntil__P21172(s) { +function pauseUntil__P367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2277,7 +2277,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P21171_mk(s); + s.tmp_0 = control___queuePollEvent__P366_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -2289,12 +2289,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P21172.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__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"]} -function pauseUntil__P21172_mk(s) { +function pauseUntil__P367_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P21172, depth: s.depth + 1, + parent: s, fn: pauseUntil__P367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2310,7 +2310,7 @@ function pauseUntil__P21172_mk(s) { -function control___queuePollEvent__P21171(s) { +function control___queuePollEvent__P366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2320,16 +2320,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___27942 = undefined; + s.ev___7441 = 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__C25278_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C4473_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P25279_mk(s); + s.tmp_1 = control_PollEvent_constructor__P4474_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -2345,8 +2345,8 @@ switch (step) { s.callLocIdx = 27; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___27942 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___25281); + s.ev___7441 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4476); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2354,19 +2354,19 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___27942); - globals._pollEventQueue___25281 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P25282); + r0 = pxsim_Array__push(s.tmp_2, s.ev___7441); + globals._pollEventQueue___4476 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P4477); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___25281, s.ev___27942); + r0 = pxsim_Array__push(globals._pollEventQueue___4476, s.ev___7441); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P21196_mk(s); - r0 = s.ev___27942.fields["eid"]; + s.tmp_0 = control_onEvent__P391_mk(s); + r0 = s.ev___7441.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___27942.fields["vid"]; + r0 = s.ev___7441.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -2375,9 +2375,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___27942.fields["eid"]; + r0 = s.ev___7441.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___27942.fields["vid"]; + r0 = s.ev___7441.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -2390,17 +2390,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P21171.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__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"]} -function control___queuePollEvent__P21171_mk(s) { +function control___queuePollEvent__P366_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P21171, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___27942: undefined, + ev___7441: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2410,7 +2410,7 @@ function control___queuePollEvent__P21171_mk(s) { -function control_pollEvents__P25282(s) { +function control_pollEvents__P4477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2420,31 +2420,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___28069 = undefined; - s.i___28072 = undefined; - s.ev___28078 = undefined; + s.now___7568 = undefined; + s.i___7571 = undefined; + s.ev___7577 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___25281); + r0 = pxsim_Array__length(globals._pollEventQueue___4476); 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___28069 = (r0); - s.i___28072 = (0); + s.now___7568 = (r0); + s.i___7571 = (0); case 2: - s.tmp_1 = r0 = s.i___28072; - r0 = pxsim_Array__length(globals._pollEventQueue___25281); + s.tmp_1 = r0 = s.i___7571; + r0 = pxsim_Array__length(globals._pollEventQueue___4476); 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___25281, s.i___28072); - s.ev___28078 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___4476, s.i___7571); + s.ev___7577 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___28078; + s.tmp_1.arg0 = s.ev___7577; 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; @@ -2462,7 +2462,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___28078.fields["timeOut"]; + r0 = s.ev___7577.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -2471,11 +2471,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___28078.fields["start"]; + r0 = s.ev___7577.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___28069 - s.tmp_5); + r0 = (s.now___7568 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___28078.fields["timeOut"]; + r0 = s.ev___7577.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -2487,50 +2487,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___28078.fields["eid"]; + r0 = s.ev___7577.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___28078.fields["vid"]; + r0 = s.ev___7577.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___28078.fields["once"]; + r0 = s.ev___7577.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P20905_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___25281; - s.tmp_1.arg1 = s.i___28072; + s.tmp_1 = helpers_arraySplice__P100_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___4476; + s.tmp_1.arg1 = s.i___7571; s.tmp_1.arg2 = 1; s.callLocIdx = 25; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___28072 - 1); - s.i___28072 = (r0); + r0 = (s.i___7571 - 1); + s.i___7571 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___28072 + 1); - s.i___28072 = (r0); + r0 = (s.i___7571 + 1); + s.i___7571 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P21218_mk(s); + s.tmp_0 = pause__P413_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 26; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___25281 = (undefined); + globals._pollEventQueue___4476 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P25282.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P4477.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__P25282_mk(s) { +function control_pollEvents__P4477_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P25282, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P4477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2543,16 +2543,16 @@ function control_pollEvents__P25282_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___28069: undefined, - i___28072: undefined, - ev___28078: undefined, + now___7568: undefined, + i___7571: undefined, + ev___7577: undefined, } } -function helpers_arraySplice__P20905(s) { +function helpers_arraySplice__P100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2562,7 +2562,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___28126 = undefined; + s.i___7625 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2576,15 +2576,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___28126 = (0); + s.i___7625 = (0); case 3: - r0 = (s.i___28126 < s.arg2); + r0 = (s.i___7625 < 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___28126 + 1); - s.i___28126 = (r0); + r0 = (s.i___7625 + 1); + s.i___7625 = (r0); { step = 3; continue; } case 4: case 5: @@ -2592,15 +2592,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P20905.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P100.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -function helpers_arraySplice__P20905_mk(s) { +function helpers_arraySplice__P100_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P20905, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___28126: undefined, + i___7625: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2610,7 +2610,7 @@ function helpers_arraySplice__P20905_mk(s) { -function control_PollEvent_constructor__P25279(s) { +function control_PollEvent_constructor__P4474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2631,7 +2631,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C25278_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C4473_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -2642,12 +2642,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P25279.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__P4474.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__P25279_mk(s) { +function control_PollEvent_constructor__P4474_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P25279, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P4474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2662,7 +2662,7 @@ function control_PollEvent_constructor__P25279_mk(s) { -function control_onEvent__P21196(s) { +function control_onEvent__P391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2672,7 +2672,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___27985 = undefined; + s.ctx___7484 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2680,12 +2680,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P21213_mk(s); + s.tmp_0 = control_eventContext__P408_mk(s); s.callLocIdx = 39; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___27985 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___27985); + s.ctx___7484 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___7484); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2694,8 +2694,8 @@ switch (step) { r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P21210_mk(s); - s.tmp_0.arg0 = s.ctx___27985; + s.tmp_0 = control_EventContext_registerHandler__P405_mk(s); + s.tmp_0.arg0 = s.ctx___7484; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -2708,16 +2708,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P21196.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__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"]} -function control_onEvent__P21196_mk(s) { +function control_onEvent__P391_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P21196, depth: s.depth + 1, + parent: s, fn: control_onEvent__P391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___27985: undefined, + ctx___7484: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2728,7 +2728,7 @@ function control_onEvent__P21196_mk(s) { -function control_eventContext__P21213(s) { +function control_eventContext__P408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2738,10 +2738,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___25307); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4502); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___25307; - r0 = pxsim_Array__length(globals.eventContexts___25307); + s.tmp_0 = r0 = globals.eventContexts___4502; + r0 = pxsim_Array__length(globals.eventContexts___4502); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -2756,12 +2756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P21213.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +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":[]} -function control_eventContext__P21213_mk(s) { +function control_eventContext__P408_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P21213, depth: s.depth + 1, + parent: s, fn: control_eventContext__P408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2773,7 +2773,7 @@ function control_eventContext__P21213_mk(s) { -function control_EventContext_registerHandler__P21210(s) { +function control_EventContext_registerHandler__P405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2783,10 +2783,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___28008 = undefined; - s.unnamed152___U1 = undefined; - s.unnamed153___U2 = undefined; - s.hn___28031 = undefined; + s.h___7507 = undefined; + s.unnamed60___U1 = undefined; + s.unnamed61___U2 = undefined; + s.hn___7530 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2796,20 +2796,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); - s.h___28008 = (undefined); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + s.h___7507 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed152___U1 = (r0); - s.unnamed153___U2 = (0); + s.unnamed60___U1 = (r0); + s.unnamed61___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed153___U2; - r0 = pxsim_Array__length(s.unnamed152___U1); + s.tmp_0 = r0 = s.unnamed61___U2; + r0 = pxsim_Array__length(s.unnamed60___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed152___U1, s.unnamed153___U2); - s.h___28008 = (r0); - r0 = s.h___28008.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed60___U1, s.unnamed61___U2); + s.h___7507 = (r0); + r0 = s.h___7507.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -2818,7 +2818,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___28008.fields["value"]; + r0 = s.h___7507.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -2826,19 +2826,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___28008).fields["flags"] = (s.arg4); - r0 = (s.h___28008).fields["handler"] = (s.arg3); + r0 = (s.h___7507).fields["flags"] = (s.arg4); + r0 = (s.h___7507).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed153___U2 + 1); - s.unnamed153___U2 = (r0); + r0 = (s.unnamed61___U2 + 1); + s.unnamed61___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed152___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C25299_VT); + s.unnamed60___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C4494_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P25302_mk(s); + s.tmp_1 = control_EventHandler_constructor__P4497_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -2847,12 +2847,12 @@ switch (step) { s.callLocIdx = 51; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___28031 = (s.tmp_0); + s.hn___7530 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___28031); - s.tmp_0 = control_EventHandler_register__P25300_mk(s); - s.tmp_0.arg0 = s.hn___28031; + r0 = pxsim_Array__push(s.tmp_0, s.hn___7530); + s.tmp_0 = control_EventHandler_register__P4495_mk(s); + s.tmp_0.arg0 = s.hn___7530; s.callLocIdx = 52; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -2861,12 +2861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P21210.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__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"]} -function control_EventContext_registerHandler__P21210_mk(s) { +function control_EventContext_registerHandler__P405_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P21210, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2874,10 +2874,10 @@ function control_EventContext_registerHandler__P21210_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___28008: undefined, - unnamed152___U1: undefined, - unnamed153___U2: undefined, - hn___28031: undefined, + h___7507: undefined, + unnamed60___U1: undefined, + unnamed61___U2: undefined, + hn___7530: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2889,7 +2889,7 @@ function control_EventContext_registerHandler__P21210_mk(s) { -function control_EventHandler_constructor__P25302(s) { +function control_EventHandler_constructor__P4497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2908,7 +2908,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C25299_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C4494_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -2917,12 +2917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P25302.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__P4497.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__P25302_mk(s) { +function control_EventHandler_constructor__P4497_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P25302, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P4497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2935,7 +2935,7 @@ function control_EventHandler_constructor__P25302_mk(s) { -function control_EventHandler_register__P25300(s) { +function control_EventHandler_register__P4495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2950,8 +2950,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C25299_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P28052); + if (!checkSubtype(r0, control_EventHandler__C4494_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P7551); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -2965,12 +2965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P25300.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__P4495.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__P25300_mk(s) { +function control_EventHandler_register__P4495_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P25300, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P4495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2983,7 +2983,7 @@ function control_EventHandler_register__P25300_mk(s) { -function control_EventHandler_register_inline__P28052(s) { +function control_EventHandler_register_inline__P7551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3016,12 +3016,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P28052.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__P7551.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__P28052_mk(s) { +function control_EventHandler_register_inline__P7551_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P28052, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P7551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3031,7 +3031,7 @@ function control_EventHandler_register_inline__P28052_mk(s) { -function game_onUpdate__P23845(s) { +function game_onUpdate__P3041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3054,8 +3054,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P21208_mk(s); - s.tmp_3 = game_eventContext__P23824_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_3 = game_eventContext__P3020_mk(s); s.callLocIdx = 963; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -3070,12 +3070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P23845.info = {"start":327,"length":153,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P3041.info = {"start":327,"length":153,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P23845_mk(s) { +function game_onUpdate__P3041_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P23845, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P3041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3088,7 +3088,7 @@ function game_onUpdate__P23845_mk(s) { -function game_eventContext__P23824(s) { +function game_eventContext__P3020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3098,21 +3098,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P25815_mk(s); + s.tmp_0 = game_init__P5010_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 945; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___25807.fields["eventContext"]; + r0 = globals._scene___5002.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P23824.info = {"start":5087,"length":112,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P3020.info = {"start":5087,"length":112,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P23824_mk(s) { +function game_eventContext__P3020_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P23824, depth: s.depth + 1, + parent: s, fn: game_eventContext__P3020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3121,7 +3121,7 @@ function game_eventContext__P23824_mk(s) { -function game_init__P25815(s) { +function game_init__P5010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3135,7 +3135,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___25807); + r0 = pxsim_numops_toBoolDecr(globals._scene___5002); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3150,24 +3150,24 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C23648_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2844_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P23671_mk(s); + s.tmp_4 = scene_Scene_constructor__P2867_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P21214_mk(s); + s.tmp_5 = control_pushEventContext__P409_mk(s); s.callLocIdx = 946; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___25807; + s.tmp_4.arg2 = globals._scene___5002; s.callLocIdx = 947; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - globals._scene___25807 = (s.tmp_3); + globals._scene___5002 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P23672_mk(s); - s.tmp_0.arg0 = globals._scene___25807; + s.tmp_0 = scene_Scene_init__P2868_mk(s); + s.tmp_0.arg0 = globals._scene___5002; s.callLocIdx = 948; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -3175,12 +3175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_init__P25815.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P5010.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P25815_mk(s) { +function game_init__P5010_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P25815, depth: s.depth + 1, + parent: s, fn: game_init__P5010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3195,7 +3195,7 @@ function game_init__P25815_mk(s) { -function scene_Scene_init__P23672(s) { +function scene_Scene_init__P2868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3210,7 +3210,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C23648_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2844_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -3218,7 +3218,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P22734_mk(s); + s.tmp_1 = power_poke__P1930_mk(s); s.callLocIdx = 909; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -3227,10 +3227,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["allSprites"] = (s.tmp_1); r0 = (s.arg0).fields["spriteNextId"] = (0); - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P28509); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7699); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -3238,18 +3238,18 @@ switch (step) { s.callLocIdx = 912; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P22938; + s.tmp_0.arg2 = controller__moveSprites__P2134; s.callLocIdx = 913; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P28532); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7722); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -3257,10 +3257,10 @@ switch (step) { s.callLocIdx = 915; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P28545); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7735); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -3268,10 +3268,10 @@ switch (step) { s.callLocIdx = 919; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P28566); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7756); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -3279,10 +3279,10 @@ switch (step) { s.callLocIdx = 921; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P28574); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7764); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -3290,27 +3290,27 @@ switch (step) { s.callLocIdx = 925; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P21208_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P22798; + s.tmp_0.arg2 = control___screen_update__P1994; s.callLocIdx = 926; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = multiplayer_initServer__P24210_mk(s); + s.tmp_0 = multiplayer_initServer__P3406_mk(s); s.callLocIdx = 927; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = multiplayer_initPlayerConnectionListeners__P24211_mk(s); + s.tmp_0 = multiplayer_initPlayerConnectionListeners__P3407_mk(s); s.callLocIdx = 928; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P28605); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P7795); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___23670; + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___2866; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 930; s.pc = 14; return s.tmp_1; case 14: @@ -3320,12 +3320,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P23672.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P2868.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P23672_mk(s) { +function scene_Scene_init__P2868_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P23672, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P2868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3336,7 +3336,7 @@ function scene_Scene_init__P23672_mk(s) { -function scene_Scene_init_inline__P28509(s) { +function scene_Scene_init_inline__P7699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3355,7 +3355,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_millis"] = (s.tmp_1); - s.tmp_0 = controller___update__P22970_mk(s); + s.tmp_0 = controller___update__P2166_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -3369,12 +3369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P28509.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7699.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P28509_mk(s) { +function scene_Scene_init_inline__P7699_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P28509, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3386,7 +3386,7 @@ function scene_Scene_init_inline__P28509_mk(s) { -function scene_Scene_init_inline__P28532(s) { +function scene_Scene_init_inline__P7722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3396,7 +3396,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C23316_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C2512_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -3405,7 +3405,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C23316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_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: @@ -3414,12 +3414,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P28532.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7722.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P28532_mk(s) { +function scene_Scene_init_inline__P7722_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P28532, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3430,7 +3430,7 @@ function scene_Scene_init_inline__P28532_mk(s) { -function scene_Scene_init_inline__P28545(s) { +function scene_Scene_init_inline__P7735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3440,39 +3440,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___28546 = undefined; - s.s___28554 = undefined; - s.unnamed178___U2 = undefined; - s.unnamed179___U3 = undefined; + s.dt___7736 = undefined; + s.s___7744 = undefined; + s.unnamed86___U2 = undefined; + s.unnamed87___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___28546 = (r0); - s.tmp_0 = scene_Camera_update__P23603_mk(s); + s.dt___7736 = (r0); + s.tmp_0 = scene_Camera_update__P2799_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 917; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___28554 = (undefined); + s.s___7744 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed178___U2 = (r0); - s.unnamed179___U3 = (0); + s.unnamed86___U2 = (r0); + s.unnamed87___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed179___U3; - r0 = pxsim_Array__length(s.unnamed178___U2); + s.tmp_0 = r0 = s.unnamed87___U3; + r0 = pxsim_Array__length(s.unnamed86___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed178___U2, s.unnamed179___U3); - s.s___28554 = (r0); + r0 = pxsim_Array__getAt(s.unnamed86___U2, s.unnamed87___U3); + s.s___7744 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___28554; + s.tmp_2.arg0 = s.s___7744; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___28546; + s.tmp_2.arg2 = s.dt___7736; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 918; s.pc = 4; return s.tmp_2; @@ -3484,36 +3484,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed179___U3 + 1); - s.unnamed179___U3 = (r0); + r0 = (s.unnamed87___U3 + 1); + s.unnamed87___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed178___U2 = (undefined); + s.unnamed86___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P28545.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7735.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P28545_mk(s) { +function scene_Scene_init_inline__P7735_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P28545, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___28546: undefined, - s___28554: undefined, - unnamed178___U2: undefined, - unnamed179___U3: undefined, + dt___7736: undefined, + s___7744: undefined, + unnamed86___U2: undefined, + unnamed87___U3: undefined, } } -function scene_Scene_init_inline__P28566(s) { +function scene_Scene_init_inline__P7756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3523,7 +3523,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P23677_mk(s); + s.tmp_0 = scene_Scene_render__P2873_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 920; s.pc = 1; return s.tmp_0; case 1: @@ -3532,12 +3532,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P28566.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7756.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P28566_mk(s) { +function scene_Scene_init_inline__P7756_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P28566, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3546,7 +3546,7 @@ function scene_Scene_init_inline__P28566_mk(s) { -function scene_Scene_init_inline__P28574(s) { +function scene_Scene_init_inline__P7764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3556,26 +3556,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___23773; + s.tmp_0 = r0 = globals.stats___2969; 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___21203; + r0 = globals.control_EventContext_onStats___398; 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___21203; - if ((globals.control_EventContext_lastStats___21202) && (globals.control_EventContext_lastStats___21202).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___398; + if ((globals.control_EventContext_lastStats___397) && (globals.control_EventContext_lastStats___397).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___21202); + pxsim_String__stringConv(globals.control_EventContext_lastStats___397); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___21202) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -3611,23 +3611,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___23772); + r0 = pxsim_numops_toBoolDecr(globals.debug___2968); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C23316_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C2512_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C23316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_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__P23949_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P3145_mk(s); s.callLocIdx = 923; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P22735_mk(s); + s.tmp_0 = power_checkDeepSleep__P1931_mk(s); s.callLocIdx = 924; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -3635,12 +3635,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P28574.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P7764.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P28574_mk(s) { +function scene_Scene_init_inline__P7764_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P28574, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3657,7 +3657,7 @@ function scene_Scene_init_inline__P28574_mk(s) { -function scene_Scene_init_inline__P28605(s) { +function scene_Scene_init_inline__P7795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3682,12 +3682,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P28605.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P7795.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P28605_mk(s) { +function scene_Scene_init_inline__P7795_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P28605, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P7795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3697,7 +3697,7 @@ function scene_Scene_init_inline__P28605_mk(s) { -function multiplayer_initPlayerConnectionListeners__P24211(s) { +function multiplayer_initPlayerConnectionListeners__P3407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3707,43 +3707,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28608 = undefined; - s.p___28608 = (1); + s.p___7798 = undefined; + s.p___7798 = (1); case 1: - r0 = (s.p___28608 <= 4); + r0 = (s.p___7798 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P26263_mk(s); - s.tmp_1.arg0 = s.p___28608; + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P5458_mk(s); + s.tmp_1.arg0 = s.p___7798; s.callLocIdx = 1280; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___28608 + 1); - s.p___28608 = (r0); + r0 = (s.p___7798 + 1); + s.p___7798 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initPlayerConnectionListeners__P24211.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} +multiplayer_initPlayerConnectionListeners__P3407.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} -function multiplayer_initPlayerConnectionListeners__P24211_mk(s) { +function multiplayer_initPlayerConnectionListeners__P3407_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initPlayerConnectionListeners__P24211, depth: s.depth + 1, + parent: s, fn: multiplayer_initPlayerConnectionListeners__P3407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___28608: undefined, + p___7798: undefined, } } -function multiplayer_registerPlayerConnectionListeners__P26263(s) { +function multiplayer_registerPlayerConnectionListeners__P5458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3757,10 +3757,10 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P28620); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P7810); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P21196_mk(s); + s.tmp_1 = control_onEvent__P391_mk(s); s.tmp_1.arg0 = 3241; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -3768,10 +3768,10 @@ switch (step) { s.callLocIdx = 1282; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P28626); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P7816); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P21196_mk(s); + s.tmp_1 = control_onEvent__P391_mk(s); s.tmp_1.arg0 = 3242; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -3783,12 +3783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P26263.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} +multiplayer_registerPlayerConnectionListeners__P5458.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} -function multiplayer_registerPlayerConnectionListeners__P26263_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P5458_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P26263, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P5458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3799,7 +3799,7 @@ function multiplayer_registerPlayerConnectionListeners__P26263_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P28620(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P7810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3809,7 +3809,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P26264_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5459_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 1281; s.pc = 1; return s.tmp_0; @@ -3819,12 +3819,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P28620.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P7810.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P28620_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P7810_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P28620, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P7810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3833,7 +3833,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P28620_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P28626(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P7816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3843,7 +3843,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P26264_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5459_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 1283; s.pc = 1; return s.tmp_0; @@ -3853,12 +3853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P28626.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P7816.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P28626_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P7816_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P28626, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P7816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3867,7 +3867,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P28626_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P26264(s) { +function multiplayer_receiveConnectionChangedEvent__P5459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3877,7 +3877,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___28631 = undefined; + s.c___7821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3895,21 +3895,21 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___28631 = (globals.player1___22928); + s.c___7821 = (globals.player1___2124); { step = 5; continue; } case 2: - s.c___28631 = (globals.player2___22925); + s.c___7821 = (globals.player2___2121); { step = 5; continue; } case 3: - s.c___28631 = (globals.player3___22926); + s.c___7821 = (globals.player3___2122); { step = 5; continue; } case 4: - s.c___28631 = (globals.player4___22927); + s.c___7821 = (globals.player4___2123); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___28631); + r0 = pxsim_numops_toBoolDecr(s.c___7821); if (!r0) { step = 6; continue; } - s.tmp_0 = controller_Controller_connected__P22961_mk(s); - s.tmp_0.arg0 = s.c___28631; + s.tmp_0 = controller_Controller_connected__P2157_mk(s); + s.tmp_0.arg0 = s.c___7821; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1285; s.pc = 8; return s.tmp_0; case 8: @@ -3920,15 +3920,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P26264.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} +multiplayer_receiveConnectionChangedEvent__P5459.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} -function multiplayer_receiveConnectionChangedEvent__P26264_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P5459_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P26264, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P5459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___28631: undefined, + c___7821: undefined, arg0: undefined, arg1: undefined, } } @@ -3937,7 +3937,7 @@ function multiplayer_receiveConnectionChangedEvent__P26264_mk(s) { -function controller_Controller_connected__P22961(s) { +function controller_Controller_connected__P2157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3953,7 +3953,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -3981,12 +3981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P22961.info = {"start":7796,"length":261,"line":254,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P2157.info = {"start":7796,"length":261,"line":254,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P22961_mk(s) { +function controller_Controller_connected__P2157_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P22961, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P2157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3999,7 +3999,7 @@ function controller_Controller_connected__P22961_mk(s) { -function controller__player1__P22933(s) { +function controller__player1__P2129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4009,7 +4009,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___25523); + r0 = pxsim_numops_toBoolDecr(globals._players___4718); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4018,7 +4018,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___25523, 0); + r0 = pxsim_Array__getAt(globals._players___4718, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -4028,18 +4028,18 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C22939_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2135_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___22920); - r0 = pxsim_Array__push(s.tmp_6, globals.up___22921); - r0 = pxsim_Array__push(s.tmp_6, globals.right___22922); - r0 = pxsim_Array__push(s.tmp_6, globals.down___22923); - r0 = pxsim_Array__push(s.tmp_6, globals.A___22918); - r0 = pxsim_Array__push(s.tmp_6, globals.B___22919); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___22924); - s.tmp_7 = controller_Controller_constructor__P22943_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___2116); + r0 = pxsim_Array__push(s.tmp_6, globals.up___2117); + r0 = pxsim_Array__push(s.tmp_6, globals.right___2118); + r0 = pxsim_Array__push(s.tmp_6, globals.down___2119); + r0 = pxsim_Array__push(s.tmp_6, globals.A___2114); + r0 = pxsim_Array__push(s.tmp_6, globals.B___2115); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___2120); + s.tmp_7 = controller_Controller_constructor__P2139_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -4048,16 +4048,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___25523, 0); + r0 = pxsim_Array__getAt(globals._players___4718, 0); return leave(s, r0) default: oops() } } } -controller__player1__P22933.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P2129.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P22933_mk(s) { +function controller__player1__P2129_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P22933, depth: s.depth + 1, + parent: s, fn: controller__player1__P2129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4073,7 +4073,7 @@ function controller__player1__P22933_mk(s) { -function controller_Controller_constructor__P22943(s) { +function controller_Controller_constructor__P2139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4083,9 +4083,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___28687 = undefined; - s.i___28695 = undefined; - s.i___28713 = undefined; + s.leftId___7877 = undefined; + s.i___7885 = undefined; + s.i___7903 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4093,7 +4093,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -4117,18 +4117,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___28687 = (r0); - s.i___28695 = (0); + s.leftId___7877 = (r0); + s.i___7885 = (0); case 2: - r0 = (s.i___28695 < 7); + r0 = (s.i___7885 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C22994_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2190_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P23000_mk(s); + s.tmp_2 = controller_Button_constructor__P2196_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___28687 + s.i___28695); + r0 = (s.leftId___7877 + s.i___7885); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 157; s.pc = 7; return s.tmp_2; @@ -4137,14 +4137,14 @@ switch (step) { r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___28695 + 1); - s.i___28695 = (r0); + r0 = (s.i___7885 + 1); + s.i___7885 = (r0); { step = 2; continue; } case 3: case 4: - s.i___28713 = (0); + s.i___7903 = (0); case 5: - s.tmp_1 = r0 = s.i___28713; + s.tmp_1 = r0 = s.i___7903; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -4155,14 +4155,14 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["buttons"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___28713); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___7903); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___28713 + 1); - s.i___28713 = (r0); + r0 = (s.i___7903 + 1); + s.i___7903 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P25587_mk(s); + s.tmp_0 = controller_addController__P4782_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 158; s.pc = 8; return s.tmp_0; case 8: @@ -4171,12 +4171,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P22943.info = {"start":2452,"length":696,"line":82,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P2139.info = {"start":2452,"length":696,"line":82,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P22943_mk(s) { +function controller_Controller_constructor__P2139_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P22943, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P2139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4184,9 +4184,9 @@ function controller_Controller_constructor__P22943_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___28687: undefined, - i___28695: undefined, - i___28713: undefined, + leftId___7877: undefined, + i___7885: undefined, + i___7903: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4196,7 +4196,7 @@ function controller_Controller_constructor__P22943_mk(s) { -function controller_addController__P25587(s) { +function controller_addController__P4782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4210,17 +4210,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___25523); + r0 = pxsim_numops_toBoolDecr(globals._players___4718); 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___25523 = (r0); + globals._players___4718 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___25523; + s.tmp_0 = r0 = globals._players___4718; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -4230,12 +4230,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P25587.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P4782.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P25587_mk(s) { +function controller_addController__P4782_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P25587, depth: s.depth + 1, + parent: s, fn: controller_addController__P4782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4247,7 +4247,7 @@ function controller_addController__P25587_mk(s) { -function multiplayer_initServer__P24210(s) { +function multiplayer_initServer__P3406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4263,14 +4263,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = control_EventContext_registerFrameHandler__P21208_mk(s); - s.tmp_3 = game_eventContext__P23824_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_3 = game_eventContext__P3020_mk(s); s.callLocIdx = 1278; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 210; - s.tmp_2.arg2 = multiplayer_initServer_inline__P28788; + s.tmp_2.arg2 = multiplayer_initServer_inline__P7978; s.callLocIdx = 1279; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -4280,12 +4280,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_initServer__P24210.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} +multiplayer_initServer__P3406.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} -function multiplayer_initServer__P24210_mk(s) { +function multiplayer_initServer__P3406_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer__P24210, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer__P3406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4297,7 +4297,7 @@ function multiplayer_initServer__P24210_mk(s) { -function multiplayer_initServer_inline__P28788(s) { +function multiplayer_initServer_inline__P7978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4313,19 +4313,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.multiplayer.postImage(globals.screen___22837); + r0 = pxsim.multiplayer.postImage(globals.screen___2033); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initServer_inline__P28788.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_initServer_inline__P7978.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_initServer_inline__P28788_mk(s) { +function multiplayer_initServer_inline__P7978_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P28788, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P7978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4335,7 +4335,7 @@ function multiplayer_initServer_inline__P28788_mk(s) { -function game_consoleOverlay_draw__P23949(s) { +function game_consoleOverlay_draw__P3145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4345,16 +4345,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___28841 = undefined; - s.top___28846 = undefined; - s.i___28852 = undefined; - s.t___28865 = undefined; - s.tOff___28872 = undefined; - s.tab___28874 = undefined; - s.unnamed182___U6 = undefined; - s.unnamed183___U7 = undefined; - s.padding___28876 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___26106); + s.height___8031 = undefined; + s.top___8036 = undefined; + s.i___8042 = undefined; + s.t___8055 = undefined; + s.tOff___8062 = undefined; + s.tab___8064 = undefined; + s.unnamed90___U6 = undefined; + s.unnamed91___U7 = undefined; + s.padding___8066 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5301); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4363,7 +4363,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___26060); + r0 = pxsim_numops_toBoolDecr(globals.instance___5255); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -4379,7 +4379,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___26114; + s.tmp_7.arg0 = globals.consoleFont___5309; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -4392,10 +4392,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___28841 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___23773); + s.height___8031 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2969); if (!r0) { step = 5; continue; } - r0 = s.height___28841; + r0 = s.height___8031; { step = 6; continue; } case 5: r0 = 0; @@ -4403,17 +4403,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___28846 = (r0); - s.i___28852 = (0); + s.top___8036 = (r0); + s.i___8042 = (0); case 7: - s.tmp_1 = r0 = s.i___28852; - r0 = pxsim_Array__length(globals.consoleStrings___26106); + s.tmp_1 = r0 = s.i___8042; + r0 = pxsim_Array__length(globals.consoleStrings___5301); 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___26106, s.i___28852); + r0 = pxsim_Array__getAt(globals.consoleStrings___5301, s.i___8042); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -4421,43 +4421,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P20927_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___26106, s.i___28852); + s.tmp_6 = helpers_stringSplit__P122_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___5301, s.i___8042); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1133; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___28865 = (r0); - s.tOff___28872 = (0); - s.tab___28874 = (undefined); - s.unnamed182___U6 = (s.t___28865); - s.unnamed183___U7 = (0); + s.t___8055 = (r0); + s.tOff___8062 = (0); + s.tab___8064 = (undefined); + s.unnamed90___U6 = (s.t___8055); + s.unnamed91___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed183___U7; - r0 = pxsim_Array__length(s.unnamed182___U6); + s.tmp_0 = r0 = s.unnamed91___U7; + r0 = pxsim_Array__length(s.unnamed90___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed182___U6, s.unnamed183___U7); - s.tab___28874 = (r0); - s.tmp_2 = r0 = globals.tabSize___26108; - s.tmp_5 = r0 = s.tOff___28872; - r0 = pxsim_String_.length(s.tab___28874); + r0 = pxsim_Array__getAt(s.unnamed90___U6, s.unnamed91___U7); + s.tab___8064 = (r0); + s.tmp_2 = r0 = globals.tabSize___5303; + s.tmp_5 = r0 = s.tOff___8062; + r0 = pxsim_String_.length(s.tab___8064); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___26108); + r0 = (s.tmp_4 % globals.tabSize___5303); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___28876 = (r0); - s.tmp_0 = helpers_imagePrint__P22795_mk(s); - s.tmp_0.arg0 = globals.screen___22837; - s.tmp_0.arg1 = s.tab___28874; - s.tmp_2 = r0 = s.tOff___28872; + s.padding___8066 = (r0); + s.tmp_0 = helpers_imagePrint__P1991_mk(s); + s.tmp_0.arg0 = globals.screen___2033; + s.tmp_0.arg1 = s.tab___8064; + s.tmp_2 = r0 = s.tOff___8062; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___26114; + s.tmp_4.arg0 = globals.consoleFont___5309; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -4473,50 +4473,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___28846; - r0 = (s.i___28852 * s.height___28841); + s.tmp_5 = r0 = s.top___8036; + r0 = (s.i___8042 * s.height___8031); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___26105; - s.tmp_0.arg5 = globals.consoleFont___26114; + s.tmp_0.arg4 = globals.consoleColor___5300; + s.tmp_0.arg5 = globals.consoleFont___5309; s.tmp_0.arg6 = undefined; s.callLocIdx = 1135; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___28872; - r0 = pxsim_String_.length(s.tab___28874); + s.tmp_0 = r0 = s.tOff___8062; + r0 = pxsim_String_.length(s.tab___8064); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___28876); + r0 = (s.tmp_2 + s.padding___8066); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___28872 = (r0); - r0 = (s.unnamed183___U7 + 1); - s.unnamed183___U7 = (r0); + s.tOff___8062 = (r0); + r0 = (s.unnamed91___U7 + 1); + s.unnamed91___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed182___U6 = (undefined); + s.unnamed90___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P22795_mk(s); - s.tmp_0.arg0 = globals.screen___22837; - r0 = pxsim_Array__getAt(globals.consoleStrings___26106, s.i___28852); + s.tmp_0 = helpers_imagePrint__P1991_mk(s); + s.tmp_0.arg0 = globals.screen___2033; + r0 = pxsim_Array__getAt(globals.consoleStrings___5301, s.i___8042); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___28846; - r0 = (s.i___28852 * s.height___28841); + s.tmp_1 = r0 = s.top___8036; + r0 = (s.i___8042 * s.height___8031); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___26105; - s.tmp_0.arg5 = globals.consoleFont___26114; + s.tmp_0.arg4 = globals.consoleColor___5300; + s.tmp_0.arg5 = globals.consoleFont___5309; s.tmp_0.arg6 = undefined; s.callLocIdx = 1136; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___28852 + 1); - s.i___28852 = (r0); + r0 = (s.i___8042 + 1); + s.i___8042 = (r0); { step = 7; continue; } case 12: case 13: @@ -4524,12 +4524,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P23949.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__P3145.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__P23949_mk(s) { +function game_consoleOverlay_draw__P3145_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P23949, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P3145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4539,22 +4539,22 @@ function game_consoleOverlay_draw__P23949_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___28841: undefined, - top___28846: undefined, - i___28852: undefined, - t___28865: undefined, - tOff___28872: undefined, - tab___28874: undefined, - unnamed182___U6: undefined, - unnamed183___U7: undefined, - padding___28876: undefined, + height___8031: undefined, + top___8036: undefined, + i___8042: undefined, + t___8055: undefined, + tOff___8062: undefined, + tab___8064: undefined, + unnamed90___U6: undefined, + unnamed91___U7: undefined, + padding___8066: undefined, } } -function scene_systemMenu_isVisible__P23930(s) { +function scene_systemMenu_isVisible__P3126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4564,7 +4564,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___26060); + r0 = pxsim_numops_toBoolDecr(globals.instance___5255); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -4574,12 +4574,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P23930.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__P3126.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__P23930_mk(s) { +function scene_systemMenu_isVisible__P3126_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P23930, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P3126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4590,7 +4590,7 @@ function scene_systemMenu_isVisible__P23930_mk(s) { -function helpers_imagePrint__P22795(s) { +function helpers_imagePrint__P1991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4600,31 +4600,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___28948 = undefined; - s.cp___28950 = undefined; - s.mult___28951 = undefined; - s.dataW___28956 = undefined; - s.dataH___28962 = undefined; - s.byteHeight___28968 = undefined; - s.charSize___28974 = undefined; - s.dataSize___28978 = undefined; - s.fontdata___28982 = undefined; - s.lastchar___28985 = undefined; - s.imgBuf___28992 = undefined; - s.xOffset___29016 = undefined; - s.yOffset___29017 = undefined; - s.ch___29032 = undefined; - s.l___29051 = undefined; - s.r___29052 = undefined; - s.off___29054 = undefined; - s.guess___29055 = undefined; - s.m___29074 = undefined; - s.v___29083 = undefined; - s.i___29139 = undefined; - s.j___29144 = undefined; - s.mask___29145 = undefined; - s.c___29146 = undefined; - s.n___29163 = undefined; + s.x0___8138 = undefined; + s.cp___8140 = undefined; + s.mult___8141 = undefined; + s.dataW___8146 = undefined; + s.dataH___8152 = undefined; + s.byteHeight___8158 = undefined; + s.charSize___8164 = undefined; + s.dataSize___8168 = undefined; + s.fontdata___8172 = undefined; + s.lastchar___8175 = undefined; + s.imgBuf___8182 = undefined; + s.xOffset___8206 = undefined; + s.yOffset___8207 = undefined; + s.ch___8222 = undefined; + s.l___8241 = undefined; + s.r___8242 = undefined; + s.off___8244 = undefined; + s.guess___8245 = undefined; + s.m___8264 = undefined; + s.v___8273 = undefined; + s.i___8329 = undefined; + s.j___8334 = undefined; + s.mask___8335 = undefined; + s.c___8336 = undefined; + s.n___8353 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4645,7 +4645,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P22782_mk(s); + s.tmp_2 = image_getFontForText__P1978_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 97; s.pc = 39; return s.tmp_2; case 39: @@ -4662,8 +4662,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___28948 = (s.arg2); - s.cp___28950 = (0); + s.x0___8138 = (s.arg2); + s.cp___8140 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -4697,7 +4697,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___28951 = (s.tmp_3); + s.mult___8141 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -4711,8 +4711,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___28951); - s.dataW___28956 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8141); + s.dataW___8146 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -4726,16 +4726,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___28951); - s.dataH___28962 = (r0); - r0 = (s.dataH___28962 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8141); + s.dataH___8152 = (r0); + r0 = (s.dataH___8152 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___28968 = (r0); - r0 = (s.byteHeight___28968 * s.dataW___28956); - s.charSize___28974 = (r0); - r0 = (2 + s.charSize___28974); - s.dataSize___28978 = (r0); + s.byteHeight___8158 = (r0); + r0 = (s.byteHeight___8158 * s.dataW___8146); + s.charSize___8164 = (r0); + r0 = (2 + s.charSize___8164); + s.dataSize___8168 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -4748,44 +4748,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___28982 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___28982); + s.fontdata___8172 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___8172); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___28978); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___8168); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___28985 = (r0); - r0 = (s.mult___28951 == 1); + s.lastchar___8175 = (r0); + r0 = (s.mult___8141 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___28974); + r0 = (8 + s.charSize___8164); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___28992 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___28992, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___28992, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___28992, 2, s.dataW___28956); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___28992, 4, s.dataH___28962); + s.imgBuf___8182 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8182, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8182, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8182, 2, s.dataW___8146); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___8182, 4, s.dataH___8152); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___28950; + s.tmp_1 = r0 = s.cp___8140; 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___29016 = (0); - s.yOffset___29017 = (0); + s.xOffset___8206 = (0); + s.yOffset___8207 = (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___28950; + s.tmp_1 = r0 = s.cp___8140; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -4795,7 +4795,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___28950); + r0 = pxsim_Array__getAt(s.arg6, s.cp___8140); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -4807,9 +4807,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___29016 = (r0); + s.xOffset___8206 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___28950); + r0 = pxsim_Array__getAt(s.arg6, s.cp___8140); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -4821,15 +4821,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___29017 = (r0); + s.yOffset___8207 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___28950; + s.tmp_0 = r0 = s.cp___8140; r0 = (s.tmp_0 + 1); - s.cp___28950 = (r0); + s.cp___8140 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___29032 = (r0); - r0 = (s.ch___29032 == 10); + s.ch___8222 = (r0); + r0 = (s.ch___8222 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -4851,89 +4851,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___28948); + s.arg2 = (s.x0___8138); case 14: case 15: - r0 = (s.ch___29032 < 32); + r0 = (s.ch___8222 < 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___29051 = (0); - s.r___29052 = (s.lastchar___28985); - s.off___29054 = (0); - r0 = (s.ch___29032 - 32); + s.l___8241 = (0); + s.r___8242 = (s.lastchar___8175); + s.off___8244 = (0); + r0 = (s.ch___8222 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___28978); - s.guess___29055 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___28982, 4, s.guess___29055); + r0 = (s.tmp_0 * s.dataSize___8168); + s.guess___8245 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___8172, 4, s.guess___8245); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___29032); + r0 = (s.tmp_1 == s.ch___8222); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___29054 = (s.guess___29055); + s.off___8244 = (s.guess___8245); { step = 25; continue; } case 18: case 19: - r0 = (s.l___29051 <= s.r___29052); + r0 = (s.l___8241 <= s.r___8242); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___29051; - r0 = (s.r___29052 - s.l___29051); + s.tmp_1 = r0 = s.l___8241; + r0 = (s.r___8242 - s.l___8241); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___29074 = (r0); - s.tmp_0 = r0 = s.fontdata___28982; - r0 = (s.m___29074 * s.dataSize___28978); + s.m___8264 = (r0); + s.tmp_0 = r0 = s.fontdata___8172; + r0 = (s.m___8264 * s.dataSize___8168); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___29083 = (r0); - r0 = (s.v___29083 == s.ch___29032); + s.v___8273 = (r0); + r0 = (s.v___8273 == s.ch___8222); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___29074 * s.dataSize___28978); - s.off___29054 = (r0); + r0 = (s.m___8264 * s.dataSize___8168); + s.off___8244 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___29083 < s.ch___29032); + r0 = (s.v___8273 < s.ch___8222); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___29074 + 1); - s.l___29051 = (r0); + r0 = (s.m___8264 + 1); + s.l___8241 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___29074 - 1); - s.r___29052 = (r0); + r0 = (s.m___8264 - 1); + s.r___8242 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___28951 == 1); + r0 = (s.mult___8141 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___28992; - s.tmp_3 = r0 = s.fontdata___28982; - r0 = (s.off___29054 + 2); + s.tmp_1 = r0 = s.imgBuf___8182; + s.tmp_3 = r0 = s.fontdata___8172; + r0 = (s.off___8244 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___28974); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___8164); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P22760_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P1956_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___28992; - r0 = (s.arg2 + s.xOffset___29016); + s.tmp_0.arg1 = s.imgBuf___8182; + r0 = (s.arg2 + s.xOffset___8206); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___29017); + r0 = (s.arg3 + s.yOffset___8207); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 106; s.pc = 48; return s.tmp_0; @@ -4957,88 +4957,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___29054 + 2); - s.off___29054 = (r0); - s.i___29139 = (0); + r0 = (s.off___8244 + 2); + s.off___8244 = (r0); + s.i___8329 = (0); case 27: - r0 = (s.i___29139 < s.dataW___28956); + r0 = (s.i___8329 < s.dataW___8146); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___29144 = (0); - s.mask___29145 = (1); - s.tmp_0 = r0 = s.off___29054; + s.j___8334 = (0); + s.mask___8335 = (1); + s.tmp_0 = r0 = s.off___8244; r0 = (s.tmp_0 + 1); - s.off___29054 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___28982, s.tmp_0); - s.c___29146 = (r0); + s.off___8244 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___8172, s.tmp_0); + s.c___8336 = (r0); case 28: - r0 = (s.j___29144 < s.dataH___28962); + r0 = (s.j___8334 < s.dataH___8152); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___29145 == 256); + r0 = (s.mask___8335 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___29054; + s.tmp_2 = r0 = s.off___8244; r0 = (s.tmp_2 + 1); - s.off___29054 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___28982, s.tmp_2); - s.c___29146 = (r0); - s.mask___29145 = (1); + s.off___8244 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___8172, s.tmp_2); + s.c___8336 = (r0); + s.mask___8335 = (1); case 29: case 30: - s.n___29163 = (0); + s.n___8353 = (0); case 31: - r0 = (s.c___29146 & s.mask___29145); + r0 = (s.c___8336 & s.mask___8335); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___29163 + 1); - s.n___29163 = (r0); - r0 = (s.mask___29145 << 1); - s.mask___29145 = (r0); + r0 = (s.n___8353 + 1); + s.n___8353 = (r0); + r0 = (s.mask___8335 << 1); + s.mask___8335 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___29163); + r0 = pxsim_numops_toBoolDecr(s.n___8353); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P22761_mk(s); + s.tmp_0 = helpers_imageFillRect__P1957_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___29016 * s.mult___28951); + r0 = (s.xOffset___8206 * s.mult___8141); 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___29144 + s.yOffset___29017); + r0 = (s.j___8334 + s.yOffset___8207); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___28951); + r0 = (s.tmp_5 * s.mult___8141); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___28951; - r0 = (s.mult___28951 * s.n___29163); + s.tmp_0.arg3 = s.mult___8141; + r0 = (s.mult___8141 * s.n___8353); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 108; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___29144 + s.n___29163); - s.j___29144 = (r0); + r0 = (s.j___8334 + s.n___8353); + s.j___8334 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___29145 << 1); - s.mask___29145 = (r0); - r0 = (s.j___29144 + 1); - s.j___29144 = (r0); + r0 = (s.mask___8335 << 1); + s.mask___8335 = (r0); + r0 = (s.j___8334 + 1); + s.j___8334 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___28951); + r0 = (s.arg2 + s.mult___8141); s.arg2 = (r0); - r0 = (s.i___29139 + 1); - s.i___29139 = (r0); + r0 = (s.i___8329 + 1); + s.i___8329 = (r0); { step = 27; continue; } case 36: case 37: @@ -5048,12 +5048,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P22795.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__P1991.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__P22795_mk(s) { +function helpers_imagePrint__P1991_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P22795, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P1991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5061,31 +5061,31 @@ function helpers_imagePrint__P22795_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___28948: undefined, - cp___28950: undefined, - mult___28951: undefined, - dataW___28956: undefined, - dataH___28962: undefined, - byteHeight___28968: undefined, - charSize___28974: undefined, - dataSize___28978: undefined, - fontdata___28982: undefined, - lastchar___28985: undefined, - imgBuf___28992: undefined, - xOffset___29016: undefined, - yOffset___29017: undefined, - ch___29032: undefined, - l___29051: undefined, - r___29052: undefined, - off___29054: undefined, - guess___29055: undefined, - m___29074: undefined, - v___29083: undefined, - i___29139: undefined, - j___29144: undefined, - mask___29145: undefined, - c___29146: undefined, - n___29163: undefined, + x0___8138: undefined, + cp___8140: undefined, + mult___8141: undefined, + dataW___8146: undefined, + dataH___8152: undefined, + byteHeight___8158: undefined, + charSize___8164: undefined, + dataSize___8168: undefined, + fontdata___8172: undefined, + lastchar___8175: undefined, + imgBuf___8182: undefined, + xOffset___8206: undefined, + yOffset___8207: undefined, + ch___8222: undefined, + l___8241: undefined, + r___8242: undefined, + off___8244: undefined, + guess___8245: undefined, + m___8264: undefined, + v___8273: undefined, + i___8329: undefined, + j___8334: undefined, + mask___8335: undefined, + c___8336: undefined, + n___8353: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5099,7 +5099,7 @@ function helpers_imagePrint__P22795_mk(s) { -function image_getFontForText__P22782(s) { +function image_getFontForText__P1978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5109,52 +5109,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___29273 = undefined; + s.i___8463 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___29273 = (0); + s.i___8463 = (0); case 1: - s.tmp_1 = r0 = s.i___29273; + s.tmp_1 = r0 = s.i___8463; 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___29273); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___8463); 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___22781; + r0 = globals.font12___1977; { step = 5; continue; } case 2: case 3: - r0 = (s.i___29273 + 1); - s.i___29273 = (r0); + r0 = (s.i___8463 + 1); + s.i___8463 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___22780; + r0 = globals.font8___1976; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P22782.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__P1978.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__P22782_mk(s) { +function image_getFontForText__P1978_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P22782, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P1978, 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___29273: undefined, + i___8463: undefined, arg0: undefined, } } @@ -5162,7 +5162,7 @@ function image_getFontForText__P22782_mk(s) { -function helpers_imageFillRect__P22761(s) { +function helpers_imageFillRect__P1957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5182,14 +5182,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P25444_mk(s); + s.tmp_2 = helpers_pack__P4639_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 79; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P25444_mk(s); + s.tmp_4 = helpers_pack__P4639_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 80; s.pc = 2; return s.tmp_4; @@ -5201,12 +5201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P22761.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P1957.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P22761_mk(s) { +function helpers_imageFillRect__P1957_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P22761, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P1957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5225,7 +5225,7 @@ function helpers_imageFillRect__P22761_mk(s) { -function helpers_pack__P25444(s) { +function helpers_pack__P4639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5240,7 +5240,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P20932_mk(s); + s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -5251,7 +5251,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P20932_mk(s); + s.tmp_5 = Math_clamp__P127_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -5266,12 +5266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P25444.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P4639.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P25444_mk(s) { +function helpers_pack__P4639_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P25444, depth: s.depth + 1, + parent: s, fn: helpers_pack__P4639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5287,7 +5287,7 @@ function helpers_pack__P25444_mk(s) { -function Math_clamp__P20932(s) { +function Math_clamp__P127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5303,9 +5303,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P20936_mk(s); + s.tmp_0 = Math_min__P131_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P20935_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 14; s.pc = 2; return s.tmp_1; @@ -5318,12 +5318,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P20932.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P127.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P20932_mk(s) { +function Math_clamp__P127_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P20932, depth: s.depth + 1, + parent: s, fn: Math_clamp__P127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5336,7 +5336,7 @@ function Math_clamp__P20932_mk(s) { -function Math_min__P20936(s) { +function Math_min__P131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5364,12 +5364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P20936.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__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"]} -function Math_min__P20936_mk(s) { +function Math_min__P131_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P20936, depth: s.depth + 1, + parent: s, fn: Math_min__P131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5380,7 +5380,7 @@ function Math_min__P20936_mk(s) { -function helpers_imageDrawIcon__P22760(s) { +function helpers_imageDrawIcon__P1956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5400,7 +5400,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P25444_mk(s); + s.tmp_3 = helpers_pack__P4639_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 78; s.pc = 1; return s.tmp_3; @@ -5412,12 +5412,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P22760.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P1956.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P22760_mk(s) { +function helpers_imageDrawIcon__P1956_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P22760, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P1956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5434,7 +5434,7 @@ function helpers_imageDrawIcon__P22760_mk(s) { -function helpers_stringSplit__P20927(s) { +function helpers_stringSplit__P122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5444,15 +5444,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___29296 = undefined; - s.lim___29298 = undefined; - s.s___29314 = undefined; - s.p___29317 = undefined; - s.R___29318 = undefined; - s.z___29332 = undefined; - s.T___29345 = undefined; - s.q___29346 = undefined; - s.e___29352 = undefined; + s.A___8486 = undefined; + s.lim___8488 = undefined; + s.s___8504 = undefined; + s.p___8507 = undefined; + s.R___8508 = undefined; + s.z___8522 = undefined; + s.T___8535 = undefined; + s.q___8536 = undefined; + s.e___8542 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5460,36 +5460,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___29296 = (r0); - s.lim___29298 = (0); + s.A___8486 = (r0); + s.lim___8488 = (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___29298 = (r0); + s.lim___8488 = (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___29298 = (0); + s.lim___8488 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___29298 = (r0); + s.lim___8488 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___29314 = (r0); - s.p___29317 = (0); - s.R___29318 = (s.arg1); - r0 = (s.lim___29298 == 0); + s.s___8504 = (r0); + s.p___8507 = (0); + s.R___8508 = (s.arg1); + r0 = (s.lim___8488 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___29296; + r0 = s.A___8486; { step = 21; continue; } case 5: case 6: @@ -5497,123 +5497,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___29296, 0, s.arg0); - r0 = s.A___29296; + r0 = pxsim_Array_.setAt(s.A___8486, 0, s.arg0); + r0 = s.A___8486; { step = 21; continue; } case 7: case 8: - r0 = (s.s___29314 == 0); + r0 = (s.s___8504 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P25230_mk(s); + s.tmp_1 = helpers_splitMatch__P4425_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___29318; + s.tmp_1.arg2 = s.R___8508; s.callLocIdx = 10; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___29332 = (r0); - r0 = (s.z___29332 > -1); + s.z___8522 = (r0); + r0 = (s.z___8522 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___29296; + r0 = s.A___8486; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___29296, 0, s.arg0); - r0 = s.A___29296; + r0 = pxsim_Array_.setAt(s.A___8486, 0, s.arg0); + r0 = s.A___8486; { step = 21; continue; } case 11: case 12: - s.q___29346 = (s.p___29317); + s.q___8536 = (s.p___8507); case 13: - r0 = (s.q___29346 != s.s___29314); + r0 = (s.q___8536 != s.s___8504); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P25230_mk(s); + s.tmp_1 = helpers_splitMatch__P4425_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___29346; - s.tmp_1.arg2 = s.R___29318; + s.tmp_1.arg1 = s.q___8536; + s.tmp_1.arg2 = s.R___8508; s.callLocIdx = 11; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___29352 = (r0); - r0 = (s.e___29352 < 0); + s.e___8542 = (r0); + r0 = (s.e___8542 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___29346 + 1); - s.q___29346 = (r0); + r0 = (s.q___8536 + 1); + s.q___8536 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___29352 == s.p___29317); + r0 = (s.e___8542 == s.p___8507); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___29346 + 1); - s.q___29346 = (r0); + r0 = (s.q___8536 + 1); + s.q___8536 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P20924_mk(s); + s.tmp_0 = helpers_stringSlice__P119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___29317; - s.tmp_0.arg2 = s.q___29346; + s.tmp_0.arg1 = s.p___8507; + s.tmp_0.arg2 = s.q___8536; s.callLocIdx = 12; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___29345 = (r0); - r0 = pxsim_Array__push(s.A___29296, s.T___29345); - r0 = pxsim_Array__length(s.A___29296); + s.T___8535 = (r0); + r0 = pxsim_Array__push(s.A___8486, s.T___8535); + r0 = pxsim_Array__length(s.A___8486); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___29298); + r0 = (s.tmp_1 == s.lim___8488); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___29296; + r0 = s.A___8486; { step = 21; continue; } case 16: case 17: - s.p___29317 = (s.e___29352); - s.q___29346 = (s.p___29317); + s.p___8507 = (s.e___8542); + s.q___8536 = (s.p___8507); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P20924_mk(s); + s.tmp_0 = helpers_stringSlice__P119_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___29317; - s.tmp_0.arg2 = s.q___29346; + s.tmp_0.arg1 = s.p___8507; + s.tmp_0.arg2 = s.q___8536; s.callLocIdx = 13; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___29345 = (r0); - r0 = pxsim_Array__push(s.A___29296, s.T___29345); - r0 = s.A___29296; + s.T___8535 = (r0); + r0 = pxsim_Array__push(s.A___8486, s.T___8535); + r0 = s.A___8486; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P20927.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P122.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P20927_mk(s) { +function helpers_stringSplit__P122_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P20927, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___29296: undefined, - lim___29298: undefined, - s___29314: undefined, - p___29317: undefined, - R___29318: undefined, - z___29332: undefined, - T___29345: undefined, - q___29346: undefined, - e___29352: undefined, + A___8486: undefined, + lim___8488: undefined, + s___8504: undefined, + p___8507: undefined, + R___8508: undefined, + z___8522: undefined, + T___8535: undefined, + q___8536: undefined, + e___8542: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5623,7 +5623,7 @@ function helpers_stringSplit__P20927_mk(s) { -function helpers_splitMatch__P25230(s) { +function helpers_splitMatch__P4425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5633,9 +5633,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___29432 = undefined; - s.s___29435 = undefined; - s.i___29445 = undefined; + s.r___8622 = undefined; + s.s___8625 = undefined; + s.i___8635 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5643,12 +5643,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___29432 = (r0); + s.r___8622 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___29435 = (r0); - r0 = (s.arg1 + s.r___29432); + s.s___8625 = (r0); + r0 = (s.arg1 + s.r___8622); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___29435); + r0 = (s.tmp_1 > s.s___8625); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -5656,18 +5656,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___29445 = (0); + s.i___8635 = (0); case 3: - r0 = (s.i___29445 < s.r___29432); + r0 = (s.i___8635 < s.r___8622); 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___29445); + r0 = (s.arg1 + s.i___8635); 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___29445); + r0 = pxsim_String_.charAt(s.arg2, s.i___8635); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -5677,21 +5677,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___29445 + 1); - s.i___29445 = (r0); + r0 = (s.i___8635 + 1); + s.i___8635 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___29432); + r0 = (s.arg1 + s.r___8622); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P25230.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__P4425.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__P25230_mk(s) { +function helpers_splitMatch__P4425_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P25230, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P4425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5699,9 +5699,9 @@ function helpers_splitMatch__P25230_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___29432: undefined, - s___29435: undefined, - i___29445: undefined, + r___8622: undefined, + s___8625: undefined, + i___8635: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5711,7 +5711,7 @@ function helpers_splitMatch__P25230_mk(s) { -function helpers_stringSlice__P20924(s) { +function helpers_stringSlice__P119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5721,7 +5721,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___29397 = undefined; + s.len___8587 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5729,13 +5729,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___29397 = (r0); + s.len___8587 = (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__P20935_mk(s); - r0 = (s.len___29397 + s.arg1); + s.tmp_1 = Math_max__P130_mk(s); + r0 = (s.len___8587 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 9; return s.tmp_1; @@ -5748,7 +5748,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___29397); + s.arg2 = (s.len___8587); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -5763,7 +5763,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___29397 + s.arg2); + r0 = (s.len___8587 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -5775,17 +5775,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P20924.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P119.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P20924_mk(s) { +function helpers_stringSlice__P119_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P20924, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___29397: undefined, + len___8587: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5795,7 +5795,7 @@ function helpers_stringSlice__P20924_mk(s) { -function scene_Scene_render__P23677(s) { +function scene_Scene_render__P2873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5805,15 +5805,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___29529 = undefined; - s.unnamed180___U1 = undefined; - s.unnamed181___U2 = undefined; + s.s___8719 = undefined; + s.unnamed88___U1 = undefined; + s.unnamed89___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C23648_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2844_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -5844,7 +5844,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P23677_mk(s); + s.tmp_3 = scene_Scene_render__P2873_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 932; s.pc = 12; return s.tmp_3; @@ -5852,7 +5852,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P23483_mk(s); + s.tmp_0 = scene_Background_draw__P2679_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 933; s.pc = 13; return s.tmp_0; @@ -5865,10 +5865,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P20910_mk(s); + s.tmp_2 = helpers_arraySort__P105_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P29506; + s.tmp_2.arg1 = scene_Scene_render_inline__P8696; s.callLocIdx = 938; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -5880,20 +5880,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___29529 = (undefined); + s.s___8719 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed180___U1 = (r0); - s.unnamed181___U2 = (0); + s.unnamed88___U1 = (r0); + s.unnamed89___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed181___U2; - r0 = pxsim_Array__length(s.unnamed180___U1); + s.tmp_0 = r0 = s.unnamed89___U2; + r0 = pxsim_Array__length(s.unnamed88___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed180___U1, s.unnamed181___U2); - s.s___29529 = (r0); + r0 = pxsim_Array__getAt(s.unnamed88___U1, s.unnamed89___U2); + s.s___8719 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___29529; + s.tmp_2.arg0 = s.s___8719; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -5907,11 +5907,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed181___U2 + 1); - s.unnamed181___U2 = (r0); + r0 = (s.unnamed89___U2 + 1); + s.unnamed89___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed180___U1 = (undefined); + s.unnamed88___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -5923,21 +5923,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P23677.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P2873.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P23677_mk(s) { +function scene_Scene_render__P2873_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P23677, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P2873, 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___29529: undefined, - unnamed180___U1: undefined, - unnamed181___U2: undefined, + s___8719: undefined, + unnamed88___U1: undefined, + unnamed89___U2: undefined, arg0: undefined, } } @@ -5945,7 +5945,7 @@ function scene_Scene_render__P23677_mk(s) { -function scene_Scene_render_inline__P29506(s) { +function scene_Scene_render_inline__P8696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6027,12 +6027,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P29506.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P8696.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P29506_mk(s) { +function scene_Scene_render_inline__P8696_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P29506, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P8696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6052,7 +6052,7 @@ function scene_Scene_render_inline__P29506_mk(s) { -function scene_Background_draw__P23483(s) { +function scene_Background_draw__P2679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6067,27 +6067,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C23474_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2670_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___22837, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___2033, 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___22837, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___2033, 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__P29677); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P8867); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P20914_mk(s); + s.tmp_2 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -6100,12 +6100,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P23483.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__P2679.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__P23483_mk(s) { +function scene_Background_draw__P2679_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P23483, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P2679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6117,7 +6117,7 @@ function scene_Background_draw__P23483_mk(s) { -function scene_Background_draw_inline__P29677(s) { +function scene_Background_draw_inline__P8867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6127,8 +6127,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___29679 = undefined; - s.oy___29690 = undefined; + s.ox___8869 = undefined; + s.oy___8880 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -6143,7 +6143,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___29679 = (r0); + s.ox___8869 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -6154,11 +6154,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___29690 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P23492_mk(s); + s.oy___8880 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P2688_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___29679; - s.tmp_0.arg2 = s.oy___29690; + s.tmp_0.arg1 = s.ox___8869; + s.tmp_0.arg2 = s.oy___8880; s.callLocIdx = 792; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -6166,19 +6166,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P29677.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__P8867.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__P29677_mk(s) { +function scene_Background_draw_inline__P8867_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P29677, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P8867, 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___29679: undefined, - oy___29690: undefined, + ox___8869: undefined, + oy___8880: undefined, arg0: undefined, } } @@ -6186,7 +6186,7 @@ function scene_Background_draw_inline__P29677_mk(s) { -function scene_BackgroundLayer_draw__P23492(s) { +function scene_BackgroundLayer_draw__P2688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6196,19 +6196,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___29708 = undefined; - s.h___29711 = undefined; - s.pw___29714 = undefined; - s.ph___29718 = undefined; - s.rx___29727 = undefined; - s.ry___29730 = undefined; - s.y___29799 = undefined; - s.py___29800 = undefined; - s.dh___29809 = undefined; - s.x___29817 = undefined; - s.rxl___29818 = undefined; - s.px___29824 = undefined; - s.dw___29828 = undefined; + s.w___8898 = undefined; + s.h___8901 = undefined; + s.pw___8904 = undefined; + s.ph___8908 = undefined; + s.rx___8917 = undefined; + s.ry___8920 = undefined; + s.y___8989 = undefined; + s.py___8990 = undefined; + s.dh___8999 = undefined; + s.x___9007 = undefined; + s.rxl___9008 = undefined; + s.px___9014 = undefined; + s.dw___9018 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6216,20 +6216,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C23484_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___22837); - s.w___29708 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___22837); - s.h___29711 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2680_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___2033); + s.w___8898 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___2033); + s.h___8901 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___29714 = (r0); + s.pw___8904 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___29718 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___29714); + s.ph___8908 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___8904); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6238,7 +6238,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___29718); + r0 = pxsim_numops_toBoolDecr(s.ph___8908); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -6250,9 +6250,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___29727 = (r0); + s.rx___8917 = (r0); r0 = (0 - s.arg2); - s.ry___29730 = (r0); + s.ry___8920 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -6262,20 +6262,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___29727; - r0 = (s.w___29708 + s.pw___29714); + s.tmp_1 = r0 = s.rx___8917; + r0 = (s.w___8898 + s.pw___8904); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___29727 = (r0); + s.rx___8917 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___29727; - r0 = (s.w___29708 + s.pw___29714); + s.tmp_0 = r0 = s.rx___8917; + r0 = (s.w___8898 + s.pw___8904); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___29727 = (r0); + s.rx___8917 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -6286,120 +6286,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___29730; - r0 = (s.h___29711 + s.ph___29718); + s.tmp_1 = r0 = s.ry___8920; + r0 = (s.h___8901 + s.ph___8908); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___29730 = (r0); + s.ry___8920 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___29730; - r0 = (s.h___29711 + s.ph___29718); + s.tmp_0 = r0 = s.ry___8920; + r0 = (s.h___8901 + s.ph___8908); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___29730 = (r0); + s.ry___8920 = (r0); case 10: - r0 = (s.rx___29727 % s.w___29708); - s.rx___29727 = (r0); - r0 = (s.rx___29727 < 0); + r0 = (s.rx___8917 % s.w___8898); + s.rx___8917 = (r0); + r0 = (s.rx___8917 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___29727 + s.w___29708); - s.rx___29727 = (r0); + r0 = (s.rx___8917 + s.w___8898); + s.rx___8917 = (r0); case 11: case 12: - r0 = (s.ry___29730 % s.h___29711); - s.ry___29730 = (r0); - r0 = (s.ry___29730 < 0); + r0 = (s.ry___8920 % s.h___8901); + s.ry___8920 = (r0); + r0 = (s.ry___8920 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___29730 + s.h___29711); - s.ry___29730 = (r0); + r0 = (s.ry___8920 + s.h___8901); + s.ry___8920 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___29727); - s.rx___29727 = (r0); - r0 = pxsim.Math_.floor(s.ry___29730); - s.ry___29730 = (r0); - s.y___29799 = (0); - s.py___29800 = (0); + r0 = pxsim.Math_.floor(s.rx___8917); + s.rx___8917 = (r0); + r0 = pxsim.Math_.floor(s.ry___8920); + s.ry___8920 = (r0); + s.y___8989 = (0); + s.py___8990 = (0); case 15: - r0 = (s.y___29799 < s.h___29711); + r0 = (s.y___8989 < s.h___8901); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___29799 % s.ph___29718); - s.py___29800 = (r0); - s.tmp_0 = Math_min__P20936_mk(s); - r0 = (s.ph___29718 - s.py___29800); + r0 = (s.y___8989 % s.ph___8908); + s.py___8990 = (r0); + s.tmp_0 = Math_min__P131_mk(s); + r0 = (s.ph___8908 - s.py___8990); s.tmp_0.arg0 = r0; - r0 = (s.h___29711 - s.ry___29730); + r0 = (s.h___8901 - s.ry___8920); s.tmp_0.arg1 = r0; s.callLocIdx = 795; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___29809 = (r0); - s.x___29817 = (0); - s.rxl___29818 = (s.rx___29727); + s.dh___8999 = (r0); + s.x___9007 = (0); + s.rxl___9008 = (s.rx___8917); case 16: - r0 = (s.x___29817 < s.w___29708); + r0 = (s.x___9007 < s.w___8898); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___29817 % s.pw___29714); - s.px___29824 = (r0); - s.tmp_0 = Math_min__P20936_mk(s); - r0 = (s.pw___29714 - s.px___29824); + r0 = (s.x___9007 % s.pw___8904); + s.px___9014 = (r0); + s.tmp_0 = Math_min__P131_mk(s); + r0 = (s.pw___8904 - s.px___9014); s.tmp_0.arg0 = r0; - r0 = (s.w___29708 - s.rxl___29818); + r0 = (s.w___8898 - s.rxl___9008); s.tmp_0.arg1 = r0; s.callLocIdx = 796; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___29828 = (r0); + s.dw___9018 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___22837, s.tmp_0, s.rxl___29818, s.ry___29730); - r0 = (s.rxl___29818 + s.dw___29828); + r0 = pxsim_ImageMethods.drawImage(globals.screen___2033, s.tmp_0, s.rxl___9008, s.ry___8920); + r0 = (s.rxl___9008 + s.dw___9018); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___29708); - s.rxl___29818 = (r0); + r0 = (s.tmp_0 % s.w___8898); + s.rxl___9008 = (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___29828; + r0 = s.dw___9018; { step = 18; continue; } case 17: - r0 = s.w___29708; + r0 = s.w___8898; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___29817 + s.tmp_1); - s.x___29817 = (r0); + r0 = (s.x___9007 + s.tmp_1); + s.x___9007 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___29730 + s.dh___29809); + r0 = (s.ry___8920 + s.dh___8999); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___29711); - s.ry___29730 = (r0); + r0 = (s.tmp_0 % s.h___8901); + s.ry___8920 = (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___29809; + r0 = s.dh___8999; { step = 21; continue; } case 20: - r0 = s.h___29711; + r0 = s.h___8901; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___29799 + s.tmp_1); - s.y___29799 = (r0); + r0 = (s.y___8989 + s.tmp_1); + s.y___8989 = (r0); { step = 15; continue; } case 22: case 23: @@ -6407,30 +6407,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P23492.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__P2688.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__P23492_mk(s) { +function scene_BackgroundLayer_draw__P2688_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P23492, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P2688, 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___29708: undefined, - h___29711: undefined, - pw___29714: undefined, - ph___29718: undefined, - rx___29727: undefined, - ry___29730: undefined, - y___29799: undefined, - py___29800: undefined, - dh___29809: undefined, - x___29817: undefined, - rxl___29818: undefined, - px___29824: undefined, - dw___29828: undefined, + w___8898: undefined, + h___8901: undefined, + pw___8904: undefined, + ph___8908: undefined, + rx___8917: undefined, + ry___8920: undefined, + y___8989: undefined, + py___8990: undefined, + dh___8999: undefined, + x___9007: undefined, + rxl___9008: undefined, + px___9014: undefined, + dw___9018: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6440,7 +6440,7 @@ function scene_BackgroundLayer_draw__P23492_mk(s) { -function helpers_arraySort__P20910(s) { +function helpers_arraySort__P105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6472,10 +6472,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P29551); + s.arg1 = (helpers_arraySort_inline__P8741); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P25228_mk(s); + s.tmp_0 = helpers_sortHelper__P4423_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -6484,12 +6484,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P20910.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P105.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} -function helpers_arraySort__P20910_mk(s) { +function helpers_arraySort__P105_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P20910, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6503,7 +6503,7 @@ function helpers_arraySort__P20910_mk(s) { -function helpers_arraySort_inline__P29551(s) { +function helpers_arraySort_inline__P8741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6513,26 +6513,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___29554 = undefined; - s.bIsUndef___29558 = undefined; - s.aIsNull___29569 = undefined; - s.bIsNull___29573 = undefined; + s.aIsUndef___8744 = undefined; + s.bIsUndef___8748 = undefined; + s.aIsNull___8759 = undefined; + s.bIsNull___8763 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___29554 = (r0); + s.aIsUndef___8744 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___29558 = (r0); - s.tmp_0 = r0 = s.aIsUndef___29554; + s.bIsUndef___8748 = (r0); + s.tmp_0 = r0 = s.aIsUndef___8744; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___29558; + r0 = s.bIsUndef___8748; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -6542,13 +6542,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___29554); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___8744); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___29558); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___8748); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -6557,16 +6557,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___29569 = (r0); + s.aIsNull___8759 = (r0); r0 = (s.arg1 === null); - s.bIsNull___29573 = (r0); - s.tmp_0 = r0 = s.aIsNull___29569; + s.bIsNull___8763 = (r0); + s.tmp_0 = r0 = s.aIsNull___8759; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___29573; + r0 = s.bIsNull___8763; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -6576,13 +6576,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___29569); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___8759); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___29573); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___8763); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -6621,12 +6621,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P29551.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__P8741.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__P29551_mk(s) { +function helpers_arraySort_inline__P8741_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P29551, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P8741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6636,10 +6636,10 @@ function helpers_arraySort_inline__P29551_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___29554: undefined, - bIsUndef___29558: undefined, - aIsNull___29569: undefined, - bIsNull___29573: undefined, + aIsUndef___8744: undefined, + bIsUndef___8748: undefined, + aIsNull___8759: undefined, + bIsNull___8763: undefined, arg0: undefined, arg1: undefined, } } @@ -6648,7 +6648,7 @@ function helpers_arraySort_inline__P29551_mk(s) { -function helpers_sortHelper__P25228(s) { +function helpers_sortHelper__P4423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6658,9 +6658,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___29608 = undefined; - s.i___29611 = undefined; - s.j___29617 = undefined; + s.len___8798 = undefined; + s.i___8801 = undefined; + s.j___8807 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6688,28 +6688,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___29608 = (r0); - s.i___29611 = (0); + s.len___8798 = (r0); + s.i___8801 = (0); case 5: - s.tmp_1 = r0 = s.i___29611; - r0 = (s.len___29608 - 1); + s.tmp_1 = r0 = s.i___8801; + r0 = (s.len___8798 - 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___29611 + 1); - s.j___29617 = (r0); + r0 = (s.i___8801 + 1); + s.j___8807 = (r0); case 6: - r0 = (s.j___29617 < s.len___29608); + r0 = (s.j___8807 < s.len___8798); 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___29611); + r0 = pxsim_Array__getAt(s.arg0, s.i___8801); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___29617); + r0 = pxsim_Array__getAt(s.arg0, s.j___8807); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -6720,21 +6720,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P25227_mk(s); + s.tmp_4 = helpers_swap__P4422_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___29611; - s.tmp_4.arg2 = s.j___29617; + s.tmp_4.arg1 = s.i___8801; + s.tmp_4.arg2 = s.j___8807; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___29617 + 1); - s.j___29617 = (r0); + r0 = (s.j___8807 + 1); + s.j___8807 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___29611 + 1); - s.i___29611 = (r0); + r0 = (s.i___8801 + 1); + s.i___8801 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -6742,21 +6742,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P25228.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__P4423.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__P25228_mk(s) { +function helpers_sortHelper__P4423_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P25228, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P4423, 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___29608: undefined, - i___29611: undefined, - j___29617: undefined, + len___8798: undefined, + i___8801: undefined, + j___8807: undefined, arg0: undefined, arg1: undefined, } } @@ -6765,7 +6765,7 @@ function helpers_sortHelper__P25228_mk(s) { -function helpers_swap__P25227(s) { +function helpers_swap__P4422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6775,7 +6775,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___29646 = undefined; + s.temp___8836 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6783,28 +6783,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___29646 = (r0); + s.temp___8836 = (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___29646); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___8836); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P25227.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__P4422.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__P25227_mk(s) { +function helpers_swap__P4422_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P25227, depth: s.depth + 1, + parent: s, fn: helpers_swap__P4422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___29646: undefined, + temp___8836: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6814,7 +6814,7 @@ function helpers_swap__P25227_mk(s) { -function scene_Camera_update__P23603(s) { +function scene_Camera_update__P2799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6824,24 +6824,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___29927 = undefined; - s.percentComplete___29941 = undefined; - s.damp___29948 = undefined; - s.f___29957 = undefined; - s.x___29963 = undefined; - s.y___29970 = undefined; + s.elapsed___9117 = undefined; + s.percentComplete___9131 = undefined; + s.damp___9138 = undefined; + s.f___9147 = undefined; + s.x___9153 = undefined; + s.y___9160 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_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 = r0 = s.arg0; - s.tmp_3 = Sprite_x__P23159_mk(s); + s.tmp_3 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 891; s.pc = 9; return s.tmp_3; @@ -6850,7 +6850,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1).fields["_lastUpdatedSpriteX"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P23161_mk(s); + s.tmp_2 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 892; s.pc = 10; return s.tmp_2; @@ -6858,16 +6858,16 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_lastUpdatedSpriteY"] = (s.tmp_1); - s.tmp_0 = scene_Camera_offsetX__P23592_mk(s); + s.tmp_0 = scene_Camera_offsetX__P2788_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_3 = Sprite_left__P23204_mk(s); + s.tmp_3 = Sprite_left__P2400_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 893; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; - s.tmp_6 = Sprite_width__P23202_mk(s); + s.tmp_6 = Sprite_width__P2398_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_6.arg0 = r0; s.callLocIdx = 894; s.pc = 13; return s.tmp_6; @@ -6878,7 +6878,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_8 = r0; r0 = (s.tmp_8 >> 1); s.tmp_7 = r0; @@ -6887,16 +6887,16 @@ switch (step) { s.callLocIdx = 895; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P23594_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2790_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_3 = Sprite_top__P23208_mk(s); + s.tmp_3 = Sprite_top__P2404_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 896; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; - s.tmp_6 = Sprite_width__P23202_mk(s); + s.tmp_6 = Sprite_width__P2398_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_6.arg0 = r0; s.callLocIdx = 897; s.pc = 16; return s.tmp_6; @@ -6907,7 +6907,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_8 = r0; r0 = (s.tmp_8 >> 1); s.tmp_7 = r0; @@ -6937,10 +6937,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___29927 = (r0); + s.elapsed___9117 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___29927 >= s.tmp_1); + r0 = (s.elapsed___9117 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -6949,49 +6949,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___29927 / s.tmp_0); - s.percentComplete___29941 = (r0); - s.damp___29948 = (1); - r0 = (s.percentComplete___29941 >= 0.75); + r0 = (s.elapsed___9117 / s.tmp_0); + s.percentComplete___9131 = (r0); + s.damp___9138 = (1); + r0 = (s.percentComplete___9131 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P20935_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___29941); + r0 = (1 - s.percentComplete___9131); s.tmp_1.arg1 = r0; s.callLocIdx = 901; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.damp___29948 = (r0); + s.damp___9138 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___29948); - s.f___29957 = (r0); + r0 = (s.tmp_0 * s.damp___9138); + s.f___9147 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___29957); + r0 = (s.tmp_1 * s.f___9147); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___29963 = (r0); + s.x___9153 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___29957); + r0 = (s.tmp_1 * s.f___9147); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___29970 = (r0); + s.y___9160 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___29963); + r0 = (s.tmp_2 + s.x___9153); 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___29970); + r0 = (s.tmp_2 + s.y___9160); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -7001,12 +7001,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P23603.info = {"start":2563,"length":1477,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P2799.info = {"start":2563,"length":1477,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P23603_mk(s) { +function scene_Camera_update__P2799_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P23603, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P2799, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7017,12 +7017,12 @@ function scene_Camera_update__P23603_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - elapsed___29927: undefined, - percentComplete___29941: undefined, - damp___29948: undefined, - f___29957: undefined, - x___29963: undefined, - y___29970: undefined, + elapsed___9117: undefined, + percentComplete___9131: undefined, + damp___9138: undefined, + f___9147: undefined, + x___9153: undefined, + y___9160: undefined, arg0: undefined, } } @@ -7030,7 +7030,7 @@ function scene_Camera_update__P23603_mk(s) { -function scene_Camera_offsetY__P23594(s) { +function scene_Camera_offsetY__P2790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7040,27 +7040,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___29997 = undefined; + s.scene___9187 = 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__C23586_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 882; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___29997 = (r0); - r0 = s.scene___29997.fields["tileMap"]; + s.scene___9187 = (r0); + r0 = s.scene___9187.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___29997.fields["tileMap"]; + r0 = s.scene___9187.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -7077,8 +7077,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetY__P23547_mk(s); - r0 = s.scene___29997.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetY__P2743_mk(s); + r0 = s.scene___9187.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 884; s.pc = 6; return s.tmp_10; @@ -7099,12 +7099,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P23594.info = {"start":1152,"length":291,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P2790.info = {"start":1152,"length":291,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P23594_mk(s) { +function scene_Camera_offsetY__P2790_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P23594, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7117,7 +7117,7 @@ function scene_Camera_offsetY__P23594_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___29997: undefined, + scene___9187: undefined, arg0: undefined, arg1: undefined, } } @@ -7126,7 +7126,7 @@ function scene_Camera_offsetY__P23594_mk(s) { -function tiles_TileMap_enabled__P23552(s) { +function tiles_TileMap_enabled__P2748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7141,7 +7141,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -7154,13 +7154,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P23552.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__P23552.isGetter = true; +tiles_TileMap_enabled__P2748.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__P2748.isGetter = true; -function tiles_TileMap_enabled__P23552_mk(s) { +function tiles_TileMap_enabled__P2748_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P23552, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P2748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7173,7 +7173,7 @@ function tiles_TileMap_enabled__P23552_mk(s) { -function tiles_TileMap_offsetY__P23547(s) { +function tiles_TileMap_offsetY__P2743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7189,17 +7189,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P20932_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P20935_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P23549_mk(s); + s.tmp_1 = Math_max__P130_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P2745_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 821; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -7215,12 +7215,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P23547.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__P2743.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__P23547_mk(s) { +function tiles_TileMap_offsetY__P2743_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P23547, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P2743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7235,7 +7235,7 @@ function tiles_TileMap_offsetY__P23547_mk(s) { -function tiles_TileMap_areaHeight__P23549(s) { +function tiles_TileMap_areaHeight__P2745(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7250,7 +7250,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -7272,12 +7272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P23549.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__P2745.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__P23549_mk(s) { +function tiles_TileMap_areaHeight__P2745_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P23549, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P2745, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7291,7 +7291,7 @@ function tiles_TileMap_areaHeight__P23549_mk(s) { -function tiles_TileMap_scale__P23543(s) { +function tiles_TileMap_scale__P2739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7306,18 +7306,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P23543.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__P23543.isGetter = true; +tiles_TileMap_scale__P2739.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__P2739.isGetter = true; -function tiles_TileMap_scale__P23543_mk(s) { +function tiles_TileMap_scale__P2739_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P23543, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7326,7 +7326,7 @@ function tiles_TileMap_scale__P23543_mk(s) { -function tiles_TileMapData_height__P23525(s) { +function tiles_TileMapData_height__P2721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7341,18 +7341,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P23525.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__P23525.isGetter = true; +tiles_TileMapData_height__P2721.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__P2721.isGetter = true; -function tiles_TileMapData_height__P23525_mk(s) { +function tiles_TileMapData_height__P2721_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P23525, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P2721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7361,7 +7361,7 @@ function tiles_TileMapData_height__P23525_mk(s) { -function scene_Camera_offsetY__P23593(s) { +function scene_Camera_offsetY__P2789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7376,18 +7376,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P23593.info = {"start":1084,"length":59,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P23593.isGetter = true; +scene_Camera_offsetY__P2789.info = {"start":1084,"length":59,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P2789.isGetter = true; -function scene_Camera_offsetY__P23593_mk(s) { +function scene_Camera_offsetY__P2789_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P23593, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P2789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7396,7 +7396,7 @@ function scene_Camera_offsetY__P23593_mk(s) { -function scene_Camera_offsetX__P23592(s) { +function scene_Camera_offsetX__P2788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7406,27 +7406,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30065 = undefined; + s.scene___9255 = 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__C23586_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 879; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___30065 = (r0); - r0 = s.scene___30065.fields["tileMap"]; + s.scene___9255 = (r0); + r0 = s.scene___9255.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___30065.fields["tileMap"]; + r0 = s.scene___9255.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -7443,8 +7443,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetX__P23546_mk(s); - r0 = s.scene___30065.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetX__P2742_mk(s); + r0 = s.scene___9255.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 881; s.pc = 6; return s.tmp_10; @@ -7465,12 +7465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P23592.info = {"start":784,"length":291,"line":28,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P2788.info = {"start":784,"length":291,"line":28,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P23592_mk(s) { +function scene_Camera_offsetX__P2788_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P23592, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7483,7 +7483,7 @@ function scene_Camera_offsetX__P23592_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___30065: undefined, + scene___9255: undefined, arg0: undefined, arg1: undefined, } } @@ -7492,7 +7492,7 @@ function scene_Camera_offsetX__P23592_mk(s) { -function tiles_TileMap_offsetX__P23546(s) { +function tiles_TileMap_offsetX__P2742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7508,17 +7508,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P20932_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P20935_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P23548_mk(s); + s.tmp_1 = Math_max__P130_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P2744_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 818; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -7534,12 +7534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P23546.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__P2742.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__P23546_mk(s) { +function tiles_TileMap_offsetX__P2742_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P23546, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P2742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7554,7 +7554,7 @@ function tiles_TileMap_offsetX__P23546_mk(s) { -function tiles_TileMap_areaWidth__P23548(s) { +function tiles_TileMap_areaWidth__P2744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7569,7 +7569,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -7591,12 +7591,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P23548.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__P2744.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__P23548_mk(s) { +function tiles_TileMap_areaWidth__P2744_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P23548, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P2744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7610,7 +7610,7 @@ function tiles_TileMap_areaWidth__P23548_mk(s) { -function tiles_TileMapData_width__P23524(s) { +function tiles_TileMapData_width__P2720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7625,18 +7625,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P23524.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__P23524.isGetter = true; +tiles_TileMapData_width__P2720.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__P2720.isGetter = true; -function tiles_TileMapData_width__P23524_mk(s) { +function tiles_TileMapData_width__P2720_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P23524, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P2720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7645,7 +7645,7 @@ function tiles_TileMapData_width__P23524_mk(s) { -function scene_Camera_offsetX__P23591(s) { +function scene_Camera_offsetX__P2787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7660,18 +7660,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P23591.info = {"start":716,"length":59,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P23591.isGetter = true; +scene_Camera_offsetX__P2787.info = {"start":716,"length":59,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P2787.isGetter = true; -function scene_Camera_offsetX__P23591_mk(s) { +function scene_Camera_offsetX__P2787_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P23591, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P2787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7680,7 +7680,7 @@ function scene_Camera_offsetX__P23591_mk(s) { -function Sprite_top__P23208(s) { +function Sprite_top__P2404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7695,20 +7695,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23208.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__P23208.isGetter = true; +Sprite_top__P2404.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__P2404.isGetter = true; -function Sprite_top__P23208_mk(s) { +function Sprite_top__P2404_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P23208, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7718,7 +7718,7 @@ function Sprite_top__P23208_mk(s) { -function Fx_toFloat__P20978(s) { +function Fx_toFloat__P173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7736,12 +7736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P20978.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__P173.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__P20978_mk(s) { +function Fx_toFloat__P173_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P20978, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7750,7 +7750,7 @@ function Fx_toFloat__P20978_mk(s) { -function Sprite_left__P23204(s) { +function Sprite_left__P2400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7765,20 +7765,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23204.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__P23204.isGetter = true; +Sprite_left__P2400.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__P2400.isGetter = true; -function Sprite_left__P23204_mk(s) { +function Sprite_left__P2400_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P23204, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7788,7 +7788,7 @@ function Sprite_left__P23204_mk(s) { -function Sprite_width__P23202(s) { +function Sprite_width__P2398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7803,20 +7803,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23202.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__P23202.isGetter = true; +Sprite_width__P2398.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__P2398.isGetter = true; -function Sprite_width__P23202_mk(s) { +function Sprite_width__P2398_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P23202, depth: s.depth + 1, + parent: s, fn: Sprite_width__P2398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7826,7 +7826,7 @@ function Sprite_width__P23202_mk(s) { -function Sprite_y__P23161(s) { +function Sprite_y__P2357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7841,7 +7841,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -7856,13 +7856,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P23161.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__P23161.isGetter = true; +Sprite_y__P2357.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__P2357.isGetter = true; -function Sprite_y__P23161_mk(s) { +function Sprite_y__P2357_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P23161, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7876,7 +7876,7 @@ function Sprite_y__P23161_mk(s) { -function Fx_div__P20967(s) { +function Fx_div__P162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7897,12 +7897,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P20967.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} +Fx_div__P162.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} -function Fx_div__P20967_mk(s) { +function Fx_div__P162_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P20967, depth: s.depth + 1, + parent: s, fn: Fx_div__P162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7913,7 +7913,7 @@ function Fx_div__P20967_mk(s) { -function Fx_add__P20962(s) { +function Fx_add__P157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7932,12 +7932,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P20962.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} +Fx_add__P157.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} -function Fx_add__P20962_mk(s) { +function Fx_add__P157_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P20962, depth: s.depth + 1, + parent: s, fn: Fx_add__P157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7947,7 +7947,7 @@ function Fx_add__P20962_mk(s) { -function Sprite_x__P23159(s) { +function Sprite_x__P2355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7962,7 +7962,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -7977,13 +7977,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P23159.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__P23159.isGetter = true; +Sprite_x__P2355.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__P2355.isGetter = true; -function Sprite_x__P23159_mk(s) { +function Sprite_x__P2355_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P23159, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7997,7 +7997,7 @@ function Sprite_x__P23159_mk(s) { -function PhysicsEngine_move__P23322(s) { +function PhysicsEngine_move__P2518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8013,17 +8013,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C23316_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2512_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P23322.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__P2518.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__P23322_mk(s) { +function PhysicsEngine_move__P2518_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P23322, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P2518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8033,7 +8033,7 @@ function PhysicsEngine_move__P23322_mk(s) { -function PhysicsEngine_draw__P23321(s) { +function PhysicsEngine_draw__P2517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8048,17 +8048,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C23316_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2512_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P23321.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__P2517.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__P23321_mk(s) { +function PhysicsEngine_draw__P2517_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P23321, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P2517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8067,7 +8067,7 @@ function PhysicsEngine_draw__P23321_mk(s) { -function controller___update__P22970(s) { +function controller___update__P2166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8077,7 +8077,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___30393 = undefined; + s.dtms___9583 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -8085,12 +8085,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___30393 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P30400); + s.dtms___9583 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P9590); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___30393); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); - s.tmp_2 = controller_players__P22934_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___9583); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = controller_players__P2130_mk(s); s.callLocIdx = 193; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -8103,17 +8103,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P22970.info = {"start":13739,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P2166.info = {"start":13739,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P22970_mk(s) { +function controller___update__P2166_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P22970, depth: s.depth + 1, + parent: s, fn: controller___update__P2166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___30393: undefined, + dtms___9583: undefined, arg0: undefined, } } @@ -8121,7 +8121,7 @@ function controller___update__P22970_mk(s) { -function controller___update_inline__P30400(s) { +function controller___update_inline__P9590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8135,7 +8135,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P22968_mk(s); + s.tmp_0 = controller_Controller___update__P2164_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 194; s.pc = 1; return s.tmp_0; @@ -8145,12 +8145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P30400.info = {"start":13841,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P9590.info = {"start":13841,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P30400_mk(s) { +function controller___update_inline__P9590_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P30400, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P9590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8160,7 +8160,7 @@ function controller___update_inline__P30400_mk(s) { -function controller_Controller___update__P22968(s) { +function controller_Controller___update__P2164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8176,7 +8176,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -8187,10 +8187,10 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P30413); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P9603); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -8201,12 +8201,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P22968.info = {"start":13217,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P2164.info = {"start":13217,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P22968_mk(s) { +function controller_Controller___update__P2164_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P22968, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P2164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8220,7 +8220,7 @@ function controller_Controller___update__P22968_mk(s) { -function controller_Controller___update_inline__P30413(s) { +function controller_Controller___update_inline__P9603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8234,7 +8234,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P23008_mk(s); + s.tmp_0 = controller_Button___update__P2204_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -8245,12 +8245,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P30413.info = {"start":13304,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P9603.info = {"start":13304,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function controller_Controller___update_inline__P30413_mk(s) { +function controller_Controller___update_inline__P9603_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P30413, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P9603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8260,7 +8260,7 @@ function controller_Controller___update_inline__P30413_mk(s) { -function controller_Button___update__P23008(s) { +function controller_Button___update__P2204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8270,16 +8270,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___30429 = undefined; - s.interval___30438 = undefined; - s.count___30451 = undefined; + s.delay___9619 = undefined; + s.interval___9628 = undefined; + s.count___9641 = 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__C22994_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8303,31 +8303,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___25605; + r0 = globals.defaultRepeatDelay___4800; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___30429 = (s.tmp_2); + s.delay___9619 = (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___25607; + r0 = globals.defaultRepeatInterval___4802; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___30438 = (s.tmp_2); + s.interval___9628 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___30429); + r0 = (s.tmp_1 < s.delay___9619); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -8336,26 +8336,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___30429); + r0 = (s.tmp_5 - s.delay___9619); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___30438); + r0 = (s.tmp_4 - s.interval___9628); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___30438); + r0 = (s.tmp_3 / s.interval___9628); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___30451 = (r0); + s.count___9641 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___30451 != s.tmp_1); + r0 = (s.count___9641 != 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__P25594_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P4789_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___30451); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___9641); case 9: case 10: case 11: @@ -8363,12 +8363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P23008.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__P2204.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__P23008_mk(s) { +function controller_Button___update__P2204_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P23008, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P2204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8376,9 +8376,9 @@ function controller_Button___update__P23008_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___30429: undefined, - interval___30438: undefined, - count___30451: undefined, + delay___9619: undefined, + interval___9628: undefined, + count___9641: undefined, arg0: undefined, arg1: undefined, } } @@ -8387,7 +8387,7 @@ function controller_Button___update__P23008_mk(s) { -function controller_Button_raiseButtonRepeat__P25594(s) { +function controller_Button_raiseButtonRepeat__P4789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8402,8 +8402,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___25603); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4798); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -8418,12 +8418,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P25594.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__P4789.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__P25594_mk(s) { +function controller_Button_raiseButtonRepeat__P4789_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P25594, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P4789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8433,7 +8433,7 @@ function controller_Button_raiseButtonRepeat__P25594_mk(s) { -function controller_players__P22934(s) { +function controller_players__P2130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8443,25 +8443,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P22933_mk(s); + s.tmp_0 = controller__player1__P2129_mk(s); s.callLocIdx = 152; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P20915_mk(s); - s.tmp_0.arg0 = globals._players___25523; - s.tmp_0.arg1 = controller_players_inline__P30383; + s.tmp_0 = helpers_arrayFilter__P110_mk(s); + s.tmp_0.arg0 = globals._players___4718; + s.tmp_0.arg1 = controller_players_inline__P9573; s.callLocIdx = 153; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P22934.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P2130.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P22934_mk(s) { +function controller_players__P2130_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P22934, depth: s.depth + 1, + parent: s, fn: controller_players__P2130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -8470,7 +8470,7 @@ function controller_players__P22934_mk(s) { -function controller_players_inline__P30383(s) { +function controller_players_inline__P9573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8494,12 +8494,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P30383.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller_players_inline__P9573.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller_players_inline__P30383_mk(s) { +function controller_players_inline__P9573_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P30383, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P9573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8511,7 +8511,7 @@ function controller_players_inline__P30383_mk(s) { -function helpers_arrayFilter__P20915(s) { +function helpers_arrayFilter__P110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8521,31 +8521,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___30302 = undefined; - s.len___30304 = undefined; - s.i___30307 = undefined; - s.v___30312 = undefined; + s.res___9492 = undefined; + s.len___9494 = undefined; + s.i___9497 = undefined; + s.v___9502 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___30302 = (r0); + s.res___9492 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___30304 = (r0); - s.i___30307 = (0); + s.len___9494 = (r0); + s.i___9497 = (0); case 1: - r0 = (s.i___30307 < s.len___30304); + r0 = (s.i___9497 < s.len___9494); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___30307); - s.v___30312 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___9497); + s.v___9502 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___30312; - s.tmp_1.arg1 = s.i___30307; + s.tmp_1.arg0 = s.v___9502; + s.tmp_1.arg1 = s.i___9497; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -8553,30 +8553,30 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___30302, s.v___30312); + r0 = pxsim_Array__push(s.res___9492, s.v___9502); case 2: case 3: - r0 = (s.i___30307 + 1); - s.i___30307 = (r0); + r0 = (s.i___9497 + 1); + s.i___9497 = (r0); { step = 1; continue; } case 4: - r0 = s.res___30302; + r0 = s.res___9492; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P20915.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P110.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -function helpers_arrayFilter__P20915_mk(s) { +function helpers_arrayFilter__P110_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P20915, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___30302: undefined, - len___30304: undefined, - i___30307: undefined, - v___30312: undefined, + res___9492: undefined, + len___9494: undefined, + i___9497: undefined, + v___9502: undefined, arg0: undefined, arg1: undefined, } } @@ -8585,7 +8585,7 @@ function helpers_arrayFilter__P20915_mk(s) { -function controller__moveSprites__P22938(s) { +function controller__moveSprites__P2134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8595,13 +8595,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P20914_mk(s); - s.tmp_1 = controller_players__P22934_mk(s); + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = controller_players__P2130_mk(s); s.callLocIdx = 154; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P30152; + s.tmp_0.arg1 = controller__moveSprites_inline__P9342; s.callLocIdx = 156; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -8609,12 +8609,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P22938.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P2134.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P22938_mk(s) { +function controller__moveSprites__P2134_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P22938, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P2134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8624,7 +8624,7 @@ function controller__moveSprites__P22938_mk(s) { -function controller__moveSprites_inline__P30152(s) { +function controller__moveSprites_inline__P9342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8638,7 +8638,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P22967_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P2163_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 1; return s.tmp_0; case 1: @@ -8647,12 +8647,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P30152.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller__moveSprites_inline__P9342.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller__moveSprites_inline__P30152_mk(s) { +function controller__moveSprites_inline__P9342_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P30152, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P9342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8662,7 +8662,7 @@ function controller__moveSprites_inline__P30152_mk(s) { -function controller_Controller___preUpdate__P22967(s) { +function controller_Controller___preUpdate__P2163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8672,20 +8672,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___30159 = undefined; - s.svx___30160 = undefined; - s.svy___30161 = undefined; - s.svxInCricle___30196 = undefined; - s.svyInCircle___30198 = undefined; - s.sq___30200 = undefined; - s.scale___30215 = undefined; + s.deadSprites___9349 = undefined; + s.svx___9350 = undefined; + s.svy___9351 = undefined; + s.svxInCricle___9386 = undefined; + s.svyInCircle___9388 = undefined; + s.sq___9390 = undefined; + s.scale___9405 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P22944_mk(s); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P2140_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 166; s.pc = 18; return s.tmp_3; case 18: @@ -8701,21 +8701,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___30159 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___30159, false); + s.deadSprites___9349 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___9349, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___30160 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___30160, 0); + s.svx___9350 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___9350, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___30161 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___30161, 0); + s.svy___9351 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___9351, 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___30160; - s.tmp_5 = controller_Button_pressureLevel__P23006_mk(s); - s.tmp_6 = controller_Controller_right__P22949_mk(s); + s.tmp_1 = r0 = s.svx___9350; + s.tmp_5 = controller_Button_pressureLevel__P2202_mk(s); + s.tmp_6 = controller_Controller_right__P2145_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 167; s.pc = 20; return s.tmp_6; case 20: @@ -8725,8 +8725,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P23006_mk(s); - s.tmp_9 = controller_Controller_left__P22948_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P2202_mk(s); + s.tmp_9 = controller_Controller_left__P2144_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 169; s.pc = 22; return s.tmp_9; case 22: @@ -8741,9 +8741,9 @@ switch (step) { r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.svy___30161; - s.tmp_4 = controller_Button_pressureLevel__P23006_mk(s); - s.tmp_5 = controller_Controller_down__P22951_mk(s); + s.tmp_0 = r0 = s.svy___9351; + s.tmp_4 = controller_Button_pressureLevel__P2202_mk(s); + s.tmp_5 = controller_Controller_down__P2147_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 171; s.pc = 24; return s.tmp_5; case 24: @@ -8753,8 +8753,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P23006_mk(s); - s.tmp_8 = controller_Controller_up__P22950_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P2202_mk(s); + s.tmp_8 = controller_Controller_up__P2146_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 173; s.pc = 26; return s.tmp_8; case 26: @@ -8771,14 +8771,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C22994_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P22949_mk(s); + s.tmp_1 = controller_Button__C2190_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P2145_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 175; 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__C22994_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2190_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: @@ -8793,14 +8793,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C22994_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P22948_mk(s); + s.tmp_5 = controller_Button__C2190_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P2144_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 176; 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__C22994_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C2190_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: @@ -8815,18 +8815,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___30160; + s.tmp_8 = r0 = s.svx___9350; 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__C22994_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P22951_mk(s); + s.tmp_1 = controller_Button__C2190_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P2147_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 177; 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__C22994_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2190_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: @@ -8841,14 +8841,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C22994_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P22950_mk(s); + s.tmp_5 = controller_Button__C2190_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P2146_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 178; 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__C22994_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C2190_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: @@ -8863,57 +8863,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___30161; + s.tmp_8 = r0 = s.svy___9351; 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___30196 = (r0); - s.tmp_0 = r0 = s.svxInCricle___30196; - r0 = pxsim_pxtrt_ldlocRef(s.svx___30160); + s.svxInCricle___9386 = (r0); + s.tmp_0 = r0 = s.svxInCricle___9386; + r0 = pxsim_pxtrt_ldlocRef(s.svx___9350); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___30198 = (r0); - s.tmp_0 = r0 = s.svyInCircle___30198; - r0 = pxsim_pxtrt_ldlocRef(s.svy___30161); + s.svyInCircle___9388 = (r0); + s.tmp_0 = r0 = s.svyInCircle___9388; + r0 = pxsim_pxtrt_ldlocRef(s.svy___9351); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___30160); + r0 = pxsim_pxtrt_ldlocRef(s.svx___9350); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___30160); + r0 = pxsim_pxtrt_ldlocRef(s.svx___9350); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___30161); + r0 = pxsim_pxtrt_ldlocRef(s.svy___9351); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___30161); + r0 = pxsim_pxtrt_ldlocRef(s.svy___9351); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___30200 = (r0); - r0 = (s.sq___30200 > 65536); + s.sq___9390 = (r0); + r0 = (s.sq___9390 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___30200); + r0 = (65536 / s.sq___9390); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___30215 = (r0); - s.tmp_0 = r0 = s.svxInCricle___30196; - s.tmp_3 = r0 = s.scale___30215; - r0 = pxsim_pxtrt_ldlocRef(s.svx___30160); + s.scale___9405 = (r0); + s.tmp_0 = r0 = s.svxInCricle___9386; + s.tmp_3 = r0 = s.scale___9405; + r0 = pxsim_pxtrt_ldlocRef(s.svx___9350); 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___30198; - s.tmp_3 = r0 = s.scale___30215; - r0 = pxsim_pxtrt_ldlocRef(s.svy___30161); + s.tmp_0 = r0 = s.svyInCircle___9388; + s.tmp_3 = r0 = s.scale___9405; + r0 = pxsim_pxtrt_ldlocRef(s.svy___9351); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -8922,15 +8922,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P30233); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___30159); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___30160); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___30161); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___30196); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___30198); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P22944_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P9423); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___9349); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___9350); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___9351); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___9386); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___9388); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P2140_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 179; s.pc = 36; return s.tmp_2; case 36: @@ -8940,20 +8940,20 @@ switch (step) { s.callLocIdx = 187; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___30159); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___9349); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P22945_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P2141_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P20915_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P22944_mk(s); + s.tmp_2 = helpers_arrayFilter__P110_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P2140_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 188; 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__P30290; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P9480; s.callLocIdx = 189; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -8968,12 +8968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P22967.info = {"start":10672,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P2163.info = {"start":10672,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P22967_mk(s) { +function controller_Controller___preUpdate__P2163_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P22967, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P2163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8985,13 +8985,13 @@ function controller_Controller___preUpdate__P22967_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___30159: undefined, - svx___30160: undefined, - svy___30161: undefined, - svxInCricle___30196: undefined, - svyInCircle___30198: undefined, - sq___30200: undefined, - scale___30215: undefined, + deadSprites___9349: undefined, + svx___9350: undefined, + svy___9351: undefined, + svxInCricle___9386: undefined, + svyInCircle___9388: undefined, + sq___9390: undefined, + scale___9405: undefined, arg0: undefined, } } @@ -8999,7 +8999,7 @@ function controller_Controller___preUpdate__P22967_mk(s) { -function controller_Controller___preUpdate_inline__P30233(s) { +function controller_Controller___preUpdate_inline__P9423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9009,9 +9009,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___30236 = undefined; - s.vx___30237 = undefined; - s.vy___30238 = undefined; + s.s___9426 = undefined; + s.vx___9427 = undefined; + s.vy___9428 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9029,7 +9029,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___30236 = (r0); + s.s___9426 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -9042,7 +9042,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___30237 = (r0); + s.vx___9427 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -9055,8 +9055,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___30238 = (r0); - r0 = s.s___30236.fields["flags"]; + s.vy___9428 = (r0); + r0 = s.s___9426.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -9070,14 +9070,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___30237); + r0 = pxsim_numops_toBoolDecr(s.vx___9427); if (!r0) { step = 3; continue; } - r0 = (s.s___30236).fields["_vx"] = (0); + r0 = (s.s___9426).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___30238); + r0 = pxsim_numops_toBoolDecr(s.vy___9428); if (!r0) { step = 5; continue; } - r0 = (s.s___30236).fields["_vy"] = (0); + r0 = (s.s___9426).fields["_vy"] = (0); case 5: case 6: case 7: @@ -9095,48 +9095,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___30237; + s.tmp_2 = r0 = s.vx___9427; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___30238; + r0 = s.vy___9428; 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___30236; + s.tmp_4 = r0 = s.s___9426; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___30237); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___9427); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___30236; + s.tmp_0 = r0 = s.s___9426; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___30238); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9428); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___30237); + r0 = pxsim_numops_toBoolDecr(s.vx___9427); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___30236; + s.tmp_0 = r0 = s.s___9426; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___30237); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___9427); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___30238); + r0 = pxsim_numops_toBoolDecr(s.vy___9428); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___30236; + s.tmp_0 = r0 = s.s___9426; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___30238); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___9428); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -9153,12 +9153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P30233.info = {"start":11855,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P9423.info = {"start":11855,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function controller_Controller___preUpdate_inline__P30233_mk(s) { +function controller_Controller___preUpdate_inline__P9423_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P30233, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P9423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9167,9 +9167,9 @@ function controller_Controller___preUpdate_inline__P30233_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___30236: undefined, - vx___30237: undefined, - vy___30238: undefined, + s___9426: undefined, + vx___9427: undefined, + vy___9428: undefined, arg0: undefined, } } @@ -9177,7 +9177,7 @@ function controller_Controller___preUpdate_inline__P30233_mk(s) { -function controller_Controller___preUpdate_inline__P30290(s) { +function controller_Controller___preUpdate_inline__P9480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9202,12 +9202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P30290.info = {"start":13153,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P9480.info = {"start":13153,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function controller_Controller___preUpdate_inline__P30290_mk(s) { +function controller_Controller___preUpdate_inline__P9480_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P30290, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P9480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9219,7 +9219,7 @@ function controller_Controller___preUpdate_inline__P30290_mk(s) { -function controller_Button_pressureLevel__P23006(s) { +function controller_Button_pressureLevel__P2202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9234,16 +9234,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C2190_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__C22994_v0_1_mk(s); + s.tmp_3 = controller_Button__C2190_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C22994_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2190_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 6; return s.tmp_3; case 6: @@ -9272,12 +9272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P23006.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__P2202.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__P23006_mk(s) { +function controller_Button_pressureLevel__P2202_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P23006, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P2202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9292,7 +9292,7 @@ function controller_Button_pressureLevel__P23006_mk(s) { -function controller_Button_isPressed__P23005(s) { +function controller_Button_isPressed__P2201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9307,17 +9307,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P23005.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__P2201.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__P23005_mk(s) { +function controller_Button_isPressed__P2201_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P23005, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P2201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9326,7 +9326,7 @@ function controller_Button_isPressed__P23005_mk(s) { -function controller_Controller_down__P22951(s) { +function controller_Controller_down__P2147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9341,7 +9341,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -9350,13 +9350,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P22951.info = {"start":4131,"length":77,"line":145,"column":8,"endLine":147,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P22951.isGetter = true; +controller_Controller_down__P2147.info = {"start":4131,"length":77,"line":145,"column":8,"endLine":147,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P2147.isGetter = true; -function controller_Controller_down__P22951_mk(s) { +function controller_Controller_down__P2147_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P22951, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P2147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9367,7 +9367,7 @@ function controller_Controller_down__P22951_mk(s) { -function controller_Controller_button__P25588(s) { +function controller_Controller_button__P4783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9383,7 +9383,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -9392,12 +9392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P25588.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P4783.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P25588_mk(s) { +function controller_Controller_button__P4783_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P25588, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P4783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9409,7 +9409,7 @@ function controller_Controller_button__P25588_mk(s) { -function controller_Controller_up__P22950(s) { +function controller_Controller_up__P2146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9424,7 +9424,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -9433,13 +9433,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P22950.info = {"start":3979,"length":73,"line":137,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P22950.isGetter = true; +controller_Controller_up__P2146.info = {"start":3979,"length":73,"line":137,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P2146.isGetter = true; -function controller_Controller_up__P22950_mk(s) { +function controller_Controller_up__P2146_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P22950, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P2146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9450,7 +9450,7 @@ function controller_Controller_up__P22950_mk(s) { -function controller_Controller_right__P22949(s) { +function controller_Controller_right__P2145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9465,7 +9465,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -9474,13 +9474,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P22949.info = {"start":3823,"length":79,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P22949.isGetter = true; +controller_Controller_right__P2145.info = {"start":3823,"length":79,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P2145.isGetter = true; -function controller_Controller_right__P22949_mk(s) { +function controller_Controller_right__P2145_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P22949, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P2145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9491,7 +9491,7 @@ function controller_Controller_right__P22949_mk(s) { -function controller_Controller_left__P22948(s) { +function controller_Controller_left__P2144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9506,7 +9506,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -9515,13 +9515,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P22948.info = {"start":3666,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P22948.isGetter = true; +controller_Controller_left__P2144.info = {"start":3666,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P2144.isGetter = true; -function controller_Controller_left__P22948_mk(s) { +function controller_Controller_left__P2144_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P22948, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P2144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9532,7 +9532,7 @@ function controller_Controller_left__P22948_mk(s) { -function controller_Controller__controlledSprites__P22945(s) { +function controller_Controller__controlledSprites__P2141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9548,8 +9548,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 160; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -9562,12 +9562,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P22945.info = {"start":3300,"length":134,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P2141.info = {"start":3300,"length":134,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P22945_mk(s) { +function controller_Controller__controlledSprites__P2141_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P22945, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P2141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9580,7 +9580,7 @@ function controller_Controller__controlledSprites__P22945_mk(s) { -function controller_Controller__controlledSprites__P22944(s) { +function controller_Controller__controlledSprites__P2140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9595,8 +9595,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 159; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -9608,13 +9608,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P22944.info = {"start":3158,"length":132,"line":101,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P22944.isGetter = true; +controller_Controller__controlledSprites__P2140.info = {"start":3158,"length":132,"line":101,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P2140.isGetter = true; -function controller_Controller__controlledSprites__P22944_mk(s) { +function controller_Controller__controlledSprites__P2140_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P22944, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P2140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9626,7 +9626,7 @@ function controller_Controller__controlledSprites__P22944_mk(s) { -function Fx_imul__P20966(s) { +function Fx_imul__P161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9645,12 +9645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P20966.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} +Fx_imul__P161.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} -function Fx_imul__P20966_mk(s) { +function Fx_imul__P161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P20966, depth: s.depth + 1, + parent: s, fn: Fx_imul__P161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9660,7 +9660,7 @@ function Fx_imul__P20966_mk(s) { -function power_checkDeepSleep__P22735(s) { +function power_checkDeepSleep__P1931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9670,13 +9670,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28796 = undefined; - s.to___28799 = undefined; - s.tmp_0 = power_init__P25432_mk(s); + s.p___7986 = undefined; + s.to___7989 = undefined; + s.tmp_0 = power_init__P4627_mk(s); s.callLocIdx = 75; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___25430; + s.tmp_0 = r0 = globals._poked___4625; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -9686,8 +9686,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___28796 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___25431; + s.p___7986 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___4626; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -9697,8 +9697,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___28799 = (s.tmp_1); - r0 = (s.to___28799 > 0); + s.to___7989 = (s.tmp_1); + r0 = (s.to___7989 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -9707,9 +9707,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___28796); + r0 = (s.tmp_2 - s.p___7986); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___28799); + r0 = (s.tmp_1 > s.to___7989); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -9735,12 +9735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P22735.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P1931.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__P22735_mk(s) { +function power_checkDeepSleep__P1931_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P22735, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P1931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9749,15 +9749,15 @@ function power_checkDeepSleep__P22735_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___28796: undefined, - to___28799: undefined, + p___7986: undefined, + to___7989: undefined, } } -function power_init__P25432(s) { +function power_init__P4627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9767,7 +9767,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___25431 !== undefined); + r0 = (globals._timeout___4626 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -9777,21 +9777,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___25431 = (r0); - r0 = (globals._timeout___25431 > 0); + globals._timeout___4626 = (r0); + r0 = (globals._timeout___4626 > 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___25431 < 300000); + r0 = (globals._timeout___4626 < 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___25431 = (300000); + globals._timeout___4626 = (300000); case 5: case 6: case 7: @@ -9799,12 +9799,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P25432.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P4627.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__P25432_mk(s) { +function power_init__P4627_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P25432, depth: s.depth + 1, + parent: s, fn: power_init__P4627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9814,7 +9814,7 @@ function power_init__P25432_mk(s) { -function power_poke__P22734(s) { +function power_poke__P1930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9824,22 +9824,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P25432_mk(s); + s.tmp_0 = power_init__P4627_mk(s); s.callLocIdx = 74; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___25430 = (r0); + globals._poked___4625 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P22734.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P1930.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__P22734_mk(s) { +function power_poke__P1930_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P22734, depth: s.depth + 1, + parent: s, fn: power_poke__P1930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -9848,7 +9848,7 @@ function power_poke__P22734_mk(s) { -function control_EventContext_deltaTime__P21205(s) { +function control_EventContext_deltaTime__P400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9863,20 +9863,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C395_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__P21205.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__P21205.isGetter = true; +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; -function control_EventContext_deltaTime__P21205_mk(s) { +function control_EventContext_deltaTime__P400_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P21205, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9886,7 +9886,7 @@ function control_EventContext_deltaTime__P21205_mk(s) { -function helpers_arrayForEach__P20914(s) { +function helpers_arrayForEach__P109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9896,49 +9896,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___28195 = undefined; - s.i___28198 = undefined; + s.len___7148 = undefined; + s.i___7151 = 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___28195 = (r0); - s.i___28198 = (0); + s.len___7148 = (r0); + s.i___7151 = (0); case 1: - r0 = (s.i___28198 < s.len___28195); + r0 = (s.i___7151 < s.len___7148); 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___28198); + r0 = pxsim_Array__getAt(s.arg0, s.i___7151); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___28198; + s.tmp_1.arg1 = s.i___7151; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 5; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___28198 + 1); - s.i___28198 = (r0); + r0 = (s.i___7151 + 1); + s.i___7151 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P20914.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P109.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -function helpers_arrayForEach__P20914_mk(s) { +function helpers_arrayForEach__P109_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P20914, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___28195: undefined, - i___28198: undefined, + len___7148: undefined, + i___7151: undefined, arg0: undefined, arg1: undefined, } } @@ -9947,7 +9947,7 @@ function helpers_arrayForEach__P20914_mk(s) { -function scene_Scene_constructor__P23671(s) { +function scene_Scene_constructor__P2867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9964,13 +9964,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C23648_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2844_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__C23332_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C2528_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P23333_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P2529_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -9979,17 +9979,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C23586_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2782_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P23590_mk(s); + s.tmp_1 = scene_Camera_constructor__P2786_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 907; 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__C23474_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C2670_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P23478_mk(s); + s.tmp_1 = scene_Background_constructor__P2674_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -10050,12 +10050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P23671.info = {"start":3586,"length":836,"line":106,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P2867.info = {"start":3586,"length":836,"line":106,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P23671_mk(s) { +function scene_Scene_constructor__P2867_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P23671, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P2867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10068,7 +10068,7 @@ function scene_Scene_constructor__P23671_mk(s) { -function scene_Camera_constructor__P23590(s) { +function scene_Camera_constructor__P2786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10083,7 +10083,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -10092,12 +10092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P23590.info = {"start":550,"length":156,"line":17,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P2786.info = {"start":550,"length":156,"line":17,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P23590_mk(s) { +function scene_Camera_constructor__P2786_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P23590, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P2786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10106,7 +10106,7 @@ function scene_Camera_constructor__P23590_mk(s) { -function scene_Background_constructor__P23478(s) { +function scene_Background_constructor__P2674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10122,7 +10122,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C23474_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C2670_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -10133,12 +10133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P23478.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__P2674.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__P23478_mk(s) { +function scene_Background_constructor__P2674_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P23478, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P2674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10150,7 +10150,7 @@ function scene_Background_constructor__P23478_mk(s) { -function ArcadePhysicsEngine_constructor__P23333(s) { +function ArcadePhysicsEngine_constructor__P2529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10168,33 +10168,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_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__C23251_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C2447_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P23252_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P2448_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 525; 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__P23335_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P2531_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 526; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P23339_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2535_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 527; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P23337_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P2533_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 528; s.pc = 4; return s.tmp_0; @@ -10204,12 +10204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P23333.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__P2529.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__P23333_mk(s) { +function ArcadePhysicsEngine_constructor__P2529_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P23333, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P2529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10223,7 +10223,7 @@ function ArcadePhysicsEngine_constructor__P23333_mk(s) { -function ArcadePhysicsEngine_maxStep__P23339(s) { +function ArcadePhysicsEngine_maxStep__P2535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10239,7 +10239,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10250,12 +10250,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P23339.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__P2535.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__P23339_mk(s) { +function ArcadePhysicsEngine_maxStep__P2535_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P23339, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10268,7 +10268,7 @@ function ArcadePhysicsEngine_maxStep__P23339_mk(s) { -function ArcadePhysicsEngine_maxStep__P23338(s) { +function ArcadePhysicsEngine_maxStep__P2534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10283,7 +10283,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10292,13 +10292,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P23338.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__P23338.isGetter = true; +ArcadePhysicsEngine_maxStep__P2534.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__P2534.isGetter = true; -function ArcadePhysicsEngine_maxStep__P23338_mk(s) { +function ArcadePhysicsEngine_maxStep__P2534_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P23338, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P2534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10309,7 +10309,7 @@ function ArcadePhysicsEngine_maxStep__P23338_mk(s) { -function Fx_toInt__P20977(s) { +function Fx_toInt__P172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10329,12 +10329,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P20977.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__P172.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__P20977_mk(s) { +function Fx_toInt__P172_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P20977, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10344,7 +10344,7 @@ function Fx_toInt__P20977_mk(s) { -function ArcadePhysicsEngine_minStep__P23337(s) { +function ArcadePhysicsEngine_minStep__P2533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10360,7 +10360,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10371,12 +10371,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P23337.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__P2533.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__P23337_mk(s) { +function ArcadePhysicsEngine_minStep__P2533_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P23337, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10389,7 +10389,7 @@ function ArcadePhysicsEngine_minStep__P23337_mk(s) { -function ArcadePhysicsEngine_minStep__P23336(s) { +function ArcadePhysicsEngine_minStep__P2532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10404,7 +10404,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10413,13 +10413,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P23336.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__P23336.isGetter = true; +ArcadePhysicsEngine_minStep__P2532.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__P2532.isGetter = true; -function ArcadePhysicsEngine_minStep__P23336_mk(s) { +function ArcadePhysicsEngine_minStep__P2532_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P23336, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P2532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10430,7 +10430,7 @@ function ArcadePhysicsEngine_minStep__P23336_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P23335(s) { +function ArcadePhysicsEngine_maxSpeed__P2531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10446,7 +10446,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10463,12 +10463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P23335.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__P2531.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__P23335_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2531_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P23335, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10481,7 +10481,7 @@ function ArcadePhysicsEngine_maxSpeed__P23335_mk(s) { -function Fx_neg__P20960(s) { +function Fx_neg__P155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10499,12 +10499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P20960.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} +Fx_neg__P155.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} -function Fx_neg__P20960_mk(s) { +function Fx_neg__P155_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P20960, depth: s.depth + 1, + parent: s, fn: Fx_neg__P155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10513,7 +10513,7 @@ function Fx_neg__P20960_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P23334(s) { +function ArcadePhysicsEngine_maxSpeed__P2530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10528,7 +10528,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10537,13 +10537,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P23334.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__P23334.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P2530.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__P2530.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P23334_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P2530_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P23334, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10554,7 +10554,7 @@ function ArcadePhysicsEngine_maxSpeed__P23334_mk(s) { -function PhysicsEngine_constructor__P23317(s) { +function PhysicsEngine_constructor__P2513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10569,17 +10569,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C23316_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2512_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P23317.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__P2513.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__P23317_mk(s) { +function PhysicsEngine_constructor__P2513_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P23317, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P2513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10588,7 +10588,7 @@ function PhysicsEngine_constructor__P23317_mk(s) { -function sprites_SpriteMap_constructor__P23252(s) { +function sprites_SpriteMap_constructor__P2448(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10603,7 +10603,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10612,12 +10612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P23252.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__P2448.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__P23252_mk(s) { +function sprites_SpriteMap_constructor__P2448_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P23252, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P2448, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10628,7 +10628,7 @@ function sprites_SpriteMap_constructor__P23252_mk(s) { -function control_pushEventContext__P21214(s) { +function control_pushEventContext__P409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10638,63 +10638,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___30492 = undefined; - s.n___30498 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___25307); + s.ctx___9682 = undefined; + s.n___9688 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4502); 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___25307 = (r0); + globals.eventContexts___4502 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P21213_mk(s); + s.tmp_0 = control_eventContext__P408_mk(s); s.callLocIdx = 53; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___30492 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___30492); + s.ctx___9682 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___9682); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P21207_mk(s); - s.tmp_0.arg0 = s.ctx___30492; + s.tmp_0 = control_EventContext_unregister__P402_mk(s); + s.tmp_0.arg0 = s.ctx___9682; s.callLocIdx = 54; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C21200_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C395_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P21204_mk(s); + s.tmp_1 = control_EventContext_constructor__P399_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 55; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___30498 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___25307, s.n___30498); - r0 = s.n___30498; + s.n___9688 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___4502, s.n___9688); + r0 = s.n___9688; return leave(s, r0) default: oops() } } } -control_pushEventContext__P21214.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +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":[]} -function control_pushEventContext__P21214_mk(s) { +function control_pushEventContext__P409_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P21214, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___30492: undefined, - n___30498: undefined, + ctx___9682: undefined, + n___9688: undefined, } } -function control_EventContext_unregister__P21207(s) { +function control_EventContext_unregister__P402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10704,37 +10704,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___30527 = undefined; - s.unnamed150___U1 = undefined; - s.unnamed151___U2 = undefined; + s.h___9717 = undefined; + s.unnamed58___U1 = undefined; + s.unnamed59___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); - s.h___30527 = (undefined); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + s.h___9717 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed150___U1 = (r0); - s.unnamed151___U2 = (0); + s.unnamed58___U1 = (r0); + s.unnamed59___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed151___U2; - r0 = pxsim_Array__length(s.unnamed150___U1); + s.tmp_0 = r0 = s.unnamed59___U2; + r0 = pxsim_Array__length(s.unnamed58___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed150___U1, s.unnamed151___U2); - s.h___30527 = (r0); - s.tmp_2 = control_EventHandler_unregister__P25301_mk(s); - s.tmp_2.arg0 = s.h___30527; + r0 = pxsim_Array__getAt(s.unnamed58___U1, s.unnamed59___U2); + s.h___9717 = (r0); + s.tmp_2 = control_EventHandler_unregister__P4496_mk(s); + s.tmp_2.arg0 = s.h___9717; s.callLocIdx = 49; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed151___U2 + 1); - s.unnamed151___U2 = (r0); + r0 = (s.unnamed59___U2 + 1); + s.unnamed59___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed150___U1 = (undefined); + s.unnamed58___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -10745,19 +10745,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P21207.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__P402.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__P21207_mk(s) { +function control_EventContext_unregister__P402_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P21207, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___30527: undefined, - unnamed150___U1: undefined, - unnamed151___U2: undefined, + h___9717: undefined, + unnamed58___U1: undefined, + unnamed59___U2: undefined, arg0: undefined, } } @@ -10765,7 +10765,7 @@ function control_EventContext_unregister__P21207_mk(s) { -function control_EventHandler_unregister__P25301(s) { +function control_EventHandler_unregister__P4496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10780,24 +10780,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C25299_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C4494_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__P25303, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P4498, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P25301.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__P4496.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__P25301_mk(s) { +function control_EventHandler_unregister__P4496_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P25301, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P4496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10809,7 +10809,7 @@ function control_EventHandler_unregister__P25301_mk(s) { -function control_doNothing__P25303(s) { +function control_doNothing__P4498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10823,12 +10823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P25303.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P4498.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__P25303_mk(s) { +function control_doNothing__P4498_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P25303, depth: s.depth + 1, + parent: s, fn: control_doNothing__P4498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10836,7 +10836,7 @@ function control_doNothing__P25303_mk(s) { -function control_EventContext_constructor__P21204(s) { +function control_EventContext_constructor__P399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10851,7 +10851,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10861,26 +10861,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___21202); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___397); 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___21202 = (r0); + globals.control_EventContext_lastStats___397 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P21204.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__P399.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__P21204_mk(s) { +function control_EventContext_constructor__P399_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P21204, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10891,7 +10891,7 @@ function control_EventContext_constructor__P21204_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P23010(s) { +function controller_pauseUntilAnyButtonIsPressed__P2206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10911,12 +10911,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P23010.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P2206.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__P23010_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P2206_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P23010, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P2206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10924,7 +10924,7 @@ function controller_pauseUntilAnyButtonIsPressed__P23010_mk(s) { -function game_setWaitAnyButton__P23822(s) { +function game_setWaitAnyButton__P3018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10938,17 +10938,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___25811 = (s.arg0); + globals.__waitAnyButton___5006 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P23822.info = {"start":4881,"length":83,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P3018.info = {"start":4881,"length":83,"line":151,"column":4,"endLine":153,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P23822_mk(s) { +function game_setWaitAnyButton__P3018_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P23822, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P3018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10957,7 +10957,7 @@ function game_setWaitAnyButton__P23822_mk(s) { -function Math_FastRandom_constructor__P23883(s) { +function Math_FastRandom_constructor__P3079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10973,7 +10973,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C23881_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C3077_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10988,12 +10988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P23883.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__P3079.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__P23883_mk(s) { +function Math_FastRandom_constructor__P3079_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P23883, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P3079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11004,7 +11004,7 @@ function Math_FastRandom_constructor__P23883_mk(s) { -function game_consoleOverlay_listener__P26141(s) { +function game_consoleOverlay_listener__P5336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11019,7 +11019,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___26106); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5301); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11039,9 +11039,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P20914_mk(s); - s.tmp_5 = helpers_arrayFilter__P20915_mk(s); - s.tmp_6 = helpers_stringSplit__P20927_mk(s); + s.tmp_4 = helpers_arrayForEach__P109_mk(s); + s.tmp_5 = helpers_arrayFilter__P110_mk(s); + s.tmp_6 = helpers_stringSplit__P122_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -11049,27 +11049,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P30730; + s.tmp_5.arg1 = forEach_inline__P9920; s.callLocIdx = 1127; 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__P30735; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P9925; s.callLocIdx = 1129; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___26106); + r0 = pxsim_Array__length(globals.consoleStrings___5301); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___26119); + r0 = (s.tmp_1 > globals.consoleLines___5314); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P20905_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___26106; + s.tmp_2 = helpers_arraySplice__P100_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___5301; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___26106); + r0 = pxsim_Array__length(globals.consoleStrings___5301); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___26119); + r0 = (s.tmp_3 - globals.consoleLines___5314); s.tmp_2.arg2 = r0; s.callLocIdx = 1130; s.pc = 11; return s.tmp_2; case 11: @@ -11081,12 +11081,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P26141.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__P5336.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__P26141_mk(s) { +function game_consoleOverlay_listener__P5336_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P26141, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P5336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11103,7 +11103,7 @@ function game_consoleOverlay_listener__P26141_mk(s) { -function forEach_inline__P30730(s) { +function forEach_inline__P9920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11127,12 +11127,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P30730.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__P9920.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__P30730_mk(s) { +function forEach_inline__P9920_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P30730, depth: s.depth + 1, + parent: s, fn: forEach_inline__P9920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11144,7 +11144,7 @@ function forEach_inline__P30730_mk(s) { -function game_consoleOverlay_listener_inline__P30735(s) { +function game_consoleOverlay_listener_inline__P9925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11154,45 +11154,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___30737 = undefined; + s.j___9927 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___30737 = (0); + s.j___9927 = (0); case 1: - s.tmp_1 = r0 = s.j___30737; + s.tmp_1 = r0 = s.j___9927; 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___26106; - s.tmp_5 = helpers_stringSlice__P20924_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___5301; + s.tmp_5 = helpers_stringSlice__P119_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___30737; - r0 = (s.j___30737 + globals.consoleColumns___26129); + s.tmp_5.arg1 = s.j___9927; + r0 = (s.j___9927 + globals.consoleColumns___5324); s.tmp_5.arg2 = r0; s.callLocIdx = 1128; 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___30737 + globals.consoleColumns___26129); - s.j___30737 = (r0); + r0 = (s.j___9927 + globals.consoleColumns___5324); + s.j___9927 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P30735.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__P9925.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__P30735_mk(s) { +function game_consoleOverlay_listener_inline__P9925_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P30735, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P9925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11200,7 +11200,7 @@ function game_consoleOverlay_listener_inline__P30735_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___30737: undefined, + j___9927: undefined, arg0: undefined, } } @@ -11208,7 +11208,7 @@ function game_consoleOverlay_listener_inline__P30735_mk(s) { -function console_addListener__P21188(s) { +function console_addListener__P383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11231,7 +11231,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___25285, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___4480, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -11242,18 +11242,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___25285, s.arg0); + r0 = pxsim_Array__push(globals.listeners___4480, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P21188.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__P383.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__P21188_mk(s) { +function console_addListener__P383_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P21188, depth: s.depth + 1, + parent: s, fn: console_addListener__P383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11266,7 +11266,7 @@ function console_addListener__P21188_mk(s) { -function listeners_inline__P25284(s) { +function listeners_inline__P4479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11286,12 +11286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P25284.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__P4479.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__P25284_mk(s) { +function listeners_inline__P4479_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P25284, depth: s.depth + 1, + parent: s, fn: listeners_inline__P4479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11301,7 +11301,7 @@ function listeners_inline__P25284_mk(s) { -function scene_systemMenu_register__P23928(s) { +function scene_systemMenu_register__P3124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11311,15 +11311,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___26060); + r0 = pxsim_numops_toBoolDecr(globals.instance___5255); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P23001_mk(s); - s.tmp_0.arg0 = globals.menu___22924; + s.tmp_0 = controller_Button_onEvent__P2197_mk(s); + s.tmp_0.arg0 = globals.menu___2120; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P23929; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P3125; s.callLocIdx = 1113; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -11328,12 +11328,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P23928.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__P3124.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__P23928_mk(s) { +function scene_systemMenu_register__P3124_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P23928, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P3124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11342,7 +11342,7 @@ function scene_systemMenu_register__P23928_mk(s) { -function scene_systemMenu_showSystemMenu__P23929(s) { +function scene_systemMenu_showSystemMenu__P3125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11352,27 +11352,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___26060); + r0 = pxsim_numops_toBoolDecr(globals.instance___5255); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P23825_mk(s); + s.tmp_0 = game_pushScene__P3021_mk(s); s.callLocIdx = 1114; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C23917_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C3113_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P23918_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P3114_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P23925; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P3121; s.tmp_1.arg2 = undefined; s.callLocIdx = 1115; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___26060 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P23919_mk(s); - s.tmp_0.arg0 = globals.instance___26060; + globals.instance___5255 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P3115_mk(s); + s.tmp_0.arg0 = globals.instance___5255; s.callLocIdx = 1116; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -11381,12 +11381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P23929.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__P3125.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__P23929_mk(s) { +function scene_systemMenu_showSystemMenu__P3125_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P23929, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P3125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11396,7 +11396,7 @@ function scene_systemMenu_showSystemMenu__P23929_mk(s) { -function scene_systemMenu_buildOptionList__P23925(s) { +function scene_systemMenu_buildOptionList__P3121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11406,136 +11406,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___32760 = undefined; + s.options___11950 = undefined; r0 = pxsim_Array__mk(); - s.options___32760 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + s.options___11950 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___23939; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32768; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P26066; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___3135; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11958; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P5261; s.callLocIdx = 1096; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + r0 = pxsim_Array__push(s.options___11950, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___23936; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32782; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P26065; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___3132; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P11972; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P5260; s.callLocIdx = 1098; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); + r0 = pxsim_Array__push(s.options___11950, 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__C23909_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___23937; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P32797; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P26068; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___3133; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P11987; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P5263; s.callLocIdx = 1101; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + r0 = pxsim_Array__push(s.options___11950, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___23942; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32812; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P26067; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___3138; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12002; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P5262; s.callLocIdx = 1103; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); + r0 = pxsim_Array__push(s.options___11950, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___23943; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32827; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P26070; + s.tmp_1.arg1 = globals.STATS_ICON___3139; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12017; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P5265; s.callLocIdx = 1104; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + r0 = pxsim_Array__push(s.options___11950, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___23941; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32836; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P26071; + s.tmp_1.arg1 = globals.CONSOLE_ICON___3137; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12026; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P5266; s.callLocIdx = 1106; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + r0 = pxsim_Array__push(s.options___11950, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___23940; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32845; - s.tmp_1.arg3 = scene_systemMenu_sleep__P26072; + s.tmp_1.arg1 = globals.SLEEP_ICON___3136; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12035; + s.tmp_1.arg3 = scene_systemMenu_sleep__P5267; s.callLocIdx = 1107; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___26061); + r0 = pxsim_Array__push(s.options___11950, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___5256); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P20918_mk(s); - s.tmp_0.arg0 = s.options___32760; - s.tmp_0.arg1 = globals.customMenuOptions___26061; + s.tmp_0 = helpers_arrayConcat__P113_mk(s); + s.tmp_0.arg0 = s.options___11950; + s.tmp_0.arg1 = globals.customMenuOptions___5256; s.callLocIdx = 1108; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___32760 = (r0); + s.options___11950 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C23909_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3105_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P23910_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3106_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___23938; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P32858; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P23924; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___3134; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P12048; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P3120; s.callLocIdx = 1109; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32760, s.tmp_0); - r0 = s.options___32760; + r0 = pxsim_Array__push(s.options___11950, s.tmp_0); + r0 = s.options___11950; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P23925.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__P3121.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__P23925_mk(s) { +function scene_systemMenu_buildOptionList__P3121_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P23925, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P3121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___32760: undefined, + options___11950: undefined, } } -function scene_systemMenu_buildOptionList_inline__P32768(s) { +function scene_systemMenu_buildOptionList_inline__P11958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11545,7 +11545,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P22426_mk(s); + s.tmp_3 = music_volume__P1622_mk(s); s.callLocIdx = 1095; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -11565,12 +11565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32768.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__P11958.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__P32768_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11958_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32768, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11582,7 +11582,7 @@ function scene_systemMenu_buildOptionList_inline__P32768_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32782(s) { +function scene_systemMenu_buildOptionList_inline__P11972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11592,7 +11592,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P22426_mk(s); + s.tmp_3 = music_volume__P1622_mk(s); s.callLocIdx = 1097; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -11612,12 +11612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32782.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__P11972.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__P32782_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11972_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32782, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11629,7 +11629,7 @@ function scene_systemMenu_buildOptionList_inline__P32782_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32797(s) { +function scene_systemMenu_buildOptionList_inline__P11987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11639,7 +11639,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___22756; + r0 = globals.brightness___1952; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -11656,12 +11656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32797.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__P11987.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__P32797_mk(s) { +function scene_systemMenu_buildOptionList_inline__P11987_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32797, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P11987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11672,7 +11672,7 @@ function scene_systemMenu_buildOptionList_inline__P32797_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32812(s) { +function scene_systemMenu_buildOptionList_inline__P12002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11682,7 +11682,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___22756; + r0 = globals.brightness___1952; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -11699,12 +11699,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32812.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__P12002.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__P32812_mk(s) { +function scene_systemMenu_buildOptionList_inline__P12002_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32812, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P12002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11715,7 +11715,7 @@ function scene_systemMenu_buildOptionList_inline__P32812_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32827(s) { +function scene_systemMenu_buildOptionList_inline__P12017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11725,7 +11725,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___23773); + r0 = pxsim_numops_toBoolDecr(globals.stats___2969); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -11738,12 +11738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32827.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__P12017.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__P32827_mk(s) { +function scene_systemMenu_buildOptionList_inline__P12017_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32827, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P12017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11752,7 +11752,7 @@ function scene_systemMenu_buildOptionList_inline__P32827_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32836(s) { +function scene_systemMenu_buildOptionList_inline__P12026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11762,7 +11762,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___26106); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5301); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11783,12 +11783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32836.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__P12026.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__P32836_mk(s) { +function scene_systemMenu_buildOptionList_inline__P12026_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32836, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P12026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11801,7 +11801,7 @@ function scene_systemMenu_buildOptionList_inline__P32836_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32845(s) { +function scene_systemMenu_buildOptionList_inline__P12035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11815,12 +11815,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32845.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__P12035.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__P32845_mk(s) { +function scene_systemMenu_buildOptionList_inline__P12035_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32845, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P12035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11828,7 +11828,7 @@ function scene_systemMenu_buildOptionList_inline__P32845_mk(s) { -function scene_systemMenu_buildOptionList_inline__P32858(s) { +function scene_systemMenu_buildOptionList_inline__P12048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11842,12 +11842,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P32858.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__P12048.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__P32858_mk(s) { +function scene_systemMenu_buildOptionList_inline__P12048_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P32858, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P12048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11855,7 +11855,7 @@ function scene_systemMenu_buildOptionList_inline__P32858_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P26073(s) { +function scene_systemMenu_setScreenBrightnessSupported__P5268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11869,12 +11869,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P26073.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__P5268.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__P26073_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P5268_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P26073, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P5268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11882,7 +11882,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P26073_mk(s) { -function scene_systemMenu_sleep__P26072(s) { +function scene_systemMenu_sleep__P5267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11897,12 +11897,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P26072.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__P5267.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__P26072_mk(s) { +function scene_systemMenu_sleep__P5267_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P26072, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P5267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11910,7 +11910,7 @@ function scene_systemMenu_sleep__P26072_mk(s) { -function scene_systemMenu_toggleConsole__P26071(s) { +function scene_systemMenu_toggleConsole__P5266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11920,7 +11920,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___26106); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5301); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11930,7 +11930,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P23948_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P3144_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1089; s.pc = 3; return s.tmp_4; @@ -11938,13 +11938,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P23948_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P3144_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1090; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P21185_mk(s); + s.tmp_0 = console_log__P380_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1091; s.pc = 5; return s.tmp_0; case 5: @@ -11954,12 +11954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P26071.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__P5266.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__P26071_mk(s) { +function scene_systemMenu_toggleConsole__P5266_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P26071, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P5266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11972,7 +11972,7 @@ function scene_systemMenu_toggleConsole__P26071_mk(s) { -function game_consoleOverlay_setVisible__P23948(s) { +function game_consoleOverlay_setVisible__P3144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11988,7 +11988,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___26106); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5301); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -12009,26 +12009,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___26106 = (s.tmp_6); + globals.consoleStrings___5301 = (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___26105 = (s.arg1); + globals.consoleColor___5300 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P23948.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__P3144.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__P23948_mk(s) { +function game_consoleOverlay_setVisible__P3144_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P23948, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P3144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12045,7 +12045,7 @@ function game_consoleOverlay_setVisible__P23948_mk(s) { -function console_log__P21185(s) { +function console_log__P380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12059,7 +12059,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P21181_mk(s); + s.tmp_0 = console_add__P376_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 33; s.pc = 1; return s.tmp_0; @@ -12069,12 +12069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P21185.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__P380.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__P21185_mk(s) { +function console_log__P380_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P21185, depth: s.depth + 1, + parent: s, fn: console_log__P380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12084,7 +12084,7 @@ function console_log__P21185_mk(s) { -function console_add__P21181(s) { +function console_add__P376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12094,58 +12094,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___32897 = undefined; - s.i___32906 = undefined; + s.text___12087 = undefined; + s.i___12096 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___21180); + r0 = (s.arg0 < globals.minPriority___375); 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__P21187_mk(s); + s.tmp_1 = console_inspect__P382_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 31; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___32897 = (r0); - if ((s.text___32897) && (s.text___32897).vtable) { + s.text___12087 = (r0); + if ((s.text___12087) && (s.text___12087).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___32897); + pxsim_String__stringConv(s.text___12087); checkResumeConsumed(); return; - } else { s.retval = (s.text___32897) + ""; } + } else { s.retval = (s.text___12087) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___32897 = (r0); - s.i___32906 = (0); + s.text___12087 = (r0); + s.i___12096 = (0); case 3: - s.tmp_1 = r0 = s.i___32906; - r0 = pxsim_Array__length(globals.listeners___25285); + s.tmp_1 = r0 = s.i___12096; + r0 = pxsim_Array__length(globals.listeners___4480); 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___25285, s.i___32906); + r0 = pxsim_Array__getAt(globals.listeners___4480, s.i___12096); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___32897; + s.tmp_3.arg1 = s.text___12087; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 32; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___32906 + 1); - s.i___32906 = (r0); + r0 = (s.i___12096 + 1); + s.i___12096 = (r0); { step = 3; continue; } case 4: case 5: @@ -12153,19 +12153,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P21181.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__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"]} -function console_add__P21181_mk(s) { +function console_add__P376_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P21181, depth: s.depth + 1, + parent: s, fn: console_add__P376, 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___32897: undefined, - i___32906: undefined, + text___12087: undefined, + i___12096: undefined, arg0: undefined, arg1: undefined, } } @@ -12174,7 +12174,7 @@ function console_add__P21181_mk(s) { -function console_inspect__P21187(s) { +function console_inspect__P382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12184,10 +12184,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___32937 = undefined; - s.asString___32955 = undefined; - s.keys___32967 = undefined; - s.snipped___32971 = undefined; + s.asArr___12127 = undefined; + s.asString___12145 = undefined; + s.keys___12157 = undefined; + s.snipped___12161 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12228,15 +12228,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___32937 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___32937); + s.asArr___12127 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___12127); 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__P20908_mk(s); - s.tmp_2.arg0 = s.asArr___32937; + s.tmp_2 = helpers_arrayJoin__P103_mk(s); + s.tmp_2.arg0 = s.asArr___12127; s.tmp_2.arg1 = ","; s.callLocIdx = 34; s.pc = 19; return s.tmp_2; case 19: @@ -12246,9 +12246,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P20908_mk(s); - s.tmp_8 = helpers_arraySlice__P20920_mk(s); - s.tmp_8.arg0 = s.asArr___32937; + s.tmp_7 = helpers_arrayJoin__P103_mk(s); + s.tmp_8 = helpers_arraySlice__P115_mk(s); + s.tmp_8.arg0 = s.asArr___12127; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 35; s.pc = 21; return s.tmp_8; @@ -12288,46 +12288,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___32955 = (r0); - r0 = (s.asString___32955 != "[object Object]"); + s.asString___12145 = (r0); + r0 = (s.asString___12145 != "[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___32955 != "[Object]"); + r0 = (s.asString___12145 != "[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___32955; + r0 = s.asString___12145; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___32967 = (r0); - r0 = pxsim_Array__length(s.keys___32967); + s.keys___12157 = (r0); + r0 = pxsim_Array__length(s.keys___12157); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___32971 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___32971); + s.snipped___12161 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___12161); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P20920_mk(s); - s.tmp_0.arg0 = s.keys___32967; + s.tmp_0 = helpers_arraySlice__P115_mk(s); + s.tmp_0.arg0 = s.keys___12157; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___32967 = (r0); + s.keys___12157 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P32988); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P12178); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___32971); + r0 = pxsim_numops_toBoolDecr(s.snipped___12161); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -12336,8 +12336,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P20917_mk(s); - s.tmp_7.arg0 = s.keys___32967; + s.tmp_7 = helpers_arrayReduce__P112_mk(s); + s.tmp_7.arg0 = s.keys___12157; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -12386,12 +12386,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P21187.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__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"]} -function console_inspect__P21187_mk(s) { +function console_inspect__P382_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P21187, depth: s.depth + 1, + parent: s, fn: console_inspect__P382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12404,10 +12404,10 @@ function console_inspect__P21187_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___32937: undefined, - asString___32955: undefined, - keys___32967: undefined, - snipped___32971: undefined, + asArr___12127: undefined, + asString___12145: undefined, + keys___12157: undefined, + snipped___12161: undefined, arg0: undefined, arg1: undefined, } } @@ -12416,7 +12416,7 @@ function console_inspect__P21187_mk(s) { -function console_inspect_inline__P32988(s) { +function console_inspect_inline__P12178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12479,12 +12479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P32988.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__P12178.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__P32988_mk(s) { +function console_inspect_inline__P12178_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P32988, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P12178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12502,7 +12502,7 @@ function console_inspect_inline__P32988_mk(s) { -function helpers_arraySlice__P20920(s) { +function helpers_arraySlice__P115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12512,9 +12512,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___31500 = undefined; - s.len___31502 = undefined; - s.i___31536 = undefined; + s.res___10690 = undefined; + s.len___10692 = undefined; + s.i___10726 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12522,9 +12522,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___31500 = (r0); + s.res___10690 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___31502 = (r0); + s.len___10692 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12536,8 +12536,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P20935_mk(s); - r0 = (s.len___31502 + s.arg1); + s.tmp_1 = Math_max__P130_mk(s); + r0 = (s.len___10692 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 8; s.pc = 16; return s.tmp_1; @@ -12547,11 +12547,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___31502); + r0 = (s.arg1 > s.len___10692); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___31500; + r0 = s.res___10690; { step = 15; continue; } case 5: case 6: @@ -12559,57 +12559,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___31502); + s.arg2 = (s.len___10692); { 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___31502 + s.arg2); + r0 = (s.len___10692 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___31502); + r0 = (s.arg2 > s.len___10692); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___31502); + s.arg2 = (s.len___10692); case 11: case 12: - s.i___31536 = (s.arg1); + s.i___10726 = (s.arg1); case 13: - r0 = (s.i___31536 < s.arg2); + r0 = (s.i___10726 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___31500; - r0 = pxsim_Array__getAt(s.arg0, s.i___31536); + s.tmp_1 = r0 = s.res___10690; + r0 = pxsim_Array__getAt(s.arg0, s.i___10726); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___31536 + 1); - s.i___31536 = (r0); + r0 = (s.i___10726 + 1); + s.i___10726 = (r0); { step = 13; continue; } case 14: - r0 = s.res___31500; + r0 = s.res___10690; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P20920.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P115.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P20920_mk(s) { +function helpers_arraySlice__P115_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P20920, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___31500: undefined, - len___31502: undefined, - i___31536: undefined, + res___10690: undefined, + len___10692: undefined, + i___10726: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12619,7 +12619,7 @@ function helpers_arraySlice__P20920_mk(s) { -function helpers_arrayReduce__P20917(s) { +function helpers_arrayReduce__P112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12629,8 +12629,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___33015 = undefined; - s.i___33018 = undefined; + s.len___12205 = undefined; + s.i___12208 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12638,43 +12638,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___33015 = (r0); - s.i___33018 = (0); + s.len___12205 = (r0); + s.i___12208 = (0); case 1: - r0 = (s.i___33018 < s.len___33015); + r0 = (s.i___12208 < s.len___12205); 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___33018); + r0 = pxsim_Array__getAt(s.arg0, s.i___12208); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___33018; + s.tmp_1.arg2 = s.i___12208; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___33018 + 1); - s.i___33018 = (r0); + r0 = (s.i___12208 + 1); + s.i___12208 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P20917.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P112.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -function helpers_arrayReduce__P20917_mk(s) { +function helpers_arrayReduce__P112_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P20917, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___33015: undefined, - i___33018: undefined, + len___12205: undefined, + i___12208: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12684,7 +12684,7 @@ function helpers_arrayReduce__P20917_mk(s) { -function helpers_arrayJoin__P20908(s) { +function helpers_arrayJoin__P103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12694,9 +12694,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___33043 = undefined; - s.len___33044 = undefined; - s.i___33047 = undefined; + s.r___12233 = undefined; + s.len___12234 = undefined; + s.i___12237 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12719,16 +12719,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___33043 = (r0); + s.r___12233 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___33044 = (r0); - s.i___33047 = (0); + s.len___12234 = (r0); + s.i___12237 = (0); case 5: - r0 = (s.i___33047 < s.len___33044); + r0 = (s.i___12237 < s.len___12234); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___33047 > 0); + r0 = (s.i___12237 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -12741,12 +12741,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___33043) && (s.r___33043).vtable) { + if ((s.r___12233) && (s.r___12233).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___33043); + pxsim_String__stringConv(s.r___12233); checkResumeConsumed(); return; - } else { s.retval = (s.r___33043) + ""; } + } else { s.retval = (s.r___12233) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -12760,10 +12760,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___33043 = (r0); + s.r___12233 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___33047); + r0 = pxsim_Array__getAt(s.arg0, s.i___12237); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -12772,7 +12772,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___33047); + r0 = pxsim_Array__getAt(s.arg0, s.i___12237); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -12783,16 +12783,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___33047); + r0 = pxsim_Array__getAt(s.arg0, s.i___12237); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___33043) && (s.r___33043).vtable) { + if ((s.r___12233) && (s.r___12233).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___33043); + pxsim_String__stringConv(s.r___12233); checkResumeConsumed(); return; - } else { s.retval = (s.r___33043) + ""; } + } else { s.retval = (s.r___12233) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -12806,21 +12806,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___33043 = (r0); - r0 = (s.i___33047 + 1); - s.i___33047 = (r0); + s.r___12233 = (r0); + r0 = (s.i___12237 + 1); + s.i___12237 = (r0); { step = 5; continue; } case 14: - r0 = s.r___33043; + r0 = s.r___12233; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P20908.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P103.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -function helpers_arrayJoin__P20908_mk(s) { +function helpers_arrayJoin__P103_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P20908, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12829,9 +12829,9 @@ function helpers_arrayJoin__P20908_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___33043: undefined, - len___33044: undefined, - i___33047: undefined, + r___12233: undefined, + len___12234: undefined, + i___12237: undefined, arg0: undefined, arg1: undefined, } } @@ -12840,7 +12840,7 @@ function helpers_arrayJoin__P20908_mk(s) { -function scene_systemMenu_toggleStats__P26070(s) { +function scene_systemMenu_toggleStats__P5265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12850,11 +12850,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___23773); + r0 = pxsim_numops_toBoolDecr(globals.stats___2969); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___23773 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___23773); + globals.stats___2969 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___2969); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12863,14 +12863,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___21203; + r0 = globals.control_EventContext_onStats___398; 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___21203; + s.tmp_3.argL = globals.control_EventContext_onStats___398; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -12883,12 +12883,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P26070.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__P5265.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__P26070_mk(s) { +function scene_systemMenu_toggleStats__P5265_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P26070, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P5265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12900,7 +12900,7 @@ function scene_systemMenu_toggleStats__P26070_mk(s) { -function scene_systemMenu_brightnessDown__P26068(s) { +function scene_systemMenu_brightnessDown__P5263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12910,8 +12910,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P26069_mk(s); - r0 = globals.brightness___22756; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P5264_mk(s); + r0 = globals.brightness___1952; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -12922,12 +12922,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P26068.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__P5263.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__P26068_mk(s) { +function scene_systemMenu_brightnessDown__P5263_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P26068, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P5263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12937,7 +12937,7 @@ function scene_systemMenu_brightnessDown__P26068_mk(s) { -function scene_systemMenu_setScreenBrightness__P26069(s) { +function scene_systemMenu_setScreenBrightness__P5264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12951,15 +12951,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P22770_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.tmp_0 = helpers_setScreenBrightness__P1966_mk(s); + s.tmp_0.arg0 = globals.screen___2033; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1084; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P22868_mk(s); + s.tmp_0 = settings_writeNumber__P2064_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___22756; + r0 = globals.brightness___1952; s.tmp_0.arg1 = r0; s.callLocIdx = 1086; s.pc = 2; return s.tmp_0; case 2: @@ -12968,12 +12968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P26069.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__P5264.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__P26069_mk(s) { +function scene_systemMenu_setScreenBrightness__P5264_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P26069, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P5264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12983,7 +12983,7 @@ function scene_systemMenu_setScreenBrightness__P26069_mk(s) { -function settings_writeNumber__P22868(s) { +function settings_writeNumber__P2064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13001,9 +13001,9 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P22865_mk(s); + s.tmp_1 = settings_writeBuffer__P2061_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P20989_mk(s); + s.tmp_2 = msgpack_packNumberArray__P184_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 124; s.pc = 2; return s.tmp_2; case 2: @@ -13016,12 +13016,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P22868.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__P2064.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__P22868_mk(s) { +function settings_writeNumber__P2064_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P22868, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P2064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13034,7 +13034,7 @@ function settings_writeNumber__P22868_mk(s) { -function settings_writeBuffer__P22865(s) { +function settings_writeBuffer__P2061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13061,12 +13061,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P22865.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__P2061.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__P22865_mk(s) { +function settings_writeBuffer__P2061_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P22865, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P2061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13077,7 +13077,7 @@ function settings_writeBuffer__P22865_mk(s) { -function msgpack_packNumberArray__P20989(s) { +function msgpack_packNumberArray__P184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13087,100 +13087,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___33133 = undefined; - s.n___33135 = undefined; - s.unnamed142___U2 = undefined; - s.unnamed143___U3 = undefined; - s.buf___33145 = undefined; - s.n___33151 = undefined; - s.unnamed144___U6 = undefined; - s.unnamed145___U7 = undefined; + s.off___12323 = undefined; + s.n___12325 = undefined; + s.unnamed50___U2 = undefined; + s.unnamed51___U3 = undefined; + s.buf___12335 = undefined; + s.n___12341 = undefined; + s.unnamed52___U6 = undefined; + s.unnamed53___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___33133 = (0); - s.n___33135 = (undefined); - s.unnamed142___U2 = (s.arg0); - s.unnamed143___U3 = (0); + s.off___12323 = (0); + s.n___12325 = (undefined); + s.unnamed50___U2 = (s.arg0); + s.unnamed51___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed143___U3; - r0 = pxsim_Array__length(s.unnamed142___U2); + s.tmp_0 = r0 = s.unnamed51___U3; + r0 = pxsim_Array__length(s.unnamed50___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed142___U2, s.unnamed143___U3); - s.n___33135 = (r0); - s.tmp_2 = r0 = s.off___33133; - s.tmp_4 = msgpack_packNumberCore__P25244_mk(s); + r0 = pxsim_Array__getAt(s.unnamed50___U2, s.unnamed51___U3); + s.n___12325 = (r0); + s.tmp_2 = r0 = s.off___12323; + s.tmp_4 = msgpack_packNumberCore__P4439_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___33133; - s.tmp_4.arg2 = s.n___33135; + s.tmp_4.arg1 = s.off___12323; + s.tmp_4.arg2 = s.n___12325; s.callLocIdx = 21; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___33133 = (r0); - r0 = (s.unnamed143___U3 + 1); - s.unnamed143___U3 = (r0); + s.off___12323 = (r0); + r0 = (s.unnamed51___U3 + 1); + s.unnamed51___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed142___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___33133); - s.buf___33145 = (r0); - s.off___33133 = (0); - s.n___33151 = (undefined); - s.unnamed144___U6 = (s.arg0); - s.unnamed145___U7 = (0); + s.unnamed50___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___12323); + s.buf___12335 = (r0); + s.off___12323 = (0); + s.n___12341 = (undefined); + s.unnamed52___U6 = (s.arg0); + s.unnamed53___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed145___U7; - r0 = pxsim_Array__length(s.unnamed144___U6); + s.tmp_0 = r0 = s.unnamed53___U7; + r0 = pxsim_Array__length(s.unnamed52___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed144___U6, s.unnamed145___U7); - s.n___33151 = (r0); - s.tmp_2 = r0 = s.off___33133; - s.tmp_4 = msgpack_packNumberCore__P25244_mk(s); - s.tmp_4.arg0 = s.buf___33145; - s.tmp_4.arg1 = s.off___33133; - s.tmp_4.arg2 = s.n___33151; + r0 = pxsim_Array__getAt(s.unnamed52___U6, s.unnamed53___U7); + s.n___12341 = (r0); + s.tmp_2 = r0 = s.off___12323; + s.tmp_4 = msgpack_packNumberCore__P4439_mk(s); + s.tmp_4.arg0 = s.buf___12335; + s.tmp_4.arg1 = s.off___12323; + s.tmp_4.arg2 = s.n___12341; s.callLocIdx = 22; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___33133 = (r0); - r0 = (s.unnamed145___U7 + 1); - s.unnamed145___U7 = (r0); + s.off___12323 = (r0); + r0 = (s.unnamed53___U7 + 1); + s.unnamed53___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed144___U6 = (undefined); - r0 = s.buf___33145; + s.unnamed52___U6 = (undefined); + r0 = s.buf___12335; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P20989.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__P184.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__P20989_mk(s) { +function msgpack_packNumberArray__P184_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P20989, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P184, 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___33133: undefined, - n___33135: undefined, - unnamed142___U2: undefined, - unnamed143___U3: undefined, - buf___33145: undefined, - n___33151: undefined, - unnamed144___U6: undefined, - unnamed145___U7: undefined, + off___12323: undefined, + n___12325: undefined, + unnamed50___U2: undefined, + unnamed51___U3: undefined, + buf___12335: undefined, + n___12341: undefined, + unnamed52___U6: undefined, + unnamed53___U7: undefined, arg0: undefined, } } @@ -13188,7 +13188,7 @@ function msgpack_packNumberArray__P20989_mk(s) { -function msgpack_packNumberCore__P25244(s) { +function msgpack_packNumberCore__P4439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13198,15 +13198,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___33165 = undefined; - s.fmt___33208 = undefined; + s.tag___12355 = undefined; + s.fmt___12398 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___33165 = (203); + s.tag___12355 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -13256,17 +13256,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___33165 = (204); + s.tag___12355 = (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___33165 = (205); + s.tag___12355 = (205); { step = 10; continue; } case 9: - s.tag___33165 = (206); + s.tag___12355 = (206); case 10: case 11: { step = 17; continue; } @@ -13275,41 +13275,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___33165 = (208); + s.tag___12355 = (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___33165 = (209); + s.tag___12355 = (209); { step = 15; continue; } case 14: - s.tag___33165 = (210); + s.tag___12355 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P25243_mk(s); - s.tmp_0.arg0 = s.tag___33165; + s.tmp_0 = msgpack_tagFormat__P4438_mk(s); + s.tmp_0.arg0 = s.tag___12355; s.callLocIdx = 17; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___33208 = (r0); + s.fmt___12398 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___33165); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___12355); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___33208; + s.tmp_1 = r0 = s.fmt___12398; 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__P20980_mk(s); - s.tmp_1.arg0 = s.fmt___33208; + s.tmp_1 = pins_sizeOf__P175_mk(s); + s.tmp_1.arg0 = s.fmt___12398; s.callLocIdx = 18; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -13319,12 +13319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P25244.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__P4439.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__P25244_mk(s) { +function msgpack_packNumberCore__P4439_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P25244, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P4439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13334,8 +13334,8 @@ function msgpack_packNumberCore__P25244_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___33165: undefined, - fmt___33208: undefined, + tag___12355: undefined, + fmt___12398: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13345,7 +13345,7 @@ function msgpack_packNumberCore__P25244_mk(s) { -function msgpack_tagFormat__P25243(s) { +function msgpack_tagFormat__P4438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13405,12 +13405,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P25243.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__P4438.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__P25243_mk(s) { +function msgpack_tagFormat__P4438_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P25243, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P4438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13420,7 +13420,7 @@ function msgpack_tagFormat__P25243_mk(s) { -function pins_sizeOf__P20980(s) { +function pins_sizeOf__P175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13434,7 +13434,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P21020_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P215_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: @@ -13442,12 +13442,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P20980.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__P175.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__P20980_mk(s) { +function pins_sizeOf__P175_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P20980, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13457,7 +13457,7 @@ function pins_sizeOf__P20980_mk(s) { -function Buffer_sizeOfNumberFormat__P21020(s) { +function Buffer_sizeOfNumberFormat__P215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13536,12 +13536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P21020.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__P215.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__P21020_mk(s) { +function Buffer_sizeOfNumberFormat__P215_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P21020, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13551,7 +13551,7 @@ function Buffer_sizeOfNumberFormat__P21020_mk(s) { -function helpers_setScreenBrightness__P22770(s) { +function helpers_setScreenBrightness__P1966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13566,7 +13566,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P20932_mk(s); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -13575,18 +13575,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___22756 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___22756); + globals.brightness___1952 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1952); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P22770.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P1966.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P22770_mk(s) { +function helpers_setScreenBrightness__P1966_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P22770, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P1966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13597,7 +13597,7 @@ function helpers_setScreenBrightness__P22770_mk(s) { -function scene_systemMenu_brightnessUp__P26067(s) { +function scene_systemMenu_brightnessUp__P5262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13607,8 +13607,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P26069_mk(s); - r0 = globals.brightness___22756; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P5264_mk(s); + r0 = globals.brightness___1952; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -13619,12 +13619,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P26067.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__P5262.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__P26067_mk(s) { +function scene_systemMenu_brightnessUp__P5262_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P26067, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P5262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13634,7 +13634,7 @@ function scene_systemMenu_brightnessUp__P26067_mk(s) { -function scene_systemMenu_volumeDown__P26066(s) { +function scene_systemMenu_volumeDown__P5261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13644,29 +13644,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___33481 = undefined; - s.remainder___33484 = undefined; - s.newVolume___33487 = undefined; - s.tmp_0 = music_volume__P22426_mk(s); + s.v___12671 = undefined; + s.remainder___12674 = undefined; + s.newVolume___12677 = undefined; + s.tmp_0 = music_volume__P1622_mk(s); s.callLocIdx = 1078; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___33481 = (r0); - r0 = (s.v___33481 % 32); - s.remainder___33484 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___33484); + s.v___12671 = (r0); + r0 = (s.v___12671 % 32); + s.remainder___12674 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___12674); if (!r0) { step = 1; continue; } - r0 = s.remainder___33484; + r0 = s.remainder___12674; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___33481 - s.tmp_0); - s.newVolume___33487 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P26064_mk(s); - s.tmp_0.arg0 = s.newVolume___33487; + r0 = (s.v___12671 - s.tmp_0); + s.newVolume___12677 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P5259_mk(s); + s.tmp_0.arg0 = s.newVolume___12677; s.callLocIdx = 1079; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -13674,24 +13674,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P26066.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__P5261.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__P26066_mk(s) { +function scene_systemMenu_volumeDown__P5261_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P26066, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P5261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___33481: undefined, - remainder___33484: undefined, - newVolume___33487: undefined, + v___12671: undefined, + remainder___12674: undefined, + newVolume___12677: undefined, } } -function scene_systemMenu_setVolume__P26064(s) { +function scene_systemMenu_setVolume__P5259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13705,18 +13705,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P22425_mk(s); + s.tmp_0 = music_setVolume__P1621_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1073; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P22427_mk(s); + s.tmp_0 = music_playTone__P1623_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1074; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P22868_mk(s); + s.tmp_0 = settings_writeNumber__P2064_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1075; s.pc = 3; return s.tmp_0; @@ -13726,12 +13726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P26064.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__P5259.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__P26064_mk(s) { +function scene_systemMenu_setVolume__P5259_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P26064, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P5259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13741,7 +13741,7 @@ function scene_systemMenu_setVolume__P26064_mk(s) { -function music_playTone__P22427(s) { +function music_playTone__P1623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13751,7 +13751,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___33322 = undefined; + s.id___12512 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13776,7 +13776,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P25343_mk(s); + s.tmp_2 = music_playNoteCore__P4538_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -13784,7 +13784,7 @@ switch (step) { s.callLocIdx = 64; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P21218_mk(s); + s.tmp_0 = pause__P413_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 65; s.pc = 6; return s.tmp_0; @@ -13792,13 +13792,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___25345 + 1); + r0 = (globals.playToneID___4540 + 1); s.tmp_0 = r0; - globals.playToneID___25345 = (r0); - s.id___33322 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P33328); + globals.playToneID___4540 = (r0); + s.id___12512 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P12518); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___33322); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___12512); 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); @@ -13807,17 +13807,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P22427.info = {"start":2612,"length":831,"line":84,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P1623.info = {"start":2612,"length":831,"line":84,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P22427_mk(s) { +function music_playTone__P1623_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P22427, depth: s.depth + 1, + parent: s, fn: music_playTone__P1623, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___33322: undefined, + id___12512: undefined, arg0: undefined, arg1: undefined, } } @@ -13826,7 +13826,7 @@ function music_playTone__P22427_mk(s) { -function music_playTone_inline__P33328(s) { +function music_playTone_inline__P12518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13836,14 +13836,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___33329 = undefined; - s.now___33339 = undefined; - s.d___33342 = undefined; - s.t___33346 = undefined; + s.pos___12519 = undefined; + s.now___12529 = undefined; + s.d___12532 = undefined; + s.t___12536 = undefined; r0 = pxsim.control.millis(); - s.pos___33329 = (r0); + s.pos___12519 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___25345); + r0 = (s.caps[0] == globals.playToneID___4540); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -13859,30 +13859,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___33339 = (r0); - r0 = (s.pos___33329 - s.now___33339); - s.d___33342 = (r0); - s.tmp_0 = Math_min__P20936_mk(s); + s.now___12529 = (r0); + r0 = (s.pos___12519 - s.now___12529); + s.d___12532 = (r0); + s.tmp_0 = Math_min__P131_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 66; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___33346 = (r0); + s.t___12536 = (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___33346); + r0 = (s.tmp_2 - s.t___12536); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___33329 + s.t___33346); - s.pos___33329 = (r0); - s.tmp_0 = music_playNoteCore__P25343_mk(s); - r0 = (s.d___33342 - 1); + r0 = (s.pos___12519 + s.t___12536); + s.pos___12519 = (r0); + s.tmp_0 = music_playNoteCore__P4538_mk(s); + r0 = (s.d___12532 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___33346; + s.tmp_0.arg2 = s.t___12536; s.callLocIdx = 67; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -13892,16 +13892,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P21218_mk(s); - r0 = (s.d___33342 + s.t___33346); + s.tmp_2 = pause__P413_mk(s); + r0 = (s.d___12532 + s.t___12536); s.tmp_2.arg0 = r0; s.callLocIdx = 68; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P21218_mk(s); - r0 = (s.d___33342 + s.t___33346); + s.tmp_0 = pause__P413_mk(s); + r0 = (s.d___12532 + s.t___12536); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -13915,27 +13915,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P33328.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_playTone_inline__P12518.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_playTone_inline__P33328_mk(s) { +function music_playTone_inline__P12518_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P33328, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P12518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___33329: undefined, - now___33339: undefined, - d___33342: undefined, - t___33346: undefined, + pos___12519: undefined, + now___12529: undefined, + d___12532: undefined, + t___12536: undefined, } } -function music_playNoteCore__P25343(s) { +function music_playNoteCore__P4538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13945,7 +13945,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33376 = undefined; + s.buf___12566 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13953,16 +13953,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___33376 = (r0); - s.tmp_0 = music_addNote__P22441_mk(s); - s.tmp_0.arg0 = s.buf___33376; + s.buf___12566 = (r0); + s.tmp_0 = music_addNote__P1637_mk(s); + s.tmp_0.arg0 = s.buf___12566; 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__P22426_mk(s); + s.tmp_1 = music_volume__P1622_mk(s); s.callLocIdx = 62; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -13971,21 +13971,21 @@ switch (step) { s.callLocIdx = 63; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___33376); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___12566); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P25343.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__P4538.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__P25343_mk(s) { +function music_playNoteCore__P4538_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P25343, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P4538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___33376: undefined, + buf___12566: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13995,7 +13995,7 @@ function music_playNoteCore__P25343_mk(s) { -function music_addNote__P22441(s) { +function music_addNote__P1637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14063,12 +14063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P22441.info = {"start":10288,"length":911,"line":323,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P1637.info = {"start":10288,"length":911,"line":323,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P22441_mk(s) { +function music_addNote__P1637_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P22441, depth: s.depth + 1, + parent: s, fn: music_addNote__P1637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14089,7 +14089,7 @@ function music_addNote__P22441_mk(s) { -function music_setVolume__P22425(s) { +function music_setVolume__P1621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14103,7 +14103,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P20932_mk(s); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -14111,8 +14111,8 @@ switch (step) { s.callLocIdx = 59; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___25338 = (r0); - r0 = (globals.globalVolume___25338 > 0); + globals.globalVolume___4533 = (r0); + r0 = (globals.globalVolume___4533 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -14128,12 +14128,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P22425.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__P1621.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__P22425_mk(s) { +function music_setVolume__P1621_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P22425, depth: s.depth + 1, + parent: s, fn: music_setVolume__P1621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14144,7 +14144,7 @@ function music_setVolume__P22425_mk(s) { -function music_enableAmp__P25341(s) { +function music_enableAmp__P4536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14162,12 +14162,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P25341.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__P4536.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__P25341_mk(s) { +function music_enableAmp__P4536_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P25341, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P4536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14176,7 +14176,7 @@ function music_enableAmp__P25341_mk(s) { -function scene_systemMenu_volumeUp__P26065(s) { +function scene_systemMenu_volumeUp__P5260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14186,22 +14186,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___33290 = undefined; - s.remainder___33293 = undefined; - s.newVolume___33296 = undefined; - s.tmp_0 = music_volume__P22426_mk(s); + s.v___12480 = undefined; + s.remainder___12483 = undefined; + s.newVolume___12486 = undefined; + s.tmp_0 = music_volume__P1622_mk(s); s.callLocIdx = 1076; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___33290 = (r0); - r0 = (s.v___33290 % 32); - s.remainder___33293 = (r0); - r0 = (s.v___33290 + 32); + s.v___12480 = (r0); + r0 = (s.v___12480 % 32); + s.remainder___12483 = (r0); + r0 = (s.v___12480 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___33293); - s.newVolume___33296 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P26064_mk(s); - s.tmp_0.arg0 = s.newVolume___33296; + r0 = (s.tmp_0 - s.remainder___12483); + s.newVolume___12486 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P5259_mk(s); + s.tmp_0.arg0 = s.newVolume___12486; s.callLocIdx = 1077; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -14209,24 +14209,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P26065.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__P5260.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__P26065_mk(s) { +function scene_systemMenu_volumeUp__P5260_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P26065, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P5260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___33290: undefined, - remainder___33293: undefined, - newVolume___33296: undefined, + v___12480: undefined, + remainder___12483: undefined, + newVolume___12486: undefined, } } -function game_consoleOverlay_isVisible__P23946(s) { +function game_consoleOverlay_isVisible__P3142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14236,7 +14236,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___26106); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5301); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -14246,12 +14246,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P23946.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__P3142.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__P23946_mk(s) { +function game_consoleOverlay_isVisible__P3142_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P23946, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P3142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14262,7 +14262,7 @@ function game_consoleOverlay_isVisible__P23946_mk(s) { -function scene_systemMenu_closeMenu__P23924(s) { +function scene_systemMenu_closeMenu__P3120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14272,20 +14272,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___26060); + r0 = pxsim_numops_toBoolDecr(globals.instance___5255); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P23923_mk(s); - s.tmp_0.arg0 = globals.instance___26060; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P3119_mk(s); + s.tmp_0.arg0 = globals.instance___5255; s.callLocIdx = 1092; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___26060 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P23011_mk(s); + globals.instance___5255 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P2207_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1093; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P23826_mk(s); + s.tmp_0 = game_popScene__P3022_mk(s); s.callLocIdx = 1094; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -14295,12 +14295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P23924.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__P3120.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__P23924_mk(s) { +function scene_systemMenu_closeMenu__P3120_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P23924, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P3120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14309,7 +14309,7 @@ function scene_systemMenu_closeMenu__P23924_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P23923(s) { +function scene_systemMenu_PauseMenu_dispose__P3119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14324,15 +14324,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_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__P20914_mk(s); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P31619; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P10809; s.callLocIdx = 1069; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -14343,12 +14343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P23923.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__P3119.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__P23923_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P3119_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P23923, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P3119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14359,7 +14359,7 @@ function scene_systemMenu_PauseMenu_dispose__P23923_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P31619(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P10809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14373,7 +14373,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P23916_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P3112_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1068; s.pc = 1; return s.tmp_0; case 1: @@ -14382,12 +14382,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P31619.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__P10809.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__P31619_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P10809_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P31619, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P10809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14397,7 +14397,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P31619_mk(s) { -function scene_systemMenu_MenuOption_dispose__P23916(s) { +function scene_systemMenu_MenuOption_dispose__P3112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14412,12 +14412,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_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__P23233_mk(s); + s.tmp_1 = Sprite_destroy__P2429_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -14425,7 +14425,7 @@ switch (step) { s.callLocIdx = 988; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P23233_mk(s); + s.tmp_0 = Sprite_destroy__P2429_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -14441,12 +14441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P23916.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__P3112.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__P23916_mk(s) { +function scene_systemMenu_MenuOption_dispose__P3112_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P23916, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P3112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14457,7 +14457,7 @@ function scene_systemMenu_MenuOption_dispose__P23916_mk(s) { -function Sprite_destroy__P23233(s) { +function Sprite_destroy__P2429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14474,7 +14474,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -14492,7 +14492,7 @@ switch (step) { r0 = (s.tmp_2).fields["flags"] = (s.tmp_3); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_0 = effects_ParticleEffect_destroy__P24087_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P3283_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -14502,7 +14502,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P23234_mk(s); + s.tmp_0 = Sprite__destroyCore__P2430_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 432; s.pc = 7; return s.tmp_0; case 7: @@ -14513,12 +14513,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P23233.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P2429.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P23233_mk(s) { +function Sprite_destroy__P2429_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P23233, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P2429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14534,7 +14534,7 @@ function Sprite_destroy__P23233_mk(s) { -function effects_ParticleEffect_destroy__P24087(s) { +function effects_ParticleEffect_destroy__P3283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14552,15 +14552,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C24084_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P23224_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C3280_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P2420_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1253; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P24086_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P3282_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -14592,8 +14592,8 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P24114_mk(s); - s.tmp_0.arg0 = globals.dissolve___24117; + s.tmp_0 = effects_ImageEffect_applyTo__P3310_mk(s); + s.tmp_0.arg0 = globals.dissolve___3313; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1255; s.pc = 5; return s.tmp_0; case 5: @@ -14602,12 +14602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P24087.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__P3283.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__P24087_mk(s) { +function effects_ParticleEffect_destroy__P3283_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P24087, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P3283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14625,7 +14625,7 @@ function effects_ParticleEffect_destroy__P24087_mk(s) { -function dissolve_inline__P31764(s) { +function dissolve_inline__P10954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14635,11 +14635,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___31767 = undefined; - s.x___31778 = undefined; - s.y___31784 = undefined; - s.w___31790 = undefined; - s.h___31794 = undefined; + s.i___10957 = undefined; + s.x___10968 = undefined; + s.y___10974 = undefined; + s.w___10980 = undefined; + s.h___10984 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14652,13 +14652,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___31767 = (r0); + s.i___10957 = (r0); case 1: - r0 = (s.i___31767 > 0); + r0 = (s.i___10957 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P23885_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -14666,8 +14666,8 @@ switch (step) { s.callLocIdx = 52; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___31778 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P23885_mk(s); + s.x___10968 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -14675,56 +14675,56 @@ switch (step) { s.callLocIdx = 53; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___31784 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P23885_mk(s); + s.y___10974 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___31790 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P23885_mk(s); + s.w___10980 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___31794 = (r0); - s.tmp_0 = helpers_imageDrawRect__P22764_mk(s); + s.h___10984 = (r0); + s.tmp_0 = helpers_imageDrawRect__P1960_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___31778; - s.tmp_0.arg2 = s.y___31784; - s.tmp_0.arg3 = s.w___31790; - s.tmp_0.arg4 = s.h___31794; + s.tmp_0.arg1 = s.x___10968; + s.tmp_0.arg2 = s.y___10974; + s.tmp_0.arg3 = s.w___10980; + s.tmp_0.arg4 = s.h___10984; s.tmp_0.arg5 = 0; s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___31767 - 1); - s.i___31767 = (r0); + r0 = (s.i___10957 - 1); + s.i___10957 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P31764.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__P10954.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__P31764_mk(s) { +function dissolve_inline__P10954_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P31764, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P10954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___31767: undefined, - x___31778: undefined, - y___31784: undefined, - w___31790: undefined, - h___31794: undefined, + i___10957: undefined, + x___10968: undefined, + y___10974: undefined, + w___10980: undefined, + h___10984: undefined, arg0: undefined, arg1: undefined, } } @@ -14733,7 +14733,7 @@ function dissolve_inline__P31764_mk(s) { -function helpers_imageDrawRect__P22764(s) { +function helpers_imageDrawRect__P1960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14772,7 +14772,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P22763_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1959_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -14783,7 +14783,7 @@ switch (step) { s.callLocIdx = 83; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P22763_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1959_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -14794,7 +14794,7 @@ switch (step) { s.callLocIdx = 84; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P22763_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1959_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -14807,7 +14807,7 @@ switch (step) { s.callLocIdx = 85; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P22763_mk(s); + s.tmp_0 = helpers_imageDrawLine__P1959_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -14825,12 +14825,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P22764.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P1960.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P22764_mk(s) { +function helpers_imageDrawRect__P1960_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P22764, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P1960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14846,7 +14846,7 @@ function helpers_imageDrawRect__P22764_mk(s) { -function helpers_imageDrawLine__P22763(s) { +function helpers_imageDrawLine__P1959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14866,14 +14866,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P25444_mk(s); + s.tmp_2 = helpers_pack__P4639_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 81; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P25444_mk(s); + s.tmp_4 = helpers_pack__P4639_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 82; s.pc = 2; return s.tmp_4; @@ -14885,12 +14885,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P22763.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P1959.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P22763_mk(s) { +function helpers_imageDrawLine__P1959_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P22763, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P1959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14909,7 +14909,7 @@ function helpers_imageDrawLine__P22763_mk(s) { -function Math_FastRandom_randomRange__P23885(s) { +function Math_FastRandom_randomRange__P3081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14926,12 +14926,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C23881_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C3077_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__P23884_mk(s); + s.tmp_2 = Math_FastRandom_next__P3080_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 970; s.pc = 3; return s.tmp_2; case 3: @@ -14952,12 +14952,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P23885.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__P3081.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__P23885_mk(s) { +function Math_FastRandom_randomRange__P3081_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P23885, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P3081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14974,7 +14974,7 @@ function Math_FastRandom_randomRange__P23885_mk(s) { -function Math_FastRandom_next__P23884(s) { +function Math_FastRandom_next__P3080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14989,7 +14989,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C23881_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C3077_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -15010,12 +15010,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P23884.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__P3080.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__P23884_mk(s) { +function Math_FastRandom_next__P3080_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P23884, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P3080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15032,7 +15032,7 @@ function Math_FastRandom_next__P23884_mk(s) { -function effects_ImageEffect_constructor__P24113(s) { +function effects_ImageEffect_constructor__P3309(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15049,11 +15049,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C24112_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C3308_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23881_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3077_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P23883_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P3079_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1263; s.pc = 1; return s.tmp_1; @@ -15066,12 +15066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P24113.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__P3309.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__P24113_mk(s) { +function effects_ImageEffect_constructor__P3309_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P24113, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P3309, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15084,7 +15084,7 @@ function effects_ImageEffect_constructor__P24113_mk(s) { -function effects_ImageEffect_applyTo__P24114(s) { +function effects_ImageEffect_applyTo__P3310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15094,14 +15094,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___31943 = undefined; + s.clonedImage___11133 = 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__C24112_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C3308_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -15127,16 +15127,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___31943 = (r0); - s.tmp_0 = effects_ImageEffect_change__P24115_mk(s); + s.clonedImage___11133 = (r0); + s.tmp_0 = effects_ImageEffect_change__P3311_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___31943; + s.tmp_0.arg1 = s.clonedImage___11133; s.callLocIdx = 1266; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P23196_mk(s); + s.tmp_0 = Sprite_setImage__P2392_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___31943; + s.tmp_0.arg1 = s.clonedImage___11133; s.callLocIdx = 1267; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -15145,12 +15145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P24114.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__P3310.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__P24114_mk(s) { +function effects_ImageEffect_applyTo__P3310_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P24114, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P3310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15158,7 +15158,7 @@ function effects_ImageEffect_applyTo__P24114_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___31943: undefined, + clonedImage___11133: undefined, arg0: undefined, arg1: undefined, } } @@ -15167,7 +15167,7 @@ function effects_ImageEffect_applyTo__P24114_mk(s) { -function effects_ImageEffect_change__P24115(s) { +function effects_ImageEffect_change__P3311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15183,7 +15183,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C24112_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C3308_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -15204,12 +15204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P24115.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__P3311.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__P24115_mk(s) { +function effects_ImageEffect_change__P3311_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P24115, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P3311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15220,7 +15220,7 @@ function effects_ImageEffect_change__P24115_mk(s) { -function Sprite_setImage__P23196(s) { +function Sprite_setImage__P2392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15236,7 +15236,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -15258,9 +15258,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C23146_v5_1_mk(s); + s.tmp_0 = Sprite__C2342_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C23146_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C2342_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: @@ -15270,12 +15270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P23196.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__P2392.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__P23196_mk(s) { +function Sprite_setImage__P2392_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P23196, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P2392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15289,7 +15289,7 @@ function Sprite_setImage__P23196_mk(s) { -function Sprite_recalcSize__P25615(s) { +function Sprite_recalcSize__P4810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15304,13 +15304,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23175_mk(s); + s.tmp_6 = Sprite_sx__P2371_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 343; s.pc = 1; return s.tmp_6; case 1: @@ -15328,7 +15328,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P23177_mk(s); + s.tmp_6 = Sprite_sy__P2373_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 345; s.pc = 2; return s.tmp_6; case 2: @@ -15341,7 +15341,7 @@ 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__P23198_mk(s); + s.tmp_0 = Sprite_resetHitbox__P2394_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 347; s.pc = 3; return s.tmp_0; case 3: @@ -15350,12 +15350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P25615.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__P4810.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__P25615_mk(s) { +function Sprite_recalcSize__P4810_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P25615, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P4810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15372,7 +15372,7 @@ function Sprite_recalcSize__P25615_mk(s) { -function Sprite_resetHitbox__P23198(s) { +function Sprite_resetHitbox__P2394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15387,11 +15387,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C23146_v4_1_mk(s); + s.tmp_0 = Sprite__C2342_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C23146_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C2342_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: @@ -15400,12 +15400,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P23198.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__P2394.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__P23198_mk(s) { +function Sprite_resetHitbox__P2394_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P23198, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P2394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15415,7 +15415,7 @@ function Sprite_resetHitbox__P23198_mk(s) { -function Sprite_setHitbox__P23199(s) { +function Sprite_setHitbox__P2395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15430,12 +15430,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23027_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P2223_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 341; s.pc = 3; return s.tmp_1; @@ -15444,7 +15444,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P23029_mk(s); + s.tmp_2 = game_calculateHitBox__P2225_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 342; s.pc = 4; return s.tmp_2; case 4: @@ -15456,12 +15456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P23199.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__P2395.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__P23199_mk(s) { +function Sprite_setHitbox__P2395_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P23199, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P2395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15473,7 +15473,7 @@ function Sprite_setHitbox__P23199_mk(s) { -function game_calculateHitBox__P23029(s) { +function game_calculateHitBox__P2225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15483,17 +15483,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___32008 = undefined; - s.minX___32011 = undefined; - s.minY___32015 = undefined; - s.maxX___32019 = undefined; - s.maxY___32021 = undefined; - s.c___32023 = undefined; - s.fxc___32024 = undefined; - s.r___32031 = undefined; - s.fxr___32032 = undefined; - s.width___32096 = undefined; - s.height___32104 = undefined; + s.i___11198 = undefined; + s.minX___11201 = undefined; + s.minY___11205 = undefined; + s.maxX___11209 = undefined; + s.maxY___11211 = undefined; + s.c___11213 = undefined; + s.fxc___11214 = undefined; + s.r___11221 = undefined; + s.fxr___11222 = undefined; + s.width___11286 = undefined; + s.height___11294 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15505,7 +15505,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P23025_mk(s); + s.tmp_1 = game_Hitbox_isValid__P2221_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 275; s.pc = 12; return s.tmp_1; @@ -15521,137 +15521,137 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___32008 = (r0); - r0 = pxsim_ImageMethods.width(s.i___32008); + s.i___11198 = (r0); + r0 = pxsim_ImageMethods.width(s.i___11198); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___32011 = (r0); - r0 = pxsim_ImageMethods.height(s.i___32008); + s.minX___11201 = (r0); + r0 = pxsim_ImageMethods.height(s.i___11198); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___32015 = (r0); - s.maxX___32019 = (0); - s.maxY___32021 = (0); - s.c___32023 = (0); - s.fxc___32024 = (0); + s.minY___11205 = (r0); + s.maxX___11209 = (0); + s.maxY___11211 = (0); + s.c___11213 = (0); + s.fxc___11214 = (0); case 5: - s.tmp_1 = r0 = s.c___32023; - r0 = pxsim_ImageMethods.width(s.i___32008); + s.tmp_1 = r0 = s.c___11213; + r0 = pxsim_ImageMethods.width(s.i___11198); 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___32031 = (0); - s.fxr___32032 = (0); + s.r___11221 = (0); + s.fxr___11222 = (0); case 6: - s.tmp_1 = r0 = s.r___32031; - r0 = pxsim_ImageMethods.height(s.i___32008); + s.tmp_1 = r0 = s.r___11221; + r0 = pxsim_ImageMethods.height(s.i___11198); 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___32008, s.c___32023, s.r___32031); + r0 = pxsim_ImageMethods.getPixel(s.i___11198, s.c___11213, s.r___11221); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Fx_min__P20971_mk(s); - s.tmp_4.arg0 = s.minX___32011; - s.tmp_4.arg1 = s.fxc___32024; + s.tmp_4 = Fx_min__P166_mk(s); + s.tmp_4.arg0 = s.minX___11201; + s.tmp_4.arg1 = s.fxc___11214; s.callLocIdx = 279; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___32011 = (r0); - s.tmp_0 = Fx_min__P20971_mk(s); - s.tmp_0.arg0 = s.minY___32015; - s.tmp_0.arg1 = s.fxr___32032; + s.minX___11201 = (r0); + s.tmp_0 = Fx_min__P166_mk(s); + s.tmp_0.arg0 = s.minY___11205; + s.tmp_0.arg1 = s.fxr___11222; s.callLocIdx = 280; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___32015 = (r0); - s.tmp_0 = Fx_max__P20972_mk(s); - s.tmp_0.arg0 = s.maxX___32019; - s.tmp_0.arg1 = s.fxc___32024; + s.minY___11205 = (r0); + s.tmp_0 = Fx_max__P167_mk(s); + s.tmp_0.arg0 = s.maxX___11209; + s.tmp_0.arg1 = s.fxc___11214; s.callLocIdx = 281; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___32019 = (r0); - s.tmp_0 = Fx_max__P20972_mk(s); - s.tmp_0.arg0 = s.maxY___32021; - s.tmp_0.arg1 = s.fxr___32032; + s.maxX___11209 = (r0); + s.tmp_0 = Fx_max__P167_mk(s); + s.tmp_0.arg0 = s.maxY___11211; + s.tmp_0.arg1 = s.fxr___11222; s.callLocIdx = 282; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___32021 = (r0); + s.maxY___11211 = (r0); case 7: case 8: - r0 = (s.r___32031 + 1); - s.r___32031 = (r0); - r0 = (s.fxr___32032 + 256); + r0 = (s.r___11221 + 1); + s.r___11221 = (r0); + r0 = (s.fxr___11222 + 256); s.tmp_0 = r0; - s.fxr___32032 = (r0); + s.fxr___11222 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___32023 + 1); - s.c___32023 = (r0); - r0 = (s.fxc___32024 + 256); + r0 = (s.c___11213 + 1); + s.c___11213 = (r0); + r0 = (s.fxc___11214 + 256); s.tmp_0 = r0; - s.fxc___32024 = (r0); + s.fxc___11214 = (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___32011, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___11201, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___32011 = (r0); + s.minX___11201 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___32015, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___11205, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___32015 = (r0); + s.minY___11205 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___32019, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___11209, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___32019 = (r0); + s.maxX___11209 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___32021, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___11211, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___32021 = (r0); - r0 = (s.maxX___32019 - s.minX___32011); + s.maxY___11211 = (r0); + r0 = (s.maxX___11209 - s.minX___11201); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___32096 = (r0); - r0 = (s.maxY___32021 - s.minY___32015); + s.width___11286 = (r0); + r0 = (s.maxY___11211 - s.minY___11205); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___32104 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C23013_VT); + s.height___11294 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C2209_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P23020_mk(s); + s.tmp_1 = game_Hitbox_constructor__P2216_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___32096; - s.tmp_1.arg3 = s.height___32104; - r0 = (s.minX___32011 & -256); + s.tmp_1.arg2 = s.width___11286; + s.tmp_1.arg3 = s.height___11294; + r0 = (s.minX___11201 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___32015 & -256); + r0 = (s.minY___11205 & -256); s.tmp_1.arg5 = r0; s.callLocIdx = 295; s.pc = 17; return s.tmp_1; case 17: @@ -15661,29 +15661,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P23029.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__P2225.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__P23029_mk(s) { +function game_calculateHitBox__P2225_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P23029, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P2225, 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___32008: undefined, - minX___32011: undefined, - minY___32015: undefined, - maxX___32019: undefined, - maxY___32021: undefined, - c___32023: undefined, - fxc___32024: undefined, - r___32031: undefined, - fxr___32032: undefined, - width___32096: undefined, - height___32104: undefined, + i___11198: undefined, + minX___11201: undefined, + minY___11205: undefined, + maxX___11209: undefined, + maxY___11211: undefined, + c___11213: undefined, + fxc___11214: undefined, + r___11221: undefined, + fxr___11222: undefined, + width___11286: undefined, + height___11294: undefined, arg0: undefined, } } @@ -15691,7 +15691,7 @@ function game_calculateHitBox__P23029_mk(s) { -function game_Hitbox_isValid__P23025(s) { +function game_Hitbox_isValid__P2221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15706,10 +15706,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P23197_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P2393_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 228; s.pc = 1; return s.tmp_2; @@ -15720,12 +15720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P23025.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__P2221.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__P23025_mk(s) { +function game_Hitbox_isValid__P2221_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P23025, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P2221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15737,7 +15737,7 @@ function game_Hitbox_isValid__P23025_mk(s) { -function Sprite_calcDimensionalHash__P23197(s) { +function Sprite_calcDimensionalHash__P2393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15752,7 +15752,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -15775,12 +15775,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P23197.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__P2393.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__P23197_mk(s) { +function Sprite_calcDimensionalHash__P2393_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P23197, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P2393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15798,7 +15798,7 @@ function Sprite_calcDimensionalHash__P23197_mk(s) { -function Fx_toIntShifted__P20961(s) { +function Fx_toIntShifted__P156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15820,12 +15820,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P20961.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} +Fx_toIntShifted__P156.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} -function Fx_toIntShifted__P20961_mk(s) { +function Fx_toIntShifted__P156_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P20961, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15837,7 +15837,7 @@ function Fx_toIntShifted__P20961_mk(s) { -function game_Hitbox_constructor__P23020(s) { +function game_Hitbox_constructor__P2216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15857,9 +15857,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P23197_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P2393_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 219; s.pc = 1; return s.tmp_2; case 1: @@ -15875,12 +15875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P23020.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__P2216.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__P23020_mk(s) { +function game_Hitbox_constructor__P2216_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P23020, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P2216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15897,7 +15897,7 @@ function game_Hitbox_constructor__P23020_mk(s) { -function Fx_floor__P20973(s) { +function Fx_floor__P168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15915,12 +15915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_floor__P20973.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__P168.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__P20973_mk(s) { +function Fx_floor__P168_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P20973, depth: s.depth + 1, + parent: s, fn: Fx_floor__P168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15929,7 +15929,7 @@ function Fx_floor__P20973_mk(s) { -function Fx_max__P20972(s) { +function Fx_max__P167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15960,12 +15960,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P20972.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} +Fx_max__P167.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} -function Fx_max__P20972_mk(s) { +function Fx_max__P167_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P20972, depth: s.depth + 1, + parent: s, fn: Fx_max__P167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15976,7 +15976,7 @@ function Fx_max__P20972_mk(s) { -function Fx_min__P20971(s) { +function Fx_min__P166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16007,12 +16007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P20971.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} +Fx_min__P166.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} -function Fx_min__P20971_mk(s) { +function Fx_min__P166_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P20971, depth: s.depth + 1, + parent: s, fn: Fx_min__P166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16023,7 +16023,7 @@ function Fx_min__P20971_mk(s) { -function Fx_mul__P20965(s) { +function Fx_mul__P160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16044,12 +16044,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P20965.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} +Fx_mul__P160.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} -function Fx_mul__P20965_mk(s) { +function Fx_mul__P160_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P20965, depth: s.depth + 1, + parent: s, fn: Fx_mul__P160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16060,7 +16060,7 @@ function Fx_mul__P20965_mk(s) { -function Fx_sub__P20964(s) { +function Fx_sub__P159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16079,12 +16079,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P20964.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} +Fx_sub__P159.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} -function Fx_sub__P20964_mk(s) { +function Fx_sub__P159_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P20964, depth: s.depth + 1, + parent: s, fn: Fx_sub__P159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16094,7 +16094,7 @@ function Fx_sub__P20964_mk(s) { -function game_Hitbox_updateIfInvalid__P23027(s) { +function game_Hitbox_updateIfInvalid__P2223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16104,24 +16104,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___32205 = undefined; - s.oMinX___32210 = undefined; - s.oMinY___32213 = undefined; - s.oMaxX___32216 = undefined; - s.oMaxY___32222 = undefined; - s.nMinX___32228 = undefined; - s.nMinY___32231 = undefined; - s.nMaxX___32234 = undefined; - s.nMaxY___32240 = undefined; - s.xDiff___32246 = undefined; - s.yDiff___32257 = undefined; + s.newHitBox___11395 = undefined; + s.oMinX___11400 = undefined; + s.oMinY___11403 = undefined; + s.oMaxX___11406 = undefined; + s.oMaxY___11412 = undefined; + s.nMinX___11418 = undefined; + s.nMinY___11421 = undefined; + s.nMaxX___11424 = undefined; + s.nMaxY___11430 = undefined; + s.xDiff___11436 = undefined; + s.yDiff___11447 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P23025_mk(s); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P2221_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 233; s.pc = 8; return s.tmp_1; case 8: @@ -16132,90 +16132,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P23029_mk(s); + s.tmp_2 = game_calculateHitBox__P2225_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 234; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___32205 = (r0); + s.newHitBox___11395 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___32210 = (r0); + s.oMinX___11400 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___32213 = (r0); + s.oMinY___11403 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___32210 + s.tmp_0); - s.oMaxX___32216 = (r0); + r0 = (s.oMinX___11400 + s.tmp_0); + s.oMaxX___11406 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___32213 + s.tmp_0); - s.oMaxY___32222 = (r0); - r0 = s.newHitBox___32205.fields["ox"]; - s.nMinX___32228 = (r0); - r0 = s.newHitBox___32205.fields["oy"]; - s.nMinY___32231 = (r0); - r0 = s.newHitBox___32205.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___32228 + s.tmp_0); - s.nMaxX___32234 = (r0); - r0 = s.newHitBox___32205.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___32231 + s.tmp_0); - s.nMaxY___32240 = (r0); - s.tmp_1 = Fx_abs__P20970_mk(s); - r0 = (s.oMinX___32210 - s.nMinX___32228); + r0 = (s.oMinY___11403 + s.tmp_0); + s.oMaxY___11412 = (r0); + r0 = s.newHitBox___11395.fields["ox"]; + s.nMinX___11418 = (r0); + r0 = s.newHitBox___11395.fields["oy"]; + s.nMinY___11421 = (r0); + r0 = s.newHitBox___11395.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___11418 + s.tmp_0); + s.nMaxX___11424 = (r0); + r0 = s.newHitBox___11395.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___11421 + s.tmp_0); + s.nMaxY___11430 = (r0); + s.tmp_1 = Fx_abs__P165_mk(s); + r0 = (s.oMinX___11400 - s.nMinX___11418); s.tmp_1.arg0 = r0; s.callLocIdx = 240; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P20970_mk(s); - r0 = (s.oMaxX___32216 - s.nMaxX___32234); + s.tmp_3 = Fx_abs__P165_mk(s); + r0 = (s.oMaxX___11406 - s.nMaxX___11424); s.tmp_3.arg0 = r0; s.callLocIdx = 242; 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___32246 = (r0); - s.tmp_1 = Fx_abs__P20970_mk(s); - r0 = (s.oMinY___32213 - s.nMinY___32231); + s.xDiff___11436 = (r0); + s.tmp_1 = Fx_abs__P165_mk(s); + r0 = (s.oMinY___11403 - s.nMinY___11421); s.tmp_1.arg0 = r0; s.callLocIdx = 245; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P20970_mk(s); - r0 = (s.oMaxY___32222 - s.nMaxY___32240); + s.tmp_3 = Fx_abs__P165_mk(s); + r0 = (s.oMaxY___11412 - s.nMaxY___11430); s.tmp_3.arg0 = r0; s.callLocIdx = 247; 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___32257 = (r0); - r0 = (s.xDiff___32246 > 512); + s.yDiff___11447 = (r0); + r0 = (s.xDiff___11436 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___32228); - r0 = s.newHitBox___32205.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___11418); + r0 = s.newHitBox___11395.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___32257 > 512); + r0 = (s.yDiff___11447 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___32231); - r0 = s.newHitBox___32205.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___11421); + r0 = s.newHitBox___11395.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___32205.fields["hash"]; + r0 = s.newHitBox___11395.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -16223,28 +16223,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P23027.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__P2223.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__P23027_mk(s) { +function game_Hitbox_updateIfInvalid__P2223_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P23027, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P2223, 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___32205: undefined, - oMinX___32210: undefined, - oMinY___32213: undefined, - oMaxX___32216: undefined, - oMaxY___32222: undefined, - nMinX___32228: undefined, - nMinY___32231: undefined, - nMaxX___32234: undefined, - nMaxY___32240: undefined, - xDiff___32246: undefined, - yDiff___32257: undefined, + newHitBox___11395: undefined, + oMinX___11400: undefined, + oMinY___11403: undefined, + oMaxX___11406: undefined, + oMaxY___11412: undefined, + nMinX___11418: undefined, + nMinY___11421: undefined, + nMaxX___11424: undefined, + nMaxY___11430: undefined, + xDiff___11436: undefined, + yDiff___11447: undefined, arg0: undefined, } } @@ -16252,7 +16252,7 @@ function game_Hitbox_updateIfInvalid__P23027_mk(s) { -function Fx_abs__P20970(s) { +function Fx_abs__P165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16282,12 +16282,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P20970.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} +Fx_abs__P165.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} -function Fx_abs__P20970_mk(s) { +function Fx_abs__P165_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P20970, depth: s.depth + 1, + parent: s, fn: Fx_abs__P165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16297,7 +16297,7 @@ function Fx_abs__P20970_mk(s) { -function Sprite_sy__P23177(s) { +function Sprite_sy__P2373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16312,20 +16312,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23177.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__P23177.isGetter = true; +Sprite_sy__P2373.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__P2373.isGetter = true; -function Sprite_sy__P23177_mk(s) { +function Sprite_sy__P2373_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P23177, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P2373, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16335,7 +16335,7 @@ function Sprite_sy__P23177_mk(s) { -function Sprite_sx__P23175(s) { +function Sprite_sx__P2371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16350,20 +16350,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23175.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__P23175.isGetter = true; +Sprite_sx__P2371.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__P2371.isGetter = true; -function Sprite_sx__P23175_mk(s) { +function Sprite_sx__P2371_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P23175, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P2371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16373,7 +16373,7 @@ function Sprite_sx__P23175_mk(s) { -function Sprite_image__P23195(s) { +function Sprite_image__P2391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16388,18 +16388,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P23195.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__P23195.isGetter = true; +Sprite_image__P2391.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__P2391.isGetter = true; -function Sprite_image__P23195_mk(s) { +function Sprite_image__P2391_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P23195, depth: s.depth + 1, + parent: s, fn: Sprite_image__P2391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16408,7 +16408,7 @@ function Sprite_image__P23195_mk(s) { -function effects_ParticleEffect_start__P24086(s) { +function effects_ParticleEffect_start__P3282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16418,7 +16418,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___32326 = undefined; + s.src___11516 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16428,7 +16428,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C24084_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C3280_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -16464,9 +16464,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___32326 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P23984_mk(s); - s.tmp_0.arg0 = s.src___32326; + s.src___11516 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P3180_mk(s); + s.tmp_0.arg0 = s.src___11516; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -16491,7 +16491,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___32326).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___11516).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -16499,19 +16499,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P24086.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__P3282.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__P24086_mk(s) { +function effects_ParticleEffect_start__P3282_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P24086, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P3282, 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___32326: undefined, + src___11516: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16523,7 +16523,7 @@ function effects_ParticleEffect_start__P24086_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P23984(s) { +function particles_ParticleSource_setRelativeToCamera__P3180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16539,7 +16539,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -16565,12 +16565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P23984.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__P3180.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__P23984_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P3180_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P23984, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P3180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16585,7 +16585,7 @@ function particles_ParticleSource_setRelativeToCamera__P23984_mk(s) { -function Sprite_setFlag__P23224(s) { +function Sprite_setFlag__P2420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16602,7 +16602,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -16628,12 +16628,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P23224.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__P2420.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__P23224_mk(s) { +function Sprite_setFlag__P2420_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P23224, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P2420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16649,7 +16649,7 @@ function Sprite_setFlag__P23224_mk(s) { -function Sprite__destroyCore__P23234(s) { +function Sprite__destroyCore__P2430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16659,25 +16659,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31669 = undefined; + s.scene___10859 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23821_mk(s); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 433; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___31669 = (r0); - r0 = s.scene___31669.fields["allSprites"]; + s.scene___10859 = (r0); + r0 = s.scene___10859.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -16689,7 +16689,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___31669.fields["spritesByKind"]; + r0 = s.scene___10859.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -16699,8 +16699,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P23275_mk(s); - r0 = s.scene___31669.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P2471_mk(s); + r0 = s.scene___10859.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -16712,11 +16712,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C23316_v1_2_mk(s); - r0 = s.scene___31669.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2512_v1_2_mk(s); + r0 = s.scene___10859.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C23316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_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: @@ -16740,15 +16740,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P31698); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P10888); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P31705); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P10895); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P20914_mk(s); - s.tmp_3 = helpers_arrayFilter__P20915_mk(s); - r0 = s.scene___31669.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + r0 = s.scene___10859.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 440; s.pc = 12; return s.tmp_3; @@ -16763,12 +16763,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P23234.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P2430.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P23234_mk(s) { +function Sprite__destroyCore__P2430_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P23234, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P2430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16778,7 +16778,7 @@ function Sprite__destroyCore__P23234_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___31669: undefined, + scene___10859: undefined, arg0: undefined, } } @@ -16786,7 +16786,7 @@ function Sprite__destroyCore__P23234_mk(s) { -function forEach_inline__P31698(s) { +function forEach_inline__P10888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16808,12 +16808,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P31698.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P10888.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P31698_mk(s) { +function forEach_inline__P10888_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P31698, depth: s.depth + 1, + parent: s, fn: forEach_inline__P10888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16824,7 +16824,7 @@ function forEach_inline__P31698_mk(s) { -function Sprite__destroyCore_inline__P31705(s) { +function Sprite__destroyCore_inline__P10895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16856,12 +16856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P31705.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P10895.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P31705_mk(s) { +function Sprite__destroyCore_inline__P10895_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P31705, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P10895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16871,7 +16871,7 @@ function Sprite__destroyCore_inline__P31705_mk(s) { -function PhysicsEngine_removeSprite__P23319(s) { +function PhysicsEngine_removeSprite__P2515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16887,17 +16887,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C23316_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2512_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P23319.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__P2515.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__P23319_mk(s) { +function PhysicsEngine_removeSprite__P2515_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P23319, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P2515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16907,7 +16907,7 @@ function PhysicsEngine_removeSprite__P23319_mk(s) { -function sprites_SpriteSet_remove__P23275(s) { +function sprites_SpriteSet_remove__P2471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16917,26 +16917,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___31714 = undefined; + s.i___10904 = 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__C23268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2464_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___31714 = (r0); - r0 = (s.i___31714 > -1); + s.i___10904 = (r0); + r0 = (s.i___10904 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P20905_mk(s); + s.tmp_1 = helpers_arraySplice__P100_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___31714; + s.tmp_1.arg1 = s.i___10904; s.tmp_1.arg2 = 1; s.callLocIdx = 516; s.pc = 4; return s.tmp_1; case 4: @@ -16950,16 +16950,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P23275.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__P2471.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__P23275_mk(s) { +function sprites_SpriteSet_remove__P2471_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P23275, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P2471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___31714: undefined, + i___10904: undefined, arg0: undefined, arg1: undefined, } } @@ -16968,7 +16968,7 @@ function sprites_SpriteSet_remove__P23275_mk(s) { -function Sprite_kind__P23212(s) { +function Sprite_kind__P2408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16983,17 +16983,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P23212.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__P2408.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__P23212_mk(s) { +function Sprite_kind__P2408_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P23212, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P2408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17002,7 +17002,7 @@ function Sprite_kind__P23212_mk(s) { -function game_popScene__P23826(s) { +function game_popScene__P3022(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17012,57 +17012,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___31380 = undefined; - s.tmp_0 = game_currentScene__P23821_mk(s); + s.oldScene___10570 = undefined; + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 955; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___31380 = (r0); - s.tmp_0 = r0 = globals._sceneStack___25808; + s.oldScene___10570 = (r0); + s.tmp_0 = r0 = globals._sceneStack___5003; 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___25808); + r0 = pxsim_Array__length(globals._sceneStack___5003); 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___25808); - globals._scene___25807 = (r0); - s.tmp_0 = control_popEventContext__P21215_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___5003); + globals._scene___5002 = (r0); + s.tmp_0 = control_popEventContext__P410_mk(s); s.callLocIdx = 956; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___25807); + r0 = pxsim_numops_toBoolDecr(globals._scene___5002); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P21215_mk(s); + s.tmp_0 = control_popEventContext__P410_mk(s); s.callLocIdx = 957; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___25807 = (undefined); + globals._scene___5002 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___25807); + r0 = pxsim_numops_toBoolDecr(globals._scene___5002); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P24005_mk(s); + s.tmp_0 = particles_enableAll__P3201_mk(s); s.callLocIdx = 958; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___25810); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5005); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P31401); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P10591); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___31380); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___25810; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___10570); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___5005; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 960; s.pc = 15; return s.tmp_1; case 15: @@ -17073,23 +17073,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P23826.info = {"start":5778,"length":548,"line":185,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P3022.info = {"start":5778,"length":548,"line":185,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P23826_mk(s) { +function game_popScene__P3022_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P23826, depth: s.depth + 1, + parent: s, fn: game_popScene__P3022, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___31380: undefined, + oldScene___10570: undefined, } } -function game_popScene_inline__P31401(s) { +function game_popScene_inline__P10591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17114,12 +17114,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene_inline__P31401.info = {"start":6290,"length":18,"line":201,"column":38,"endLine":201,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P10591.info = {"start":6290,"length":18,"line":201,"column":38,"endLine":201,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P31401_mk(s) { +function game_popScene_inline__P10591_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P31401, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P10591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17129,7 +17129,7 @@ function game_popScene_inline__P31401_mk(s) { -function particles_enableAll__P24005(s) { +function particles_enableAll__P3201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17139,21 +17139,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___31405 = undefined; - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.sources___10595 = undefined; + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1197; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___31405 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___31405); + s.sources___10595 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___10595); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P20914_mk(s); - s.tmp_0.arg0 = s.sources___31405; - s.tmp_0.arg1 = particles_enableAll_inline__P31411; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_0.arg0 = s.sources___10595; + s.tmp_0.arg1 = particles_enableAll_inline__P10601; s.callLocIdx = 1199; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P26153_mk(s); + s.tmp_0 = particles_pruneParticles__P5348_mk(s); s.callLocIdx = 1200; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -17163,22 +17163,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P24005.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P3201.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__P24005_mk(s) { +function particles_enableAll__P3201_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P24005, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P3201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___31405: undefined, + sources___10595: undefined, } } -function particles_enableAll_inline__P31411(s) { +function particles_enableAll_inline__P10601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17192,7 +17192,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P23986_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1198; s.pc = 1; return s.tmp_0; @@ -17202,12 +17202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P31411.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__P10601.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__P31411_mk(s) { +function particles_enableAll_inline__P10601_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P31411, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P10601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17217,7 +17217,7 @@ function particles_enableAll_inline__P31411_mk(s) { -function particles_particleSources__P26157(s) { +function particles_particleSources__P5352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17227,33 +17227,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___31579 = undefined; - s.tmp_0 = game_currentScene__P23821_mk(s); + s.sources___10769 = undefined; + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 1201; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___31579 = (r0); - r0 = s.sources___31579; + s.sources___10769 = (r0); + r0 = s.sources___10769; return leave(s, r0) default: oops() } } } -particles_particleSources__P26157.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P5352.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__P26157_mk(s) { +function particles_particleSources__P5352_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P26157, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P5352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___31579: undefined, + sources___10769: undefined, } } -function particles_pruneParticles__P26153(s) { +function particles_pruneParticles__P5348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17263,25 +17263,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___31416 = undefined; - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.sources___10606 = undefined; + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1184; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___31416 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___31416); + s.sources___10606 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___10606); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P20914_mk(s); - s.tmp_1 = helpers_arraySlice__P20920_mk(s); - s.tmp_1.arg0 = s.sources___31416; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arraySlice__P115_mk(s); + s.tmp_1.arg0 = s.sources___10606; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___31416); + r0 = pxsim_Array__length(s.sources___10606); s.tmp_1.arg2 = r0; s.callLocIdx = 1185; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P31425; + s.tmp_0.arg1 = particles_pruneParticles_inline__P10615; s.callLocIdx = 1187; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -17291,23 +17291,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P26153.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P5348.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__P26153_mk(s) { +function particles_pruneParticles__P5348_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P26153, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P5348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___31416: undefined, + sources___10606: undefined, } } -function particles_pruneParticles_inline__P31425(s) { +function particles_pruneParticles_inline__P10615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17321,7 +17321,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P23981_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P3177_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1186; s.pc = 1; return s.tmp_0; case 1: @@ -17330,12 +17330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P31425.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__P10615.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__P31425_mk(s) { +function particles_pruneParticles_inline__P10615_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P31425, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P10615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17345,7 +17345,7 @@ function particles_pruneParticles_inline__P31425_mk(s) { -function particles_ParticleSource__prune__P23981(s) { +function particles_ParticleSource__prune__P3177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17355,15 +17355,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31455 = undefined; - s.sources___31463 = undefined; - s.current___31477 = undefined; + s.scene___10645 = undefined; + s.sources___10653 = undefined; + s.current___10667 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -17406,36 +17406,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P23821_mk(s); + s.tmp_5 = game_currentScene__P3017_mk(s); s.callLocIdx = 1159; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___31455 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___31455); + s.scene___10645 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___10645); if (!r0) { step = 7; continue; } - r0 = s.scene___31455.fields["allSprites"]; + r0 = s.scene___10645.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1160; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___31463 = (r0); - s.tmp_0 = r0 = s.sources___31463; + s.sources___10653 = (r0); + s.tmp_0 = r0 = s.sources___10653; 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___31463); + r0 = pxsim_Array__length(s.sources___10653); 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___31463, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___10653, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -17444,35 +17444,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___31477 = (r0); + s.current___10667 = (r0); case 15: - s.tmp_0 = r0 = s.current___31477; + s.tmp_0 = r0 = s.current___10667; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___31477.fields["next"]; + r0 = s.current___10667.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___31477.fields["next"]; + r0 = s.current___10667.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___31477.fields["next"]; + r0 = s.current___10667.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___31477).fields["next"] = (s.tmp_4); + r0 = (s.current___10667).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___31477.fields["next"]; - s.current___31477 = (r0); + r0 = s.current___10667.fields["next"]; + s.current___10667 = (r0); case 19: { step = 15; continue; } case 20: @@ -17480,12 +17480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P23981.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__P3177.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__P23981_mk(s) { +function particles_ParticleSource__prune__P3177_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P23981, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P3177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17493,9 +17493,9 @@ function particles_ParticleSource__prune__P23981_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___31455: undefined, - sources___31463: undefined, - current___31477: undefined, + scene___10645: undefined, + sources___10653: undefined, + current___10667: undefined, arg0: undefined, } } @@ -17503,7 +17503,7 @@ function particles_ParticleSource__prune__P23981_mk(s) { -function particles_ParticleSource_enabled__P23986(s) { +function particles_ParticleSource_enabled__P3182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17519,9 +17519,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P23985_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P3181_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1163; s.pc = 5; return s.tmp_3; case 5: @@ -17552,12 +17552,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P23986.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__P3182.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__P23986_mk(s) { +function particles_ParticleSource_enabled__P3182_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P23986, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P3182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17574,7 +17574,7 @@ function particles_ParticleSource_enabled__P23986_mk(s) { -function particles_ParticleSource_enabled__P23985(s) { +function particles_ParticleSource_enabled__P3181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17589,7 +17589,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -17604,13 +17604,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P23985.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__P23985.isGetter = true; +particles_ParticleSource_enabled__P3181.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__P3181.isGetter = true; -function particles_ParticleSource_enabled__P23985_mk(s) { +function particles_ParticleSource_enabled__P3181_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P23985, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P3181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17624,7 +17624,7 @@ function particles_ParticleSource_enabled__P23985_mk(s) { -function control_popEventContext__P21215(s) { +function control_popEventContext__P410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17634,9 +17634,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___31586 = undefined; - s.context___31594 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___25307); + s.ctx___10776 = undefined; + s.context___10784 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4502); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17645,9 +17645,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___25307); - s.ctx___31586 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___31586); + r0 = pxsim_Array_.pop(globals.eventContexts___4502); + s.ctx___10776 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___10776); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17656,53 +17656,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P21207_mk(s); - s.tmp_2.arg0 = s.ctx___31586; + s.tmp_2 = control_EventContext_unregister__P402_mk(s); + s.tmp_2.arg0 = s.ctx___10776; s.callLocIdx = 56; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___25307; - r0 = pxsim_Array__length(globals.eventContexts___25307); + s.tmp_0 = r0 = globals.eventContexts___4502; + r0 = pxsim_Array__length(globals.eventContexts___4502); 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___31594 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___31594); + s.context___10784 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___10784); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P21206_mk(s); - s.tmp_0.arg0 = s.context___31594; + s.tmp_0 = control_EventContext_register__P401_mk(s); + s.tmp_0.arg0 = s.context___10784; s.callLocIdx = 57; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___25307 = (undefined); + globals.eventContexts___4502 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P21215.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +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":[]} -function control_popEventContext__P21215_mk(s) { +function control_popEventContext__P410_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P21215, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___31586: undefined, - context___31594: undefined, + ctx___10776: undefined, + context___10784: undefined, } } -function control_EventContext_register__P21206(s) { +function control_EventContext_register__P401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17712,38 +17712,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___31607 = undefined; - s.unnamed148___U1 = undefined; - s.unnamed149___U2 = undefined; + s.h___10797 = undefined; + s.unnamed56___U1 = undefined; + s.unnamed57___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C21200_VT)) failedCast(r0); - s.h___31607 = (undefined); + if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + s.h___10797 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed148___U1 = (r0); - s.unnamed149___U2 = (0); + s.unnamed56___U1 = (r0); + s.unnamed57___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed149___U2; - r0 = pxsim_Array__length(s.unnamed148___U1); + s.tmp_0 = r0 = s.unnamed57___U2; + r0 = pxsim_Array__length(s.unnamed56___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed148___U1, s.unnamed149___U2); - s.h___31607 = (r0); - s.tmp_2 = control_EventHandler_register__P25300_mk(s); - s.tmp_2.arg0 = s.h___31607; + r0 = pxsim_Array__getAt(s.unnamed56___U1, s.unnamed57___U2); + s.h___10797 = (r0); + s.tmp_2 = control_EventHandler_register__P4495_mk(s); + s.tmp_2.arg0 = s.h___10797; s.callLocIdx = 47; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed149___U2 + 1); - s.unnamed149___U2 = (r0); + r0 = (s.unnamed57___U2 + 1); + s.unnamed57___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed148___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P25305_mk(s); + s.unnamed56___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P4500_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 48; s.pc = 4; return s.tmp_0; case 4: @@ -17752,19 +17752,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P21206.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__P401.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__P21206_mk(s) { +function control_EventContext_register__P401_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P21206, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___31607: undefined, - unnamed148___U1: undefined, - unnamed149___U2: undefined, + h___10797: undefined, + unnamed56___U1: undefined, + unnamed57___U2: undefined, arg0: undefined, } } @@ -17772,7 +17772,7 @@ function control_EventContext_register__P21206_mk(s) { -function controller__setUserEventsEnabled__P23011(s) { +function controller__setUserEventsEnabled__P2207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17786,17 +17786,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___25603 = (s.arg0); + globals._userEventsEnabled___4798 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P23011.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__P2207.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__P23011_mk(s) { +function controller__setUserEventsEnabled__P2207_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P23011, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P2207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17805,7 +17805,7 @@ function controller__setUserEventsEnabled__P23011_mk(s) { -function scene_systemMenu_MenuOption_constructor__P23910(s) { +function scene_systemMenu_MenuOption_constructor__P3106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17823,7 +17823,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -17831,12 +17831,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P23910.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__P3106.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__P23910_mk(s) { +function scene_systemMenu_MenuOption_constructor__P3106_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P23910, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P3106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17848,7 +17848,7 @@ function scene_systemMenu_MenuOption_constructor__P23910_mk(s) { -function helpers_screenBrightness__P22771(s) { +function helpers_screenBrightness__P1967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17862,16 +17862,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___22756; + r0 = globals.brightness___1952; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P22771.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P1967.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P22771_mk(s) { +function helpers_screenBrightness__P1967_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P22771, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P1967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17880,7 +17880,7 @@ function helpers_screenBrightness__P22771_mk(s) { -function music_volume__P22426(s) { +function music_volume__P1622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17890,20 +17890,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P25342_mk(s); + s.tmp_0 = music_initVolume__P4537_mk(s); s.callLocIdx = 61; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___25338; + r0 = globals.globalVolume___4533; return leave(s, r0) default: oops() } } } -music_volume__P22426.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P1622.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__P22426_mk(s) { +function music_volume__P1622_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P22426, depth: s.depth + 1, + parent: s, fn: music_volume__P1622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17912,7 +17912,7 @@ function music_volume__P22426_mk(s) { -function music_initVolume__P25342(s) { +function music_initVolume__P4537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17922,12 +17922,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___25338 === null); + r0 = (globals.globalVolume___4533 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___25338 = (0); - s.tmp_0 = music_setVolume__P22425_mk(s); + globals.globalVolume___4533 = (0); + s.tmp_0 = music_setVolume__P1621_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 58; s.pc = 3; return s.tmp_0; @@ -17939,12 +17939,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P25342.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P4537.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__P25342_mk(s) { +function music_initVolume__P4537_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P25342, depth: s.depth + 1, + parent: s, fn: music_initVolume__P4537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17953,7 +17953,7 @@ function music_initVolume__P25342_mk(s) { -function helpers_arrayConcat__P20918(s) { +function helpers_arrayConcat__P113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17963,74 +17963,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___32863 = undefined; - s.value___32866 = undefined; - s.unnamed138___U2 = undefined; - s.unnamed139___U3 = undefined; - s.value___32873 = undefined; - s.unnamed140___U5 = undefined; - s.unnamed141___U6 = undefined; + s.out___12053 = undefined; + s.value___12056 = undefined; + s.unnamed46___U2 = undefined; + s.unnamed47___U3 = undefined; + s.value___12063 = undefined; + s.unnamed48___U5 = undefined; + s.unnamed49___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___32863 = (r0); - s.value___32866 = (undefined); - s.unnamed138___U2 = (s.arg0); - s.unnamed139___U3 = (0); + s.out___12053 = (r0); + s.value___12056 = (undefined); + s.unnamed46___U2 = (s.arg0); + s.unnamed47___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed139___U3; - r0 = pxsim_Array__length(s.unnamed138___U2); + s.tmp_0 = r0 = s.unnamed47___U3; + r0 = pxsim_Array__length(s.unnamed46___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed138___U2, s.unnamed139___U3); - s.value___32866 = (r0); - r0 = pxsim_Array__push(s.out___32863, s.value___32866); - r0 = (s.unnamed139___U3 + 1); - s.unnamed139___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed46___U2, s.unnamed47___U3); + s.value___12056 = (r0); + r0 = pxsim_Array__push(s.out___12053, s.value___12056); + r0 = (s.unnamed47___U3 + 1); + s.unnamed47___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed138___U2 = (undefined); - s.value___32873 = (undefined); - s.unnamed140___U5 = (s.arg1); - s.unnamed141___U6 = (0); + s.unnamed46___U2 = (undefined); + s.value___12063 = (undefined); + s.unnamed48___U5 = (s.arg1); + s.unnamed49___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed141___U6; - r0 = pxsim_Array__length(s.unnamed140___U5); + s.tmp_0 = r0 = s.unnamed49___U6; + r0 = pxsim_Array__length(s.unnamed48___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed140___U5, s.unnamed141___U6); - s.value___32873 = (r0); - r0 = pxsim_Array__push(s.out___32863, s.value___32873); - r0 = (s.unnamed141___U6 + 1); - s.unnamed141___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed48___U5, s.unnamed49___U6); + s.value___12063 = (r0); + r0 = pxsim_Array__push(s.out___12053, s.value___12063); + r0 = (s.unnamed49___U6 + 1); + s.unnamed49___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed140___U5 = (undefined); - r0 = s.out___32863; + s.unnamed48___U5 = (undefined); + r0 = s.out___12053; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P20918.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P113.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -function helpers_arrayConcat__P20918_mk(s) { +function helpers_arrayConcat__P113_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P20918, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___32863: undefined, - value___32866: undefined, - unnamed138___U2: undefined, - unnamed139___U3: undefined, - value___32873: undefined, - unnamed140___U5: undefined, - unnamed141___U6: undefined, + out___12053: undefined, + value___12056: undefined, + unnamed46___U2: undefined, + unnamed47___U3: undefined, + value___12063: undefined, + unnamed48___U5: undefined, + unnamed49___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -18039,7 +18039,7 @@ function helpers_arrayConcat__P20918_mk(s) { -function scene_systemMenu_PauseMenu_show__P23919(s) { +function scene_systemMenu_PauseMenu_show__P3115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18049,14 +18049,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___30815 = undefined; - s.i___30816 = undefined; + s.current___10005 = undefined; + s.i___10006 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -18074,9 +18074,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___30816 = (0); + s.i___10006 = (0); case 1: - s.tmp_1 = r0 = s.i___30816; + s.tmp_1 = r0 = s.i___10006; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18087,22 +18087,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___30816); - s.current___30815 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P23911_mk(s); - s.tmp_0.arg0 = s.current___30815; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___10006); + s.current___10005 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P3107_mk(s); + s.tmp_0.arg0 = s.current___10005; s.callLocIdx = 1002; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P23914_mk(s); - s.tmp_0.arg0 = s.current___30815; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P3110_mk(s); + s.tmp_0.arg0 = s.current___10005; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1003; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P23912_mk(s); - s.tmp_0.arg0 = s.current___30815; + s.tmp_0 = scene_systemMenu_MenuOption_position__P3108_mk(s); + s.tmp_0.arg0 = s.current___10005; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -18117,7 +18117,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___30816; + s.tmp_5 = r0 = s.i___10006; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -18182,7 +18182,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___30816; + s.tmp_17 = r0 = s.i___10006; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -18236,98 +18236,98 @@ switch (step) { s.callLocIdx = 1012; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___30816 + 1); - s.i___30816 = (r0); + r0 = (s.i___10006 + 1); + s.i___10006 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P23011_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P2207_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1013; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30879); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10069); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P23001_mk(s); - s.tmp_1.arg0 = globals.A___22918; + s.tmp_1 = controller_Button_onEvent__P2197_mk(s); + s.tmp_1.arg0 = globals.A___2114; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1015; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30899); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10089); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P23001_mk(s); - s.tmp_1.arg0 = globals.A___22918; + s.tmp_1 = controller_Button_onEvent__P2197_mk(s); + s.tmp_1.arg0 = globals.A___2114; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1017; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P23001_mk(s); - s.tmp_0.arg0 = globals.B___22919; + s.tmp_0 = controller_Button_onEvent__P2197_mk(s); + s.tmp_0.arg0 = globals.B___2115; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P30928; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P10118; s.callLocIdx = 1019; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P23001_mk(s); - s.tmp_0.arg0 = globals.menu___22924; + s.tmp_0 = controller_Button_onEvent__P2197_mk(s); + s.tmp_0.arg0 = globals.menu___2120; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P30933; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P10123; s.callLocIdx = 1021; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30938); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10128); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P23001_mk(s); - s.tmp_1.arg0 = globals.up___22921; + s.tmp_1 = controller_Button_onEvent__P2197_mk(s); + s.tmp_1.arg0 = globals.up___2117; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1025; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30950); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10140); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P23001_mk(s); - s.tmp_1.arg0 = globals.left___22920; + s.tmp_1 = controller_Button_onEvent__P2197_mk(s); + s.tmp_1.arg0 = globals.left___2116; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1028; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30959); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10149); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P23001_mk(s); - s.tmp_1.arg0 = globals.down___22923; + s.tmp_1 = controller_Button_onEvent__P2197_mk(s); + s.tmp_1.arg0 = globals.down___2119; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1032; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30975); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10165); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P23001_mk(s); - s.tmp_1.arg0 = globals.right___22922; + s.tmp_1 = controller_Button_onEvent__P2197_mk(s); + s.tmp_1.arg0 = globals.right___2118; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1035; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P30987); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P10177); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P23839_mk(s); + s.tmp_1 = game_onShade__P3035_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1038; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23921_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3117_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1039; s.pc = 25; return s.tmp_0; @@ -18337,12 +18337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P23919.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__P3115.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__P23919_mk(s) { +function scene_systemMenu_PauseMenu_show__P3115_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P23919, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P3115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18369,8 +18369,8 @@ function scene_systemMenu_PauseMenu_show__P23919_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___30815: undefined, - i___30816: undefined, + current___10005: undefined, + i___10006: undefined, arg0: undefined, } } @@ -18378,7 +18378,7 @@ function scene_systemMenu_PauseMenu_show__P23919_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30879(s) { +function scene_systemMenu_PauseMenu_show_inline__P10069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18416,7 +18416,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P23915_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P3111_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -18432,12 +18432,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30879.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__P10069.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__P30879_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10069_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30879, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18456,7 +18456,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30879_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30899(s) { +function scene_systemMenu_PauseMenu_show_inline__P10089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18494,7 +18494,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P23915_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P3111_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -18518,12 +18518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30899.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__P10089.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__P30899_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10089_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30899, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18542,7 +18542,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30899_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30928(s) { +function scene_systemMenu_PauseMenu_show_inline__P10118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18552,7 +18552,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P23924_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P3120_mk(s); s.callLocIdx = 1018; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18560,12 +18560,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30928.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__P10118.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__P30928_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10118_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30928, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18574,7 +18574,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30928_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30933(s) { +function scene_systemMenu_PauseMenu_show_inline__P10123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18584,7 +18584,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P23924_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P3120_mk(s); s.callLocIdx = 1020; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18592,12 +18592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30933.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__P10123.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__P30933_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10123_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30933, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18606,7 +18606,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30933_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30938(s) { +function scene_systemMenu_PauseMenu_show_inline__P10128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18616,9 +18616,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23921_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3117_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P20935_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -18649,12 +18649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30938.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__P10128.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__P30938_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10128_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30938, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18667,7 +18667,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30938_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30950(s) { +function scene_systemMenu_PauseMenu_show_inline__P10140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18677,9 +18677,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23921_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3117_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P20935_mk(s); + s.tmp_1 = Math_max__P130_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -18696,12 +18696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30950.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__P10140.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__P30950_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10140_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30950, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18712,7 +18712,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30950_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30959(s) { +function scene_systemMenu_PauseMenu_show_inline__P10149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18722,9 +18722,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23921_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3117_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P20936_mk(s); + s.tmp_1 = Math_min__P131_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18760,12 +18760,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30959.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__P10149.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__P30959_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10149_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30959, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18780,7 +18780,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30959_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30975(s) { +function scene_systemMenu_PauseMenu_show_inline__P10165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18790,9 +18790,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P23921_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3117_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P20936_mk(s); + s.tmp_1 = Math_min__P131_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18814,12 +18814,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30975.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__P10165.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__P30975_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10165_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30975, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18832,7 +18832,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30975_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P30987(s) { +function scene_systemMenu_PauseMenu_show_inline__P10177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18842,12 +18842,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P23920_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P3116_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1036; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P23922_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P3118_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1037; s.pc = 2; return s.tmp_0; case 2: @@ -18856,12 +18856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P30987.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__P10177.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__P30987_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P10177_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P30987, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P10177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18870,7 +18870,7 @@ function scene_systemMenu_PauseMenu_show_inline__P30987_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P23922(s) { +function scene_systemMenu_PauseMenu_drawText__P3118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18885,7 +18885,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18897,11 +18897,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P22761_mk(s); - s.tmp_3.arg0 = globals.screen___22837; + s.tmp_3 = helpers_imageFillRect__P1957_mk(s); + s.tmp_3.arg0 = globals.screen___2033; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18923,8 +18923,8 @@ switch (step) { s.callLocIdx = 1051; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P22794_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.tmp_0 = helpers_imagePrintCenter__P1990_mk(s); + s.tmp_0.arg0 = globals.screen___2033; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -18958,8 +18958,8 @@ switch (step) { s.callLocIdx = 1054; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P22761_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.tmp_0 = helpers_imageFillRect__P1957_mk(s); + s.tmp_0.arg0 = globals.screen___2033; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18977,9 +18977,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -19003,8 +19003,8 @@ switch (step) { s.callLocIdx = 1057; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P22761_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.tmp_0 = helpers_imageFillRect__P1957_mk(s); + s.tmp_0.arg0 = globals.screen___2033; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -19033,7 +19033,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -19085,8 +19085,8 @@ switch (step) { s.callLocIdx = 1063; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P22794_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.tmp_0 = helpers_imagePrintCenter__P1990_mk(s); + s.tmp_0.arg0 = globals.screen___2033; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -19145,12 +19145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P23922.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__P3118.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__P23922_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P3118_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P23922, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P3118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19169,7 +19169,7 @@ function scene_systemMenu_PauseMenu_drawText__P23922_mk(s) { -function helpers_imagePrintCenter__P22794(s) { +function helpers_imagePrintCenter__P1990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19179,8 +19179,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___31074 = undefined; - s.x___31080 = undefined; + s.w___10264 = undefined; + s.x___10270 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19195,7 +19195,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P22782_mk(s); + s.tmp_2 = image_getFontForText__P1978_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 94; s.pc = 3; return s.tmp_2; case 3: @@ -19219,17 +19219,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___31074 = (r0); + s.w___10264 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___31074); + r0 = (s.tmp_1 - s.w___10264); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___31080 = (r0); - s.tmp_0 = helpers_imagePrint__P22795_mk(s); + s.x___10270 = (r0); + s.tmp_0 = helpers_imagePrint__P1991_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___31080; + s.tmp_0.arg2 = s.x___10270; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -19241,18 +19241,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P22794.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__P1990.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__P22794_mk(s) { +function helpers_imagePrintCenter__P1990_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P22794, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P1990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___31074: undefined, - x___31080: undefined, + w___10264: undefined, + x___10270: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19264,7 +19264,7 @@ function helpers_imagePrintCenter__P22794_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P23921(s) { +function scene_systemMenu_PauseMenu_setSelection__P3117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19280,7 +19280,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -19300,7 +19300,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__P23915_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P3111_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -19322,9 +19322,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C22994_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___22918; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C22994_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C2190_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___2114; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C2190_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: @@ -19339,7 +19339,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P23915_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P3111_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -19352,7 +19352,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P26063_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P5258_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1049; s.pc = 13; return s.tmp_0; case 13: @@ -19362,12 +19362,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P23921.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__P3117.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__P23921_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P3117_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P23921, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P3117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19386,7 +19386,7 @@ function scene_systemMenu_PauseMenu_setSelection__P23921_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P26063(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P5258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19396,13 +19396,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___31332 = undefined; + s.row___10522 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -19420,17 +19420,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___31332 = (r0); + s.row___10522 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___31332 === s.tmp_1); + r0 = (s.row___10522 === 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___31332 - 1); + r0 = (s.row___10522 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -19445,7 +19445,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___31332 > s.tmp_6); + r0 = (s.row___10522 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -19505,12 +19505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P26063.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__P5258.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__P26063_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P5258_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P26063, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P5258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19522,7 +19522,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P26063_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___31332: undefined, + row___10522: undefined, arg0: undefined, } } @@ -19530,7 +19530,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P26063_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P23920(s) { +function scene_systemMenu_PauseMenu_onUpdate__P3116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19540,22 +19540,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___31096 = undefined; - s.i___31100 = undefined; - s.dt___31129 = undefined; + s.t___10286 = undefined; + s.i___10290 = undefined; + s.dt___10319 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___31096 = (r0); - s.i___31100 = (0); + s.t___10286 = (r0); + s.i___10290 = (0); case 1: - s.tmp_1 = r0 = s.i___31100; + s.tmp_1 = r0 = s.i___10290; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19564,13 +19564,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__P23913_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P3109_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___31100); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___10290); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___31096; - s.tmp_11 = r0 = s.i___31100; + s.tmp_8 = r0 = s.t___10286; + s.tmp_11 = r0 = s.i___10290; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -19598,11 +19598,11 @@ switch (step) { s.callLocIdx = 1041; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___31100 + 1); - s.i___31100 = (r0); + r0 = (s.i___10290 + 1); + s.i___10290 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P23821_mk(s); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 1042; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -19611,7 +19611,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___31129 = (r0); + s.dt___10319 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19623,7 +19623,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___31129 * 100); + r0 = (s.dt___10319 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -19641,7 +19641,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___31129 * 100); + r0 = (s.dt___10319 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -19651,7 +19651,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P20933_mk(s); + s.tmp_2 = Math_abs__P128_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19671,8 +19671,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P23594_mk(s); - s.tmp_1 = game_currentScene__P23821_mk(s); + s.tmp_0 = scene_Camera_offsetY__P2790_mk(s); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 1045; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -19688,12 +19688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P23920.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__P3116.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__P23920_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P3116_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P23920, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P3116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19709,9 +19709,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P23920_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___31096: undefined, - i___31100: undefined, - dt___31129: undefined, + t___10286: undefined, + i___10290: undefined, + dt___10319: undefined, arg0: undefined, } } @@ -19719,7 +19719,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P23920_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P23913(s) { +function scene_systemMenu_MenuOption_setOffset__P3109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19735,8 +19735,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P23209_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2405_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -19746,10 +19746,10 @@ switch (step) { s.callLocIdx = 983; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P23162_mk(s); + s.tmp_0 = Sprite_y__P2358_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P23161_mk(s); + s.tmp_1 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 984; s.pc = 3; return s.tmp_1; @@ -19763,12 +19763,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P23913.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__P3109.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__P23913_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P3109_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P23913, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P3109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19780,7 +19780,7 @@ function scene_systemMenu_MenuOption_setOffset__P23913_mk(s) { -function Sprite_top__P23209(s) { +function Sprite_top__P2405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19790,22 +19790,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___31213 = undefined; + s.physics___10403 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 359; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___31213 = (r0); - s.tmp_0 = PhysicsEngine__C23316_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___31213; + s.physics___10403 = (r0); + s.tmp_0 = PhysicsEngine__C2512_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___10403; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -19816,7 +19816,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__C23316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_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: @@ -19825,18 +19825,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P23209.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__P2405.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__P23209_mk(s) { +function Sprite_top__P2405_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P23209, depth: s.depth + 1, + parent: s, fn: Sprite_top__P2405, 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___31213: undefined, + physics___10403: undefined, arg0: undefined, arg1: undefined, } } @@ -19845,7 +19845,7 @@ function Sprite_top__P23209_mk(s) { -function PhysicsEngine_moveSprite__P23320(s) { +function PhysicsEngine_moveSprite__P2516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19863,17 +19863,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C23316_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2512_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P23320.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__P2516.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__P23320_mk(s) { +function PhysicsEngine_moveSprite__P2516_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P23320, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P2516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19885,7 +19885,7 @@ function PhysicsEngine_moveSprite__P23320_mk(s) { -function Sprite_y__P23162(s) { +function Sprite_y__P2358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19901,11 +19901,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P23209_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2405_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P23203_mk(s); + s.tmp_4 = Sprite_height__P2399_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 310; s.pc = 2; return s.tmp_4; case 2: @@ -19922,12 +19922,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P23162.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__P2358.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__P23162_mk(s) { +function Sprite_y__P2358_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P23162, depth: s.depth + 1, + parent: s, fn: Sprite_y__P2358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19942,7 +19942,7 @@ function Sprite_y__P23162_mk(s) { -function Sprite_height__P23203(s) { +function Sprite_height__P2399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19957,20 +19957,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23203.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__P23203.isGetter = true; +Sprite_height__P2399.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__P2399.isGetter = true; -function Sprite_height__P23203_mk(s) { +function Sprite_height__P2399_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P23203, depth: s.depth + 1, + parent: s, fn: Sprite_height__P2399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19980,7 +19980,7 @@ function Sprite_height__P23203_mk(s) { -function Math_abs__P20933(s) { +function Math_abs__P128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20009,12 +20009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P20933.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__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"]} -function Math_abs__P20933_mk(s) { +function Math_abs__P128_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P20933, depth: s.depth + 1, + parent: s, fn: Math_abs__P128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20025,7 +20025,7 @@ function Math_abs__P20933_mk(s) { -function scene_systemMenu_MenuOption_setState__P23915(s) { +function scene_systemMenu_MenuOption_setState__P3111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20041,7 +20041,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -20052,7 +20052,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P26062_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5257_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 987; s.pc = 4; return s.tmp_0; case 4: @@ -20062,12 +20062,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P23915.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__P3111.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__P23915_mk(s) { +function scene_systemMenu_MenuOption_setState__P3111_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P23915, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P3111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20079,7 +20079,7 @@ function scene_systemMenu_MenuOption_setState__P23915_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P26062(s) { +function scene_systemMenu_MenuOption_updateCard__P5257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20094,7 +20094,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20117,7 +20117,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P23196_mk(s); + s.tmp_4 = Sprite_setImage__P2392_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -20139,7 +20139,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P23196_mk(s); + s.tmp_0 = Sprite_setImage__P2392_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -20161,7 +20161,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P23196_mk(s); + s.tmp_0 = Sprite_setImage__P2392_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -20182,10 +20182,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P23160_mk(s); + s.tmp_0 = Sprite_x__P2356_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P23159_mk(s); + s.tmp_1 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 996; s.pc = 15; return s.tmp_1; @@ -20195,10 +20195,10 @@ switch (step) { s.callLocIdx = 997; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P23162_mk(s); + s.tmp_0 = Sprite_y__P2358_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P23161_mk(s); + s.tmp_1 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 998; s.pc = 17; return s.tmp_1; @@ -20213,12 +20213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P26062.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__P5257.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__P26062_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P5257_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P26062, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P5257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20233,7 +20233,7 @@ function scene_systemMenu_MenuOption_updateCard__P26062_mk(s) { -function Sprite_x__P23160(s) { +function Sprite_x__P2356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20249,11 +20249,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P23205_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2401_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P23202_mk(s); + s.tmp_4 = Sprite_width__P2398_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 305; s.pc = 2; return s.tmp_4; case 2: @@ -20270,12 +20270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P23160.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__P2356.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__P23160_mk(s) { +function Sprite_x__P2356_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P23160, depth: s.depth + 1, + parent: s, fn: Sprite_x__P2356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20290,7 +20290,7 @@ function Sprite_x__P23160_mk(s) { -function Sprite_left__P23205(s) { +function Sprite_left__P2401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20300,22 +20300,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___32445 = undefined; + s.physics___11635 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 351; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___32445 = (r0); - s.tmp_0 = PhysicsEngine__C23316_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___32445; + s.physics___11635 = (r0); + s.tmp_0 = PhysicsEngine__C2512_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___11635; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20326,7 +20326,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__C23316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_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: @@ -20335,18 +20335,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P23205.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__P2401.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__P23205_mk(s) { +function Sprite_left__P2401_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P23205, depth: s.depth + 1, + parent: s, fn: Sprite_left__P2401, 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___32445: undefined, + physics___11635: undefined, arg0: undefined, arg1: undefined, } } @@ -20355,7 +20355,7 @@ function Sprite_left__P23205_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P23914(s) { +function scene_systemMenu_MenuOption_setTheme__P3110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20371,9 +20371,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P26062_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5257_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 986; s.pc = 1; return s.tmp_0; case 1: @@ -20382,12 +20382,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P23914.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__P3110.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__P23914_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P3110_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P23914, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P3110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20398,7 +20398,7 @@ function scene_systemMenu_MenuOption_setTheme__P23914_mk(s) { -function scene_systemMenu_MenuOption_position__P23912(s) { +function scene_systemMenu_MenuOption_position__P3108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20415,26 +20415,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P23205_mk(s); + s.tmp_0 = Sprite_left__P2401_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 977; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P23209_mk(s); + s.tmp_0 = Sprite_top__P2405_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 978; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P23160_mk(s); + s.tmp_0 = Sprite_x__P2356_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P23159_mk(s); + s.tmp_1 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 979; s.pc = 4; return s.tmp_1; @@ -20444,10 +20444,10 @@ switch (step) { s.callLocIdx = 980; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P23162_mk(s); + s.tmp_0 = Sprite_y__P2358_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P23161_mk(s); + s.tmp_1 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 981; s.pc = 6; return s.tmp_1; @@ -20461,12 +20461,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P23912.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__P3108.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__P23912_mk(s) { +function scene_systemMenu_MenuOption_position__P3108_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P23912, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P3108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20479,7 +20479,7 @@ function scene_systemMenu_MenuOption_position__P23912_mk(s) { -function scene_systemMenu_MenuOption_show__P23911(s) { +function scene_systemMenu_MenuOption_show__P3107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20494,7 +20494,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C23909_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3105_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -20514,12 +20514,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___23933; + r0 = globals.CARD_NORMAL___3129; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P23080_mk(s); + s.tmp_5 = sprites_create__P2276_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 973; s.pc = 4; return s.tmp_5; @@ -20542,7 +20542,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P23080_mk(s); + s.tmp_2 = sprites_create__P2276_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -20570,12 +20570,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P23911.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__P3107.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__P23911_mk(s) { +function scene_systemMenu_MenuOption_show__P3107_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P23911, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P3107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20590,7 +20590,7 @@ function scene_systemMenu_MenuOption_show__P23911_mk(s) { -function sprites_create__P23080(s) { +function sprites_create__P2276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20600,51 +20600,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___32521 = undefined; - s.sprite___32524 = undefined; + s.scene___11711 = undefined; + s.sprite___11714 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P23821_mk(s); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 296; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___32521 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C23146_VT); + s.scene___11711 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2342_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P23193_mk(s); + s.tmp_1 = Sprite_constructor__P2389_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 297; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___32524 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P23213_mk(s); - s.tmp_0.arg0 = s.sprite___32524; + s.sprite___11714 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P2409_mk(s); + s.tmp_0.arg0 = s.sprite___11714; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 298; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C23316_v0_2_mk(s); - r0 = s.scene___32521.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C2512_v0_2_mk(s); + r0 = s.scene___11711.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___32524; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C23316_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___11714; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2512_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P32539); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P11729); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P32545); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P11735); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___32524); - s.tmp_2 = helpers_arrayForEach__P20914_mk(s); - s.tmp_3 = helpers_arrayFilter__P20915_mk(s); - r0 = s.scene___32521.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___11714); + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + r0 = s.scene___11711.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 299; s.pc = 6; return s.tmp_3; @@ -20655,23 +20655,23 @@ switch (step) { s.callLocIdx = 301; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___32524; + r0 = s.sprite___11714; return leave(s, r0) default: oops() } } } -sprites_create__P23080.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__P2276.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__P23080_mk(s) { +function sprites_create__P2276_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P23080, depth: s.depth + 1, + parent: s, fn: sprites_create__P2276, 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___32521: undefined, - sprite___32524: undefined, + scene___11711: undefined, + sprite___11714: undefined, arg0: undefined, arg1: undefined, } } @@ -20680,7 +20680,7 @@ function sprites_create__P23080_mk(s) { -function forEach_inline__P32539(s) { +function forEach_inline__P11729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20700,12 +20700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P32539.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__P11729.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__P32539_mk(s) { +function forEach_inline__P11729_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P32539, depth: s.depth + 1, + parent: s, fn: forEach_inline__P11729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20715,7 +20715,7 @@ function forEach_inline__P32539_mk(s) { -function sprites_create_inline__P32545(s) { +function sprites_create_inline__P11735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20747,12 +20747,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P32545.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__P11735.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__P32545_mk(s) { +function sprites_create_inline__P11735_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P32545, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P11735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20762,7 +20762,7 @@ function sprites_create_inline__P32545_mk(s) { -function PhysicsEngine_addSprite__P23318(s) { +function PhysicsEngine_addSprite__P2514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20778,17 +20778,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C23316_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C2512_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P23318.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__P2514.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__P23318_mk(s) { +function PhysicsEngine_addSprite__P2514_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P23318, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P2514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20798,7 +20798,7 @@ function PhysicsEngine_addSprite__P23318_mk(s) { -function Sprite_setKind__P23213(s) { +function Sprite_setKind__P2409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20808,15 +20808,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___32563 = undefined; - s.overlapMap___32592 = undefined; + s.spritesByKind___11753 = undefined; + s.overlapMap___11782 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -20835,12 +20835,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P23821_mk(s); + s.tmp_3 = game_currentScene__P3017_mk(s); s.callLocIdx = 366; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___32563 = (r0); + s.spritesByKind___11753 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -20852,16 +20852,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32563, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11753, 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__P23275_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P2471_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32563, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11753, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 367; s.pc = 17; return s.tmp_4; @@ -20873,7 +20873,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___32563, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11753, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -20881,18 +20881,18 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C23268_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2464_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P23270_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P2466_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 368; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___32563, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___11753, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P23273_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32563, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P2469_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___11753, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 369; s.pc = 19; return s.tmp_0; @@ -20900,13 +20900,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P23821_mk(s); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 370; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___32592 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___32592, s.arg1); + s.overlapMap___11782 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___11782, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -20914,7 +20914,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___32592; + s.tmp_3 = r0 = s.overlapMap___11782; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -20922,7 +20922,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___32592, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___11782, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -20931,12 +20931,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P23213.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__P2409.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__P23213_mk(s) { +function Sprite_setKind__P2409_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P23213, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P2409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20944,8 +20944,8 @@ function Sprite_setKind__P23213_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___32563: undefined, - overlapMap___32592: undefined, + spritesByKind___11753: undefined, + overlapMap___11782: undefined, arg0: undefined, arg1: undefined, } } @@ -20954,7 +20954,7 @@ function Sprite_setKind__P23213_mk(s) { -function sprites_SpriteSet_add__P23273(s) { +function sprites_SpriteSet_add__P2469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20970,7 +20970,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C23268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2464_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -21001,12 +21001,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P23273.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__P2469.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__P23273_mk(s) { +function sprites_SpriteSet_add__P2469_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P23273, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P2469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21022,7 +21022,7 @@ function sprites_SpriteSet_add__P23273_mk(s) { -function sprites_SpriteSet_contains__P23276(s) { +function sprites_SpriteSet_contains__P2472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21038,7 +21038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C23268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2464_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -21047,12 +21047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P23276.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__P2472.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__P23276_mk(s) { +function sprites_SpriteSet_contains__P2472_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P23276, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P2472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21064,7 +21064,7 @@ function sprites_SpriteSet_contains__P23276_mk(s) { -function sprites_SpriteSet_constructor__P23270(s) { +function sprites_SpriteSet_constructor__P2466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21079,7 +21079,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C23268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2464_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -21088,12 +21088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P23270.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__P2466.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__P23270_mk(s) { +function sprites_SpriteSet_constructor__P2466_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P23270, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P2466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21104,7 +21104,7 @@ function sprites_SpriteSet_constructor__P23270_mk(s) { -function Sprite_constructor__P23193(s) { +function Sprite_constructor__P2389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21120,15 +21120,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P22901_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P2097_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 328; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -21142,7 +21142,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___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -21161,37 +21161,37 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P23164_mk(s); + s.tmp_0 = Sprite_vx__P2360_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 331; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P23166_mk(s); + s.tmp_0 = Sprite_vy__P2362_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 332; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P23168_mk(s); + s.tmp_0 = Sprite_ax__P2364_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 333; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P23170_mk(s); + s.tmp_0 = Sprite_ay__P2366_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 334; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P23172_mk(s); + s.tmp_0 = Sprite_fx__P2368_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 335; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P23174_mk(s); + s.tmp_0 = Sprite_fy__P2370_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 336; s.pc = 7; return s.tmp_0; @@ -21200,13 +21200,13 @@ switch (step) { r0 = (s.arg0).fields["_sx"] = (256); r0 = (s.arg0).fields["_sy"] = (256); r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P23196_mk(s); + s.tmp_0 = Sprite_setImage__P2392_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 337; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P23213_mk(s); + s.tmp_0 = Sprite_setKind__P2409_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 338; s.pc = 9; return s.tmp_0; @@ -21226,12 +21226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P23193.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__P2389.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__P23193_mk(s) { +function Sprite_constructor__P2389_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P23193, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P2389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21248,7 +21248,7 @@ function Sprite_constructor__P23193_mk(s) { -function Sprite_fy__P23174(s) { +function Sprite_fy__P2370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21264,9 +21264,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P20935_mk(s); + s.tmp_3 = Math_max__P130_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 324; s.pc = 1; return s.tmp_3; @@ -21282,12 +21282,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P23174.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__P2370.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__P23174_mk(s) { +function Sprite_fy__P2370_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P23174, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21302,7 +21302,7 @@ function Sprite_fy__P23174_mk(s) { -function Sprite_fy__P23173(s) { +function Sprite_fy__P2369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21317,20 +21317,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23173.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__P23173.isGetter = true; +Sprite_fy__P2369.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__P2369.isGetter = true; -function Sprite_fy__P23173_mk(s) { +function Sprite_fy__P2369_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P23173, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P2369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21340,7 +21340,7 @@ function Sprite_fy__P23173_mk(s) { -function Sprite_fx__P23172(s) { +function Sprite_fx__P2368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21356,9 +21356,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P20935_mk(s); + s.tmp_3 = Math_max__P130_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 321; s.pc = 1; return s.tmp_3; @@ -21374,12 +21374,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P23172.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__P2368.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__P23172_mk(s) { +function Sprite_fx__P2368_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P23172, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21394,7 +21394,7 @@ function Sprite_fx__P23172_mk(s) { -function Sprite_fx__P23171(s) { +function Sprite_fx__P2367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21409,20 +21409,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23171.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__P23171.isGetter = true; +Sprite_fx__P2367.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__P2367.isGetter = true; -function Sprite_fx__P23171_mk(s) { +function Sprite_fx__P2367_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P23171, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P2367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21432,7 +21432,7 @@ function Sprite_fx__P23171_mk(s) { -function Sprite_ay__P23170(s) { +function Sprite_ay__P2366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21448,7 +21448,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21459,12 +21459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P23170.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__P2366.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__P23170_mk(s) { +function Sprite_ay__P2366_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P23170, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21477,7 +21477,7 @@ function Sprite_ay__P23170_mk(s) { -function Sprite_ay__P23169(s) { +function Sprite_ay__P2365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21492,20 +21492,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23169.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__P23169.isGetter = true; +Sprite_ay__P2365.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__P2365.isGetter = true; -function Sprite_ay__P23169_mk(s) { +function Sprite_ay__P2365_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P23169, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P2365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21515,7 +21515,7 @@ function Sprite_ay__P23169_mk(s) { -function Sprite_ax__P23168(s) { +function Sprite_ax__P2364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21531,7 +21531,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21542,12 +21542,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P23168.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__P2364.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__P23168_mk(s) { +function Sprite_ax__P2364_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P23168, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21560,7 +21560,7 @@ function Sprite_ax__P23168_mk(s) { -function Sprite_ax__P23167(s) { +function Sprite_ax__P2363(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21575,20 +21575,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23167.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__P23167.isGetter = true; +Sprite_ax__P2363.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__P2363.isGetter = true; -function Sprite_ax__P23167_mk(s) { +function Sprite_ax__P2363_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P23167, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P2363, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21598,7 +21598,7 @@ function Sprite_ax__P23167_mk(s) { -function Sprite_vy__P23166(s) { +function Sprite_vy__P2362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21614,7 +21614,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21625,12 +21625,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P23166.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__P2362.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__P23166_mk(s) { +function Sprite_vy__P2362_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P23166, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21643,7 +21643,7 @@ function Sprite_vy__P23166_mk(s) { -function Sprite_vy__P23165(s) { +function Sprite_vy__P2361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21658,20 +21658,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23165.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__P23165.isGetter = true; +Sprite_vy__P2361.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__P2361.isGetter = true; -function Sprite_vy__P23165_mk(s) { +function Sprite_vy__P2361_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P23165, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P2361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21681,7 +21681,7 @@ function Sprite_vy__P23165_mk(s) { -function Sprite_vx__P23164(s) { +function Sprite_vx__P2360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21697,7 +21697,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21708,12 +21708,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P23164.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__P2360.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__P23164_mk(s) { +function Sprite_vx__P2360_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P23164, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21726,7 +21726,7 @@ function Sprite_vx__P23164_mk(s) { -function Sprite_vx__P23163(s) { +function Sprite_vx__P2359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21741,20 +21741,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23163.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__P23163.isGetter = true; +Sprite_vx__P2359.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__P2359.isGetter = true; -function Sprite_vx__P23163_mk(s) { +function Sprite_vx__P2359_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P23163, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P2359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21764,7 +21764,7 @@ function Sprite_vx__P23163_mk(s) { -function sprites_BaseSprite_constructor__P22901(s) { +function sprites_BaseSprite_constructor__P2097(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21780,15 +21780,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P22904_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P2100_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 129; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P23675_mk(s); - s.tmp_1 = game_currentScene__P23821_mk(s); + s.tmp_0 = scene_Scene_addSprite__P2871_mk(s); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 130; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -21801,12 +21801,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P22901.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__P2097.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__P22901_mk(s) { +function sprites_BaseSprite_constructor__P2097_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P22901, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P2097, 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 sprites_BaseSprite_constructor__P22901_mk(s) { -function scene_Scene_addSprite__P23675(s) { +function scene_Scene_addSprite__P2871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21834,7 +21834,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C23648_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2844_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -21861,12 +21861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P23675.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P2871.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P23675_mk(s) { +function scene_Scene_addSprite__P2871_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P23675, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P2871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21880,7 +21880,7 @@ function scene_Scene_addSprite__P23675_mk(s) { -function sprites_BaseSprite_z__P22904(s) { +function sprites_BaseSprite_z__P2100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21896,7 +21896,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -21904,7 +21904,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_z"] = (s.arg1); - s.tmp_1 = game_currentScene__P23821_mk(s); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 132; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -21920,12 +21920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P22904.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__P2100.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__P22904_mk(s) { +function sprites_BaseSprite_z__P2100_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P22904, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P2100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21939,7 +21939,7 @@ function sprites_BaseSprite_z__P22904_mk(s) { -function sprites_BaseSprite_z__P22903(s) { +function sprites_BaseSprite_z__P2099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21954,18 +21954,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P22903.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__P22903.isGetter = true; +sprites_BaseSprite_z__P2099.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__P2099.isGetter = true; -function sprites_BaseSprite_z__P22903_mk(s) { +function sprites_BaseSprite_z__P2099_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P22903, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P2099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21974,7 +21974,7 @@ function sprites_BaseSprite_z__P22903_mk(s) { -function game_onShade__P23839(s) { +function game_onShade__P3035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21988,7 +21988,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P25815_mk(s); + s.tmp_0 = game_init__P5010_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 961; s.pc = 4; return s.tmp_0; case 4: @@ -22002,7 +22002,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P23610_mk(s); + s.tmp_2 = scene_createRenderable__P2806_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -22014,12 +22014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P23839.info = {"start":16165,"length":145,"line":488,"column":4,"endLine":492,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P3035.info = {"start":16165,"length":145,"line":488,"column":4,"endLine":492,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P23839_mk(s) { +function game_onShade__P3035_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P23839, depth: s.depth + 1, + parent: s, fn: game_onShade__P3035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22031,7 +22031,7 @@ function game_onShade__P23839_mk(s) { -function scene_createRenderable__P23610(s) { +function scene_createRenderable__P2806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22041,14 +22041,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___31247 = undefined; + s.renderable___10437 = 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__C23605_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C2801_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -22056,11 +22056,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P31253; + r0 = renderable_inline__P10443; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P23606_mk(s); + s.tmp_3 = scene_Renderable_constructor__P2802_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -22068,23 +22068,23 @@ switch (step) { s.callLocIdx = 905; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___31247 = (s.tmp_0); - r0 = s.renderable___31247; + s.renderable___10437 = (s.tmp_0); + r0 = s.renderable___10437; return leave(s, r0) default: oops() } } } -scene_createRenderable__P23610.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__P2806.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__P23610_mk(s) { +function scene_createRenderable__P2806_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P23610, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P2806, 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___31247: undefined, + renderable___10437: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22094,7 +22094,7 @@ function scene_createRenderable__P23610_mk(s) { -function renderable_inline__P31253(s) { +function renderable_inline__P10443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22108,12 +22108,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P31253.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P10443.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__P31253_mk(s) { +function renderable_inline__P10443_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P31253, depth: s.depth + 1, + parent: s, fn: renderable_inline__P10443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -22121,7 +22121,7 @@ function renderable_inline__P31253_mk(s) { -function scene_Renderable_constructor__P23606(s) { +function scene_Renderable_constructor__P2802(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22139,10 +22139,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C23605_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2801_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P22901_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P2097_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 902; s.pc = 1; return s.tmp_0; @@ -22152,12 +22152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P23606.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__P2802.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__P23606_mk(s) { +function scene_Renderable_constructor__P2802_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P23606, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P2802, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22170,7 +22170,7 @@ function scene_Renderable_constructor__P23606_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P23918(s) { +function scene_systemMenu_PauseMenu_constructor__P3114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22187,7 +22187,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C23917_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3113_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22195,8 +22195,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P23926_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___23933); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P3122_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___3129); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -22215,12 +22215,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P23918.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__P3114.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__P23918_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P3114_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P23918, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P3114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22234,7 +22234,7 @@ function scene_systemMenu_PauseMenu_constructor__P23918_mk(s) { -function scene_systemMenu_buildMenuTheme__P23926(s) { +function scene_systemMenu_buildMenuTheme__P3122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22244,7 +22244,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___33526 = undefined; + s.cardsPerRow___12716 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22252,19 +22252,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); 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___33526 = (r0); + s.cardsPerRow___12716 = (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___22780; + r0 = globals.font8___1976; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -22275,7 +22275,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P22783_mk(s); + s.tmp_1 = image_doubledFont__P1979_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1110; s.pc = 5; return s.tmp_1; case 5: @@ -22288,12 +22288,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___33526); - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___12716); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_3 = r0; - r0 = (s.cardsPerRow___33526 * s.arg0); + r0 = (s.cardsPerRow___12716 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___33526 - 1); + r0 = (s.cardsPerRow___12716 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -22324,7 +22324,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___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -22345,19 +22345,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___23934); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___23935); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___23933); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___3130); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___3131); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___3129); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P23926.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__P3122.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__P23926_mk(s) { +function scene_systemMenu_buildMenuTheme__P3122_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P23926, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P3122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22376,7 +22376,7 @@ function scene_systemMenu_buildMenuTheme__P23926_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___33526: undefined, + cardsPerRow___12716: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22387,7 +22387,7 @@ function scene_systemMenu_buildMenuTheme__P23926_mk(s) { -function image_doubledFont__P22783(s) { +function image_doubledFont__P1979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22401,7 +22401,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P22784_mk(s); + s.tmp_0 = image_scaledFont__P1980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 88; s.pc = 1; return s.tmp_0; @@ -22410,12 +22410,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P22783.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__P1979.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__P22783_mk(s) { +function image_doubledFont__P1979_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P22783, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P1979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22425,7 +22425,7 @@ function image_doubledFont__P22783_mk(s) { -function image_scaledFont__P22784(s) { +function image_scaledFont__P1980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22540,12 +22540,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P22784.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__P1980.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__P22784_mk(s) { +function image_scaledFont__P1980_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P22784, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P1980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22571,7 +22571,7 @@ function image_scaledFont__P22784_mk(s) { -function game_pushScene__P23825(s) { +function game_pushScene__P3021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22581,43 +22581,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___33605 = undefined; - s.tmp_0 = game_currentScene__P23821_mk(s); + s.oldScene___12795 = undefined; + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 949; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___33605 = (r0); - s.tmp_0 = particles_clearAll__P24003_mk(s); + s.oldScene___12795 = (r0); + s.tmp_0 = particles_clearAll__P3199_mk(s); s.callLocIdx = 950; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P24004_mk(s); + s.tmp_0 = particles_disableAll__P3200_mk(s); s.callLocIdx = 951; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___25808); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___5003); 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___25808 = (r0); + globals._sceneStack___5003 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___25808, globals._scene___25807); - s.tmp_0 = game_init__P25815_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___5003, globals._scene___5002); + s.tmp_0 = game_init__P5010_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 952; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___25809); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5004); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P33622); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P12812); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___33605); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___25809; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___12795); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___5004; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 954; s.pc = 9; return s.tmp_1; case 9: @@ -22628,23 +22628,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P23825.info = {"start":5405,"length":367,"line":172,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P3021.info = {"start":5405,"length":367,"line":172,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P23825_mk(s) { +function game_pushScene__P3021_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P23825, depth: s.depth + 1, + parent: s, fn: game_pushScene__P3021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___33605: undefined, + oldScene___12795: undefined, } } -function game_pushScene_inline__P33622(s) { +function game_pushScene_inline__P12812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22669,12 +22669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene_inline__P33622.info = {"start":5736,"length":18,"line":181,"column":39,"endLine":181,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P12812.info = {"start":5736,"length":18,"line":181,"column":39,"endLine":181,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P33622_mk(s) { +function game_pushScene_inline__P12812_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P33622, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P12812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22684,7 +22684,7 @@ function game_pushScene_inline__P33622_mk(s) { -function particles_disableAll__P24004(s) { +function particles_disableAll__P3200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22694,21 +22694,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33626 = undefined; - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.sources___12816 = undefined; + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1193; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33626 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33626); + s.sources___12816 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___12816); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P20914_mk(s); - s.tmp_0.arg0 = s.sources___33626; - s.tmp_0.arg1 = particles_disableAll_inline__P33632; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_0.arg0 = s.sources___12816; + s.tmp_0.arg1 = particles_disableAll_inline__P12822; s.callLocIdx = 1195; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P26153_mk(s); + s.tmp_0 = particles_pruneParticles__P5348_mk(s); s.callLocIdx = 1196; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -22718,22 +22718,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P24004.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P3200.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__P24004_mk(s) { +function particles_disableAll__P3200_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P24004, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P3200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33626: undefined, + sources___12816: undefined, } } -function particles_disableAll_inline__P33632(s) { +function particles_disableAll_inline__P12822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22747,7 +22747,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P23986_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1194; s.pc = 1; return s.tmp_0; @@ -22757,12 +22757,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P33632.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__P12822.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__P33632_mk(s) { +function particles_disableAll_inline__P12822_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P33632, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P12822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22772,7 +22772,7 @@ function particles_disableAll_inline__P33632_mk(s) { -function particles_clearAll__P24003(s) { +function particles_clearAll__P3199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22782,21 +22782,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33637 = undefined; - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.sources___12827 = undefined; + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1189; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33637 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33637); + s.sources___12827 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___12827); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P20914_mk(s); - s.tmp_0.arg0 = s.sources___33637; - s.tmp_0.arg1 = particles_clearAll_inline__P33643; + s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.tmp_0.arg0 = s.sources___12827; + s.tmp_0.arg1 = particles_clearAll_inline__P12833; s.callLocIdx = 1191; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P26153_mk(s); + s.tmp_0 = particles_pruneParticles__P5348_mk(s); s.callLocIdx = 1192; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -22806,22 +22806,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P24003.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P3199.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__P24003_mk(s) { +function particles_clearAll__P3199_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P24003, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P3199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33637: undefined, + sources___12827: undefined, } } -function particles_clearAll_inline__P33643(s) { +function particles_clearAll_inline__P12833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22835,7 +22835,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P23988_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P3184_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1190; s.pc = 1; return s.tmp_0; case 1: @@ -22844,12 +22844,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P33643.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__P12833.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__P33643_mk(s) { +function particles_clearAll_inline__P12833_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P33643, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P12833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22859,7 +22859,7 @@ function particles_clearAll_inline__P33643_mk(s) { -function particles_ParticleSource_clear__P23988(s) { +function particles_ParticleSource_clear__P3184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22874,18 +22874,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P23988.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__P3184.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__P23988_mk(s) { +function particles_ParticleSource_clear__P3184_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P23988, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P3184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22894,7 +22894,7 @@ function particles_ParticleSource_clear__P23988_mk(s) { -function controller_Button_onEvent__P23001(s) { +function controller_Button_onEvent__P2197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22904,7 +22904,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___33655 = undefined; + s.eventHandler___12845 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22912,28 +22912,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P25596_mk(s); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P4791_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 202; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___33655 = (r0); - r0 = (s.eventHandler___33655).fields["callback"] = (s.arg2); + s.eventHandler___12845 = (r0); + r0 = (s.eventHandler___12845).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P23001.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__P2197.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__P23001_mk(s) { +function controller_Button_onEvent__P2197_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P23001, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P2197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___33655: undefined, + eventHandler___12845: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22943,7 +22943,7 @@ function controller_Button_onEvent__P23001_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P25596(s) { +function controller_Button_getOrCreateHandlerForEvent__P4791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22953,19 +22953,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___33676 = undefined; - s.eventHandler___33685 = undefined; - s.unnamed160___U2 = undefined; - s.unnamed161___U3 = undefined; - s.newHandler___33701 = undefined; + s.handlerState___12866 = undefined; + s.eventHandler___12875 = undefined; + s.unnamed68___U2 = undefined; + s.unnamed69___U3 = undefined; + s.newHandler___12891 = 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__C22994_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P25591_mk(s); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P4786_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 212; s.pc = 10; return s.tmp_3; case 10: @@ -22977,16 +22977,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C22990_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C2186_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P22991_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P2187_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.callLocIdx = 214; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P23821_mk(s); + s.tmp_7 = game_currentScene__P3017_mk(s); s.callLocIdx = 213; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; @@ -22995,13 +22995,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P25591_mk(s); + s.tmp_0 = controller_Button_handlerState__P4786_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 215; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___33676 = (r0); - r0 = s.handlerState___33676.fields["user"]; + s.handlerState___12866 = (r0); + r0 = s.handlerState___12866.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -23009,44 +23009,44 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___33676; + s.tmp_3 = r0 = s.handlerState___12866; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___33685 = (undefined); - r0 = s.handlerState___33676.fields["user"]; - s.unnamed160___U2 = (r0); - s.unnamed161___U3 = (0); + s.eventHandler___12875 = (undefined); + r0 = s.handlerState___12866.fields["user"]; + s.unnamed68___U2 = (r0); + s.unnamed69___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed161___U3; - r0 = pxsim_Array__length(s.unnamed160___U2); + s.tmp_0 = r0 = s.unnamed69___U3; + r0 = pxsim_Array__length(s.unnamed68___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed160___U2, s.unnamed161___U3); - s.eventHandler___33685 = (r0); - r0 = s.eventHandler___33685.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed68___U2, s.unnamed69___U3); + s.eventHandler___12875 = (r0); + r0 = s.eventHandler___12875.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___33685; + r0 = s.eventHandler___12875; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed161___U3 + 1); - s.unnamed161___U3 = (r0); + r0 = (s.unnamed69___U3 + 1); + s.unnamed69___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed160___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P33698); + s.unnamed68___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P12888); 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__P21196_mk(s); + s.tmp_5 = control_onEvent__P391_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; @@ -23055,30 +23055,30 @@ switch (step) { s.callLocIdx = 217; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C22988_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C2184_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P22989_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P2185_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; s.callLocIdx = 218; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___33701 = (s.tmp_0); - r0 = s.handlerState___33676.fields["user"]; + s.newHandler___12891 = (s.tmp_0); + r0 = s.handlerState___12866.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___33701); - r0 = s.newHandler___33701; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___12891); + r0 = s.newHandler___12891; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P25596.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__P4791.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__P25596_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P4791_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P25596, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P4791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23088,11 +23088,11 @@ function controller_Button_getOrCreateHandlerForEvent__P25596_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___33676: undefined, - eventHandler___33685: undefined, - unnamed160___U2: undefined, - unnamed161___U3: undefined, - newHandler___33701: undefined, + handlerState___12866: undefined, + eventHandler___12875: undefined, + unnamed68___U2: undefined, + unnamed69___U3: undefined, + newHandler___12891: undefined, arg0: undefined, arg1: undefined, } } @@ -23101,7 +23101,7 @@ function controller_Button_getOrCreateHandlerForEvent__P25596_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P33698(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P12888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23111,7 +23111,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P25595_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P4790_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 216; s.pc = 1; return s.tmp_0; @@ -23121,12 +23121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P33698.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__P12888.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__P33698_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P12888_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P33698, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P12888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -23135,7 +23135,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P33698_mk(s) { -function controller_Button_runButtonEvents__P25595(s) { +function controller_Button_runButtonEvents__P4790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23145,25 +23145,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___33715 = undefined; - s.userHandler___33719 = undefined; - s.eventHandler___33730 = undefined; - s.unnamed158___U3 = undefined; - s.unnamed159___U4 = undefined; + s.handlerState___12905 = undefined; + s.userHandler___12909 = undefined; + s.eventHandler___12920 = undefined; + s.unnamed66___U3 = undefined; + s.unnamed67___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__C22994_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P25591_mk(s); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P4786_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 208; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___33715 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___33715); + s.handlerState___12905 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___12905); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23172,19 +23172,19 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P25596_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P4791_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 209; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___33719 = (r0); - r0 = s.userHandler___33719.fields["callback"]; + s.userHandler___12909 = (r0); + r0 = s.userHandler___12909.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___33719; + s.tmp_1.arg0 = s.userHandler___12909; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); s.callLocIdx = 210; s.pc = 16; return s.tmp_1; @@ -23198,23 +23198,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = s.handlerState___33715.fields["system"]; + r0 = s.handlerState___12905.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___33730 = (undefined); - r0 = s.handlerState___33715.fields["system"]; - s.unnamed158___U3 = (r0); - s.unnamed159___U4 = (0); + s.eventHandler___12920 = (undefined); + r0 = s.handlerState___12905.fields["system"]; + s.unnamed66___U3 = (r0); + s.unnamed67___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed159___U4; - r0 = pxsim_Array__length(s.unnamed158___U3); + s.tmp_0 = r0 = s.unnamed67___U4; + r0 = pxsim_Array__length(s.unnamed66___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed158___U3, s.unnamed159___U4); - s.eventHandler___33730 = (r0); - r0 = s.eventHandler___33730.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed66___U3, s.unnamed67___U4); + s.eventHandler___12920 = (r0); + r0 = s.eventHandler___12920.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -23223,14 +23223,14 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___33730.fields["callback"]; + r0 = s.eventHandler___12920.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___33730; + s.tmp_5.arg0 = s.eventHandler___12920; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); s.callLocIdx = 211; s.pc = 17; return s.tmp_5; @@ -23244,11 +23244,11 @@ switch (step) { r0 = s.retval; case 8: case 9: - r0 = (s.unnamed159___U4 + 1); - s.unnamed159___U4 = (r0); + r0 = (s.unnamed67___U4 + 1); + s.unnamed67___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed158___U3 = (undefined); + s.unnamed66___U3 = (undefined); case 11: case 12: case 13: @@ -23256,12 +23256,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P25595.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__P4790.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__P25595_mk(s) { +function controller_Button_runButtonEvents__P4790_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P25595, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P4790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23269,11 +23269,11 @@ function controller_Button_runButtonEvents__P25595_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___33715: undefined, - userHandler___33719: undefined, - eventHandler___33730: undefined, - unnamed158___U3: undefined, - unnamed159___U4: undefined, + handlerState___12905: undefined, + userHandler___12909: undefined, + eventHandler___12920: undefined, + unnamed66___U3: undefined, + unnamed67___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -23282,7 +23282,7 @@ function controller_Button_runButtonEvents__P25595_mk(s) { -function controller_Button_handlerState__P25591(s) { +function controller_Button_handlerState__P4786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23292,32 +23292,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___33746 = undefined; - s.unnamed156___U1 = undefined; - s.unnamed157___U2 = undefined; + s.state___12936 = undefined; + s.unnamed64___U1 = undefined; + s.unnamed65___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); - s.state___33746 = (undefined); - s.tmp_0 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + s.state___12936 = (undefined); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 198; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed156___U1 = (r0); - s.unnamed157___U2 = (0); + s.unnamed64___U1 = (r0); + s.unnamed65___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed157___U2; - r0 = pxsim_Array__length(s.unnamed156___U1); + s.tmp_0 = r0 = s.unnamed65___U2; + r0 = pxsim_Array__length(s.unnamed64___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed156___U1, s.unnamed157___U2); - s.state___33746 = (r0); - r0 = s.state___33746.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); + s.state___12936 = (r0); + r0 = s.state___12936.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -23325,36 +23325,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___33746; + r0 = s.state___12936; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed157___U2 + 1); - s.unnamed157___U2 = (r0); + r0 = (s.unnamed65___U2 + 1); + s.unnamed65___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed156___U1 = (undefined); + s.unnamed64___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P25591.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__P25591.isGetter = true; +controller_Button_handlerState__P4786.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__P4786.isGetter = true; -function controller_Button_handlerState__P25591_mk(s) { +function controller_Button_handlerState__P4786_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P25591, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P4786, 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___33746: undefined, - unnamed156___U1: undefined, - unnamed157___U2: undefined, + state___12936: undefined, + unnamed64___U1: undefined, + unnamed65___U2: undefined, arg0: undefined, } } @@ -23362,7 +23362,7 @@ function controller_Button_handlerState__P25591_mk(s) { -function controller_ButtonEventHandlerState_constructor__P22991(s) { +function controller_ButtonEventHandlerState_constructor__P2187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23378,18 +23378,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C22990_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C2186_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P22991.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__P2187.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__P22991_mk(s) { +function controller_ButtonEventHandlerState_constructor__P2187_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P22991, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P2187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23399,7 +23399,7 @@ function controller_ButtonEventHandlerState_constructor__P22991_mk(s) { -function controller_ButtonHandler_constructor__P22989(s) { +function controller_ButtonHandler_constructor__P2185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23416,19 +23416,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C22988_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C2184_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__P22989.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__P2185.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__P22989_mk(s) { +function controller_ButtonHandler_constructor__P2185_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P22989, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P2185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23439,7 +23439,7 @@ function controller_ButtonHandler_constructor__P22989_mk(s) { -function scene_systemMenu_initScreen__P26075(s) { +function scene_systemMenu_initScreen__P5270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23449,20 +23449,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___33758 = undefined; - s.tmp_0 = settings_readNumber__P22873_mk(s); + s.brightness___12948 = undefined; + s.tmp_0 = settings_readNumber__P2069_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1119; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___33758 = (r0); - r0 = (s.brightness___33758 !== undefined); + s.brightness___12948 = (r0); + r0 = (s.brightness___12948 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P22770_mk(s); - s.tmp_1.arg0 = globals.screen___22837; - s.tmp_1.arg1 = s.brightness___33758; + s.tmp_1 = helpers_setScreenBrightness__P1966_mk(s); + s.tmp_1.arg0 = globals.screen___2033; + s.tmp_1.arg1 = s.brightness___12948; s.callLocIdx = 1120; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23472,23 +23472,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P26075.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__P5270.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__P26075_mk(s) { +function scene_systemMenu_initScreen__P5270_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P26075, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P5270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___33758: undefined, + brightness___12948: undefined, } } -function settings_readNumber__P22873(s) { +function settings_readNumber__P2069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23498,15 +23498,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33769 = undefined; - s.nums___33776 = undefined; + s.buf___12959 = undefined; + s.nums___12966 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___33769 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___33769); + s.buf___12959 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___12959); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23516,20 +23516,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P20988_mk(s); - s.tmp_2.arg0 = s.buf___33769; + s.tmp_2 = msgpack_unpackNumberArray__P183_mk(s); + s.tmp_2.arg0 = s.buf___12959; s.tmp_2.arg1 = 0; s.callLocIdx = 128; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___33776 = (r0); - s.tmp_0 = r0 = s.nums___33776; + s.nums___12966 = (r0); + s.tmp_0 = r0 = s.nums___12966; 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___33776); + r0 = pxsim_Array__length(s.nums___12966); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -23537,7 +23537,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___33776, 0); + r0 = pxsim_Array__getAt(s.nums___12966, 0); { step = 7; continue; } case 4: case 5: @@ -23549,18 +23549,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P22873.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__P2069.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__P22873_mk(s) { +function settings_readNumber__P2069_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P22873, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P2069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___33769: undefined, - nums___33776: undefined, + buf___12959: undefined, + nums___12966: undefined, arg0: undefined, } } @@ -23568,7 +23568,7 @@ function settings_readNumber__P22873_mk(s) { -function settings_readBuffer__P22870(s) { +function settings_readBuffer__P2066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23586,12 +23586,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P22870.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__P2066.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__P22870_mk(s) { +function settings_readBuffer__P2066_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P22870, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P2066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23600,7 +23600,7 @@ function settings_readBuffer__P22870_mk(s) { -function msgpack_unpackNumberArray__P20988(s) { +function msgpack_unpackNumberArray__P183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23610,16 +23610,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___33789 = undefined; - s.fmt___33796 = undefined; - s.v___33805 = undefined; + s.res___12979 = undefined; + s.fmt___12986 = undefined; + s.v___12995 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___33789 = (r0); + s.res___12979 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -23631,14 +23631,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P25243_mk(s); + s.tmp_4 = msgpack_tagFormat__P4438_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 19; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___33796 = (r0); - r0 = (s.fmt___33796 === null); + s.fmt___12986 = (r0); + r0 = (s.fmt___12986 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -23646,21 +23646,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___33805 = (r0); - r0 = (-31 <= s.v___33805); + s.v___12995 = (r0); + r0 = (-31 <= s.v___12995); 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___33805 <= 127); + r0 = (s.v___12995 <= 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___33789, s.v___33805); + r0 = pxsim_Array__push(s.res___12979, s.v___12995); { step = 5; continue; } case 4: r0 = null; @@ -23668,13 +23668,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___33789; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___33796, s.arg1); + s.tmp_0 = r0 = s.res___12979; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___12986, 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__P20980_mk(s); - s.tmp_2.arg0 = s.fmt___33796; + s.tmp_2 = pins_sizeOf__P175_mk(s); + s.tmp_2.arg0 = s.fmt___12986; s.callLocIdx = 20; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -23695,26 +23695,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___33789; + r0 = s.res___12979; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P20988.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__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"]} -function msgpack_unpackNumberArray__P20988_mk(s) { +function msgpack_unpackNumberArray__P183_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P20988, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P183, 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___33789: undefined, - fmt___33796: undefined, - v___33805: undefined, + res___12979: undefined, + fmt___12986: undefined, + v___12995: undefined, arg0: undefined, arg1: undefined, } } @@ -23723,7 +23723,7 @@ function msgpack_unpackNumberArray__P20988_mk(s) { -function scene_systemMenu_initVolume__P26074(s) { +function scene_systemMenu_initVolume__P5269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23733,19 +23733,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___33850 = undefined; - s.tmp_0 = settings_readNumber__P22873_mk(s); + s.vol___13040 = undefined; + s.tmp_0 = settings_readNumber__P2069_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1117; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___33850 = (r0); - r0 = (s.vol___33850 !== undefined); + s.vol___13040 = (r0); + r0 = (s.vol___13040 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P22425_mk(s); - s.tmp_1.arg0 = s.vol___33850; + s.tmp_1 = music_setVolume__P1621_mk(s); + s.tmp_1.arg0 = s.vol___13040; s.callLocIdx = 1118; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23755,23 +23755,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P26074.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__P5269.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__P26074_mk(s) { +function scene_systemMenu_initVolume__P5269_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P26074, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P5269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___33850: undefined, + vol___13040: undefined, } } -function game_GameOverConfig_constructor__P23810(s) { +function game_GameOverConfig_constructor__P3006(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23786,8 +23786,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C23795_VT)) failedCast(r0); - s.tmp_0 = game_GameOverConfig_init__P23811_mk(s); + if (!checkSubtype(r0, game_GameOverConfig__C2991_VT)) failedCast(r0); + s.tmp_0 = game_GameOverConfig_init__P3007_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 940; s.pc = 1; return s.tmp_0; case 1: @@ -23796,12 +23796,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_constructor__P23810.info = {"start":1538,"length":50,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} +game_GameOverConfig_constructor__P3006.info = {"start":1538,"length":50,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} -function game_GameOverConfig_constructor__P23810_mk(s) { +function game_GameOverConfig_constructor__P3006_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_constructor__P23810, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_constructor__P3006, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23811,7 +23811,7 @@ function game_GameOverConfig_constructor__P23810_mk(s) { -function game_GameOverConfig_init__P23811(s) { +function game_GameOverConfig_init__P3007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23826,21 +23826,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C23795_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C2991_VT)) failedCast(r0); r0 = (s.arg0).fields["scoringType"] = (0); - r0 = (s.arg0).fields["winEffect"] = (globals.confetti___24096); - r0 = (s.arg0).fields["loseEffect"] = (globals.melt___24118); + r0 = (s.arg0).fields["winEffect"] = (globals.confetti___3292); + r0 = (s.arg0).fields["loseEffect"] = (globals.melt___3314); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P22728_mk(s); - s.tmp_2.arg0 = globals.powerUp___22455; + s.tmp_2 = music_melodyPlayable__P1924_mk(s); + s.tmp_2.arg0 = globals.powerUp___1651; s.callLocIdx = 941; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["winSound"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P22728_mk(s); - s.tmp_2.arg0 = globals.wawawawaa___22452; + s.tmp_2 = music_melodyPlayable__P1924_mk(s); + s.tmp_2.arg0 = globals.wawawawaa___1648; s.callLocIdx = 942; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -23859,12 +23859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_init__P23811.info = {"start":1598,"length":701,"line":63,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} +game_GameOverConfig_init__P3007.info = {"start":1598,"length":701,"line":63,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} -function game_GameOverConfig_init__P23811_mk(s) { +function game_GameOverConfig_init__P3007_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_init__P23811, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_init__P3007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23876,7 +23876,7 @@ function game_GameOverConfig_init__P23811_mk(s) { -function melt_inline__P33913(s) { +function melt_inline__P13103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23886,11 +23886,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___33916 = undefined; - s.j___33924 = undefined; - s.x___33929 = undefined; - s.y___33935 = undefined; - s.c___33941 = undefined; + s.rounds___13106 = undefined; + s.j___13114 = undefined; + s.x___13119 = undefined; + s.y___13125 = undefined; + s.c___13131 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23903,14 +23903,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___33916 = (r0); - s.j___33924 = (0); + s.rounds___13106 = (r0); + s.j___13114 = (0); case 1: - r0 = (s.j___33924 < s.rounds___33916); + r0 = (s.j___13114 < s.rounds___13106); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P23885_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -23920,8 +23920,8 @@ switch (step) { s.callLocIdx = 58; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___33929 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P23885_mk(s); + s.x___13119 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -23931,42 +23931,42 @@ switch (step) { s.callLocIdx = 59; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___33935 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___33929, s.y___33935); - s.c___33941 = (r0); + s.y___13125 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___13119, s.y___13125); + s.c___13131 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___33929; - r0 = (s.y___33935 + 1); + s.tmp_1 = r0 = s.x___13119; + r0 = (s.y___13125 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___33941); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___13131); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___33929; - r0 = (s.y___33935 + 2); + s.tmp_1 = r0 = s.x___13119; + r0 = (s.y___13125 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___33941); - r0 = (s.j___33924 + 1); - s.j___33924 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___13131); + r0 = (s.j___13114 + 1); + s.j___13114 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P33913.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__P13103.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__P33913_mk(s) { +function melt_inline__P13103_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P33913, depth: s.depth + 1, + parent: s, fn: melt_inline__P13103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___33916: undefined, - j___33924: undefined, - x___33929: undefined, - y___33935: undefined, - c___33941: undefined, + rounds___13106: undefined, + j___13114: undefined, + x___13119: undefined, + y___13125: undefined, + c___13131: undefined, arg0: undefined, arg1: undefined, } } @@ -23975,7 +23975,7 @@ function melt_inline__P33913_mk(s) { -function confetti_inline__P33967(s) { +function confetti_inline__P13157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23985,13 +23985,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___33970 = undefined; + s.factory___13160 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C24040_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C3236_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -24026,27 +24026,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P24041_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P3237_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 48; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___33970 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P24017_mk(s); - s.tmp_0.arg0 = s.factory___33970; + s.factory___13160 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P3213_mk(s); + s.tmp_0.arg0 = s.factory___13160; s.tmp_0.arg1 = 30; s.callLocIdx = 49; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C23973_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C3169_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P23978_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P3174_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___33970; + s.tmp_1.arg3 = s.factory___13160; s.callLocIdx = 50; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -24054,12 +24054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P33967.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__P13157.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__P33967_mk(s) { +function confetti_inline__P13157_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P33967, depth: s.depth + 1, + parent: s, fn: confetti_inline__P13157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24067,7 +24067,7 @@ function confetti_inline__P33967_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___33970: undefined, + factory___13160: undefined, arg0: undefined, arg1: undefined, } } @@ -24076,7 +24076,7 @@ function confetti_inline__P33967_mk(s) { -function particles_ParticleSource_constructor__P23978(s) { +function particles_ParticleSource_constructor__P3174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24086,8 +24086,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33991 = undefined; - s.removedSource___34000 = undefined; + s.sources___13181 = undefined; + s.removedSource___13190 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24096,62 +24096,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P22901_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P2097_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1139; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P26151_mk(s); + s.tmp_0 = particles_init__P5346_mk(s); s.callLocIdx = 1140; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1141; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___33991 = (r0); - r0 = pxsim_Array__length(s.sources___33991); + s.sources___13181 = (r0); + r0 = pxsim_Array__length(s.sources___13181); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___26143); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___5338); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P26154_mk(s); - s.tmp_2.arg0 = s.sources___33991; + s.tmp_2 = particles_sortSources__P5349_mk(s); + s.tmp_2.arg0 = s.sources___13181; s.callLocIdx = 1142; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___33991, 0); - s.removedSource___34000 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P23988_mk(s); - s.tmp_0.arg0 = s.removedSource___34000; + r0 = pxsim_Array_.removeAt(s.sources___13181, 0); + s.removedSource___13190 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P3184_mk(s); + s.tmp_0.arg0 = s.removedSource___13190; s.callLocIdx = 1144; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P23987_mk(s); - s.tmp_0.arg0 = s.removedSource___34000; + s.tmp_0 = particles_ParticleSource_destroy__P3183_mk(s); + s.tmp_0.arg0 = s.removedSource___13190; s.callLocIdx = 1145; 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__P23990_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P3186_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1146; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P23982_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P3178_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1147; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P23989_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P3185_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1148; s.pc = 13; return s.tmp_0; @@ -24166,18 +24166,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___23993; + r0 = globals.defaultFactory___3189; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P23992_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P3188_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1149; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___33991, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P23986_mk(s); + r0 = pxsim_Array__push(s.sources___13181, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1150; s.pc = 15; return s.tmp_0; @@ -24187,18 +24187,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P23978.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__P3174.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__P23978_mk(s) { +function particles_ParticleSource_constructor__P3174_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P23978, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P3174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___33991: undefined, - removedSource___34000: undefined, + sources___13181: undefined, + removedSource___13190: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24209,7 +24209,7 @@ function particles_ParticleSource_constructor__P23978_mk(s) { -function particles_sortSources__P26154(s) { +function particles_sortSources__P5349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24223,9 +24223,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P20910_mk(s); + s.tmp_0 = helpers_arraySort__P105_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P34194; + s.tmp_0.arg1 = particles_sortSources_inline__P13384; s.callLocIdx = 1188; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -24233,12 +24233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P26154.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__P5349.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__P26154_mk(s) { +function particles_sortSources__P5349_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P26154, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P5349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24248,7 +24248,7 @@ function particles_sortSources__P26154_mk(s) { -function particles_sortSources_inline__P34194(s) { +function particles_sortSources_inline__P13384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24286,12 +24286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P34194.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__P13384.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__P34194_mk(s) { +function particles_sortSources_inline__P13384_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P34194, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P13384, 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 particles_sortSources_inline__P34194_mk(s) { -function particles_init__P26151(s) { +function particles_init__P5346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24317,33 +24317,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___34233 = undefined; - s.tmp_0 = game_currentScene__P23821_mk(s); + s.scene___13423 = undefined; + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 1178; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___34233 = (r0); - r0 = s.scene___34233.fields["particleSources"]; + s.scene___13423 = (r0); + r0 = s.scene___13423.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___34233; + s.tmp_1 = r0 = s.scene___13423; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___26146 = (r0); - s.tmp_0 = game_onUpdate__P23845_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P26152; + globals.lastUpdate___5341 = (r0); + s.tmp_0 = game_onUpdate__P3041_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P5347; s.callLocIdx = 1179; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P23846_mk(s); + s.tmp_0 = game_onUpdateInterval__P3042_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P26153; + s.tmp_0.arg1 = particles_pruneParticles__P5348; s.callLocIdx = 1180; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -24352,24 +24352,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P26151.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P5346.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__P26151_mk(s) { +function particles_init__P5346_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P26151, depth: s.depth + 1, + parent: s, fn: particles_init__P5346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___34233: undefined, + scene___13423: undefined, } } -function particles_updateParticles__P26152(s) { +function particles_updateParticles__P5347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24379,16 +24379,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___34248 = undefined; - s.time___34255 = undefined; - s.dt___34258 = undefined; - s.i___34264 = undefined; - s.tmp_0 = particles_particleSources__P26157_mk(s); + s.sources___13438 = undefined; + s.time___13445 = undefined; + s.dt___13448 = undefined; + s.i___13454 = undefined; + s.tmp_0 = particles_particleSources__P5352_mk(s); s.callLocIdx = 1181; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___34248 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___34248); + s.sources___13438 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___13438); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24397,34 +24397,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P26154_mk(s); - s.tmp_2.arg0 = s.sources___34248; + s.tmp_2 = particles_sortSources__P5349_mk(s); + s.tmp_2.arg0 = s.sources___13438; s.callLocIdx = 1182; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___34255 = (r0); - r0 = (s.time___34255 - globals.lastUpdate___26146); - s.dt___34258 = (r0); - globals.lastUpdate___26146 = (s.time___34255); - s.i___34264 = (0); + s.time___13445 = (r0); + r0 = (s.time___13445 - globals.lastUpdate___5341); + s.dt___13448 = (r0); + globals.lastUpdate___5341 = (s.time___13445); + s.i___13454 = (0); case 3: - s.tmp_1 = r0 = s.i___34264; - r0 = pxsim_Array__length(s.sources___34248); + s.tmp_1 = r0 = s.i___13454; + r0 = pxsim_Array__length(s.sources___13438); 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__P23980_mk(s); - r0 = pxsim_Array__getAt(s.sources___34248, s.i___34264); + s.tmp_3 = particles_ParticleSource__update__P3176_mk(s); + r0 = pxsim_Array__getAt(s.sources___13438, s.i___13454); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___34258; + s.tmp_3.arg1 = s.dt___13448; s.callLocIdx = 1183; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___34264 + 1); - s.i___34264 = (r0); + r0 = (s.i___13454 + 1); + s.i___13454 = (r0); { step = 3; continue; } case 4: case 5: @@ -24432,28 +24432,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P26152.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P5347.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__P26152_mk(s) { +function particles_updateParticles__P5347_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P26152, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P5347, 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___34248: undefined, - time___34255: undefined, - dt___34258: undefined, - i___34264: undefined, + sources___13438: undefined, + time___13445: undefined, + dt___13448: undefined, + i___13454: undefined, } } -function particles_ParticleSource__update__P23980(s) { +function particles_ParticleSource__update__P3176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24463,16 +24463,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34327 = undefined; - s.current___34346 = undefined; - s.fixedDt___34354 = undefined; + s.p___13517 = undefined; + s.current___13536 = undefined; + s.fixedDt___13544 = 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__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -24498,7 +24498,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P23987_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P3183_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1154; s.pc = 28; return s.tmp_0; case 28: @@ -24571,7 +24571,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P23985_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P3181_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1157; s.pc = 31; return s.tmp_2; case 31: @@ -24589,18 +24589,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__C24009_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C3205_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__C24009_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C3205_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___34327 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___34327); + s.p___13517 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___13517); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24611,8 +24611,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___34327).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___34327); + r0 = (s.p___13517).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___13517); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -24627,7 +24627,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___34346 = (r0); + s.current___13536 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -24639,36 +24639,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___34354 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___34354); + s.fixedDt___13544 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___13544); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___34346.fields["lifespan"]; + r0 = s.current___13536.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___34346; + s.tmp_2 = r0 = s.current___13536; 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__C23973_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C3169_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___34346; - s.tmp_0.arg2 = s.fixedDt___34354; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C23973_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___13536; + s.tmp_0.arg2 = s.fixedDt___13544; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C3169_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 20: case 21: - r0 = s.current___34346.fields["next"]; + r0 = s.current___13536.fields["next"]; s.tmp_0 = r0; - s.current___34346 = (r0); + s.current___13536 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -24677,15 +24677,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___34346; + s.tmp_0 = r0 = s.current___13536; 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___34346.fields["next"]; + r0 = s.current___13536.fields["next"]; s.tmp_0 = r0; - s.current___34346 = (r0); + s.current___13536 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -24696,12 +24696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P23980.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__P3176.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__P23980_mk(s) { +function particles_ParticleSource__update__P3176_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P23980, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P3176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24711,9 +24711,9 @@ function particles_ParticleSource__update__P23980_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___34327: undefined, - current___34346: undefined, - fixedDt___34354: undefined, + p___13517: undefined, + current___13536: undefined, + fixedDt___13544: undefined, arg0: undefined, arg1: undefined, } } @@ -24722,7 +24722,7 @@ function particles_ParticleSource__update__P23980_mk(s) { -function particles_ParticleSource_updateParticle__P26148(s) { +function particles_ParticleSource_updateParticle__P5343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24739,7 +24739,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -24794,12 +24794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P26148.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__P5343.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__P26148_mk(s) { +function particles_ParticleSource_updateParticle__P5343_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P26148, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P5343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24816,7 +24816,7 @@ function particles_ParticleSource_updateParticle__P26148_mk(s) { -function Fx_rightShift__P20976(s) { +function Fx_rightShift__P171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24835,12 +24835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P20976.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__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"]} -function Fx_rightShift__P20976_mk(s) { +function Fx_rightShift__P171_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P20976, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24850,7 +24850,7 @@ function Fx_rightShift__P20976_mk(s) { -function particles_ParticleFactory_createParticle__P24011(s) { +function particles_ParticleFactory_createParticle__P3207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24860,17 +24860,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34437 = undefined; + s.p___13627 = 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__C24009_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C23954_VT); - s.p___34437 = (r0); - s.tmp_0 = r0 = s.p___34437; + if (!checkSubtype(r0, particles_ParticleFactory__C3205_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C3150_VT); + s.p___13627 = (r0); + s.tmp_0 = r0 = s.p___13627; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24889,7 +24889,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___34437; + s.tmp_0 = r0 = s.p___13627; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24908,26 +24908,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___34437).fields["vx"] = (0); - r0 = (s.p___34437).fields["vy"] = (0); - r0 = (s.p___34437).fields["lifespan"] = (500); - r0 = s.p___34437; + r0 = (s.p___13627).fields["vx"] = (0); + r0 = (s.p___13627).fields["vy"] = (0); + r0 = (s.p___13627).fields["lifespan"] = (500); + r0 = s.p___13627; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P24011.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__P3207.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__P24011_mk(s) { +function particles_ParticleFactory_createParticle__P3207_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P24011, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P3207, 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___34437: undefined, + p___13627: undefined, arg0: undefined, arg1: undefined, } } @@ -24936,7 +24936,7 @@ function particles_ParticleFactory_createParticle__P24011_mk(s) { -function MAX_SOURCES_inline__P34209(s) { +function MAX_SOURCES_inline__P13399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24946,13 +24946,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___34210 = undefined; - s.tmp_0 = control_ramSize__P21151_mk(s); + s.sz___13400 = undefined; + s.tmp_0 = control_ramSize__P346_mk(s); s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___34210 = (r0); - r0 = (s.sz___34210 <= 102400); + s.sz___13400 = (r0); + r0 = (s.sz___13400 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -24960,7 +24960,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___34210 <= 204800); + r0 = (s.sz___13400 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -24977,23 +24977,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P34209.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__P13399.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__P34209_mk(s) { +function MAX_SOURCES_inline__P13399_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P34209, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P13399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___34210: undefined, + sz___13400: undefined, } } -function control_ramSize__P21151(s) { +function control_ramSize__P346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25018,12 +25018,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P21151.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +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":[]} -function control_ramSize__P21151_mk(s) { +function control_ramSize__P346_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P21151, depth: s.depth + 1, + parent: s, fn: control_ramSize__P346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25033,7 +25033,7 @@ function control_ramSize__P21151_mk(s) { -function control__ramSize__P25270(s) { +function control__ramSize__P4465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25047,12 +25047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P25270.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P4465.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__P25270_mk(s) { +function control__ramSize__P4465_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P25270, depth: s.depth + 1, + parent: s, fn: control__ramSize__P4465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -25060,7 +25060,7 @@ function control__ramSize__P25270_mk(s) { -function particles_SprayFactory_constructor__P24014(s) { +function particles_SprayFactory_constructor__P3210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25078,19 +25078,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C24013_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P26172_mk(s); + s.tmp_0 = particles_initTrig__P5367_mk(s); s.callLocIdx = 1215; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P24017_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P3213_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1216; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P24018_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P3214_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -25101,12 +25101,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P24014.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__P3210.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__P24014_mk(s) { +function particles_SprayFactory_constructor__P3210_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P24014, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P3210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25119,7 +25119,7 @@ function particles_SprayFactory_constructor__P24014_mk(s) { -function particles_initTrig__P26172(s) { +function particles_initTrig__P5367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25129,36 +25129,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___26158); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___5353); 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__P24007_mk(s); + s.tmp_2 = particles_cacheSin__P3203_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1203; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___26158 = (r0); - s.tmp_0 = particles_cacheCos__P24008_mk(s); + globals.cachedSin___5353 = (r0); + s.tmp_0 = particles_cacheCos__P3204_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1204; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___26159 = (r0); + globals.cachedCos___5354 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P26172.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P5367.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__P26172_mk(s) { +function particles_initTrig__P5367_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P26172, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P5367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25169,7 +25169,7 @@ function particles_initTrig__P26172_mk(s) { -function particles_cacheCos__P24008(s) { +function particles_cacheCos__P3204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25179,25 +25179,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___34094 = undefined; - s.anglePerSlice___34096 = undefined; - s.i___34102 = undefined; + s.cos___13284 = undefined; + s.anglePerSlice___13286 = undefined; + s.i___13292 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___34094 = (r0); + s.cos___13284 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___34096 = (r0); - s.i___34102 = (0); + s.anglePerSlice___13286 = (r0); + s.i___13292 = (0); case 1: - r0 = (s.i___34102 < s.arg0); + r0 = (s.i___13292 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___34094; - r0 = (s.i___34102 * s.anglePerSlice___34096); + s.tmp_1 = r0 = s.cos___13284; + r0 = (s.i___13292 * s.anglePerSlice___13286); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -25206,20 +25206,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___34102 + 1); - s.i___34102 = (r0); + r0 = (s.i___13292 + 1); + s.i___13292 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___34094; + r0 = s.cos___13284; return leave(s, r0) default: oops() } } } -particles_cacheCos__P24008.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__P3204.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__P24008_mk(s) { +function particles_cacheCos__P3204_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P24008, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P3204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25227,9 +25227,9 @@ function particles_cacheCos__P24008_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___34094: undefined, - anglePerSlice___34096: undefined, - i___34102: undefined, + cos___13284: undefined, + anglePerSlice___13286: undefined, + i___13292: undefined, arg0: undefined, } } @@ -25237,7 +25237,7 @@ function particles_cacheCos__P24008_mk(s) { -function particles_cacheSin__P24007(s) { +function particles_cacheSin__P3203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25247,25 +25247,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___34120 = undefined; - s.anglePerSlice___34122 = undefined; - s.i___34128 = undefined; + s.sin___13310 = undefined; + s.anglePerSlice___13312 = undefined; + s.i___13318 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___34120 = (r0); + s.sin___13310 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___34122 = (r0); - s.i___34128 = (0); + s.anglePerSlice___13312 = (r0); + s.i___13318 = (0); case 1: - r0 = (s.i___34128 < s.arg0); + r0 = (s.i___13318 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___34120; - r0 = (s.i___34128 * s.anglePerSlice___34122); + s.tmp_1 = r0 = s.sin___13310; + r0 = (s.i___13318 * s.anglePerSlice___13312); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -25274,20 +25274,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___34128 + 1); - s.i___34128 = (r0); + r0 = (s.i___13318 + 1); + s.i___13318 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___34120; + r0 = s.sin___13310; return leave(s, r0) default: oops() } } } -particles_cacheSin__P24007.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__P3203.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__P24007_mk(s) { +function particles_cacheSin__P3203_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P24007, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P3203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25295,9 +25295,9 @@ function particles_cacheSin__P24007_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___34120: undefined, - anglePerSlice___34122: undefined, - i___34128: undefined, + sin___13310: undefined, + anglePerSlice___13312: undefined, + i___13318: undefined, arg0: undefined, } } @@ -25305,7 +25305,7 @@ function particles_cacheSin__P24007_mk(s) { -function particles_SprayFactory_setDirection__P24018(s) { +function particles_SprayFactory_setDirection__P3214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25322,9 +25322,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C24013_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P26177_mk(s); + s.tmp_4 = particles_toRadians__P5372_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -25334,19 +25334,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___26171); + r0 = (s.tmp_3 / globals.angleSlice___5366); 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__P26177_mk(s); + s.tmp_4 = particles_toRadians__P5372_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1226; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___26171); + r0 = (s.tmp_3 / globals.angleSlice___5366); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -25355,12 +25355,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P24018.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__P3214.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__P24018_mk(s) { +function particles_SprayFactory_setDirection__P3214_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P24018, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P3214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25378,7 +25378,7 @@ function particles_SprayFactory_setDirection__P24018_mk(s) { -function particles_toRadians__P26177(s) { +function particles_toRadians__P5372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25396,7 +25396,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P20933_mk(s); + s.tmp_3 = Math_abs__P128_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1207; s.pc = 3; return s.tmp_3; case 3: @@ -25415,12 +25415,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P26177.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__P5372.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__P26177_mk(s) { +function particles_toRadians__P5372_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P26177, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P5372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25433,7 +25433,7 @@ function particles_toRadians__P26177_mk(s) { -function particles_ParticleFactory_constructor__P24010(s) { +function particles_ParticleFactory_constructor__P3206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25448,17 +25448,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C24009_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C3205_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P24010.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__P3206.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__P24010_mk(s) { +function particles_ParticleFactory_constructor__P3206_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P24010, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P3206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25467,7 +25467,7 @@ function particles_ParticleFactory_constructor__P24010_mk(s) { -function particles_ParticleSource_setFactory__P23992(s) { +function particles_ParticleSource_setFactory__P3188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25483,7 +25483,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -25493,12 +25493,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P23992.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__P3188.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__P23992_mk(s) { +function particles_ParticleSource_setFactory__P3188_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P23992, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P3188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25508,7 +25508,7 @@ function particles_ParticleSource_setFactory__P23992_mk(s) { -function particles_ParticleSource_setRate__P23990(s) { +function particles_ParticleSource_setRate__P3186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25524,7 +25524,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -25536,12 +25536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P23990.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__P3186.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__P23990_mk(s) { +function particles_ParticleSource_setRate__P3186_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P23990, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P3186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25554,7 +25554,7 @@ function particles_ParticleSource_setRate__P23990_mk(s) { -function particles_ParticleSource_setAnchor__P23989(s) { +function particles_ParticleSource_setAnchor__P3185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25570,18 +25570,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P23989.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__P3185.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__P23989_mk(s) { +function particles_ParticleSource_setAnchor__P3185_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P23989, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P3185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25591,7 +25591,7 @@ function particles_ParticleSource_setAnchor__P23989_mk(s) { -function particles_ParticleSource_destroy__P23987(s) { +function particles_ParticleSource_destroy__P3183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25606,8 +25606,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P23986_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P3182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1164; s.pc = 1; return s.tmp_0; @@ -25619,7 +25619,7 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P23981_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P3177_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1165; s.pc = 2; return s.tmp_0; case 2: @@ -25628,12 +25628,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P23987.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__P3183.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__P23987_mk(s) { +function particles_ParticleSource_destroy__P3183_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P23987, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P3183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25645,7 +25645,7 @@ function particles_ParticleSource_destroy__P23987_mk(s) { -function particles_ParticleSource_setAcceleration__P23982(s) { +function particles_ParticleSource_setAcceleration__P3178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25662,7 +25662,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25679,12 +25679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P23982.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__P3178.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__P23982_mk(s) { +function particles_ParticleSource_setAcceleration__P3178_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P23982, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P3178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25698,7 +25698,7 @@ function particles_ParticleSource_setAcceleration__P23982_mk(s) { -function helpers_arrayShift__P20907(s) { +function helpers_arrayShift__P102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25716,12 +25716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P20907.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P102.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -function helpers_arrayShift__P20907_mk(s) { +function helpers_arrayShift__P102_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P20907, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25730,7 +25730,7 @@ function helpers_arrayShift__P20907_mk(s) { -function particles_SprayFactory_setSpeed__P24017(s) { +function particles_SprayFactory_setSpeed__P3213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25746,7 +25746,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C24013_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25757,12 +25757,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P24017.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__P3213.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__P24017_mk(s) { +function particles_SprayFactory_setSpeed__P3213_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P24017, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P3213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25775,7 +25775,7 @@ function particles_SprayFactory_setSpeed__P24017_mk(s) { -function particles_ConfettiFactory_constructor__P24041(s) { +function particles_ConfettiFactory_constructor__P3237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25785,8 +25785,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___34469 = undefined; - s.i___34485 = undefined; + s.confetti___13659 = undefined; + s.i___13675 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25794,52 +25794,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C24040_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C3236_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex34472); + r0 = pxsim.image.ofBuffer(_hex13662); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex34474); + r0 = pxsim.image.ofBuffer(_hex13664); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex34476); + r0 = pxsim.image.ofBuffer(_hex13666); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex34478); + r0 = pxsim.image.ofBuffer(_hex13668); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex34480); + r0 = pxsim.image.ofBuffer(_hex13670); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___34469 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P24036_mk(s); + s.confetti___13659 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P3232_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - r0 = pxsim_Array__getAt(s.confetti___34469, 0); + r0 = pxsim_Array__getAt(s.confetti___13659, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1249; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___34485 = (1); + s.i___13675 = (1); case 1: - s.tmp_1 = r0 = s.i___34485; - r0 = pxsim_Array__length(s.confetti___34469); + s.tmp_1 = r0 = s.i___13675; + r0 = pxsim_Array__length(s.confetti___13659); 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__P24037_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P3233_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___34469, s.i___34485); + r0 = pxsim_Array__getAt(s.confetti___13659, s.i___13675); s.tmp_3.arg1 = r0; s.callLocIdx = 1250; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___34485 + 1); - s.i___34485 = (r0); + r0 = (s.i___13675 + 1); + s.i___13675 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -25848,12 +25848,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P24041.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__P3237.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__P24041_mk(s) { +function particles_ConfettiFactory_constructor__P3237_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P24041, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P3237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25861,23 +25861,23 @@ function particles_ConfettiFactory_constructor__P24041_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___34469: undefined, - i___34485: undefined, + confetti___13659: undefined, + i___13675: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex34472 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex34474 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex34476 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex34478 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex34480 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex13662 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex13664 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex13666 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex13668 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex13670 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P24037(s) { +function particles_ShapeFactory_addShape__P3233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25893,7 +25893,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C24035_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C3231_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -25905,12 +25905,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P24037.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__P3233.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__P24037_mk(s) { +function particles_ShapeFactory_addShape__P3233_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P24037, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P3233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25921,7 +25921,7 @@ function particles_ShapeFactory_addShape__P24037_mk(s) { -function particles_ShapeFactory_constructor__P24036(s) { +function particles_ShapeFactory_constructor__P3232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25939,8 +25939,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C24035_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P24024_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C3231_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P3220_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -25977,12 +25977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P24036.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__P3232.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__P24036_mk(s) { +function particles_ShapeFactory_constructor__P3232_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P24036, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P3232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25999,7 +25999,7 @@ function particles_ShapeFactory_constructor__P24036_mk(s) { -function particles_AreaFactory_constructor__P24024(s) { +function particles_AreaFactory_constructor__P3220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26018,8 +26018,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C24019_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P24014_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C3215_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P3210_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -26049,9 +26049,9 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C23881_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3077_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P23883_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P3079_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1228; s.pc = 6; return s.tmp_1; @@ -26062,12 +26062,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P24024.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__P3220.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__P24024_mk(s) { +function particles_AreaFactory_constructor__P3220_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P24024, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P3220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26082,7 +26082,7 @@ function particles_AreaFactory_constructor__P24024_mk(s) { -function effects_ScreenEffect_constructor__P24089(s) { +function effects_ScreenEffect_constructor__P3285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26101,8 +26101,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C24088_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P24085_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C3284_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P3281_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -26115,12 +26115,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P24089.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__P3285.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__P24089_mk(s) { +function effects_ScreenEffect_constructor__P3285_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P24089, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P3285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26134,7 +26134,7 @@ function effects_ScreenEffect_constructor__P24089_mk(s) { -function effects_ParticleEffect_constructor__P24085(s) { +function effects_ParticleEffect_constructor__P3281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26152,7 +26152,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C24084_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C3280_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -26160,12 +26160,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P24085.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__P3281.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__P24085_mk(s) { +function effects_ParticleEffect_constructor__P3281_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P24085, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P3281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26177,7 +26177,7 @@ function effects_ParticleEffect_constructor__P24085_mk(s) { -function music_melodyPlayable__P22728(s) { +function music_melodyPlayable__P1924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26191,9 +26191,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C22721_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C1917_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayable_constructor__P22722_mk(s); + s.tmp_1 = music_MelodyPlayable_constructor__P1918_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 73; s.pc = 1; return s.tmp_1; @@ -26203,12 +26203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_melodyPlayable__P22728.info = {"start":3617,"length":107,"line":133,"column":4,"endLine":135,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} +music_melodyPlayable__P1924.info = {"start":3617,"length":107,"line":133,"column":4,"endLine":135,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} -function music_melodyPlayable__P22728_mk(s) { +function music_melodyPlayable__P1924_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_melodyPlayable__P22728, depth: s.depth + 1, + parent: s, fn: music_melodyPlayable__P1924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26219,7 +26219,7 @@ function music_melodyPlayable__P22728_mk(s) { -function music_MelodyPlayable_constructor__P22722(s) { +function music_MelodyPlayable_constructor__P1918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26235,19 +26235,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C22721_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C1917_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayable_constructor__P22722.info = {"start":1531,"length":67,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this","melody"]} +music_MelodyPlayable_constructor__P1918.info = {"start":1531,"length":67,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this","melody"]} -function music_MelodyPlayable_constructor__P22722_mk(s) { +function music_MelodyPlayable_constructor__P1918_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_constructor__P22722, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_constructor__P1918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26257,7 +26257,7 @@ function music_MelodyPlayable_constructor__P22722_mk(s) { -function music_Playable_constructor__P22718(s) { +function music_Playable_constructor__P1914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26272,17 +26272,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C22716_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Playable__C1912_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_constructor__P22718.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} +music_Playable_constructor__P1914.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} -function music_Playable_constructor__P22718_mk(s) { +function music_Playable_constructor__P1914_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_constructor__P22718, depth: s.depth + 1, + parent: s, fn: music_Playable_constructor__P1914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26291,7 +26291,7 @@ function music_Playable_constructor__P22718_mk(s) { -function music_Melody_constructor__P22434(s) { +function music_Melody_constructor__P1630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26307,18 +26307,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C22431_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1627_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P22434.info = {"start":6430,"length":67,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P1630.info = {"start":6430,"length":67,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P22434_mk(s) { +function music_Melody_constructor__P1630_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P22434, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P1630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26328,7 +26328,7 @@ function music_Melody_constructor__P22434_mk(s) { -function Fx8__P20954(s) { +function Fx8__P149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26348,12 +26348,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P20954.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P149.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -function Fx8__P20954_mk(s) { +function Fx8__P149_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P20954, depth: s.depth + 1, + parent: s, fn: Fx8__P149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26363,7 +26363,7 @@ function Fx8__P20954_mk(s) { -function SpriteKind_create__P23284(s) { +function SpriteKind_create__P2480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26373,26 +26373,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___25626 === undefined); + r0 = (globals.nextKind___4821 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___25626 = (1000); + globals.nextKind___4821 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___25626; + s.tmp_0 = r0 = globals.nextKind___4821; r0 = (s.tmp_0 + 1); - globals.nextKind___25626 = (r0); + globals.nextKind___4821 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P23284.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P2480.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__P23284_mk(s) { +function SpriteKind_create__P2480_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P23284, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P2480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26401,7 +26401,7 @@ function SpriteKind_create__P23284_mk(s) { -function controller_Button_constructor__P23000(s) { +function controller_Button_constructor__P2196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26418,7 +26418,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -26428,13 +26428,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__P34622); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P13812); 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__P34629); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P13819); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -26453,12 +26453,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P23000.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__P2196.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__P23000_mk(s) { +function controller_Button_constructor__P2196_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P23000, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P2196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26472,7 +26472,7 @@ function controller_Button_constructor__P23000_mk(s) { -function controller_Button_inline__P34622(s) { +function controller_Button_inline__P13812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26482,7 +26482,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P23007_mk(s); + s.tmp_0 = controller_Button_setPressed__P2203_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 199; s.pc = 1; return s.tmp_0; @@ -26492,12 +26492,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P34622.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__P13812.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__P34622_mk(s) { +function controller_Button_inline__P13812_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P34622, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P13812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26506,7 +26506,7 @@ function controller_Button_inline__P34622_mk(s) { -function controller_Button_inline__P34629(s) { +function controller_Button_inline__P13819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26516,7 +26516,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P23007_mk(s); + s.tmp_0 = controller_Button_setPressed__P2203_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 200; s.pc = 1; return s.tmp_0; @@ -26526,12 +26526,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P34629.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__P13819.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__P34629_mk(s) { +function controller_Button_inline__P13819_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P34629, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P13819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26540,7 +26540,7 @@ function controller_Button_inline__P34629_mk(s) { -function controller_setupButton__P25609(s) { +function controller_setupButton__P4804(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26559,12 +26559,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P25609.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__P4804.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__P25609_mk(s) { +function controller_setupButton__P4804_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P25609, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P4804, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26574,7 +26574,7 @@ function controller_setupButton__P25609_mk(s) { -function controller_Button_setPressed__P23007(s) { +function controller_Button_setPressed__P2203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26590,14 +26590,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C2190_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__P22734_mk(s); + s.tmp_2 = power_poke__P1930_mk(s); s.callLocIdx = 203; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -26605,7 +26605,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P22961_mk(s); + s.tmp_1 = controller_Controller_connected__P2157_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -26620,7 +26620,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P25593_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P4788_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 205; s.pc = 9; return s.tmp_0; case 9: @@ -26628,7 +26628,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P25592_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P4787_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 206; s.pc = 10; return s.tmp_0; case 10: @@ -26640,12 +26640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P23007.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__P2203.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__P23007_mk(s) { +function controller_Button_setPressed__P2203_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P23007, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P2203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26658,7 +26658,7 @@ function controller_Button_setPressed__P23007_mk(s) { -function controller_Button_raiseButtonDown__P25593(s) { +function controller_Button_raiseButtonDown__P4788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26673,8 +26673,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___25603); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4798); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26689,12 +26689,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P25593.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__P4788.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__P25593_mk(s) { +function controller_Button_raiseButtonDown__P4788_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P25593, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P4788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26704,7 +26704,7 @@ function controller_Button_raiseButtonDown__P25593_mk(s) { -function controller_Button_raiseButtonUp__P25592(s) { +function controller_Button_raiseButtonUp__P4787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26719,8 +26719,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___25603); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4798); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26735,12 +26735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P25592.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__P4787.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__P25592_mk(s) { +function controller_Button_raiseButtonUp__P4787_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P25592, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P4787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26750,7 +26750,7 @@ function controller_Button_raiseButtonUp__P25592_mk(s) { -function game_addScenePushHandler__P23840(s) { +function game_addScenePushHandler__P3036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26764,35 +26764,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___25809); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5004); 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___25809 = (r0); + globals._scenePushHandlers___5004 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___25809, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___5004, 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___25809, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___5004, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P23840.info = {"start":16692,"length":242,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P3036.info = {"start":16692,"length":242,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P23840_mk(s) { +function game_addScenePushHandler__P3036_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P23840, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P3036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26803,7 +26803,7 @@ function game_addScenePushHandler__P23840_mk(s) { -function controller_Controller_id__P22946(s) { +function controller_Controller_id__P2142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26818,18 +26818,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P22946.info = {"start":3444,"length":49,"line":109,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P22946.isGetter = true; +controller_Controller_id__P2142.info = {"start":3444,"length":49,"line":109,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P2142.isGetter = true; -function controller_Controller_id__P22946_mk(s) { +function controller_Controller_id__P2142_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P22946, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P2142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26838,7 +26838,7 @@ function controller_Controller_id__P22946_mk(s) { -function controller_Controller_connected__P22960(s) { +function controller_Controller_connected__P2156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26853,18 +26853,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C22939_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C2135_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P22960.info = {"start":7723,"length":63,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P22960.isGetter = true; +controller_Controller_connected__P2156.info = {"start":7723,"length":63,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P2156.isGetter = true; -function controller_Controller_connected__P22960_mk(s) { +function controller_Controller_connected__P2156_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P22960, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P2156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26873,7 +26873,7 @@ function controller_Controller_connected__P22960_mk(s) { -function game_currentScene__P23821(s) { +function game_currentScene__P3017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26883,21 +26883,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P25815_mk(s); + s.tmp_0 = game_init__P5010_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 944; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___25807; + r0 = globals._scene___5002; return leave(s, r0) default: oops() } } } -game_currentScene__P23821.info = {"start":4670,"length":90,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P3017.info = {"start":4670,"length":90,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P23821_mk(s) { +function game_currentScene__P3017_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P23821, depth: s.depth + 1, + parent: s, fn: game_currentScene__P3017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26906,7 +26906,7 @@ function game_currentScene__P23821_mk(s) { -function game_addScenePopHandler__P23842(s) { +function game_addScenePopHandler__P3038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26920,35 +26920,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___25810); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5005); 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___25810 = (r0); + globals._scenePopHandlers___5005 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___25810, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___5005, 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___25810, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___5005, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P23842.info = {"start":17693,"length":237,"line":527,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P3038.info = {"start":17693,"length":237,"line":527,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P23842_mk(s) { +function game_addScenePopHandler__P3038_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P23842, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P3038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26959,7 +26959,7 @@ function game_addScenePopHandler__P23842_mk(s) { -function settings_initScopes__P25497(s) { +function settings_initScopes__P4692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26969,17 +26969,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___34724 = undefined; - s.tmp_1 = settings_runNumber__P22863_mk(s); + s.rn___13914 = undefined; + s.tmp_1 = settings_runNumber__P2059_mk(s); s.callLocIdx = 119; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___34724 = (r0); - s.tmp_0 = settings_writeNumber__P22868_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___25485; - s.tmp_0.arg1 = s.rn___34724; + s.rn___13914 = (r0); + s.tmp_0 = settings_writeNumber__P2064_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___4680; + s.tmp_0.arg1 = s.rn___13914; s.callLocIdx = 120; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -26988,8 +26988,8 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___34724); - s.tmp_0 = settings_setScope__P25496_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___13914); + s.tmp_0 = settings_setScope__P4691_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 121; s.pc = 3; return s.tmp_0; @@ -26999,23 +26999,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P25497.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P4692.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__P25497_mk(s) { +function settings_initScopes__P4692_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P25497, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P4692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___34724: undefined, + rn___13914: undefined, } } -function settings_setScope__P25496(s) { +function settings_setScope__P4691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27025,7 +27025,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___34753 = undefined; + s.currScope___13943 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -27050,19 +27050,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P22871_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___25486; + s.tmp_0 = settings_readString__P2067_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___4681; s.callLocIdx = 117; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___34753 = (r0); - r0 = (s.currScope___34753 != s.arg0); + s.currScope___13943 = (r0); + r0 = (s.currScope___13943 != 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__P22866_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___25486; + s.tmp_0 = settings_writeString__P2062_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___4681; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 118; s.pc = 8; return s.tmp_0; case 8: @@ -27073,18 +27073,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P25496.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__P4691.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__P25496_mk(s) { +function settings_setScope__P4691_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P25496, depth: s.depth + 1, + parent: s, fn: settings_setScope__P4691, 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___34753: undefined, + currScope___13943: undefined, arg0: undefined, } } @@ -27092,7 +27092,7 @@ function settings_setScope__P25496_mk(s) { -function settings_readString__P22871(s) { +function settings_readString__P2067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27102,14 +27102,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___34774 = undefined; + s.buf___13964 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___34774 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___34774); + s.buf___13964 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___13964); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27119,7 +27119,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___34774); + r0 = pxsim.BufferMethods.toString(s.buf___13964); { step = 3; continue; } case 2: r0 = undefined; @@ -27127,16 +27127,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P22871.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__P2067.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__P22871_mk(s) { +function settings_readString__P2067_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P22871, depth: s.depth + 1, + parent: s, fn: settings_readString__P2067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___34774: undefined, + buf___13964: undefined, arg0: undefined, } } @@ -27144,7 +27144,7 @@ function settings_readString__P22871_mk(s) { -function settings_writeString__P22866(s) { +function settings_writeString__P2062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27159,7 +27159,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P22865_mk(s); + s.tmp_0 = settings_writeBuffer__P2061_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -27170,12 +27170,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P22866.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__P2062.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__P22866_mk(s) { +function settings_writeString__P2062_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P22866, depth: s.depth + 1, + parent: s, fn: settings_writeString__P2062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27186,7 +27186,7 @@ function settings_writeString__P22866_mk(s) { -function settings_runNumber__P22863(s) { +function settings_runNumber__P2059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27196,8 +27196,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P22873_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___25485; + s.tmp_1 = settings_readNumber__P2069_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___4680; s.callLocIdx = 116; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27215,12 +27215,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P22863.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P2059.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__P22863_mk(s) { +function settings_runNumber__P2059_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P22863, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P2059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27231,7 +27231,7 @@ function settings_runNumber__P22863_mk(s) { -function control___screen_setupUpdate__P22799(s) { +function control___screen_setupUpdate__P1995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27245,8 +27245,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___25452 = (true); - globals.__update___25450 = (s.arg0); + globals.__updated___4647 = (true); + globals.__update___4645 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -27257,12 +27257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P22799.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__P1995.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__P22799_mk(s) { +function control___screen_setupUpdate__P1995_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P22799, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P1995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27272,7 +27272,7 @@ function control___screen_setupUpdate__P22799_mk(s) { -function _screen_internal_getScreenHeight__P22842(s) { +function _screen_internal_getScreenHeight__P2038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27290,12 +27290,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenHeight__P22842.info = {"start":960,"length":127,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenHeight","argumentNames":["defl"]} +_screen_internal_getScreenHeight__P2038.info = {"start":960,"length":127,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenHeight","argumentNames":["defl"]} -function _screen_internal_getScreenHeight__P22842_mk(s) { +function _screen_internal_getScreenHeight__P2038_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenHeight__P22842, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenHeight__P2038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27304,7 +27304,7 @@ function _screen_internal_getScreenHeight__P22842_mk(s) { -function _screen_internal_getScreenWidth__P22841(s) { +function _screen_internal_getScreenWidth__P2037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27322,12 +27322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenWidth__P22841.info = {"start":810,"length":125,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenWidth","argumentNames":["defl"]} +_screen_internal_getScreenWidth__P2037.info = {"start":810,"length":125,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenWidth","argumentNames":["defl"]} -function _screen_internal_getScreenWidth__P22841_mk(s) { +function _screen_internal_getScreenWidth__P2037_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenWidth__P22841, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenWidth__P2037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27336,7 +27336,7 @@ function _screen_internal_getScreenWidth__P22841_mk(s) { -function control___screen_update__P22798(s) { +function control___screen_update__P1994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27346,27 +27346,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___25450); + r0 = pxsim_numops_toBoolDecr(globals.__update___4645); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___25450; + s.tmp_0.argL = globals.__update___4645; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 109; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___25452 = (true); + globals.__updated___4647 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P22798.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__P1994.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__P22798_mk(s) { +function control___screen_update__P1994_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P22798, depth: s.depth + 1, + parent: s, fn: control___screen_update__P1994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27375,7 +27375,7 @@ function control___screen_update__P22798_mk(s) { -function pause__P21218(s) { +function pause__P413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27399,12 +27399,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P21218.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +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"]} -function pause__P21218_mk(s) { +function pause__P413_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P21218, depth: s.depth + 1, + parent: s, fn: pause__P413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27413,7 +27413,7 @@ function pause__P21218_mk(s) { -function music_Melody_toString__P22440(s) { +function music_Melody_toString__P1636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27428,17 +27428,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C22431_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C1627_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P22440.info = {"start":10223,"length":53,"line":318,"column":8,"endLine":320,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P1636.info = {"start":10223,"length":53,"line":318,"column":8,"endLine":320,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P22440_mk(s) { +function music_Melody_toString__P1636_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P22440, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P1636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27447,7 +27447,7 @@ function music_Melody_toString__P22440_mk(s) { -function particles_ShapeFactory_createParticle__P24039(s) { +function particles_ShapeFactory_createParticle__P3235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27457,23 +27457,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34812 = undefined; + s.p___14002 = 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__C24035_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P24025_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C3231_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P3221_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1247; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___34812 = (r0); - s.tmp_0 = r0 = s.p___34812; - s.tmp_2 = Math_FastRandom_randomRange__P23885_mk(s); + s.p___14002 = (r0); + s.tmp_0 = r0 = s.p___14002; + s.tmp_2 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -27483,21 +27483,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___34812; + r0 = s.p___14002; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P24039.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__P3235.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__P24039_mk(s) { +function particles_ShapeFactory_createParticle__P3235_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P24039, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P3235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___34812: undefined, + p___14002: undefined, arg0: undefined, arg1: undefined, } } @@ -27506,7 +27506,7 @@ function particles_ShapeFactory_createParticle__P24039_mk(s) { -function particles_AreaFactory_createParticle__P24025(s) { +function particles_AreaFactory_createParticle__P3221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27516,23 +27516,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34824 = undefined; + s.p___14014 = 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__C24019_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P24015_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C3215_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P3211_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1229; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___34824 = (r0); - s.tmp_0 = r0 = s.p___34824; - s.tmp_2 = Math_FastRandom_randomRange__P23885_mk(s); + s.p___14014 = (r0); + s.tmp_0 = r0 = s.p___14014; + s.tmp_2 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -27544,8 +27544,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___34824; - s.tmp_4 = Math_FastRandom_randomRange__P23885_mk(s); + s.tmp_0 = r0 = s.p___14014; + s.tmp_4 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -27561,7 +27561,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___34824.fields["_x"]; + r0 = s.p___14014.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -27603,8 +27603,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___34824; - s.tmp_9 = Math_FastRandom_randomRange__P23885_mk(s); + s.tmp_5 = r0 = s.p___14014; + s.tmp_9 = Math_FastRandom_randomRange__P3081_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -27616,23 +27616,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___34824.fields["_y"]; + r0 = s.p___14014.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___34824; + r0 = s.p___14014; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P24025.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__P3221.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__P24025_mk(s) { +function particles_AreaFactory_createParticle__P3221_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P24025, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P3221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27646,7 +27646,7 @@ function particles_AreaFactory_createParticle__P24025_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___34824: undefined, + p___14014: undefined, arg0: undefined, arg1: undefined, } } @@ -27655,7 +27655,7 @@ function particles_AreaFactory_createParticle__P24025_mk(s) { -function Fx_iadd__P20963(s) { +function Fx_iadd__P158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27676,12 +27676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P20963.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} +Fx_iadd__P158.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} -function Fx_iadd__P20963_mk(s) { +function Fx_iadd__P158_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P20963, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27692,7 +27692,7 @@ function Fx_iadd__P20963_mk(s) { -function particles_SprayFactory_createParticle__P24015(s) { +function particles_SprayFactory_createParticle__P3211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27702,26 +27702,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___34880 = undefined; - s.angle___34884 = undefined; + s.p___14070 = undefined; + s.angle___14074 = 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__C24013_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P24011_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P3207_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1218; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___34880 = (r0); + s.p___14070 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P23885_mk(s); - s.tmp_3.arg0 = globals.galois___26163; + s.tmp_3 = Math_FastRandom_randomRange__P3081_mk(s); + s.tmp_3.arg0 = globals.galois___5358; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -27732,9 +27732,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___34884 = (r0); - s.tmp_0 = r0 = s.p___34880; - r0 = pxsim_Array__getAt(globals.cachedSin___26158, s.angle___34884); + s.angle___14074 = (r0); + s.tmp_0 = r0 = s.p___14070; + r0 = pxsim_Array__getAt(globals.cachedSin___5353, s.angle___14074); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27743,8 +27743,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___34880; - r0 = pxsim_Array__getAt(globals.cachedCos___26159, s.angle___34884); + s.tmp_0 = r0 = s.p___14070; + r0 = pxsim_Array__getAt(globals.cachedCos___5354, s.angle___14074); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27753,24 +27753,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___34880; + r0 = s.p___14070; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P24015.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__P3211.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__P24015_mk(s) { +function particles_SprayFactory_createParticle__P3211_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P24015, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P3211, 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___34880: undefined, - angle___34884: undefined, + p___14070: undefined, + angle___14074: undefined, arg0: undefined, arg1: undefined, } } @@ -27779,7 +27779,7 @@ function particles_SprayFactory_createParticle__P24015_mk(s) { -function sprites_SpriteSet_toString__P23279(s) { +function sprites_SpriteSet_toString__P2475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27794,7 +27794,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C23268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2464_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -27816,12 +27816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P23279.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__P2475.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__P23279_mk(s) { +function sprites_SpriteSet_toString__P2475_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P23279, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P2475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27835,7 +27835,7 @@ function sprites_SpriteSet_toString__P23279_mk(s) { -function sprites_SpriteSet_length__P23271(s) { +function sprites_SpriteSet_length__P2467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27850,20 +27850,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C23268_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C2464_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__P23271.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__P23271.isGetter = true; +sprites_SpriteSet_length__P2467.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__P2467.isGetter = true; -function sprites_SpriteSet_length__P23271_mk(s) { +function sprites_SpriteSet_length__P2467_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P23271, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P2467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27873,7 +27873,7 @@ function sprites_SpriteSet_length__P23271_mk(s) { -function particles_ParticleSource___draw__P23979(s) { +function particles_ParticleSource___draw__P3175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27883,18 +27883,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___34927 = undefined; - s.left___34930 = undefined; - s.top___34940 = undefined; + s.current___14117 = undefined; + s.left___14120 = undefined; + s.top___14130 = 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__C23973_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___34927 = (r0); + s.current___14117 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27912,7 +27912,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___34930 = (s.tmp_4); + s.left___14120 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27930,49 +27930,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___34940 = (s.tmp_4); + s.top___14130 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___34927); + r0 = pxsim_numops_toBoolDecr(s.current___14117); if (!r0) { step = 8; continue; } - r0 = s.current___34927.fields["lifespan"]; + r0 = s.current___14117.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__P26149_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P5344_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___34927; - s.tmp_2.arg2 = s.left___34930; - s.tmp_2.arg3 = s.top___34940; + s.tmp_2.arg1 = s.current___14117; + s.tmp_2.arg2 = s.left___14120; + s.tmp_2.arg3 = s.top___14130; s.callLocIdx = 1153; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___34927.fields["next"]; - s.current___34927 = (r0); + r0 = s.current___14117.fields["next"]; + s.current___14117 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P23979.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__P3175.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__P23979_mk(s) { +function particles_ParticleSource___draw__P3175_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P23979, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P3175, 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___34927: undefined, - left___34930: undefined, - top___34940: undefined, + current___14117: undefined, + left___14120: undefined, + top___14130: undefined, arg0: undefined, arg1: undefined, } } @@ -27981,7 +27981,7 @@ function particles_ParticleSource___draw__P23979_mk(s) { -function particles_ParticleSource_drawParticle__P26149(s) { +function particles_ParticleSource_drawParticle__P5344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27999,8 +27999,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C23973_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C24009_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C3169_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C3205_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -28012,7 +28012,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__C24009_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C3205_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: @@ -28021,12 +28021,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P26149.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__P5344.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__P26149_mk(s) { +function particles_ParticleSource_drawParticle__P5344_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P26149, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P5344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28041,7 +28041,7 @@ function particles_ParticleSource_drawParticle__P26149_mk(s) { -function particles_ParticleFactory_drawParticle__P24012(s) { +function particles_ParticleFactory_drawParticle__P3208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28059,8 +28059,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C24009_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___22837; + if (!checkSubtype(r0, particles_ParticleFactory__C3205_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___2033; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -28074,12 +28074,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P24012.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__P3208.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__P24012_mk(s) { +function particles_ParticleFactory_drawParticle__P3208_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P24012, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P3208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28096,7 +28096,7 @@ function particles_ParticleFactory_drawParticle__P24012_mk(s) { -function sprites_SpriteMap_toString__P23259(s) { +function sprites_SpriteMap_toString__P2455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28111,7 +28111,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -28131,10 +28131,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P20915_mk(s); + s.tmp_10 = helpers_arrayFilter__P110_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P35003; + s.tmp_10.arg1 = length_inline__P14193; s.callLocIdx = 514; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -28156,12 +28156,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P23259.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__P2455.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__P23259_mk(s) { +function sprites_SpriteMap_toString__P2455_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P23259, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P2455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28181,7 +28181,7 @@ function sprites_SpriteMap_toString__P23259_mk(s) { -function length_inline__P35003(s) { +function length_inline__P14193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28205,12 +28205,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P35003.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__P14193.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__P35003_mk(s) { +function length_inline__P14193_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P35003, depth: s.depth + 1, + parent: s, fn: length_inline__P14193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28222,7 +28222,7 @@ function length_inline__P35003_mk(s) { -function ArcadePhysicsEngine_moveSprite__P23346(s) { +function ArcadePhysicsEngine_moveSprite__P2542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28232,9 +28232,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___35035 = undefined; - s.maxDist___35043 = undefined; - s.ms___35063 = undefined; + s.tm___14225 = undefined; + s.maxDist___14233 = undefined; + s.ms___14253 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28243,7 +28243,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -28262,19 +28262,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__P23821_mk(s); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 751; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___35035 = (r0); - s.tmp_0 = r0 = s.tm___35035; + s.tm___14225 = (r0); + s.tmp_0 = r0 = s.tm___14225; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___35035.fields["_map"]; + r0 = s.tm___14225.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -28293,8 +28293,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___35043 = (r0); - s.tmp_2 = Math_abs__P20933_mk(s); + s.maxDist___14233 = (r0); + s.tmp_2 = Math_abs__P128_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -28303,14 +28303,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___35043); + r0 = (s.tmp_1 <= s.maxDist___14233); 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__P20933_mk(s); + s.tmp_5 = Math_abs__P128_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -28319,15 +28319,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___35043); + r0 = (s.tmp_4 <= s.maxDist___14233); 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__C23330_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2526_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P23331_mk(s); + s.tmp_9 = MovingSprite_constructor__P2527_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -28341,18 +28341,18 @@ switch (step) { s.callLocIdx = 758; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___35063 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P25663_mk(s); + s.ms___14253 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4858_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___35063; - s.tmp_0.arg2 = s.tm___35035; + s.tmp_0.arg1 = s.ms___14253; + s.tmp_0.arg2 = s.tm___14225; s.callLocIdx = 759; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P23563_mk(s); - s.tmp_1.arg0 = s.tm___35035; + s.tmp_1 = tiles_TileMap_isOnWall__P2759_mk(s); + s.tmp_1.arg0 = s.tm___14225; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 760; s.pc = 18; return s.tmp_1; case 18: @@ -28363,10 +28363,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P25665_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4860_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___35035; + s.tmp_4.arg2 = s.tm___14225; s.callLocIdx = 761; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -28401,12 +28401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P23346.info = {"start":23898,"length":1208,"line":654,"column":4,"endLine":685,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P2542.info = {"start":23898,"length":1208,"line":654,"column":4,"endLine":685,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P23346_mk(s) { +function ArcadePhysicsEngine_moveSprite__P2542_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P23346, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P2542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28418,9 +28418,9 @@ function ArcadePhysicsEngine_moveSprite__P23346_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___35035: undefined, - maxDist___35043: undefined, - ms___35063: undefined, + tm___14225: undefined, + maxDist___14233: undefined, + ms___14253: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28431,7 +28431,7 @@ function ArcadePhysicsEngine_moveSprite__P23346_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P25665(s) { +function ArcadePhysicsEngine_canResolveClipping__P4860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28441,19 +28441,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___35108 = undefined; - s.sz___35111 = undefined; - s.maxMove___35116 = undefined; - s.origY___35118 = undefined; - s.origX___35121 = undefined; - s.l___35124 = undefined; - s.r___35129 = undefined; - s.t___35134 = undefined; - s.b___35139 = undefined; - s.offset___35144 = undefined; - s.offset___35169 = undefined; - s.offset___35200 = undefined; - s.offset___35225 = undefined; + s.hbox___14298 = undefined; + s.sz___14301 = undefined; + s.maxMove___14306 = undefined; + s.origY___14308 = undefined; + s.origX___14311 = undefined; + s.l___14314 = undefined; + s.r___14319 = undefined; + s.t___14324 = undefined; + s.b___14329 = undefined; + s.offset___14334 = undefined; + s.offset___14359 = undefined; + s.offset___14390 = undefined; + s.offset___14415 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28461,7 +28461,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -28472,9 +28472,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C23146_v4_1_mk(s); + s.tmp_4 = Sprite__C2342_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C23146_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C2342_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 20; return s.tmp_4; case 20: @@ -28482,23 +28482,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___35108 = (r0); + s.hbox___14298 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___35111 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P23338_mk(s); + s.sz___14301 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P2534_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 764; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___35116 = (r0); + s.maxMove___14306 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___35118 = (r0); + s.origY___14308 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___35121 = (r0); - s.tmp_1 = game_Hitbox_left__P23021_mk(s); - s.tmp_1.arg0 = s.hbox___35108; + s.origX___14311 = (r0); + s.tmp_1 = game_Hitbox_left__P2217_mk(s); + s.tmp_1.arg0 = s.hbox___14298; s.callLocIdx = 765; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -28506,9 +28506,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___35124 = (r0); - s.tmp_1 = game_Hitbox_right__P23023_mk(s); - s.tmp_1.arg0 = s.hbox___35108; + s.l___14314 = (r0); + s.tmp_1 = game_Hitbox_right__P2219_mk(s); + s.tmp_1.arg0 = s.hbox___14298; s.callLocIdx = 767; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -28516,9 +28516,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___35129 = (r0); - s.tmp_1 = game_Hitbox_top__P23022_mk(s); - s.tmp_1.arg0 = s.hbox___35108; + s.r___14319 = (r0); + s.tmp_1 = game_Hitbox_top__P2218_mk(s); + s.tmp_1.arg0 = s.hbox___14298; s.callLocIdx = 769; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -28526,9 +28526,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___35134 = (r0); - s.tmp_1 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_1.arg0 = s.hbox___35108; + s.t___14324 = (r0); + s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_1.arg0 = s.hbox___14298; s.callLocIdx = 771; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -28536,26 +28536,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___35139 = (r0); - r0 = (s.b___35139 + 1); + s.b___14329 = (r0); + r0 = (s.b___14329 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___35111); - s.offset___35144 = (r0); - r0 = (s.offset___35144 <= s.maxMove___35116); + r0 = (s.tmp_0 % s.sz___14301); + s.offset___14334 = (r0); + r0 = (s.offset___14334 <= s.maxMove___14306); 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___35144 * 256); + r0 = (s.offset___14334 * 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__P23563_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 775; s.pc = 26; return s.tmp_3; @@ -28572,35 +28572,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___35118); + r0 = (s.arg1).fields["_y"] = (s.origY___14308); case 4: case 5: case 6: - r0 = (s.t___35134 / s.sz___35111); + r0 = (s.t___14324 / s.sz___14301); 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___35111); + r0 = (s.tmp_1 * s.sz___14301); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___35134); - s.offset___35169 = (r0); - r0 = (s.offset___35169 <= s.maxMove___35116); + r0 = (s.tmp_0 - s.t___14324); + s.offset___14359 = (r0); + r0 = (s.offset___14359 <= s.maxMove___14306); 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___35169 * 256); + r0 = (s.offset___14359 * 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__P23563_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 778; s.pc = 27; return s.tmp_3; @@ -28617,29 +28617,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___35118); + r0 = (s.arg1).fields["_y"] = (s.origY___14308); case 8: case 9: case 10: - r0 = (s.r___35129 + 1); + r0 = (s.r___14319 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___35111); - s.offset___35200 = (r0); - r0 = (s.offset___35200 <= s.maxMove___35116); + r0 = (s.tmp_0 % s.sz___14301); + s.offset___14390 = (r0); + r0 = (s.offset___14390 <= s.maxMove___14306); 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___35200 * 256); + r0 = (s.offset___14390 * 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__P23563_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 781; s.pc = 28; return s.tmp_3; @@ -28656,35 +28656,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___35121); + r0 = (s.arg1).fields["_x"] = (s.origX___14311); case 12: case 13: case 14: - r0 = (s.l___35124 / s.sz___35111); + r0 = (s.l___14314 / s.sz___14301); 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___35111); + r0 = (s.tmp_1 * s.sz___14301); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___35124); - s.offset___35225 = (r0); - r0 = (s.offset___35225 <= s.maxMove___35116); + r0 = (s.tmp_0 - s.l___14314); + s.offset___14415 = (r0); + r0 = (s.offset___14415 <= s.maxMove___14306); 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___35225 * 256); + r0 = (s.offset___14415 * 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__P23563_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 784; s.pc = 29; return s.tmp_3; @@ -28701,7 +28701,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___35121); + r0 = (s.arg1).fields["_x"] = (s.origX___14311); case 16: case 17: case 18: @@ -28710,12 +28710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P25665.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P4860.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P25665_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P4860_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P25665, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28723,19 +28723,19 @@ function ArcadePhysicsEngine_canResolveClipping__P25665_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___35108: undefined, - sz___35111: undefined, - maxMove___35116: undefined, - origY___35118: undefined, - origX___35121: undefined, - l___35124: undefined, - r___35129: undefined, - t___35134: undefined, - b___35139: undefined, - offset___35144: undefined, - offset___35169: undefined, - offset___35200: undefined, - offset___35225: undefined, + hbox___14298: undefined, + sz___14301: undefined, + maxMove___14306: undefined, + origY___14308: undefined, + origX___14311: undefined, + l___14314: undefined, + r___14319: undefined, + t___14324: undefined, + b___14329: undefined, + offset___14334: undefined, + offset___14359: undefined, + offset___14390: undefined, + offset___14415: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28745,7 +28745,7 @@ function ArcadePhysicsEngine_canResolveClipping__P25665_mk(s) { -function Sprite_isStatic__P23200(s) { +function Sprite_isStatic__P2396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28760,19 +28760,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23200.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__P2396.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__P23200_mk(s) { +function Sprite_isStatic__P2396_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P23200, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P2396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28782,7 +28782,7 @@ function Sprite_isStatic__P23200_mk(s) { -function game_Hitbox_bottom__P23024(s) { +function game_Hitbox_bottom__P2220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28797,10 +28797,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P23022_mk(s); + s.tmp_3 = game_Hitbox_top__P2218_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 225; s.pc = 1; return s.tmp_3; case 1: @@ -28812,13 +28812,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P23024.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__P23024.isGetter = true; +game_Hitbox_bottom__P2220.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__P2220.isGetter = true; -function game_Hitbox_bottom__P23024_mk(s) { +function game_Hitbox_bottom__P2220_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P23024, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P2220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28831,7 +28831,7 @@ function game_Hitbox_bottom__P23024_mk(s) { -function game_Hitbox_right__P23023(s) { +function game_Hitbox_right__P2219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28846,10 +28846,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P23021_mk(s); + s.tmp_3 = game_Hitbox_left__P2217_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 222; s.pc = 1; return s.tmp_3; case 1: @@ -28861,13 +28861,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P23023.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__P23023.isGetter = true; +game_Hitbox_right__P2219.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__P2219.isGetter = true; -function game_Hitbox_right__P23023_mk(s) { +function game_Hitbox_right__P2219_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P23023, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P2219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28880,7 +28880,7 @@ function game_Hitbox_right__P23023_mk(s) { -function game_Hitbox_top__P23022(s) { +function game_Hitbox_top__P2218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28895,7 +28895,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -28905,13 +28905,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P23022.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__P23022.isGetter = true; +game_Hitbox_top__P2218.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__P2218.isGetter = true; -function game_Hitbox_top__P23022_mk(s) { +function game_Hitbox_top__P2218_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P23022, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P2218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28922,7 +28922,7 @@ function game_Hitbox_top__P23022_mk(s) { -function game_Hitbox_left__P23021(s) { +function game_Hitbox_left__P2217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28937,7 +28937,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -28947,13 +28947,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P23021.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__P23021.isGetter = true; +game_Hitbox_left__P2217.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__P2217.isGetter = true; -function game_Hitbox_left__P23021_mk(s) { +function game_Hitbox_left__P2217_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P23021, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P2217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28964,7 +28964,7 @@ function game_Hitbox_left__P23021_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P25663(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28974,37 +28974,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___35385 = undefined; - s.hbox___35410 = undefined; - s.tileScale___35413 = undefined; - s.tileSize___35416 = undefined; - s.xDiff___35420 = undefined; - s.yDiff___35427 = undefined; - s.right___35443 = undefined; - s.x0___35447 = undefined; - s.collidedTiles___35462 = undefined; - s.y___35464 = undefined; - s.y0___35478 = undefined; - s.obstacle___35494 = undefined; - s.collisionDirection___35521 = undefined; - s.tile___35547 = undefined; - s.unnamed172___U14 = undefined; - s.unnamed173___U15 = undefined; - s.down___35638 = undefined; - s.y0___35642 = undefined; - s.collidedTiles___35657 = undefined; - s.x___35659 = undefined; - s.x0___35669 = undefined; - s.obstacle___35683 = undefined; - s.collisionDirection___35710 = undefined; - s.tile___35736 = undefined; - s.unnamed174___U24 = undefined; - s.unnamed175___U25 = undefined; - s.overlappedTiles___35830 = undefined; - s.x___35832 = undefined; - s.x0___35842 = undefined; - s.y___35852 = undefined; - s.y0___35862 = undefined; + s.s___14575 = undefined; + s.hbox___14600 = undefined; + s.tileScale___14603 = undefined; + s.tileSize___14606 = undefined; + s.xDiff___14610 = undefined; + s.yDiff___14617 = undefined; + s.right___14633 = undefined; + s.x0___14637 = undefined; + s.collidedTiles___14652 = undefined; + s.y___14654 = undefined; + s.y0___14668 = undefined; + s.obstacle___14684 = undefined; + s.collisionDirection___14711 = undefined; + s.tile___14737 = undefined; + s.unnamed80___U14 = undefined; + s.unnamed81___U15 = undefined; + s.down___14828 = undefined; + s.y0___14832 = undefined; + s.collidedTiles___14847 = undefined; + s.x___14849 = undefined; + s.x0___14859 = undefined; + s.obstacle___14873 = undefined; + s.collisionDirection___14900 = undefined; + s.tile___14926 = undefined; + s.unnamed82___U24 = undefined; + s.unnamed83___U25 = undefined; + s.overlappedTiles___15020 = undefined; + s.x___15022 = undefined; + s.x0___15032 = undefined; + s.y___15042 = undefined; + s.y0___15052 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29012,18 +29012,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___35385 = (r0); - r0 = s.s___35385.fields["flags"]; + s.s___14575 = (r0); + r0 = s.s___14575.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__P23563_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P2759_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___35385; + s.tmp_5.arg1 = s.s___14575; s.callLocIdx = 647; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; @@ -29034,7 +29034,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___35385; + s.tmp_6 = r0 = s.s___14575; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -29044,7 +29044,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___35385.fields["_image"]; + r0 = s.s___14575.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -29054,34 +29054,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C23146_v4_1_mk(s); - s.tmp_4.arg0 = s.s___35385; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C23146_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C2342_v4_1_mk(s); + s.tmp_4.arg0 = s.s___14575; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C2342_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 98; return s.tmp_4; case 98: r0 = s.retval; case 5: case 6: - r0 = s.s___35385.fields["_hitbox"]; - s.hbox___35410 = (r0); + r0 = s.s___14575.fields["_hitbox"]; + s.hbox___14600 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___35413 = (r0); - r0 = (1 << s.tileScale___35413); - s.tileSize___35416 = (r0); - r0 = s.s___35385.fields["_x"]; + s.tileScale___14603 = (r0); + r0 = (1 << s.tileScale___14603); + s.tileSize___14606 = (r0); + r0 = s.s___14575.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___35385.fields["_lastX"]; + r0 = s.s___14575.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___35420 = (r0); - r0 = s.s___35385.fields["_y"]; + s.xDiff___14610 = (r0); + r0 = s.s___14575.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___35385.fields["_lastY"]; + r0 = s.s___14575.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___35427 = (r0); - r0 = s.s___35385.fields["flags"]; + s.yDiff___14617 = (r0); + r0 = s.s___14575.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -29091,16 +29091,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___35420 !== 0); + r0 = (s.xDiff___14610 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___35420 > 0); - s.right___35443 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___35443); + r0 = (s.xDiff___14610 > 0); + s.right___14633 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___14633); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P23023_mk(s); - s.tmp_1.arg0 = s.hbox___35410; + s.tmp_1 = game_Hitbox_right__P2219_mk(s); + s.tmp_1.arg0 = s.hbox___14600; s.callLocIdx = 652; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; @@ -29108,8 +29108,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P23021_mk(s); - s.tmp_3.arg0 = s.hbox___35410; + s.tmp_3 = game_Hitbox_left__P2217_mk(s); + s.tmp_3.arg0 = s.hbox___14600; s.callLocIdx = 654; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; @@ -29120,30 +29120,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___35413 + 8); + r0 = (s.tileScale___14603 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___35447 = (r0); + s.x0___14637 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___35462 = (r0); - s.tmp_1 = game_Hitbox_top__P23022_mk(s); - s.tmp_1.arg0 = s.hbox___35410; + s.collidedTiles___14652 = (r0); + s.tmp_1 = game_Hitbox_top__P2218_mk(s); + s.tmp_1.arg0 = s.hbox___14600; s.callLocIdx = 658; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___35427); - s.y___35464 = (r0); + r0 = (s.tmp_0 - s.yDiff___14617); + s.y___14654 = (r0); case 9: - s.tmp_1 = r0 = s.y___35464; - s.tmp_3 = r0 = s.tileSize___35416; - s.tmp_6 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_6.arg0 = s.hbox___35410; + s.tmp_1 = r0 = s.y___14654; + s.tmp_3 = r0 = s.tileSize___14606; + s.tmp_6 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_6.arg0 = s.hbox___14600; s.callLocIdx = 660; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___35427); + r0 = (s.tmp_5 - s.yDiff___14617); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -29153,15 +29153,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P20971_mk(s); - s.tmp_10.arg0 = s.y___35464; - s.tmp_12 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_12.arg0 = s.hbox___35410; + s.tmp_10 = Fx_min__P166_mk(s); + s.tmp_10.arg0 = s.y___14654; + s.tmp_12 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_12.arg0 = s.hbox___14600; s.callLocIdx = 663; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___35427); + r0 = (s.tmp_11 - s.yDiff___14617); s.tmp_10.arg1 = r0; s.callLocIdx = 665; s.pc = 103; return s.tmp_10; case 103: @@ -29169,33 +29169,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___35413 + 8); + r0 = (s.tileScale___14603 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___35478 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P23561_mk(s); + s.y0___14668 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___35447; - s.tmp_1.arg2 = s.y0___35478; + s.tmp_1.arg1 = s.x0___14637; + s.tmp_1.arg2 = s.y0___14668; s.callLocIdx = 668; s.pc = 105; return s.tmp_1; case 105: 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__P23562_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P2758_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___35447; - s.tmp_2.arg2 = s.y0___35478; + s.tmp_2.arg1 = s.x0___14637; + s.tmp_2.arg2 = s.y0___14668; s.callLocIdx = 669; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___35494 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P35502); + s.obstacle___14684 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P14692); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___35494); - s.tmp_4 = helpers_arraySome__P20912_mk(s); - s.tmp_4.arg0 = s.collidedTiles___35462; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___14684); + s.tmp_4 = helpers_arraySome__P107_mk(s); + s.tmp_4.arg0 = s.collidedTiles___14652; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 670; s.pc = 107; return s.tmp_4; case 107: @@ -29207,22 +29207,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___35462, s.obstacle___35494); + r0 = pxsim_Array__push(s.collidedTiles___14652, s.obstacle___14684); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___35416 << 8); + r0 = (s.tileSize___14606 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___35464); - s.y___35464 = (r0); + r0 = (s.tmp_0 + s.y___14654); + s.y___14654 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___35462); + r0 = pxsim_Array__length(s.collidedTiles___14652); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___35443); + r0 = pxsim_numops_toBoolDecr(s.right___14633); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -29231,23 +29231,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___35521 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___35443); + s.collisionDirection___14711 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___14633); if (!r0) { step = 17; continue; } - r0 = (s.x0___35447 << s.tileScale___35413); + r0 = (s.x0___14637 << s.tileScale___14603); 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___35410.fields["width"]; + r0 = s.hbox___14600.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___35447 + 1); + r0 = (s.x0___14637 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___35413); + r0 = (s.tmp_5 << s.tileScale___14603); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29255,24 +29255,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___35385; - r0 = s.hbox___35410.fields["ox"]; + s.tmp_8 = r0 = s.s___14575; + r0 = s.hbox___14600.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___35547 = (undefined); - s.unnamed172___U14 = (s.collidedTiles___35462); - s.unnamed173___U15 = (0); + s.tile___14737 = (undefined); + s.unnamed80___U14 = (s.collidedTiles___14652); + s.unnamed81___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed173___U15; - r0 = pxsim_Array__length(s.unnamed172___U14); + s.tmp_0 = r0 = s.unnamed81___U15; + r0 = pxsim_Array__length(s.unnamed80___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed172___U14, s.unnamed173___U15); - s.tile___35547 = (r0); - r0 = s.s___35385.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed80___U14, s.unnamed81___U15); + s.tile___14737 = (r0); + r0 = s.s___14575.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29282,29 +29282,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P23231_mk(s); - s.tmp_6.arg0 = s.s___35385; - s.tmp_6.arg1 = s.collisionDirection___35521; - s.tmp_6.arg2 = s.tile___35547; + s.tmp_6 = Sprite_registerObstacle__P2427_mk(s); + s.tmp_6.arg0 = s.s___14575; + s.tmp_6.arg1 = s.collisionDirection___14711; + s.tmp_6.arg2 = s.tile___14737; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 676; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed173___U15 + 1); - s.unnamed173___U15 = (r0); + r0 = (s.unnamed81___U15 + 1); + s.unnamed81___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed172___U14 = (undefined); - r0 = s.s___35385.fields["flags"]; + s.unnamed80___U14 = (undefined); + r0 = s.s___14575.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__P23233_mk(s); - s.tmp_2.arg0 = s.s___35385; + s.tmp_2 = Sprite_destroy__P2429_mk(s); + s.tmp_2.arg0 = s.s___14575; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 677; s.pc = 109; return s.tmp_2; @@ -29312,7 +29312,7 @@ switch (step) { r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___35385.fields["_vx"]; + r0 = s.s___14575.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -29323,7 +29323,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___35385.fields["flags"]; + r0 = s.s___14575.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29335,13 +29335,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___35385.fields["flags"]; + r0 = s.s___14575.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 34; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___35443); + r0 = pxsim_numops_toBoolDecr(s.right___14633); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29350,8 +29350,8 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 26: - s.tmp_12 = Sprite_vx__P23163_mk(s); - s.tmp_12.arg0 = s.s___35385; + s.tmp_12 = Sprite_vx__P2359_mk(s); + s.tmp_12.arg0 = s.s___14575; s.callLocIdx = 678; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; @@ -29365,14 +29365,14 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___35443; + s.tmp_14 = r0 = s.right___14633; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 29; continue; } r0 = s.tmp_14; { step = 30; continue; } case 29: - s.tmp_16 = Sprite_vx__P23163_mk(s); - s.tmp_16.arg0 = s.s___35385; + s.tmp_16 = Sprite_vx__P2359_mk(s); + s.tmp_16.arg0 = s.s___14575; s.callLocIdx = 679; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; @@ -29387,8 +29387,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 32; continue; } - s.tmp_19 = r0 = s.s___35385; - r0 = s.s___35385.fields["_vx"]; + s.tmp_19 = r0 = s.s___14575; + r0 = s.s___14575.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29410,12 +29410,12 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___35385).fields["_vx"] = (0); + r0 = (s.s___14575).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: - s.tmp_2 = Math_sign__P20934_mk(s); - r0 = s.s___35385.fields["_vx"]; + s.tmp_2 = Math_sign__P129_mk(s); + r0 = s.s___14575.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29425,7 +29425,7 @@ switch (step) { case 112: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P20934_mk(s); + s.tmp_6 = Math_sign__P129_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -29449,16 +29449,16 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___35427 !== 0); + r0 = (s.yDiff___14617 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___35427 > 0); - s.down___35638 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___35638); + r0 = (s.yDiff___14617 > 0); + s.down___14828 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___14828); if (!r0) { step = 45; continue; } - s.tmp_1 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_1.arg0 = s.hbox___35410; + s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_1.arg0 = s.hbox___14600; s.callLocIdx = 687; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; @@ -29466,8 +29466,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 46; continue; } case 45: - s.tmp_3 = game_Hitbox_top__P23022_mk(s); - s.tmp_3.arg0 = s.hbox___35410; + s.tmp_3 = game_Hitbox_top__P2218_mk(s); + s.tmp_3.arg0 = s.hbox___14600; s.callLocIdx = 689; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; @@ -29478,23 +29478,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___35413 + 8); + r0 = (s.tileScale___14603 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___35642 = (r0); + s.y0___14832 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___35657 = (r0); - s.tmp_0 = game_Hitbox_left__P23021_mk(s); - s.tmp_0.arg0 = s.hbox___35410; + s.collidedTiles___14847 = (r0); + s.tmp_0 = game_Hitbox_left__P2217_mk(s); + s.tmp_0.arg0 = s.hbox___14600; s.callLocIdx = 693; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___35659 = (r0); + s.x___14849 = (r0); case 47: - s.tmp_1 = r0 = s.x___35659; - s.tmp_3 = r0 = s.tileSize___35416; - s.tmp_5 = game_Hitbox_right__P23023_mk(s); - s.tmp_5.arg0 = s.hbox___35410; + s.tmp_1 = r0 = s.x___14849; + s.tmp_3 = r0 = s.tileSize___14606; + s.tmp_5 = game_Hitbox_right__P2219_mk(s); + s.tmp_5.arg0 = s.hbox___14600; s.callLocIdx = 694; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; @@ -29507,10 +29507,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_9 = Fx_min__P20971_mk(s); - s.tmp_9.arg0 = s.x___35659; - s.tmp_10 = game_Hitbox_right__P23023_mk(s); - s.tmp_10.arg0 = s.hbox___35410; + s.tmp_9 = Fx_min__P166_mk(s); + s.tmp_9.arg0 = s.x___14849; + s.tmp_10 = game_Hitbox_right__P2219_mk(s); + s.tmp_10.arg0 = s.hbox___14600; s.callLocIdx = 696; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; @@ -29521,33 +29521,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___35413 + 8); + r0 = (s.tileScale___14603 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___35669 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P23561_mk(s); + s.x0___14859 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___35669; - s.tmp_1.arg2 = s.y0___35642; + s.tmp_1.arg1 = s.x0___14859; + s.tmp_1.arg2 = s.y0___14832; s.callLocIdx = 700; s.pc = 120; return s.tmp_1; case 120: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P23562_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P2758_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___35669; - s.tmp_2.arg2 = s.y0___35642; + s.tmp_2.arg1 = s.x0___14859; + s.tmp_2.arg2 = s.y0___14832; s.callLocIdx = 701; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___35683 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P35691); + s.obstacle___14873 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P14881); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___35683); - s.tmp_4 = helpers_arraySome__P20912_mk(s); - s.tmp_4.arg0 = s.collidedTiles___35657; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___14873); + s.tmp_4 = helpers_arraySome__P107_mk(s); + s.tmp_4.arg0 = s.collidedTiles___14847; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 702; s.pc = 122; return s.tmp_4; case 122: @@ -29559,22 +29559,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 48; continue; } - r0 = pxsim_Array__push(s.collidedTiles___35657, s.obstacle___35683); + r0 = pxsim_Array__push(s.collidedTiles___14847, s.obstacle___14873); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___35416 << 8); + r0 = (s.tileSize___14606 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___35659); - s.x___35659 = (r0); + r0 = (s.tmp_0 + s.x___14849); + s.x___14849 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___35657); + r0 = pxsim_Array__length(s.collidedTiles___14847); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___35638); + r0 = pxsim_numops_toBoolDecr(s.down___14828); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -29583,23 +29583,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___35710 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___35638); + s.collisionDirection___14900 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___14828); if (!r0) { step = 55; continue; } - r0 = (s.y0___35642 << s.tileScale___35413); + r0 = (s.y0___14832 << s.tileScale___14603); 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___35410.fields["height"]; + r0 = s.hbox___14600.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___35642 + 1); + r0 = (s.y0___14832 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___35413); + r0 = (s.tmp_5 << s.tileScale___14603); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29607,24 +29607,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___35385; - r0 = s.hbox___35410.fields["oy"]; + s.tmp_8 = r0 = s.s___14575; + r0 = s.hbox___14600.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___35736 = (undefined); - s.unnamed174___U24 = (s.collidedTiles___35657); - s.unnamed175___U25 = (0); + s.tile___14926 = (undefined); + s.unnamed82___U24 = (s.collidedTiles___14847); + s.unnamed83___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed175___U25; - r0 = pxsim_Array__length(s.unnamed174___U24); + s.tmp_0 = r0 = s.unnamed83___U25; + r0 = pxsim_Array__length(s.unnamed82___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed174___U24, s.unnamed175___U25); - s.tile___35736 = (r0); - r0 = s.s___35385.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed82___U24, s.unnamed83___U25); + s.tile___14926 = (r0); + r0 = s.s___14575.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29634,29 +29634,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } - s.tmp_6 = Sprite_registerObstacle__P23231_mk(s); - s.tmp_6.arg0 = s.s___35385; - s.tmp_6.arg1 = s.collisionDirection___35710; - s.tmp_6.arg2 = s.tile___35736; + s.tmp_6 = Sprite_registerObstacle__P2427_mk(s); + s.tmp_6.arg0 = s.s___14575; + s.tmp_6.arg1 = s.collisionDirection___14900; + s.tmp_6.arg2 = s.tile___14926; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 708; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed175___U25 + 1); - s.unnamed175___U25 = (r0); + r0 = (s.unnamed83___U25 + 1); + s.unnamed83___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed174___U24 = (undefined); - r0 = s.s___35385.fields["flags"]; + s.unnamed82___U24 = (undefined); + r0 = s.s___14575.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 61; continue; } - s.tmp_2 = Sprite_destroy__P23233_mk(s); - s.tmp_2.arg0 = s.s___35385; + s.tmp_2 = Sprite_destroy__P2429_mk(s); + s.tmp_2.arg0 = s.s___14575; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 709; s.pc = 124; return s.tmp_2; @@ -29664,7 +29664,7 @@ switch (step) { r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___35385.fields["_vy"]; + r0 = s.s___14575.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -29675,7 +29675,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___35385.fields["flags"]; + r0 = s.s___14575.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29687,13 +29687,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___35385.fields["flags"]; + r0 = s.s___14575.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 72; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___35638); + r0 = pxsim_numops_toBoolDecr(s.down___14828); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29702,8 +29702,8 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 64: - s.tmp_12 = Sprite_vy__P23165_mk(s); - s.tmp_12.arg0 = s.s___35385; + s.tmp_12 = Sprite_vy__P2361_mk(s); + s.tmp_12.arg0 = s.s___14575; s.callLocIdx = 710; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; @@ -29717,14 +29717,14 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___35638; + s.tmp_14 = r0 = s.down___14828; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 67; continue; } r0 = s.tmp_14; { step = 68; continue; } case 67: - s.tmp_16 = Sprite_vy__P23165_mk(s); - s.tmp_16.arg0 = s.s___35385; + s.tmp_16 = Sprite_vy__P2361_mk(s); + s.tmp_16.arg0 = s.s___14575; s.callLocIdx = 711; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; @@ -29739,8 +29739,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 70; continue; } - s.tmp_19 = r0 = s.s___35385; - r0 = s.s___35385.fields["_vy"]; + s.tmp_19 = r0 = s.s___14575; + r0 = s.s___14575.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29762,12 +29762,12 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___35385).fields["_vy"] = (0); + r0 = (s.s___14575).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: - s.tmp_2 = Math_sign__P20934_mk(s); - r0 = s.s___35385.fields["_vy"]; + s.tmp_2 = Math_sign__P129_mk(s); + r0 = s.s___14575.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29777,7 +29777,7 @@ switch (step) { case 127: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P20934_mk(s); + s.tmp_6 = Math_sign__P129_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -29803,7 +29803,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___35385.fields["flags"]; + r0 = s.s___14575.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -29814,18 +29814,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___35830 = (r0); - s.tmp_0 = game_Hitbox_left__P23021_mk(s); - s.tmp_0.arg0 = s.hbox___35410; + s.overlappedTiles___15020 = (r0); + s.tmp_0 = game_Hitbox_left__P2217_mk(s); + s.tmp_0.arg0 = s.hbox___14600; s.callLocIdx = 719; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___35832 = (r0); + s.x___15022 = (r0); case 85: - s.tmp_1 = r0 = s.x___35832; - s.tmp_3 = r0 = s.tileSize___35416; - s.tmp_5 = game_Hitbox_right__P23023_mk(s); - s.tmp_5.arg0 = s.hbox___35410; + s.tmp_1 = r0 = s.x___15022; + s.tmp_3 = r0 = s.tileSize___14606; + s.tmp_5 = game_Hitbox_right__P2219_mk(s); + s.tmp_5.arg0 = s.hbox___14600; s.callLocIdx = 720; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -29838,10 +29838,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 92; continue; } - s.tmp_9 = Fx_min__P20971_mk(s); - s.tmp_9.arg0 = s.x___35832; - s.tmp_10 = game_Hitbox_right__P23023_mk(s); - s.tmp_10.arg0 = s.hbox___35410; + s.tmp_9 = Fx_min__P166_mk(s); + s.tmp_9.arg0 = s.x___15022; + s.tmp_10 = game_Hitbox_right__P2219_mk(s); + s.tmp_10.arg0 = s.hbox___14600; s.callLocIdx = 722; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -29852,21 +29852,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___35413 + 8); + r0 = (s.tileScale___14603 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___35842 = (r0); - s.tmp_0 = game_Hitbox_top__P23022_mk(s); - s.tmp_0.arg0 = s.hbox___35410; + s.x0___15032 = (r0); + s.tmp_0 = game_Hitbox_top__P2218_mk(s); + s.tmp_0.arg0 = s.hbox___14600; s.callLocIdx = 726; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___35852 = (r0); + s.y___15042 = (r0); case 86: - s.tmp_1 = r0 = s.y___35852; - s.tmp_3 = r0 = s.tileSize___35416; - s.tmp_5 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_5.arg0 = s.hbox___35410; + s.tmp_1 = r0 = s.y___15042; + s.tmp_3 = r0 = s.tileSize___14606; + s.tmp_5 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_5.arg0 = s.hbox___14600; s.callLocIdx = 727; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; @@ -29879,10 +29879,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } - s.tmp_9 = Fx_min__P20971_mk(s); - s.tmp_9.arg0 = s.y___35852; - s.tmp_10 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_10.arg0 = s.hbox___35410; + s.tmp_9 = Fx_min__P166_mk(s); + s.tmp_9.arg0 = s.y___15042; + s.tmp_10 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_10.arg0 = s.hbox___14600; s.callLocIdx = 729; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; @@ -29893,14 +29893,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___35413 + 8); + r0 = (s.tileScale___14603 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___35862 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P23561_mk(s); + s.y0___15052 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___35842; - s.tmp_3.arg2 = s.y0___35862; + s.tmp_3.arg1 = s.x0___15032; + s.tmp_3.arg2 = s.y0___15052; s.callLocIdx = 733; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; @@ -29914,7 +29914,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___35385.fields["flags"]; + r0 = s.s___14575.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -29930,11 +29930,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___35830; - s.tmp_12 = tiles_TileMap_getTile__P23554_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___15020; + s.tmp_12 = tiles_TileMap_getTile__P2750_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___35842; - s.tmp_12.arg2 = s.y0___35862; + s.tmp_12.arg1 = s.x0___15032; + s.tmp_12.arg2 = s.y0___15052; s.callLocIdx = 734; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; @@ -29942,26 +29942,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___35416 << 8); + r0 = (s.tileSize___14606 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___35852); - s.y___35852 = (r0); + r0 = (s.tmp_0 + s.y___15042); + s.y___15042 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___35416 << 8); + r0 = (s.tileSize___14606 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___35832); - s.x___35832 = (r0); + r0 = (s.tmp_0 + s.x___15022); + s.x___15022 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___35830); + r0 = pxsim_Array__length(s.overlappedTiles___15020); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P25664_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4859_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___35385; - s.tmp_1.arg2 = s.overlappedTiles___35830; + s.tmp_1.arg1 = s.s___14575; + s.tmp_1.arg2 = s.overlappedTiles___15020; s.callLocIdx = 737; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; @@ -29973,12 +29973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P25663.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P4858.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P25663_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P4858_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P25663, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30002,37 +30002,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P25663_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___35385: undefined, - hbox___35410: undefined, - tileScale___35413: undefined, - tileSize___35416: undefined, - xDiff___35420: undefined, - yDiff___35427: undefined, - right___35443: undefined, - x0___35447: undefined, - collidedTiles___35462: undefined, - y___35464: undefined, - y0___35478: undefined, - obstacle___35494: undefined, - collisionDirection___35521: undefined, - tile___35547: undefined, - unnamed172___U14: undefined, - unnamed173___U15: undefined, - down___35638: undefined, - y0___35642: undefined, - collidedTiles___35657: undefined, - x___35659: undefined, - x0___35669: undefined, - obstacle___35683: undefined, - collisionDirection___35710: undefined, - tile___35736: undefined, - unnamed174___U24: undefined, - unnamed175___U25: undefined, - overlappedTiles___35830: undefined, - x___35832: undefined, - x0___35842: undefined, - y___35852: undefined, - y0___35862: undefined, + s___14575: undefined, + hbox___14600: undefined, + tileScale___14603: undefined, + tileSize___14606: undefined, + xDiff___14610: undefined, + yDiff___14617: undefined, + right___14633: undefined, + x0___14637: undefined, + collidedTiles___14652: undefined, + y___14654: undefined, + y0___14668: undefined, + obstacle___14684: undefined, + collisionDirection___14711: undefined, + tile___14737: undefined, + unnamed80___U14: undefined, + unnamed81___U15: undefined, + down___14828: undefined, + y0___14832: undefined, + collidedTiles___14847: undefined, + x___14849: undefined, + x0___14859: undefined, + obstacle___14873: undefined, + collisionDirection___14900: undefined, + tile___14926: undefined, + unnamed82___U24: undefined, + unnamed83___U25: undefined, + overlappedTiles___15020: undefined, + x___15022: undefined, + x0___15032: undefined, + y___15042: undefined, + y0___15052: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30042,7 +30042,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P25663_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P35502(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P14692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30064,12 +30064,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P35502.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P14692.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P35502_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P14692_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P35502, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P14692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30080,7 +30080,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P35502_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P35691(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P14881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30102,12 +30102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P35691.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P14881.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P35691_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P14881_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P35691, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P14881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30118,7 +30118,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P35691_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P25664(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30128,11 +30128,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___35909 = undefined; - s.tile___35912 = undefined; - s.unnamed176___U2 = undefined; - s.unnamed177___U3 = undefined; - s.tileOverlapHandlers___35933 = undefined; + s.alreadyHandled___15099 = undefined; + s.tile___15102 = undefined; + s.unnamed84___U2 = undefined; + s.unnamed85___U3 = undefined; + s.tileOverlapHandlers___15123 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30140,25 +30140,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___35909 = (r0); - s.tile___35912 = (undefined); - s.unnamed176___U2 = (s.arg2); - s.unnamed177___U3 = (0); + s.alreadyHandled___15099 = (r0); + s.tile___15102 = (undefined); + s.unnamed84___U2 = (s.arg2); + s.unnamed85___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed177___U3; - r0 = pxsim_Array__length(s.unnamed176___U2); + s.tmp_0 = r0 = s.unnamed85___U3; + r0 = pxsim_Array__length(s.unnamed84___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed176___U2, s.unnamed177___U3); - s.tile___35912 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P35916); + r0 = pxsim_Array__getAt(s.unnamed84___U2, s.unnamed85___U3); + s.tile___15102 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P15106); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___35912); - s.tmp_4 = helpers_arraySome__P20912_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___35909; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___15102); + s.tmp_4 = helpers_arraySome__P107_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___15099; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 742; s.pc = 8; return s.tmp_4; case 8: @@ -30169,26 +30169,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___35909, s.tile___35912); - s.tmp_0 = game_currentScene__P23821_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___15099, s.tile___15102); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 743; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___35933 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___35933); + s.tileOverlapHandlers___15123 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___15123); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P35941); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P15131); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___35912); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P35957); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___15102); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P15147); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___35912); - s.tmp_2 = helpers_arrayForEach__P20914_mk(s); - s.tmp_3 = helpers_arrayFilter__P20915_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___35933; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___15102); + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___15123; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 746; s.pc = 11; return s.tmp_3; case 11: @@ -30201,32 +30201,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed177___U3 + 1); - s.unnamed177___U3 = (r0); + r0 = (s.unnamed85___U3 + 1); + s.unnamed85___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed176___U2 = (undefined); + s.unnamed84___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P25664.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P4859.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P25664_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P4859_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P25664, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4859, 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___35909: undefined, - tile___35912: undefined, - unnamed176___U2: undefined, - unnamed177___U3: undefined, - tileOverlapHandlers___35933: undefined, + alreadyHandled___15099: undefined, + tile___15102: undefined, + unnamed84___U2: undefined, + unnamed85___U3: undefined, + tileOverlapHandlers___15123: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30236,7 +30236,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P25664_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P35916(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P15106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30273,12 +30273,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P35916.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P15106.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P35916_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P15106_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P35916, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P15106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30293,7 +30293,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P35916_mk(s) { -function forEach_inline__P35941(s) { +function forEach_inline__P15131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30320,7 +30320,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P23573_mk(s); + s.tmp_5 = tiles_getTileImage__P2769_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 745; s.pc = 3; return s.tmp_5; case 3: @@ -30334,12 +30334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P35941.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P15131.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P35941_mk(s) { +function forEach_inline__P15131_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P35941, depth: s.depth + 1, + parent: s, fn: forEach_inline__P15131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30355,7 +30355,7 @@ function forEach_inline__P35941_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P35957(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P15147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30388,12 +30388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P35957.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P15147.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P35957_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P15147_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P35957, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P15147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30403,7 +30403,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P35957_mk(s) { -function tiles_getTileImage__P23573(s) { +function tiles_getTileImage__P2769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30413,16 +30413,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___35965 = undefined; + s.scene___15155 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P23821_mk(s); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 876; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___35965 = (r0); + s.scene___15155 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -30432,7 +30432,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___35965.fields["tileMap"]; + r0 = s.scene___15155.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -30442,14 +30442,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex35975); + r0 = pxsim.image.ofBuffer(_hex15165); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P23564_mk(s); - r0 = s.scene___35965.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P2760_mk(s); + r0 = s.scene___15155.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P23509_mk(s); + s.tmp_6 = tiles_Location_tileSet__P2705_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 877; s.pc = 8; return s.tmp_6; case 8: @@ -30462,12 +30462,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P23573.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__P2769.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__P23573_mk(s) { +function tiles_getTileImage__P2769_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P23573, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P2769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30476,16 +30476,16 @@ function tiles_getTileImage__P23573_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___35965: undefined, + scene___15155: undefined, arg0: undefined, } } -const _hex35975 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex15165 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P23564(s) { +function tiles_TileMap_getTileImage__P2760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30501,8 +30501,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P23531_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2727_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -30512,12 +30512,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P23564.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__P2760.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__P23564_mk(s) { +function tiles_TileMap_getTileImage__P2760_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P23564, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P2760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30528,7 +30528,7 @@ function tiles_TileMap_getTileImage__P23564_mk(s) { -function tiles_TileMapData_getTileImage__P23531(s) { +function tiles_TileMapData_getTileImage__P2727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30538,25 +30538,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___36030 = undefined; - s.cachedImage___36034 = undefined; - s.originalImage___36041 = undefined; + s.size___15220 = undefined; + s.cachedImage___15224 = undefined; + s.originalImage___15231 = 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__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___36030 = (r0); + s.size___15220 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___36034 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___36034); + s.cachedImage___15224 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___15224); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30565,58 +30565,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___36041 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___36041); + s.originalImage___15231 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___15231); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___36041); + r0 = pxsim_ImageMethods.width(s.originalImage___15231); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___36030); + r0 = (s.tmp_1 <= s.size___15220); 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___36041); + r0 = pxsim_ImageMethods.height(s.originalImage___15231); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___36030); + r0 = (s.tmp_2 <= s.size___15220); 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___36034 = (s.originalImage___36041); + s.cachedImage___15224 = (s.originalImage___15231); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___36030, s.size___36030); - s.cachedImage___36034 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___36034, s.originalImage___36041, 0, 0); + r0 = pxsim.image.create(s.size___15220, s.size___15220); + s.cachedImage___15224 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___15224, s.originalImage___15231, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___36034); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___15224); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___36034; + r0 = s.cachedImage___15224; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P23531.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__P2727.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__P23531_mk(s) { +function tiles_TileMapData_getTileImage__P2727_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P23531, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P2727, 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___36030: undefined, - cachedImage___36034: undefined, - originalImage___36041: undefined, + size___15220: undefined, + cachedImage___15224: undefined, + originalImage___15231: undefined, arg0: undefined, arg1: undefined, } } @@ -30625,7 +30625,7 @@ function tiles_TileMapData_getTileImage__P23531_mk(s) { -function tiles_TileMapData_scale__P23526(s) { +function tiles_TileMapData_scale__P2722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30640,18 +30640,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P23526.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__P23526.isGetter = true; +tiles_TileMapData_scale__P2722.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__P2722.isGetter = true; -function tiles_TileMapData_scale__P23526_mk(s) { +function tiles_TileMapData_scale__P2722_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P23526, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30660,7 +30660,7 @@ function tiles_TileMapData_scale__P23526_mk(s) { -function tiles_Location_tileSet__P23509(s) { +function tiles_Location_tileSet__P2705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30675,9 +30675,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P23555_mk(s); - s.tmp_1 = tiles_Location_tileMap__P23500_mk(s); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P2751_mk(s); + s.tmp_1 = tiles_Location_tileMap__P2696_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 806; s.pc = 2; return s.tmp_1; case 2: @@ -30693,13 +30693,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P23509.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__P23509.isGetter = true; +tiles_Location_tileSet__P2705.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__P2705.isGetter = true; -function tiles_Location_tileSet__P23509_mk(s) { +function tiles_Location_tileSet__P2705_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P23509, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P2705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30710,7 +30710,7 @@ function tiles_Location_tileSet__P23509_mk(s) { -function tiles_TileMap_getTileIndex__P23555(s) { +function tiles_TileMap_getTileIndex__P2751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30727,8 +30727,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P23528_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P2724_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -30739,12 +30739,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P23555.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__P2751.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__P23555_mk(s) { +function tiles_TileMap_getTileIndex__P2751_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P23555, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P2751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30756,7 +30756,7 @@ function tiles_TileMap_getTileIndex__P23555_mk(s) { -function tiles_TileMapData_getTile__P23528(s) { +function tiles_TileMapData_getTile__P2724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30773,8 +30773,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P23534_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2730_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -30807,12 +30807,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P23528.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__P2724.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__P23528_mk(s) { +function tiles_TileMapData_getTile__P2724_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P23528, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P2724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30832,7 +30832,7 @@ function tiles_TileMapData_getTile__P23528_mk(s) { -function tiles_TileMapData_isOutsideMap__P23534(s) { +function tiles_TileMapData_isOutsideMap__P2730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30849,7 +30849,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -30889,12 +30889,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P23534.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__P2730.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__P23534_mk(s) { +function tiles_TileMapData_isOutsideMap__P2730_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P23534, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P2730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30913,7 +30913,7 @@ function tiles_TileMapData_isOutsideMap__P23534_mk(s) { -function tiles_Location_tileMap__P23500(s) { +function tiles_Location_tileMap__P2696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30928,8 +30928,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 797; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -30937,13 +30937,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P23500.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__P23500.isGetter = true; +tiles_Location_tileMap__P2696.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__P2696.isGetter = true; -function tiles_Location_tileMap__P23500_mk(s) { +function tiles_Location_tileMap__P2696_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P23500, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P2696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30953,7 +30953,7 @@ function tiles_Location_tileMap__P23500_mk(s) { -function tiles_Location_row__P23502(s) { +function tiles_Location_row__P2698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30968,18 +30968,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P23502.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__P23502.isGetter = true; +tiles_Location_row__P2698.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__P2698.isGetter = true; -function tiles_Location_row__P23502_mk(s) { +function tiles_Location_row__P2698_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P23502, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P2698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30988,7 +30988,7 @@ function tiles_Location_row__P23502_mk(s) { -function tiles_Location_column__P23501(s) { +function tiles_Location_column__P2697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31003,18 +31003,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P23501.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__P23501.isGetter = true; +tiles_Location_column__P2697.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__P2697.isGetter = true; -function tiles_Location_column__P23501_mk(s) { +function tiles_Location_column__P2697_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P23501, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P2697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31023,7 +31023,7 @@ function tiles_Location_column__P23501_mk(s) { -function tiles_TileMap_getObstacle__P23562(s) { +function tiles_TileMap_getObstacle__P2758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31033,8 +31033,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___36204 = undefined; - s.tile___36216 = undefined; + s.index___15394 = undefined; + s.tile___15406 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31042,8 +31042,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P23534_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P2730_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -31057,7 +31057,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P23528_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P2724_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -31068,20 +31068,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___36204 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P23531_mk(s); + s.index___15394 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P2727_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___36204; + s.tmp_0.arg1 = s.index___15394; s.callLocIdx = 856; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___36216 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C23303_VT); + s.tile___15406 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2499_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P23309_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P2505_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___36216; + s.tmp_1.arg1 = s.tile___15406; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -31094,7 +31094,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___36204; + s.tmp_1.arg5 = s.index___15394; s.callLocIdx = 860; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -31102,12 +31102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P23562.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__P2758.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__P23562_mk(s) { +function tiles_TileMap_getObstacle__P2758_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P23562, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P2758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31115,8 +31115,8 @@ function tiles_TileMap_getObstacle__P23562_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___36204: undefined, - tile___36216: undefined, + index___15394: undefined, + tile___15406: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31126,7 +31126,7 @@ function tiles_TileMap_getObstacle__P23562_mk(s) { -function tiles_TileMap_layer__P23550(s) { +function tiles_TileMap_layer__P2746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31141,18 +31141,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P23550.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__P23550.isGetter = true; +tiles_TileMap_layer__P2746.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__P2746.isGetter = true; -function tiles_TileMap_layer__P23550_mk(s) { +function tiles_TileMap_layer__P2746_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P23550, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P2746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31161,7 +31161,7 @@ function tiles_TileMap_layer__P23550_mk(s) { -function sprites_StaticObstacle_constructor__P23309(s) { +function sprites_StaticObstacle_constructor__P2505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31181,7 +31181,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C23303_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2499_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -31191,12 +31191,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P23309.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__P2505.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__P23309_mk(s) { +function sprites_StaticObstacle_constructor__P2505_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P23309, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P2505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31210,7 +31210,7 @@ function sprites_StaticObstacle_constructor__P23309_mk(s) { -function tiles_TileMap_isObstacle__P23561(s) { +function tiles_TileMap_isObstacle__P2757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31227,7 +31227,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -31248,7 +31248,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P23534_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P2730_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -31274,12 +31274,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P23561.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__P2757.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__P23561_mk(s) { +function tiles_TileMap_isObstacle__P2757_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P23561, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P2757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31302,7 +31302,7 @@ function tiles_TileMap_isObstacle__P23561_mk(s) { -function tiles_TileMapData_isWall__P23533(s) { +function tiles_TileMapData_isWall__P2729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31319,7 +31319,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -31328,12 +31328,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P23533.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__P2729.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__P23533_mk(s) { +function tiles_TileMapData_isWall__P2729_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P23533, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P2729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31346,7 +31346,7 @@ function tiles_TileMapData_isWall__P23533_mk(s) { -function tiles_TileMap_getTile__P23554(s) { +function tiles_TileMap_getTile__P2750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31363,10 +31363,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C23498_VT); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2694_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P23499_mk(s); + s.tmp_1 = tiles_Location_constructor__P2695_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -31378,12 +31378,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P23554.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__P2750.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__P23554_mk(s) { +function tiles_TileMap_getTile__P2750_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P23554, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P2750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31396,7 +31396,7 @@ function tiles_TileMap_getTile__P23554_mk(s) { -function tiles_Location_constructor__P23499(s) { +function tiles_Location_constructor__P2695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31414,19 +31414,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2694_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__P23499.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__P2695.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__P23499_mk(s) { +function tiles_Location_constructor__P2695_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P23499, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P2695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31438,7 +31438,7 @@ function tiles_Location_constructor__P23499_mk(s) { -function Sprite_registerObstacle__P23231(s) { +function Sprite_registerObstacle__P2427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31448,10 +31448,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___36117 = undefined; - s.wallCollisionHandlers___36124 = undefined; - s.wallHandlersToRun___36149 = undefined; - s.asTileLocation___36162 = undefined; + s.collisionHandlers___15307 = undefined; + s.wallCollisionHandlers___15314 = undefined; + s.wallHandlersToRun___15339 = undefined; + s.asTileLocation___15352 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31460,11 +31460,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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__P23821_mk(s); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 414; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31484,24 +31484,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___36117 = (r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + s.collisionHandlers___15307 = (r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 416; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___36124 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___36117); + s.wallCollisionHandlers___15314 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___15307); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P36132); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P15322); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P36138); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P15328); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P20914_mk(s); - s.tmp_3 = helpers_arrayFilter__P20915_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___36117; + s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_3 = helpers_arrayFilter__P110_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___15307; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 418; s.pc = 13; return s.tmp_3; case 13: @@ -31513,7 +31513,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___36124); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___15314); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -31521,7 +31521,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P23821_mk(s); + s.tmp_1 = game_currentScene__P3017_mk(s); s.callLocIdx = 421; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -31530,21 +31530,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P36151); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P15341); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P20915_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___36124; + s.tmp_1 = helpers_arrayFilter__P110_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___15314; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 423; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___36149 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___36149); + s.wallHandlersToRun___15339 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___15339); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P23554_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P2750_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -31583,13 +31583,13 @@ switch (step) { s.callLocIdx = 428; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___36162 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P36178); + s.asTileLocation___15352 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P15368); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___36162); - s.tmp_1 = helpers_arrayForEach__P20914_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___36149; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___15352); + s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___15339; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 430; s.pc = 19; return s.tmp_1; case 19: @@ -31602,12 +31602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P23231.info = {"start":24992,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P2427.info = {"start":24992,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P23231_mk(s) { +function Sprite_registerObstacle__P2427_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P23231, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P2427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31617,10 +31617,10 @@ function Sprite_registerObstacle__P23231_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___36117: undefined, - wallCollisionHandlers___36124: undefined, - wallHandlersToRun___36149: undefined, - asTileLocation___36162: undefined, + collisionHandlers___15307: undefined, + wallCollisionHandlers___15314: undefined, + wallHandlersToRun___15339: undefined, + asTileLocation___15352: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31631,7 +31631,7 @@ function Sprite_registerObstacle__P23231_mk(s) { -function forEach_inline__P36132(s) { +function forEach_inline__P15322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31653,12 +31653,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P36132.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P15322.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P36132_mk(s) { +function forEach_inline__P15322_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P36132, depth: s.depth + 1, + parent: s, fn: forEach_inline__P15322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31669,7 +31669,7 @@ function forEach_inline__P36132_mk(s) { -function Sprite_registerObstacle_inline__P36138(s) { +function Sprite_registerObstacle_inline__P15328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31701,12 +31701,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P36138.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P15328.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P36138_mk(s) { +function Sprite_registerObstacle_inline__P15328_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P36138, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P15328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31716,7 +31716,7 @@ function Sprite_registerObstacle_inline__P36138_mk(s) { -function wallHandlersToRun_inline__P36151(s) { +function wallHandlersToRun_inline__P15341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31738,12 +31738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P36151.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P15341.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P36151_mk(s) { +function wallHandlersToRun_inline__P15341_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P36151, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P15341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31754,7 +31754,7 @@ function wallHandlersToRun_inline__P36151_mk(s) { -function Sprite_registerObstacle_inline__P36178(s) { +function Sprite_registerObstacle_inline__P15368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31787,12 +31787,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P36178.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P15368.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P36178_mk(s) { +function Sprite_registerObstacle_inline__P15368_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P36178, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P15368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31802,7 +31802,7 @@ function Sprite_registerObstacle_inline__P36178_mk(s) { -function Math_sign__P20934(s) { +function Math_sign__P129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31837,12 +31837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P20934.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__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"]} -function Math_sign__P20934_mk(s) { +function Math_sign__P129_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P20934, depth: s.depth + 1, + parent: s, fn: Math_sign__P129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31853,7 +31853,7 @@ function Math_sign__P20934_mk(s) { -function helpers_arraySome__P20912(s) { +function helpers_arraySome__P107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31863,26 +31863,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___36186 = undefined; - s.i___36189 = undefined; + s.len___15376 = undefined; + s.i___15379 = 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___36186 = (r0); - s.i___36189 = (0); + s.len___15376 = (r0); + s.i___15379 = (0); case 1: - r0 = (s.i___36189 < s.len___36186); + r0 = (s.i___15379 < s.len___15376); 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___36189); + r0 = pxsim_Array__getAt(s.arg0, s.i___15379); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___36189; + s.tmp_2.arg1 = s.i___15379; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -31894,8 +31894,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___36189 + 1); - s.i___36189 = (r0); + r0 = (s.i___15379 + 1); + s.i___15379 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -31903,18 +31903,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P20912.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P107.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -function helpers_arraySome__P20912_mk(s) { +function helpers_arraySome__P107_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P20912, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___36186: undefined, - i___36189: undefined, + len___15376: undefined, + i___15379: undefined, arg0: undefined, arg1: undefined, } } @@ -31923,7 +31923,7 @@ function helpers_arraySome__P20912_mk(s) { -function tiles_TileMap_isOnWall__P23563(s) { +function tiles_TileMap_isOnWall__P2759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31933,24 +31933,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___35291 = undefined; - s.left___35294 = undefined; - s.right___35300 = undefined; - s.top___35306 = undefined; - s.bottom___35312 = undefined; - s.col___35318 = undefined; - s.row___35324 = undefined; + s.hbox___14481 = undefined; + s.left___14484 = undefined; + s.right___14490 = undefined; + s.top___14496 = undefined; + s.bottom___14502 = undefined; + s.col___14508 = undefined; + s.row___14514 = 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__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___35291 = (r0); - s.tmp_1 = game_Hitbox_left__P23021_mk(s); - s.tmp_1.arg0 = s.hbox___35291; + s.hbox___14481 = (r0); + s.tmp_1 = game_Hitbox_left__P2217_mk(s); + s.tmp_1.arg0 = s.hbox___14481; s.callLocIdx = 861; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -31960,9 +31960,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___35294 = (r0); - s.tmp_1 = game_Hitbox_right__P23023_mk(s); - s.tmp_1.arg0 = s.hbox___35291; + s.left___14484 = (r0); + s.tmp_1 = game_Hitbox_right__P2219_mk(s); + s.tmp_1.arg0 = s.hbox___14481; s.callLocIdx = 864; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31972,9 +31972,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___35300 = (r0); - s.tmp_1 = game_Hitbox_top__P23022_mk(s); - s.tmp_1.arg0 = s.hbox___35291; + s.right___14490 = (r0); + s.tmp_1 = game_Hitbox_top__P2218_mk(s); + s.tmp_1.arg0 = s.hbox___14481; s.callLocIdx = 867; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -31984,9 +31984,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___35306 = (r0); - s.tmp_1 = game_Hitbox_bottom__P23024_mk(s); - s.tmp_1.arg0 = s.hbox___35291; + s.top___14496 = (r0); + s.tmp_1 = game_Hitbox_bottom__P2220_mk(s); + s.tmp_1.arg0 = s.hbox___14481; s.callLocIdx = 870; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -31996,23 +31996,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___35312 = (r0); - s.col___35318 = (s.left___35294); + s.bottom___14502 = (r0); + s.col___14508 = (s.left___14484); case 1: - r0 = (s.col___35318 <= s.right___35300); + r0 = (s.col___14508 <= s.right___14490); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___35324 = (s.top___35306); + s.row___14514 = (s.top___14496); case 2: - r0 = (s.row___35324 <= s.bottom___35312); + r0 = (s.row___14514 <= s.bottom___14502); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P23561_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P2757_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___35318; - s.tmp_2.arg2 = s.row___35324; + s.tmp_2.arg1 = s.col___14508; + s.tmp_2.arg2 = s.row___14514; s.callLocIdx = 873; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -32023,12 +32023,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___35324 + 1); - s.row___35324 = (r0); + r0 = (s.row___14514 + 1); + s.row___14514 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___35318 + 1); - s.col___35318 = (r0); + r0 = (s.col___14508 + 1); + s.col___14508 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -32036,24 +32036,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P23563.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__P2759.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__P23563_mk(s) { +function tiles_TileMap_isOnWall__P2759_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P23563, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P2759, 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___35291: undefined, - left___35294: undefined, - right___35300: undefined, - top___35306: undefined, - bottom___35312: undefined, - col___35318: undefined, - row___35324: undefined, + hbox___14481: undefined, + left___14484: undefined, + right___14490: undefined, + top___14496: undefined, + bottom___14502: undefined, + col___14508: undefined, + row___14514: undefined, arg0: undefined, arg1: undefined, } } @@ -32062,7 +32062,7 @@ function tiles_TileMap_isOnWall__P23563_mk(s) { -function MovingSprite_constructor__P23331(s) { +function MovingSprite_constructor__P2527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32084,7 +32084,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C23330_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C2526_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -32096,12 +32096,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P23331.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__P2527.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__P23331_mk(s) { +function MovingSprite_constructor__P2527_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P23331, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P2527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32117,7 +32117,7 @@ function MovingSprite_constructor__P23331_mk(s) { -function ArcadePhysicsEngine_move__P23344(s) { +function ArcadePhysicsEngine_move__P2540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32127,76 +32127,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___36261 = undefined; - s.dt2___36267 = undefined; - s.scene___36271 = undefined; - s.tileMap___36274 = undefined; - s.movingSprites___36277 = undefined; - s.MAX_STEP_COUNT___36308 = undefined; - s.overlapHandlers___36320 = undefined; - s.selected___36327 = undefined; - s.buffers___36328 = undefined; - s.count___36332 = undefined; - s.currMovers___36342 = undefined; - s.remainingMovers___36349 = undefined; - s.ms___36354 = undefined; - s.unnamed166___U13 = undefined; - s.unnamed167___U14 = undefined; - s.s___36356 = undefined; - s.stepX___36449 = undefined; - s.stepY___36463 = undefined; - s.bounce___36526 = undefined; + s.dtMs___15451 = undefined; + s.dt2___15457 = undefined; + s.scene___15461 = undefined; + s.tileMap___15464 = undefined; + s.movingSprites___15467 = undefined; + s.MAX_STEP_COUNT___15498 = undefined; + s.overlapHandlers___15510 = undefined; + s.selected___15517 = undefined; + s.buffers___15518 = undefined; + s.count___15522 = undefined; + s.currMovers___15532 = undefined; + s.remainingMovers___15539 = undefined; + s.ms___15544 = undefined; + s.unnamed74___U13 = undefined; + s.unnamed75___U14 = undefined; + s.s___15546 = undefined; + s.stepX___15639 = undefined; + s.stepY___15653 = undefined; + s.bounce___15716 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); - s.tmp_0 = Math_min__P20936_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); + s.tmp_0 = Math_min__P131_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 539; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___36261 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___36261, 2); - s.dt2___36267 = (r0); - s.tmp_0 = game_currentScene__P23821_mk(s); + s.dtMs___15451 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___15451, 2); + s.dt2___15457 = (r0); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 540; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___36271 = (r0); - r0 = s.scene___36271.fields["tileMap"]; - s.tileMap___36274 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P36279); + s.scene___15461 = (r0); + r0 = s.scene___15461.fields["tileMap"]; + s.tileMap___15464 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P15469); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___36261); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___36267); - s.tmp_1 = helpers_arrayMap__P20911_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___15451); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___15457); + s.tmp_1 = helpers_arrayMap__P106_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 542; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___36277 = (r0); - s.tmp_0 = helpers_arrayForEach__P20914_mk(s); + s.movingSprites___15467 = (r0); + s.tmp_0 = helpers_arrayForEach__P109_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P36291; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P15481; s.callLocIdx = 546; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P23257_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P2453_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 547; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P23256_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2452_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -32212,41 +32212,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___36261); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___15451); 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___36308 = (r0); - s.tmp_0 = helpers_arraySlice__P20920_mk(s); - r0 = s.scene___36271.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___15498 = (r0); + s.tmp_0 = helpers_arraySlice__P115_mk(s); + r0 = s.scene___15461.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 553; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___36320 = (r0); - s.selected___36327 = (0); + s.overlapHandlers___15510 = (r0); + s.selected___15517 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___36277); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___15467); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___36328 = (s.tmp_0); - s.count___36332 = (0); + s.buffers___15518 = (s.tmp_0); + s.count___15522 = (0); case 1: - r0 = (s.count___36332 < s.MAX_STEP_COUNT___36308); + r0 = (s.count___15522 < s.MAX_STEP_COUNT___15498); 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___36328, s.selected___36327); + r0 = pxsim_Array__getAt(s.buffers___15518, s.selected___15517); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -32256,43 +32256,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___36328, s.selected___36327); - s.currMovers___36342 = (r0); - r0 = (s.selected___36327 ^ 1); - s.selected___36327 = (r0); - r0 = pxsim_Array__getAt(s.buffers___36328, s.selected___36327); - s.remainingMovers___36349 = (r0); - s.ms___36354 = (undefined); - s.unnamed166___U13 = (s.currMovers___36342); - s.unnamed167___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___15518, s.selected___15517); + s.currMovers___15532 = (r0); + r0 = (s.selected___15517 ^ 1); + s.selected___15517 = (r0); + r0 = pxsim_Array__getAt(s.buffers___15518, s.selected___15517); + s.remainingMovers___15539 = (r0); + s.ms___15544 = (undefined); + s.unnamed74___U13 = (s.currMovers___15532); + s.unnamed75___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed167___U14; - r0 = pxsim_Array__length(s.unnamed166___U13); + s.tmp_0 = r0 = s.unnamed75___U14; + r0 = pxsim_Array__length(s.unnamed74___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed166___U13, s.unnamed167___U14); - s.ms___36354 = (r0); - r0 = s.ms___36354.fields["sprite"]; - s.s___36356 = (r0); - r0 = s.ms___36354.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed74___U13, s.unnamed75___U14); + s.ms___15544 = (r0); + r0 = s.ms___15544.fields["sprite"]; + s.s___15546 = (r0); + r0 = s.ms___15544.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___36356.fields["_vx"]; + r0 = s.s___15546.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___36356.fields["_vx"]; + r0 = s.s___15546.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___36354).fields["dx"] = (0); + r0 = (s.ms___15544).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___36356.fields["_vx"]; + r0 = s.s___15546.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32301,7 +32301,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___36354.fields["cachedVx"]; + r0 = s.ms___15544.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -32312,7 +32312,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___36356.fields["_vx"]; + r0 = s.s___15546.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32321,7 +32321,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___36354.fields["cachedVx"]; + r0 = s.ms___15544.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -32333,14 +32333,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___36354; - r0 = s.ms___36354.fields["dx"]; + s.tmp_9 = r0 = s.ms___15544; + r0 = s.ms___15544.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___36354; - r0 = s.ms___36354.fields["xStep"]; + s.tmp_0 = r0 = s.ms___15544; + r0 = s.ms___15544.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32348,29 +32348,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___36356.fields["_vx"]; + r0 = s.s___15546.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___36354).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___15544).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___36354.fields["cachedVy"]; + r0 = s.ms___15544.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___36356.fields["_vy"]; + r0 = s.s___15546.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___36356.fields["_vy"]; + r0 = s.s___15546.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___36354).fields["dy"] = (0); + r0 = (s.ms___15544).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___36356.fields["_vy"]; + r0 = s.s___15546.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32379,7 +32379,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___36354.fields["cachedVy"]; + r0 = s.ms___15544.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -32390,7 +32390,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___36356.fields["_vy"]; + r0 = s.s___15546.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32399,7 +32399,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___36354.fields["cachedVy"]; + r0 = s.ms___15544.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -32411,14 +32411,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___36354; - r0 = s.ms___36354.fields["dy"]; + s.tmp_9 = r0 = s.ms___15544; + r0 = s.ms___15544.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___36354; - r0 = s.ms___36354.fields["yStep"]; + s.tmp_0 = r0 = s.ms___15544; + r0 = s.ms___15544.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32426,20 +32426,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___36356.fields["_vy"]; + r0 = s.s___15546.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___36354).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___15544).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P20970_mk(s); - r0 = s.ms___36354.fields["xStep"]; + s.tmp_2 = Fx_abs__P165_mk(s); + r0 = s.ms___15544.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 558; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P20970_mk(s); - r0 = s.ms___36354.fields["dx"]; + s.tmp_4 = Fx_abs__P165_mk(s); + r0 = s.ms___15544.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 559; s.pc = 61; return s.tmp_4; case 61: @@ -32449,23 +32449,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___36354.fields["dx"]; + r0 = s.ms___15544.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___36354.fields["xStep"]; + r0 = s.ms___15544.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___36449 = (s.tmp_5); - s.tmp_2 = Fx_abs__P20970_mk(s); - r0 = s.ms___36354.fields["yStep"]; + s.stepX___15639 = (s.tmp_5); + s.tmp_2 = Fx_abs__P165_mk(s); + r0 = s.ms___15544.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 560; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P20970_mk(s); - r0 = s.ms___36354.fields["dy"]; + s.tmp_4 = Fx_abs__P165_mk(s); + r0 = s.ms___15544.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 561; s.pc = 63; return s.tmp_4; case 63: @@ -32475,45 +32475,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___36354.fields["dy"]; + r0 = s.ms___15544.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___36354.fields["yStep"]; + r0 = s.ms___15544.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___36463 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___36354; - r0 = s.ms___36354.fields["dx"]; + s.stepY___15653 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___15544; + r0 = s.ms___15544.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___36449); + r0 = (s.tmp_2 - s.stepX___15639); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___36354; - r0 = s.ms___36354.fields["dy"]; + s.tmp_0 = r0 = s.ms___15544; + r0 = s.ms___15544.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___36463); + r0 = (s.tmp_2 - s.stepY___15653); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___36356.fields["_x"]; + r0 = s.s___15546.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___36356).fields["_lastX"] = (s.tmp_0); - r0 = s.s___36356.fields["_y"]; + r0 = (s.s___15546).fields["_lastX"] = (s.tmp_0); + r0 = s.s___15546.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___36356).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___36356; - r0 = s.s___36356.fields["_x"]; + r0 = (s.s___15546).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___15546; + r0 = s.s___15546.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___36449); + r0 = (s.tmp_2 + s.stepX___15639); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___36356; - r0 = s.s___36356.fields["_y"]; + s.tmp_0 = r0 = s.s___15546; + r0 = s.s___15546.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___36463); + r0 = (s.tmp_2 + s.stepY___15653); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___36356.fields["flags"]; + r0 = s.s___15546.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -32523,22 +32523,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__P23258_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P2454_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___36356; + s.tmp_4.arg1 = s.s___15546; s.callLocIdx = 566; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___36274; + s.tmp_0 = r0 = s.tileMap___15464; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___36274.fields["_map"]; + r0 = s.tileMap___15464.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -32552,20 +32552,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P25663_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4858_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___36354; - s.tmp_6.arg2 = s.tileMap___36274; + s.tmp_6.arg1 = s.ms___15544; + s.tmp_6.arg2 = s.tileMap___15464; s.callLocIdx = 568; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___36356.fields["flags"]; + r0 = s.s___15546.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___36526 = (r0); - r0 = s.s___36356.fields["flags"]; + s.bounce___15716 = (r0); + r0 = s.s___15546.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -32574,13 +32574,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___36526; + s.tmp_2 = r0 = s.bounce___15716; 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___36274); + r0 = pxsim_numops_toBoolDecr(s.tileMap___15464); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -32592,81 +32592,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P25662_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4857_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___36354; - s.tmp_6.arg2 = s.bounce___36526; - r0 = s.scene___36271.fields["camera"]; + s.tmp_6.arg1 = s.ms___15544; + s.tmp_6.arg2 = s.bounce___15716; + r0 = s.scene___15461.fields["camera"]; s.tmp_6.arg3 = r0; s.callLocIdx = 569; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: - s.tmp_2 = Fx_abs__P20970_mk(s); - r0 = s.ms___36354.fields["dx"]; + s.tmp_2 = Fx_abs__P165_mk(s); + r0 = s.ms___15544.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 570; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___23326); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2522); 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__P20970_mk(s); - r0 = s.ms___36354.fields["dy"]; + s.tmp_4 = Fx_abs__P165_mk(s); + r0 = s.ms___15544.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 571; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___23326); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2522); 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___36349, s.ms___36354); + r0 = pxsim_Array__push(s.remainingMovers___15539, s.ms___15544); case 47: case 48: - r0 = (s.unnamed167___U14 + 1); - s.unnamed167___U14 = (r0); + r0 = (s.unnamed75___U14 + 1); + s.unnamed75___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed166___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P25661_mk(s); + s.unnamed74___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4856_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___36342; - s.tmp_0.arg2 = s.overlapHandlers___36320; + s.tmp_0.arg1 = s.currMovers___15532; + s.tmp_0.arg2 = s.overlapHandlers___15510; s.callLocIdx = 572; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___36342); + r0 = pxsim_Array__length(s.currMovers___15532); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___36342); + r0 = pxsim_Array_.pop(s.currMovers___15532); { step = 50; continue; } case 51: - r0 = (s.count___36332 + 1); - s.count___36332 = (r0); + r0 = (s.count___15522 + 1); + s.count___15522 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P23344.info = {"start":2822,"length":4105,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P2540.info = {"start":2822,"length":4105,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P23344_mk(s) { +function ArcadePhysicsEngine_move__P2540_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P23344, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P2540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32680,25 +32680,25 @@ function ArcadePhysicsEngine_move__P23344_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___36261: undefined, - dt2___36267: undefined, - scene___36271: undefined, - tileMap___36274: undefined, - movingSprites___36277: undefined, - MAX_STEP_COUNT___36308: undefined, - overlapHandlers___36320: undefined, - selected___36327: undefined, - buffers___36328: undefined, - count___36332: undefined, - currMovers___36342: undefined, - remainingMovers___36349: undefined, - ms___36354: undefined, - unnamed166___U13: undefined, - unnamed167___U14: undefined, - s___36356: undefined, - stepX___36449: undefined, - stepY___36463: undefined, - bounce___36526: undefined, + dtMs___15451: undefined, + dt2___15457: undefined, + scene___15461: undefined, + tileMap___15464: undefined, + movingSprites___15467: undefined, + MAX_STEP_COUNT___15498: undefined, + overlapHandlers___15510: undefined, + selected___15517: undefined, + buffers___15518: undefined, + count___15522: undefined, + currMovers___15532: undefined, + remainingMovers___15539: undefined, + ms___15544: undefined, + unnamed74___U13: undefined, + unnamed75___U14: undefined, + s___15546: undefined, + stepX___15639: undefined, + stepY___15653: undefined, + bounce___15716: undefined, arg0: undefined, arg1: undefined, } } @@ -32707,7 +32707,7 @@ function ArcadePhysicsEngine_move__P23344_mk(s) { -function movingSprites_inline__P36279(s) { +function movingSprites_inline__P15469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32721,7 +32721,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P25660_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4855_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -32732,12 +32732,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P36279.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__P15469.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__P36279_mk(s) { +function movingSprites_inline__P15469_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P36279, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P15469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32747,7 +32747,7 @@ function movingSprites_inline__P36279_mk(s) { -function ArcadePhysicsEngine_move_inline__P36291(s) { +function ArcadePhysicsEngine_move_inline__P15481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32761,7 +32761,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P23163_mk(s); + s.tmp_1 = Sprite_vx__P2359_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 543; s.pc = 5; return s.tmp_1; case 5: @@ -32772,7 +32772,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P23165_mk(s); + s.tmp_2 = Sprite_vy__P2361_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 544; s.pc = 6; return s.tmp_2; case 6: @@ -32782,7 +32782,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P23230_mk(s); + s.tmp_4 = Sprite_clearObstacles__P2426_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 545; s.pc = 7; return s.tmp_4; case 7: @@ -32793,12 +32793,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P36291.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__P15481.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__P36291_mk(s) { +function ArcadePhysicsEngine_move_inline__P15481_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P36291, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P15481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32812,7 +32812,7 @@ function ArcadePhysicsEngine_move_inline__P36291_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P25662(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P4857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32822,8 +32822,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___37109 = undefined; - s.offset___37124 = undefined; + s.s___16299 = undefined; + s.offset___16314 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32832,10 +32832,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___37109 = (r0); - r0 = s.s___37109.fields["_image"]; + s.s___16299 = (r0); + r0 = s.s___16299.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -32845,16 +32845,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C23146_v4_1_mk(s); - s.tmp_4.arg0 = s.s___37109; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C23146_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C2342_v4_1_mk(s); + s.tmp_4.arg0 = s.s___16299; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C2342_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 21; return s.tmp_4; case 21: r0 = s.retval; case 1: case 2: - s.tmp_3 = scene_Camera_isUpdated__P23602_mk(s); + s.tmp_3 = scene_Camera_isUpdated__P2798_mk(s); s.tmp_3.arg0 = s.arg3; s.callLocIdx = 617; s.pc = 22; return s.tmp_3; case 22: @@ -32866,15 +32866,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = scene_Camera_update__P23603_mk(s); + s.tmp_4 = scene_Camera_update__P2799_mk(s); s.tmp_4.arg0 = s.arg3; s.callLocIdx = 618; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: - s.tmp_2 = game_Hitbox_left__P23021_mk(s); - r0 = s.s___37109.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P2217_mk(s); + r0 = s.s___16299.fields["_hitbox"]; s.tmp_2.arg0 = r0; s.callLocIdx = 619; s.pc = 24; return s.tmp_2; case 24: @@ -32885,31 +32885,31 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___37124 = (r0); - r0 = (s.offset___37124 < 0); + s.offset___16314 = (r0); + r0 = (s.offset___16314 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_left__P23205_mk(s); - s.tmp_2 = r0 = s.s___37109; + s.tmp_1 = Sprite_left__P2401_mk(s); + s.tmp_2 = r0 = s.s___16299; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P23204_mk(s); + s.tmp_4 = Sprite_left__P2400_mk(s); s.tmp_4.arg0 = s.tmp_2; s.callLocIdx = 622; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___37124); + r0 = (s.tmp_3 - s.offset___16314); s.tmp_1.arg1 = r0; s.callLocIdx = 623; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 5; continue; } - s.tmp_0 = Sprite_vx__P23164_mk(s); - s.tmp_0.arg0 = s.s___37109; - s.tmp_2 = Sprite_vx__P23163_mk(s); - s.tmp_2.arg0 = s.s___37109; + s.tmp_0 = Sprite_vx__P2360_mk(s); + s.tmp_0.arg0 = s.s___16299; + s.tmp_2 = Sprite_vx__P2359_mk(s); + s.tmp_2.arg0 = s.s___16299; s.callLocIdx = 624; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; @@ -32923,8 +32923,8 @@ switch (step) { case 6: { step = 12; continue; } case 7: - s.tmp_4 = game_Hitbox_right__P23023_mk(s); - r0 = s.s___37109.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P2219_mk(s); + r0 = s.s___16299.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 626; s.pc = 29; return s.tmp_4; case 29: @@ -32936,35 +32936,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___37124 = (r0); + s.offset___16314 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 10; continue; } - s.tmp_8 = Sprite_right__P23207_mk(s); - s.tmp_9 = r0 = s.s___37109; + s.tmp_8 = Sprite_right__P2403_mk(s); + s.tmp_9 = r0 = s.s___16299; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P23206_mk(s); + s.tmp_11 = Sprite_right__P2402_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 629; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___37124); + r0 = (s.tmp_10 - s.offset___16314); s.tmp_8.arg1 = r0; s.callLocIdx = 630; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 8; continue; } - s.tmp_0 = Sprite_vx__P23164_mk(s); - s.tmp_0.arg0 = s.s___37109; - s.tmp_2 = Sprite_vx__P23163_mk(s); - s.tmp_2.arg0 = s.s___37109; + s.tmp_0 = Sprite_vx__P2360_mk(s); + s.tmp_0.arg0 = s.s___16299; + s.tmp_2 = Sprite_vx__P2359_mk(s); + s.tmp_2.arg0 = s.s___16299; s.callLocIdx = 631; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -32979,8 +32979,8 @@ switch (step) { case 10: case 11: case 12: - s.tmp_3 = game_Hitbox_top__P23022_mk(s); - r0 = s.s___37109.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P2218_mk(s); + r0 = s.s___16299.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 633; s.pc = 34; return s.tmp_3; case 34: @@ -32992,31 +32992,31 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___37124 = (r0); + s.offset___16314 = (r0); r0 = (s.tmp_0 < 0); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } - s.tmp_6 = Sprite_top__P23209_mk(s); - s.tmp_7 = r0 = s.s___37109; + s.tmp_6 = Sprite_top__P2405_mk(s); + s.tmp_7 = r0 = s.s___16299; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P23208_mk(s); + s.tmp_9 = Sprite_top__P2404_mk(s); s.tmp_9.arg0 = s.tmp_7; s.callLocIdx = 636; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___37124); + r0 = (s.tmp_8 - s.offset___16314); s.tmp_6.arg1 = r0; s.callLocIdx = 637; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vy__P23166_mk(s); - s.tmp_0.arg0 = s.s___37109; - s.tmp_2 = Sprite_vy__P23165_mk(s); - s.tmp_2.arg0 = s.s___37109; + s.tmp_0 = Sprite_vy__P2362_mk(s); + s.tmp_0.arg0 = s.s___16299; + s.tmp_2 = Sprite_vy__P2361_mk(s); + s.tmp_2.arg0 = s.s___16299; s.callLocIdx = 638; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -33030,8 +33030,8 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_4 = game_Hitbox_bottom__P23024_mk(s); - r0 = s.s___37109.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P2220_mk(s); + r0 = s.s___16299.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 640; s.pc = 39; return s.tmp_4; case 39: @@ -33043,35 +33043,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___37124 = (r0); + s.offset___16314 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 18; continue; } - s.tmp_8 = Sprite_bottom__P23211_mk(s); - s.tmp_9 = r0 = s.s___37109; + s.tmp_8 = Sprite_bottom__P2407_mk(s); + s.tmp_9 = r0 = s.s___16299; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P23210_mk(s); + s.tmp_11 = Sprite_bottom__P2406_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 643; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___37124); + r0 = (s.tmp_10 - s.offset___16314); s.tmp_8.arg1 = r0; s.callLocIdx = 644; s.pc = 40; return s.tmp_8; case 40: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vy__P23166_mk(s); - s.tmp_0.arg0 = s.s___37109; - s.tmp_2 = Sprite_vy__P23165_mk(s); - s.tmp_2.arg0 = s.s___37109; + s.tmp_0 = Sprite_vy__P2362_mk(s); + s.tmp_0.arg0 = s.s___16299; + s.tmp_2 = Sprite_vy__P2361_mk(s); + s.tmp_2.arg0 = s.s___16299; s.callLocIdx = 645; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; @@ -33090,12 +33090,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P25662.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} +ArcadePhysicsEngine_screenEdgeCollisions__P4857.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} -function ArcadePhysicsEngine_screenEdgeCollisions__P25662_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P4857_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P25662, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P4857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33109,8 +33109,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P25662_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___37109: undefined, - offset___37124: undefined, + s___16299: undefined, + offset___16314: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33121,7 +33121,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P25662_mk(s) { -function scene_Camera_isUpdated__P23602(s) { +function scene_Camera_isUpdated__P2798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33136,7 +33136,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33148,7 +33148,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_5 = Sprite_x__P23159_mk(s); + s.tmp_5 = Sprite_x__P2355_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; s.callLocIdx = 889; s.pc = 5; return s.tmp_5; @@ -33164,7 +33164,7 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_8 = Sprite_y__P23161_mk(s); + s.tmp_8 = Sprite_y__P2357_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; s.callLocIdx = 890; s.pc = 6; return s.tmp_8; @@ -33185,12 +33185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_isUpdated__P23602.info = {"start":2403,"length":150,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"isUpdated","argumentNames":["this"]} +scene_Camera_isUpdated__P2798.info = {"start":2403,"length":150,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"isUpdated","argumentNames":["this"]} -function scene_Camera_isUpdated__P23602_mk(s) { +function scene_Camera_isUpdated__P2798_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_isUpdated__P23602, depth: s.depth + 1, + parent: s, fn: scene_Camera_isUpdated__P2798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33211,7 +33211,7 @@ function scene_Camera_isUpdated__P23602_mk(s) { -function Sprite_bottom__P23211(s) { +function Sprite_bottom__P2407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33227,11 +33227,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P23209_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P2405_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P23203_mk(s); + s.tmp_3 = Sprite_height__P2399_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 364; s.pc = 2; return s.tmp_3; case 2: @@ -33246,12 +33246,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P23211.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__P2407.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__P23211_mk(s) { +function Sprite_bottom__P2407_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P23211, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33265,7 +33265,7 @@ function Sprite_bottom__P23211_mk(s) { -function Sprite_bottom__P23210(s) { +function Sprite_bottom__P2406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33280,14 +33280,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P23208_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P2404_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 362; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P23203_mk(s); + s.tmp_3 = Sprite_height__P2399_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 363; s.pc = 2; return s.tmp_3; case 2: @@ -33297,13 +33297,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P23210.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__P23210.isGetter = true; +Sprite_bottom__P2406.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__P2406.isGetter = true; -function Sprite_bottom__P23210_mk(s) { +function Sprite_bottom__P2406_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P23210, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P2406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33316,7 +33316,7 @@ function Sprite_bottom__P23210_mk(s) { -function Sprite_right__P23207(s) { +function Sprite_right__P2403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33332,11 +33332,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P23205_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2401_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P23202_mk(s); + s.tmp_3 = Sprite_width__P2398_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 356; s.pc = 2; return s.tmp_3; case 2: @@ -33351,12 +33351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P23207.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__P2403.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__P23207_mk(s) { +function Sprite_right__P2403_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P23207, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33370,7 +33370,7 @@ function Sprite_right__P23207_mk(s) { -function Sprite_right__P23206(s) { +function Sprite_right__P2402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33385,14 +33385,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P23204_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P2400_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 354; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P23202_mk(s); + s.tmp_3 = Sprite_width__P2398_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 355; s.pc = 2; return s.tmp_3; case 2: @@ -33402,13 +33402,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P23206.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__P23206.isGetter = true; +Sprite_right__P2402.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__P2402.isGetter = true; -function Sprite_right__P23206_mk(s) { +function Sprite_right__P2402_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P23206, depth: s.depth + 1, + parent: s, fn: Sprite_right__P2402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33421,7 +33421,7 @@ function Sprite_right__P23206_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P25661(s) { +function ArcadePhysicsEngine_spriteCollisions__P4856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33431,18 +33431,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___36583 = undefined; - s.unnamed168___U1 = undefined; - s.unnamed169___U2 = undefined; - s.sprite___36585 = undefined; - s.overSprites___36592 = undefined; - s.overlapper___36600 = undefined; - s.unnamed170___U6 = undefined; - s.unnamed171___U7 = undefined; - s.thisKind___36606 = undefined; - s.otherKind___36610 = undefined; - s.higher___36623 = undefined; - s.lower___36632 = undefined; + s.ms___15773 = undefined; + s.unnamed76___U1 = undefined; + s.unnamed77___U2 = undefined; + s.sprite___15775 = undefined; + s.overSprites___15782 = undefined; + s.overlapper___15790 = undefined; + s.unnamed78___U6 = undefined; + s.unnamed79___U7 = undefined; + s.thisKind___15796 = undefined; + s.otherKind___15800 = undefined; + s.higher___15813 = undefined; + s.lower___15822 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33450,7 +33450,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33462,20 +33462,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___36583 = (undefined); - s.unnamed168___U1 = (s.arg1); - s.unnamed169___U2 = (0); + s.ms___15773 = (undefined); + s.unnamed76___U1 = (s.arg1); + s.unnamed77___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed169___U2; - r0 = pxsim_Array__length(s.unnamed168___U1); + s.tmp_0 = r0 = s.unnamed77___U2; + r0 = pxsim_Array__length(s.unnamed76___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed168___U1, s.unnamed169___U2); - s.ms___36583 = (r0); - r0 = s.ms___36583.fields["sprite"]; - s.sprite___36585 = (r0); - r0 = s.sprite___36585.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); + s.ms___15773 = (r0); + r0 = s.ms___15773.fields["sprite"]; + s.sprite___15775 = (r0); + r0 = s.sprite___15775.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -33484,27 +33484,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P23254_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P2450_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___36583.fields["sprite"]; + r0 = s.ms___15773.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 610; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___36592 = (r0); - s.overlapper___36600 = (undefined); - s.unnamed170___U6 = (s.overSprites___36592); - s.unnamed171___U7 = (0); + s.overSprites___15782 = (r0); + s.overlapper___15790 = (undefined); + s.unnamed78___U6 = (s.overSprites___15782); + s.unnamed79___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed171___U7; - r0 = pxsim_Array__length(s.unnamed170___U6); + s.tmp_0 = r0 = s.unnamed79___U7; + r0 = pxsim_Array__length(s.unnamed78___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed170___U6, s.unnamed171___U7); - s.overlapper___36600 = (r0); - r0 = s.overlapper___36600.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); + s.overlapper___15790 = (r0); + r0 = s.overlapper___15790.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -33513,13 +33513,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___36585.fields["_kind"]; - s.thisKind___36606 = (r0); - r0 = s.overlapper___36600.fields["_kind"]; - s.otherKind___36610 = (r0); - r0 = s.sprite___36585.fields["_kindsOverlappedWith"]; + r0 = s.sprite___15775.fields["_kind"]; + s.thisKind___15796 = (r0); + r0 = s.overlapper___15790.fields["_kind"]; + s.otherKind___15800 = (r0); + r0 = s.sprite___15775.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___36610, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___15800, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -33528,37 +33528,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___36585.fields["id"]; + r0 = s.sprite___15775.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___36600.fields["id"]; + r0 = s.overlapper___15790.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___36585; + r0 = s.sprite___15775; { step = 12; continue; } case 11: - r0 = s.overlapper___36600; + r0 = s.overlapper___15790; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___36623 = (s.tmp_6); - r0 = (s.higher___36623 === s.sprite___36585); + s.higher___15813 = (s.tmp_6); + r0 = (s.higher___15813 === s.sprite___15775); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___36600; + r0 = s.overlapper___15790; { step = 14; continue; } case 13: - r0 = s.sprite___36585; + r0 = s.sprite___15775; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___36632 = (s.tmp_1); - r0 = s.higher___36623.fields["_overlappers"]; + s.lower___15822 = (s.tmp_1); + r0 = s.higher___15813.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___36632.fields["id"]; + r0 = s.lower___15822.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -33566,19 +33566,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P36652); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P15842); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___36606); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___36610); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P36676); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___15796); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___15800); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P15866); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___36623); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___36632); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___36585); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___36600); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___36606); - s.tmp_6 = helpers_arrayForEach__P20914_mk(s); - s.tmp_7 = helpers_arrayFilter__P20915_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___15813); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___15822); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___15775); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___15790); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___15796); + s.tmp_6 = helpers_arrayForEach__P109_mk(s); + s.tmp_7 = helpers_arrayFilter__P110_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 613; s.pc = 24; return s.tmp_7; @@ -33592,28 +33592,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed171___U7 + 1); - s.unnamed171___U7 = (r0); + r0 = (s.unnamed79___U7 + 1); + s.unnamed79___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed170___U6 = (undefined); + s.unnamed78___U6 = (undefined); case 19: - r0 = (s.unnamed169___U2 + 1); - s.unnamed169___U2 = (r0); + r0 = (s.unnamed77___U2 + 1); + s.unnamed77___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed168___U1 = (undefined); + s.unnamed76___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P25661.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P4856.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P25661_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P4856_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P25661, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33623,18 +33623,18 @@ function ArcadePhysicsEngine_spriteCollisions__P25661_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___36583: undefined, - unnamed168___U1: undefined, - unnamed169___U2: undefined, - sprite___36585: undefined, - overSprites___36592: undefined, - overlapper___36600: undefined, - unnamed170___U6: undefined, - unnamed171___U7: undefined, - thisKind___36606: undefined, - otherKind___36610: undefined, - higher___36623: undefined, - lower___36632: undefined, + ms___15773: undefined, + unnamed76___U1: undefined, + unnamed77___U2: undefined, + sprite___15775: undefined, + overSprites___15782: undefined, + overlapper___15790: undefined, + unnamed78___U6: undefined, + unnamed79___U7: undefined, + thisKind___15796: undefined, + otherKind___15800: undefined, + higher___15813: undefined, + lower___15822: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33644,7 +33644,7 @@ function ArcadePhysicsEngine_spriteCollisions__P25661_mk(s) { -function forEach_inline__P36652(s) { +function forEach_inline__P15842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33701,12 +33701,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P36652.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P15842.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P36652_mk(s) { +function forEach_inline__P15842_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P36652, depth: s.depth + 1, + parent: s, fn: forEach_inline__P15842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33724,7 +33724,7 @@ function forEach_inline__P36652_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P36676(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P15866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33743,7 +33743,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__P36686); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P15876); 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]); @@ -33756,12 +33756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P36676.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P15866.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P36676_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P15866_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P36676, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P15866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33772,7 +33772,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P36676_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P36686(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P15876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33848,12 +33848,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P36686.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P15876.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P36686_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P15876_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P36686, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P15876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33874,7 +33874,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P36686_mk(s) { -function sprites_SpriteMap_overlaps__P23254(s) { +function sprites_SpriteMap_overlaps__P2450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33884,47 +33884,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___36720 = undefined; - s.o___36724 = undefined; + s.n___15910 = undefined; + s.o___15914 = 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__C23251_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P23253_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P2449_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 487; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___36720 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P36726); + s.n___15910 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P15916); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P20915_mk(s); - s.tmp_1.arg0 = s.n___36720; + s.tmp_1 = helpers_arrayFilter__P110_mk(s); + s.tmp_1.arg0 = s.n___15910; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 489; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___36724 = (r0); - r0 = s.o___36724; + s.o___15914 = (r0); + r0 = s.o___15914; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P23254.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__P2450.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__P23254_mk(s) { +function sprites_SpriteMap_overlaps__P2450_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P23254, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P2450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___36720: undefined, - o___36724: undefined, + n___15910: undefined, + o___15914: undefined, arg0: undefined, arg1: undefined, } } @@ -33933,7 +33933,7 @@ function sprites_SpriteMap_overlaps__P23254_mk(s) { -function o_inline__P36726(s) { +function o_inline__P15916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33947,7 +33947,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P23225_mk(s); + s.tmp_0 = Sprite_overlapsWith__P2421_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 488; s.pc = 1; return s.tmp_0; @@ -33956,12 +33956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P36726.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__P15916.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__P36726_mk(s) { +function o_inline__P15916_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P36726, depth: s.depth + 1, + parent: s, fn: o_inline__P15916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33971,7 +33971,7 @@ function o_inline__P36726_mk(s) { -function sprites_SpriteMap_neighbors__P23253(s) { +function sprites_SpriteMap_neighbors__P2449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33981,112 +33981,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___36991 = undefined; - s.layer___36993 = undefined; + s.n___16181 = undefined; + s.layer___16183 = 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__C23251_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___36991 = (r0); + s.n___16181 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___36993 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P25625_mk(s); + s.layer___16183 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P23204_mk(s); + s.tmp_1 = Sprite_left__P2400_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 475; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P23208_mk(s); + s.tmp_2 = Sprite_top__P2404_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 476; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___36993; - s.tmp_0.arg4 = s.n___36991; + s.tmp_0.arg3 = s.layer___16183; + s.tmp_0.arg4 = s.n___16181; s.callLocIdx = 477; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P25625_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P23204_mk(s); + s.tmp_1 = Sprite_left__P2400_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 478; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P23210_mk(s); + s.tmp_2 = Sprite_bottom__P2406_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 479; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___36993; - s.tmp_0.arg4 = s.n___36991; + s.tmp_0.arg3 = s.layer___16183; + s.tmp_0.arg4 = s.n___16181; s.callLocIdx = 480; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P25625_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P23206_mk(s); + s.tmp_1 = Sprite_right__P2402_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 481; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P23208_mk(s); + s.tmp_2 = Sprite_top__P2404_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 482; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___36993; - s.tmp_0.arg4 = s.n___36991; + s.tmp_0.arg3 = s.layer___16183; + s.tmp_0.arg4 = s.n___16181; s.callLocIdx = 483; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P25625_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4820_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P23206_mk(s); + s.tmp_1 = Sprite_right__P2402_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 484; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P23210_mk(s); + s.tmp_2 = Sprite_bottom__P2406_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 485; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___36993; - s.tmp_0.arg4 = s.n___36991; + s.tmp_0.arg3 = s.layer___16183; + s.tmp_0.arg4 = s.n___16181; s.callLocIdx = 486; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___36991, s.arg1); - r0 = s.n___36991; + r0 = pxsim_Array_.removeElement(s.n___16181, s.arg1); + r0 = s.n___16181; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P23253.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__P2449.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__P23253_mk(s) { +function sprites_SpriteMap_neighbors__P2449_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P23253, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P2449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___36991: undefined, - layer___36993: undefined, + n___16181: undefined, + layer___16183: undefined, arg0: undefined, arg1: undefined, } } @@ -34095,7 +34095,7 @@ function sprites_SpriteMap_neighbors__P23253_mk(s) { -function sprites_SpriteMap_mergeAtKey__P25625(s) { +function sprites_SpriteMap_mergeAtKey__P4820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34105,11 +34105,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___37042 = undefined; - s.bucket___37047 = undefined; - s.sprite___37054 = undefined; - s.unnamed164___U3 = undefined; - s.unnamed165___U4 = undefined; + s.k___16232 = undefined; + s.bucket___16237 = undefined; + s.sprite___16244 = undefined; + s.unnamed72___U3 = undefined; + s.unnamed73___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34119,33 +34119,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P25623_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P4818_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 513; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___37042 = (r0); + s.k___16232 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___37042); - s.bucket___37047 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___37047); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___16232); + s.bucket___16237 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___16237); if (!r0) { step = 7; continue; } - s.sprite___37054 = (undefined); - s.unnamed164___U3 = (s.bucket___37047); - s.unnamed165___U4 = (0); + s.sprite___16244 = (undefined); + s.unnamed72___U3 = (s.bucket___16237); + s.unnamed73___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed165___U4; - r0 = pxsim_Array__length(s.unnamed164___U3); + s.tmp_0 = r0 = s.unnamed73___U4; + r0 = pxsim_Array__length(s.unnamed72___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed164___U3, s.unnamed165___U4); - s.sprite___37054 = (r0); - r0 = s.sprite___37054.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed72___U3, s.unnamed73___U4); + s.sprite___16244 = (r0); + r0 = s.sprite___16244.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -34154,7 +34154,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___37054, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___16244, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -34162,26 +34162,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___37054); + r0 = pxsim_Array__push(s.arg4, s.sprite___16244); case 4: case 5: - r0 = (s.unnamed165___U4 + 1); - s.unnamed165___U4 = (r0); + r0 = (s.unnamed73___U4 + 1); + s.unnamed73___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed164___U3 = (undefined); + s.unnamed72___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P25625.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__P4820.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__P25625_mk(s) { +function sprites_SpriteMap_mergeAtKey__P4820_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P25625, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P4820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34189,11 +34189,11 @@ function sprites_SpriteMap_mergeAtKey__P25625_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___37042: undefined, - bucket___37047: undefined, - sprite___37054: undefined, - unnamed164___U3: undefined, - unnamed165___U4: undefined, + k___16232: undefined, + bucket___16237: undefined, + sprite___16244: undefined, + unnamed72___U3: undefined, + unnamed73___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34205,7 +34205,7 @@ function sprites_SpriteMap_mergeAtKey__P25625_mk(s) { -function sprites_SpriteMap_key__P25623(s) { +function sprites_SpriteMap_key__P4818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34215,8 +34215,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___37075 = undefined; - s.yi___37087 = undefined; + s.xi___16265 = undefined; + s.yi___16277 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34224,8 +34224,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P20932_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -34236,8 +34236,8 @@ switch (step) { s.callLocIdx = 501; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___37075 = (r0); - s.tmp_0 = Math_clamp__P20932_mk(s); + s.xi___16265 = (r0); + s.tmp_0 = Math_clamp__P127_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -34248,28 +34248,28 @@ switch (step) { s.callLocIdx = 502; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___37087 = (r0); - s.tmp_0 = r0 = s.xi___37075; + s.yi___16277 = (r0); + s.tmp_0 = r0 = s.xi___16265; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___37087 * s.tmp_2); + r0 = (s.yi___16277 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P25623.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__P4818.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__P25623_mk(s) { +function sprites_SpriteMap_key__P4818_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P25623, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P4818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___37075: undefined, - yi___37087: undefined, + xi___16265: undefined, + yi___16277: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34279,7 +34279,7 @@ function sprites_SpriteMap_key__P25623_mk(s) { -function Sprite_overlapsWith__P23225(s) { +function Sprite_overlapsWith__P2421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34289,15 +34289,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___36804 = undefined; - s.B___36805 = undefined; + s.A___15994 = undefined; + s.B___15995 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -34343,7 +34343,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - s.tmp_9 = game_Hitbox_overlapsWith__P23028_mk(s); + s.tmp_9 = game_Hitbox_overlapsWith__P2224_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -34354,7 +34354,7 @@ switch (step) { { step = 27; continue; } case 9: case 10: - s.tmp_13 = game_Hitbox_overlapsWith__P23028_mk(s); + s.tmp_13 = game_Hitbox_overlapsWith__P2224_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_13.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -34373,7 +34373,7 @@ switch (step) { { step = 27; continue; } case 11: case 12: - s.tmp_17 = Sprite_isScaled__P25616_mk(s); + s.tmp_17 = Sprite_isScaled__P4811_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 30; return s.tmp_17; case 30: @@ -34388,7 +34388,7 @@ switch (step) { r0 = s.tmp_14; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_isScaled__P25616_mk(s); + s.tmp_20 = Sprite_isScaled__P4811_mk(s); s.tmp_20.arg0 = s.arg1; s.callLocIdx = 386; s.pc = 31; return s.tmp_20; case 31: @@ -34406,13 +34406,13 @@ switch (step) { s.tmp_22 = r0; r0 = s.arg0.fields["_image"]; s.tmp_23 = r0; - s.tmp_26 = Sprite_left__P23204_mk(s); + s.tmp_26 = Sprite_left__P2400_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 387; s.pc = 32; return s.tmp_26; case 32: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_left__P23204_mk(s); + s.tmp_28 = Sprite_left__P2400_mk(s); s.tmp_28.arg0 = s.arg1; s.callLocIdx = 388; s.pc = 33; return s.tmp_28; case 33: @@ -34420,13 +34420,13 @@ switch (step) { s.tmp_27 = r0; r0 = (s.tmp_25 - s.tmp_27); s.tmp_24 = r0; - s.tmp_31 = Sprite_top__P23208_mk(s); + s.tmp_31 = Sprite_top__P2404_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 389; s.pc = 34; return s.tmp_31; case 34: r0 = s.retval; s.tmp_30 = r0; - s.tmp_33 = Sprite_top__P23208_mk(s); + s.tmp_33 = Sprite_top__P2404_mk(s); s.tmp_33.arg0 = s.arg1; s.callLocIdx = 390; s.pc = 35; return s.tmp_33; case 35: @@ -34438,7 +34438,7 @@ switch (step) { { step = 27; continue; } { step = 26; continue; } case 15: - s.tmp_36 = Sprite_sx__P23175_mk(s); + s.tmp_36 = Sprite_sx__P2371_mk(s); s.tmp_36.arg0 = s.arg0; s.callLocIdx = 391; s.pc = 36; return s.tmp_36; case 36: @@ -34451,7 +34451,7 @@ switch (step) { r0 = s.tmp_34; { step = 17; continue; } case 16: - s.tmp_38 = Sprite_sy__P23177_mk(s); + s.tmp_38 = Sprite_sy__P2373_mk(s); s.tmp_38.arg0 = s.arg0; s.callLocIdx = 392; s.pc = 37; return s.tmp_38; case 37: @@ -34466,7 +34466,7 @@ switch (step) { r0 = s.tmp_39; { step = 19; continue; } case 18: - s.tmp_41 = Sprite_sx__P23175_mk(s); + s.tmp_41 = Sprite_sx__P2371_mk(s); s.tmp_41.arg0 = s.arg1; s.callLocIdx = 393; s.pc = 38; return s.tmp_41; case 38: @@ -34481,7 +34481,7 @@ switch (step) { r0 = s.tmp_42; { step = 21; continue; } case 20: - s.tmp_44 = Sprite_sy__P23177_mk(s); + s.tmp_44 = Sprite_sy__P2373_mk(s); s.tmp_44.arg0 = s.arg1; s.callLocIdx = 394; s.pc = 39; return s.tmp_44; case 39: @@ -34497,13 +34497,13 @@ switch (step) { { step = 27; continue; } case 22: case 23: - s.tmp_49 = Sprite_sx__P23175_mk(s); + s.tmp_49 = Sprite_sx__P2371_mk(s); s.tmp_49.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 40; return s.tmp_49; case 40: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P23177_mk(s); + s.tmp_51 = Sprite_sy__P2373_mk(s); s.tmp_51.arg0 = s.arg0; s.callLocIdx = 396; s.pc = 41; return s.tmp_51; case 41: @@ -34511,13 +34511,13 @@ switch (step) { s.tmp_50 = r0; r0 = (s.tmp_48 * s.tmp_50); s.tmp_47 = r0; - s.tmp_54 = Sprite_sx__P23175_mk(s); + s.tmp_54 = Sprite_sx__P2371_mk(s); s.tmp_54.arg0 = s.arg1; s.callLocIdx = 397; s.pc = 42; return s.tmp_54; case 42: r0 = s.retval; s.tmp_53 = r0; - s.tmp_56 = Sprite_sy__P23177_mk(s); + s.tmp_56 = Sprite_sy__P2373_mk(s); s.tmp_56.arg0 = s.arg1; s.callLocIdx = 398; s.pc = 43; return s.tmp_56; case 43: @@ -34529,97 +34529,97 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___36804 = (s.arg0); - s.B___36805 = (s.arg1); + s.A___15994 = (s.arg0); + s.B___15995 = (s.arg1); { step = 25; continue; } case 24: - s.A___36804 = (s.arg1); - s.B___36805 = (s.arg0); + s.A___15994 = (s.arg1); + s.B___15995 = (s.arg0); case 25: - s.tmp_0 = helpers_imageBlit__P22758_mk(s); - r0 = s.A___36804.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P1954_mk(s); + r0 = s.A___15994.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P23204_mk(s); - s.tmp_3.arg0 = s.B___36805; + s.tmp_3 = Sprite_left__P2400_mk(s); + s.tmp_3.arg0 = s.B___15995; s.callLocIdx = 400; s.pc = 45; return s.tmp_3; case 45: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P23204_mk(s); - s.tmp_5.arg0 = s.A___36804; + s.tmp_5 = Sprite_left__P2400_mk(s); + s.tmp_5.arg0 = s.A___15994; s.callLocIdx = 401; s.pc = 46; return s.tmp_5; case 46: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; - s.tmp_7 = Sprite_sx__P23175_mk(s); - s.tmp_7.arg0 = s.A___36804; + s.tmp_7 = Sprite_sx__P2371_mk(s); + s.tmp_7.arg0 = s.A___15994; s.callLocIdx = 402; s.pc = 47; return s.tmp_7; case 47: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_10 = Sprite_top__P23208_mk(s); - s.tmp_10.arg0 = s.B___36805; + s.tmp_10 = Sprite_top__P2404_mk(s); + s.tmp_10.arg0 = s.B___15995; s.callLocIdx = 403; s.pc = 48; return s.tmp_10; case 48: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P23208_mk(s); - s.tmp_12.arg0 = s.A___36804; + s.tmp_12 = Sprite_top__P2404_mk(s); + s.tmp_12.arg0 = s.A___15994; s.callLocIdx = 404; s.pc = 49; return s.tmp_12; case 49: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; - s.tmp_14 = Sprite_sy__P23177_mk(s); - s.tmp_14.arg0 = s.A___36804; + s.tmp_14 = Sprite_sy__P2373_mk(s); + s.tmp_14.arg0 = s.A___15994; s.callLocIdx = 405; s.pc = 50; return s.tmp_14; case 50: r0 = s.retval; s.tmp_13 = r0; r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; - s.tmp_16 = Sprite_width__P23202_mk(s); - s.tmp_16.arg0 = s.B___36805; + s.tmp_16 = Sprite_width__P2398_mk(s); + s.tmp_16.arg0 = s.B___15995; s.callLocIdx = 406; s.pc = 51; return s.tmp_16; case 51: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P23175_mk(s); - s.tmp_18.arg0 = s.A___36804; + s.tmp_18 = Sprite_sx__P2371_mk(s); + s.tmp_18.arg0 = s.A___15994; s.callLocIdx = 407; s.pc = 52; return s.tmp_18; case 52: r0 = s.retval; s.tmp_17 = r0; r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; - s.tmp_20 = Sprite_height__P23203_mk(s); - s.tmp_20.arg0 = s.B___36805; + s.tmp_20 = Sprite_height__P2399_mk(s); + s.tmp_20.arg0 = s.B___15995; s.callLocIdx = 408; s.pc = 53; return s.tmp_20; case 53: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P23177_mk(s); - s.tmp_22.arg0 = s.A___36804; + s.tmp_22 = Sprite_sy__P2373_mk(s); + s.tmp_22.arg0 = s.A___15994; s.callLocIdx = 409; s.pc = 54; return s.tmp_22; case 54: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___36805.fields["_image"]; + r0 = s.B___15995.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___36805.fields["_image"]; + r0 = s.B___15995.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___36805.fields["_image"]; + r0 = s.B___15995.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; @@ -34635,12 +34635,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P23225.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P2421.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P23225_mk(s) { +function Sprite_overlapsWith__P2421_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P23225, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P2421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34699,8 +34699,8 @@ function Sprite_overlapsWith__P23225_mk(s) { tmp_54: undefined, tmp_55: undefined, tmp_56: undefined, - A___36804: undefined, - B___36805: undefined, + A___15994: undefined, + B___15995: undefined, arg0: undefined, arg1: undefined, } } @@ -34709,7 +34709,7 @@ function Sprite_overlapsWith__P23225_mk(s) { -function Sprite_isScaled__P25616(s) { +function Sprite_isScaled__P4811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34724,7 +34724,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -34744,12 +34744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P25616.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__P4811.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__P25616_mk(s) { +function Sprite_isScaled__P4811_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P25616, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P4811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34762,7 +34762,7 @@ function Sprite_isScaled__P25616_mk(s) { -function game_Hitbox_overlapsWith__P23028(s) { +function game_Hitbox_overlapsWith__P2224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34778,26 +34778,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P23027_mk(s); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P2223_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 249; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P23027_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P2223_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 250; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P23026_mk(s); + s.tmp_1 = game_Hitbox_contains__P2222_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P23021_mk(s); + s.tmp_2 = game_Hitbox_left__P2217_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 251; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P23022_mk(s); + s.tmp_3 = game_Hitbox_top__P2218_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 252; s.pc = 22; return s.tmp_3; case 22: @@ -34813,15 +34813,15 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P23026_mk(s); + s.tmp_5 = game_Hitbox_contains__P2222_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P23021_mk(s); + s.tmp_6 = game_Hitbox_left__P2217_mk(s); s.tmp_6.arg0 = s.arg1; s.callLocIdx = 254; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P23024_mk(s); + s.tmp_7 = game_Hitbox_bottom__P2220_mk(s); s.tmp_7.arg0 = s.arg1; s.callLocIdx = 255; s.pc = 25; return s.tmp_7; case 25: @@ -34837,15 +34837,15 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P23026_mk(s); + s.tmp_9 = game_Hitbox_contains__P2222_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P23023_mk(s); + s.tmp_10 = game_Hitbox_right__P2219_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 257; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P23022_mk(s); + s.tmp_11 = game_Hitbox_top__P2218_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 258; s.pc = 28; return s.tmp_11; case 28: @@ -34861,15 +34861,15 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P23026_mk(s); + s.tmp_13 = game_Hitbox_contains__P2222_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P23023_mk(s); + s.tmp_14 = game_Hitbox_right__P2219_mk(s); s.tmp_14.arg0 = s.arg1; s.callLocIdx = 260; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P23024_mk(s); + s.tmp_15 = game_Hitbox_bottom__P2220_mk(s); s.tmp_15.arg0 = s.arg1; s.callLocIdx = 261; s.pc = 31; return s.tmp_15; case 31: @@ -34885,15 +34885,15 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P23026_mk(s); + s.tmp_17 = game_Hitbox_contains__P2222_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P23021_mk(s); + s.tmp_18 = game_Hitbox_left__P2217_mk(s); s.tmp_18.arg0 = s.arg0; s.callLocIdx = 263; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P23022_mk(s); + s.tmp_19 = game_Hitbox_top__P2218_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 264; s.pc = 34; return s.tmp_19; case 34: @@ -34909,15 +34909,15 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P23026_mk(s); + s.tmp_21 = game_Hitbox_contains__P2222_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P23021_mk(s); + s.tmp_22 = game_Hitbox_left__P2217_mk(s); s.tmp_22.arg0 = s.arg0; s.callLocIdx = 266; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P23024_mk(s); + s.tmp_23 = game_Hitbox_bottom__P2220_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 267; s.pc = 37; return s.tmp_23; case 37: @@ -34933,15 +34933,15 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P23026_mk(s); + s.tmp_25 = game_Hitbox_contains__P2222_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P23023_mk(s); + s.tmp_26 = game_Hitbox_right__P2219_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 269; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P23022_mk(s); + s.tmp_27 = game_Hitbox_top__P2218_mk(s); s.tmp_27.arg0 = s.arg0; s.callLocIdx = 270; s.pc = 40; return s.tmp_27; case 40: @@ -34957,15 +34957,15 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P23026_mk(s); + s.tmp_29 = game_Hitbox_contains__P2222_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P23023_mk(s); + s.tmp_30 = game_Hitbox_right__P2219_mk(s); s.tmp_30.arg0 = s.arg0; s.callLocIdx = 272; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P23024_mk(s); + s.tmp_31 = game_Hitbox_bottom__P2220_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 273; s.pc = 43; return s.tmp_31; case 43: @@ -34986,12 +34986,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P23028.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__P2224.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__P23028_mk(s) { +function game_Hitbox_overlapsWith__P2224_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P23028, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P2224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35033,7 +35033,7 @@ function game_Hitbox_overlapsWith__P23028_mk(s) { -function game_Hitbox_contains__P23026(s) { +function game_Hitbox_contains__P2222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35050,9 +35050,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C23013_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C2209_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P23021_mk(s); + s.tmp_3 = game_Hitbox_left__P2217_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 229; s.pc = 7; return s.tmp_3; case 7: @@ -35066,7 +35066,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P23023_mk(s); + s.tmp_6 = game_Hitbox_right__P2219_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 230; s.pc = 8; return s.tmp_6; case 8: @@ -35082,7 +35082,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P23022_mk(s); + s.tmp_10 = game_Hitbox_top__P2218_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 231; s.pc = 9; return s.tmp_10; case 9: @@ -35098,7 +35098,7 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P23024_mk(s); + s.tmp_14 = game_Hitbox_bottom__P2220_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 232; s.pc = 10; return s.tmp_14; case 10: @@ -35112,12 +35112,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P23026.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__P2222.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__P23026_mk(s) { +function game_Hitbox_contains__P2222_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P23026, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P2222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35144,7 +35144,7 @@ function game_Hitbox_contains__P23026_mk(s) { -function helpers_imageBlit__P22758(s) { +function helpers_imageBlit__P1954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35169,7 +35169,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -35179,36 +35179,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___25445 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___25445; + globals._blitArgs___4640 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; 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___25445; + s.tmp_0 = r0 = globals._blitArgs___4640; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -35221,7 +35221,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___25445, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___4640, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -35231,17 +35231,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___25445, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___25445); + r0 = pxsim_Array_.setAt(globals._blitArgs___4640, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___4640); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P22758.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"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__P1954.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"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__P22758_mk(s) { +function helpers_imageBlit__P1954_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P22758, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P1954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35263,7 +35263,7 @@ function helpers_imageBlit__P22758_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P25660(s) { +function ArcadePhysicsEngine_createMovingSprite__P4855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35273,16 +35273,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___37430 = undefined; - s.ovy___37435 = undefined; - s.fx___37462 = undefined; - s.c___37469 = undefined; - s.fy___37512 = undefined; - s.c___37519 = undefined; - s.dx___37558 = undefined; - s.dy___37571 = undefined; - s.xStep___37584 = undefined; - s.yStep___37586 = undefined; + s.ovx___16620 = undefined; + s.ovy___16625 = undefined; + s.fx___16652 = undefined; + s.c___16659 = undefined; + s.fy___16702 = undefined; + s.c___16709 = undefined; + s.dx___16748 = undefined; + s.dy___16761 = undefined; + s.xStep___16774 = undefined; + s.yStep___16776 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35291,23 +35291,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P25666_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4861_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 573; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___37430 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P25666_mk(s); + s.ovx___16620 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P4861_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 574; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___37435 = (r0); + s.ovy___16625 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -35341,21 +35341,21 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___37462 = (r0); + s.fx___16652 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___37462); - s.c___37469 = (r0); - r0 = (s.c___37469 < 0); + r0 = (s.tmp_0 - s.fx___16652); + s.c___16659 = (r0); + r0 = (s.c___16659 < 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__P20971_mk(s); + s.tmp_3 = Fx_min__P166_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___37462); + r0 = (s.tmp_4 + s.fx___16652); s.tmp_3.arg1 = r0; s.callLocIdx = 582; s.pc = 27; return s.tmp_3; case 27: @@ -35364,16 +35364,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___37469 > 0); + r0 = (s.c___16659 > 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__P20972_mk(s); + s.tmp_3 = Fx_max__P167_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___37462); + r0 = (s.tmp_4 - s.fx___16652); s.tmp_3.arg1 = r0; s.callLocIdx = 584; s.pc = 28; return s.tmp_3; case 28: @@ -35415,21 +35415,21 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___37512 = (r0); + s.fy___16702 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___37512); - s.c___37519 = (r0); - r0 = (s.c___37519 < 0); + r0 = (s.tmp_0 - s.fy___16702); + s.c___16709 = (r0); + r0 = (s.c___16709 < 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__P20971_mk(s); + s.tmp_3 = Fx_min__P166_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___37512); + r0 = (s.tmp_4 + s.fy___16702); s.tmp_3.arg1 = r0; s.callLocIdx = 592; s.pc = 29; return s.tmp_3; case 29: @@ -35438,16 +35438,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___37519 > 0); + r0 = (s.c___16709 > 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__P20972_mk(s); + s.tmp_3 = Fx_max__P167_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___37512); + r0 = (s.tmp_4 - s.fy___16702); s.tmp_3.arg1 = r0; s.callLocIdx = 594; s.pc = 30; return s.tmp_3; case 30: @@ -35463,7 +35463,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P25666_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4861_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -35473,7 +35473,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P25666_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P4861_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -35484,7 +35484,7 @@ switch (step) { r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___37430); + r0 = (s.tmp_4 + s.ovx___16620); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35495,10 +35495,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___37558 = (r0); + s.dx___16748 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___37435); + r0 = (s.tmp_4 + s.ovy___16625); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35509,12 +35509,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___37571 = (r0); - s.xStep___37584 = (s.dx___37558); - s.yStep___37586 = (s.dy___37571); + s.dy___16761 = (r0); + s.xStep___16774 = (s.dx___16748); + s.yStep___16776 = (s.dy___16761); case 17: - s.tmp_2 = Fx_abs__P20970_mk(s); - s.tmp_2.arg0 = s.xStep___37584; + s.tmp_2 = Fx_abs__P165_mk(s); + s.tmp_2.arg0 = s.xStep___16774; s.callLocIdx = 603; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -35528,8 +35528,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P20970_mk(s); - s.tmp_5.arg0 = s.yStep___37586; + s.tmp_5 = Fx_abs__P165_mk(s); + s.tmp_5.arg0 = s.yStep___16776; s.callLocIdx = 604; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -35542,8 +35542,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P20970_mk(s); - s.tmp_10.arg0 = s.xStep___37584; + s.tmp_10 = Fx_abs__P165_mk(s); + s.tmp_10.arg0 = s.xStep___16774; s.callLocIdx = 605; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -35554,12 +35554,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___37584, 2); - s.xStep___37584 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___16774, 2); + s.xStep___16774 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P20970_mk(s); - s.tmp_2.arg0 = s.yStep___37586; + s.tmp_2 = Fx_abs__P165_mk(s); + s.tmp_2.arg0 = s.yStep___16776; s.callLocIdx = 607; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -35570,25 +35570,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___37586, 2); - s.yStep___37586 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___16776, 2); + s.yStep___16776 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C23330_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2526_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P23331_mk(s); + s.tmp_1 = MovingSprite_constructor__P2527_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___37558; - s.tmp_1.arg5 = s.dy___37571; - s.tmp_1.arg6 = s.xStep___37584; - s.tmp_1.arg7 = s.yStep___37586; + s.tmp_1.arg4 = s.dx___16748; + s.tmp_1.arg5 = s.dy___16761; + s.tmp_1.arg6 = s.xStep___16774; + s.tmp_1.arg7 = s.yStep___16776; s.callLocIdx = 609; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -35596,12 +35596,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P25660.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P4855.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P25660_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P4855_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P25660, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35615,16 +35615,16 @@ function ArcadePhysicsEngine_createMovingSprite__P25660_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___37430: undefined, - ovy___37435: undefined, - fx___37462: undefined, - c___37469: undefined, - fy___37512: undefined, - c___37519: undefined, - dx___37558: undefined, - dy___37571: undefined, - xStep___37584: undefined, - yStep___37586: undefined, + ovx___16620: undefined, + ovy___16625: undefined, + fx___16652: undefined, + c___16659: undefined, + fy___16702: undefined, + c___16709: undefined, + dx___16748: undefined, + dy___16761: undefined, + xStep___16774: undefined, + yStep___16776: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35635,7 +35635,7 @@ function ArcadePhysicsEngine_createMovingSprite__P25660_mk(s) { -function ArcadePhysicsEngine_constrain__P25666(s) { +function ArcadePhysicsEngine_constrain__P4861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35651,9 +35651,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P20972_mk(s); - s.tmp_1 = Fx_min__P20971_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P167_mk(s); + s.tmp_1 = Fx_min__P166_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -35669,12 +35669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P25666.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P4861.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P25666_mk(s) { +function ArcadePhysicsEngine_constrain__P4861_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P25666, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P4861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35686,7 +35686,7 @@ function ArcadePhysicsEngine_constrain__P25666_mk(s) { -function Fx_compare__P20969(s) { +function Fx_compare__P164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35705,12 +35705,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P20969.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} +Fx_compare__P164.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} -function Fx_compare__P20969_mk(s) { +function Fx_compare__P164_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P20969, depth: s.depth + 1, + parent: s, fn: Fx_compare__P164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35720,7 +35720,7 @@ function Fx_compare__P20969_mk(s) { -function sprites_SpriteMap_insertAABB__P23258(s) { +function sprites_SpriteMap_insertAABB__P2454(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35730,32 +35730,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___37250 = undefined; - s.top___37253 = undefined; - s.xn___37256 = undefined; - s.yn___37267 = undefined; - s.x___37278 = undefined; - s.y___37283 = undefined; + s.left___16440 = undefined; + s.top___16443 = undefined; + s.xn___16446 = undefined; + s.yn___16457 = undefined; + s.x___16468 = undefined; + s.y___16473 = 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__C23251_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P23204_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P2400_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 504; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___37250 = (r0); - s.tmp_0 = Sprite_top__P23208_mk(s); + s.left___16440 = (r0); + s.tmp_0 = Sprite_top__P2404_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 505; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___37253 = (r0); - s.tmp_3 = Sprite_width__P23202_mk(s); + s.top___16443 = (r0); + s.tmp_3 = Sprite_width__P2398_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 506; s.pc = 7; return s.tmp_3; case 7: @@ -35770,8 +35770,8 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___37256 = (r0); - s.tmp_3 = Sprite_height__P23203_mk(s); + s.xn___16446 = (r0); + s.tmp_3 = Sprite_height__P2399_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 507; s.pc = 8; return s.tmp_3; case 8: @@ -35786,24 +35786,24 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___37267 = (r0); - s.x___37278 = (0); + s.yn___16457 = (r0); + s.x___16468 = (0); case 1: - r0 = (s.x___37278 <= s.xn___37256); + r0 = (s.x___16468 <= s.xn___16446); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___37283 = (0); + s.y___16473 = (0); case 2: - r0 = (s.y___37283 <= s.yn___37267); + r0 = (s.y___16473 <= s.yn___16457); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P25624_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P4819_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___37250; - s.tmp_4 = Math_min__P20936_mk(s); - s.tmp_5 = Sprite_width__P23202_mk(s); + s.tmp_2 = r0 = s.left___16440; + s.tmp_4 = Math_min__P131_mk(s); + s.tmp_5 = Sprite_width__P2398_mk(s); s.tmp_5.arg0 = s.arg1; s.callLocIdx = 508; s.pc = 11; return s.tmp_5; case 11: @@ -35811,7 +35811,7 @@ switch (step) { s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___37278 * s.tmp_6); + r0 = (s.x___16468 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 509; s.pc = 10; return s.tmp_4; case 10: @@ -35819,9 +35819,9 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___37253; - s.tmp_9 = Math_min__P20936_mk(s); - s.tmp_10 = Sprite_height__P23203_mk(s); + s.tmp_7 = r0 = s.top___16443; + s.tmp_9 = Math_min__P131_mk(s); + s.tmp_10 = Sprite_height__P2399_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 510; s.pc = 13; return s.tmp_10; case 13: @@ -35829,7 +35829,7 @@ switch (step) { s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___37283 * s.tmp_11); + r0 = (s.y___16473 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 511; s.pc = 12; return s.tmp_9; case 12: @@ -35841,24 +35841,24 @@ switch (step) { s.callLocIdx = 512; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___37283 + 1); - s.y___37283 = (r0); + r0 = (s.y___16473 + 1); + s.y___16473 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___37278 + 1); - s.x___37278 = (r0); + r0 = (s.x___16468 + 1); + s.x___16468 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P23258.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__P2454.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__P23258_mk(s) { +function sprites_SpriteMap_insertAABB__P2454_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P23258, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P2454, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35872,12 +35872,12 @@ function sprites_SpriteMap_insertAABB__P23258_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___37250: undefined, - top___37253: undefined, - xn___37256: undefined, - yn___37267: undefined, - x___37278: undefined, - y___37283: undefined, + left___16440: undefined, + top___16443: undefined, + xn___16446: undefined, + yn___16457: undefined, + x___16468: undefined, + y___16473: undefined, arg0: undefined, arg1: undefined, } } @@ -35886,7 +35886,7 @@ function sprites_SpriteMap_insertAABB__P23258_mk(s) { -function sprites_SpriteMap_insertAtKey__P25624(s) { +function sprites_SpriteMap_insertAtKey__P4819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35896,8 +35896,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___37318 = undefined; - s.bucket___37323 = undefined; + s.k___16508 = undefined; + s.bucket___16513 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35906,20 +35906,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P25623_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P4818_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 503; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___37318 = (r0); + s.k___16508 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___37318); - s.bucket___37323 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___37323); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___16508); + s.bucket___16513 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___16513); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35927,40 +35927,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___37318; + s.tmp_3 = r0 = s.k___16508; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___37323 = (s.tmp_4); + s.bucket___16513 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___37323, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___16513, 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___37323, s.arg3); + r0 = pxsim_Array__push(s.bucket___16513, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P25624.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__P4819.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__P25624_mk(s) { +function sprites_SpriteMap_insertAtKey__P4819_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P25624, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P4819, 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___37318: undefined, - bucket___37323: undefined, + k___16508: undefined, + bucket___16513: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35971,7 +35971,7 @@ function sprites_SpriteMap_insertAtKey__P25624_mk(s) { -function sprites_SpriteMap_clear__P23257(s) { +function sprites_SpriteMap_clear__P2453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35986,7 +35986,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -35995,12 +35995,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P23257.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__P2453.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__P23257_mk(s) { +function sprites_SpriteMap_clear__P2453_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P23257, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P2453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36011,7 +36011,7 @@ function sprites_SpriteMap_clear__P23257_mk(s) { -function sprites_SpriteMap_resizeBuckets__P23256(s) { +function sprites_SpriteMap_resizeBuckets__P2452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36021,115 +36021,115 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___37353 = undefined; - s.maxHeight___37354 = undefined; - s.sprite___37356 = undefined; - s.unnamed162___U3 = undefined; - s.unnamed163___U4 = undefined; - s.tMap___37372 = undefined; - s.areaWidth___37376 = undefined; - s.areaHeight___37383 = undefined; + s.maxWidth___16543 = undefined; + s.maxHeight___16544 = undefined; + s.sprite___16546 = undefined; + s.unnamed70___U3 = undefined; + s.unnamed71___U4 = undefined; + s.tMap___16562 = undefined; + s.areaWidth___16566 = undefined; + s.areaHeight___16573 = 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__C23251_VT)) failedCast(r0); - s.maxWidth___37353 = (0); - s.maxHeight___37354 = (0); - s.sprite___37356 = (undefined); - s.unnamed162___U3 = (s.arg1); - s.unnamed163___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.maxWidth___16543 = (0); + s.maxHeight___16544 = (0); + s.sprite___16546 = (undefined); + s.unnamed70___U3 = (s.arg1); + s.unnamed71___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed163___U4; - r0 = pxsim_Array__length(s.unnamed162___U3); + s.tmp_0 = r0 = s.unnamed71___U4; + r0 = pxsim_Array__length(s.unnamed70___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed162___U3, s.unnamed163___U4); - s.sprite___37356 = (r0); - s.tmp_4 = Sprite_width__P23202_mk(s); - s.tmp_4.arg0 = s.sprite___37356; + r0 = pxsim_Array__getAt(s.unnamed70___U3, s.unnamed71___U4); + s.sprite___16546 = (r0); + s.tmp_4 = Sprite_width__P2398_mk(s); + s.tmp_4.arg0 = s.sprite___16546; s.callLocIdx = 492; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___37353); + r0 = (s.tmp_3 > s.maxWidth___16543); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P23202_mk(s); - s.tmp_5.arg0 = s.sprite___37356; + s.tmp_5 = Sprite_width__P2398_mk(s); + s.tmp_5.arg0 = s.sprite___16546; s.callLocIdx = 493; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___37353 = (r0); + s.maxWidth___16543 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P23203_mk(s); - s.tmp_2.arg0 = s.sprite___37356; + s.tmp_2 = Sprite_height__P2399_mk(s); + s.tmp_2.arg0 = s.sprite___16546; s.callLocIdx = 494; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___37354); + r0 = (s.tmp_1 > s.maxHeight___16544); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P23203_mk(s); - s.tmp_3.arg0 = s.sprite___37356; + s.tmp_3 = Sprite_height__P2399_mk(s); + s.tmp_3.arg0 = s.sprite___16546; s.callLocIdx = 495; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___37354 = (r0); + s.maxHeight___16544 = (r0); case 4: case 5: - r0 = (s.unnamed163___U4 + 1); - s.unnamed163___U4 = (r0); + r0 = (s.unnamed71___U4 + 1); + s.unnamed71___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed162___U3 = (undefined); - s.tmp_0 = game_currentScene__P23821_mk(s); + s.unnamed70___U3 = (undefined); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 496; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___37372 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___37372); + s.tMap___16562 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___16562); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P23548_mk(s); - s.tmp_0.arg0 = s.tMap___37372; + s.tmp_0 = tiles_TileMap_areaWidth__P2744_mk(s); + s.tmp_0.arg0 = s.tMap___16562; s.callLocIdx = 497; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___37376 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___37372); + s.areaWidth___16566 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___16562); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P23549_mk(s); - s.tmp_0.arg0 = s.tMap___37372; + s.tmp_0 = tiles_TileMap_areaHeight__P2745_mk(s); + s.tmp_0.arg0 = s.tMap___16562; s.callLocIdx = 498; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___37383 = (s.tmp_1); + s.areaHeight___16573 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P20932_mk(s); + s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___37376 >> 2); + r0 = (s.areaWidth___16566 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___37353 * 2); + r0 = (s.maxWidth___16543 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 499; s.pc = 18; return s.tmp_2; case 18: @@ -36137,11 +36137,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P20932_mk(s); + s.tmp_2 = Math_clamp__P127_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___37383 >> 2); + r0 = (s.areaHeight___16573 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___37354 * 2); + r0 = (s.maxHeight___16544 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 500; s.pc = 19; return s.tmp_2; case 19: @@ -36151,25 +36151,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___37383, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___16573, 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___37376, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___16566, 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__P23256.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__P2452.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__P23256_mk(s) { +function sprites_SpriteMap_resizeBuckets__P2452_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P23256, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P2452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36177,14 +36177,14 @@ function sprites_SpriteMap_resizeBuckets__P23256_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___37353: undefined, - maxHeight___37354: undefined, - sprite___37356: undefined, - unnamed162___U3: undefined, - unnamed163___U4: undefined, - tMap___37372: undefined, - areaWidth___37376: undefined, - areaHeight___37383: undefined, + maxWidth___16543: undefined, + maxHeight___16544: undefined, + sprite___16546: undefined, + unnamed70___U3: undefined, + unnamed71___U4: undefined, + tMap___16562: undefined, + areaWidth___16566: undefined, + areaHeight___16573: undefined, arg0: undefined, arg1: undefined, } } @@ -36193,7 +36193,7 @@ function sprites_SpriteMap_resizeBuckets__P23256_mk(s) { -function Sprite_clearObstacles__P23230(s) { +function Sprite_clearObstacles__P2426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36208,7 +36208,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -36217,12 +36217,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P23230.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P2426.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P23230_mk(s) { +function Sprite_clearObstacles__P2426_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P23230, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P2426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36233,7 +36233,7 @@ function Sprite_clearObstacles__P23230_mk(s) { -function Fx_idiv__P20968(s) { +function Fx_idiv__P163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36252,12 +36252,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P20968.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} +Fx_idiv__P163.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} -function Fx_idiv__P20968_mk(s) { +function Fx_idiv__P163_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P20968, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36267,7 +36267,7 @@ function Fx_idiv__P20968_mk(s) { -function helpers_arrayMap__P20911(s) { +function helpers_arrayMap__P106(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36277,58 +36277,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___37648 = undefined; - s.len___37650 = undefined; - s.i___37653 = undefined; + s.res___16838 = undefined; + s.len___16840 = undefined; + s.i___16843 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___37648 = (r0); + s.res___16838 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___37650 = (r0); - s.i___37653 = (0); + s.len___16840 = (r0); + s.i___16843 = (0); case 1: - r0 = (s.i___37653 < s.len___37650); + r0 = (s.i___16843 < s.len___16840); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___37648; + s.tmp_1 = r0 = s.res___16838; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___37653); + r0 = pxsim_Array__getAt(s.arg0, s.i___16843); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___37653; + s.tmp_3.arg1 = s.i___16843; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 3; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___37653 + 1); - s.i___37653 = (r0); + r0 = (s.i___16843 + 1); + s.i___16843 = (r0); { step = 1; continue; } case 2: - r0 = s.res___37648; + r0 = s.res___16838; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P20911.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P106.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -function helpers_arrayMap__P20911_mk(s) { +function helpers_arrayMap__P106_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P20911, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P106, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - res___37648: undefined, - len___37650: undefined, - i___37653: undefined, + res___16838: undefined, + len___16840: undefined, + i___16843: undefined, arg0: undefined, arg1: undefined, } } @@ -36337,7 +36337,7 @@ function helpers_arrayMap__P20911_mk(s) { -function ArcadePhysicsEngine_draw__P23343(s) { +function ArcadePhysicsEngine_draw__P2539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36352,8 +36352,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P23255_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P2451_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 538; s.pc = 1; return s.tmp_0; @@ -36363,12 +36363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P23343.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__P2539.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__P23343_mk(s) { +function ArcadePhysicsEngine_draw__P2539_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P23343, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P2539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36378,7 +36378,7 @@ function ArcadePhysicsEngine_draw__P23343_mk(s) { -function sprites_SpriteMap_draw__P23255(s) { +function sprites_SpriteMap_draw__P2451(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36388,70 +36388,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___37674 = undefined; - s.y___37680 = undefined; - s.left___37686 = undefined; - s.top___37691 = undefined; - s.k___37696 = undefined; - s.b___37701 = undefined; + s.x___16864 = undefined; + s.y___16870 = undefined; + s.left___16876 = undefined; + s.top___16881 = undefined; + s.k___16886 = undefined; + s.b___16891 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C23251_VT)) failedCast(r0); - s.x___37674 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C2447_VT)) failedCast(r0); + s.x___16864 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___37674 < s.tmp_1); + r0 = (s.x___16864 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___37680 = (0); + s.y___16870 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___37680 < s.tmp_1); + r0 = (s.y___16870 < 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___37674 * s.tmp_2); - s.left___37686 = (r0); + r0 = (s.x___16864 * s.tmp_2); + s.left___16876 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___37680 * s.tmp_0); - s.top___37691 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P25623_mk(s); + r0 = (s.y___16870 * s.tmp_0); + s.top___16881 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P4818_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___37686; - s.tmp_0.arg2 = s.top___37691; + s.tmp_0.arg1 = s.left___16876; + s.tmp_0.arg2 = s.top___16881; s.callLocIdx = 490; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___37696 = (r0); + s.k___16886 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___37696); - s.b___37701 = (r0); - s.tmp_0 = r0 = s.b___37701; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___16886); + s.b___16891 = (r0); + s.tmp_0 = r0 = s.b___16891; 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___37701); + r0 = pxsim_Array__length(s.b___16891); 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__P22764_mk(s); - s.tmp_2.arg0 = globals.screen___22837; - s.tmp_2.arg1 = s.left___37686; - s.tmp_2.arg2 = s.top___37691; + s.tmp_2 = helpers_imageDrawRect__P1960_mk(s); + s.tmp_2.arg0 = globals.screen___2033; + s.tmp_2.arg1 = s.left___16876; + s.tmp_2.arg2 = s.top___16881; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -36462,34 +36462,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___37680 + 1); - s.y___37680 = (r0); + r0 = (s.y___16870 + 1); + s.y___16870 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___37674 + 1); - s.x___37674 = (r0); + r0 = (s.x___16864 + 1); + s.x___16864 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P23255.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__P2451.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__P23255_mk(s) { +function sprites_SpriteMap_draw__P2451_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P23255, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P2451, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___37674: undefined, - y___37680: undefined, - left___37686: undefined, - top___37691: undefined, - k___37696: undefined, - b___37701: undefined, + x___16864: undefined, + y___16870: undefined, + left___16876: undefined, + top___16881: undefined, + k___16886: undefined, + b___16891: undefined, arg0: undefined, } } @@ -36497,7 +36497,7 @@ function sprites_SpriteMap_draw__P23255_mk(s) { -function ArcadePhysicsEngine_removeSprite__P23342(s) { +function ArcadePhysicsEngine_removeSprite__P2538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36513,7 +36513,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -36521,12 +36521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P23342.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__P2538.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__P23342_mk(s) { +function ArcadePhysicsEngine_removeSprite__P2538_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P23342, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P2538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36537,7 +36537,7 @@ function ArcadePhysicsEngine_removeSprite__P23342_mk(s) { -function ArcadePhysicsEngine_addSprite__P23341(s) { +function ArcadePhysicsEngine_addSprite__P2537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36547,31 +36547,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___37738 = undefined; + s.tm___16928 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C23332_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C2528_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__P23821_mk(s); + s.tmp_0 = game_currentScene__P3017_mk(s); s.callLocIdx = 536; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___37738 = (r0); - s.tmp_0 = r0 = s.tm___37738; + s.tm___16928 = (r0); + s.tmp_0 = r0 = s.tm___16928; 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__P23563_mk(s); - s.tmp_1.arg0 = s.tm___37738; + s.tmp_1 = tiles_TileMap_isOnWall__P2759_mk(s); + s.tmp_1.arg0 = s.tm___16928; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 537; s.pc = 6; return s.tmp_1; case 6: @@ -36593,12 +36593,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P23341.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__P2537.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__P23341_mk(s) { +function ArcadePhysicsEngine_addSprite__P2537_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P23341, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P2537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36606,7 +36606,7 @@ function ArcadePhysicsEngine_addSprite__P23341_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___37738: undefined, + tm___16928: undefined, arg0: undefined, arg1: undefined, } } @@ -36615,7 +36615,7 @@ function ArcadePhysicsEngine_addSprite__P23341_mk(s) { -function tiles_TileMapData_constructor__P23523(s) { +function tiles_TileMapData_constructor__P2719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36634,11 +36634,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_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__P23527_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P2723_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 808; s.pc = 1; return s.tmp_0; @@ -36656,12 +36656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P23523.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__P2719.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__P23523_mk(s) { +function tiles_TileMapData_constructor__P2719_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P23523, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P2719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36676,7 +36676,7 @@ function tiles_TileMapData_constructor__P23523_mk(s) { -function tiles_TileMapData_scale__P23527(s) { +function tiles_TileMapData_scale__P2723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36692,7 +36692,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C23522_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C2718_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -36702,12 +36702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P23527.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__P2723.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__P23527_mk(s) { +function tiles_TileMapData_scale__P2723_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P23527, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P2723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36719,7 +36719,7 @@ function tiles_TileMapData_scale__P23527_mk(s) { -function tiles_TileMap_constructor__P23542(s) { +function tiles_TileMap_constructor__P2738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36735,19 +36735,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P23544_mk(s); + s.tmp_0 = tiles_TileMap_scale__P2740_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 814; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P37799); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P16989); 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__P23610_mk(s); + s.tmp_3 = scene_createRenderable__P2806_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -36760,12 +36760,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P23542.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__P2738.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__P23542_mk(s) { +function tiles_TileMap_constructor__P2738_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P23542, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P2738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36779,7 +36779,7 @@ function tiles_TileMap_constructor__P23542_mk(s) { -function tiles_TileMap_inline__P37799(s) { +function tiles_TileMap_inline__P16989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36794,7 +36794,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P25736_mk(s); + s.tmp_0 = tiles_TileMap_draw__P4931_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -36805,12 +36805,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P37799.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__P16989.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__P37799_mk(s) { +function tiles_TileMap_inline__P16989_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P37799, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P16989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36821,7 +36821,7 @@ function tiles_TileMap_inline__P37799_mk(s) { -function tiles_TileMap_draw__P25736(s) { +function tiles_TileMap_draw__P4931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36831,21 +36831,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___37810 = undefined; - s.offsetX___37816 = undefined; - s.offsetY___37821 = undefined; - s.x0___37826 = undefined; - s.xn___37833 = undefined; - s.y0___37850 = undefined; - s.yn___37857 = undefined; - s.x___37874 = undefined; - s.y___37880 = undefined; - s.index___37886 = undefined; - s.tile___37893 = undefined; - s.x___37929 = undefined; - s.xLine___37935 = undefined; - s.y___37961 = undefined; - s.yLine___37967 = undefined; + s.bitmask___17000 = undefined; + s.offsetX___17006 = undefined; + s.offsetY___17011 = undefined; + s.x0___17016 = undefined; + s.xn___17023 = undefined; + s.y0___17040 = undefined; + s.yn___17047 = undefined; + s.x___17064 = undefined; + s.y___17070 = undefined; + s.index___17076 = undefined; + s.tile___17083 = undefined; + s.x___17119 = undefined; + s.xLine___17125 = undefined; + s.y___17151 = undefined; + s.yLine___17157 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36853,7 +36853,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -36878,16 +36878,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___37810 = (r0); + s.bitmask___17000 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___37810); - s.offsetX___37816 = (r0); + r0 = (s.tmp_0 & s.bitmask___17000); + s.offsetX___17006 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___37810); - s.offsetY___37821 = (r0); - s.tmp_0 = Math_max__P20935_mk(s); + r0 = (s.tmp_0 & s.bitmask___17000); + s.offsetY___17011 = (r0); + s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -36898,8 +36898,8 @@ switch (step) { s.callLocIdx = 834; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___37826 = (r0); - s.tmp_0 = Math_min__P20936_mk(s); + s.x0___17016 = (r0); + s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -36919,8 +36919,8 @@ switch (step) { s.callLocIdx = 837; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___37833 = (r0); - s.tmp_0 = Math_max__P20935_mk(s); + s.xn___17023 = (r0); + s.tmp_0 = Math_max__P130_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -36931,8 +36931,8 @@ switch (step) { s.callLocIdx = 839; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___37850 = (r0); - s.tmp_0 = Math_min__P20936_mk(s); + s.y0___17040 = (r0); + s.tmp_0 = Math_min__P131_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -36952,92 +36952,92 @@ switch (step) { s.callLocIdx = 842; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___37857 = (r0); - s.x___37874 = (s.x0___37826); + s.yn___17047 = (r0); + s.x___17064 = (s.x0___17016); case 3: - r0 = (s.x___37874 <= s.xn___37833); + r0 = (s.x___17064 <= s.xn___17023); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___37880 = (s.y0___37850); + s.y___17070 = (s.y0___17040); case 4: - r0 = (s.y___37880 <= s.yn___37857); + r0 = (s.y___17070 <= s.yn___17047); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P23528_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P2724_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___37874; - s.tmp_1.arg2 = s.y___37880; + s.tmp_1.arg1 = s.x___17064; + s.tmp_1.arg2 = s.y___17070; s.callLocIdx = 843; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___37886 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P23531_mk(s); + s.index___17076 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P2727_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___37886; + s.tmp_0.arg1 = s.index___17076; s.callLocIdx = 844; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___37893 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___37893); + s.tile___17083 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___17083); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___37893; - r0 = (s.x___37874 - s.x0___37826); + s.tmp_1 = r0 = s.tile___17083; + r0 = (s.x___17064 - s.x0___17016); 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___37816); + r0 = (s.tmp_3 - s.offsetX___17006); s.tmp_2 = r0; - r0 = (s.y___37880 - s.y0___37850); + r0 = (s.y___17070 - s.y0___17040); 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___37821); + r0 = (s.tmp_7 - s.offsetY___17011); 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___37880 + 1); - s.y___37880 = (r0); + r0 = (s.y___17070 + 1); + s.y___17070 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___37874 + 1); - s.x___37874 = (r0); + r0 = (s.x___17064 + 1); + s.x___17064 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___23772); + r0 = pxsim_numops_toBoolDecr(globals.debug___2968); if (!r0) { step = 21; continue; } - s.x___37929 = (s.x0___37826); + s.x___17119 = (s.x0___17016); case 9: - r0 = (s.x___37929 <= s.xn___37833); + r0 = (s.x___17119 <= s.xn___17023); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___37929 - s.x0___37826); + r0 = (s.x___17119 - s.x0___17016); 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___37816); - s.xLine___37935 = (r0); - r0 = (s.xLine___37935 >= 0); + r0 = (s.tmp_1 - s.offsetX___17006); + s.xLine___17125 = (r0); + r0 = (s.xLine___17125 >= 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___37935; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + s.tmp_1 = r0 = s.xLine___17125; + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -37045,11 +37045,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P22763_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1959_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___37935; + s.tmp_4.arg1 = s.xLine___17125; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___37935; + s.tmp_4.arg3 = s.xLine___17125; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -37058,33 +37058,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___37929 + 1); - s.x___37929 = (r0); + r0 = (s.x___17119 + 1); + s.x___17119 = (r0); { step = 9; continue; } case 14: - s.y___37961 = (s.y0___37850); + s.y___17151 = (s.y0___17040); case 15: - r0 = (s.y___37961 <= s.yn___37857); + r0 = (s.y___17151 <= s.yn___17047); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___37961 - s.y0___37850); + r0 = (s.y___17151 - s.y0___17040); 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___37821); - s.yLine___37967 = (r0); - r0 = (s.yLine___37967 >= 0); + r0 = (s.tmp_1 - s.offsetY___17011); + s.yLine___17157 = (r0); + r0 = (s.yLine___17157 >= 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___37967; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + s.tmp_1 = r0 = s.yLine___17157; + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -37092,21 +37092,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P22763_mk(s); + s.tmp_4 = helpers_imageDrawLine__P1959_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___37967; + s.tmp_4.arg2 = s.yLine___17157; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___37967; + s.tmp_4.arg4 = s.yLine___17157; s.tmp_4.arg5 = 1; s.callLocIdx = 850; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___37961 + 1); - s.y___37961 = (r0); + r0 = (s.y___17151 + 1); + s.y___17151 = (r0); { step = 15; continue; } case 20: case 21: @@ -37116,12 +37116,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P25736.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__P4931.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__P25736_mk(s) { +function tiles_TileMap_draw__P4931_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P25736, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P4931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37133,21 +37133,21 @@ function tiles_TileMap_draw__P25736_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___37810: undefined, - offsetX___37816: undefined, - offsetY___37821: undefined, - x0___37826: undefined, - xn___37833: undefined, - y0___37850: undefined, - yn___37857: undefined, - x___37874: undefined, - y___37880: undefined, - index___37886: undefined, - tile___37893: undefined, - x___37929: undefined, - xLine___37935: undefined, - y___37961: undefined, - yLine___37967: undefined, + bitmask___17000: undefined, + offsetX___17006: undefined, + offsetY___17011: undefined, + x0___17016: undefined, + xn___17023: undefined, + y0___17040: undefined, + yn___17047: undefined, + x___17064: undefined, + y___17070: undefined, + index___17076: undefined, + tile___17083: undefined, + x___17119: undefined, + xLine___17125: undefined, + y___17151: undefined, + yLine___17157: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37157,7 +37157,7 @@ function tiles_TileMap_draw__P25736_mk(s) { -function tiles_TileMap_scale__P23544(s) { +function tiles_TileMap_scale__P2740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37173,13 +37173,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_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__P23527_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P2723_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -37192,12 +37192,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P23544.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__P2740.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__P23544_mk(s) { +function tiles_TileMap_scale__P2740_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P23544, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P2740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37209,7 +37209,7 @@ function tiles_TileMap_scale__P23544_mk(s) { -function tiles_TileMap_data__P23545(s) { +function tiles_TileMap_data__P2741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37224,18 +37224,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C23540_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C2736_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P23545.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__P23545.isGetter = true; +tiles_TileMap_data__P2741.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__P2741.isGetter = true; -function tiles_TileMap_data__P23545_mk(s) { +function tiles_TileMap_data__P2741_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P23545, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P2741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37244,7 +37244,7 @@ function tiles_TileMap_data__P23545_mk(s) { -function Sprite_toString__P23239(s) { +function Sprite_toString__P2435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37259,7 +37259,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -37277,7 +37277,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P23159_mk(s); + s.tmp_14 = Sprite_x__P2355_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 443; s.pc = 2; return s.tmp_14; case 2: @@ -37296,7 +37296,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P23161_mk(s); + s.tmp_17 = Sprite_y__P2357_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 444; s.pc = 4; return s.tmp_17; case 4: @@ -37315,7 +37315,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P23163_mk(s); + s.tmp_20 = Sprite_vx__P2359_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 445; s.pc = 6; return s.tmp_20; case 6: @@ -37334,7 +37334,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P23165_mk(s); + s.tmp_23 = Sprite_vy__P2361_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 446; s.pc = 8; return s.tmp_23; case 8: @@ -37355,12 +37355,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P23239.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P2435.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P23239_mk(s) { +function Sprite_toString__P2435_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P23239, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P2435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37393,7 +37393,7 @@ function Sprite_toString__P23239_mk(s) { -function Sprite___update__P23221(s) { +function Sprite___update__P2417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37410,7 +37410,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -37432,7 +37432,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = Sprite__destroyCore__P23234_mk(s); + s.tmp_0 = Sprite__destroyCore__P2430_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 11; return s.tmp_0; case 11: @@ -37450,7 +37450,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P23219_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P2415_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 381; s.pc = 12; return s.tmp_2; @@ -37461,7 +37461,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P23233_mk(s); + s.tmp_4 = Sprite_destroy__P2429_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -37474,13 +37474,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C23064_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C2260_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__C23064_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C2260_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: @@ -37491,12 +37491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P23221.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__P2417.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__P23221_mk(s) { +function Sprite___update__P2417_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P23221, depth: s.depth + 1, + parent: s, fn: Sprite___update__P2417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37513,7 +37513,7 @@ function Sprite___update__P23221_mk(s) { -function Sprite_isOutOfScreen__P23219(s) { +function Sprite_isOutOfScreen__P2415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37523,15 +37523,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___38080 = undefined; - s.oy___38088 = undefined; + s.ox___17270 = undefined; + s.oy___17278 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37545,7 +37545,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___38080 = (s.tmp_2); + s.ox___17270 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37559,14 +37559,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___38088 = (s.tmp_2); - s.tmp_3 = Sprite_right__P23206_mk(s); + s.oy___17278 = (s.tmp_2); + s.tmp_3 = Sprite_right__P2402_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 371; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___38080); + r0 = (s.tmp_2 - s.ox___17270); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -37575,13 +37575,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P23210_mk(s); + s.tmp_6 = Sprite_bottom__P2406_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 372; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___38088); + r0 = (s.tmp_5 - s.oy___17278); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -37592,15 +37592,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P23204_mk(s); + s.tmp_10 = Sprite_left__P2400_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 373; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___38080); + r0 = (s.tmp_9 - s.ox___17270); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -37611,15 +37611,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P23208_mk(s); + s.tmp_15 = Sprite_top__P2404_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 374; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___38088); + r0 = (s.tmp_14 - s.oy___17278); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -37629,12 +37629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P23219.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__P2415.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__P23219_mk(s) { +function Sprite_isOutOfScreen__P2415_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P23219, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P2415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37654,8 +37654,8 @@ function Sprite_isOutOfScreen__P23219_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___38080: undefined, - oy___38088: undefined, + ox___17270: undefined, + oy___17278: undefined, arg0: undefined, arg1: undefined, } } @@ -37664,7 +37664,7 @@ function Sprite_isOutOfScreen__P23219_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P23067(s) { +function sprites_BaseSpriteSayRenderer_update__P2263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37682,17 +37682,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2260_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P23067.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__P2263.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__P23067_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P2263_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P23067, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P2263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37704,7 +37704,7 @@ function sprites_BaseSpriteSayRenderer_update__P23067_mk(s) { -function Sprite_data__P23182(s) { +function Sprite_data__P2378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37720,18 +37720,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P23182.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__P2378.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__P23182_mk(s) { +function Sprite_data__P2378_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P23182, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37741,7 +37741,7 @@ function Sprite_data__P23182_mk(s) { -function Sprite_data__P23181(s) { +function Sprite_data__P2377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37756,7 +37756,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -37775,13 +37775,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P23181.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__P23181.isGetter = true; +Sprite_data__P2377.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__P2377.isGetter = true; -function Sprite_data__P23181_mk(s) { +function Sprite_data__P2377_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P23181, depth: s.depth + 1, + parent: s, fn: Sprite_data__P2377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37795,7 +37795,7 @@ function Sprite_data__P23181_mk(s) { -function sprites_BaseSprite___update__P22907(s) { +function sprites_BaseSprite___update__P2103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37812,17 +37812,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P22907.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__P2103.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__P22907_mk(s) { +function sprites_BaseSprite___update__P2103_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P22907, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P2103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37833,7 +37833,7 @@ function sprites_BaseSprite___update__P22907_mk(s) { -function sprites_BaseSprite___draw__P22905(s) { +function sprites_BaseSprite___draw__P2101(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37849,10 +37849,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C22899_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C2095_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C22899_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C2095_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: @@ -37860,10 +37860,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C22899_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C2095_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C22899_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C2095_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: @@ -37874,12 +37874,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P22905.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__P2101.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__P22905_mk(s) { +function sprites_BaseSprite___draw__P2101_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P22905, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P2101, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37892,7 +37892,7 @@ function sprites_BaseSprite___draw__P22905_mk(s) { -function sprites_BaseSprite___drawCore__P22906(s) { +function sprites_BaseSprite___drawCore__P2102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37908,17 +37908,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P22906.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__P2102.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__P22906_mk(s) { +function sprites_BaseSprite___drawCore__P2102_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P22906, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P2102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37928,7 +37928,7 @@ function sprites_BaseSprite___drawCore__P22906_mk(s) { -function sprites_BaseSprite___visible__P22902(s) { +function sprites_BaseSprite___visible__P2098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37943,17 +37943,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C22899_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C2095_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P22902.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__P2098.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__P22902_mk(s) { +function sprites_BaseSprite___visible__P2098_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P22902, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P2098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37962,7 +37962,7 @@ function sprites_BaseSprite___visible__P22902_mk(s) { -function scene_BackgroundLayer_constructor__P23491(s) { +function scene_BackgroundLayer_constructor__P2687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37980,9 +37980,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C23484_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C2680_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P20935_mk(s); + s.tmp_2 = Math_max__P130_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 794; s.pc = 7; return s.tmp_2; @@ -38028,12 +38028,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P23491.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__P2687.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__P23491_mk(s) { +function scene_BackgroundLayer_constructor__P2687_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P23491, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P2687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38048,7 +38048,7 @@ function scene_BackgroundLayer_constructor__P23491_mk(s) { -function scene_Camera_y__P23596(s) { +function scene_Camera_y__P2792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38063,10 +38063,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___22837); + r0 = pxsim_ImageMethods.height(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -38074,13 +38074,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P23596.info = {"start":1536,"length":75,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P23596.isGetter = true; +scene_Camera_y__P2792.info = {"start":1536,"length":75,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P2792.isGetter = true; -function scene_Camera_y__P23596_mk(s) { +function scene_Camera_y__P2792_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P23596, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P2792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38092,7 +38092,7 @@ function scene_Camera_y__P23596_mk(s) { -function scene_Camera_x__P23595(s) { +function scene_Camera_x__P2791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38107,10 +38107,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___22837); + r0 = pxsim_ImageMethods.width(globals.screen___2033); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -38118,13 +38118,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P23595.info = {"start":1453,"length":74,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P23595.isGetter = true; +scene_Camera_x__P2791.info = {"start":1453,"length":74,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P2791.isGetter = true; -function scene_Camera_x__P23595_mk(s) { +function scene_Camera_x__P2791_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P23595, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P2791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38136,7 +38136,7 @@ function scene_Camera_x__P23595_mk(s) { -function scene_Scene_data__P23673(s) { +function scene_Scene_data__P2869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38151,18 +38151,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C23648_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C2844_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P23673.info = {"start":7014,"length":53,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P23673.isGetter = true; +scene_Scene_data__P2869.info = {"start":7014,"length":53,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P2869.isGetter = true; -function scene_Scene_data__P23673_mk(s) { +function scene_Scene_data__P2869_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P23673, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P2869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38171,7 +38171,7 @@ function scene_Scene_data__P23673_mk(s) { -function controller_AnyButton_isPressed__P25597(s) { +function controller_AnyButton_isPressed__P4792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38181,36 +38181,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___38210 = undefined; - s.b___38214 = undefined; - s.unnamed154___U2 = undefined; - s.unnamed155___U3 = undefined; + s.ctrl___17400 = undefined; + s.b___17404 = undefined; + s.unnamed62___U2 = undefined; + s.unnamed63___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C25589_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P22933_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C4784_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P2129_mk(s); s.callLocIdx = 196; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___38210 = (r0); - s.b___38214 = (undefined); - r0 = s.ctrl___38210.fields["buttons"]; - s.unnamed154___U2 = (r0); - s.unnamed155___U3 = (0); + s.ctrl___17400 = (r0); + s.b___17404 = (undefined); + r0 = s.ctrl___17400.fields["buttons"]; + s.unnamed62___U2 = (r0); + s.unnamed63___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed155___U3; - r0 = pxsim_Array__length(s.unnamed154___U2); + s.tmp_0 = r0 = s.unnamed63___U3; + r0 = pxsim_Array__length(s.unnamed62___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed154___U2, s.unnamed155___U3); - s.b___38214 = (r0); - s.tmp_3 = controller_Button__C22994_v0_1_mk(s); - s.tmp_3.arg0 = s.b___38214; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C22994_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed62___U2, s.unnamed63___U3); + s.b___17404 = (r0); + s.tmp_3 = controller_Button__C2190_v0_1_mk(s); + s.tmp_3.arg0 = s.b___17404; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2190_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 7; return s.tmp_3; case 7: @@ -38222,31 +38222,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed155___U3 + 1); - s.unnamed155___U3 = (r0); + r0 = (s.unnamed63___U3 + 1); + s.unnamed63___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed154___U2 = (undefined); + s.unnamed62___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P25597.info = {"start":15736,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P4792.info = {"start":15736,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P25597_mk(s) { +function controller_AnyButton_isPressed__P4792_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P25597, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P4792, 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___38210: undefined, - b___38214: undefined, - unnamed154___U2: undefined, - unnamed155___U3: undefined, + ctrl___17400: undefined, + b___17404: undefined, + unnamed62___U2: undefined, + unnamed63___U3: undefined, arg0: undefined, } } @@ -38254,7 +38254,7 @@ function controller_AnyButton_isPressed__P25597_mk(s) { -function controller_Button_toString__P22999(s) { +function controller_Button_toString__P2195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38269,7 +38269,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C22994_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C2190_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -38309,12 +38309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P22999.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__P2195.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__P22999_mk(s) { +function controller_Button_toString__P2195_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P22999, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P2195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38330,7 +38330,7 @@ function controller_Button_toString__P22999_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P23065(s) { +function sprites_BaseSpriteSayRenderer_constructor__P2261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38348,7 +38348,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2260_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -38356,12 +38356,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P23065.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__P2261.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__P23065_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P2261_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P23065, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P2261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38373,7 +38373,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P23065_mk(s) { -function sprites_StaticObstacle_width__P23313(s) { +function sprites_StaticObstacle_width__P2509(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38388,20 +38388,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C23303_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2499_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__P23313.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__P23313.isGetter = true; +sprites_StaticObstacle_width__P2509.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__P2509.isGetter = true; -function sprites_StaticObstacle_width__P23313_mk(s) { +function sprites_StaticObstacle_width__P2509_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P23313, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P2509, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38411,7 +38411,7 @@ function sprites_StaticObstacle_width__P23313_mk(s) { -function sprites_StaticObstacle_height__P23312(s) { +function sprites_StaticObstacle_height__P2508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38426,20 +38426,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C23303_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2499_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__P23312.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__P23312.isGetter = true; +sprites_StaticObstacle_height__P2508.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__P2508.isGetter = true; -function sprites_StaticObstacle_height__P23312_mk(s) { +function sprites_StaticObstacle_height__P2508_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P23312, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P2508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38449,7 +38449,7 @@ function sprites_StaticObstacle_height__P23312_mk(s) { -function sprites_StaticObstacle_y__P23311(s) { +function sprites_StaticObstacle_y__P2507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38464,7 +38464,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C23303_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2499_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -38477,13 +38477,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P23311.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__P23311.isGetter = true; +sprites_StaticObstacle_y__P2507.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__P2507.isGetter = true; -function sprites_StaticObstacle_y__P23311_mk(s) { +function sprites_StaticObstacle_y__P2507_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P23311, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P2507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38496,7 +38496,7 @@ function sprites_StaticObstacle_y__P23311_mk(s) { -function sprites_StaticObstacle_x__P23310(s) { +function sprites_StaticObstacle_x__P2506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38511,7 +38511,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C23303_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C2499_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -38524,13 +38524,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P23310.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__P23310.isGetter = true; +sprites_StaticObstacle_x__P2506.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__P2506.isGetter = true; -function sprites_StaticObstacle_x__P23310_mk(s) { +function sprites_StaticObstacle_x__P2506_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P23310, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P2506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38543,7 +38543,7 @@ function sprites_StaticObstacle_x__P23310_mk(s) { -function tiles_Location_top__P23506(s) { +function tiles_Location_top__P2702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38558,10 +38558,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P23500_mk(s); + s.tmp_3 = tiles_Location_tileMap__P2696_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 804; s.pc = 1; return s.tmp_3; case 1: @@ -38573,13 +38573,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P23506.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__P23506.isGetter = true; +tiles_Location_top__P2702.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__P2702.isGetter = true; -function tiles_Location_top__P23506_mk(s) { +function tiles_Location_top__P2702_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P23506, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P2702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38592,7 +38592,7 @@ function tiles_Location_top__P23506_mk(s) { -function tiles_Location_left__P23505(s) { +function tiles_Location_left__P2701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38607,10 +38607,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P23500_mk(s); + s.tmp_3 = tiles_Location_tileMap__P2696_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 802; s.pc = 1; return s.tmp_3; case 1: @@ -38622,13 +38622,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P23505.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__P23505.isGetter = true; +tiles_Location_left__P2701.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__P2701.isGetter = true; -function tiles_Location_left__P23505_mk(s) { +function tiles_Location_left__P2701_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P23505, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P2701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38641,7 +38641,7 @@ function tiles_Location_left__P23505_mk(s) { -function tiles_Location_y__P23504(s) { +function tiles_Location_y__P2700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38651,26 +38651,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___38270 = undefined; + s.scale___17460 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P23500_mk(s); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P2696_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 800; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___38270 = (r0); + s.scale___17460 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___38270); + r0 = (s.tmp_1 << s.scale___17460); s.tmp_0 = r0; - r0 = (s.scale___38270 - 1); + r0 = (s.scale___17460 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38678,19 +38678,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P23504.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__P23504.isGetter = true; +tiles_Location_y__P2700.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__P2700.isGetter = true; -function tiles_Location_y__P23504_mk(s) { +function tiles_Location_y__P2700_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P23504, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P2700, 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___38270: undefined, + scale___17460: undefined, arg0: undefined, } } @@ -38698,7 +38698,7 @@ function tiles_Location_y__P23504_mk(s) { -function tiles_Location_x__P23503(s) { +function tiles_Location_x__P2699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38708,26 +38708,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___38286 = undefined; + s.scale___17476 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C23498_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P23500_mk(s); + if (!checkSubtype(r0, tiles_Location__C2694_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P2696_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 798; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___38286 = (r0); + s.scale___17476 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___38286); + r0 = (s.tmp_1 << s.scale___17476); s.tmp_0 = r0; - r0 = (s.scale___38286 - 1); + r0 = (s.scale___17476 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38735,19 +38735,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P23503.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__P23503.isGetter = true; +tiles_Location_x__P2699.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__P2699.isGetter = true; -function tiles_Location_x__P23503_mk(s) { +function tiles_Location_x__P2699_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P23503, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P2699, 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___38286: undefined, + scale___17476: undefined, arg0: undefined, } } @@ -38755,7 +38755,7 @@ function tiles_Location_x__P23503_mk(s) { -function particles_ShapeFactory_drawParticle__P24038(s) { +function particles_ShapeFactory_drawParticle__P3234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38765,7 +38765,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___38305 = undefined; + s.pImage___17495 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38774,8 +38774,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C24035_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P23886_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C3231_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P3082_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -38785,12 +38785,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___38305 = (r0); + s.pImage___17495 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___38305, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___22837; - s.tmp_1 = r0 = s.pImage___38305; + r0 = pxsim_ImageMethods.replace(s.pImage___17495, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___2033; + s.tmp_1 = r0 = s.pImage___17495; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -38812,12 +38812,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P24038.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__P3234.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__P24038_mk(s) { +function particles_ShapeFactory_drawParticle__P3234_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P24038, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P3234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38829,7 +38829,7 @@ function particles_ShapeFactory_drawParticle__P24038_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___38305: undefined, + pImage___17495: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38840,7 +38840,7 @@ function particles_ShapeFactory_drawParticle__P24038_mk(s) { -function Math_FastRandom_pickRandom__P23886(s) { +function Math_FastRandom_pickRandom__P3082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38856,7 +38856,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C23881_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C3077_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -38879,7 +38879,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P23885_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P3081_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -38895,12 +38895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P23886.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__P3082.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__P23886_mk(s) { +function Math_FastRandom_pickRandom__P3082_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P23886, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P3082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38918,7 +38918,7 @@ function Math_FastRandom_pickRandom__P23886_mk(s) { -function particles_AreaFactory_drawParticle__P24026(s) { +function particles_AreaFactory_drawParticle__P3222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38928,7 +38928,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___38351 = undefined; + s.col___17541 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38937,7 +38937,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C24019_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C3215_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -38964,8 +38964,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___38351 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___22837; + s.col___17541 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___2033; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38974,17 +38974,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___38351); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___17541); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P24026.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__P3222.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__P24026_mk(s) { +function particles_AreaFactory_drawParticle__P3222_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P24026, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P3222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38992,7 +38992,7 @@ function particles_AreaFactory_drawParticle__P24026_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___38351: undefined, + col___17541: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39003,7 +39003,7 @@ function particles_AreaFactory_drawParticle__P24026_mk(s) { -function particles_SprayFactory_drawParticle__P24016(s) { +function particles_SprayFactory_drawParticle__P3212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39021,8 +39021,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C24013_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___22837; + if (!checkSubtype(r0, particles_SprayFactory__C3209_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___2033; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -39036,12 +39036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P24016.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__P3212.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__P24016_mk(s) { +function particles_SprayFactory_drawParticle__P3212_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P24016, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P3212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39058,7 +39058,7 @@ function particles_SprayFactory_drawParticle__P24016_mk(s) { -function scene_Renderable___drawCore__P23608(s) { +function scene_Renderable___drawCore__P2804(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39074,10 +39074,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C23605_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2801_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___22837; + s.tmp_0.arg1 = globals.screen___2033; 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); @@ -39094,12 +39094,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P23608.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__P2804.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__P23608_mk(s) { +function scene_Renderable___drawCore__P2804_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P23608, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P2804, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39110,7 +39110,7 @@ function scene_Renderable___drawCore__P23608_mk(s) { -function scene_Renderable___visible__P23607(s) { +function scene_Renderable___visible__P2803(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39125,7 +39125,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C23605_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C2801_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -39142,12 +39142,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P23607.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__P2803.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__P23607_mk(s) { +function scene_Renderable___visible__P2803_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P23607, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P2803, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39157,7 +39157,7 @@ function scene_Renderable___visible__P23607_mk(s) { -function Sprite___drawCore__P23220(s) { +function Sprite___drawCore__P2416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39167,24 +39167,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___38391 = undefined; - s.oy___38399 = undefined; - s.l___38407 = undefined; - s.t___38413 = undefined; + s.ox___17581 = undefined; + s.oy___17589 = undefined; + s.l___17597 = undefined; + s.t___17603 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P25617_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P4812_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 375; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P23219_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P2415_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 376; s.pc = 9; return s.tmp_1; @@ -39209,7 +39209,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___38391 = (s.tmp_4); + s.ox___17581 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39223,42 +39223,42 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___38399 = (s.tmp_2); - s.tmp_2 = Sprite_left__P23204_mk(s); + s.oy___17589 = (s.tmp_2); + s.tmp_2 = Sprite_left__P2400_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 377; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___38391); + r0 = (s.tmp_1 - s.ox___17581); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___38407 = (r0); - s.tmp_2 = Sprite_top__P23208_mk(s); + s.l___17597 = (r0); + s.tmp_2 = Sprite_top__P2404_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 378; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___38399); + r0 = (s.tmp_1 - s.oy___17589); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___38413 = (r0); - s.tmp_0 = Sprite__C23146_v6_3_mk(s); + s.t___17603 = (r0); + s.tmp_0 = Sprite__C2342_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___38407; - s.tmp_0.arg2 = s.t___38413; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C23146_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___17597; + s.tmp_0.arg2 = s.t___17603; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C2342_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = Sprite_drawDebug__P25618_mk(s); + s.tmp_0 = Sprite_drawDebug__P4813_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___38407; - s.tmp_0.arg2 = s.t___38413; - s.tmp_0.arg3 = s.ox___38391; - s.tmp_0.arg4 = s.oy___38399; + s.tmp_0.arg1 = s.l___17597; + s.tmp_0.arg2 = s.t___17603; + s.tmp_0.arg3 = s.ox___17581; + s.tmp_0.arg4 = s.oy___17589; s.callLocIdx = 379; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -39267,22 +39267,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P23220.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__P2416.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__P23220_mk(s) { +function Sprite___drawCore__P2416_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P23220, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P2416, 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___38391: undefined, - oy___38399: undefined, - l___38407: undefined, - t___38413: undefined, + ox___17581: undefined, + oy___17589: undefined, + l___17597: undefined, + t___17603: undefined, arg0: undefined, arg1: undefined, } } @@ -39291,7 +39291,7 @@ function Sprite___drawCore__P23220_mk(s) { -function Sprite_drawSprite__P25619(s) { +function Sprite_drawSprite__P4814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39308,8 +39308,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P25616_mk(s); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P4811_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 471; s.pc = 3; return s.tmp_3; case 3: @@ -39323,20 +39323,20 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___22837, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___2033, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P22758_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.tmp_0 = helpers_imageBlit__P1954_mk(s); + s.tmp_0.arg0 = globals.screen___2033; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P23202_mk(s); + s.tmp_1 = Sprite_width__P2398_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 472; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P23203_mk(s); + s.tmp_2 = Sprite_height__P2399_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 473; s.pc = 6; return s.tmp_2; case 6: @@ -39364,12 +39364,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P25619.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P4814.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P25619_mk(s) { +function Sprite_drawSprite__P4814_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P25619, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P4814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39385,7 +39385,7 @@ function Sprite_drawSprite__P25619_mk(s) { -function Sprite_drawDebug__P25618(s) { +function Sprite_drawDebug__P4813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39395,9 +39395,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___38437 = undefined; - s.tx___38441 = undefined; - s.ty___38443 = undefined; + s.font___17627 = undefined; + s.tx___17631 = undefined; + s.ty___17633 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39407,17 +39407,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_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___38437 = (globals.font5___22785); - s.tx___38441 = (s.arg1); + s.font___17627 = (globals.font5___1981); + s.tx___17631 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P23203_mk(s); + s.tmp_3 = Sprite_height__P2399_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 447; s.pc = 13; return s.tmp_3; case 13: @@ -39426,12 +39426,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___38443 = (r0); - s.tmp_0 = helpers_imagePrint__P22795_mk(s); - s.tmp_0.arg0 = globals.screen___22837; + s.ty___17633 = (r0); + s.tmp_0 = helpers_imagePrint__P1991_mk(s); + s.tmp_0.arg0 = globals.screen___2033; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P23159_mk(s); + s.tmp_7 = Sprite_x__P2355_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 448; s.pc = 15; return s.tmp_7; case 15: @@ -39452,7 +39452,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P23161_mk(s); + s.tmp_11 = Sprite_y__P2357_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 449; s.pc = 17; return s.tmp_11; case 17: @@ -39471,17 +39471,17 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_8); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___38441; - s.tmp_0.arg3 = s.ty___38443; + s.tmp_0.arg2 = s.tx___17631; + s.tmp_0.arg3 = s.ty___17633; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___38437; + s.tmp_0.arg5 = s.font___17627; s.tmp_0.arg6 = undefined; s.callLocIdx = 450; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___38441; + s.tmp_0 = r0 = s.tx___17631; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___38437; + s.tmp_2.arg0 = s.font___17627; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -39494,8 +39494,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___38441 = (r0); - s.tmp_1 = Sprite_vx__P23163_mk(s); + s.tx___17631 = (r0); + s.tmp_1 = Sprite_vx__P2359_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 452; s.pc = 20; return s.tmp_1; case 20: @@ -39506,7 +39506,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P23165_mk(s); + s.tmp_2 = Sprite_vy__P2361_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 453; s.pc = 21; return s.tmp_2; case 21: @@ -39516,9 +39516,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___38443; + s.tmp_4 = r0 = s.ty___17633; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___38437; + s.tmp_7.arg0 = s.font___17627; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39533,10 +39533,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___38443 = (r0); - s.tmp_0 = helpers_imagePrint__P22795_mk(s); - s.tmp_0.arg0 = globals.screen___22837; - s.tmp_6 = Sprite_vx__P23163_mk(s); + s.ty___17633 = (r0); + s.tmp_0 = helpers_imagePrint__P1991_mk(s); + s.tmp_0.arg0 = globals.screen___2033; + s.tmp_6 = Sprite_vx__P2359_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 455; s.pc = 24; return s.tmp_6; case 24: @@ -39557,7 +39557,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P23165_mk(s); + s.tmp_10 = Sprite_vy__P2361_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 456; s.pc = 26; return s.tmp_10; case 26: @@ -39576,17 +39576,17 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___38441; - s.tmp_0.arg3 = s.ty___38443; + s.tmp_0.arg2 = s.tx___17631; + s.tmp_0.arg3 = s.ty___17633; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___38437; + s.tmp_0.arg5 = s.font___17627; s.tmp_0.arg6 = undefined; s.callLocIdx = 457; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P23167_mk(s); + s.tmp_1 = Sprite_ax__P2363_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 458; s.pc = 28; return s.tmp_1; case 28: @@ -39597,7 +39597,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P23169_mk(s); + s.tmp_2 = Sprite_ay__P2365_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 459; s.pc = 29; return s.tmp_2; case 29: @@ -39607,9 +39607,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___38443; + s.tmp_4 = r0 = s.ty___17633; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___38437; + s.tmp_7.arg0 = s.font___17627; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39624,10 +39624,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___38443 = (r0); - s.tmp_0 = helpers_imagePrint__P22795_mk(s); - s.tmp_0.arg0 = globals.screen___22837; - s.tmp_6 = Sprite_ax__P23167_mk(s); + s.ty___17633 = (r0); + s.tmp_0 = helpers_imagePrint__P1991_mk(s); + s.tmp_0.arg0 = globals.screen___2033; + s.tmp_6 = Sprite_ax__P2363_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 461; s.pc = 32; return s.tmp_6; case 32: @@ -39648,7 +39648,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P23169_mk(s); + s.tmp_10 = Sprite_ay__P2365_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 462; s.pc = 34; return s.tmp_10; case 34: @@ -39667,10 +39667,10 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___38441; - s.tmp_0.arg3 = s.ty___38443; + s.tmp_0.arg2 = s.tx___17631; + s.tmp_0.arg3 = s.ty___17633; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___38437; + s.tmp_0.arg5 = s.font___17627; s.tmp_0.arg6 = undefined; s.callLocIdx = 463; s.pc = 31; return s.tmp_0; case 31: @@ -39679,11 +39679,11 @@ switch (step) { case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___23772); + r0 = pxsim_numops_toBoolDecr(globals.debug___2968); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P22764_mk(s); - s.tmp_0.arg0 = globals.screen___22837; - s.tmp_3 = game_Hitbox_left__P23021_mk(s); + s.tmp_0 = helpers_imageDrawRect__P1960_mk(s); + s.tmp_0.arg0 = globals.screen___2033; + s.tmp_3 = game_Hitbox_left__P2217_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 464; s.pc = 37; return s.tmp_3; @@ -39696,7 +39696,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P23022_mk(s); + s.tmp_7 = game_Hitbox_top__P2218_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 466; s.pc = 38; return s.tmp_7; @@ -39733,12 +39733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P25618.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P4813.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P25618_mk(s) { +function Sprite_drawDebug__P4813_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P25618, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P4813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39753,9 +39753,9 @@ function Sprite_drawDebug__P25618_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___38437: undefined, - tx___38441: undefined, - ty___38443: undefined, + font___17627: undefined, + tx___17631: undefined, + ty___17633: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39767,7 +39767,7 @@ function Sprite_drawDebug__P25618_mk(s) { -function Sprite_drawSay__P25617(s) { +function Sprite_drawSay__P4812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39783,7 +39783,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -39802,23 +39802,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C23064_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C2260_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___22837; + s.tmp_6.arg1 = globals.screen___2033; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2260_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__C23064_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C2260_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2260_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: @@ -39828,13 +39828,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C23064_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C2260_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___22837; + s.tmp_0.arg1 = globals.screen___2033; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2260_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: @@ -39846,12 +39846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P25617.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P4812.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P25617_mk(s) { +function Sprite_drawSay__P4812_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P25617, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P4812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39868,7 +39868,7 @@ function Sprite_drawSay__P25617_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P23068(s) { +function sprites_BaseSpriteSayRenderer_destroy__P2264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39883,17 +39883,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2260_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P23068.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__P2264.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__P23068_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P2264_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P23068, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P2264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39902,7 +39902,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P23068_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P23066(s) { +function sprites_BaseSpriteSayRenderer_draw__P2262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39920,17 +39920,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C23064_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2260_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P23066.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__P2262.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__P23066_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P2262_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P23066, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P2262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39942,7 +39942,7 @@ function sprites_BaseSpriteSayRenderer_draw__P23066_mk(s) { -function Sprite___visible__P23201(s) { +function Sprite___visible__P2397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39957,7 +39957,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C23146_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C2342_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -39968,12 +39968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P23201.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__P2397.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__P23201_mk(s) { +function Sprite___visible__P2397_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P23201, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P2397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39985,7 +39985,7 @@ function Sprite___visible__P23201_mk(s) { -function scene_Camera_top__P23599(s) { +function scene_Camera_top__P2795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40000,18 +40000,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P23599.info = {"start":1764,"length":54,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P23599.isGetter = true; +scene_Camera_top__P2795.info = {"start":1764,"length":54,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P2795.isGetter = true; -function scene_Camera_top__P23599_mk(s) { +function scene_Camera_top__P2795_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P23599, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P2795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40020,7 +40020,7 @@ function scene_Camera_top__P23599_mk(s) { -function scene_Camera_left__P23597(s) { +function scene_Camera_left__P2793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40035,18 +40035,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C23586_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C2782_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P23597.info = {"start":1620,"length":55,"line":54,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P23597.isGetter = true; +scene_Camera_left__P2793.info = {"start":1620,"length":55,"line":54,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P2793.isGetter = true; -function scene_Camera_left__P23597_mk(s) { +function scene_Camera_left__P2793_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P23597, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P2793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40096,7 +40096,7 @@ function if_condition_1_mk(s) { } } -function PhysicsEngine__C23316_v4_2_mk(s) { +function PhysicsEngine__C2512_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40142,7 +40142,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C23316_v3_1_mk(s) { +function PhysicsEngine__C2512_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40299,7 +40299,7 @@ function lambda_3_mk(s) { } } -function controller_Button__C22994_v0_1_mk(s) { +function controller_Button__C2190_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40388,7 +40388,7 @@ function if_effect_3_mk(s) { } } -function Sprite__C23146_v5_1_mk(s) { +function Sprite__C2342_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40402,7 +40402,7 @@ function Sprite__C23146_v5_1_mk(s) { } } -function Sprite__C23146_v4_1_mk(s) { +function Sprite__C2342_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40432,7 +40432,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C23316_v1_2_mk(s) { +function PhysicsEngine__C2512_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40630,7 +40630,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C23316_v2_4_mk(s) { +function PhysicsEngine__C2512_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40704,7 +40704,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C23316_v0_2_mk(s) { +function PhysicsEngine__C2512_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40762,7 +40762,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C24009_v0_2_mk(s) { +function particles_ParticleFactory__C3205_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40777,7 +40777,7 @@ function particles_ParticleFactory__C24009_v0_2_mk(s) { } } -function particles_ParticleSource__C23973_v4_3_mk(s) { +function particles_ParticleSource__C3169_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40835,7 +40835,7 @@ function if_height_1_mk(s) { } } -function particles_ParticleFactory__C24009_v1_4_mk(s) { +function particles_ParticleFactory__C3205_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40910,7 +40910,7 @@ function if_top_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C23064_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C2260_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40927,7 +40927,7 @@ function sprites_BaseSpriteSayRenderer__C23064_v1_4_mk(s) { } } -function sprites_BaseSprite__C22899_v0_1_mk(s) { +function sprites_BaseSprite__C2095_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40941,7 +40941,7 @@ function sprites_BaseSprite__C22899_v0_1_mk(s) { } } -function sprites_BaseSprite__C22899_v2_2_mk(s) { +function sprites_BaseSprite__C2095_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40970,7 +40970,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C23146_v6_3_mk(s) { +function Sprite__C2342_v6_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40986,7 +40986,7 @@ function Sprite__C23146_v6_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C23064_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C2260_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -41003,7 +41003,7 @@ function sprites_BaseSpriteSayRenderer__C23064_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C23064_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C2260_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -41058,7 +41058,7 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Controller__C22939_VT = mkVTable({ +const controller_Controller__C2135_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 16, @@ -41077,28 +41077,28 @@ const controller_Controller__C22939_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P22944, - "set/_controlledSprites": controller_Controller__controlledSprites__P22945, - "id": controller_Controller_id__P22946, - "left": controller_Controller_left__P22948, - "right": controller_Controller_right__P22949, - "up": controller_Controller_up__P22950, - "down": controller_Controller_down__P22951, - "button": controller_Controller_button__P25588, - "connected": controller_Controller_connected__P22960, - "set/connected": controller_Controller_connected__P22961, - "__preUpdate": controller_Controller___preUpdate__P22967, - "__update": controller_Controller___update__P22968, + "_controlledSprites": controller_Controller__controlledSprites__P2140, + "set/_controlledSprites": controller_Controller__controlledSprites__P2141, + "id": controller_Controller_id__P2142, + "left": controller_Controller_left__P2144, + "right": controller_Controller_right__P2145, + "up": controller_Controller_up__P2146, + "down": controller_Controller_down__P2147, + "button": controller_Controller_button__P4783, + "connected": controller_Controller_connected__P2156, + "set/connected": controller_Controller_connected__P2157, + "__preUpdate": controller_Controller___preUpdate__P2163, + "__update": controller_Controller___update__P2164, }, }); -const controller_Button__C22994_VT = mkVTable({ +const controller_Button__C2190_VT = mkVTable({ name: "Button", numFields: 7, classNo: 17, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P23005, + "isPressed": controller_Button_isPressed__P2201, }, iface: { "_owner": null, @@ -41115,29 +41115,29 @@ const controller_Button__C22994_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P25591, - "toString": controller_Button_toString__P22999, - "raiseButtonUp": controller_Button_raiseButtonUp__P25592, - "raiseButtonDown": controller_Button_raiseButtonDown__P25593, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P25594, - "onEvent": controller_Button_onEvent__P23001, - "isPressed": controller_Button_isPressed__P23005, - "pressureLevel": controller_Button_pressureLevel__P23006, - "setPressed": controller_Button_setPressed__P23007, - "__update": controller_Button___update__P23008, - "runButtonEvents": controller_Button_runButtonEvents__P25595, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P25596, + "handlerState": controller_Button_handlerState__P4786, + "toString": controller_Button_toString__P2195, + "raiseButtonUp": controller_Button_raiseButtonUp__P4787, + "raiseButtonDown": controller_Button_raiseButtonDown__P4788, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4789, + "onEvent": controller_Button_onEvent__P2197, + "isPressed": controller_Button_isPressed__P2201, + "pressureLevel": controller_Button_pressureLevel__P2202, + "setPressed": controller_Button_setPressed__P2203, + "__update": controller_Button___update__P2204, + "runButtonEvents": controller_Button_runButtonEvents__P4790, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4791, }, - toStringMethod: controller_Button_toString__P22999, + toStringMethod: controller_Button_toString__P2195, }); -const controller_AnyButton__C25589_VT = mkVTable({ +const controller_AnyButton__C4784_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P25597, + "isPressed": controller_AnyButton_isPressed__P4792, }, iface: { "_owner": null, @@ -41154,21 +41154,21 @@ const controller_AnyButton__C25589_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P25597, - "handlerState": controller_Button_handlerState__P25591, - "toString": controller_Button_toString__P22999, - "raiseButtonUp": controller_Button_raiseButtonUp__P25592, - "raiseButtonDown": controller_Button_raiseButtonDown__P25593, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P25594, - "onEvent": controller_Button_onEvent__P23001, - "pressureLevel": controller_Button_pressureLevel__P23006, - "setPressed": controller_Button_setPressed__P23007, - "__update": controller_Button___update__P23008, - "runButtonEvents": controller_Button_runButtonEvents__P25595, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P25596, + "isPressed": controller_AnyButton_isPressed__P4792, + "handlerState": controller_Button_handlerState__P4786, + "toString": controller_Button_toString__P2195, + "raiseButtonUp": controller_Button_raiseButtonUp__P4787, + "raiseButtonDown": controller_Button_raiseButtonDown__P4788, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4789, + "onEvent": controller_Button_onEvent__P2197, + "pressureLevel": controller_Button_pressureLevel__P2202, + "setPressed": controller_Button_setPressed__P2203, + "__update": controller_Button___update__P2204, + "runButtonEvents": controller_Button_runButtonEvents__P4790, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4791, }, }); -const game_GameOverConfig__C23795_VT = mkVTable({ +const game_GameOverConfig__C2991_VT = mkVTable({ name: "GameOverConfig", numFields: 14, classNo: 19, @@ -41205,10 +41205,10 @@ const game_GameOverConfig__C23795_VT = mkVTable({ "set/messageSetByUser": null, "scoringTypeSetByUser": null, "set/scoringTypeSetByUser": null, - "init": game_GameOverConfig_init__P23811, + "init": game_GameOverConfig_init__P3007, }, }); -const Math_FastRandom__C23881_VT = mkVTable({ +const Math_FastRandom__C3077_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 20, @@ -41221,12 +41221,12 @@ const Math_FastRandom__C23881_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P23884, - "randomRange": Math_FastRandom_randomRange__P23885, - "pickRandom": Math_FastRandom_pickRandom__P23886, + "next": Math_FastRandom_next__P3080, + "randomRange": Math_FastRandom_randomRange__P3081, + "pickRandom": Math_FastRandom_pickRandom__P3082, }, }); -const control_EventContext__C21200_VT = mkVTable({ +const control_EventContext__C395_VT = mkVTable({ name: "EventContext", numFields: 10, classNo: 21, @@ -41255,16 +41255,16 @@ const control_EventContext__C21200_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P21205, - "runCallbacks": control_EventContext_runCallbacks__P25304, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P25305, - "register": control_EventContext_register__P21206, - "unregister": control_EventContext_unregister__P21207, - "registerFrameHandler": control_EventContext_registerFrameHandler__P21208, - "registerHandler": control_EventContext_registerHandler__P21210, + "deltaTime": control_EventContext_deltaTime__P400, + "runCallbacks": control_EventContext_runCallbacks__P4499, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P4500, + "register": control_EventContext_register__P401, + "unregister": control_EventContext_unregister__P402, + "registerFrameHandler": control_EventContext_registerFrameHandler__P403, + "registerHandler": control_EventContext_registerHandler__P405, }, }); -const scene_Scene__C23648_VT = mkVTable({ +const scene_Scene__C2844_VT = mkVTable({ name: "Scene", numFields: 25, classNo: 22, @@ -41323,14 +41323,14 @@ const scene_Scene__C23648_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P23672, - "data": scene_Scene_data__P23673, - "millis": scene_Scene_millis__P23674, - "addSprite": scene_Scene_addSprite__P23675, - "render": scene_Scene_render__P23677, + "init": scene_Scene_init__P2868, + "data": scene_Scene_data__P2869, + "millis": scene_Scene_millis__P2870, + "addSprite": scene_Scene_addSprite__P2871, + "render": scene_Scene_render__P2873, }, }); -const control_FrameCallback__C21197_VT = mkVTable({ +const control_FrameCallback__C392_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 23, @@ -41345,7 +41345,7 @@ const control_FrameCallback__C21197_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C25278_VT = mkVTable({ +const control_PollEvent__C4473_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 24, @@ -41368,7 +41368,7 @@ const control_PollEvent__C25278_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C25299_VT = mkVTable({ +const control_EventHandler__C4494_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 25, @@ -41385,32 +41385,32 @@ const control_EventHandler__C25299_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P25300, - "unregister": control_EventHandler_unregister__P25301, + "register": control_EventHandler_register__P4495, + "unregister": control_EventHandler_unregister__P4496, }, }); -const PhysicsEngine__C23316_VT = mkVTable({ +const PhysicsEngine__C2512_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 26, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P23318, - "removeSprite": PhysicsEngine_removeSprite__P23319, - "moveSprite": PhysicsEngine_moveSprite__P23320, - "draw": PhysicsEngine_draw__P23321, - "move": PhysicsEngine_move__P23322, + "addSprite": PhysicsEngine_addSprite__P2514, + "removeSprite": PhysicsEngine_removeSprite__P2515, + "moveSprite": PhysicsEngine_moveSprite__P2516, + "draw": PhysicsEngine_draw__P2517, + "move": PhysicsEngine_move__P2518, }, iface: { - "addSprite": PhysicsEngine_addSprite__P23318, - "removeSprite": PhysicsEngine_removeSprite__P23319, - "moveSprite": PhysicsEngine_moveSprite__P23320, - "draw": PhysicsEngine_draw__P23321, - "move": PhysicsEngine_move__P23322, + "addSprite": PhysicsEngine_addSprite__P2514, + "removeSprite": PhysicsEngine_removeSprite__P2515, + "moveSprite": PhysicsEngine_moveSprite__P2516, + "draw": PhysicsEngine_draw__P2517, + "move": PhysicsEngine_move__P2518, }, }); -const scene_Camera__C23586_VT = mkVTable({ +const scene_Camera__C2782_VT = mkVTable({ name: "Camera", numFields: 10, classNo: 28, @@ -41439,19 +41439,19 @@ const scene_Camera__C23586_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P23591, - "set/offsetX": scene_Camera_offsetX__P23592, - "offsetY": scene_Camera_offsetY__P23593, - "set/offsetY": scene_Camera_offsetY__P23594, - "x": scene_Camera_x__P23595, - "y": scene_Camera_y__P23596, - "left": scene_Camera_left__P23597, - "top": scene_Camera_top__P23599, - "isUpdated": scene_Camera_isUpdated__P23602, - "update": scene_Camera_update__P23603, + "offsetX": scene_Camera_offsetX__P2787, + "set/offsetX": scene_Camera_offsetX__P2788, + "offsetY": scene_Camera_offsetY__P2789, + "set/offsetY": scene_Camera_offsetY__P2790, + "x": scene_Camera_x__P2791, + "y": scene_Camera_y__P2792, + "left": scene_Camera_left__P2793, + "top": scene_Camera_top__P2795, + "isUpdated": scene_Camera_isUpdated__P2798, + "update": scene_Camera_update__P2799, }, }); -const scene_Background__C23474_VT = mkVTable({ +const scene_Background__C2670_VT = mkVTable({ name: "Background", numFields: 4, classNo: 29, @@ -41468,10 +41468,10 @@ const scene_Background__C23474_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P23483, + "draw": scene_Background_draw__P2679, }, }); -const scene_BackgroundLayer__C23484_VT = mkVTable({ +const scene_BackgroundLayer__C2680_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 30, @@ -41492,48 +41492,48 @@ const scene_BackgroundLayer__C23484_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P23492, + "draw": scene_BackgroundLayer_draw__P2688, }, }); -const sprites_BaseSprite__C22899_VT = mkVTable({ +const sprites_BaseSprite__C2095_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 31, lastSubtypeNo: 34, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P22902, - "__draw": sprites_BaseSprite___draw__P22905, - "__drawCore": sprites_BaseSprite___drawCore__P22906, - "__update": sprites_BaseSprite___update__P22907, + "__visible": sprites_BaseSprite___visible__P2098, + "__draw": sprites_BaseSprite___draw__P2101, + "__drawCore": sprites_BaseSprite___drawCore__P2102, + "__update": sprites_BaseSprite___update__P2103, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P22902, - "z": sprites_BaseSprite_z__P22903, - "set/z": sprites_BaseSprite_z__P22904, - "__draw": sprites_BaseSprite___draw__P22905, - "__drawCore": sprites_BaseSprite___drawCore__P22906, - "__update": sprites_BaseSprite___update__P22907, + "__visible": sprites_BaseSprite___visible__P2098, + "z": sprites_BaseSprite_z__P2099, + "set/z": sprites_BaseSprite_z__P2100, + "__draw": sprites_BaseSprite___draw__P2101, + "__drawCore": sprites_BaseSprite___drawCore__P2102, + "__update": sprites_BaseSprite___update__P2103, }, }); -const Sprite__C23146_VT = mkVTable({ +const Sprite__C2342_VT = mkVTable({ name: "Sprite", numFields: 30, classNo: 32, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P23201, - "__draw": sprites_BaseSprite___draw__P22905, - "__drawCore": Sprite___drawCore__P23220, - "__update": Sprite___update__P23221, - "setHitbox": Sprite_setHitbox__P23199, - "recalcSize": Sprite_recalcSize__P25615, - "drawSprite": Sprite_drawSprite__P25619, + "__visible": Sprite___visible__P2397, + "__draw": sprites_BaseSprite___draw__P2101, + "__drawCore": Sprite___drawCore__P2416, + "__update": Sprite___update__P2417, + "setHitbox": Sprite_setHitbox__P2395, + "recalcSize": Sprite_recalcSize__P4810, + "drawSprite": Sprite_drawSprite__P4814, }, iface: { "_z": null, @@ -41596,67 +41596,67 @@ const Sprite__C23146_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P23159, - "set/x": Sprite_x__P23160, - "y": Sprite_y__P23161, - "set/y": Sprite_y__P23162, - "vx": Sprite_vx__P23163, - "set/vx": Sprite_vx__P23164, - "vy": Sprite_vy__P23165, - "set/vy": Sprite_vy__P23166, - "ax": Sprite_ax__P23167, - "set/ax": Sprite_ax__P23168, - "ay": Sprite_ay__P23169, - "set/ay": Sprite_ay__P23170, - "fx": Sprite_fx__P23171, - "set/fx": Sprite_fx__P23172, - "fy": Sprite_fy__P23173, - "set/fy": Sprite_fy__P23174, - "sx": Sprite_sx__P23175, - "sy": Sprite_sy__P23177, - "data": Sprite_data__P23181, - "set/data": Sprite_data__P23182, - "image": Sprite_image__P23195, - "setImage": Sprite_setImage__P23196, - "calcDimensionalHash": Sprite_calcDimensionalHash__P23197, - "resetHitbox": Sprite_resetHitbox__P23198, - "setHitbox": Sprite_setHitbox__P23199, - "isStatic": Sprite_isStatic__P23200, - "__visible": Sprite___visible__P23201, - "recalcSize": Sprite_recalcSize__P25615, - "isScaled": Sprite_isScaled__P25616, - "width": Sprite_width__P23202, - "height": Sprite_height__P23203, - "left": Sprite_left__P23204, - "set/left": Sprite_left__P23205, - "right": Sprite_right__P23206, - "set/right": Sprite_right__P23207, - "top": Sprite_top__P23208, - "set/top": Sprite_top__P23209, - "bottom": Sprite_bottom__P23210, - "set/bottom": Sprite_bottom__P23211, - "kind": Sprite_kind__P23212, - "setKind": Sprite_setKind__P23213, - "isOutOfScreen": Sprite_isOutOfScreen__P23219, - "__drawCore": Sprite___drawCore__P23220, - "__update": Sprite___update__P23221, - "setFlag": Sprite_setFlag__P23224, - "overlapsWith": Sprite_overlapsWith__P23225, - "clearObstacles": Sprite_clearObstacles__P23230, - "registerObstacle": Sprite_registerObstacle__P23231, - "destroy": Sprite_destroy__P23233, - "_destroyCore": Sprite__destroyCore__P23234, - "toString": Sprite_toString__P23239, - "drawSay": Sprite_drawSay__P25617, - "drawDebug": Sprite_drawDebug__P25618, - "drawSprite": Sprite_drawSprite__P25619, - "z": sprites_BaseSprite_z__P22903, - "set/z": sprites_BaseSprite_z__P22904, - "__draw": sprites_BaseSprite___draw__P22905, + "x": Sprite_x__P2355, + "set/x": Sprite_x__P2356, + "y": Sprite_y__P2357, + "set/y": Sprite_y__P2358, + "vx": Sprite_vx__P2359, + "set/vx": Sprite_vx__P2360, + "vy": Sprite_vy__P2361, + "set/vy": Sprite_vy__P2362, + "ax": Sprite_ax__P2363, + "set/ax": Sprite_ax__P2364, + "ay": Sprite_ay__P2365, + "set/ay": Sprite_ay__P2366, + "fx": Sprite_fx__P2367, + "set/fx": Sprite_fx__P2368, + "fy": Sprite_fy__P2369, + "set/fy": Sprite_fy__P2370, + "sx": Sprite_sx__P2371, + "sy": Sprite_sy__P2373, + "data": Sprite_data__P2377, + "set/data": Sprite_data__P2378, + "image": Sprite_image__P2391, + "setImage": Sprite_setImage__P2392, + "calcDimensionalHash": Sprite_calcDimensionalHash__P2393, + "resetHitbox": Sprite_resetHitbox__P2394, + "setHitbox": Sprite_setHitbox__P2395, + "isStatic": Sprite_isStatic__P2396, + "__visible": Sprite___visible__P2397, + "recalcSize": Sprite_recalcSize__P4810, + "isScaled": Sprite_isScaled__P4811, + "width": Sprite_width__P2398, + "height": Sprite_height__P2399, + "left": Sprite_left__P2400, + "set/left": Sprite_left__P2401, + "right": Sprite_right__P2402, + "set/right": Sprite_right__P2403, + "top": Sprite_top__P2404, + "set/top": Sprite_top__P2405, + "bottom": Sprite_bottom__P2406, + "set/bottom": Sprite_bottom__P2407, + "kind": Sprite_kind__P2408, + "setKind": Sprite_setKind__P2409, + "isOutOfScreen": Sprite_isOutOfScreen__P2415, + "__drawCore": Sprite___drawCore__P2416, + "__update": Sprite___update__P2417, + "setFlag": Sprite_setFlag__P2420, + "overlapsWith": Sprite_overlapsWith__P2421, + "clearObstacles": Sprite_clearObstacles__P2426, + "registerObstacle": Sprite_registerObstacle__P2427, + "destroy": Sprite_destroy__P2429, + "_destroyCore": Sprite__destroyCore__P2430, + "toString": Sprite_toString__P2435, + "drawSay": Sprite_drawSay__P4812, + "drawDebug": Sprite_drawDebug__P4813, + "drawSprite": Sprite_drawSprite__P4814, + "z": sprites_BaseSprite_z__P2099, + "set/z": sprites_BaseSprite_z__P2100, + "__draw": sprites_BaseSprite___draw__P2101, }, - toStringMethod: Sprite_toString__P23239, + toStringMethod: Sprite_toString__P2435, }); -const tiles_TileMap__C23540_VT = mkVTable({ +const tiles_TileMap__C2736_VT = mkVTable({ name: "TileMap", numFields: 5, classNo: 35, @@ -41675,25 +41675,25 @@ const tiles_TileMap__C23540_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P23543, - "set/scale": tiles_TileMap_scale__P23544, - "data": tiles_TileMap_data__P23545, - "offsetX": tiles_TileMap_offsetX__P23546, - "offsetY": tiles_TileMap_offsetY__P23547, - "areaWidth": tiles_TileMap_areaWidth__P23548, - "areaHeight": tiles_TileMap_areaHeight__P23549, - "layer": tiles_TileMap_layer__P23550, - "enabled": tiles_TileMap_enabled__P23552, - "getTile": tiles_TileMap_getTile__P23554, - "getTileIndex": tiles_TileMap_getTileIndex__P23555, - "draw": tiles_TileMap_draw__P25736, - "isObstacle": tiles_TileMap_isObstacle__P23561, - "getObstacle": tiles_TileMap_getObstacle__P23562, - "isOnWall": tiles_TileMap_isOnWall__P23563, - "getTileImage": tiles_TileMap_getTileImage__P23564, + "scale": tiles_TileMap_scale__P2739, + "set/scale": tiles_TileMap_scale__P2740, + "data": tiles_TileMap_data__P2741, + "offsetX": tiles_TileMap_offsetX__P2742, + "offsetY": tiles_TileMap_offsetY__P2743, + "areaWidth": tiles_TileMap_areaWidth__P2744, + "areaHeight": tiles_TileMap_areaHeight__P2745, + "layer": tiles_TileMap_layer__P2746, + "enabled": tiles_TileMap_enabled__P2748, + "getTile": tiles_TileMap_getTile__P2750, + "getTileIndex": tiles_TileMap_getTileIndex__P2751, + "draw": tiles_TileMap_draw__P4931, + "isObstacle": tiles_TileMap_isObstacle__P2757, + "getObstacle": tiles_TileMap_getObstacle__P2758, + "isOnWall": tiles_TileMap_isOnWall__P2759, + "getTileImage": tiles_TileMap_getTileImage__P2760, }, }); -const tiles_TileMapData__C23522_VT = mkVTable({ +const tiles_TileMapData__C2718_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 36, @@ -41716,28 +41716,28 @@ const tiles_TileMapData__C23522_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P23524, - "height": tiles_TileMapData_height__P23525, - "scale": tiles_TileMapData_scale__P23526, - "set/scale": tiles_TileMapData_scale__P23527, - "getTile": tiles_TileMapData_getTile__P23528, - "getTileImage": tiles_TileMapData_getTileImage__P23531, - "isWall": tiles_TileMapData_isWall__P23533, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P23534, + "width": tiles_TileMapData_width__P2720, + "height": tiles_TileMapData_height__P2721, + "scale": tiles_TileMapData_scale__P2722, + "set/scale": tiles_TileMapData_scale__P2723, + "getTile": tiles_TileMapData_getTile__P2724, + "getTileImage": tiles_TileMapData_getTileImage__P2727, + "isWall": tiles_TileMapData_isWall__P2729, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P2730, }, }); -const ArcadePhysicsEngine__C23332_VT = mkVTable({ +const ArcadePhysicsEngine__C2528_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 27, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P23341, - "removeSprite": ArcadePhysicsEngine_removeSprite__P23342, - "moveSprite": ArcadePhysicsEngine_moveSprite__P23346, - "draw": ArcadePhysicsEngine_draw__P23343, - "move": ArcadePhysicsEngine_move__P23344, + "addSprite": ArcadePhysicsEngine_addSprite__P2537, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2538, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2542, + "draw": ArcadePhysicsEngine_draw__P2539, + "move": ArcadePhysicsEngine_move__P2540, }, iface: { "sprites": null, @@ -41752,27 +41752,27 @@ const ArcadePhysicsEngine__C23332_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P23334, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P23335, - "minStep": ArcadePhysicsEngine_minStep__P23336, - "set/minStep": ArcadePhysicsEngine_minStep__P23337, - "maxStep": ArcadePhysicsEngine_maxStep__P23338, - "set/maxStep": ArcadePhysicsEngine_maxStep__P23339, - "addSprite": ArcadePhysicsEngine_addSprite__P23341, - "removeSprite": ArcadePhysicsEngine_removeSprite__P23342, - "draw": ArcadePhysicsEngine_draw__P23343, - "move": ArcadePhysicsEngine_move__P23344, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P25660, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P25661, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P25662, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P25663, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P25664, - "moveSprite": ArcadePhysicsEngine_moveSprite__P23346, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P25665, - "constrain": ArcadePhysicsEngine_constrain__P25666, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2530, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2531, + "minStep": ArcadePhysicsEngine_minStep__P2532, + "set/minStep": ArcadePhysicsEngine_minStep__P2533, + "maxStep": ArcadePhysicsEngine_maxStep__P2534, + "set/maxStep": ArcadePhysicsEngine_maxStep__P2535, + "addSprite": ArcadePhysicsEngine_addSprite__P2537, + "removeSprite": ArcadePhysicsEngine_removeSprite__P2538, + "draw": ArcadePhysicsEngine_draw__P2539, + "move": ArcadePhysicsEngine_move__P2540, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4855, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4856, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P4857, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4858, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4859, + "moveSprite": ArcadePhysicsEngine_moveSprite__P2542, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4860, + "constrain": ArcadePhysicsEngine_constrain__P4861, }, }); -const sprites_SpriteMap__C23251_VT = mkVTable({ +const sprites_SpriteMap__C2447_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 37, @@ -41791,20 +41791,20 @@ const sprites_SpriteMap__C23251_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P23253, - "overlaps": sprites_SpriteMap_overlaps__P23254, - "draw": sprites_SpriteMap_draw__P23255, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P23256, - "clear": sprites_SpriteMap_clear__P23257, - "key": sprites_SpriteMap_key__P25623, - "insertAtKey": sprites_SpriteMap_insertAtKey__P25624, - "insertAABB": sprites_SpriteMap_insertAABB__P23258, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P25625, - "toString": sprites_SpriteMap_toString__P23259, + "neighbors": sprites_SpriteMap_neighbors__P2449, + "overlaps": sprites_SpriteMap_overlaps__P2450, + "draw": sprites_SpriteMap_draw__P2451, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2452, + "clear": sprites_SpriteMap_clear__P2453, + "key": sprites_SpriteMap_key__P4818, + "insertAtKey": sprites_SpriteMap_insertAtKey__P4819, + "insertAABB": sprites_SpriteMap_insertAABB__P2454, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4820, + "toString": sprites_SpriteMap_toString__P2455, }, - toStringMethod: sprites_SpriteMap_toString__P23259, + toStringMethod: sprites_SpriteMap_toString__P2455, }); -const scene_systemMenu_PauseMenu__C23917_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C3113_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 38, @@ -41827,15 +41827,15 @@ const scene_systemMenu_PauseMenu__C23917_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P23919, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P23920, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P23921, - "drawText": scene_systemMenu_PauseMenu_drawText__P23922, - "dispose": scene_systemMenu_PauseMenu_dispose__P23923, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P26063, + "show": scene_systemMenu_PauseMenu_show__P3115, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P3116, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P3117, + "drawText": scene_systemMenu_PauseMenu_drawText__P3118, + "dispose": scene_systemMenu_PauseMenu_dispose__P3119, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P5258, }, }); -const scene_systemMenu_MenuOption__C23909_VT = mkVTable({ +const scene_systemMenu_MenuOption__C3105_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 39, @@ -41860,16 +41860,16 @@ const scene_systemMenu_MenuOption__C23909_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P23911, - "position": scene_systemMenu_MenuOption_position__P23912, - "setOffset": scene_systemMenu_MenuOption_setOffset__P23913, - "setTheme": scene_systemMenu_MenuOption_setTheme__P23914, - "setState": scene_systemMenu_MenuOption_setState__P23915, - "dispose": scene_systemMenu_MenuOption_dispose__P23916, - "updateCard": scene_systemMenu_MenuOption_updateCard__P26062, + "show": scene_systemMenu_MenuOption_show__P3107, + "position": scene_systemMenu_MenuOption_position__P3108, + "setOffset": scene_systemMenu_MenuOption_setOffset__P3109, + "setTheme": scene_systemMenu_MenuOption_setTheme__P3110, + "setState": scene_systemMenu_MenuOption_setState__P3111, + "dispose": scene_systemMenu_MenuOption_dispose__P3112, + "updateCard": scene_systemMenu_MenuOption_updateCard__P5257, }, }); -const effects_ParticleEffect__C24084_VT = mkVTable({ +const effects_ParticleEffect__C3280_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 40, @@ -41884,11 +41884,11 @@ const effects_ParticleEffect__C24084_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P24086, - "destroy": effects_ParticleEffect_destroy__P24087, + "start": effects_ParticleEffect_start__P3282, + "destroy": effects_ParticleEffect_destroy__P3283, }, }); -const effects_ImageEffect__C24112_VT = mkVTable({ +const effects_ImageEffect__C3308_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 42, @@ -41905,11 +41905,11 @@ const effects_ImageEffect__C24112_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P24114, - "change": effects_ImageEffect_change__P24115, + "applyTo": effects_ImageEffect_applyTo__P3310, + "change": effects_ImageEffect_change__P3311, }, }); -const game_Hitbox__C23013_VT = mkVTable({ +const game_Hitbox__C2209_VT = mkVTable({ name: "Hitbox", numFields: 6, classNo: 43, @@ -41930,28 +41930,28 @@ const game_Hitbox__C23013_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P23021, - "top": game_Hitbox_top__P23022, - "right": game_Hitbox_right__P23023, - "bottom": game_Hitbox_bottom__P23024, - "isValid": game_Hitbox_isValid__P23025, - "contains": game_Hitbox_contains__P23026, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P23027, - "overlapsWith": game_Hitbox_overlapsWith__P23028, + "left": game_Hitbox_left__P2217, + "top": game_Hitbox_top__P2218, + "right": game_Hitbox_right__P2219, + "bottom": game_Hitbox_bottom__P2220, + "isValid": game_Hitbox_isValid__P2221, + "contains": game_Hitbox_contains__P2222, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P2223, + "overlapsWith": game_Hitbox_overlapsWith__P2224, }, }); -const particles_ParticleSource__C23973_VT = mkVTable({ +const particles_ParticleSource__C3169_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 33, lastSubtypeNo: 33, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P22902, - "__draw": particles_ParticleSource___draw__P23979, - "__drawCore": sprites_BaseSprite___drawCore__P22906, - "__update": sprites_BaseSprite___update__P22907, - "updateParticle": particles_ParticleSource_updateParticle__P26148, + "__visible": sprites_BaseSprite___visible__P2098, + "__draw": particles_ParticleSource___draw__P3175, + "__drawCore": sprites_BaseSprite___drawCore__P2102, + "__update": sprites_BaseSprite___update__P2103, + "updateParticle": particles_ParticleSource_updateParticle__P5343, }, iface: { "_z": null, @@ -41980,28 +41980,28 @@ const particles_ParticleSource__C23973_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P23979, - "_update": particles_ParticleSource__update__P23980, - "_prune": particles_ParticleSource__prune__P23981, - "setAcceleration": particles_ParticleSource_setAcceleration__P23982, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P23984, - "enabled": particles_ParticleSource_enabled__P23985, - "set/enabled": particles_ParticleSource_enabled__P23986, - "destroy": particles_ParticleSource_destroy__P23987, - "clear": particles_ParticleSource_clear__P23988, - "setAnchor": particles_ParticleSource_setAnchor__P23989, - "setRate": particles_ParticleSource_setRate__P23990, - "setFactory": particles_ParticleSource_setFactory__P23992, - "updateParticle": particles_ParticleSource_updateParticle__P26148, - "drawParticle": particles_ParticleSource_drawParticle__P26149, - "__visible": sprites_BaseSprite___visible__P22902, - "z": sprites_BaseSprite_z__P22903, - "set/z": sprites_BaseSprite_z__P22904, - "__drawCore": sprites_BaseSprite___drawCore__P22906, - "__update": sprites_BaseSprite___update__P22907, + "__draw": particles_ParticleSource___draw__P3175, + "_update": particles_ParticleSource__update__P3176, + "_prune": particles_ParticleSource__prune__P3177, + "setAcceleration": particles_ParticleSource_setAcceleration__P3178, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P3180, + "enabled": particles_ParticleSource_enabled__P3181, + "set/enabled": particles_ParticleSource_enabled__P3182, + "destroy": particles_ParticleSource_destroy__P3183, + "clear": particles_ParticleSource_clear__P3184, + "setAnchor": particles_ParticleSource_setAnchor__P3185, + "setRate": particles_ParticleSource_setRate__P3186, + "setFactory": particles_ParticleSource_setFactory__P3188, + "updateParticle": particles_ParticleSource_updateParticle__P5343, + "drawParticle": particles_ParticleSource_drawParticle__P5344, + "__visible": sprites_BaseSprite___visible__P2098, + "z": sprites_BaseSprite_z__P2099, + "set/z": sprites_BaseSprite_z__P2100, + "__drawCore": sprites_BaseSprite___drawCore__P2102, + "__update": sprites_BaseSprite___update__P2103, }, }); -const sprites_SpriteSet__C23268_VT = mkVTable({ +const sprites_SpriteSet__C2464_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 44, @@ -42012,25 +42012,25 @@ const sprites_SpriteSet__C23268_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P23271, - "add": sprites_SpriteSet_add__P23273, - "remove": sprites_SpriteSet_remove__P23275, - "contains": sprites_SpriteSet_contains__P23276, - "toString": sprites_SpriteSet_toString__P23279, + "length": sprites_SpriteSet_length__P2467, + "add": sprites_SpriteSet_add__P2469, + "remove": sprites_SpriteSet_remove__P2471, + "contains": sprites_SpriteSet_contains__P2472, + "toString": sprites_SpriteSet_toString__P2475, }, - toStringMethod: sprites_SpriteSet_toString__P23279, + toStringMethod: sprites_SpriteSet_toString__P2475, }); -const scene_Renderable__C23605_VT = mkVTable({ +const scene_Renderable__C2801_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 34, lastSubtypeNo: 34, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P23607, - "__draw": sprites_BaseSprite___draw__P22905, - "__drawCore": scene_Renderable___drawCore__P23608, - "__update": sprites_BaseSprite___update__P22907, + "__visible": scene_Renderable___visible__P2803, + "__draw": sprites_BaseSprite___draw__P2101, + "__drawCore": scene_Renderable___drawCore__P2804, + "__update": sprites_BaseSprite___update__P2103, }, iface: { "_z": null, @@ -42041,15 +42041,15 @@ const scene_Renderable__C23605_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P23607, - "__drawCore": scene_Renderable___drawCore__P23608, - "z": sprites_BaseSprite_z__P22903, - "set/z": sprites_BaseSprite_z__P22904, - "__draw": sprites_BaseSprite___draw__P22905, - "__update": sprites_BaseSprite___update__P22907, + "__visible": scene_Renderable___visible__P2803, + "__drawCore": scene_Renderable___drawCore__P2804, + "z": sprites_BaseSprite_z__P2099, + "set/z": sprites_BaseSprite_z__P2100, + "__draw": sprites_BaseSprite___draw__P2101, + "__update": sprites_BaseSprite___update__P2103, }, }); -const controller_ButtonHandler__C22988_VT = mkVTable({ +const controller_ButtonHandler__C2184_VT = mkVTable({ name: "ButtonHandler", numFields: 2, classNo: 45, @@ -42064,7 +42064,7 @@ const controller_ButtonHandler__C22988_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C22990_VT = mkVTable({ +const controller_ButtonEventHandlerState__C2186_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, classNo: 46, @@ -42081,7 +42081,7 @@ const controller_ButtonEventHandlerState__C22990_VT = mkVTable({ "set/system": null, }, }); -const effects_ScreenEffect__C24088_VT = mkVTable({ +const effects_ScreenEffect__C3284_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 41, @@ -42100,34 +42100,34 @@ const effects_ScreenEffect__C24088_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P24086, - "destroy": effects_ParticleEffect_destroy__P24087, + "start": effects_ParticleEffect_start__P3282, + "destroy": effects_ParticleEffect_destroy__P3283, }, }); -const particles_ParticleFactory__C24009_VT = mkVTable({ +const particles_ParticleFactory__C3205_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 47, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P24011, - "drawParticle": particles_ParticleFactory_drawParticle__P24012, + "createParticle": particles_ParticleFactory_createParticle__P3207, + "drawParticle": particles_ParticleFactory_drawParticle__P3208, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P24011, - "drawParticle": particles_ParticleFactory_drawParticle__P24012, + "createParticle": particles_ParticleFactory_createParticle__P3207, + "drawParticle": particles_ParticleFactory_drawParticle__P3208, }, }); -const particles_SprayFactory__C24013_VT = mkVTable({ +const particles_SprayFactory__C3209_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 48, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P24015, - "drawParticle": particles_SprayFactory_drawParticle__P24016, + "createParticle": particles_SprayFactory_createParticle__P3211, + "drawParticle": particles_SprayFactory_drawParticle__P3212, }, iface: { "speed": null, @@ -42136,21 +42136,21 @@ const particles_SprayFactory__C24013_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P24015, - "drawParticle": particles_SprayFactory_drawParticle__P24016, - "setSpeed": particles_SprayFactory_setSpeed__P24017, - "setDirection": particles_SprayFactory_setDirection__P24018, + "createParticle": particles_SprayFactory_createParticle__P3211, + "drawParticle": particles_SprayFactory_drawParticle__P3212, + "setSpeed": particles_SprayFactory_setSpeed__P3213, + "setDirection": particles_SprayFactory_setDirection__P3214, }, }); -const particles_AreaFactory__C24019_VT = mkVTable({ +const particles_AreaFactory__C3215_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 49, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P24025, - "drawParticle": particles_AreaFactory_drawParticle__P24026, + "createParticle": particles_AreaFactory_createParticle__P3221, + "drawParticle": particles_AreaFactory_drawParticle__P3222, }, iface: { "speed": null, @@ -42169,21 +42169,21 @@ const particles_AreaFactory__C24019_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P24025, - "drawParticle": particles_AreaFactory_drawParticle__P24026, - "setSpeed": particles_SprayFactory_setSpeed__P24017, - "setDirection": particles_SprayFactory_setDirection__P24018, + "createParticle": particles_AreaFactory_createParticle__P3221, + "drawParticle": particles_AreaFactory_drawParticle__P3222, + "setSpeed": particles_SprayFactory_setSpeed__P3213, + "setDirection": particles_SprayFactory_setDirection__P3214, }, }); -const particles_ShapeFactory__C24035_VT = mkVTable({ +const particles_ShapeFactory__C3231_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 50, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P24039, - "drawParticle": particles_ShapeFactory_drawParticle__P24038, + "createParticle": particles_ShapeFactory_createParticle__P3235, + "drawParticle": particles_ShapeFactory_drawParticle__P3234, }, iface: { "speed": null, @@ -42208,22 +42208,22 @@ const particles_ShapeFactory__C24035_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P24037, - "drawParticle": particles_ShapeFactory_drawParticle__P24038, - "createParticle": particles_ShapeFactory_createParticle__P24039, - "setSpeed": particles_SprayFactory_setSpeed__P24017, - "setDirection": particles_SprayFactory_setDirection__P24018, + "addShape": particles_ShapeFactory_addShape__P3233, + "drawParticle": particles_ShapeFactory_drawParticle__P3234, + "createParticle": particles_ShapeFactory_createParticle__P3235, + "setSpeed": particles_SprayFactory_setSpeed__P3213, + "setDirection": particles_SprayFactory_setDirection__P3214, }, }); -const particles_ConfettiFactory__C24040_VT = mkVTable({ +const particles_ConfettiFactory__C3236_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 51, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P24039, - "drawParticle": particles_ShapeFactory_drawParticle__P24038, + "createParticle": particles_ShapeFactory_createParticle__P3235, + "drawParticle": particles_ShapeFactory_drawParticle__P3234, }, iface: { "speed": null, @@ -42248,14 +42248,14 @@ const particles_ConfettiFactory__C24040_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P24037, - "drawParticle": particles_ShapeFactory_drawParticle__P24038, - "createParticle": particles_ShapeFactory_createParticle__P24039, - "setSpeed": particles_SprayFactory_setSpeed__P24017, - "setDirection": particles_SprayFactory_setDirection__P24018, + "addShape": particles_ShapeFactory_addShape__P3233, + "drawParticle": particles_ShapeFactory_drawParticle__P3234, + "createParticle": particles_ShapeFactory_createParticle__P3235, + "setSpeed": particles_SprayFactory_setSpeed__P3213, + "setDirection": particles_SprayFactory_setDirection__P3214, }, }); -const particles_Particle__C23954_VT = mkVTable({ +const particles_Particle__C3150_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 52, @@ -42282,7 +42282,7 @@ const particles_Particle__C23954_VT = mkVTable({ "set/color": null, }, }); -const music_Playable__C22716_VT = mkVTable({ +const music_Playable__C1912_VT = mkVTable({ name: "Playable", numFields: 1, classNo: 53, @@ -42295,7 +42295,7 @@ const music_Playable__C22716_VT = mkVTable({ "set/stopped": null, }, }); -const music_MelodyPlayable__C22721_VT = mkVTable({ +const music_MelodyPlayable__C1917_VT = mkVTable({ name: "MelodyPlayable", numFields: 2, classNo: 54, @@ -42310,7 +42310,7 @@ const music_MelodyPlayable__C22721_VT = mkVTable({ "set/melody": null, }, }); -const music_Melody__C22431_VT = mkVTable({ +const music_Melody__C1627_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 55, @@ -42323,11 +42323,11 @@ const music_Melody__C22431_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P22440, + "toString": music_Melody_toString__P1636, }, - toStringMethod: music_Melody_toString__P22440, + toStringMethod: music_Melody_toString__P1636, }); -const MovingSprite__C23330_VT = mkVTable({ +const MovingSprite__C2526_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 56, @@ -42352,7 +42352,7 @@ const MovingSprite__C23330_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C23498_VT = mkVTable({ +const tiles_Location__C2694_VT = mkVTable({ name: "Location", numFields: 2, classNo: 57, @@ -42365,17 +42365,17 @@ const tiles_Location__C23498_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P23500, - "column": tiles_Location_column__P23501, - "row": tiles_Location_row__P23502, - "x": tiles_Location_x__P23503, - "y": tiles_Location_y__P23504, - "left": tiles_Location_left__P23505, - "top": tiles_Location_top__P23506, - "tileSet": tiles_Location_tileSet__P23509, + "tileMap": tiles_Location_tileMap__P2696, + "column": tiles_Location_column__P2697, + "row": tiles_Location_row__P2698, + "x": tiles_Location_x__P2699, + "y": tiles_Location_y__P2700, + "left": tiles_Location_left__P2701, + "top": tiles_Location_top__P2702, + "tileSet": tiles_Location_tileSet__P2705, }, }); -const sprites_StaticObstacle__C23303_VT = mkVTable({ +const sprites_StaticObstacle__C2499_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 58, @@ -42394,22 +42394,22 @@ const sprites_StaticObstacle__C23303_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P23310, - "y": sprites_StaticObstacle_y__P23311, - "height": sprites_StaticObstacle_height__P23312, - "width": sprites_StaticObstacle_width__P23313, + "x": sprites_StaticObstacle_x__P2506, + "y": sprites_StaticObstacle_y__P2507, + "height": sprites_StaticObstacle_height__P2508, + "width": sprites_StaticObstacle_width__P2509, }, }); -const sprites_BaseSpriteSayRenderer__C23064_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C2260_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 59, lastSubtypeNo: 59, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P23066, - "update": sprites_BaseSpriteSayRenderer_update__P23067, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P23068, + "draw": sprites_BaseSpriteSayRenderer_draw__P2262, + "update": sprites_BaseSpriteSayRenderer_update__P2263, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P2264, }, iface: { "text": null, @@ -42418,13 +42418,13 @@ const sprites_BaseSpriteSayRenderer__C23064_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P23066, - "update": sprites_BaseSpriteSayRenderer_update__P23067, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P23068, + "draw": sprites_BaseSpriteSayRenderer_draw__P2262, + "update": sprites_BaseSpriteSayRenderer_update__P2263, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P2264, }, }); -const breakpoints = setupDebugger(1, ["framesPerSecond___39263","deltaTime___39265"]) +const breakpoints = setupDebugger(1, ["framesPerSecond___25553","deltaTime___25555"]) -return _main___P39367 +return _main___P25690 }) diff --git a/assets/version.txt b/assets/version.txt index 7bcd0e3..05b19b1 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.2 \ No newline at end of file +0.0.4 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 82764ff..cadd76a 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Sprites Advanced", - "version": "0.0.2", + "version": "0.0.4", "description": "", "dependencies": { "device": "*",